quamotion / madb

SharpAdbClient is a .NET library that allows .NET applications to communicate with Android devices. It provides a .NET implementation of the adb protocol, giving more flexibility to the developer than launching an adb.exe process and parsing the console output.
Apache License 2.0
360 stars 133 forks source link

Adb commands for windows 7 rooted device not responding. #228

Open themiralay opened 1 year ago

themiralay commented 1 year ago
AdbClient.Instance.ExecuteRemoteCommand("settings put global airplane_mode_on 1 &&" +
                                                        "am broadcast -a android.intent.action.AIRPLANE_MODE --ez state true &&" +
                                                        "settings put global airplane_mode_on 0 &&" +
                                                        "am broadcast -a android.intent.action.AIRPLANE_MODE --ez state false",
                    deviceData, receiver);

I can't run this command, which I run smoothly on my windows 10 x64 Pro device, on a Windows 7 device. I had to switch to a new system as the problem persisted.