Swind / pure-python-adb

This is pure-python implementation of the ADB client.
MIT License
552 stars 101 forks source link

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

Open hasanibnmansoor opened 3 years ago

hasanibnmansoor commented 3 years ago

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

tolgatasci commented 2 years ago

you can try this. it is work for me

su -c

su -c settings put global