USB is the most reliable link: no Wi-Fi, no firewall, and the phone charges while it works as a panel. It takes about two minutes the first time.
Windows 10 or 11: in a normal PowerShell window run irm https://modulyx.reycarbone.it/setup.ps1 | iex. You do not need to install adb or any driver by hand: MODULYX downloads Google’s Android platform-tools by itself the first time it needs them.
Scan the QR code on the download section or open the APK link on the phone, and allow “install unknown apps” for your browser. Already plugged in over USB? Open http://127.0.0.1:8765 on the computer and use Settings › General › Install the phone app.
Settings › About phone › tap Build number seven times (on some phones it is under “Software information”). Enter your PIN if asked.
Settings › System › Developer options › USB debugging.
Use the cable that came with the phone, straight into the computer (not a hub). Unlock the screen. If the phone asks what USB is for, choose File transfer.
A question “Allow USB debugging?” appears. Tick Always allow from this computer and tap Allow. MODULYX then opens the panel on the phone by itself.
No question on the phone? Unplug and plug in again with the screen unlocked, or turn USB debugging off and on. If it still does not appear, go to Developer options › Revoke USB debugging authorizations, then plug in again.
MODULYX shows what it sees in http://127.0.0.1:8765 (“USB” status) and links to this page. Find your case:
Unlock the phone and answer the “Allow USB debugging?” question. If you cannot see it, see the tip above. The first time you may need to pull down the notification shade, because some phones show the question there.
& "$env:LOCALAPPDATA\MODULYX\platform-tools\adb.exe" kill-server and plug the phone in again.Unplug the cable, wait five seconds and plug it in again. If that does not help, turn USB debugging off and on, then restart adb as above.
Install it with the QR code or APK link, or from the computer: Settings › General › Install the phone app in http://127.0.0.1:8765 while the phone is plugged in. The app comes from this site and is checked against its SHA-256 before installing.
That works together with USB debugging: keep tethering on and turn USB debugging on as well. If the phone shows only a tethering device, open Developer options › Select USB configuration (if present) and pick a mode that includes debugging, then plug in again.
The app needs Android 5.0 or newer. On Android 5 and 6 the panel still works over USB; some features need a newer system.
In Developer options also turn on Install via USB and USB debugging (Security settings). Both ask you to sign in to a Mi account.
Choose File transfer in the USB notification. If asked, allow “HiSuite to use HDB” or pick the Transfer files configuration; a tablet that only offers “charge” needs that mode switched.
If USB commands are blocked, turn off Auto Blocker (Settings › Security and privacy). Keep the screen unlocked while you plug the cable in.
In Developer options turn off Disable permission monitoring if present and allow USB debugging (Security settings); keep the screen on during the first connection.
Standard steps are enough. Make sure the USB mode is File transfer, not No data transfer.
Same steps as a phone.
You can pair without any cable: on the computer open http://127.0.0.1:8765 › Settings › General › Pair a phone over Wi-Fi and scan the QR code with the app. The computer and the phone must be on the same network, and Windows has to allow MODULYX through the firewall for private networks. USB needs neither.