Last active
March 28, 2020 20:25
-
-
Save scottgwald/6862463 to your computer and use it in GitHub Desktop.
restart adbd as non-root
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# warning: may fail (`adb devices` subsequently doesn't show the device). | |
# If so, then restart device. | |
adb shell setprop service.adb.root 0 | |
adb shell "stop adbd && start adbd" |
It is not working, still asking for root.
It's been a while since I've touched any of this stuff, I'm sorry I can't help. But if you do find a fix, please submit a pull request!
It is not working, still asking for root.
Just double checking, this script revokes root from adb on the Android device. If you want to run as root, maybe try
adb shell setprop service.adb.root 1
but again, I haven't touched this in a long time and I'm not sure.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is not working, still asking for root.