1
0
Fork 0

Add temporary serial logcat and persistent logging for bring-up

This commit is contained in:
Brendan Szymanski 2026-07-12 14:30:24 -04:00
parent 98b243b081
commit 460db77d17
2 changed files with 19 additions and 0 deletions

View file

@ -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

View file

@ -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