MODULYX← Back to the site

Connect your phone over USB

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.

Set it up

  1. Install MODULYX on the computer

    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.

  2. Install the MODULYX app on the phone

    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.

  3. Turn on Developer options

    Settings › About phone › tap Build number seven times (on some phones it is under “Software information”). Enter your PIN if asked.

  4. Turn on USB debugging

    Settings › System › Developer options › USB debugging.

  5. Plug in with a data cable

    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.

  6. Tap “Allow” on the phone

    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.

If it does not connect

MODULYX shows what it sees in http://127.0.0.1:8765 (“USB” status) and links to this page. Find your case:

The phone charges but is not detected
“Waiting for you to allow USB debugging” (unauthorized)

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.

USB debugging is on, but MODULYX still does not see the phone
The phone shows “offline”

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.

The app is not installed on the phone

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.

I use my phone’s USB tethering for the computer’s internet

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.

Android 4 or very old phones

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.

Tips for specific brands

Xiaomi / Redmi / POCO

In Developer options also turn on Install via USB and USB debugging (Security settings). Both ask you to sign in to a Mi account.

Huawei / Honor

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.

Samsung

If USB commands are blocked, turn off Auto Blocker (Settings › Security and privacy). Keep the screen unlocked while you plug the cable in.

OnePlus / Oppo / Realme / Vivo

In Developer options turn off Disable permission monitoring if present and allow USB debugging (Security settings); keep the screen on during the first connection.

Pixel / Motorola / Sony

Standard steps are enough. Make sure the USB mode is File transfer, not No data transfer.

Tablets

Same steps as a phone.

Prefer Wi-Fi?

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.