-
Notifications
You must be signed in to change notification settings - Fork 560
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
gnirehtet can not run as service in Android #40
Comments
See #5 (comment). |
I can enable USB Debugging in Developer Mode. But enabling USB Debugging Security Settings requires to create MI account. I do not want to create that account. Here is the screenshot of android developer settings.
|
😕
The gnirehtet Android client is intended to be controlled from the computer only, there is no UI. That's unfortunate that some vendors change some default Android behavior and prevent the settings to be changed without registering an account with them. Currently, I have no good solution. If you know how to build, as a workaround, you can just remove this |
I want to reverse tethering with only adb.exe command line tool and not with relay.jar and not with .APK. Is that possible? |
No, that's not possible (otherwise, gniretet would be useless). The word reverse in |
As you say, I remove the You should add this tweak in readme file. But I edit that with Apk Editor Pro app. How does this tweak solve my issue? How can I edit that xml file in PC? Notepad++ does not open that xml file as text! |
Cool 👍
Gnirehtet requests a Your vendor-version of Android refuses to grant it (without enabling some settings that requires to register an account with them), so this tweak just makes Gnirehtet not requesting the permission.
If you download the raw source file, it should. If you tried to open the APK as a zip, yes, |
Is there any automatic build process like Appveyor, Travis etc. where I can build this project. I don't want to setup Android and rust environment in my PC. And I've to edit the manifest file for my Redmi 3S. |
This can be bypassed if a device has root. If you also want to enable "USB debugging (Security settings)", for granting permissions, simulating UI input, etc. via ADB, run the following command too: Next, we need to edit the file, Add the following line to the XML file (with all the other ones, before the closing tag, or change it to true if the line is already there): Reboot your device. |
Anything can be done with root access in any Android device or any PC 😎 Also the main feature of gnirehtet is that it does not require any root access. |
Even if you root, it'll still ask you to sign in to enable debugging. |
Sir can you give the build that you use for Your Redmi 3S? I am still a beginner so I cannot understand well what to do. And I can only do it on computer shops which I have access for about 1 hour. I want to use your build for my realme 5. I would really appreciate it sir. |
@XylverXVI Added the APK only https://github.com/Biswa96/gnirehtet-miui/releases. Download the server side binary from gnirehtet release page. |
Many thanks Sir! I tried it just now. It finally works! Can I share the APK file to my friends Sir? |
I am not the original developer. There is no restriction from my side. @rom1v may help. |
@Biswa96 Thanks for the help :) |
@Biswa96 ty bro! i fucking trying fix this problem all day yesterday |
Thanks, this answer fix my problem to enable "USB debugging (Security settings)" |
After running the relay server with
javaw -jar relay.jar
, I ran the commandadb -s %serial% shell am startservice -a com.genymobile.gnirehtet.START --esa dsnServers 8.8.8.8
in command prompt. But that gave some error.My smartphone is Redmi 3S with MIUI8 and Android 6.0.1. What is that error? How do I solve that?
The text was updated successfully, but these errors were encountered: