mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 19:55:33 -04:00
universal7885: add cc binary for logging
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
This commit is contained in:
parent
846b03764e
commit
f679a720b0
5 changed files with 136 additions and 0 deletions
14
universal7885-common/debug/init.debug_daemon.rc
Normal file
14
universal7885-common/debug/init.debug_daemon.rc
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
service debug_daemon /vendor/bin/debug_daemon
|
||||
user root
|
||||
group system
|
||||
oneshot
|
||||
disabled
|
||||
|
||||
on fs
|
||||
mkdir /data/debug 0755 root system encryption=None
|
||||
mkdir /data/debug/logs 0755 root system
|
||||
rm /data/debug/logcat.txt
|
||||
rm /data/debug/kmsg.txt
|
||||
|
||||
on property:sys.boot_completed=1
|
||||
start debug_daemon
|
||||
Loading…
Reference in a new issue