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.
What an authorised computer can do
| Capability | Scope |
|---|---|
| Install and remove apps | Any app, including removing preinstalled ones |
| Read system logs | Which can contain more than you would expect |
| Copy files from shared storage | Everything not in an app's private folder |
| Take screenshots and record the screen | Without any on-screen indication |
| Simulate taps and input | Full control of the interface |
| Read app private data | Only for debuggable apps, which is few |
Reklam
Using it without leaving it open
- Turn it on only when you have a task Not as a permanent state.
- Never tick always allow on a computer you do not own Authorise for that session only.
- Revoke authorisations periodically Developer options has a revoke USB debugging authorisations action. Use it after any repair or borrowed machine.
- Turn it off when the task is done One switch, and it closes the whole surface.
- Keep the phone locked when plugged into anything unfamiliar Debugging requires an unlocked phone to authorise, which is the protection that matters at a public charging point.
When it is worth turning on
- 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
- 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.
Read next
This is not a rivalry. Each does something the other cannot.
You are not buying encryption. You are buying an operator whose income does not depend on you.
For a plain ZIP either works. For a split, password-protected archive, only one does.

