How to use the Remote ADB feature with Windows

This article demonstrates how to use the Remote ADB feature provided through MDM to access a device remotely by running ADB commands.

 

Prerequisite

 

  1. log in MDM, going to ‘Remote Management’ and copy the devices SN in ‘Search by SN’ bar. Afterwards, click ‘more’ to select ‘Remote ADB’.

 

2. If you are Windows, please click ‘Win Download' to download the adb client for Windows. And save it to, for example: xxx\SunmiADB\adb_remote. Otherwise, please download the other ADB tool.

 

3. Please click ‘Getting Started’; then click 'OK’ to get permission to install this task in the terminal.

 

4. You will see task status in the top right corner.

 

5. Follow the below steps to find verification code of the terminal, which will be used in CMD

 

6. After clicking ‘detail’, a window will pop-up. You have copy the verification code for command.

 

7. Turn on CMD from your laptop (here I am using Windows). Afterwards, open the folder, which you downloaded from Sunmi MDM.

You can use 'CD' command.

 

8. In the CMD, please using ‘adb sunmi_connect xxxxxxxx' to connect the terminal. If connected successful, cmd will show 'connected to xxxxxxxx’

 

9. You can use ADB command to fetch log. Meanwhile, please reproduce the steps.

 

Below ADB command, I always use, which is my recommendation.

Report: adb logcat -b kernel >  usb.txt

adb shell logcat -b all > log.txt

BUG: adb bugreport