Realme 5/5s/5i NOTES: post #139 — TG.ME

Taking logs using PC

1. For simple log use:

adb logcat -v time -d > logcat.log

For Linux based OS:

adb logcat &> logcat.log

Run this command and try to reproduce bug, them press Ctrl+C to save logs.

2. If you need radio log then:

adb logcat -b radio -v time -d > radio.log

3. If you need dmesg then:

adb shell dmesg > dmesg.log

4. For getting console ramoops:

adb pull /sys/fs/pstore/

5. For last kmsg:

adb pull /proc/last_kmsg


Note:

1. For 4 and 5 commands you must need root access.
2. Use pwd command to find where logs are saved
July 11, 2022 17.9K 14