How to remotely control my Android?

Droid VNC Server

Allows you to remote control your android within your computer.

Note: Your phone must be ROOTED!

Note: Will not work on Tegra3 Devices

On your android Phone:

  • Install Droid VNC Server from playstore.

  • Open the app and click on START.

  • It shows the IP-address and port number. Please note it down.

    enter image description here

On your Ubuntu PC:

  • Install xtightvncviewer by running the below command:

    sudo apt-get install xtightvncviewer
    
  • After installing xtightvncviewer run the below command to view your phone's screen:

    vncviewer xxx.xx.xx.xx:xxxx
    

    xxx.xx.xx.xx:xxxx - already noted ipaddress:port

    enter image description here

WebKey

Using this application you can control your phone from any browser.

Note: Your phone must be ROOTED!

On your android Phone:

  • Install WebKey app from Play store.

  • Open the WebKey app and select start service.

  • Note down the https link generated.

    enter image description here

  • On that same application, go to settings->User settings->Click on Create new user to create a new user with login credentials.

    enter image description here

On your Ubuntu PC:

  • Open any browser. I prefer Firefox. Then paste the noted link on the address bar. It display like connection is not secure. Trust the connection and allow it to load.

  • After that a page will open and ask you to give the username and password. Login with the same username and password.

    enter image description here

  • After loged into your account, you can view your phone and operate your android phone from there.

    enter image description here

Team Viewer

Note: Will not work on all Galaxy devices

  • Install teamviewer on both Ubuntu PC and android phone to control your phone from PC.
  • How to install Teamviewer on an 64 bit Ubuntu PC.

A solution I found recently is scrcpy (scrcpy github page). It lets your pc connect to your phone and you can control your phone through it. It works through adb without any need to install an apk on your android phone beforehand. It streams your phone's screen to your pc, taking into account the rotation, and it allows to send clicks and touches with the mouse and write in text fields directly through your pc's keyboard, although you can only write ascii characters that way.

Since this only needs adb, it works as long as you achieve an adb connection with your phone, so that includes USB cable and Wifi connection for truly remote control. I don't know how you could do it over the network without being on the same LAN, though.


If you would like something simple (i.e. Your phone's screen broke like me...) then you can use AndroidScreencast. Take the jar from here and make sure you have adb working properly then java -jar androidscreencast-*.jar. Lastly, connect your device through the usb and start the client.

Tags:

Android

Rdp