Skip to content
APKCombo
Guides

USB debugging: what it lets in, and how to use it safely

USB debugging exists so a developer's machine can install apps, read logs and inspect a device. Those capabilities do not distinguish between a developer and anyone else with physical access, so the setting is genuinely powerful and genuinely worth switching off when you are not using it.

USB debugging: what it lets in, and how to use it safely

What an authorised computer can do

CapabilityScope
Install and remove appsAny app, including removing preinstalled ones
Read system logsWhich can contain more than you would expect
Copy files from shared storageEverything not in an app’s private folder
Take screenshots and record the screenWithout any on-screen indication
Simulate taps and inputFull control of the interface
Read app private dataOnly for debuggable apps, which is few

Using it without leaving it open

  1. Turn it on only when you have a taskNot as a permanent state.
  2. Never tick always allow on a computer you do not ownAuthorise for that session only.
  3. Revoke authorisations periodicallyDeveloper options has a revoke USB debugging authorisations action. Use it after any repair or borrowed machine.
  4. Turn it off when the task is doneOne switch, and it closes the whole surface.
  5. Keep the phone locked when plugged into anything unfamiliarDebugging requires an unlocked phone to authorise, which is the protection that matters at a public charging point.

When it is worth turning on

Good reasons
  • Installing a split bundle from a computer
  • Copying files into Android/data
  • Removing preinstalled apps for your user
  • Recovering files from a phone with a broken screen
  • Capturing a bug report for a developer
Not worth it
  • Leaving it on in case you need it
  • Anything a phone app already does well
  • Because a forum post said to
  • On a phone used by someone else

It affects other apps

Several banking and payment apps refuse to run while USB debugging is enabled, treating it as an indicator of an untrusted environment. If a banking app stopped working after you were installing something from a computer, this is almost certainly why.

That behaviour is also a useful reminder: the phone knows this setting weakens it, and so should you.

Turn it on for a task, never tick always allow on a borrowed computer, revoke authorisations after a repair, turn it off after.

Frequently asked questions

Can someone use debugging on my locked phone?

They cannot authorise a new computer without unlocking it. A previously authorised computer is a different matter, which is why revoking matters.

Does USB debugging drain the battery?

No, not meaningfully. The reason to turn it off is security.

Why did my banking app stop working?

Several refuse while debugging is enabled. Turn it off and reopen the app.

Share

Reviews and ratings

Your comment was submitted and is awaiting moderation.

Your comment was published.

—No ratings yet
5
4
3
2
1
Rate this app
Tap the stars

Write a review

Rating and review are submitted for moderation.