Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blackavec/adb-auto-restarter
ADB service auto restarting shell. really helpful if you are as lazy as i am and don't want to restart your adb service manually when it stops detecting your android phone.
https://github.com/blackavec/adb-auto-restarter
Last synced: about 2 months ago
JSON representation
ADB service auto restarting shell. really helpful if you are as lazy as i am and don't want to restart your adb service manually when it stops detecting your android phone.
- Host: GitHub
- URL: https://github.com/blackavec/adb-auto-restarter
- Owner: blackavec
- License: gpl-3.0
- Created: 2016-10-31T11:27:46.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-01-01T13:29:38.000Z (about 8 years ago)
- Last Synced: 2024-07-30T03:41:07.800Z (6 months ago)
- Language: Shell
- Size: 14.6 KB
- Stars: 14
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-react-native - ADB Auto Restarter ★8 - Restart ADB service Automatically in case of crashing while debugging app with device . (Utilities / Other Platforms)
README
# adb-auto-restarter
ADB service auto restarting shell. really helpful if you are as lazy as i am and don't want to restart your adb service manually when it stops detecting your android phone.# How To Use
You don't need to do much, just run the following command in order to run the shell on your system
```
# Make permission
make permission# Lunch the app
make run
```
or
```
chmod +x adb-service
./adb-service
```# Customize
In order to run your own additional script on every time that ADB is being restarted, you can put your shell into `custom-shell.sh` file.# React native
I personally suggest you to add following line into your custom bash (`custom-shell.sh`) file to have a easier experience debugging React native app while it's being restarted.
```
# First find your device ID by following script
adb devices# Second replace your device id with `` in next line
adb -s reverse tcp:8081 tcp:8081
```
Feel free to change the port number 8081 in case you are using any other ports on your packager# important
This script file has been developed on macOSX and not sure about compatibility on linux. test and contribution would be appreciated## Support on Beerpay
Hey dude! Help me out for a couple of :beers:![![Beerpay](https://beerpay.io/mahanhaz/adb-auto-restarter/badge.svg?style=beer-square)](https://beerpay.io/mahanhaz/adb-auto-restarter) [![Beerpay](https://beerpay.io/mahanhaz/adb-auto-restarter/make-wish.svg?style=flat-square)](https://beerpay.io/mahanhaz/adb-auto-restarter?focus=wish)