Open Michl7 opened 2 weeks ago
Looks like it is unable to locate the adb binary. Possible fixes:
I haven't done this on Windows, but I can try it and see what happens.
Edit: Did you follow these instruction? (Source)
Just tested the setup on my windows machine. The Platform-Tools should be installed by default, but your terminal can't find it. You can execute set PATH=%PATH%;C:\Users\<YOUR USERNAME>\AppData\Local\Android\Sdk\platform-tools
before the actual rooting command.
I'm working on an updated documentation here but I'm a bit stuck. Some things only work in Powershell, some in a command prompt - it's a mess. Usually I would do this in Windows Subsystem Linux, but I also like the challenge.
thanks, got it working but now i am stuck with the app. The roborock app needs a arm version of android but all arm versions i tried did not run. Not even the phone emulation window opens just shows "Starting up" but nothing happens.
The x86_64 version runs fine but as said the apk is not compatible. Do you have a arm version running?
Maybe WSL would be easier as you write? If i find a little more time maybe i read into it and try that way.
Have to say now i appreciate people who know this stuff and create scripts and programs a lot more.
Okay i got it figured out. Have now an AVD Android 11 with Magdisk, roborock app and wireguard app. Also have mitmproxy installed on PC and the modul installed in magdisk on AVD.
Now i am stuck with my knowledge on how to get it working all together.
I think i would need a little help hor to do this step now:
Those are instructions for linux
on Windows (in PowerShell):
$env:SSLKEYLOGFILE="~/.mitmproxy/sslkeylogfile.txt"
and thenmitmdump --mode wireguard
should work. Files will be generated to your X:\Users\<Username>\.mitmproxy
- directory once the device starts making requests. That is also about as far as I got last time on my Windows machine.
Basically, you need to tell Wireshark about the sslkeylogfile.txt and after that the traffic should be readable.
The problem i have is at the stop with rootAVD: I have a virtual device running and followed the gif instructions for windows:
Getting errors regarding ADB commands not found:
I checked that i have the Android SDK Platform-Tools installed. I am running Windows 11 Pro 23H2.