Fix ADB connection and permission problems

Can’t find USB debugging or Wireless debugging? Check your device’s brand. If you can’t connect, start with wireless pairing. See connection drops or permission errors if the problem happens after you connect.

On this page

See the troubleshooting steps in the TV guide.

See the troubleshooting steps in the computer setup guide.

See the troubleshooting steps in the TV guide.

See the troubleshooting steps in the computer setup guide.

See the troubleshooting steps in the computer setup guide.

See the troubleshooting steps in the computer setup guide.

See the troubleshooting steps in the computer setup guide.

Find your device

Choose a brand

Amazon

  • The computer can’t find a Fire tablet even with USB debugging on

    Fire OS 7 with USB set to Camera (PTP) or another mode.

    1. Pull down the notification shade, tap the USB notification, and choose File transfer. If there’s no notification, go to Settings → Device Options → Developer Options → USB computer connection.
    2. When asked Allow USB debugging?, check that it’s for your own computer before allowing it.

ASUS

  • The computer can’t see the phone with an accessory plugged into the side port

    When both USB-C ports are in use, the side port usually takes priority. The bottom port may have limited functionality.

    1. Unplug the accessory from the side USB-C port and leave only the computer’s data cable connected to the bottom port.
    2. Check whether the phone now appears in the computer’s device list.
    • ROG Phone 7
    • ROG Phone 7 Pro
    • ROG Phone 7 Ultimate

Bigme

  • Tapping the build number doesn’t unlock Developer options

    Android 14, system version 2.4.8.

    1. In the Bigme app store, go to System → Settings and update the Settings app.
    2. Return to About phone, tap the build number again, and check whether Developer options appears.
    • Bigme HiBreak Pro
  • Pairing discovery stops when you switch away from adb toolbox

    Android 14, firmware 3.0.6, with Background App Refresh available in Settings.

    Go to Settings → Background App Refresh and allow adb toolbox to run. Reopen adb toolbox and pair again.

    • Bigme HiBreak Pro Color

BOOX

  • Wi-Fi disconnects when the e-reader goes to sleep

    Android 12.

    1. Under Settings → Power, increase the delay before Wi-Fi disconnects during sleep. You can also keep the screen awake while debugging.
    2. Wake the reader and check that Wi-Fi is connected and Wireless debugging is on before reconnecting in adb toolbox.
    • Note Air3 C

Fairphone

  • adb toolbox restarts when you switch back from Settings

    Android 15 on a build older than FP5.VT2P.C.089.

    1. Go to Settings → System → System update and install FP5.VT2P.C.089 or later.
    2. After the phone restarts, pair again in adb toolbox.
    • Fairphone 5
  • Wireless debugging won’t connect on 6 GHz Wi-Fi

    Fairphone 5 running stock Android 15 on a build older than FP5.VT31.C.114. That build fixes the issue.

    1. Put both devices on the same trusted 2.4 GHz or 5 GHz network, then pair again.
    2. To use 6 GHz, go to Settings → System → System update and install FP5.VT31.C.114 or later.
  • USB debugging is on, but the phone only charges

    On /e/OS 4.2, Restrict USB under Trust is set to always deny USB connections.

    1. Go to Settings → Security & privacy → More security & privacy → Trust and check Restrict USB.
    2. On your own phone, you can temporarily allow USB only while unlocked. Unlock the phone and check whether the computer sees it. Restore your original setting when you’re done.
    • Fairphone 5
  • There’s no USB debugging prompt after selecting File transfer

    Android 15.

    1. Go to Developer options → Default USB configuration and choose No data transfer.
    2. Keep the phone unlocked. If it asks Allow USB debugging?, check that it’s for your own computer before allowing it.
    • Fairphone 6 (The Fairphone Gen. 6)

FCNT

  • The pairing notification disappears after clearing memory

    The au version running Android 16.

    1. Reopen adb toolbox and start pairing again.
    2. Leave メモリクリーナー (Memory Cleaner) closed until you’ve entered the pairing code.
    • arrows We2

