This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
products:sbc:common:development:adb [2024/08/06 03:44] nick created |
products:sbc:common:development:adb [2024/08/06 04:13] (current) nick |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ===== ADB ===== | + | ===== Use adb ===== |
- | ==== ADB Tool ==== | + | Android Debug Bridge ('' |
+ | |||
+ | ==== Install adb tool ==== | ||
<tabbox Linux> | <tabbox Linux> | ||
- | Install the ADB tool on PC Host: | + | Install the '' |
```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 16: | Line 18: | ||
**Add permission** | **Add permission** | ||
+ | |||
```shell | ```shell | ||
- | $ sudo useradd -G plugdev $USER | + | sudo useradd -G plugdev $USER |
``` | ``` | ||
Line 24: | Line 27: | ||
Create a .rules file: | Create a .rules file: | ||
```shell | ```shell | ||
- | $ sudo vim / | + | sudo vim / |
``` | ``` | ||
Write the following to the .rules file: | Write the following to the .rules file: | ||
Line 33: | Line 36: | ||
**Restart udev service** | **Restart udev service** | ||
```shell | ```shell | ||
- | $ sudo / | + | sudo / |
``` | ``` | ||
- | |||
- | |||
<tabbox Windows> | <tabbox Windows> | ||
- | **Install ADB Tool** | + | |
- | | + | |
- | *Download the [[https:// | + | * Download the [[dl>products/vim4/tool/usb-driver.zip |
- | *Unzip the platform tools file to the easily accessible directory, such as C: | + | * Double click '' |
+ | * Double click '' | ||
+ | * Edge1/2 | ||
+ | * Download the [[dl> | ||
+ | * Double click '' | ||
+ | * Download the [[https:// | ||
+ | * Unzip the platform tools file to the easily accessible directory, such as C: | ||
<WRAP tip > | <WRAP tip > | ||
Line 51: | Line 58: | ||
</ | </ | ||
- | ==== Use ADB ==== | + | ==== Use adb ==== |
=== ADB over Wi-Fi/LAN === | === ADB over Wi-Fi/LAN === | ||
Line 60: | 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 70: | Line 77: | ||
*Open a Terminal and type: | *Open a Terminal and type: | ||
```shell | ```shell | ||
- | $ adb shell | + | adb shell |
``` | ``` | ||