summaryrefslogtreecommitdiffstats
path: root/etc/init.rc
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2011-06-24 00:30:34 +0200
committerDoug Zongker <dougz@android.com>2011-06-24 00:30:34 +0200
commitfb04b87002f54935c6b2edf59123525377d4cce6 (patch)
tree4c85158307af5a5eb1d88b75a5fb3ec85895a593 /etc/init.rc
parentGraphics can handle stride != xres, and BGRA support. (diff)
downloadandroid_bootable_recovery-fb04b87002f54935c6b2edf59123525377d4cce6.tar
android_bootable_recovery-fb04b87002f54935c6b2edf59123525377d4cce6.tar.gz
android_bootable_recovery-fb04b87002f54935c6b2edf59123525377d4cce6.tar.bz2
android_bootable_recovery-fb04b87002f54935c6b2edf59123525377d4cce6.tar.lz
android_bootable_recovery-fb04b87002f54935c6b2edf59123525377d4cce6.tar.xz
android_bootable_recovery-fb04b87002f54935c6b2edf59123525377d4cce6.tar.zst
android_bootable_recovery-fb04b87002f54935c6b2edf59123525377d4cce6.zip
Diffstat (limited to '')
-rw-r--r--etc/init.rc4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/init.rc b/etc/init.rc
index e2b4236dd..fad32df67 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -60,3 +60,7 @@ on property:sys.usb.config=ptp,adb
write /sys/class/android_usb/android0/enable 1
start adbd
+on property:service.adb.root=1
+ write /sys/class/android_usb/android0/enable 0
+ restart adbd
+ write /sys/class/android_usb/android0/enable 1