Рет қаралды 7,220
Requires:
Windows 10 or later
PowerShell v7 or later
WSL2 enabled
Virtualization enabled
WSL Ubuntu Installed
Install Android Command Line Tools SDK on both on Windows (host) and Ubuntu WSL (guest)
developer.andr...
Note: Use the sdkmanager to install the command line tools. If properly installed, adb should work right out of the box.
Install MVT following install instructions from:
docs.mvt.re/en...
Set phone in developer mode
Set stay awake
USB Debug mode enabled
USB file transfer default set to automatic
Connect the phone to a USB port. Pay attention to the phone for prompting the user to allow connection over USB.
Connect phone over Wifi
On a Windows PS type:
adb tcpip 5555
mvt-android check-adb --serial phone-ip address:5555 --output /path/to/results
The phone ip address can be found under Settings: About phone: Status
The mvt-android command will then run checks on the connected phone and will print out any findings.
Note: While the mvt-android command runs, the user must keep an eye for pop ups requiring authorization to access the phone. Select allow for all.
Note: When installing or creating folders, a lot of times it will require the correct access permissions by root or the user. In this case, ensure /path/to/results can be accessed by the local user and not just by root.