device_google_gs101/conf/init.recovery.device.rc
Ethan Chen 30885811ec
Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2024-10-20 05:01:11 +03:00

19 lines
529 B
Text

on init
wait /sys/devices/platform/11110000.usb/11110000.dwc3/driver 10
setprop sys.usb.controller "11110000.dwc3"
setprop sys.usb.configfs 1
on init && property:ro.build.type=eng && property:ro.boot.mode=recovery
start recovery-console
service recovery-console /system/bin/sh
class core
console
disabled
user root
group root shell log readproc
seclabel u:r:su:s0
setenv HOSTNAME console
on fs && property:sys.usb.configfs=1
write /config/usb_gadget/g1/configs/b.1/MaxPower 900