Khadas Docs

Amazing Khadas, always amazes you!

User Tools

Site Tools


products:sbc:common:development:adb

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
products:sbc:common:development:adb [2024/08/06 03:47]
nick
products:sbc:common:development:adb [2024/08/06 04:13] (current)
nick
Line 1: Line 1:
-===== Android Debug Bridge (adb=====+===== Use adb =====
  
 Android Debug Bridge (''adb'') is a versatile command-line tool that lets you communicate with a device. Android Debug Bridge (''adb'') is a versatile command-line tool that lets you communicate with a device.
Line 9: Line 9:
 Install the ''adb'' tool on PC Host: Install the ''adb'' tool on PC Host:
 ```shell ```shell
-sudo apt-get update +sudo apt-get update 
-sudo apt-get install android-tools-adb+sudo apt-get install android-tools-adb
 ``` ```
  
Line 18: Line 18:
  
 **Add permission** **Add permission**
 +
 ```shell ```shell
-sudo useradd -G plugdev $USER+sudo useradd -G plugdev $USER
 ``` ```
  
Line 26: Line 27:
 Create a .rules file: Create a .rules file:
 ```shell ```shell
-sudo vim /etc/udev/rules.d/51-android.rules+sudo vim /etc/udev/rules.d/51-android.rules
 ``` ```
 Write the following to the .rules file: Write the following to the .rules file:
Line 35: Line 36:
 **Restart udev service** **Restart udev service**
 ```shell ```shell
-sudo /etc/init.d/udev restart+sudo /etc/init.d/udev restart
 ``` ```
- 
- 
  
 <tabbox Windows> <tabbox Windows>
  
-**Install ADB Tool** +  Download and install the USB driver 
-   *Refer this [[products:sbc:vim1:install-os:install-os-into-emmc-via-usb-tool|guide]] to install the USB driver. +    VIM1/2/3/3L/4/1S 
-  *Download the [[https://dl.google.com/android/repository/platform-tools-latest-windows.zip|platform tools]]. +      Download the [[dl>products/vim4/tool/usb-driver.zip USB driver]] and extract it to somewhere. 
-  *Unzip the platform tools file to the easily accessible directory, such as C:\platform-tools.+      * Double click ''dpscat.exe'' to install the driver. Please note there is no GUI display. 
 +      * Double click ''dpinst64.exe'' to install the driver. 
 +    * Edge1/2 
 +      * Download the [[dl>products/edge2/tool/driver-assitant_v5.13.zip | USB driver]] and extract it to somewhere. 
 +      * Double click ''DriverInstall.exe'' to install the driver. 
 +  * Download the [[https://dl.google.com/android/repository/platform-tools-latest-windows.zip|platform tools]] 
 +  * Unzip the platform tools file to the easily accessible directory, such as C:\platform-tools
  
 <WRAP tip > <WRAP tip >
Line 53: Line 58:
 </tabbox> </tabbox>
  
-==== Use ADB ====+==== Use adb ====
  
 === ADB over Wi-Fi/LAN === === ADB over Wi-Fi/LAN ===
Line 62: Line 67:
   *Run the adb connect command:   *Run the adb connect command:
 ```shell ```shell
-adb connect 192.168.1.120 +adb connect 192.168.1.120 
-adb shell+adb shell
 ``` ```
  
Line 72: Line 77:
   *Open a Terminal and type:   *Open a Terminal and type:
 ```shell ```shell
-adb shell+adb shell
 ``` ```
  
Last modified: 2024/08/06 03:47 by nick