Monday, December 7, 2015

How To Mirror Android Screen to Your Linux Dekstop

Displays Android Device Screen to Linux Laptop - Sometimes we need / want to see our Android Smartphone's screen to our Linux PC. There are so many of reasons we need mirroring android device screen : you might be a developer in middle of coding and want to check your app without having to constantly reach for your phone, want to share any pictures on a big screen without uploading them, or need to give a presentation quickly while the projector is connected to a PC.

It's very easy if you an Windows or Mac user. You can use Mobizen, AirDroid, or PC Link for ASUS phone's. Before this post, Linuxslaves published an articles AirDroid : Easily Access Android Phone From Ubuntu Linux and Feem Alternative to Shareit For Ubuntu Linux and Derivatives System. But the main problem is it doesn't support mirror android screen onto Linux system. 

Then how about Linux? Can I mirror my Android device on my Linux desktop? Yes you can do that wihout root! This method no requires installation on your phone. The easiest way is using Vysor Chrome App. Vysor lets you view and control your Android on your computer easy peasy.
  • This tutorial works on Windows, Linux, or Mac.
  • The USB cable makes your screen reflect in almost real-time, as opposed to wireless solutions where there is distinct lag. Vysor still has a slight lag, but it’s much faster than working off wireless.
  • You can interact with your phone’s screen through your computer.

How To Mirror Android Screen to Your Linux Dekstop

So that's pic is result of this tutorial. Now we go things must prepare and the steps!

Things You Need

1. An Android smartphone or Tablet with USB debugging enabled
  1. Go Setting
  2. Enter About Phone
  3. Choose Software Information
  4. Tap 7x on Build Number
  5. Back to Setting
  6. Choose Developer Option
  7. Turn it ON

2. Google Chrome
You can download this browser from this page Download Google Chrome for Linux. If you facing an error Google Chrome can not run be as root read this post How to fix Google Chrome and Chromium Can not run be as root.

3. Vysor Chrome app

4. Android USB cable to connect your phone to Linux PC

Share Your Android Screen to Linux Notebook

After things you need are cleared, now we go for main post for the guide.

Step 1 - Open Google Chrome

Step 2 - Install Vysor Chrome App from  Vysor Chrome App

Mirror Android Screen to Your Linux Laptop

Step 3 - Connect your android phone to Linux using USB cable

Step 4 - Open Vysor. You can from Chrome App Launcher

How To Mirror Android Screen to Your Linux Dekstop Notebook

Step 5 - Click Find Devices and select your phone

How To Mirror Android Screen to Your Linux Notebook

Step 6 - You'll see your Android Device. See the the picture below :

Device found on Vysor Linux

Step 7 - Go your phone, a window with Allow USB debugging will prompted. Tap OK to continue.

How To Mirror Android Screen to Your Linux OS

You can set your phone to connect automatically every time the USB cable is plugged into it

Step 8 - Wait a secs untill connected

Mirror Android Screen to Ubuntu Linux

Cheers! Finally you are ready to go, we can see Android screen on your computer. Use your mouse / mouse pad and also keyboard too.

