SharpAdb / AdvancedSharpAdbClient

AdvancedSharpAdbClient is a .NET library that allows .NET, Mono and Unity applications to communicate with Android devices. It's improved version of SharpAdbClient.
https://sharpadb.github.io
Apache License 2.0
203 stars 54 forks source link

Fix ADB root/unroot command handling #28

Closed ztamas83 closed 2 years ago

ztamas83 commented 2 years ago

adbd will reply with "adbd restarting as root" string but in the current implementation the response message is compared with "restarting" only. This will always fail and result in an AdbException even in the case the root operation is as expected.