Merge "Stop setting usb config from recovery init script"
am: 6105aa1a4a
Change-Id: I39a81f9e1e8327794f3f6032508181645870c9cd
This commit is contained in:
@@ -95,14 +95,6 @@ service fastbootd /system/bin/fastbootd
|
|||||||
on property:service.adb.root=1
|
on property:service.adb.root=1
|
||||||
restart adbd
|
restart adbd
|
||||||
|
|
||||||
# Always start adbd on userdebug and eng builds
|
|
||||||
on fs && property:ro.debuggable=1
|
|
||||||
setprop sys.usb.config adb
|
|
||||||
|
|
||||||
# Also start adbd on user build with an unlocked bootloader
|
|
||||||
on fs && property:ro.debuggable=0 && androidboot.verifiedbootstate=orange
|
|
||||||
setprop sys.usb.config adb
|
|
||||||
|
|
||||||
on fs && property:sys.usb.configfs=1
|
on fs && property:sys.usb.configfs=1
|
||||||
mount configfs none /config
|
mount configfs none /config
|
||||||
mkdir /config/usb_gadget/g1 0770 shell shell
|
mkdir /config/usb_gadget/g1 0770 shell shell
|
||||||
|
|||||||
Reference in New Issue
Block a user