summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTianjie Xu <xunchang@google.com>2019-11-07 20:34:37 +0100
committerandroid-build-merger <android-build-merger@google.com>2019-11-07 20:34:37 +0100
commitd3a9bf5cf3d3c09de7b741ad791ac8e128e11773 (patch)
tree360f34f53011c9110ea159310aabb86c988f5bf7
parentMerge "bootloader_message: Carve out space reserved for system." am: 8243388d57 am: bf23ee57e4 (diff)
parentMerge "Stop setting usb config from recovery init script" am: 6105aa1a4a (diff)
downloadandroid_bootable_recovery-d3a9bf5cf3d3c09de7b741ad791ac8e128e11773.tar
android_bootable_recovery-d3a9bf5cf3d3c09de7b741ad791ac8e128e11773.tar.gz
android_bootable_recovery-d3a9bf5cf3d3c09de7b741ad791ac8e128e11773.tar.bz2
android_bootable_recovery-d3a9bf5cf3d3c09de7b741ad791ac8e128e11773.tar.lz
android_bootable_recovery-d3a9bf5cf3d3c09de7b741ad791ac8e128e11773.tar.xz
android_bootable_recovery-d3a9bf5cf3d3c09de7b741ad791ac8e128e11773.tar.zst
android_bootable_recovery-d3a9bf5cf3d3c09de7b741ad791ac8e128e11773.zip
-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