Google

  • The phone is in Fastboot mode and ADB can’t see it

    1. Use the volume buttons to highlight Start and press the power button.
    2. Once Android starts, unlock the phone, check the debugging switches, and reconnect.
  • The pairing notification doesn’t appear with Extreme Battery Saver on

    A Pixel 3 or later that supports Extreme Battery Saver.

    1. Go to Settings → Battery → Battery Saver → Extreme Battery Saver.
    2. Choose adb toolbox as an app that can keep running, then start pairing.
  • The keyboard closes as soon as you tap the pairing notification

    The phone runs Android 14 and has Edge Gestures installed.

    Pause Edge Gestures. Expand the adb toolbox pairing notification and enter the six-digit code in its text field.

    • Google Pixel 8
  • The pairing code fails on Wi-Fi 7

    Android 15 with Wi-Fi 7 using both the 5 GHz and 6 GHz bands.

    1. Put the phone on the router’s trusted 2.4 GHz network. If you’re pairing from another device, put it on the same network.
    2. Open a new pairing dialog on the phone and use its new six-digit code.
    • Google Pixel 9 Pro Fold
  • The phone is paired but won’t connect

    Android 17 QPR1 Beta 1 (CP31.260403.005.A1).

    1. Check the build number under Settings → About phone.
    2. If the build number matches, install any available system update and pair again.
  • Debugging disconnects after tapping the Wi-Fi quick setting

    On Android 17 (CP3A.261005.005), the phone can drop the previous network even when Wi-Fi is still on.

    1. Touch and hold the Wi-Fi quick setting to open the network list.
    2. Rejoin the trusted Wi-Fi network you were debugging on. When it shows Connected, check the address under Wireless debugging again.
    • Google Pixel 10a
  • Your apps or files disappear in Repair Mode

    A supported Pixel with the December 2023 Android 14 update or later.

    1. After the repair, the owner can exit through Settings → System → Repair mode and verify their identity when prompted.
    2. After the phone restarts, open adb toolbox and check for the original apps or files.
  • A 32-bit APK won’t install

    These two Pixel models have supported only 64-bit apps since their original Android 13 release. A 32-bit APK can fail with INSTALL_FAILED_NO_MATCHING_ABIS.

    Ask the app publisher for a 64-bit release and install that version.

    • Google Pixel 7
    • Google Pixel 7 Pro
  • A liquid or debris warning appears and the computer can’t see the phone

    1. Unplug the USB cable. If the port is wet, turn the phone off and let it dry at room temperature.
    2. Reconnect the computer once Android says it’s safe to use the USB port.
  • New USB connections fail while the phone is locked

    Android 16 or later with USB Protection enabled under Advanced Protection.

    Unlock your phone, then reconnect it to your computer.

Hisense

  • About phone has no build number you can tap

    Hisense’s stock Android 11.

    1. Go to Settings → About phone and tap Kernel version repeatedly until the phone enables Developer mode.
    2. Return to Settings and open Developer options to find the debugging switches.
    • Hisense A9 (HLTE556N)

HONOR

  • Developer options are missing when the device is set up for a child

    Magic UI 4–6 or MagicOS 7–11, with child mode enabled in Digital Balance on a phone or tablet.

    1. Open Digital Balance in Settings and check whether child mode is on.
    2. Ask the parent to confirm whether debugging is allowed. Use another device if child protections need to stay in place.
  • Wireless debugging is missing from Developer options

    HONOR 50 on Magic UI 5.0 or HONOR X30 on Magic UI 6.1 (Android 12).

    1. Check the version under Settings → About phone. On HONOR 50, look for MagicOS 7.0 or later under System & updates → Software update.
    2. If the switch is still missing after updating, turn on wireless debugging from a computer.
    • HONOR 50 5G
    • HONOR X30
  • The first connection shows “Unauthorized” after pairing

    Android 14 when using an automatically discovered address.

    1. Check that the record still appears in Paired devices. Return to Wireless debugging and note the current IP address and connection port.
    2. Enter the address and port manually in adb toolbox. If the first connection is unauthorized, try again with the same details.
    3. If it still won’t connect, turn on wireless debugging from a computer and use a fixed port.
    • HONOR 70 (FNE-AN00)
  • Wi-Fi drops when the screen turns off

    Magic UI 4–6 or MagicOS 7–11 with Stay connected while asleep in Settings.

    Search Settings for Stay connected while asleep, turn it on, then reconnect in adb toolbox.

  • Android closes the app when the screen goes off or the app goes into the background

    MagicOS with App launch available and adb toolbox still managed automatically.

    1. Search Settings for App launch, find adb toolbox, and turn off Manage automatically.
    2. Turn on Run in background. Reopen adb toolbox and lock the screen again to check.
  • Wireless debugging is on after a restart, but the phone won’t connect

    MagicOS 11 (Android 17).

    1. Unlock the phone and rejoin the trusted Wi-Fi network you used for debugging.
    2. Go to Developer options → Wireless debugging and turn it off and back on. Reconnect in adb toolbox with the current address and port.
    • HONOR Magic8 Pro (BKQ-N49)
  • Your files are missing in Maintenance Mode

    On supported versions of Magic UI or MagicOS, Maintenance Mode hides the owner’s personal data during a repair.

    1. After the repair, the owner can go to My HONOR → Services → More → Device repair → Maintenance mode.
    2. Back up any files created during the repair that you want to keep. Turn off Maintenance Mode, unlock the device when prompted, then reconnect in adb toolbox.
  • USB is connected, but there’s no debugging prompt

    MagicOS 7.0 with USB set to Charge only.

    1. Make sure USB debugging is on. If Audio source is available under Developer options → Select USB Configuration, try selecting it temporarily.
    2. When the debugging prompt appears, confirm that it’s for your own computer and tap Allow. Check the device list. Restore your original USB mode when you’re done.
    • HONOR 80 GT (AGT-AN00)
  • USB debugging turns off after you leave Developer options or let the phone idle

    1. In Developer options, turn on Allow ADB debugging in charge only mode.
    2. Turn USB debugging back on and check whether the computer finds the phone.
    • HONOR Magic7

