How to get adb log from an Android device (Ex: Samsung/Zebra)?

How to get an adb log from an Android device for further investigation?

Edited 8 years ago
Android
ANSWERS
HF
Haichen Fang
8 years ago

In this example, we are using Samsung/Zebra Android devices.

You will need:

1. adb tools

2. Samsung/Zebra drivers

3. an USB cable

Process:

1. copy adb tools into a folder on PC, ex, c:/adb

2. install Samsung/Zebra driver on PC

3. on Samsung/Zebra device, in settings, get into 'Developer options' (Refer to manual for viewing Developer Options, it could be vary). Tick the box of 'USB debuging'

4. connect device to PC via an USB cable

5. On PC, in CMD, get into the folder where adb tools are, and type in: adb devices. If everything is ok, there should be a dialog box popping up on device asking user to accept 'USB debugging operations', press Ok to accept it. Then, in cmd, 'list of devices' would show the device connected.

6. If the device does not show up, go back to reinstall the Samsung/Zebra driver, or download the newer driver and do the same thing in CMD again.

7. If device shows up, in CMD, type in: adb logcat -d >ABCD.txt, the adb log would generated as a txt file with name of ABCD.txt and shows up in the same folder of where adb tools are.

8. copy the adb logs out for further invstigation.

9. DONE!

Similar Discussions