[Tool][Windows] Control a device with a broken screen. Now with touchscreen support!!

Search This thread

k.janku1

Senior Member
Sep 23, 2011
150
253
Poznań
I would like to present you my little program written in Visual Basic.
This tool lets you use your device through your Windows pc even if your touchscreen doesn't work or you can't see anything.
It uses [email protected], which wasn't made by me.

UPDATE!!! Full touchscreen support!
You need to have usb debugging enabled.
Enable usb debugging via recovery:
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

for people who dont have adb enabled, i suggest you contact a kernel developer to automatically enable it in the default.prop and sideload the kernel in recovery!
i broke my S3 on stock so nothing was enabled.
i enabled adb via the default.prop and compiled the kernel and flashed in recovery(sideload).
now i have full control over the device.

HmKqklH.png

gakavu1.png



Links:
Source code: http://goo.gl/fgLHWx use the github link
GitHub: https://github.com/kjanku1/WindowsApplication1
The tool itself: https://drive.google.com/file/d/0B5j0444hGlxeb0J3TDAtSmhKelU/edit?usp=sharing
Mirror 1: http://www.4shared.com/file/-QVlYf0tba/Android_Control.html - old version
Mirror 2: http://d-h.st/iJO

PREMIUM (donation) version with vnc support (TightVNC and VNC server)

http://goo.gl/XWYpEy

Linux port by ternes3

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

WINDOWS XP version!!! thanks to Senior Member smogf
https://mega.co.nz/#!xJJQjTLR!S29tJrWxrtmxc2DNTm1cZrGkV-jdtxAqCBJco9dhQSg


Youtube video
http://youtu.be/yrAN69XjNtg

**to do:
Swipe to unlock for more screen resolutions (currently only 764x1280) Done, Please update
Pattern unlock Done
Caps Lock
More swipe gestures
Full touchscreen support Done

No installation needed.

FAQ


Enable USB debugging
http://forum.xda-developers.com/showpost.php?p=66731042&postcount=260 thanks to @Msmtx

Secure ADB ("unclickable" pop-up)workaround
http://forum.xda-developers.com/showpost.php?p=66731042&postcount=260 thanks to @Msmtx

File missing errors
Just close it and open it again.

Swipe option not working?
Download the latest version or post the resolution of your phone.

Other issues
http://forum.xda-developers.com/showpost.php?p=65891140&postcount=255 thanks to @Scooby00

If you have any problem, ask me anything.

If you like my work, please donate some bitcoins if you want: 14A4BTxqNddRAmxruy5CUtXCzzKs94Fj8F
 
Last edited:

pang34

Senior Member
Jan 18, 2014
407
88
20
Kuala Lumpur
I would like to present you my little program written in Visual Basic.
This tool lets you use your device through your Windows pc even if your touchscreen doesn't work or you can't see anything.
You need to have usb debugging enabled.
It uses [email protected], which wasn't made by me.

HmKqklH.png

gakavu1.png


http://youtu.be/yrAN69XjNtg

Links:
Source code: http://goo.gl/fgLHWx
GitHub: https://github.com/kjanku1/WindowsApplication1
The tool itself: http://goo.gl/0foDiL

No installation needed.
The first time you open it, you'll see an error. Just close it and open it again.

If you have any problem, ask me anything

How to move the phone to desktop like you post the picture

send for I8190N R-Mod v2 using XDA Premium 4 mobile app
 
  • Like
Reactions: Raj.S

ymcc

Senior Member
Mar 25, 2011
277
125
I connected (desire hd) and can see my device but it says rejected next to it. How can i fix this ?

Thanks!
 

wulsic

Senior Member
Aug 21, 2013
1,881
2,315
21
Nijmegen
OnePlus 8 Pro
I connected (desire hd) and can see my device but it says rejected next to it. How can i fix this ?

Thanks!

try to connect/disconnect or restart the adb server again and click on your phone if a window comes up with something like trust this comuter then just click yes.

Its really an usefull app! i just used it to try it but its really usefull if you have a broken screen.
 
  • Like
Reactions: yadego

Omario-242

Senior Member
Feb 18, 2011
1,132
388
Munich
Would love to try this app.
Sadly I can't acquire a connection via Wifi. I certainly enabled
all the needed options on my device (LG Optimus 4X HD [p880]),
but as soon as I click on the adb connection button a cmd window
comes up with the path C:\User\MyName\Downloads\Tools (probably the path where it expect adb to be)
and if I move via "cd" to my adb and run it nothing happens.

On second try I was able to change the path via the [email protected] part of the app
but still nothing happens when I hit the button besides the cmd window coming up.

Will try the usb way now.

EDIT: USB way works perfectly fine :good:
Thanks for this!
 
Last edited:

Ricky Divjakovski

Recognized Developer / Recognized Contributor
Feb 4, 2013
5,215
7,600
25
Sydney
for people who dont have adb enabled, i suggest you contact a kernel developer to automatically enable it in the default.prop and sideload the kernel in recovery!
i broke my S3 on stock so nothing was enabled.
i enabled adb via the default.prop and compiled the kernel and flashed in recovery(sideload).
now i have full control over the device.
thanks for the tool mate! i hope to see it cross compiled for linux soon aswell :)
 

lohanchien

