Description
This guide explains how you can create a log file of a device with the tool called Android Debug Bridge (ADB).
Requirements
- Android platform tool (ADB)
- Workstation (PC or laptop) in the same network as the devices
- Port 5555 opened between device and workstation
Connecting with ADB
- Download the Android platform tools from: https://developer.android.com/tools/releases/platform-tools
Please note that ADB is already integrated in the TEOS on premise version, because of this step one is not required when you are using TEOS on premise. The adb.exe is located within the TEOS installation folder: C:\Program Files\TEOS Manage\www\backbone\adb
- Extract the downloaded file to a folder. By default this will be: C:\Users\Administrator\Downloads\platform-tools-latest-windows\platform-tools
- Open a Command Prompt window (CMD)
- In the Command Prompt window, type the following to start the ADB process: cd <file path of the extracted platform tools> (the folder which contains the adb.exe file) adb devices
- Execute the following command to connect to a device: adb connect <ip of device>
- Once the device is connected, use the following command to start the log file: adb -s <ip of device> logcat > filename.txt File name can be anything as long as there are no spaces between words/numbers.
- To stop the log file from running press CTRL + C on your keyboard.
- The log file can be found in the ADB folder.
You have now successfully created a log file with ADB.
Comments
0 comments
Please sign in to leave a comment.