Sample Header Ad - 728x90

Android Enthusiasts

Q&A for enthusiasts and power users of the Android operating system

Latest Questions

0 votes
0 answers
15 views
How do I solve an "undefined symbol" error with adb (trying to run scrcpy)
I'm running scrcpy for the first time. I have android-tools and scrcpy installed. When I try to launch scrcpy from the terminal, I get this error: ```scrcpy 3.3.1 Authorization required, but no authorization protocol specified XDG_RUNTIME_DIR (/run/user/0) is not owned by us (uid 1000), but by uid 0...
I'm running scrcpy for the first time. I have android-tools and scrcpy installed. When I try to launch scrcpy from the terminal, I get this error:
3.3.1 
Authorization required, but no authorization protocol specified

XDG_RUNTIME_DIR (/run/user/0) is not owned by us (uid 1000), but by uid 0! (This could e.g. happen if you try to connect to a non-root PulseAudio as a root user, over the native protocol. Don't do that.)
adb: symbol lookup error: adb: undefined symbol: libusb_get_ssplus_usb_device_capability_descriptor
ERROR: "adb start-server" returned with value 127
ERROR: Could not start adb server
ERROR: Server connection failed
I have tried uninstalling and reinstalling scrcpy and adb, rebooting. I haven't found anyone talking about the same issue. Any ideas? System Info Hardware Information: Hardware Model: Lenovo ThinkPad X1 Carbon 5th Memory: 16.0 GiB Processor: Intel® Core™ i7-7600U × 4 Graphics: Intel® HD Graphics 620 (KBL GT2) Disk Capacity: (null) Software Information: Firmware Version: N1MET57W (1.42 ) OS Name: Fedora Linux 41 (Workstation Edition) OS Build: (null) OS Type: 64-bit GNOME Version: 47 Windowing System: Wayland Kernel Version: Linux 6.12.9-200.fc41.x86_64
Oliver Cox (1 rep)
Jun 27, 2025, 12:17 AM
6 votes
1 answers
5263 views
Disable touch screen while using scrcpy
I have a broken-screen, non-rooted Xiaomi Redmi Note 6 Pro that looks like this ![][1] and I'm experiencing a LOT of ghost touches (and the digitizer's gone). I am using `scrcpy` to control it from my PC, so I want to disable the touchscreen because otherwise it interferes with my commands and does...
I have a broken-screen, non-rooted Xiaomi Redmi Note 6 Pro that looks like this Image and I'm experiencing a LOT of ghost touches (and the digitizer's gone). I am using scrcpy to control it from my PC, so I want to disable the touchscreen because otherwise it interferes with my commands and does what it wants. I don't want to detach the digitizer physically since I have no tools for opening my mobile and this one has to be opened from the screen, so I could damage it more. How can I do it (possibly with ADB)?
SerialSniper (173 rep)
Apr 22, 2020, 10:44 AM • Last activity: Feb 7, 2025, 11:04 PM
1 votes
0 answers
552 views
How to Enable USB Debugging (Security Settings) on a Poco X3 Pro with a Broken Screen for scrcpy and Backup My Data First?
I have a Poco X3 Pro with a broken screen (the screen doesn’t turn on, it’s just dimly lit in Fastboot and during boot) due to water damage, and I need to control it from my PC using [scrcpy][1]. The phone is unrooted, and I can’t access the UI due to the broken display. I can temporarily install [T...
I have a Poco X3 Pro with a broken screen (the screen doesn’t turn on, it’s just dimly lit in Fastboot and during boot) due to water damage, and I need to control it from my PC using scrcpy . The phone is unrooted, and I can’t access the UI due to the broken display. I can temporarily install TWRP (even though it reverts after reboot). I want to use scrcpy to control the phone, but to do so, I need to enable USB debugging (Security Settings), which I can’t do without access to the screen Here’s what I can do: - The phone can enter Fastboot mode, and I can temporarily install TWRP. - USB Debugging is already enabled. - USB Debugging (Security Settings) is disabled. (Xiaomi devices require this toggled on ) to be able to use scrcpy - I have no access to the screen or UI. Before making any changes, I’d like to back up all my important data (apps, system data, personal files) or do a full-phone backup as a precaution, in case the process is risky or anything goes wrong during the procedure.
rrrrrr (11 rep)
Dec 8, 2024, 07:03 AM • Last activity: Dec 8, 2024, 07:18 AM
2 votes
0 answers
273 views
How to disable secondary display overlay without disabling it?
I am using scrcpy to create a secondary display for streaming it to my PC. I have used the following adb shell commands (with help from GitHub comments): Create a secondary display: `settings put global overlay_display_devices "1920x1080/200"` Get the display id: `dumpsys display | grep -E 'Display...
I am using scrcpy to create a secondary display for streaming it to my PC. I have used the following adb shell commands (with help from GitHub comments): Create a secondary display: settings put global overlay_display_devices "1920x1080/200" Get the display id: dumpsys display | grep -E 'Display [0-9]{1,2}' Start scrcpy: scrcpy --display-id 21 Then I start a launcher activity in that display (I have installed a desktop-style launcher from the Play Store): adb shell am start -S -n com.protheme.launcher.winx2.launcher/com.centsol.w10launcher.activity.SplashActivity --display 21 With these steps, I have successfully started a launcher in the secondary display and launched apps in it separate from the primary display. But what hinders me from getting a true multi-display experience is the fact that the primary display shows an overlay of the secondary display. Secondary display: Secondary display Primary display: Primary display So my question is, how to disable the overlay but keep the secondary display enabled? So far I have browsed several questions, but the solution was to disable the secondary display entirely.
Puspam (642 rep)
Oct 27, 2024, 04:36 PM
0 votes
2 answers
2596 views
Mouse/keyboard not working with scrcpy, how to fix?
My Samsung Galaxy A24 phone used to work fine with my Windows 10 laptop via scrcpy.exe, on a USB-C cable. I did not change anything in the setup. Suddenly, now scrcpy shows the phone's screen fine on the laptop's screen, but mouse clicks have no effect, both left-click and right-click. How do I fix...
My Samsung Galaxy A24 phone used to work fine with my Windows 10 laptop via scrcpy.exe, on a USB-C cable. I did not change anything in the setup. Suddenly, now scrcpy shows the phone's screen fine on the laptop's screen, but mouse clicks have no effect, both left-click and right-click. How do I fix this? What I have tried is: - Restart the phone; - Pull out the USB cable cable and connect again. - Revoke USB debugging permissions; - Turn off and then on USB debugging. To no avail. Still, mouse clicks do nothing, whereas the phone's screen is shown fine, and directly touching the phone's own screen with the finger works as expected.
Alexander Gelbukh (186 rep)
Mar 5, 2024, 04:05 AM • Last activity: Oct 7, 2024, 09:38 AM
4 votes
1 answers
7057 views
What is scrcpy OTG mode and how does it work?
In scrcpy documentation an OTG mode is mentioned. How is that working without adb and what can we do with that?
In scrcpy documentation an OTG mode is mentioned. How is that working without adb and what can we do with that?
alecxs (4319 rep)
Apr 30, 2023, 09:11 PM • Last activity: May 18, 2024, 11:12 AM
0 votes
0 answers
132 views
Getting the private IP of the phone on my hotspot when it's connected to data
I want to use `scrcpy` remotely if I'm on mobile data, so I decided to turn on my mobile hotspot, connect to WiFi, and connect my laptop to it. Of course, that works. But if I disconnect from WiFi and connect to mobile data, there is no way for me to access my phone when I'm on the hotspot. Surely t...
I want to use scrcpy remotely if I'm on mobile data, so I decided to turn on my mobile hotspot, connect to WiFi, and connect my laptop to it. Of course, that works. But if I disconnect from WiFi and connect to mobile data, there is no way for me to access my phone when I'm on the hotspot. Surely the phone would give itself a private IP on the hotspot, right? If so, how do I find it?
WhatTheClown (101 rep)
May 14, 2024, 07:11 AM • Last activity: May 14, 2024, 07:20 AM
1 votes
0 answers
922 views
How to force Motorola's Ready For to show up on the phone screen?
### TL;DR Is there any way to force a Motorola phone to launch the desktop mode on the phone itself instead of relying on the Windows app? ### What Ready For is Ready For is Motorola's desktop mode (Like Samsung's Dex). It's not a separate launcher and there are three ways of connecting to it normal...
### TL;DR Is there any way to force a Motorola phone to launch the desktop mode on the phone itself instead of relying on the Windows app? ### What Ready For is Ready For is Motorola's desktop mode (Like Samsung's Dex). It's not a separate launcher and there are three ways of connecting to it normally: - Directly connecting to a monitor through HDMI - Connecting to a Windows PC through an App from Microsoft's app store - Connecting through WiFi to a compatible monitor or TV. ### Why I need this - My specific phone model (Edge 40) can't connect through HDMI (and I'm still mad about it). - My personal computer is Linux and they don't offer a Linux app. - My job computer is Windows, but Microsoft's app store is blocked in it. ### What I want to do instead If I could somehow force desktop mode on the phone itself, I could then use scrcpy to share the screen both on Windows and Linux to work with it. Thanks ### Edit I was able to install Ready For on my job computer through winget. Unfortunately, it seems Motorola's screen casting solution is not well ironed out yet and it's extremely slow. Good news though is that I was able to capture Ready For's desktop on scrcpy as it is detected as a hidden second display. This sort of resolves my ultimate objective (on Windows at least), but does not answer my question, so I'll keep it here instead of in a dedicate answer.
Guilherme Taffarel Bergamin (111 rep)
Jan 8, 2024, 01:48 PM • Last activity: Jan 10, 2024, 09:59 PM
1 votes
2 answers
1223 views
How to connect mouse to Android phone via ADB?
I want to play an Android game on my PC but since my phone can play it better, I've hooked it up to my PC using USB with scrcpy and a bluetooth keyboard, however unfortunately, I don't have a bluetooth mouse. I also want to charge my phone with my computer while playing the game. I use Mantis Mouse...
I want to play an Android game on my PC but since my phone can play it better, I've hooked it up to my PC using USB with scrcpy and a bluetooth keyboard, however unfortunately, I don't have a bluetooth mouse. I also want to charge my phone with my computer while playing the game. I use Mantis Mouse Pro to run the game with my keyboard but the scrcpy mouse doesn't appear natively so it can't be mapped. Maybe if possible, I'd even connect my USB PS2 Joystick. Therefore, I wish to forward the mouse input directly via adb to my phone instead of using scrcpy's Windows mouse. Exactly how you would connect a wi-fi adapter to an Ubuntu VM installed in Windows. How do I forward mouse input so it appears natively on my phone (with a black cursor)? Thanks in advance.
5vr (46 rep)
Sep 24, 2023, 01:30 PM • Last activity: Dec 22, 2023, 06:27 AM
1 votes
2 answers
6730 views
<scrcpy> adb server version () doesn't match this client ()
I'm getting very contradicting messages trying to run scrcpy wirelessly. $ adb connect 192.168.1.200:5555 connected to 192.168.1.200:5555 $ adb devices List of devices attached 192.168.1.200:5555 device $ scrcpy scrcpy 1.24 adb server version (41) doesn't match this client (39); killing... * daemon...
I'm getting very contradicting messages trying to run scrcpy wirelessly. $ adb connect 192.168.1.200:5555 connected to 192.168.1.200:5555 $ adb devices List of devices attached 192.168.1.200:5555 device $ scrcpy scrcpy 1.24 adb server version (41) doesn't match this client (39); killing... * daemon started successfully ERROR: Could not find any ADB device ERROR: Server connection failed $ scrcpy --tcpip scrcpy 1.24 ERROR: Could not find any ADB device ERROR: Server connection failed $ adb devices adb server version (39) doesn't match this client (41); killing... * daemon started successfully List of devices attached At some point I succeeded to connect and run scrcpy. I disconnected and tried to run it again but no luck this time. I can't wrap my head around what's causing this. $ whereis adb adb: /usr/bin/adb /usr/share/man/man1/adb.1.gz $ adb version Android Debug Bridge version 1.0.41 Version 28.0.2-debian Installed as /usr/lib/android-sdk/platform-tools/adb I connected via USB to reenable adb over TCP/IP. Device IP doesn't show up. Previously device ID and IP were listed. $ scrcpy --tcpip scrcpy 1.24 INFO: Switching device J6AXB763C036R6E to TCP/IP... ERROR: Device IP not found ERROR: Server connection failed $ adb tcpip 5555 adb server version (39) doesn't match this client (41); killing... * daemon started successfully restarting in TCP mode port: 5555 $ adb devices List of devices attached J6AXB763C036R6E device I tried again and failed. $ adb kill-server $ adb start-server * daemon not running; starting now at tcp:5037 * daemon started successfully $ adb devices List of devices attached $ adb connect 192.168.1.200:5555 connected to 192.168.1.200:5555 $ adb devices List of devices attached 192.168.1.200:5555 device $ scrcpy scrcpy 1.24 adb server version (41) doesn't match this client (39); killing... * daemon started successfully ERROR: Could not find any ADB device ERROR: Server connection failed
Pavel Schriber (43 rep)
Sep 25, 2022, 11:23 AM • Last activity: Jul 26, 2023, 02:10 PM
2 votes
0 answers
316 views
Copy Apps and Data From Phone With Dead Screen
My unrooted phone's LCD screen is dead but touchscreen still works. By using a series of stencils for where on-screen buttons and prompts would be, I am able to unlock the device and authorize ADB, though with considerable trial and error (~10 minutes to hit the "authorize" button). I am also able t...
My unrooted phone's LCD screen is dead but touchscreen still works. By using a series of stencils for where on-screen buttons and prompts would be, I am able to unlock the device and authorize ADB, though with considerable trial and error (~10 minutes to hit the "authorize" button). I am also able to use scrcpy to view the phone's screen. However, I want to set up a new Android phone (different model and manufacturer), ideally using the "Copy apps & data" feature on the new phone. The problem with this is that even the "transfer over WiFi" feature seems not to work with the active ADB session needed for scrcpy. My question is: what is the best way to transfer apps and data off of the old phone and onto the new one? I can get the files off fine, but I want app data, contacts, etc. I've looked over the methods others have suggested, and am unsure what would be the most reliable and efficient for my specific case. Would I be best served by one of the paid apps (install using scrcpy)? Reverse engineering the prompt locations for the wired transfer (no ADB needed)? Backing up via ADB (potentially more reliable)?
ulam (21 rep)
Mar 25, 2023, 05:19 PM
15 votes
1 answers
33562 views
Use scrcpy to connect to multiple smartphones
I just learned how to use scrcpy. I successfully turned on ADB on the Android and am able to scrcpy to it from my PC. Now, I want to connect to multiple smartphones. I notice it is a portable app, so is it a matter of duplicating multiple folders of scrcpy? Or can I connect to multiple phones from o...
I just learned how to use scrcpy. I successfully turned on ADB on the Android and am able to scrcpy to it from my PC. Now, I want to connect to multiple smartphones. I notice it is a portable app, so is it a matter of duplicating multiple folders of scrcpy? Or can I connect to multiple phones from one instance of scrcpy?
Sun (283 rep)
Feb 21, 2021, 06:13 PM • Last activity: Sep 12, 2022, 02:43 PM
1 votes
1 answers
453 views
scrcpy access problem with Linux
I have 2 Android devices: a tablet from Denver and a cell phone from Xiaomi (Redmi 9C), I installed scrcpy on my MX Linux pc, I have no problem to access tablet through `scrcpy`, but when I tried with Redmi 9C, I can only see it, the mouse does not work, did I miss some settings? The developer optio...
I have 2 Android devices: a tablet from Denver and a cell phone from Xiaomi (Redmi 9C), I installed scrcpy on my MX Linux pc, I have no problem to access tablet through scrcpy, but when I tried with Redmi 9C, I can only see it, the mouse does not work, did I miss some settings? The developer option is enabled (is there any other options inside developer options that I need to change/enable? I only enabled developer options). note: 1) I've tried enable file transfer when plugin the USB cable, seems to make no difference and adb device command can see this device. 2) adb version 1.0.41
michaelbr (61 rep)
Jul 30, 2022, 09:17 AM • Last activity: Aug 1, 2022, 11:28 AM
2 votes
1 answers
9903 views
How can I reduce lag/crashes when mirroring a screen with scrcpy?
Scrcpy lags or crashes when mirroring a screen. How can I reduce this? https://github.com/Genymobile/scrcpy
Scrcpy lags or crashes when mirroring a screen. How can I reduce this? https://github.com/Genymobile/scrcpy
Atomic Tripod (324 rep)
Jun 2, 2022, 05:07 PM • Last activity: Jul 20, 2022, 12:31 PM
1 votes
0 answers
172 views
Forward video stream to PC via USB-tethering
On my Android phone, I run AirReceiver which mirrors the screen of my iPad connected to it via mobile hotspot. In the app, I can choose the player (VLC, the default player, etc.) to play this video stream in. I would like to redirect this video stream from the phone to my Linux PC via USB-tethering....
On my Android phone, I run AirReceiver which mirrors the screen of my iPad connected to it via mobile hotspot. In the app, I can choose the player (VLC, the default player, etc.) to play this video stream in. I would like to redirect this video stream from the phone to my Linux PC via USB-tethering. Is there a way to achieve it? My current solution is to mirror the phone's screen with the video running in the foreground via scrcpy. However, the iPad's and the phone's screen have different dimensions, the resolution is lost and the video has to be cropped on the PC. I was thinking of using VLC direct somehow but I don't know how. Thanks for any tips!
Pavel (121 rep)
Oct 21, 2021, 04:58 PM
2 votes
1 answers
2567 views
adb shell svc power stayon multiple device
When there is multiple Android-devices connected with Linux computer (using Linux Mint 20.2 Cinnamon, which is based on appropriate Ubuntu 20.04 LTS version) and [scrcpy][1] v1.12 then how to keep multiple devices awake? When one device connected, then I used: adb shell svc power stayon true ... and...
When there is multiple Android-devices connected with Linux computer (using Linux Mint 20.2 Cinnamon, which is based on appropriate Ubuntu 20.04 LTS version) and scrcpy v1.12 then how to keep multiple devices awake? When one device connected, then I used: adb shell svc power stayon true ... and it worked. When multiple devices, then there will be an error message: error: more than one device/emulator Tried find a solution, but no luck so far. Tried to connect devices one at a time and then run, but it didn't work. Having one device using OxygenOS 9.0.6, which is based on Android appropriate version. Second device has LineageOS 18.1, which is based on Android 11. Using following commands to connect with multiple devices: scrcpy -s -m 1024 -S& scrcpy -s -S& The -S will turn of device screen, once it is connected. I would like to keep screen on at computer, while using scrcpy, but device screen should be turned off at the same time. Tried also GUI but it didn't help either. One device with Android 9 has screen always on, but another device with Android 11 will time out and also scrcpy window will turn off. I know, that there is a shortcut key CTRL+O at scrcpy, which helps to turn off device screen or using -S will do it immediately after connecting. Any idea, how to solve this?
zeroconf (31 rep)
Aug 9, 2021, 07:59 PM • Last activity: Aug 9, 2021, 11:35 PM
2 votes
1 answers
2795 views
Executing ADB commands while running scrcpy
I am using the program [scrcpy][1] in order for me to control my Android phone from my PC. It all works just fine with showing the Android screen, but I want to open an app from within the scrcpy console box. [![][2]][2] I have not seen anything on Github about a feature like this - just the ability...
I am using the program scrcpy in order for me to control my Android phone from my PC. It all works just fine with showing the Android screen, but I want to open an app from within the scrcpy console box. Image I have not seen anything on Github about a feature like this - just the ability to add or remove an app. Am I overlooking something?
StealthRT (143 rep)
Apr 11, 2021, 12:03 AM • Last activity: May 23, 2021, 07:55 AM
Showing page 1 of 17 total questions