Mirror Android Screen to Ubuntu With Scrcpy | Control Android Devices From Linux PC (Complete Guide)
Vložit
- čas přidán 29. 09. 2020
- Fastest way to display and control your phone from PC (Debian Sid, Ubuntu, and its based distros like Linux Mint, Pop! OS, Zorin, KDE Neon, Linux Lite, Elementaey OS, etc) without root access.
Full Guide To Install Android Emulator in Linux
• Install Genymotion on ...
Get Latest Android Studio via PPA Repository
• Install Android Studio...
Run Adobe Photoshop CC on Ubuntu With WINE
• Install Photoshop CC o...
Uninstall GNOME Extension With Manager App
• GNOME Shell Extension ...
How To Use USB Devices in Oracel VirtualBox
• How to Use USB Devices...
WHY CAST AND MIRROR AN ANDROID SCREEN?
A phone screen on a PC can help you in many ways e.g control Android phone or tablet using regular keyboard and mouse, respond a calls without getting up, play Android games on Linux, and if you are a developer, you can check app performance without install Android emulator for Linux.
Let say Genymotion, it has an issue since Google has started requiring app developers to update their apps with 64bit AArch64 support and some applications are only available in arm64.
Because of this, Genymotion doesn't support arm64-v8 applications, even with ARM translation tools.
HOW TO SCREEN MIRROR ANDROID TO UBUNTU
Well, there Vysor, which is basically a chrome extension we can use to put Android screen on the desktop. unfortunately, the free version doesn't support high quality mirroring, full-screen, wireless connection, and drag and drop files.
Thankfully, there's Scrcpy, a free open source application for displaying and controlling your Android device through USB connection or over TCP/IP (WiFi) that works under GNU/Linux, macOS and Microsoft Windows.
It focuses on lightness (native, displays only the device screen), performance (30~60fps), quality (1920×1080 or above), low latency (35~70ms), low startup time (~1 second to display the first image), non-intrusiveness (nothing is left installed on the device).
SCRCPY MAIN FEARURES
Scrcpy Main Features
- Control Android devices from a desktop
- Works over USB cable or WiFi connection
- Allows recording the device screen while mirroring
- Drag and drop to transfer files / install APK
- Limit the Android mirroring resolution
- Changing the video bit-rate
- Mirror multiple devices in the same time
- Full screen, borderless, always on top
- Device rotation is supported
- Show physical touches
- Drag and drop APK and files
- Pinch-to-zoom
- And many more
REQUIREMENTS
To use Scrcpy, your smartphone or tablet must be running Android 5.0 or later. Enable USB debugging is mandatory. To enable developer options in Android, just go to :
- Settings System
- About Phone
- Tap 7x the Build / Version Number
- Back to System Settings
- Developer Options
- Toggle USB Debugging
You also need to enable an additional option to control it using keyboard and mouse in some devices.
To install Scrcpy on Ubuntu, Linux Mint, and so on, you don't have to download scrcpy Linux, because the package is available on repository (Debian Sid and Ubuntu Focal Fossa or higher and derivatives).
Scrcpy doesn't provide a desktop shortcut by the default, but it doesn't mean we can't create it. Copy and paste this format to text editor :
[Desktop Entry]
Name=Scrcpy
Comment=Mirror Android Screen on Linux
Exec=scrcpy
Type=Application
Icon=/path/to/your/custom/icon
Categories=AudioVideo;Audio;Development;
Save as something.desktop on ~/.local/share/applications.
For icon section, it's better to copy it into ~/.local/share/icons (just create it if the folder doesn't exist), so you don't have to write the full path as described in the video.
For shortcut keys and more info, check www.linuxslaves.com/2019/08/h...
Consider subscribing to get latest how to install, configure, tips, use Linux and Free Libre Open Source Software (FLOSS), or if you like what you see. Thanks for watching and being here!.
Music by / ikson
Copyright belongs to its respective owner(s)
Visit : www.linuxslaves.com
Facebook : / linuxslaves
Twitter : / tiwosatriatama - Věda a technologie
Scrcpy 2.0 is released with audio support!
Audio forwarding is supported and enabled by default for devices with Android 11 and higher :
#1 For Android 12 or newer, it works out-of-the-box
#2 For Android 11, you'll need to ensure that the device screen is unlocked when starting scrcpy. A fake popup will briefly appear to make the system think that the shell app is in the foreground
This is what I need, I'm not regretting for subscribing you. Thank you!
You're welcome. Thanks a lot!
Thanks! I did everything as you explained, and it worked!
how to fix adb server version (32) doesn't match this client (39) killing
Thank you very much. Great content and 100% working even the shortcut.
Anytime. Glad it helped.
Thank you. Insted of manually file copy pasting use main menu to add icon shortcuts
Wow ! Thank you so much 🤗
Steps were well explained and
It perfectly worked out well
what about wireless, it supports usb and wireless, how to set it up for wireless?
Nice video. Love the Intro.
I'm not able control the device using desktop.
Im using ubuntu 18.04
Any solution please.
It just woks as a projector
It only shows what i do on my phone
Thank you! It really helps me.
Thank you. It worked first time but then the icon disappeared from the applications. Still works using the terminal. Not sure what has happened.
Thank you very much, everything is working perfectly..
Thank you. Seeing this video, how you operate with words on the screen and a electronic voice is cool. However I have to listen very closely to understand every word that is said. However I have now subscribed to your channel
Thank you for the extra tip of how to create a launcher.
It was a great help.
Thanks.
Anytime. Glad it helped!
thanks a lot..!!! from Ecuador in South América.. working even the shortcut.
Wow, I am thrilled, good work
Is the sound of the android device transfered aswell?
Hi ma'am... I am not able to operate with mouse... Cursor is not working on that window
I have problem my device was cast but i can't able access from pc plz give solution
Bravi. Grazie. Mi porgevo sempre un ? ogni volta che dovevo fare il passaggio tra il Terminale ed il
"fine lavoro". Grazie
i can move with my mouse but i cant able to use with keybord help plzzz
di pop os kendala ga bisa shortcut icon, karena permission file atau apanya gan?
It's not detecting my phone for some reason... I installed it correctly from the terminal so I'm sure it has the dependencies.
That was just awesome.
Thank you
Thank you too!
You prolly dont care but does any of you know of a tool to log back into an instagram account..?
I was stupid forgot my account password. I love any tricks you can give me
@Thomas Mitchell Instablaster :)
@Devon Nelson i really appreciate your reply. I found the site on google and Im in the hacking process now.
Looks like it's gonna take quite some time so I will get back to you later when my account password hopefully is recovered.
@Devon Nelson it worked and I actually got access to my account again. I'm so happy:D
Thank you so much, you saved my ass !
Now how do you connect wirelessly?
It does not work ! After installing and running, I get two warnings in the terminal. Is there no deb file ?
Snap packages never work on my Linux Mint 19.3.
For 18.04 (and its based)?. Sadly no afaik
But how can u play call of duty please can u make key mapping
Can it transfer voice too ?
Thanks, nice video!!
wow really thank you your the best
How to open this phone pls reply or give
link
Thanks for this!
I have done everything as you taught but mirroring his showing black screen of device what solution please
Fill a bug report. Make sure to read the FAQ and searched in existing issues
How do I use this wirelessly?
Real Thanks Bro !
How to connect android device on ubuntu(via usb cable)?Do I need to do any configuration? I'm not being able to connect my android to my ubuntu.
Should be plug and play
@@tiwosatriatama what should be plug and play?
Why I cant able to control my phone using desktop?
Hi thank you soo much for this. Can you also make a tutorial for installing of OBS studio?
Thank you. OBS project provides the installation instructions. Check out this obsproject.com/wiki/install-instructions#linux
@@tiwosatriatama thanks
I can't connect it to vivoy12
YOU SAVED MY LIFE!!!
it keeps on killing the server? what is wrong? :(
It is allow keymapping
i can't connect my phone using the usb cable and idk why :(
Maybe you have a charging only USB cable. You need a data one
Thanks for this
sad is that cant work on my note 2 with android 4 but thx anyway
you deserve millions subs
love your work man
Thank you!
Wlc bruh
I Says ERROR: "adb push" returned with value 1
What Can I do Somebody Help
Seems the adb fails to initialize the connection. Try to run adb devices
$ adb devices
List of devices attached
************ devices
************ devices
************ is your device id. Run scrcpy -s ************ if your device is detected. ps: you may need to kill and re-start the server
Same problem here, never been able to fix it, even after killing the server and restarting it.
Wih mantep bang, gw pengen maen cod mobile dengan layar besar wkwk. Eh atau pake keyboard sama mouse bisa gk bang pake screencopy ini?
Pakai Qtscrcpy udah ada mapping nya
It works with Ubuntu mate in raspberry pi
It's showing black screem
Which is your fav os
Ubuntu
Thank you :)
Gracias : )
how about guiscrcpy. python-qt based gui
Personally, I'll go with AppImage
thank you so much
Thanks
😀 Thank you
Thank you
bang kok aku gk bisa yah? 😭😭😭
udah di install softwarenya udh debugging jga tpi masih belum menemukan, masih kena error value 1 tolong solusinya
Pesan errornya apa?
@@tiwosatriatama gk tau tapi tertulis error value 1, tpi udah aman bang hehe, ternyata pengaturan usb nya musti milih transfer file gk bsa kalau mengisi daya hehe 😅😁👍
@@tiwosatriatama btw mantap bang, thx tutor nya akhirnya bisa live nimo hihi 👍👍
Oalah. Oke, terimakasih juga udah sharing
Great news thks
It's actually a guide, not news :p
But thanks for commenting
i shared my screen but no audio what i want to do pls explained as fast as possible
Use sndcpy to foward audio
@@tiwosatriatama how to do
Which linux version is yours
Ubuntu focal
How to sound
The sound only comes from the phone
Will it work on Bodhi linux?
It will
Can we do it using wifi without having to use usb cable?
Yes, over TCP/IP
@@tiwosatriatama How can we do it?
@@tiwosatriatama Make a video on it.
Here you go stackoverflow.com/questions/42364380/how-can-i-use-adb-over-wifi
@@tiwosatriatama it is saying that you have to connect usb cable at least once for the first time to configure. But my problem is my mobile does not get connected to my pc with usb cable.(it just gets charged)
how to get mobile sound from the pc
Use soundcopy github.com/rom1v/sndcpy
WE CAN PLAY GAMES
its ok but we need wireless connectivity
its more than enough man and wait for something better
@@ntxgamez5109 but the wifi connectivity is best bro
free fire game can mirror or not
plz tell
@@devasurya4409 yes?
ios?
Android
what about android 4.2.2 jellybean?
Scrcpy needs at least API 21 (Android 5.0)
@@tiwosatriatama yeah! you said that in video.. but i wanna know, which software is best and compatible with Android 4.2.2. please help me on that.
@@-indeed8285 Maybe with adb shell screenrecord?. Sorry I don't know
INFO: scrcpy 1.12.1
adb: error: failed to get feature set: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
ERROR: "adb push" returned with value 1
.
.
showing me this error
Try adb kill-server > adb start-server > re-run scrcpy. If you're using snap version : scrcpy.adb kill-server > scrcpy.adb start-server
And make sure to grant USB Debugging permissions on your phone as shown in the video
Thanks a lot
@@tiwosatriatama you are the best, thank you girl
Thanks Jorge!
so good on groovy gorrila
Cool!.
I use this to usr my old phone ehich has 3/4 of its screen black I am writing this messageon yhe first phone and I wanna do it bcs of nostalgia
you play call of duty can you sent me your ID
No. That wasn't me
Denunced for enganius content
Thanks
Thank you :)
You're welcome