diff --git a/rootdir/init.usb.rc b/rootdir/init.usb.rc index 0730ccecf..dde784e25 100644 --- a/rootdir/init.usb.rc +++ b/rootdir/init.usb.rc @@ -18,6 +18,7 @@ service adbd /system/bin/adbd --root_seclabel=u:r:su:s0 disabled updatable seclabel u:r:adbd:s0 + user root on property:vendor.sys.usb.adb.disabled=* setprop sys.usb.adb.disabled ${vendor.sys.usb.adb.disabled}