mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-22 12:05:32 -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() {
|
void copy_kmsg() {
|
||||||
std::ifstream readfile(KMSG_PATH);
|
std::ifstream readfile(KMSG_PATH);
|
||||||
std::ofstream writefile(WRITE_KMSG);
|
std::ofstream writefile(WRITE_KMSG);
|
||||||
writefile << readfile.rdbuf();
|
while (1) { writefile << readfile.rdbuf(); }
|
||||||
}
|
}
|
||||||
void copy_logcat() {
|
void copy_logcat() {
|
||||||
system("/system/bin/logcat -b all -f /data/debug/logcat.txt");
|
system("/system/bin/logcat -b all -f /data/debug/logcat.txt");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue