Debug in Adb Shell
Debug in Adb Shell
Debug in Adb Shell
Version 1.2
This specification is proprietary and confidential to NEXGO and may not be published or disclosed in whole
or in part without prior permission of NEXGO.
Debug In ADB Shell
Contents
5 Appendix A ..................................................................................................................12
Page 2
Debug In ADB Shell
Version History
Page 3
Debug In ADB Shell
Step 1 Prepare the driver package, if your terminal is in the debug mode, you need use the
Step 2 Connect the PC and POS with the USB cable. Hold keys “F + 1” and then press
POWER key to restart the terminal. When the buzzer rings once on the splash screen,
just release the keys and wait till it enters the downloading program automatically. If the
USB driver is not installed, it will prompt “Open USB port fail” when selecting “1. USB
port”.
Step 3 You will find 4 unidentified devices in the device manager of your PC.
Page 4
Debug In ADB Shell
Step 4 Right-click the unidentified device, select "Update Driver" in the pop-up menu, and
browse the computer to find the driver software extracted in the first step, then install the
driver. Every unknown device needs to be installed once, and it needs to be installed
four times in total.
Page 5
Debug In ADB Shell
Step 5 If the PC is installed with the Windows 10 operating system, you need to disable the
driver mandatory signature before installing the driver. (See the Appendix A for the
specific operation process.)
Page 6
Debug In ADB Shell
Step 3 Unzip the adb.zip package, you will get abd.exe, AdbWinApi.dll and
Step 4 Open the “Control Panel” menu of your PC. Select “Advanced system settings”
Step 5 Press Win+R keys on your keyboard. Then, type cmd and press Enter or click/tap OK
Step 6 Type adb command, if the ADB version and relevant information are output as shown
Page 7
Debug In ADB Shell
Page 8
Debug In ADB Shell
3 ADB Commands
Here are some of the ADB commands that are commonly used in the debugging process.
adb ---- Print a list of supported adb commands and their descriptions.
adb devices ---- Generate a list of attached devices.
adb shell ---- Enter shell of device.
adb -s <device name> shell ---- If multiple devices are running, you must specify the
target device when you issue the adb command.
adb push <Local path> <Remote path> ---- Upload file from computer to device.
adb pull <Remote path> <Local path> ---- Download file from device to computer.
adb kill-server ---- kill the server if it is running
adb start-server ---- ensure that there is a server running
Page 9
Debug In ADB Shell
Step 2 Connect the PC and POS with the USB cable and restart the POS. If "device not found"
error is returned when you enter the “adb shell” command, please try to restart ADB
using “adb kill-server” and “adb start-server” command.
Step 3 Push your application to the device using the ADB command and give the application
Step 4 Kill daemon, manage and all other application processes, then execute
Page 10
Debug In ADB Shell
Step 5 If you find that the application has not been executed, check the device's multitask.ini
file, which you can export and modify before importing it into the terminal.
Page 11
Debug In ADB Shell
5 Appendix A
Step 1 Click "Notifications" in the lower right corner of the desktop to find and enter "All
Settings":
Page 12
Debug In ADB Shell
Step 3 Select “recovery” and click "Restart now" under "Advanced Startup" to restart the
computer:
Page 13
Debug In ADB Shell
Page 14
Debug In ADB Shell
Step 8 When prompted, enter "F7" to disable the driver signature enforcement:
Page 15
Debug In ADB Shell
Page 16