Genymobile / gnirehtet

Gnirehtet provides reverse tethering for Android
Apache License 2.0
6.29k stars 576 forks source link

Add ability to start/restart adb server with custom command #544

Open kuzalekon opened 2 months ago

kuzalekon commented 2 months ago

Greetings!

Sometimes you need to start the ADB-server with a custom command, for example: adb -a server nodaemon. Now I first separately launch ADB with the custom command and then launch gnirehtet. If the ADB crashes with an error or stops - gnirehtet immediately restarts it, but with a standard command.

rom1v commented 2 months ago

(You can also create a script myadb which calls your adb command with your custom parameters, and reference it from the ADB environment variable.)