Huawei

  • Wireless debugging is missing from Developer options

    Some releases of EMUI 10–13, EMUI 15.0, and HarmonyOS 2–4, plus EMUI 14.2 on Mate X3.

    1. Open Settings → About phone and note the full build number. Compare it with Huawei’s guides below.
    2. If that version doesn’t have the wireless pairing switch, Huawei recommends USB debugging with a data cable and a computer.
  • Developer options or USB debugging are unavailable in child mode

    Child mode is enabled in Digital Balance on the Huawei phone or tablet.

    Ask the parent to confirm whether debugging is allowed on this device.

  • HarmonyOS NEXT doesn’t show an Android wireless pairing code

    adb toolbox can’t connect through ADB to phones running HarmonyOS NEXT. These devices use HDC for debugging.

    1. Check the system version under Settings → About phone.
    2. If tapping Developer options in Zhuoyitong does nothing and there’s no six-digit code, use an Android device that supports ADB.
  • Pairing discovery stops when you switch to Settings

    EMUI 9.0 or later with App launch in the system manager.

    1. Open Optimizer → App launch and find adb toolbox.
    2. Manage the app manually and allow it to run in the background. Then return to adb toolbox and pair.
  • The phone switches to mobile data and drops debugging when Wi-Fi is weak

    The phone has Wi-Fi+ in Settings.

    1. Open more options under Settings → Wi-Fi and find Wi-Fi+.
    2. Temporarily turn off Wi-Fi+ and rejoin the trusted Wi-Fi network you used for debugging. If needed, see how to reconnect after a Wi-Fi change or a restart.
  • Developer options still work, but your apps and files are missing

    Maintenance Mode is active on a Huawei phone or tablet. Some EMUI 12–15 devices have this setting.

    1. After the repair, the owner can open the Maintenance mode notification and select Close. Another path is My HUAWEI → Support → Quick services → More → Maintenance mode.
    2. Back up any files you want to keep from Maintenance Mode before you exit. Enter your lock screen PIN, pattern, or password when prompted, then reconnect.
  • HiSuite can connect, but the computer’s ADB tool can’t find the phone

    This applies if HiSuite is connected through HDB and the phone also supports USB debugging.

    1. HiSuite’s HDB setting is separate from USB debugging. On the phone, turn on USB debugging in Developer options.
    2. When the phone asks Allow USB debugging?, verify that it’s for your own trusted computer, then tap Allow.
  • ADB doesn’t work in charge-only mode

    The phone runs a version of EMUI or HarmonyOS 4.x that supports ADB. Look in Developer options for the setting that allows ADB debugging in charge-only mode.

    1. In Developer options, turn on the setting that allows ADB debugging in Charge only mode.
    2. Check that USB debugging is on.

Infinix

  • The phone asks for permission the first time you install an APK through ADB

    XOS 16 (Android 16).

    1. Read the Install via USB prompt on the phone where you’re installing the app. Confirm you started the installation.
    2. If you trust the APK’s source, confirm on the phone. Then return to adb toolbox to check the result.
    • Infinix HOT 60 Pro+ (X6886)
  • ADB is connected, but the phone declines the APK installation

    Model X678B running Android 14.

    1. Check whether the app is available in the app store.
    2. If the app is only available as an APK, make sure you got it from the publisher. Open it in the file manager on the phone where you want to install it. If it’s still blocked, read the prompt and ask the publisher for a compatible version.
    • Infinix NOTE 30 Pro (X678B)

iQOO

  • The app stops looking for a pairing service when you switch to Settings

    If discovery stops when you switch to Settings, look for High background power consumption or background power management in the battery settings. Some OriginOS 6 devices have this option too.

    Go to Settings → Battery and open the setting for background power usage. Allow adb toolbox to run in the background, then start pairing again.

  • Taps sent over USB do nothing

    Some OriginOS or Funtouch OS phones have a USB tap simulation option in Developer options.

    1. Turn on USB simulated taps in Developer options and try tapping again.
    2. Restore the original setting when you’re done.

Kyocera

  • Developer options or USB debugging are unavailable on a managed phone

    If your phone is managed with Kyocera Device Control 6.0, the administrator can disable Developer options or USB debugging. This can also affect a DuraForce EX running Android 13–15.

    1. If you can’t open Developer options at all, ask the administrator to check Disable debugging features (デバッグ機能の無効化) in Device Control.
    2. If only USB debugging is unavailable, ask the administrator to check Disable USB debugging (USB デバッグの無効化) under USB restrictions.

Lenovo

  • The computer can’t see the tablet with both USB-C ports in use

    If both USB-C ports have accessories or cables plugged in, the tablet gives priority to the 10 Gbps port on the side.

    1. Unplug the accessory from the other USB-C port. Leave only the cable to the computer connected.
    2. If the computer is connected to the bottom port, move the cable to the 10 Gbps side port and check the device list again.
    • Lenovo Legion Tab (TB320FC)

Meizu

  • A Flyme phone connects, but an action is denied

    Look for Flyme payment protection in Developer options.

    1. If Flyme payment protection is blocking the action, note the current setting, then turn it off temporarily. Payment protection is paused while it’s off.
    2. Reconnect and retry the blocked action. Restore the original setting when you’re done.

Moaan

  • Developer mode is on, but there’s no USB debugging switch

    Android 11, system version MAS_EPD305_L81B804_T44_V09.

    1. Open Settings → App management on the e-reader and turn on USB debugging there.
    2. Check whether the computer can see the device. If it’s still missing, see USB debugging stops working.
    • Moaan InkPalm Plus

