mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: bootlogger: loop on kmsg
This commit is contained in:
parent
fc79faa3dd
commit
7ea8d02949
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@
|
|||
void copy_kmsg() {
|
||||
std::ifstream readfile(KMSG_PATH);
|
||||
std::ofstream writefile(WRITE_KMSG);
|
||||
writefile << readfile.rdbuf();
|
||||
while (1) { writefile << readfile.rdbuf(); }
|
||||
}
|
||||
void copy_logcat() {
|
||||
system("/system/bin/logcat -b all -f /data/debug/logcat.txt");
|
||||
|
|
|
|||
Loading…
Reference in a new issue