pure-python-adb
pure-python-adb copied to clipboard
adb root() returns RunTimeError when adbd is already running as root.
Code Ref: adb root
In scenario, where adbd is already running as root, it isn't appropriate to send RunTimeError, as that isn't an error in actual, since user wants to put device in root mode, and it is already in root.
Thoughts? @Swind
you can try this. it is work for me
su -c
su -c settings put global