Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds. Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
This commit is contained in:
parent
1e568cb3ba
commit
30885811ec
7 changed files with 30 additions and 30 deletions
|
@ -635,8 +635,8 @@ service abox /vendor/bin/main_abox 17c50000.abox
|
|||
group audioserver
|
||||
seclabel u:r:abox:s0
|
||||
|
||||
# on userdebug and eng builds, enable kgdb on the serial console
|
||||
on property:ro.debuggable=1
|
||||
# on eng builds, enable kgdb on the serial console
|
||||
on property:ro.build.type=eng
|
||||
write /sys/module/kgdboc/parameters/kgdboc ttyFIQ1
|
||||
write /sys/module/fiq_debugger/parameters/kgdb_enable 1
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@ on init
|
|||
setprop sys.usb.controller "11110000.dwc3"
|
||||
setprop sys.usb.configfs 1
|
||||
|
||||
on init && property:ro.debuggable=1 && property:ro.boot.mode=recovery
|
||||
on init && property:ro.build.type=eng && property:ro.boot.mode=recovery
|
||||
start recovery-console
|
||||
|
||||
service recovery-console /system/bin/sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue