forked from AtlasTheProto/ADBForwarder
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added json configuration to allow for configurable ports
- Loading branch information
1 parent
362f35a
commit a4d2a4a
Showing
4 changed files
with
48 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"PortConfiguration": { | ||
"Ports": [ | ||
9943, | ||
9944 | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,41 +1,31 @@ | ||
# ADBForwarder | ||
|
||
Console application designed to handle forwarding TCP Ports (using [ADB](https://developer.android.com/studio/command-line/adb)) between your PC and Quest/Go HMDs, over USB | ||
Console application designed to handle forwarding TCP Ports (using [ADB](https://developer.android.com/studio/command-line/adb)) between your PC and Android devices, over USB | ||
|
||
Specifically made for use with [ALVR](https://github.com/alvr-org/ALVR), for now. Supports the Oculus Go, Quest 1 and 2 | ||
Specifically made for use with [ALVR](https://github.com/alvr-org/ALVR), | ||
but config.json can be configured to work with any port needed for any other purposes. | ||
|
||
### [Download here!](https://github.com/AtlasTheProto/ADBForwarder/releases/latest/download/ADBForwarder.zip) | ||
Supports any ADB compatible device | ||
|
||
### [Download here!](https://github.com/alvr-org/ADBForwarder/releases) | ||
|
||
## Usage | ||
|
||
* [Download the latest release](https://github.com/AtlasTheProto/ADBForwarder/releases/latest/download/ADBForwarder.zip) | ||
* Extract the archive somewhere convenient | ||
* [Download the latest release](https://github.com/alvr-org/ADBForwarder/releases) | ||
* Extract the archive somewhere convenient in a separate directory | ||
* Run the program and ALVR, order does not matter | ||
* ALVR may (or may not) restart | ||
* You should see your device's serial ID show up in the console, if it says the following, all is well! | ||
* `Successfully forwarded device: 1WMHHXXXXXXXXX [hollywood]` | ||
* "hollywood" is Quest 2, "monterey" is Quest 1, "pacific" is Go | ||
|
||
## Windows | ||
|
||
If the program won't run, try installing the [DotNet 4.6.1 Runtime](https://www.microsoft.com/en-us/download/details.aspx?id=49982) | ||
|
||
## Linux | ||
|
||
You need to use [Mono](https://www.mono-project.com/download/stable/) | ||
* `Successfully forwarded device: ...` | ||
|
||
## Problems? | ||
|
||
Don't hesitate to raise an [issue](https://github.com/AtlasTheProto/ADBForwarder/issues) if you encounter problems! | ||
|
||
## Future Support | ||
|
||
Development on this has basically stopped, I got an Index. | ||
|
||
I encourage anyone who finds fixes, bugs, or new features to manage and advertise their own fork, if this repository becomes outdated, ask the ALVR team members to update the proper wiki links for this program to the new fork / etc. | ||
Don't hesitate to raise an [issue](https://github.com/alvr-org/ADBForwarder/issues) if you encounter problems! | ||
|
||
## Attributions | ||
|
||
Thank you, [Mantas-2155X](https://github.com/Mantas-2155X), for iterating and refactoring my work, to bring Linux support! | ||
Thank you. [AtlasTheProto](https://github.com/AtlasTheProto), for OG ADBForwarder codebase | ||
|
||
Thank you, [Mantas-2155X](https://github.com/Mantas-2155X), for iterating and refactoring AtlasTheProto's work, to bring Linux support! | ||
|
||
Thank you, [Quamotion](https://github.com/quamotion), for [SharpADBClient](https://github.com/quamotion/madb)! |