Please enable javascript, or click here to visit my ecommerce web site powered by Shopify.
Jump to: navigation, search

Difference between revisions of "Rock5/guide/wireless"

< Rock5‎ | guide
(ADB)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
This page is a step-by-step tutorial on how to use wireless ADB for the Rock 5 serial board Android12 image.
 
This page is a step-by-step tutorial on how to use wireless ADB for the Rock 5 serial board Android12 image.
  
===ADB===
+
===Prepare ===
Confirm whether adb is installed on the computer.If not, please install it.
+
1. Install adb on PC
 +
Confirm whether adb is installed '''on the computer'''.If not, please install it.
  
 +
For Windows: 
  
Linux install
+
https://developer.android.com/studio/releases/platform-tools
 +
 +
For Linux
 
<code bash>
 
<code bash>
 
   $ sudo apt-get update
 
   $ sudo apt-get update
Line 11: Line 15:
 
</code>
 
</code>
  
===Rock 5 serial board ===
+
2. Make sure your Rock5 is running Android 11 (API level 30) or higher.
#Make sure your Rock5 is running Android 11 (API level 30) or higher.
+
#Make sure your computer and Rock5 are connected to the same wireless network.
+
  
 +
3. Make sure your computer and Rock5 are connected to the same wireless network.
  
==Steps==
+
 
 +
===Steps===
  
 
Enable developer options.
 
Enable developer options.
Line 32: Line 36:
 
   $ adb devices -l
 
   $ adb devices -l
 
   10.0.0.16:45613        device product:RadxaRock5B model:Rock5B device:RadxaRock5B transport_id:5
 
   10.0.0.16:45613        device product:RadxaRock5B model:Rock5B device:RadxaRock5B transport_id:5
 +
 +
 +
 +
FAQ
 +
 +
1.  adb connect failed to connect  xxxxx
 +
 +
    For Android 11, the adb version on pc needs > 30.0, you can update the Android SDK Tools version by AndroidStudio

Latest revision as of 10:00, 26 June 2023

This page is a step-by-step tutorial on how to use wireless ADB for the Rock 5 serial board Android12 image.

Prepare

1. Install adb on PC Confirm whether adb is installed on the computer.If not, please install it.

For Windows:

https://developer.android.com/studio/releases/platform-tools

For Linux

  $ sudo apt-get update
  $ sudo apt-get install -y android-tools-adb

2. Make sure your Rock5 is running Android 11 (API level 30) or higher.

3. Make sure your computer and Rock5 are connected to the same wireless network.


Steps

Enable developer options.

   find settings -> About tablet -> Build number. Tap the build number option seven times until you see the message "You are now a developer!"
   Return to the previous interface, in the System option you can find the developer options.

Enable Wireless debugging option

Screenshot1.png

Ok, now adb can connect to this device based on IP address & Port

 $ adb connect 10.0.0.16:45613
 $ adb devices -l
 10.0.0.16:45613        device product:RadxaRock5B model:Rock5B device:RadxaRock5B transport_id:5


FAQ

1. adb connect failed to connect xxxxx

    For Android 11, the adb version on pc needs > 30.0, you can update the Android SDK Tools version by AndroidStudio