[Android General] jackninja1:
Hello,

In this tutorial I will try to explain to you how to use your mobile device via TeamViewer when the (touch) screen is broken.

I made this tutorial because I couldnt find a tutorial on the internet; I think I am the first one to use this method.

This tutorial is (for now) only usefull for Samsung devices with android 2.3.3 and higher.

For this tutorial you will need:

-Installed Android SDK with ADB and a monitor.bat

-A mobile phone that is connected to your pc,that responds to ADB commands and that is connected to Wifi (the phone will probebly do this out of his own when you turn it on).

-A PC with Windows for CMD (this tutorial might work on Linux but i am not sure, havent tested anything).

-TeamViewer apk (downloadlink: http://www.teamviewer.com/download/TeamViewerQS_Samsung.apk )

-TeamViewer for PC installed (google it, its free)

Step 1) Start Cmd and go to your ADB directory. This directory differs for everyone but it would look something like this:

cd C:\Users\User\android-sdks\platform-tools

. This command will take you to your ADB directory.

Step 2 Now we are going to install TeamViewer QuickSupport (TVQS) on the device. This will allow us to later connect the device with TeamViewer on the PC so that we can use the mobile device. We will install TVQS on the device with an ADB command. The command goes like this:

adb install <place where the TVQS apk is saved>

. So it should look something like this:

adb install C:\Users\User\Documents\TeamViewerQS_Samsung.apk

If everything goes well the command prompt will say that the app has been installed.

Step 3 Now comes the part where I am most proud of: we are going to launch TVQS via ADB. This was a pain in the bottom to find out on how to do this because i needed to find out what the package names of the app where to launch it. Lucky for you I have found it out so you dont have to go thru this painfull procces. Make shure that before you launch the app your phone is on (ofcourse) and try to get in unlocked etc. This might be hard since you cant see a thing but press unlock a couple of times and hit the menu button so that you are in your launcher. Wen you think you are there you need to type in the following:

adb shell am start -a android.intent.action.MAIN -n com.teamviewer.quicksupport.market.samsung/com.teamviewer.incomingremotecontrollib.activity.MainActivity

If you do this correct the command prompt will respond with the following: Starting: Intent { act=android.intent.action.MAIN cmp=xxxx }.

When you see this the app is launched. Try not to touch your phone because then you might close the app.

Step 4 Getting the id from TVQS to connect to the device. This is also a tough one. What you need to do is start the monitor.bat, then the debug monitor will open and you can make screenshots from your device to see your id. You open the debug monitor by first typing in cmd:

cd C:\Users\User\android-sdks\tools

or something like this to get in to the directory of your monitor.bat. When you are in that directory you are going to launch the monitor.bat by just typing in the prompt: monitor.bat. This will launch the debug monitor. A screen will popup that looks something like this:

Then press the screenshot button to make a screenshot of your device (like is shown in the picture). When you have done that it should return something like this:

Write this ID down or something because its very important.

Step 5 Connecting to the device with TeamViewer on pc. If you are famillair with TeamViewer you will know how to connect to the device with its ID, if you dont know on how to do it than follow along. First start TeamViewer for pc. You will see on the right side a textbox with above that the text: partners id. Put the ID from your device in that textbox and hit connect with partner. Make sure Remote Controll is checked.

If everything goes well a yellow light thingy will start to burn on the bottom left of TV pc. It will say vertify.

Step 6 The final step. Now get something that will control your phone, in my case its the s-pen. Then just tap on the device display to accept the connection. The button for accept is on the right side of the display in the middle. Ones you have tapped on the right place a Popup will show up showing your device display. You can now controll your mobile with your mouse and do what you want :D

When nothing is happening you probebly arent connected to wifi or the app closed. In that case redo step 3.

So this is my tutorial. If you have any questions please ask. I know I killed the English Grammar so please forgive me and help me correct things.

Also please share since a lot of people have problems like this. If you think some parts of the tutorial arent clear and easy then please tell me and I will do what i can to fix it.

I have nothing to do with TeamViewer. If you want to have the app running on a non samsung device go to there site, they have a petition for that.