Skip to content

1.1 - shortcut for local ADB connection

Compare
Choose a tag to compare
@thedroidgeek thedroidgeek released this 07 May 22:14
· 2 commits to main since this release

This releases adds a shortcut (long pressing the IP:Port text) that copies an ADB command for localhost connection, and opens Termux for convenience.

demo

In order to achieve this configuration you can follow these steps :

On your computer:

  1. Have your Quest connected with ADB via USB.
  2. Install Oculus Wireless ADB and grant the needed permissions (check README.md on this repo).
  3. Obtain and install a Termux APK file.
  4. Run adb tcpip 5555 to enable TCP mode.

Put on your headset, then:

  1. Launch Termux and install the ADB client on it with apt update && apt install android-tools.
  2. Establish the initial ADB connection by running adb connect 127.0.0.1.
  3. An ADB authorization prompt should pop up, select always allow.
  4. 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 :

  1. On your headset, launch the Oculus Wireless ADB app, toggle the switch to start the server, hit always allow on the prompt.
  2. Once the IP:Port text shows up, long press it - this will copy the localhost connection command to your clipboard and auto-launch Termux.
  3. Once Termux is launched, paste the command and run it to establish the connection.
  4. If everything goes well, you should have an ADB session, if not, repeat the process a second time.
  5. (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.