Skip to content

Commit 9fced14

Browse files
authored
Merge pull request #2500 from KelvinKramp/add-cl-method-for-wearapk
Add command line method for transferring wear apk to smartwatch
2 parents de20b29 + 04d679f commit 9fced14

1 file changed

Lines changed: 44 additions & 5 deletions

File tree

docs/EN/WearOS/WearOsSmartwatch.md

Lines changed: 44 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,13 @@ a) using a USB cable to put the **AAPS** wear apk file onto the phone, and then
7878
b) cut and paste Wear.apk from Android Studio onto your Gdrive.
7979

8080

81-
You can use either Wear Installer 2 or Easy Fire tools to side-load AAPS onto the watch. Here we recommend Wear Installer 2, because the instructions and process in the video are so clear and well-explained.
81+
To side-load AAPS onto the watch You can use either:
82+
1) Wear Installer 2
83+
2) Easy Fire tools
84+
3) Android Debug Bridge (ADB)
85+
Here we recommend Wear Installer 2, because the instructions and process in the video are so clear and well-explained. If Wear Installer 2 does not work for you try via
8286

83-
## Using Wear Installer 2 to side-load **AAPS** Wear from the phone onto the watch
87+
### Using Wear Installer 2 to side-load **AAPS** Wear from the phone onto the watch
8488

8589
![image](../images/43577a66-f762-4c11-a3b3-4d6d704d26c7.png)
8690

@@ -97,8 +101,7 @@ As mentioned in the video, once complete, switch ADB debugging off on the watch,
97101

98102
Alternatively, but not for Wear OS 5, you can:
99103

100-
```{admonition} Use Easy Fire tools to side-load the **AAPS** wear on the watch
101-
:class: dropdown
104+
### Use Easy Fire tools to side-load the **AAPS** wear on the watch
102105

103106
1) Download _Easy Fire Tools_ from playstore onto phone
104107

@@ -135,10 +138,46 @@ Click side "plug-in" socket in the app, in order to upload Wear OS.apk onto the
135138

136139
![image](../images/2c398a34-b865-4aa1-9c53-d83dfef052a7.png)
137140

138-
```
139141

140142
(BuildingAapsWearOs-WearOS5-TShoot)=
141143

144+
### Using the terminal
145+
Connect your smartwatch and computer to the same wifi network.
146+
147+
- To install ADB download it from:
148+
https://developer.android.com/tools/releases/platform-tools
149+
- Open a terminal.
150+
- After installation of ADB for windows set the path to the folder where ADB is located:
151+
```setx PATH "%PATH%;C:\platform-tools"```
152+
- For Mac instead of installing manually you can use homebrew:
153+
`brew install android-platform-tools`
154+
155+
On the watch:
156+
- Go to Settings → About watch → **Software Information**
157+
- Tap Software version 7 times until you see Developer mode enabled.
158+
- Go to Settings → Developer options. Enable **ADB debugging**
159+
- Go to Settings → Developer options → Wireless debugging → **Pair new device**
160+
161+
You will see a wifi pariing code and ipaddress and port appearing:
162+
<img width="689" height="400" alt="Screenshot 2025-12-21 at 17 46 42" src="https://github.com/user-attachments/assets/9b73869a-e4ca-47e6-9ac4-37ecc20182e1" />
163+
- In the terminal:
164+
`adb pair ipaddress:port`
165+
E.g.
166+
`adb pair 10.10.1.125:36443`
167+
- You will be asked for the pairing code. Enter it.
168+
- You will see a response:<br>
169+
`Successfully paired to 10.10.1.125:36443 [guid=adb-RXXXW20LMKJY-eh5zBj]`<br>
170+
- In the terminal type: <br>`adb devices`.<br> You should see something like:<br>
171+
`List of devices attached`<br>
172+
`10.10.1.125:45559 offline`<br>
173+
`adb-RFAW20LMKJY-eh5zBj._adb-tls-connect._tcp device`<br>
174+
175+
- Now go to the folder on your computer where the Wear apk is and type<br>
176+
`adb install wear-full.apk` <br>with wear.apk replaced by the name of your apk file.
177+
- You will see:<br>
178+
`Performing Streamed Install`<br> `Success`
179+
180+
142181
### General troubleshooting recommendations for Wear OS 5
143182

144183
- Do not use Wi-Fi Tethering. That won't work.

0 commit comments

Comments
 (0)