Add temporary serial logcat and persistent logging for bring-up
This commit is contained in:
parent
98b243b081
commit
460db77d17
2 changed files with 19 additions and 0 deletions
|
|
@ -21,5 +21,19 @@ on boot
|
|||
chmod 0666 /sys/devices/system/cpu/cpu7/cpufreq/scaling_governor
|
||||
chmod 0666 /sys/devices/system/cpu/cpufreq/boost
|
||||
|
||||
# Bring-up debugging: mirror the Android log onto the serial console so
|
||||
# graphics/HAL failures are visible without adb or a working serial shell.
|
||||
# Remove once the port is stable.
|
||||
service logcat_serial /system/bin/logcat -b main,system,crash -v threadtime
|
||||
class late_start
|
||||
console
|
||||
user shell
|
||||
group shell log readproc
|
||||
disabled
|
||||
seclabel u:r:shell:s0
|
||||
|
||||
on post-fs-data
|
||||
start logcat_serial
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -97,4 +97,9 @@ ro.hardware.egl=angle
|
|||
ro.hardware.vulkan=pastel
|
||||
ro.opengles.version=196608
|
||||
|
||||
# Bring-up debugging: persist full logcat to /data/misc/logd so failed boots
|
||||
# can be analyzed offline from the SD card. Remove once the port is stable.
|
||||
persist.logd.logpersistd=logcatd
|
||||
persist.logd.logpersistd.enable=true
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue