Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 71c3ef13 authored by Tom Cherry's avatar Tom Cherry
Browse files

Start serial console at the 'init' trigger

Start the serial console at the 'init' trigger instead of much later
when property triggers happen.  This will help debugging early boot
issues.

Test: serial console starts early for a userdebug build
Test: serial console still doesn't start on a user build
Change-Id: I7112a8e7171c9fa865c8787c9a3d14515bc59478
parent 24f95515
Loading
Loading
Loading
Loading
+2 −0
Original line number Original line Diff line number Diff line
@@ -868,6 +868,8 @@ on property:ro.debuggable=1
    chmod 0773 /data/misc/trace
    chmod 0773 /data/misc/trace
    # Give reads to anyone for the window trace folder on debug builds.
    # Give reads to anyone for the window trace folder on debug builds.
    chmod 0775 /data/misc/wmtrace
    chmod 0775 /data/misc/wmtrace

on init && property:ro.debuggable=1
    start console
    start console


service flash_recovery /system/bin/install-recovery.sh
service flash_recovery /system/bin/install-recovery.sh