gnirehtet can not run as service in Android
See original GitHub issueAfter running the relay server with javaw -jar relay.jar
, I ran the command adb -s %serial% shell am startservice -a com.genymobile.gnirehtet.START --esa dsnServers 8.8.8.8
in command prompt. But that gave some error.
Starting service: Intent { act=com.genymobile.gnirehtet.START (has extras) } Error: Requires permission android.permission.WRITE_SECURE_SETTINGS
My smartphone is Redmi 3S with MIUI8 and Android 6.0.1. What is that error? How do I solve that?
Issue Analytics
- State:
- Created 6 years ago
- Comments:18
Top Results From Across the Web
Connect your Computers' Internet to your Android phone ...
This guide is intended to help you share Internet connection from your PC to your Android smartphone/tablet via USB cable. This technique is...
Read more >Gnirehtet not working in background - Manjaro Linux Forum
I am trying to run gnirehtet (reverse tethering program to give internet to android phones via USB) on startup. If I run it...
Read more >How To Share Internet From PC To Android With Open ...
This tip is about the how To Share Internet From PC To Android With Open-Source Gnirehtet. So read this free guide, How To...
Read more >Genymobile - Bountysource
I am not asking for to VPN services to run at once on Android, I know that doesn't ... RuntimeException: Unable to start...
Read more >network access via gnirehtet reverse tether does not work
I suspect what's happening is that F-droid sees that there is no wifi connection or data service, and so does not even try...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@XylverXVI Added the APK only https://github.com/Biswa96/gnirehtet-miui/releases. Download the server side binary from gnirehtet release page.
This can be bypassed if a device has root. First, run the following commands:
adb shell
su
setprop persist.security.adbinstall 1
If you also want to enable “USB debugging (Security settings)”, for granting permissions, simulating UI input, etc. via ADB, run the following command too:
setprop persist.security.adbinput 1
Next, we need to edit the file,
/data/data/com.miui.securitycenter/shared_prefs/remote_provider_preferences.xml
Add the following line to the XML file (with all the other ones, before the closing </map> tag, or change it to true if the line is already there):
<boolean name="security_adb_install_enable" value="true" />
Reboot your device.