Motorola

  • Wireless debugging shows an IP address but no port after a restart

    This can happen on Android 15 if you restart after using USB debugging.

    1. On the phone you want to connect, turn Wireless debugging off and back on in Developer options.
    2. Wait for both values to appear under IP address & Port, then reconnect in adb toolbox using the new port.
    • motorola edge 40 neo
  • The app in Secure Folder doesn’t show a pairing notification

    If adb toolbox is installed in Moto Secure’s Secure Folder on Android 13, 14, or 16, check whether the folder hides notifications.

    1. You can pair using a copy of adb toolbox outside Secure Folder.
    2. To pair inside the folder, unlock it and open Notification manager from its menu. On newer versions, open More settings first. Allow notifications before pairing again.
  • The pairing notification is missing with Moto Unplugged on

    On Android 14 and 16, Moto Unplugged hides notifications from the shade.

    1. End Moto Unplugged from Quick Settings or its home screen widget.
    2. Reopen adb toolbox and pair again. Pull down the notification shade and look for the pairing notification.
  • Battery Saver grays out adb toolbox and hides the pairing notification

    On Android 16 with Maximum battery saver on.

    1. Open Quick Settings and touch and hold Battery Saver. Switch to Standard or temporarily turn Battery Saver off.
    2. Wait for the adb toolbox icon to return to normal, then open the app and pair.
  • The connection drops only when the screen turns off

    Android 16.

    1. Go to Settings → Battery → App standby optimization and choose adb toolbox.
    2. Turn off automatic optimization for the app. Set Standby sleep optimization to Don’t optimize, then turn the screen off and try again.
    • moto g35 5G

OnePlus

  • The pairing notification won’t open while sharing your screen

    Model CPH2451 running OxygenOS 15.0.0.203.

    Stop sharing your screen and pair again. If there’s still no notification, see The pairing code is visible, but there’s no notification.

    • OnePlus 11 5G
  • Debugging briefly disconnects when you lock or unlock the screen

    Android 16 using fixed port 5555.

    1. Wait for the phone to come back online, then resume what you were doing.
    2. If it stays offline, reconnect in adb toolbox.
    • OnePlus 11 5G
  • ADB permission problems

    On OnePlus Nord CE5 (OxygenOS 16.0.0), an action is denied even though the phone is connected. On OnePlus 15 (ColorOS 16.0.8.301(CN01B60P01)), the Permission monitoring switch may be missing.

    1. Open Developer options and find the switch described below. Note its original setting.
    2. Turn Permission monitoring off, or temporarily turn Disable permission monitoring or Disable system optimization on if your phone uses that label.
    3. Reconnect in adb toolbox and retry the action. Restore the original switch setting when you’re done.
  • File transfer works, but the computer can’t find a USB debugging device

    The phone runs OxygenOS 15 (CPH2573_15.0.0.840(EX01V80P01)) and the computer runs Windows 10.

    1. If Developer options has Disable permission monitoring, you can turn it on temporarily. Restart the phone and select File transfer as the USB mode.
    2. Check the device list. Once the phone is authorized again, restore Disable permission monitoring to its original state and make sure the connection still works.
    • OnePlus 12

OPPO

  • Developer options are missing after optimization in Phone Manager

    1. Go to Settings → About device → Version and tap Build number seven times.
    2. Return to Developer options and check whether Wireless debugging is on.
  • adb toolbox can’t reach another device even though the phone is on Wi-Fi

    ColorOS 7 or later with network access settings for individual apps.

    1. Go to Settings → Mobile network or SIM card & mobile data, then look for app network permissions under Data usage.
    2. Find adb toolbox and allow it to use Wi-Fi. If the app still can’t find the device, see what to do when pairing gets stuck.
  • ADB permission problems

    If an action is denied, look for permission monitoring in Developer options.

    1. Note the original setting. Turn Permission monitoring off, or turn Disable permission monitoring on if that’s how the switch is labeled.
    2. Reconnect and retry the blocked action. Restore the original setting when you’re done.

POCO

  • Developer options disappear after a Security app scan

    1. Open About phone and tap the OS or MIUI version several times.
    2. Go to Additional settings → Developer options and check USB debugging.
    3. Wait until you’re done debugging before scanning or optimizing the phone again.
  • Pairing fails as soon as you enter the code

    Check whether MIUI’s notification settings include Notification display style.

    1. In the notification settings, open Notification display style and choose Android or the native style.
    2. Reopen the pairing dialog and enter the new six-digit code in the pairing notification.
    3. When a new entry appears under Wireless debugging → Paired devices, connect in adb toolbox.
  • The phone connects, but Android blocks an action

    Look for USB debugging (Security settings) in Developer options.

    1. Turn on both USB debugging and USB debugging (Security settings) in Developer options.
    2. If the phone asks you to verify your account or SIM, follow the prompt.
    3. Reconnect and try the action again. Android may still block access to other apps’ private files.
  • The phone asks you to sign in or insert a SIM

    Some MIUI or HyperOS phones ask you to sign in to a Xiaomi Account or insert a SIM when you turn on USB debugging (Security settings) or Install via USB.

    1. Keep the phone online. Follow the prompt to sign in to your Xiaomi Account or check that the phone recognizes your SIM.
    2. Go back to Developer options and try the same switch again. If you still can’t turn it on, contact Xiaomi support.
  • Key presses sent from adb toolbox don’t work

    Android 12 with USB debugging (Security settings) available in Developer options.

    1. In Developer options, turn on USB debugging and USB debugging (Security settings).
    2. Complete any account or SIM verification the phone asks for.
    3. Restart the phone, reconnect in adb toolbox, and try the key again.
    • POCO F3

realme

  • Wireless debugging connects, but an action is denied

    Android 13 (realme UI 4.0) with Disable permission monitoring in Developer options.

    1. Scroll down to Apps in Developer options and turn on Disable permission monitoring at the bottom of that section.
    2. Return to adb toolbox and retry the action. Restore the original setting when you’re done.
    • realme GT 2 Pro

REDMAGIC

  • The phone only charges over USB after an update

    On REDMAGICOS10.0.6MR1_EU, this can happen with USB debugging on and no prompt to choose a USB mode.

    1. Save your work. Power the phone off completely, then press the power button to turn it on.
    2. If it keeps happening, check System update for a newer release.
    • REDMAGIC 9S Pro (NX769J)

Redmi

  • Discovery stops when the screen turns off and resumes when it wakes

    HyperOS OS4.0.5 (Android 16).

    1. Wake the phone you want to connect and check the current IP address and connection port on the main Wireless debugging screen.
    2. If the device is still paired, enter that address and port in adb toolbox and reconnect.
    • REDMI K90
  • Scheduled shutdown interrupts debugging

    If the connection drops at the same time every day, check whether the phone is set to shut down on a schedule.

    1. Go to Settings → Battery → Additional features → Schedule power on/off and check the shutdown time.
    2. Schedule the shutdown for after you finish debugging. If the phone is already off, turn it on and unlock it. Check Wireless debugging and reconnect.
    • REDMI Note 13 Pro 5G
  • Key presses sent from adb toolbox don’t work

    Android 12 with USB debugging (Security settings) available in Developer options.

    1. In Developer options, turn on USB debugging and USB debugging (Security settings).
    2. Complete any account or SIM verification the phone asks for.
    3. Restart the phone, reconnect in adb toolbox, and try the key again.
    • Redmi K40
  • The phone asks you to sign in or insert a SIM

    Some MIUI or HyperOS phones ask you to sign in to a Xiaomi Account or insert a SIM when you turn on USB debugging (Security settings) or Install via USB.

    1. Keep the phone online. Follow the prompt to sign in to your Xiaomi Account or check that the phone recognizes your SIM.
    2. Go back to Developer options and try the same switch again. If you still can’t turn it on, contact Xiaomi support.

Samsung

  • Developer options won’t open at all

    A Samsung phone managed by an organization and running Android 11 or later.

    Ask the administrator whether Knox Guard has disabled ADB and Developer mode.

  • Auto Blocker prevents debugging

    One UI 6.0 or later. On Galaxy S23 Ultra, check Auto Blocker if both debugging switches are grayed out.

    1. Open Settings → Security and privacy → Auto Blocker and check whether it’s on.
    2. Only turn off Auto Blocker on your own device and while using a trusted network with devices you trust. Go back to Developer options and turn on the debugging switch you need. Turn Auto Blocker back on when you’re done.
    3. If debugging worked and then stopped, check Turn on automatically. On One UI 8.5 or later, Auto Blocker can turn itself back on after about 30 minutes when this setting is enabled.
    4. If the device is managed by a school or company and you can’t change the switch, ask your administrator to check the Auto Blocker settings.
  • The phone shows a pairing code, but the notification has no input field

    1. Go to Settings → Notifications → Advanced settings and turn on Manage notification categories for each app.
    2. Go to Settings → Apps → adb toolbox → Notifications → Notification categories and turn on Wireless pairing discovery. Pair again. If the notification is still missing, see The pairing code is visible, but there’s no notification.
  • adb toolbox in Secure Folder doesn’t show a pairing notification

    adb toolbox is installed inside Samsung’s Secure Folder.

    1. Go to Secure Folder → More options → Settings → Notifications → App notifications and check that notifications are allowed for adb toolbox.
    2. If notifications disappear only when the folder is locked, unlock it, open adb toolbox inside it, and pair again.
  • Do not disturb hides the pairing notification from the shade

    Do not disturb is set to Hide all or to hide notifications from the panel.

    1. Touch and hold Do not disturb in Quick Settings, then open Allowed during Do not disturb → App notifications.
    2. Add adb toolbox to the apps allowed to show notifications, then start pairing.
  • adb toolbox stops discovery when you switch to Settings

    1. Go to Settings → Battery → Background usage limits → Deep sleeping apps.
    2. If adb toolbox is listed, remove it and reopen it to pair. If the app still can’t find the device, see what to do when pairing gets stuck.
  • The phone restarts when idle and debugging disconnects

    If the phone restarts on its own, check whether Restart when needed or Restart on schedule is on under Device care.

    1. Open Settings → Device care → Auto optimization → Auto restart.
    2. Temporarily turn off Restart when needed while debugging, or move the scheduled restart to a later time.
    3. If the phone has already restarted, unlock it, check Wireless debugging, and reconnect.
  • Debugging disconnects after entering the screen-lock PIN

    Android 16 over USB or a fixed Wi-Fi port.

    1. Unlock the phone and wait for the home screen before reconnecting in adb toolbox.
    2. When the device comes back online, resume what you were doing.
    • Samsung Galaxy S21 FE 5G (SM-G990B)
  • Your apps or files are missing in Maintenance mode

    One UI 5 or later.

    1. After the repair, the owner can go to Settings → Device care → Maintenance mode, choose to exit and restart, and verify their identity.
    2. After restarting, switch back to the owner’s account and check for the original apps and files in adb toolbox.
  • Files saved by a second copy of a messaging app are missing in adb toolbox

    On Galaxy Note10+ running Android 11, files downloaded through Dual Messenger are stored separately.

    1. On the phone, go to My Files → Internal storage → DualApp → DCIM and open the messaging app’s folder.
    2. If My Files lets you copy or share the items, save them to a normal folder such as Download under the owner’s account, then check in adb toolbox.
    • Samsung Galaxy Note10+
  • Screenshots fail in several apps on a Samsung device managed by work or school

    Android 8 or later with Knox Manage and screen capture disabled by the administrator.

    1. Open a few ordinary screens on the phone or in the work profile and try Android’s built-in screenshot shortcut.
    2. If the phone says the administrator restricts screenshots, ask the administrator to check the screen capture setting in Knox Manage.
  • Debugging disconnects when you plug in USB or change the USB mode

    On Galaxy S20 (One UI 5.1, Android 13), this can happen when connecting to a computer. On Galaxy S23 (One UI 9, Android 17), it can happen when switching USB to File transfer.

    1. Wait for the phone to reappear in the device list.
    2. Reconnect before resuming what you were doing.
    • Samsung Galaxy S20
    • Samsung Galaxy S23
  • DeX closes when you connect a computer for debugging

    The phone is running DeX on a DeX Station dock.

    1. To keep using DeX, connect the phone and the device you debug from to the same trusted network.
    2. If the phone supports Wireless debugging, continue over Wi-Fi.
  • The phone only charges over USB after an hour on the lock screen

    One UI 7 with Block USB connections while locked on. The setting restricts new USB connections after the phone has been locked for an hour.

    1. If Android tells you to unlock and reconnect, unlock the phone first.
    2. Reconnect the computer and check whether USB debugging works again.

Sharp

  • Pairing discovery stops in power saving mode

    The 長エネスイッチ power-saving setting is on.

    1. Temporarily turn off 長エネスイッチ and stay on the same Wi-Fi network.
    2. Return to adb toolbox and pair again.
    • AQUOS sense8

Sonim

  • The phone turns itself off after you remove it from the charging dock

    Android 14 with USB Power Saving set to shut down the phone after external power is disconnected.

    1. Turn on and unlock the phone. Go to Settings → Battery → USB Power Saving.
    2. Check Automatic power OFF after power is disconnected. If you set it yourself, lengthen the delay or turn it off, then reconnect in adb toolbox.
    • Sonim XP Pro
    • Sonim XP Pro Thermal

Sony

  • Pairing discovery stops in Settings when STAMINA is on

    These steps apply if STAMINA is on and you can change battery settings for individual apps.

    1. Go to Settings → Apps → adb toolbox → App battery usage.
    2. Turn on Allow background usage, choose Unrestricted, then return to adb toolbox to pair.
  • The phone asks which USB mode to use

    1. Keep the current mode and close the dialog.
    2. If Allow USB debugging? appears, check that it’s for your own computer before allowing it.
    3. Check the computer’s device list to see whether the phone is still there.

TCL

  • There’s no build number, and pressing the confirm key doesn’t open Developer options

    Android 11 with SVN listed under Software information.

    1. Go to Settings → About phone → Software information and highlight SVN.
    2. Press the left soft key below the screen repeatedly until Developer mode is enabled. Return to Settings and look for Developer options.
    • TCL FLIP Go (4058W)

Unihertz

  • Pairing discovery stops when the screen turns off

    Jelly 2 (Android 11) or Jelly Star (Android 13). If changing battery optimization didn’t help, check the two settings below.

    1. Go to Settings → DuraSpeed and allow adb toolbox to run in the background.
    2. Under Settings → Smart assistance → App blocker, make sure adb toolbox isn’t blocked. Then pair again.

vivo

  • Discovery stops when you open Settings or turn off the screen

    OriginOS with a background power management setting under Battery.

    1. If adb toolbox stops looking for devices, go to Settings → Battery → Background power management, select adb toolbox, and allow higher background power use.
    2. If Sleep mode also disconnects Wi-Fi, turn it off temporarily in Settings → Battery. Rejoin Wi-Fi and reconnect in adb toolbox.
  • Debugging drops when the phone switches to mobile data

    OriginOS with Auto switch data network turned on in Network assistant.

    Go to Settings → WLAN → Network assistant and temporarily turn off Auto switch data network. Rejoin the original Wi-Fi network and reconnect in adb toolbox.

  • Screenshots of the password screen are black

    OriginOS 4 (Android 14) with secure input or screenshot and recording protection on.

    Enter the password on the phone. Take the screenshot after leaving the password screen.

    • vivo S18
  • Taps sent over USB do nothing

    Some OriginOS or Funtouch OS phones have a USB tap simulation option in Developer options.

    1. Turn on USB simulated taps in Developer options and try tapping again.
    2. Restore the original setting when you’re done.

Xiaomi

  • Developer options disappear after a Security app scan

    1. Open About phone and tap the OS or MIUI version several times.
    2. Go to Additional settings → Developer options and check USB debugging.
    3. Wait until you’re done debugging before scanning or optimizing the phone again.
  • Pairing fails as soon as you enter the code

    Check whether MIUI’s notification settings include Notification display style.

    1. In the notification settings, open Notification display style and choose Android or the native style.
    2. Reopen the pairing dialog and enter the new six-digit code in the pairing notification.
    3. When a new entry appears under Wireless debugging → Paired devices, connect in adb toolbox.
  • Debugging disconnects when the phone switches networks

    If the phone changed networks when the connection dropped, check for a Network switch setting.

    1. Go to Settings → Wi-Fi → Network acceleration and find Network switch.
    2. Temporarily turn off Network switch and rejoin the trusted Wi-Fi network you use for debugging. If you still can’t connect, see how to reconnect after a Wi-Fi change or a restart.
  • Key presses sent from adb toolbox don’t work

    Android 12 with USB debugging (Security settings) available in Developer options.

    1. In Developer options, turn on USB debugging and USB debugging (Security settings).
    2. Complete any account or SIM verification the phone asks for.
    3. Restart the phone, reconnect in adb toolbox, and try the key again.
    • Mi 11X
  • The phone connects, but Android blocks an action

    Look for USB debugging (Security settings) in Developer options.

    1. Turn on both USB debugging and USB debugging (Security settings) in Developer options.
    2. If the phone asks you to verify your account or SIM, follow the prompt.
    3. Reconnect and try the action again. Android may still block access to other apps’ private files.
    4. If simulated keys still don’t work, restart the phone, reconnect, and try the keys again.
  • The phone asks you to sign in or insert a SIM

    Some MIUI or HyperOS phones ask you to sign in to a Xiaomi Account or insert a SIM when you turn on USB debugging (Security settings) or Install via USB.

    1. Keep the phone online. Follow the prompt to sign in to your Xiaomi Account or check that the phone recognizes your SIM.
    2. Go back to Developer options and try the same switch again. If you still can’t turn it on, contact Xiaomi support.
  • Opening a dual app launches the original app

    MIUI or HyperOS with Dual apps enabled.

    1. On the phone’s home screen, tap the app icon with the Dual apps badge.
    2. Check that you’re signed in to the account you expect in the second copy before continuing.
  • ADB is connected, but USB installation is blocked

    MIUI with a separate Install via USB switch in Developer options and an INSTALL_FAILED_USER_RESTRICTED error.

    1. Make sure you trust the APK’s source. Unlock the phone and look for an installation prompt waiting for confirmation.
    2. If Install via USB is off, turn it on and try again. You can also install the app from its original store.
    3. If turning on Install via USB asks you to sign in or verify a SIM, see The phone asks you to sign in or insert a SIM.
Choose an operating system

CalyxOS

  • The firewall blocks the wireless connection

    If you’ve restricted Wi-Fi or background network access for adb toolbox in Firewall, check that setting.

    Open the CalyxOS firewall, allow adb toolbox to use the current network, and pair again.

  • USB debugging won’t start while the phone is locked

    With default USB settings, the lock screen restricts newly connected USB devices. If a locked Fairphone 5 still accepts new USB devices, update to CalyxOS 6.4.1 or later.

    1. Unlock the phone, then reconnect it to your computer.
    2. If it still only charges while unlocked, look under Settings → Security & privacy → Restrict USB and check whether it’s set to always deny. If USB connections are allowed but there’s no prompt, see No “Allow USB debugging?” prompt.

GrapheneOS

  • The Wireless debugging quick setting is gone

    The tile can disappear after upgrading to Android 17.

    Go to Settings → System → Developer options and turn on Wireless debugging.

  • adb toolbox can’t find the device after you turn off Network permission

    Without Network permission, adb toolbox can’t connect to your own phone even through a local address.

    In Android Settings, open App info for adb toolbox, turn on Network, and pair again. If the app still can’t find the device, see what to do when pairing gets stuck.

  • USB still only charges after you unlock the phone

    Check whether USB-C port is set to Charging-only.

    1. Go to Settings → Security → Exploit protection → USB-C port and check the mode.
    2. For USB debugging, choose the default Charging-only when locked. Unlock the phone before connecting it to your own computer. If there’s no prompt, see No “Allow USB debugging?” prompt.

Wireless pairing problems

Wireless debugging is missing

  1. Pairing by code requires Android 11 or later on a phone. Check the version in Settings → About phone, then look for Wireless debugging in Developer options.
  2. If your phone is only hosting a hotspot or is connected by Ethernet, join a trusted Wi-Fi network first. If the switch is visible but unavailable, see The debugging switch is grayed out.
  3. If your phone doesn’t have this switch, you can turn on wireless debugging from a computer.
  1. On the device you want to connect, open Pair device with pairing code and leave the dialog open. On the phone running adb toolbox, open Settings and allow the app to run in the background. On Android 17 or later, tap Allow if Android asks for local network access. If you previously denied access, turn it on under the app’s Permissions in Settings.
  2. For another device, put both devices on the same trusted Wi-Fi network. Switch networks if your guest Wi-Fi prevents devices from reaching each other.
  3. If adb toolbox is already listed under Paired devices, see how to reconnect without pairing again.

The pairing code is visible, but there’s no notification

  1. Unlock the phone and pull down the notification shade to look for the adb toolbox notification. With Notification cooldown on, it may appear only in the shade.
  2. On Android 13 or later, go to Settings → Apps → adb toolbox → Notifications and allow notifications, then pair again.
  3. If you just stopped adb toolbox, open it again. If the app is in Private space or a work profile, unlock the space or resume the profile first. If screen sharing hides the notification, stop sharing and pair again.

The pairing code expires or fails right away

  1. Go back to Wireless debugging and reopen the pairing dialog.
  2. Leave the dialog open. If you’re using a notification to pair your own phone, enter the new six-digit code in the notification. If it’s missing, see The pairing code is visible, but there’s no notification. If you’re pairing another device, update the code and pairing port in the adb toolbox form.
  3. If the pairing dialog closes when you leave Settings, reopen it and follow the steps for your own phone or another device.

When the connection drops

The device disconnects when the screen locks or the app goes into the background

  1. Unlock the phone. Make sure it’s on Wi-Fi and Wireless debugging is still on, then reconnect.
  2. If it disconnects as soon as you leave adb toolbox, allow the app to run in the background in its battery settings.

You switched Wi-Fi networks or restarted the phone

  1. For Android’s built-in Wireless debugging, unlock the device and connect it to Wi-Fi. Open Wireless debugging and reconnect using the IP address and connection port shown now.
  2. If you use fixed port 5555 to connect to another device, check its new IP address after switching Wi-Fi networks. You’ll usually need to enable the port again after a restart. If you enabled it through notification pairing, see reconnect your own phone. If you used a computer, follow the computer setup steps.

The device is paired but won’t connect

  1. If adb toolbox is still listed under Paired devices, use the current IP address and connection port from Wireless debugging. See reconnect your own phone or reconnect another device.
  2. If it fails only when a VPN is on, check whether the VPN allows access to your local network.
  3. Pair again if you see an authorization error or the old pairing is missing. If you cleared adb toolbox’s app data, forget the old pairing on the phone you’re connecting to before you pair again.

ADB permission problems

The debugging switch is grayed out

  1. If you’re using a guest or another user profile, switch back to the owner’s profile before opening Developer options.
  2. If a parent, school, or company manages the device, ask the parent or administrator whether debugging is allowed.

The device connects, but an action is denied

  1. If only apps with a briefcase icon are affected, ask your administrator whether the work profile allows debugging.
  2. If you can’t disable or uninstall a system app, check for Disable or Uninstall under Settings → Apps on the phone. For file or screenshot problems, see Files won’t open or screenshots come out black.
  3. If numbers work but Chinese characters or emoji don’t, switch back to Text input mode (default) in adb toolbox and enter the text again.

Files won’t open or screenshots come out black

  1. If you just restarted the phone, unlock it once before trying to read shared storage. For files in another user or work profile, switch to that profile and share or export the files from the app that created them, if permitted. Switching profiles doesn’t automatically give ADB access to that profile’s files.
  2. On Android 11 or later, the Local files page in adb toolbox can’t open another app’s Android/data folder. Export the files from the original app if you need them.
  3. If a screenshot comes out black, take a screenshot of the home screen to see if it works there. If only a particular screen is affected, use the app’s own share or export option if available.

An APK won’t install or update

Find the error code shown in adb toolbox below. If the phone asks you to install the app, verify the app name and where you got the APK before confirming.

  • Signatures don’t match
    INSTALL_FAILED_UPDATE_INCOMPATIBLE
    The APK has a different signature from the installed app. Update through the original app store or request an APK with a matching signature from the publisher. If you have to uninstall first, back up app data before doing so.
  • Incompatible Android version
    INSTALL_FAILED_OLDER_SDKINSTALL_FAILED_DEPRECATED_SDK_VERSION
    OLDER_SDK means the installer needs a newer version of Android. Get a release that supports your phone. DEPRECATED_SDK_VERSION means Android blocked an app built for an older version. Ask the app publisher for a newer release.
  • Incomplete installer
    INSTALL_FAILED_MISSING_SPLIT
    This app needs more than one installation file, and at least one is missing. Install it from the original store or ask the publisher for a complete installer.
  • An older APK can’t replace the installed version
    INSTALL_FAILED_VERSION_DOWNGRADE
    The APK is older than the version on your phone. Get the same version or a newer one.
  • Installation verification failed
    INSTALL_FAILED_VERIFICATION_FAILURE
    The installer didn’t pass Android’s verification. Read the prompt on the phone, then get the APK from the original app store or publisher.
  • Installation was declined
    INSTALL_FAILED_ABORTED: User rejected permissions
    The phone declined the installation request. Unlock it and try again. When prompted, check the app name before confirming.

USB debugging stops working

No “Allow USB debugging?” prompt

  1. Unlock the phone and make sure USB debugging is on in Developer options. A computer you’ve already authorized may not trigger the prompt again. If Open Wireless Debugging on the computer shows Ready, you can continue.
  2. Unplug any USB accessories from the phone, such as a flash drive or keyboard. If your phone is managed by work or school and the switch is grayed out, ask the administrator whether USB data transfer is allowed.

The phone only charges when locked

Unlock the phone and check whether the computer can see it.

The connection drops after changing the USB mode

  1. Unlock the phone and switch back to the USB mode you were using before the drop.
  2. When the authorization prompt appears, check that it’s for your own computer and tap Allow. If there’s no prompt, see No “Allow USB debugging?” prompt.