https://github.com/linus789/gnirehtet-restart
Restart Gnirehtet from the phone
https://github.com/linus789/gnirehtet-restart
Last synced: over 1 year ago
JSON representation
Restart Gnirehtet from the phone
- Host: GitHub
- URL: https://github.com/linus789/gnirehtet-restart
- Owner: Linus789
- License: apache-2.0
- Created: 2023-03-03T01:49:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-04T15:15:10.000Z (over 3 years ago)
- Last Synced: 2025-01-24T09:42:22.422Z (over 1 year ago)
- Language: Kotlin
- Size: 54.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gnirehtet Restart
App to restart [Gnirehtet](https://github.com/Genymobile/gnirehtet) from the phone.
Unless you grant this permission, it won’t work:
```
$ adb shell pm grant com.example.gnirehtetrestart android.permission.WRITE_SECURE_SETTINGS
```
If the connection still doesn’t work afterwards, try to force-stop Gnirehtet in the settings
and do another restart.
## Build
1. Put your keystore `output.jks` in the `app/` folder.
2. Put the properties `keystore-store-password`, `keystore-key-alias`, and `keystore-key-password` in the gradle.properties file.
Finally run
```
./gradlew assembleRelease
```
and you should be able to find the APK at `app/build/outputs/apk/release/app-release.apk`.