T0biasCZe / AdbFileManager

Fast Android <-> Windows file manager using ADB protocol
444 stars 29 forks source link

[IDEA] Add a few preparations before run in README #26

Open Urgarth opened 3 months ago

Urgarth commented 3 months ago

For my case (S21 Ultra), I couldn’t display files on the device after launching the program. It showed just a blank slate, even though USB debugging was enabled. After further investigation, I realized that the issue was related to the device no longer being authorized on ADB for some reason. Here are the steps to resolve it:

  1. Navigate to the folder with our software and open the Command Prompt (CMD) there:

    adb devices
    List of devices attached
    4df798d76f98cf6d        unauthorized

    If you see “unauthorized,” it’s our client!

  2. Revoke USB Debugging on the phone: If the device is shown as unauthorized, go to the developer options on the phone and click “Revoke USB debugging authorization.”

  3. Restart the ADB Server: Restart the ADB server by executing the following commands:

    adb kill-server
    adb start-server
  4. Tap Allow on your device to approve the debugging request.

  5. Check device authorization again:

    adb devices
    List of devices attached
    4df798d76f98cf6d        device
  6. Now you can run AdbFileManager.exe and start working.