Senior Member
Dec 15, 2007
254
72
Very nice! Works great. I have a suggestion, if it's even possible, a few months back I cracked the screen and digitizer at the same time. Turning the screen on would make the phone go haywire since it was registering multiple "touches" from the broken screen/digitizer. Anyway to implement this with the screen completely turned off? Just curious.
 
Last edited:

k.janku1

Senior Member
Sep 23, 2011
150
253
Poznań
Would love to try this app.
Sadly I can't acquire a connection via Wifi. I certainly enabled
all the needed options on my device (LG Optimus 4X HD [p880]),
but as soon as I click on the adb connection button a cmd window
comes up with the path C:\User\MyName\Downloads\Tools (probably the path where it expect adb to be)
and if I move via "cd" to my adb and run it nothing happens.

On second try I was able to change the path via the [email protected] part of the app
but still nothing happens when I hit the button besides the cmd window coming up.

Will try the usb way now.

EDIT: USB way works perfectly fine :good:
Thanks for this!

Some older versions of adb don't support wireless debugging, you also need to enable wireless debugging on your phone
 

Top Liked Posts

  • There are no posts matching your filters.
  • 212
    I would like to present you my little program written in Visual Basic.
    This tool lets you use your device through your Windows pc even if your touchscreen doesn't work or you can't see anything.
    It uses [email protected], which wasn't made by me.

    UPDATE!!! Full touchscreen support!
    You need to have usb debugging enabled.
    Enable usb debugging via recovery:
    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

    for people who dont have adb enabled, i suggest you contact a kernel developer to automatically enable it in the default.prop and sideload the kernel in recovery!
    i broke my S3 on stock so nothing was enabled.
    i enabled adb via the default.prop and compiled the kernel and flashed in recovery(sideload).
    now i have full control over the device.

    HmKqklH.png

    gakavu1.png



    Links:
    Source code: http://goo.gl/fgLHWx use the github link
    GitHub: https://github.com/kjanku1/WindowsApplication1
    The tool itself: https://drive.google.com/file/d/0B5j0444hGlxeb0J3TDAtSmhKelU/edit?usp=sharing
    Mirror 1: http://www.4shared.com/file/-QVlYf0tba/Android_Control.html - old version
    Mirror 2: http://d-h.st/iJO

    PREMIUM (donation) version with vnc support (TightVNC and VNC server)

    http://goo.gl/XWYpEy

    Linux port by ternes3

    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

    WINDOWS XP version!!! thanks to Senior Member smogf
    https://mega.co.nz/#!xJJQjTLR!S29tJrWxrtmxc2DNTm1cZrGkV-jdtxAqCBJco9dhQSg


    Youtube video
    http://youtu.be/yrAN69XjNtg

    **to do:
    Swipe to unlock for more screen resolutions (currently only 764x1280) Done, Please update
    Pattern unlock Done
    Caps Lock
    More swipe gestures
    Full touchscreen support Done

    No installation needed.

    FAQ


    Enable USB debugging
    http://forum.xda-developers.com/showpost.php?p=66731042&postcount=260 thanks to @Msmtx

    Secure ADB ("unclickable" pop-up)workaround
    http://forum.xda-developers.com/showpost.php?p=66731042&postcount=260 thanks to @Msmtx

    File missing errors
    Just close it and open it again.

    Swipe option not working?
    Download the latest version or post the resolution of your phone.

    Other issues
    http://forum.xda-developers.com/showpost.php?p=65891140&postcount=255 thanks to @Scooby00

    If you have any problem, ask me anything.

    If you like my work, please donate some bitcoins if you want: 14A4BTxqNddRAmxruy5CUtXCzzKs94Fj8F
    11
    This is a quote from @Msmtx who has accomplished, what seemed impossible for some, however he's not allowed to post here yet, I'm posting it so more people can profit from this.

    Msmtx said:
    To activate USB debugging AND workaround Secure ADB on Android versions 4.2+:
    1. Boot to recovery through hardware buttons
    2. Run adb shell
    3. Mount system and data partitions (in my case, on TWRP: twrp mount system && twrp mount data)
    4. Input into adb shell:
      Code:
      echo "persist.service.adb.enable=1" >> default.prop 
      echo "persist.service.debuggable=1" >> default.prop
      echo "persist.sys.usb.config=mtp,adb" >> default.prop
      echo "persist.service.adb.enable=1" >> /system/build.prop 
      echo "persist.service.debuggable=1" >> /system/build.prop
      echo "persist.sys.usb.config=mtp,adb" >> /system/build.prop
    5. On Windows, go to "%USERPROFILE%/.android", open adbkey.pub with Notepad or your text editor of preference and copy all of the file's content (CTRL+A and CTRL+C from Notepad and standard editors)
    6. Back to adb shell:
      Code:
      echo "<paste key here>" >> /data/misc/adb/adb_keys
      reboot
      -- on standard CMD you can paste by right-clicking the title bar> Edit> Paste, or just right-clicking if you have "Quick Edit mode" enabled in CMD's properties.
    5
    for people who dont have adb enabled, i suggest you contact a kernel developer to automatically enable it in the default.prop and sideload the kernel in recovery!
    i broke my S3 on stock so nothing was enabled.
    i enabled adb via the default.prop and compiled the kernel and flashed in recovery(sideload).
    now i have full control over the device.
    thanks for the tool mate! i hope to see it cross compiled for linux soon aswell :)
    4
    Good ! I'm try it.
    4
    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.

    HTML:
    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.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone