Mirror Android Screen to Ubuntu With Scrcpy | Control Android Devices From Linux PC (Complete Guide)

Sdílet
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

Komentáře • 140

  • @tiwosatriatama
    @tiwosatriatama  Před rokem +1

    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

  • @irksomewolf
    @irksomewolf Před 3 lety +6

    This is what I need, I'm not regretting for subscribing you. Thank you!

  • @alejandroromero1040
    @alejandroromero1040 Před 3 lety +3

    Thanks! I did everything as you explained, and it worked!

  • @roninroot3000
    @roninroot3000 Před 3 lety +5

    how to fix adb server version (32) doesn't match this client (39) killing

  • @castertroy07
    @castertroy07 Před 3 lety +7

    Thank you very much. Great content and 100% working even the shortcut.

  • @swapnilsaindane2697
    @swapnilsaindane2697 Před 3 lety +2

    Thank you. Insted of manually file copy pasting use main menu to add icon shortcuts

  • @joytv4365
    @joytv4365 Před rokem

    Wow ! Thank you so much 🤗
    Steps were well explained and
    It perfectly worked out well

  • @deandee8082
    @deandee8082 Před 3 lety +2

    what about wireless, it supports usb and wireless, how to set it up for wireless?

  • @linuxstuff73
    @linuxstuff73 Před rokem

    Nice video. Love the Intro.

  • @suryajithpc7005
    @suryajithpc7005 Před 3 lety +1

    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

  • @OblakAnimation
    @OblakAnimation Před rokem

    Thank you! It really helps me.

  • @CharlesCollins
    @CharlesCollins Před rokem

    Thank you. It worked first time but then the icon disappeared from the applications. Still works using the terminal. Not sure what has happened.

  • @royhyde8842
    @royhyde8842 Před 3 lety +1

    Thank you very much, everything is working perfectly..

  • @truthreigns7
    @truthreigns7 Před rokem

    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

  • @jefersonm8283
    @jefersonm8283 Před 3 lety +1

    Thank you for the extra tip of how to create a launcher.

  • @maheadihassan1440
    @maheadihassan1440 Před 3 lety +2

    It was a great help.
    Thanks.

  • @williamch5824
    @williamch5824 Před 2 lety

    thanks a lot..!!! from Ecuador in South América.. working even the shortcut.

  • @akuoko_konadu
    @akuoko_konadu Před 3 lety

    Wow, I am thrilled, good work

  • @smorty3573
    @smorty3573 Před 2 lety

    Is the sound of the android device transfered aswell?

  • @_aka_unknown
    @_aka_unknown Před 2 lety

    Hi ma'am... I am not able to operate with mouse... Cursor is not working on that window

  • @pkschilling3323
    @pkschilling3323 Před 2 lety

    I have problem my device was cast but i can't able access from pc plz give solution

  • @brunomasutti5059
    @brunomasutti5059 Před rokem +1

    Bravi. Grazie. Mi porgevo sempre un ? ogni volta che dovevo fare il passaggio tra il Terminale ed il
    "fine lavoro". Grazie

  • @kalpeshpatil1146
    @kalpeshpatil1146 Před 2 lety

    i can move with my mouse but i cant able to use with keybord help plzzz

  • @meccapetra
    @meccapetra Před 2 lety

    di pop os kendala ga bisa shortcut icon, karena permission file atau apanya gan?

  • @leonoliveira8652
    @leonoliveira8652 Před 2 lety

    It's not detecting my phone for some reason... I installed it correctly from the terminal so I'm sure it has the dependencies.

  • @MrBen-vs6wl
    @MrBen-vs6wl Před 3 lety +5

    That was just awesome.
    Thank you

    • @tiwosatriatama
      @tiwosatriatama  Před 3 lety +1

      Thank you too!

    • @thomasmitchell7314
      @thomasmitchell7314 Před 2 lety

      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

    • @devonnelson9708
      @devonnelson9708 Před 2 lety

      @Thomas Mitchell Instablaster :)

    • @thomasmitchell7314
      @thomasmitchell7314 Před 2 lety

      @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.

    • @thomasmitchell7314
      @thomasmitchell7314 Před 2 lety

      @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 !

  • @itz-electro
    @itz-electro Před 2 lety

    Now how do you connect wirelessly?

  • @kbg5294
    @kbg5294 Před 2 lety +1

    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.

  • @Kdislive629
    @Kdislive629 Před 3 lety +1

    But how can u play call of duty please can u make key mapping

  • @Kumarsrinivasan3
    @Kumarsrinivasan3 Před 2 lety

    Can it transfer voice too ?

  • @ForaDaBolha071
    @ForaDaBolha071 Před 3 lety

    Thanks, nice video!!

  • @thimirawishvajith3935

    wow really thank you your the best

  • @asheeshbajaj3427
    @asheeshbajaj3427 Před 3 lety

    How to open this phone pls reply or give
    link

  • @syntehk
    @syntehk Před 2 lety

    Thanks for this!

  • @yuganshshukla474
    @yuganshshukla474 Před 2 lety

    I have done everything as you taught but mirroring his showing black screen of device what solution please

    • @tiwosatriatama
      @tiwosatriatama  Před 2 lety +1

      Fill a bug report. Make sure to read the FAQ and searched in existing issues

  • @kingmorgz7929
    @kingmorgz7929 Před 2 lety

    How do I use this wirelessly?

  • @ShikariKrunker
    @ShikariKrunker Před 3 lety

    Real Thanks Bro !

  • @techwithshudarsan559
    @techwithshudarsan559 Před 3 lety +1

    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.

  • @jaysontadayca8838
    @jaysontadayca8838 Před 3 lety

    Why I cant able to control my phone using desktop?

  • @sprinter5901
    @sprinter5901 Před 2 lety

    Hi thank you soo much for this. Can you also make a tutorial for installing of OBS studio?

    • @tiwosatriatama
      @tiwosatriatama  Před 2 lety

      Thank you. OBS project provides the installation instructions. Check out this obsproject.com/wiki/install-instructions#linux

    • @sprinter5901
      @sprinter5901 Před 2 lety

      @@tiwosatriatama thanks

  • @__IAMPRO
    @__IAMPRO Před 3 lety

    I can't connect it to vivoy12

  • @osamasidahmed3628
    @osamasidahmed3628 Před 2 lety

    YOU SAVED MY LIFE!!!

  • @veiiblckz
    @veiiblckz Před 5 měsíci

    it keeps on killing the server? what is wrong? :(

  • @divyanshsharma8753
    @divyanshsharma8753 Před 3 lety

    It is allow keymapping

  • @bartekjagielski3419
    @bartekjagielski3419 Před 3 lety +1

    i can't connect my phone using the usb cable and idk why :(

    • @tiwosatriatama
      @tiwosatriatama  Před 3 lety +1

      Maybe you have a charging only USB cable. You need a data one

  • @rodrickngonyoku5042
    @rodrickngonyoku5042 Před 2 lety

    Thanks for this

  • @zilongtan
    @zilongtan Před 3 lety

    sad is that cant work on my note 2 with android 4 but thx anyway

  • @nevermind2079
    @nevermind2079 Před 3 lety +1

    you deserve millions subs

  • @tarangabaral
    @tarangabaral Před 3 lety +1

    I Says ERROR: "adb push" returned with value 1
    What Can I do Somebody Help

    • @tiwosatriatama
      @tiwosatriatama  Před 3 lety +1

      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

    • @horikatanifuji5038
      @horikatanifuji5038 Před 3 lety

      Same problem here, never been able to fix it, even after killing the server and restarting it.

  • @yusataslim3666
    @yusataslim3666 Před 3 lety

    Wih mantep bang, gw pengen maen cod mobile dengan layar besar wkwk. Eh atau pake keyboard sama mouse bisa gk bang pake screencopy ini?

  • @NoName-fz6ft
    @NoName-fz6ft Před 2 lety +1

    It works with Ubuntu mate in raspberry pi

  • @RjkGaming
    @RjkGaming Před 2 lety

    It's showing black screem

  • @Amit-hb9ex
    @Amit-hb9ex Před 2 lety

    Which is your fav os

  • @corvuSS_1
    @corvuSS_1 Před 3 lety

    Thank you :)

  • @juantito3606
    @juantito3606 Před rokem

    Gracias : )

  • @petersq5532
    @petersq5532 Před 3 lety

    how about guiscrcpy. python-qt based gui

  • @abdullohmadjidov9604
    @abdullohmadjidov9604 Před 2 lety

    thank you so much

  • @iasedits7139
    @iasedits7139 Před 2 lety

    Thanks

  • @bijukar7151
    @bijukar7151 Před 3 lety

    😀 Thank you

  • @yeokdo
    @yeokdo Před 3 lety

    Thank you

  • @hikigayaararagi7123
    @hikigayaararagi7123 Před 2 lety +1

    bang kok aku gk bisa yah? 😭😭😭
    udah di install softwarenya udh debugging jga tpi masih belum menemukan, masih kena error value 1 tolong solusinya

    • @tiwosatriatama
      @tiwosatriatama  Před 2 lety

      Pesan errornya apa?

    • @hikigayaararagi7123
      @hikigayaararagi7123 Před 2 lety

      @@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 😅😁👍

    • @hikigayaararagi7123
      @hikigayaararagi7123 Před 2 lety

      @@tiwosatriatama btw mantap bang, thx tutor nya akhirnya bisa live nimo hihi 👍👍

    • @tiwosatriatama
      @tiwosatriatama  Před 2 lety

      Oalah. Oke, terimakasih juga udah sharing

  • @atefwadia5596
    @atefwadia5596 Před 3 lety +1

    Great news thks

    • @tiwosatriatama
      @tiwosatriatama  Před 3 lety +1

      It's actually a guide, not news :p
      But thanks for commenting

  • @zainabatp7232
    @zainabatp7232 Před 3 lety

    i shared my screen but no audio what i want to do pls explained as fast as possible

  • @asuszenfonemax1106
    @asuszenfonemax1106 Před 2 lety

    Which linux version is yours

  • @suthiksanramjs1165
    @suthiksanramjs1165 Před 3 lety

    How to sound

  • @OblivionZXZ
    @OblivionZXZ Před 2 lety

    Will it work on Bodhi linux?

  • @techwithshudarsan559
    @techwithshudarsan559 Před 3 lety

    Can we do it using wifi without having to use usb cable?

    • @tiwosatriatama
      @tiwosatriatama  Před 3 lety +1

      Yes, over TCP/IP

    • @techwithshudarsan559
      @techwithshudarsan559 Před 3 lety

      @@tiwosatriatama How can we do it?

    • @techwithshudarsan559
      @techwithshudarsan559 Před 3 lety

      @@tiwosatriatama Make a video on it.

    • @tiwosatriatama
      @tiwosatriatama  Před 3 lety +1

      Here you go stackoverflow.com/questions/42364380/how-can-i-use-adb-over-wifi

    • @techwithshudarsan559
      @techwithshudarsan559 Před 3 lety

      @@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)

  • @NitinKumar-is2db
    @NitinKumar-is2db Před 3 lety

    how to get mobile sound from the pc

  • @drrobinfan3794
    @drrobinfan3794 Před 3 lety +1

    WE CAN PLAY GAMES

  • @aP-jj8ru
    @aP-jj8ru Před 3 lety +5

    its ok but we need wireless connectivity

    • @ntxgamez5109
      @ntxgamez5109 Před 3 lety +2

      its more than enough man and wait for something better

    • @aP-jj8ru
      @aP-jj8ru Před 3 lety +3

      @@ntxgamez5109 but the wifi connectivity is best bro

  • @devasurya4409
    @devasurya4409 Před 3 lety

    free fire game can mirror or not

  • @yvng4697
    @yvng4697 Před 3 lety

    ios?

  • @-indeed8285
    @-indeed8285 Před 3 lety

    what about android 4.2.2 jellybean?

    • @tiwosatriatama
      @tiwosatriatama  Před 3 lety +1

      Scrcpy needs at least API 21 (Android 5.0)

    • @-indeed8285
      @-indeed8285 Před 3 lety

      @@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.

    • @tiwosatriatama
      @tiwosatriatama  Před 3 lety +1

      @@-indeed8285 Maybe with adb shell screenrecord?. Sorry I don't know

  • @Pudin788
    @Pudin788 Před 3 lety

    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

    • @tiwosatriatama
      @tiwosatriatama  Před 3 lety +6

      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

    • @Pudin788
      @Pudin788 Před 3 lety +1

      Thanks a lot

    • @hermeneuticanautica7363
      @hermeneuticanautica7363 Před 3 lety +2

      @@tiwosatriatama you are the best, thank you girl

    • @tiwosatriatama
      @tiwosatriatama  Před 3 lety +2

      Thanks Jorge!

  • @user-zn2fe3wr4x
    @user-zn2fe3wr4x Před 3 lety

    so good on groovy gorrila

  • @usersomeone58
    @usersomeone58 Před rokem

    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

  • @rushi_286
    @rushi_286 Před 3 lety

    you play call of duty can you sent me your ID

  • @gabrielamacellaro3972
    @gabrielamacellaro3972 Před 2 lety

    Denunced for enganius content

  • @ProGamer2017
    @ProGamer2017 Před 2 lety

    Thanks

  • @kapilc
    @kapilc Před 3 lety

    Thank you :)