1.1 - shortcut for local ADB connection
This releases adds a shortcut (long pressing the IP:Port text) that copies an ADB command for localhost connection, and opens Termux for convenience.
In order to achieve this configuration you can follow these steps :
On your computer:
- Have your Quest connected with ADB via USB.
- Install Oculus Wireless ADB and grant the needed permissions (check README.md on this repo).
- Obtain and install a Termux APK file.
- Run
adb tcpip 5555
to enable TCP mode.
Put on your headset, then:
- Launch Termux and install the ADB client on it with
apt update && apt install android-tools
. - Establish the initial ADB connection by running
adb connect 127.0.0.1
. - An ADB authorization prompt should pop up, select always allow.
- Once the ADB connection is successful, reboot your headset.
If everything goes well, you can now use ADB within your headset without needing a computer as so :
- On your headset, launch the Oculus Wireless ADB app, toggle the switch to start the server, hit always allow on the prompt.
- Once the IP:Port text shows up, long press it - this will copy the localhost connection command to your clipboard and auto-launch Termux.
- Once Termux is launched, paste the command and run it to establish the connection.
- If everything goes well, you should have an ADB session, if not, repeat the process a second time.
- (Optional) You can run
adb tcpip 5555
for apps that use adblib such as QuestGamesOptimizer.
Credits: blackle#8799 on Discord for his initial localhost ADB setup guide.