6

I have an Android device which I don't have physical access to. But I can access it through ADB commands. I have Teamviewer host installed on it. But unfortunately it's not running. How can I start it using ADB commands? Below is the Teamviwer app that I am using.

https://play.google.com/store/apps/details?id=com.teamviewer.host.samsung&hl=en

Arya
  • 243
  • 1
  • 3
  • 10

2 Answers2

9

You can launch apps with the am start command. Or if you don't know its launcher activity, use the monkey command.

Try

adb shell

monkey -p your.package.name -v 500

where package name is the name of the app package – making the command, in your case:

monkey -p com.teamviewer.host.samsung -v 500
Edward J
  • 13
  • 4
esQmo_
  • 3,237
  • 2
  • 13
  • 24
0

A very simple solution to access a device could be SCRCPY https://github.com/Genymobile/scrcpy

It runs over ADB and mirrors your device on your PC. You can click on all the elements on the devices screen and also type with your PC keyboard.

a.i.00
  • 1