yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] ogonzuhnina:
please be patient, touchscreen control is in the works, hopefully will be published when kjanku1 includes latest commits ;D

ref ADB, the app uses ADB interface to communicate, if you don't mind translating from russian with google translate, the guy here shows how to do all the stuff with broken screen.

http://bashny.net/admin/2014/04/26/...-telefon-s-posleduyuschim-raspoznavaniem.html
[Android Software/Hacking General [Developers Only]] k.janku1:
Just uploaded the new version with mouse support. :)
[Android Software/Hacking General [Developers Only]] AAbounegm:
Thanks,

I downloaded it, but I still can't control the device. It just moves the window around like the previous version. How do I control it?
[Android Software/Hacking General [Developers Only]] k.janku1:
Click the "gestures" button and move the transparent window over the "phone" window
[Android Software/Hacking General [Developers Only]] Crichton333:
I was just looking for something like this the other day using some similar sofware to control my iPhone. Now can do the same with Android. Nice.
[Android Software/Hacking General [Developers Only]] ternes3:
I have create a linux port of this software.

[IMG="screenshot"]https://d17a0bhirp6vrt.cloudfront.net/img/touchcontrol.png[/IMG]

Source Code:

reBT-SOFT: https://git.rebtsoft.de/open-source/touchcontrol-for-android/tree/master

GitHub: https://github.com/ternes3/TouchControl-for-Android

Binary:

MEGA: https://mega.co.nz/#!0051URJA!O7RF_JNQcZ0-s13lEEJtCd3_Tv4pAznX9duy97Ru6aQ

cheers

ternes3
[Android Software/Hacking General [Developers Only]] k.janku1:
Awesome job! Thanks.
[Android Software/Hacking General [Developers Only]] keegan0103:
I have adb set up and running as usual, I can see and push commands to my phone, which has debugging and root enabled.

Galaxy s4 (ATT model, rooted and unlocked)

Download app, open as instructed

"Ultimate touchscreen control for android" opens, nothing else.

Click any button and I get an error of an unhandled exception occouring with "file not found"

Details

System.IO.FileNotFoundException: File not found.

at Microsoft.VisualBasic.Interaction.Shell(String PathName, AppWinStyle Style, Boolean Wait, Int32 Timeout)

at AndroidControl.Form1.Powerbtn_Click(Object sender, EventArgs e)

at System.Windows.Forms.Control.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnClick(EventArgs e)

at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

at System.Windows.Forms.Control.WndProc(Message& m)

at System.Windows.Forms.ButtonBase.WndProc(Message& m)

