summaryrefslogtreecommitdiffstats
path: root/etc/init.rc
diff options
context:
space:
mode:
authorTom Cherry <tomcherry@google.com>2019-11-07 01:59:39 +0100
committerTianjie Xu <xunchang@google.com>2019-11-07 08:04:36 +0100
commit0a19ef8cb67bd9ced4ba6b1e83d560056a807bac (patch)
tree9e1e59a9f37fb8f480b6d124ff1fc726e7615014 /etc/init.rc
parentMerge "bootloader_message: Carve out space reserved for system." (diff)
downloadandroid_bootable_recovery-0a19ef8cb67bd9ced4ba6b1e83d560056a807bac.tar
android_bootable_recovery-0a19ef8cb67bd9ced4ba6b1e83d560056a807bac.tar.gz
android_bootable_recovery-0a19ef8cb67bd9ced4ba6b1e83d560056a807bac.tar.bz2
android_bootable_recovery-0a19ef8cb67bd9ced4ba6b1e83d560056a807bac.tar.lz
android_bootable_recovery-0a19ef8cb67bd9ced4ba6b1e83d560056a807bac.tar.xz
android_bootable_recovery-0a19ef8cb67bd9ced4ba6b1e83d560056a807bac.tar.zst
android_bootable_recovery-0a19ef8cb67bd9ced4ba6b1e83d560056a807bac.zip
Diffstat (limited to '')
-rw-r--r--etc/init.rc8
1 files changed, 0 insertions, 8 deletions
diff --git a/etc/init.rc b/etc/init.rc
index 9786f6104..d5b056ae8 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -95,14 +95,6 @@ service fastbootd /system/bin/fastbootd
on property:service.adb.root=1
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
mount configfs none /config
mkdir /config/usb_gadget/g1 0770 shell shell