The desktop half of scrcpy installs in a minute. The phone half is where most first sessions stall: Developer options are hidden, USB debugging needs approval, and several manufacturers add their own switches that quietly block mouse and keyboard input. This scrcpy Android setup guide covers everything that has to happen on the device, from the first hidden menu to the brand-specific settings that trip up even experienced users.
What your Android device needs
- Android 5.0 (API 21) or newer for video mirroring and control. Practically every phone in use today qualifies.
- Android 11 or newer for audio forwarding.
- Android 12 or newer for mirroring the camera instead of the screen.
- Developer options and USB debugging enabled.
- No root. Scrcpy works on standard, unmodified phones.
Tablets, foldables, Android TV boxes and many Android-based handhelds work the same way, provided they expose ADB. Chromebooks running Android apps and devices with heavily locked firmware are the main exceptions.
Unlocking Developer options
Developer options are hidden by default to protect casual users from settings that can affect performance and security. Unlocking them is harmless and reversible.
- Open Settings and go to About phone. On Samsung devices it is Settings › About phone › Software information.
- Find Build number. On Xiaomi and Redmi phones look for MIUI version or OS version instead; on some Oppo and Realme models it is under Version.
- Tap it seven times. After a few taps a toast counts down; enter your PIN if asked.
- A message confirms that you are now a developer. A new Developer options menu appears, usually under Settings › System, or at the bottom of the main Settings list on Samsung phones.
Turning on USB debugging
Inside Developer options, scroll to the Debugging section and switch on USB debugging. Confirm the warning. Now connect the phone to your computer with a data-capable cable and unlock the screen. A dialog titled “Allow USB debugging?” shows the computer's RSA key fingerprint.
- Tick Always allow from this computer so you are not asked every time.
- Tap Allow.
If the dialog never appears, check that the screen is unlocked, unplug and reconnect, and try switching the USB mode from “Charging only” to “File transfer” in the notification that appears when you connect. You can confirm the result on the computer with adb devices: the phone's serial should be followed by the word device, not unauthorized or offline.
Manufacturer settings that block input
A classic symptom: the screen mirrors perfectly but clicks and typing do nothing, or scrcpy exits with an error about injecting input. This is almost always a vendor security setting.
Xiaomi, Redmi and POCO
Enable USB debugging (Security settings) in Developer options. It sits just below the normal USB debugging switch and may require a Mi account sign-in and an active SIM card to toggle. Without it, scrcpy cannot inject input. Some models also need Install via USB enabled for drag-and-drop APK installation.
Oppo, Realme and OnePlus (ColorOS-based)
Look for Disable permission monitoring in Developer options and enable it, then reconnect. On some builds the option is named differently or is hidden until USB debugging has been on for a while.
Samsung
Samsung devices usually work out of the box. If USB debugging switches itself off after a reboot, check whether Auto Blocker (on One UI 6 and later) is enabled under Security and privacy; it blocks commands sent over USB and must be turned off while using scrcpy.
Huawei and Honor
Enable Allow ADB debugging in charge only mode if the phone keeps dropping into charging mode. Choose “Transfer files” when connecting.
Vivo and iQOO
Some models require USB debugging (security settings) or a similarly named option alongside standard USB debugging. If input fails, search Developer options for anything mentioning USB and security.
Wireless debugging on Android 11 and later
Android 11 introduced Wireless debugging, which lets you connect without ever plugging in a cable.
- In Developer options, enable Wireless debugging while connected to the same Wi-Fi as your computer.
- Tap the option name to open it, then choose Pair device with pairing code. The phone shows an IP address, a port and a six-digit code.
- On the computer run
adb pair IP:PORTwith those values and enter the code. - Back on the Wireless debugging screen, note the IP address and port shown under “IP address & Port” (this port differs from the pairing port), then run
adb connect IP:PORT. - Start scrcpy normally. If several devices are attached, use
scrcpy -eto select the TCP/IP one.
On older Android versions, connect once by USB and run scrcpy --tcpip; scrcpy enables TCP/IP mode, finds the phone's IP address and reconnects over Wi-Fi automatically.
Phone settings that improve the experience
- Stay awake in Developer options keeps the screen on while charging. Scrcpy's
--stay-awakeflag does the same for the session only, which is usually preferable. - Show taps displays a dot where you touch, useful for tutorials. Scrcpy can toggle this automatically with
--show-touches. - Disable animations by setting the three animation scales to 0.5x or off for a snappier feel when testing apps.
- Screen lock: scrcpy cannot bypass your PIN or fingerprint, and should not. Unlock the phone yourself, or type the PIN on the mirrored keyboard.
Battery and heat during long sessions
Encoding video uses the phone's hardware encoder, which is efficient, but hours of mirroring at high resolution still generate warmth. Over USB the phone charges, though fast-charging and encoding together can heat it further. To keep things cool, mirror at a lower resolution with -m 1280, cap frames with --max-fps 30, and turn the physical display off with --turn-screen-off (or Alt+O during a session). The phone keeps running and streaming while its own panel is dark, which saves a large share of power.
Security considerations
USB debugging is powerful: a computer you have authorized can install apps, read files and control the phone. Treat authorizations like keys.
- Only tap Allow on computers you own or fully trust.
- Use Revoke USB debugging authorizations in Developer options after using a shared or public computer.
- Switch off USB debugging when lending, selling or servicing the phone.
- Avoid public charging stations while debugging is on, or use a charge-only cable there.
Scrcpy itself adds no new risk beyond what ADB already allows, and its server stops the moment you close the window.
Checking the connection from the computer
Before blaming scrcpy, it helps to confirm that ADB itself can see and talk to the phone. Open a terminal in the scrcpy folder and run adb devices. There are four possible results. An empty list means the computer cannot see the phone at all: check the cable, the USB mode and, on Windows, the driver. unauthorized means the phone has not accepted this computer; unlock it and look for the RSA dialog. offline usually clears after reconnecting or running adb kill-server. Finally, device means everything is ready.
A second useful check is adb shell getprop ro.build.version.release, which prints the Android version. If this works, the debugging link is fully functional, and any remaining issue lies with scrcpy options or a manufacturer restriction on input. Knowing which side the problem is on cuts troubleshooting time dramatically, and it is exactly the information people will ask for if you seek help.
Keep in mind that only one program at a time can hold certain ADB resources. Companion apps from phone makers, Android Studio and other tools sometimes start their own adb server, so close them if connections behave strangely.
Quick answers
Will enabling Developer options void my warranty?
No. Developer options and USB debugging are standard Android features intended to be switched on and off. They do not unlock the bootloader or modify system software. Unlocking the bootloader or rooting is a different matter, and scrcpy needs neither.
Does scrcpy work on Android tablets and foldables?
Yes. Tablets mirror exactly like phones, and foldables switch resolution when unfolded; scrcpy adapts the window when the display size changes. If the stream looks distorted after folding, restart the session.
Can I hide the Developer options menu again?
Yes. Most phones have a switch at the top of Developer options that turns them off, which also disables USB debugging. Clearing the storage of the Settings app hides the menu completely on many devices.
Why does USB debugging turn itself off?
Some security features disable it after a reboot or after a period of inactivity, notably on Samsung devices with Auto Blocker enabled and on certain work-managed phones. Check security settings and any device-management profile installed by an employer.
Does scrcpy work on Android TV boxes?
Usually, yes. Enable Developer options on the TV by tapping the build number in its About screen, turn on network debugging, and connect with adb connect IP followed by scrcpy -e.
A quick checklist before every first connection
- Developer options visible.
- USB debugging on, plus any brand-specific security toggle.
- Data cable connected, screen unlocked.
- RSA prompt accepted with “Always allow”.
adb deviceslists the phone asdevice.
Tick those five and scrcpy will mirror the phone on the first try. For the desktop side, continue with our Windows guide or Mac guide.