at System.Windows.Forms.Button.WndProc(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Hit close, assuming this is the original error you get at startup

Try to reopen file seeing "Tools" folder created

More errors, access to the path C:\-------\adb.exe is denied

Access is denied (I'm assuming) because the files aren't there, and the program isn't creating them

Download XP version and copy files from its tools folder, still not finding files, but no longer specifying what files I need
[Android Software/Hacking General [Developers Only]] k.janku1:
Access denied might be solved by running the program as adsministrator. If that doesn't help, try moving it to a different location on your pc like the desktop or documents folder
[Android Software/Hacking General [Developers Only]] Isaac Lean:
I can't figure out how this works. I moved the transparent button over the phone window and then I start clicking and dragging in it like I'm trying to input touch controls, but instead it just brings the phone window into focus and drags it without doing any inputs. What am I doing wrong?
[Android Software/Hacking General [Developers Only]] ogonzuhnina:
In the APP, when you click "gestures" button, a new window appears. This new window has a see-through rectangular area. It is the "active area. Now you drag the window on top of the droid at screen window, and scale and position it to match active area with screen preview. Select your device resolution on top and do the gestures in the active area.

Good luck
[Android Software/Hacking General [Developers Only]] xo.en:
Could someone make mirror for linux version? For some reason i cannot download from mega;/
[Android Software/Hacking General [Developers Only]] k.janku1:
Here's the link but remember that the linux version is not up to date

https://drive.google.com/file/d/0B5j0444hGlxebnpDbDk0YThsT2s/edit?usp=sharing
[Android Software/Hacking General [Developers Only]] luks_p:
I downloaded the droidAtScreen-1.1.jar and the binary touchcontrol. I put them in a same folder.

I run the droidAtScreen-1.1.jar and it show my screen. So what to do with the binary file and how to use it? Do I have to rename it to "touchcontrol.exe"? I tried but cannot be run.

I use Windows 8.1.
[Android Software/Hacking General [Developers Only]] rudyp9:
I have two questions

1- why was my phone rejected?:confused:

2- is there any way to enableUSB Debugging in ADB? one of my phone does not have it enable:(
[Android Software/Hacking General [Developers Only]] xo.en:
I am unable to understand one thing - is this program able to use mouse as finger? I have very hard case of semi-bricked tablet, - i can see its screen on my laptop, but i cannot do anything more.

Device has wrong rom, touchscreen and SCREEN is not working at all, so i need kind of remote control.. i REALLY DO.
[Android Software/Hacking General [Developers Only]] edukardo:
Did you enabled USB debug? If you don't understand this question, sorry. You can't do it.
[Android Software/Hacking General [Developers Only]] xo.en:
I cannot check, if usb debug is active, since i have no control over touchscreen...i am hanging at lockscreen. I've no idea if this rom has proper root(seems so, but..)..

I tried to replace system's build.prop with proper lines(debugging ON), but machine hung at boot and i needed to reflash = same hopeless situation again..

What's are adb commands to set up build.prop permissions after pulling prop to its place?
[Android Software/Hacking General [Developers Only]] edukardo:
Two years searching, buddy. The only way is cooking your own rom
[Android Software/Hacking General [Developers Only]] xo.en:
This device has different rom image than typical SMARTPHONE ways can handle, since it's operating with weird, chinese tools only, it's nothing like NORMAL zips we all know, Trust me i can handle NONCHINESE devices, but this one is...weird.

btw i am into PDA's for 13 years./
[Android Software/Hacking General [Developers Only]] edukardo:
Yep, man. Don't worry. My lg l3 is the same kind of sh**
[Android Software/Hacking General [Developers Only]] xo.en:
Why this soft has no support for 1024x600 px? I am not able to use it even to unlock screen...

Hmm, you have bricked l3? Is this really possible?
[Android Software/Hacking General [Developers Only]] adfree:
[MENTION=4270107]k.janku1[/MENTION]

Please help.

Please, how your Tool work?

With ADB shell

And then input keyevent?

Or other Commands send?

Thanx in advance.

Best Regards

Edit 1.

Short tested on my I9300 with damaged Display...

But here is Touch alive...

I am using XP Version of your Tool...

Maybe here is problem?

As 2 tested devices not able to accept keys from your Tool?

:confused:

Thanx for Tool and help. :good:
[Android Software/Hacking General [Developers Only]] edukardo:
Nope, I verified the floor of Argentina. Is reallly hard. :crying:

The strike released the flex connector from the motherboard. LG never repaired it (it was out of guarantee). No spare part provided, impossible to get the motherboard.

Touchscreen works, but receives no signal from phone.

LG: Lie is good.
[Android Software/Hacking General [Developers Only]] smogf:
I tried to compile it in windows XP to support it.

I have problems with gestures.

Program compiles without any errors, but gestures window its not transparent as it should be. I have a hole where transparent panel should be.

I can grab other windows which are below gestures windiw trough this place where I should use gesture.Dont know how I can describe this otherwise.Window dont grab the mouse events :(
[Android Software/Hacking General [Developers Only]] k.janku1:
Can you give some more info? I don't see where is your problem, you just click the buttons
[Android Software/Hacking General [Developers Only]] adfree:
I am using XP Version on XP... this package:

Android Control XP.rar

If I click something nothing happens...

2 devices tested...

Rooted I9300 and rooted S8600 with I9001 Firmware...

If I use adb shell...

Then I can use Commands:

input keyevent 66

for Enter...

So my question is... your Tool work with input keyevent xx or other Commands?

:confused:

ADB path etc. seems proper set... otherwise the other ADB Commands would not work...

Thanx in advance.

Best Regards
[Android Software/Hacking General [Developers Only]] ogonzuhnina:
Touches and swipes are based on ADB input touch X Y and ADB input swipe X1 Y1 X2 Y2. Try them via adb if they work via command line. There is a chance your version of adb interface may not support them :/

Good luck
[Android Software/Hacking General [Developers Only]] adfree:
$ input ?
input ?
Error: Unknown command: d
usage: input [text|keyevent]
input [B]text[/B] <string>
input [B]keyevent[/B] <event_code>

My devices have older Android, not 4.x...

But these Coomands working 100 %

input text xx
input keyevent xx

But in Android Control XP.rar under my Windows XP.

ADB stuff work... also Screenshot, BUT I can press nearly all Buttons and nothing happens?

For instance Up nothing

Down nothing

Left nothing happens

right nothing happens...

If I use manually ADB shell:

input keyevent 20 ... my handset step down

input keyevent 19 ... my handset goes up

input keyevent 21 ... left site... yes...

:confused:

So my question again...

Android Control XP.rar work with input keyevent or not?

Please. :o

Maybe stupid me made big mistake...

Maybe I should try other Version under Win 7...

Btw.

Thanx for this. :good:

input touch is new for me.

I know only that my devices not support:

input tap
input swipe

I have few handsets which work with AT Commands...

http://xdaforums.com/showpost.php?p=33361660&postcount=18

Then my old Brewstuff work with Qualcomm Commands...

There are so many ways possible... I need only to find way for my actual problem...

Thanx for help.

Best Regards
[Android Software/Hacking General [Developers Only]] adfree:
I have some progress about using Android Control XP.rar...

I can use text input... :good:

And if I click with my mouse ?123 I see Form 2...

And this work all keys... (only space do nothing) are visible on my handset...

:good: :good:

Any idea why my XP not fully work with this Tool?

I mean not swipe/Touch thingie...

I mean why Form 2 Window work... and main Window do nearly nothing...

:confused:

[MENTION=3677944]smogf[/MENTION]

Please, maybe you can tell my why I have problems with XP Version?

Maybe my fault...

Thanx in advance.

Attached Screenshot... from my I8150...

All other digits or Chars not work... only from Form 2...

:confused:

Best Regards
[Android Software/Hacking General [Developers Only]] AndroTech:
[MENTION=4270107]k.janku1[/MENTION]

Can you please add support to take screenshot & record videos through this tool?
[Android Software/Hacking General [Developers Only]] smogf:
Dont know exactly. Will test it with my GT540. On Xperia SP and Xperia S text input work like a charm. Will test in two, three days with my old LG with Adnroid 2.3

Problem is that I dont have Vista or, win 7 to test "original" version and compare it with XPs version.
[Android Software/Hacking General [Developers Only]] k.janku1:
Most of the tool is based on input keyevent KEYCODE but the gestures part is made with input swipe & input tap

If coordinates_1.X = coordinates_2.X And coordinates_1.Y = coordinates_2.Y Then
'its a tap
'MsgBox("its a tap")
'MsgBox("""Tools\adb.exe"" shell input tap " & coordinates_1.X.ToString & " " & coordinates_1.Y.ToString)
Shell("""Tools\adb.exe"" shell input tap " & coordinates_1.X.ToString & " " & coordinates_1.Y.ToString)
Else
'its a swipe
'MsgBox("its a swipe")
'MsgBox("""Tools\adb.exe"" shell input swipe " & coordinates_1.X.ToString & " " & coordinates_1.Y.ToString & " " & coordinates_2.X.ToString & " " & coordinates_2.Y.ToString)
Shell("""Tools\adb.exe"" shell input swipe " & coordinates_1.X.ToString & " " & coordinates_1.Y.ToString & " " & coordinates_2.X.ToString & " " & coordinates_2.Y.ToString)

End If
[Android Software/Hacking General [Developers Only]] k.janku1:
You can take screenshots, it's in the window with the phones display
[Android Software/Hacking General [Developers Only]] AndroTech:
What about video recording of the screen?
[Android Software/Hacking General [Developers Only]] k.janku1:
ADB is too slow for video recording, though if you have Android 4.4 it is possible with it's built in function. Please read this: http://www.cnet.com/how-to/how-to-record-your-screen-on-android-4-4-kitkat/

I'll think of adding it to the app.
[Android Software/Hacking General [Developers Only]] manudroid19:
Awesome!! Great work, this saved my me!! my phone's touchscreen was broken, and using this tool I could recover my data!! Thank you!!
[Android Software/Hacking General [Developers Only]] jukiewalsh:
I'm trying to do this for my friends phone. They are stock, unrooted and took the ota to 4.4 on a verizon s3. Is there another way to root besides towelroot because I need to do that before I can push a new recovery to push a kernel with a script to enable adb.
[Android Software/Hacking General [Developers Only]] PimpTwzt:
Ive got an old Eris with a screen resolution of 320x480. The digitizer is dead and im trying to get into the thing so I can turn it into an IP Cam. Found this gem of a program but its not helping me much. Swiping of course isn't working with no option for that size. Only thing ive been able to do is reboot and recovery. Everything else does nothing. I am running gingerbread on it though. I don't know if that's an issue?

Thanks.
[Android Software/Hacking General [Developers Only]] XeoNoX:
great tool thanks for contributing
[Android Software/Hacking General [Developers Only]] tassos_chry:
can you elaborate on how to do that?

im on the same situation as you are and i dont know what to do!
[Android Software/Hacking General [Developers Only]] ethan_hines:
will not work if more than one device is connected

I have Andy (an android emulator) on my pc and if it is on and I have my phone plugged in the commands do not go to the phone. is there anyway you can add an option to choose which device the keyboard commands and gestures go to?
[Android Software/Hacking General [Developers Only]] desertmod1:
Alright I got it to work
[Android Software/Hacking General [Developers Only]] ZangadU:
hello,

i have a galaxy s3 with a broken screen.

im trying to get usb debbuging mode but its not working.

i added the three lines on build.prop using adb on recovery mode:

i reboot the phone but i recive the message from adb:

device unauthorized.

can someone help me?
[Android Software/Hacking General [Developers Only]] k.janku1:
When you connect your phone with debugging on for the first time to your pc, you need to authorize it, but with a broken screen it's not that easy. If you can see anything on the phone, you should see a prompt like in the screenshot in the link below and you have to somehow confirm it.

http://i.stack.imgur.com/MPh73.png
[Android Software/Hacking General [Developers Only]] 1nstan7riod:
Nice app.

Sadly I can see my screen but the touch doesnt work at all (digitizer broken). Is there a way? I can get into downloader mode and recovery mode. Ive installed the SDK and 5.0 and 4.4. I cant install a new rom due to using a touch recovery.
[Android Software/Hacking General [Developers Only]] k.janku1:
If you can get into download mode, then you can flash a non-touch recovery and do whatever you want from there.
[Android Software/Hacking General [Developers Only]] buythismobile:
Thank you, I will try it now on Samsung Galaxy Grand Duos 2.
[Android Software/Hacking General [Developers Only]] :
Hey my nexus 5 screen is not working, and I have pattern locked my device is there any way I can unlock this pattern?
[Android Software/Hacking General [Developers Only]] NikitoGR:
adb wifi doesn't work, it shows rejected every time while it worked before for some time. Any clue?
[Android Software/Hacking General [Developers Only]] k.janku1:
You first need to do adb connect in cmd
[Android Software/Hacking General [Developers Only]] idanool:
Nexus 4 kernel with USB Debugging ?

Hi,

Did anybody find a kernel for Nexus 4 with USB Debugging pre-enabled ?

I couldn't get it worked using the adb shell commands the developer suggested.
[Android Software/Hacking General [Developers Only]] torankusu:
Hi all,

Thanks for this thread this helped me a lot.

Device is a samsung S4 t-mobile variant.

The only trick is that on recovery, i'm using latest twrp, i needed to mount system in order to see the build.prop file.

notice. Device screen is totally broken, doesnt turn on. i was able to accomplish this without it.

adb shell
mount system

after this then i proceeded with whats on the OP.

Thanks again.

Update: it works but i get the Unauthorized device on adb shell, not i need to find out how to enable this since i can use the touch screen.

Update2: I was able to get an rsa key from another samsung s4 that was connected to the same computer, "adb_keys" is located in /data/misc/adb/

1. you must be rooted to take the adb_keys file from the phone that works. With es explorer "enabled root explorer" and i was able to see this file.

2. once you get a copy of adb_keys, reboot the phone with broken screen into recovery, adb recovery should work. im using twrp.

3.adb push <location of file>rsa_keys /data/misc/adb/

4. adb reboot and once the phone bots up voila! adb shell should be able to see the phone now.

i hope this helps someone like it did to me.
[Android Software/Hacking General [Developers Only]] Carmageddon1984:
Thank you for the great tool!

It partially works on my shattered OnePlus One:

I can click Home and such, but Tapping on the screen is not working, nor does swipe action (since mine is vertical swipe not horizontal).

I can tap and unlock vertically via adb shell manually, and I can also tap x, y cordinates - but taps dont do anything in the app.

Any ideas how to make taps work?

I am using the Linux Binary...
[Android Software/Hacking General [Developers Only]] k.janku1:
I haven't tested the linux version as I don't have linux installed and it was compiled by someone else from the source code, so I have no idea why would that be. Also keep in mind that the linux version is not up to date, so not all features could have been implemented.
[Android Software/Hacking General [Developers Only]] Carmageddon1984:
Thank you, well what about the Windows version then? At work I have installed the Samsung driver, which enabled adb to detect my phone properly, but I cant do adb shell since I never authorized USB debugging at work computer, until it was too late :(

Is it possible to authorize it in another way? perhaps from home where it already is?
[Android Software/Hacking General [Developers Only]] k.janku1:
There has been a discussion about that here, from what i remember the easiest solution was to plug in a pc mouse to the phone and authorize with it, but I think someone figured put another way which I don't remember. Try searching this thread.
[Android Software/Hacking General [Developers Only]] Medfordite:
This looks like a good tool. Testing it right now with my HTC One M7 on Lollipop 5.0.1.

There is a tremendous lag with the free version. About 5 seconds or more. Text entry sometimes take a few tries. Would this be due to Lollipop or something else?
[Android Software/Hacking General [Developers Only]] k.janku1:
It's ADB that's so slow
[Android Software/Hacking General [Developers Only]] Geezer:
For those unable to authorize ADB connection...

If you are on Android 4.4.2 or lower you can get the PC authorization prompt box to pop out on the camera or emergency calls dialer screen.

https://labs.mwrinfosecurity.com/advisories/2014/07/03/android-4-4-2-secure-usb-debugging-bypass/
[Android Software/Hacking General [Developers Only]] Sage:
first of all very nice! thank you! (just broke my screen). Secondly you cant click around the screen can you? This is only a keyboard implementation? correct?

thanks

---------- Post added at 02:59 AM ---------- Previous post was at 02:40 AM ----------

nvm just noticed the gesture overlay! awesome!
[Android Software/Hacking General [Developers Only]] Haldi4803:
about the USB debugging

[YOUTUBE]0UmJLLTr2gg[/YOUTUBE]

@14:15

Is there any way to do this with a computer instead of this stick?
[Android Software/Hacking General [Developers Only]] k.janku1:
Not a computer, but a usb keyboard would work.
[Android Software/Hacking General [Developers Only]] stammler:
great tool!

Thanks for this! I installed the Linux version from https://github.com/ternes3/TouchControl-for-Android , compiled it and it works like a charm. But I seem not to understand how to use touch control. When I click the image it doesn't register touch events but just moves the window... How does it work?
[Android Software/Hacking General [Developers Only]] k.janku1:
The linux version is not made by me, someone just rewrote my code so it could work on linux, but he did it with an old version from what I remember and never updated it. Probably touch hadn't been implemented yet at that time.
[Android Software/Hacking General [Developers Only]] nfribeiro:
Can you update this to 5" 1080x1920 resolution?

Thanks in advance
[Android Software/Hacking General [Developers Only]] nfribeiro:
Sorry, I saw now it already have 1080x1920 resolution.
[Android Software/Hacking General [Developers Only]] cheez_121:
USB debug not enable

Thanks for the nice app. I tried it on my note 10.1 and it worked really well. But the problem is with my stock S3 with a broken /black screen. There was no USB debug enabled on, and now i can't manage to get access with ADB. I got it to recovery mode with button combination but how should enable USB debug using the code

Adb shell

echo "persist.service.adb.enable=1" >>/system/build.prop

echo "persist.service.debuggable=1" >>/system/build.prop

echo "persist.sys.usb.config=mass_storage,adb" >>/system/build.prop"

reboot﻿

The adb recognize the device in recovery mode. When I just copy the lines to cmd it says Permission denied?!

I'm quite a noob in this and costed me a day to figure out everything but somehow I can't get code part. Could someone help me? Thanks!
[Android Software/Hacking General [Developers Only]] k.janku1:
do you have root access? I don't think you can edit the build.prop file without root. Also your system partition is proably mounted as read-only, so you should mount it with read/write permissions (also root only)
[Android Software/Hacking General [Developers Only]] ellmann:
Hi guys,

first I have to say: awesome work so far!

I'm sittinng here in front of my Pc with my Galaxy S3 (broken screen). My phone is rooted with CM as rom and if I'm in recovery mode the tool is able to see my device, but it is shown as offline. However adb devices recognizes the device as well.

I entered the code you wrote down in your first post, but everytime I reboot adb is unable to see my device.

Maybe I did something wrong?

Edit: I guess my issue is, that I cant accept the RSA-Token access....

Thanks
[Android Software/Hacking General [Developers Only]] patelsofty:
It works for me when the phone is in normal mode. But, doesn't work when it's in recovery. Need to do backup as phone screen has been broken recently. :crying: Any idea?