Skip to content

Instantly share code, notes, and snippets.

@LeeSeungHi
Last active November 14, 2024 07:47
Show Gist options
  • Save LeeSeungHi/a8c254aff5b496dfb979020bec90c2fb to your computer and use it in GitHub Desktop.
Save LeeSeungHi/a8c254aff5b496dfb979020bec90c2fb to your computer and use it in GitHub Desktop.
Meta Quest Adb Command List
Meta Quest Adb Command List
Excluding the letters ‘adb shell’
GetProperty
getprop debug.oculus.[xxxxxx]
Set Screen & performance
setprop debug.oculus.refreshRate 60, 72, 90 (default), 120 Override the default refresh rate of the screen. 120Hz will only apply if enabled from Quest 2 settings (Experimental features).
setprop debug.oculus.textureWidth 1440 (default) Override the default texture width.
setprop debug.oculus.textureHeight 1584 (default) Override the default texture height. For optimal results, set the value to 1.1x texture width.
setprop debug.oculus.cpuLevel 0 (slowest) ~ 5 (fastest) Override the default CPU level set by the app. Most games use dynamic clock throttling by default.
setprop debug.oculus.gpuLevel 0 (slowest) ~ 5 (fastest) Override the default GPU level set by the app. Most games use dynamic clock throttling by default.
setprop debug.oculus.foveation.level 0 (Off) ~ 4 (High Top) Override the rendering quality in the outer edges of your view. Higher is better performance, lower is better quality.
setprop debug.oculus.foveation.dynamic 0 (disabled), 1 (enabled, default) Most apps use dynamic foveated rendering (image quality on the outer edges of the view is scaled automatically). Set to disabled if you want to test your app with a fixed foveation level.
setprop debug.oculus.experimentalEnabled 0 (disabled, default) 1 (enabled) Allow access to experimental features of the Quest 2.
setprop debug.oculus.forceChroma 0 (disabled), 1 (enabled, default) Chromatic aberration (correction) counters unwanted colors at the edges of objects caused by the lenses.
setprop debug.oculus.guardian_pause 0 (disabled), 1 (enabled, default) Used to disable the guardian boundary system.
Set eye Fov
setprop debug.oculus.eyeFovDown [number]
setprop debug.oculus.eyeFovUp [number]
setprop debug.oculus.eyeFovOutward [number]
setprop debug.oculus.eyeFovInward [number]
Set Recording
setprop debug.oculus.screenCaptureEye 1 (2D Record), 2 (3D Record)
setprop debug.oculus.fullRateCapture 0 (disabled), 1 (enabled) Used to enable / disable video capture at full refresh rate (it is half by default).
setprop debug.oculus.enableVideoCapture 0 (off, default), 1 (start) Start and end video capturing.
setprop debug.oculus.capture.width 1024 (default) Override the width of recorded videos.
setprop debug.oculus.capture.height 1024 (default) Override the height of recorded videos.
setprop debug.oculus.capture.bitrate 5000000 (default) Override the bitrate used for recording videos.
Useful features
// Disable Proximity Sensor
shell am broadcast -a com.oculus.vrpowermanager.prox_close
// Enable Proximity Sensor
shell am broadcast -a com.oculus.vrpowermanager.automation_disable
// Enable Link
am start "xrstreamingclient://?launch_location=ODH&alink=true&adaptiveSrcLatencyMs=100&maxAdaptiveSrcLatencyMs=400&posePerSecond=500&sessionId=ODH"
// Disable Link
am force-stop com.oculus.xrstreamingclient
// Enable Air Link
am broadcast -a "com.oculus.systemux.action.TOGGLE_AIRLINK" --ez enable_airlink 1
// Disable Air Link
am broadcast -a "com.oculus.systemux.action.TOGGLE_AIRLINK" --ez enable_airlink 0
Other
All adb shell commands can be used (check the link below by opening it in a multi-window in Quest's browser)
https://gist.github.com/Pulimet/5013acf2cd5b28e55036c82c91bd56d8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment