我知道,在引导日志可以拉出 kmsg
或的dmesg
的内容通过亚行。结果但我不知道如何检索Android的关机日志,因为没有 / VAR
文件夹中的机器人(最多的地方桌面Linux发行版一般存放它们的关闭日志)。
I know that the boot up log can be obtained by pulling out contents of kmsg
or dmesg
through ADB
.
But I'm not aware of how to retrieve the shutdown logs in Android as there's no /var
folder in Android (place where most desktop linux distros generally store their shutdown logs).
那么,怎样才能获得我关机日志中的Android?
So how can I obtain the shutdown logs in Android?
干杯,帕
推荐答案
一个工作,我发现身边的Android中收集关机日志是运行 ADB拉的/ proc / kmsg C: Logs.txt
PC主机上,然后关闭设备。您将获得日志,直到主机和设备之间的卡扣USB通信!我知道这只是一个案例出来的众多关机的情况,但我还没有找到令人满意的答案对于其他情况!
One work around I found for collecting shutdown logs in Android is to run adb pull /proc/kmsg C:Logs.txt
on the host PC and then switch off the device. You will get the logs till the USB communication between the host and the device snaps! I know this is only one case out of the numerous shutdown scenarios but I haven't found satisfactory answers for other cases!
相关推荐
最新文章