feat: add 3 adb commands for non-root
Since fuck it anyway, thanks Sony.
This commit is contained in:
parent
a18b87fa61
commit
5a82c21f14
@ -129,6 +129,9 @@ def main():
|
||||
if not is_root_available():
|
||||
print("Root access is not available, assuming the port is 5555")
|
||||
print("You'll have to start adbd manually as instructed in the README.md")
|
||||
run(["adb", "kill-server"])
|
||||
run(["adb", "devices"])
|
||||
run(["adb", "tcpip", "5555"])
|
||||
adb_port = 5555
|
||||
adb_port = get_port_from_process_name("adbd")
|
||||
except:
|
||||
|
Loading…
Reference in New Issue
Block a user