Vysor Change Log
Fix window size bug with reopening a Vysor window after the soft keys hidden
Fix window resizing bug
Add softkeys. You can toggle visibility by pressing the keyboard button on the top.
New menu buttons: screenshot, volume up/down, rotate screen, power
Fix rotation issues on pre-Kitkat devices
Fix bug where Vysor ADB Server was potentially sending more data than is legally allowed by the protocol
This fixed the forever-spinner issue when installing the Vysor APK
Fix bugs in API level 16 and 17
Added support for FireTV and FireTV Stick
Initial support for API level 16 (Jellybean) devices
Improved network code
Fix bug where Vysor would automatically connect on launch or reload
Improve Vysor adb authentication
More logging
Show unauthorized devices in list (when using adb binary)
Add a debug setting to not use the Fetch APIs
Make the title bar fade out after 2 seconds. Will reappear on window refocus
More effecient screen capturing surface
Watch and warn for h264 high/main profiles being used. This happens with custom ROMs.
Fix potential race on connect
Do not autoconnect to emulators
Prevent window resizing from going beyond screen bounds
Force H264 baseline and profile level 4
Show warning if screenrecord is not supported
Fix Vysor share
Handle potential race on connect
Do not autoconnect to emulators
Prevent window resizing from going beyond screen bounds
Force H264 baseline and profile level 4
Show warning if screenrecord is not supported
Fix excessive reconnection occurring during rotation
Add thin title bar showing the Vysor serial number in the mirror window
Fix some issues with Vysor being blank or forever spinning
Add more logging
Add troubleshooting links
Fix crash that happens if Vysor list is closed
Better suggestions and info
Fix Windows 10 Chrome issues by requiring the native Universal ADB Drivers for adb server startup
Security fix: protect keyboard and screen access
Add a backup TURN server
Show notification and reload option if Android USB device failed to open
Attempt to connect multiple times on window open in case vysor is slow
Fix race hang condition on vysor connect
Fix bug where tips were not showing on first launch
Add mouse shortcut tips
Better error logging and graceful handling
Implement copy and paste
Retain user preferences when a Vysor window is resized and later reopened or rotated
Only show update notifications in response to user interaction
Watch for media_server hang on Android, as this causes the dreaded "black screen"
Notify on APK installation errors (older SDK, etc)
Fix potential bug in USB stack
Update check crash fix
Analytics crash fix

New Youtube link for USB Debugging tutorial
Add update checking
Add analytics to collect vendor id and product id of usb devices to ensure UniversalADBDriver stays up to date
Notification for USB device connection failure
Show a desktop notification if Chrome WebGL is disabled
Show a desktop notification when USB Debugging authorization is needed on the phone
Fix black or loading screens when attempting to connect to rooted devices.
Vysor now unshares devices upon disconnect, whereas before it would unshare when Vysor was closed
Note that ADB needs to be enabled.
Package new APK that has better instructions and graphics.
Fix bug where Vysor would not reconnect after disconnect
Point to different Vysor share url so SSL is supported
Fix bug with long running Vysor share connections
Fix bug where app_process is left hanging on multiple Vysor opens
Remove debug code that was always forcing use of the TURN server
Teardown fixes
Fix Vysor share issues associated with packet loss
Fix race condition when opening a Vysor window
Fix redundant connection multiplexing in the Vysor Share protocol
Teardown fixes for Vysor Share
Performance improvements in Vysor share
Fix bug with Vysor Share not starting adb server as necessary.
Use random port per Vysor Share device.
Imrove the Vysor Share protocol to not be latency bound.
Right click goes Back
Middle click goes Home
Fix Windows driver link
Initial implementation of Vysor Share. With this you can:
  - Share your adb devices via a hyperlink to developers.
  - Setup a test farm with a dozen devices, and use them remotely for development (with full adb).
Fix issues around multiple devices connected to vysor at the same time
Fix issues with key events
Allow permanent dismissal of Tips window
Show notification if the Vysor ADB server receives an unknown adb client command
Remove need to click the device in the list after selecting the USB device
Android viewer will open immediately upon click, show a loading gif
Fix bug where disconnected window would not reconnect automatically if the option was disabled
Fix adb install race condition
Enforce minimum Chrome version of 42, requires fetch API
Fix fallback adb server
Make the device windows resizable
Don't start up the adb server unnecessarily
Wakeup device on connect
Handle disconnect/reconnect of devices
Cleaner UI, better UX
Fix persistent graininess
Handle device rotation
Perf improvements
Turn screen on on window focus
Make connecting automatically optional

So that's all I can write about mirroring Android device screen into Linux Dekstop. I hope this post be the answer for your question and can be your solution. Hope too you've enjoyed reading this tutorial as much I’ve enjoyed writing it. Thanks for visiting us.

Related Post

No comments:

Post a Comment