pure-python-adb icon indicating copy to clipboard operation
pure-python-adb copied to clipboard

adb root() returns RunTimeError when adbd is already running as root.

Open hasanibnmansoor opened this issue 4 years ago • 1 comments

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

hasanibnmansoor avatar May 21 '21 15:05 hasanibnmansoor

you can try this. it is work for me

su -c

su -c settings put global

tolgatasci avatar Dec 09 '21 17:12 tolgatasci