diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/init.rc | 4 |
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 |