Where does Android store shutdown logs?

后端 未结 4 1426
半阙折子戏
半阙折子戏 2021-02-08 04:32

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 retriev

4条回答
  •  再見小時候
    2021-02-08 05:16

    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!

提交回复
热议问题