-
Notifications
You must be signed in to change notification settings - Fork 547
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inquiry: how does shizuku connect to ADB? #502
Comments
I have this exact feature in my app for the Quest here: |
You have to use a wrapper that sets the home directory to a place it has write permissions. Here is the wrapper I use, which I got from XDA:
So this wrapper points to the binary "libadb.so" and when I want to run an adb command I just run this wrapper, which in turn runs the adb binary after settings the home and temp directories. |
Also I learned a lot from this app: |
You still have to pair with the phone over wireless adb, right? |
Yes. I copied the method used in the other app I referenced in order to do
that. I just looked at his code and saw what he was doing.
…On Thu, Jun 13, 2024, 11:00 PM ComputerElite ***@***.***> wrote:
You still have to pair with the phone over wireless adb, right?
—
Reply to this email directly, view it on GitHub
<#502 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AE6NOTNORX5RVIDCUKH6WE3ZHKBJDAVCNFSM6AAAAABH4IQDWGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNRXGI3DQNJUGU>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Alright. Thank you very much for your help! Have a great day |
Hi, I want to create a own app which connected to the phone via adb so it can modify files in the /Android/data /Android/obb folders so it can backup apps and games and restore them. I couldn't figure out how to connect to adb via my C# xamarin app. So far I tried various nuget packages and invoking the linux adb binary but just got "access denied". Could someone give me insight on how it is done in shizuku?
Thanks!
The text was updated successfully, but these errors were encountered: