Skip to content

Debug WiFi

Josh Stovall edited this page Dec 4, 2020 · 1 revision

Debug via WiFi

We can use adb to debug the Oculus Browser to Google Chrome via WiFi.

Install Android SDK Platform Tools, which includes adb.

Steps

1. Plug Oculus into PC (or Mac) via USB

Make sure your device appears in the Oculus Developer Hub app.

2. Get list of connected Android devices

In terminal, enter this code. It will return a list of connected Android devices.

adb devices

List of devices attached
1PASH9BKZ20035 device

3. Get your Oculus IP

adb shell ip route

192.168.0.0/24 dev wlan0 proto kernel scope link src YOUR.OCULUS.IP

4. Enable ADB over TCP

adb tcpip 5555

restarting in TCP mode port: 5555

5. Connect to your Oulus via IP

adb connect YOUR.OCULUS.IP:5555

connected to YOUR.OCULUS.IP:5555

If everything works, you can now unplug 🙂

Here it is all at together...

adb devices
adb shell ip route
adb tcpip 5555 
adb connect YOUR.OCULUS.IP:5555

Troubleshooting

adb disconnect to disconnect adb kill-server to stop the session

See Connecting to ADB for more info.

Clone this wiki locally