diff --git a/ramdisk/init.tart.rc b/ramdisk/init.tart.rc index ccd61b7..51551e9 100644 --- a/ramdisk/init.tart.rc +++ b/ramdisk/init.tart.rc @@ -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 + diff --git a/vendor.prop b/vendor.prop index d6842bd..4636678 100644 --- a/vendor.prop +++ b/vendor.prop @@ -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 +