GithubHelp home page GithubHelp logo

thedroidgeek / oculus-wireless-adb Goto Github PK

View Code? Open in Web Editor NEW
90.0 6.0 9.0 2.26 MB

An app that enables wireless ADB from within a Meta Quest device without requiring a USB cable.

License: MIT License

Kotlin 88.68% Python 11.32%
adb oculus oculus-quest wireless meta meta-quest meta-quest-2 meta-quest-pro oculus-quest-2

oculus-wireless-adb's Introduction

oculus-wireless-adb

An app that enables wireless ADB from within a Quest 2/Quest Pro VR headset.

This is done through the Android global settings provider (requires manually granting WRITE_SECURE_SETTINGS).

Since the TCP port is random each time, parsing is done on logcat output (READ_LOGS permission required) in order to display it within the app.

Installation commands

adb install app-debug.apk
adb shell pm grant tdg.oculuswirelessadb android.permission.WRITE_SECURE_SETTINGS
adb shell pm grant tdg.oculuswirelessadb android.permission.READ_LOGS

After ADB wireless is enabled, a script can be used to automatically discover and connect to it with the help of the mDNS protocol.

This app now also has a tcpip mode, which allows unauthorized/insecure connections to come through - this however needs a computer to set up for the first time, so that the embedded ADB client can be authorized so that it can enable the mode by itself in the future.

This can be achieved by running the command adb tcpip 5555 from a computer, then activating ADB from within the app, with the tcpip mode option checked.

oculus-wireless-adb's People

Contributors

mikeage avatar thedroidgeek avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

oculus-wireless-adb's Issues

Issue with disconnection?

Recently I have been trying to use the wireless adb but it seems like the adb status goes to offline after a minute or so, last time I used was a few updates ago (Quest 2), when I wake the device again the debugging switch on the app is off... I tried setting the battery optimization to off, but nothing happened, any ideas?

Quest Link

I accidentaly installed this application on a quest 3 and ever since quest link is not connecting

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.