How to Take Logs

How to Take Logs


There are two ways you can get logs.


The non-rooted way (you will need a PC)

1. Download the latest platform-tools for your operating system

   • Windows

   • Linux

2. Extract the zip to a folder and move into that folder in Command Prompt or Terminal:

cd <folder_location>


3. Plug in your device and accept the debugging prompt (turn on ADB in Settings > Developer Options if you don't see it).

4. Verify your device is recognized by typing

adb devices


5. Take your log:

   • logcat: 

     adb logcat -d > test.log

dmesg:

     adb root
     adb shell dmesg > dmesg.txt


6. Send the logs here and tag the maintainer.


The rooted way (2 ways)

*1st way*

1. Install termux or any other terminal app

2. Typesu


3. Take your log:

   • logcat: logcat -d > /sdcard/test.log


   • dmesg: dmesg > /sdcard/`

dmesg`

4. Send test.log

*2nd way*

Use LogFox app to capture logs, there's a 5 min learning curve but it goes a long way easing your life.

Report Page