Oculus Quest Postmortem

M Shahid Siddiqui
3 min readSep 3, 2019

You can manage your Oculus VR headset (the device) with a PC / Mac exactly same as any android device or phone.

The only thing that is to be done as a pre-condition is to enable the developer mode. This link helps how to enable the developer mode:

Now, connect the device to your computer via USB. I am using MacOs so the commands are taking extra benefits of UNIX pipes and filters (ignore it as of now).

Also, you need to download the ADB package (The Android Bridge). It can be downloaded from here, as per the computer platform.

First connect the device via USB and execute below command:

adb devices

If it shows as unauthorised, then look into the device by mounting on your head and click the checkbox asking to trust the computer. Click the Allow and the computer will be trusted by the device to manage it.

Suppose that you want to know whether a package e.g. com.JBA.SFI is already installed or not. You can check this using below command (replace jba with the package you want to check):

adb shell pm list packages -f|grep -i jba

If the package is installed you can look into the deeper details using dumpsys.

Suppose that you want to know the version of the package. The command would be:

adb shell dumpsys package com.JBA.SFI| grep -i versioncode

If you want to uninstall the above package:

adb uninstall com.JBA.SFI

If you want to install the above package (e.g. the later version)

adb install -r -g com.JBA.SFI.apk

If you have created some videoshots and screenshots as part of recording the VR play session, you can see and pull them too.

Check out this page for more interesting topics

Unique Source of Knowledge

To see the screenshots or screen captures inside the VR device:

adb shell ls -lh /sdcard/Oculus/Screenshots

To see the videoshots inside the device:

adb shell ls -lh /sdcard/Oculus/VideoShots

You can combine the above commands too:

adb shell ls -lh /sdcard/Oculus/Screenshots /sdcard/Oculus/VideoShots/

To copy the screenshot images and videos from the device:

adb pull /sdcard/Oculus/Screenshots/adb pull /sdcard/Oculus/VideoShots/

To delete the files such as screenshots and videoshots from the device (it will delete permanently, so make sure the previous commands are executed without error)

adb shell rm /sdcard/Oculus/VideoShots/com.*.mp4adb shell rm /sdcard/Oculus/Screenshots/com.*.jpg

You can also view the logs which are constantly dumped. Here is the command:

adb logcat -v threadtime -d threadtime.txt

If for the app above, if you want to see the current debug logs of Warning and above and make a log file too:

adb -d logcat com.JBA.SFI *:W |tee logs.txt

You can also see into the ANR (Application Not Responding) and crash files too:

adb shell ls /data/anr
adb pull /data/anr/traces.txt
adb bugreport > report.txt
adb logcat -b crash| tee crash.log

You can also execute the Linux commands (android is Linux OS b.t.w.). Connect to shell by:

adb shell

You can also keep the Quest VR headset device ID:

adb shell settings get secure android_id

Let me know by Comments and Likes if these commands are helpful.

Enjoy!

--

--

M Shahid Siddiqui

Tech Savy | IT Enthusiast | Served 14 Years in IT | M.B.M from University of Auckland, New Zealand