universal7885: bootlogger: loop on kmsg

This commit is contained in:
roynatech2544 2022-11-29 23:44:33 +09:00
commit 7ea8d02949

View file

@ -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");