From ccd99c8acf3764e55224f343a879e302ea01fdf6 Mon Sep 17 00:00:00 2001 From: oxmc <67136658+oxmc@users.noreply.github.com> Date: Thu, 11 Jun 2026 07:02:16 -0700 Subject: [PATCH] init: stop console service on userdebug/eng to reduce UART noise The AOSP init.rc starts the console service (interactive shell on /dev/ttyAMA0) when ro.debuggable=1. Kernel messages written to the UART are read by the shell as input, causing continuous '>' secondary prompts. ADB over TCP (port 5555) is the preferred debug shell; the console service is not needed. --- ramdisk/init.rpi5.rc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ramdisk/init.rpi5.rc b/ramdisk/init.rpi5.rc index 3e45a63..49b19ad 100644 --- a/ramdisk/init.rpi5.rc +++ b/ramdisk/init.rpi5.rc @@ -13,5 +13,8 @@ on fs on late-fs mount_all /vendor/etc/fstab.${ro.hardware} --late +on property:ro.debuggable=1 + stop console + on property:sys.boot_completed=1 swapon_all /vendor/etc/fstab.zram.${persist.vendor.zram.size}