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

Search This thread

matzee1

New member
Dec 6, 2017
1
0
Can anybody help me please? I am able to connect to my Samsung Galaxy S7 and the phone is discovered in [email protected] However, under "State" I always get the "rejected" message. I have tried to re-connect to my phone several times without any luck. My LCD is damaged and not working (= black) so I can't respond to any pop-ups on my phone's screen. Any help is appreciated:)
 

Ultranoche

Member
Aug 7, 2017
7
2
Congratulations for your work. Can you explain how to enable USB debugg with broken screen? If you can give the steps would be very useful for lot of us. Thanks very much.
 

hemant14

Member
Feb 25, 2015
6
0
State: rejected

Well done and thank you for this great work.

I have successfully connected my note 4, it's listed in the [email protected] but I can't get to see my screen (state: rejected).

I can't get to check and allow the "allow connection to my computer" option on my phone as the screen is broken.

What can i do please?

Thank you for your assistance.
 

Droidriven

Senior Member
Jan 27, 2014
15,289
6
5,307
NC
Verizon Samsung Galaxy S III
HTC Thunderbolt
Well done and thank you for this great work.



I have successfully connected my note 4, it's listed in the [email protected] but I can't get to see my screen (state: rejected).



I can't get to check and allow the "allow connection to my computer" option on my phone as the screen is broken.



What can i do please?



Thank you for your assistance.
Did you have USB debugging enabled before the screen broke? If not, this tool is not going to work for you and there is no way to enable that setting now that your device is broken.

Many people do not have USB debugging enabled because they don't know how vital that setting is if their device encounters issues. One of the first things I do when I get a new device is enable the USB debugging setting and then I leave it enabled as long as I own the device, so I can fix it if it has issues. I want to ensure that I don't get stuck in a position that I can't make a connection with PC, if it is needed in order to repair the device or retrieve data from it.

Buy a complete LCD+digitizer+glass combination and then replace the screen.
Sent from my SM-S767VL using Tapatalk
 
Last edited:

hemant14

Member
Feb 25, 2015
6
0
Did you have USB debugging enabled before the screen broke? If not, this tool is not going to work for you and there is no way to enable that setting now that your device is broken.

Many people do not have USB debugging enabled because they don't know how vital that setting is if their device encounters issues. One of the first things I do when I get a new device is enable the USB debugging setting and then I leave it enabled as long as I own the device, so I can fix it if it has issues. I want to ensure that I don't get stuck in a position that I can't make a connection with PC, if it is needed in order to repair the device or retrieve data from it.

Buy a complete LCD+digitizer+glass combination and then replace tha screen.
Sent from my SM-S767VL using Tapatalk

In fact I have USB debugging enabled and when I type the command "adb shell",
I get "error: device unauthorized. Please check the confirmation dialog on your device."

Which means that i should allow the connection from my phone which I can't as the screen is broken.

I know someone suggested to connect an OTG mouse and try to click on the "ok" option but this is a little hectic (tried many times:eek:).
Do you know a command that would bypass this authorization?
 

Droidriven

Senior Member
Jan 27, 2014
15,289
6
5,307
NC
Verizon Samsung Galaxy S III
HTC Thunderbolt
In fact I have USB debugging enabled and when I type the command "adb shell",

I get "error: device unauthorized. Please check the confirmation dialog on your device."



Which means that i should allow the connection from my phone which I can't as the screen is broken.



I know someone suggested to connect an OTG mouse and try to click on the "ok" option but this is a little hectic (tried many times:eek:).

Do you know a command that would bypass this authorization?
Try reading this and try the things they did to see if it works for you.

https://stackoverflow.com/questions...-with-broken-touch-screen-on-android/36507541



Using the mouse should work for you, with a little time, trial and error and patience.

Sent from my SM-S767VL using Tapatalk
 
Last edited:
  • Like
Reactions: hemant14

hemant14

Member
Feb 25, 2015
6
0

shanaka

Member
Dec 13, 2013
9
0
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



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://devhost.xda-developers.com/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

Windows link is not working. can you please update it. this app really helpful
 

Mohammed MLK

New member
May 26, 2020
1
0
Not working for me

Your tool is super useful, and it really works, Thank you!!! But it doesn't work for my phone Samsung Galaxy A30, it's screen was broken while the device was in the power off state, and in such case after you boot the phone you must use the password not the fingerprint sensor in order to unlock it, so i'm unable to connect it to my computer, in other words, because of the security/privacy policy it won't let the computer reaches it, it will only use the computer to charge the battery, and I don't want to root it or any other thing that violates the warranty, I just want to reach it and copy my files, please help me.
I have USB debugging enabled since the day I bought it, and I was connecting it to my computer at least 3 times a day.....
So I have no issues with the USB settings.

Of course, I'm able to go the shop and have it fixed but in the country I live in (Syria), this costs tons of money, and I literally don't have any money, our state is miserable and we can't afford to do that, even the center that provided the phone also asked us a lot of money, while the phone is in the warranty period..
Please please... help .
 

AndreasH.

New member
Jul 16, 2020
1
0
Sony XZ premium

Hi,

I have a problem. My Scrren is ok, but all the buttons on the side do not work. Also the On/Off Button.......Now my phone went out of battery and I recharged it, but cant start it, cuz I need to press the on/off button to come into the pin lockin......
Any ideas !?

Thank you !

Greetz
Andreas
 

Droidriven

Senior Member
Jan 27, 2014
15,289
6
5,307
NC
Verizon Samsung Galaxy S III
HTC Thunderbolt
Hi,



I have a problem. My Scrren is ok, but all the buttons on the side do not work. Also the On/Off Button.......Now my phone went out of battery and I recharged it, but cant start it, cuz I need to press the on/off button to come into the pin lockin......

Any ideas !?



Thank you !



Greetz

Andreas

You might be able to use adb, connect the device to PC, open a adb terminal and try this command.

adb reboot

This has been known to work for powering devices on from the powered off state. It does not work on all devices but might work for you.

Sent from my SM-S767VL using Tapatalk
 
Feb 12, 2018
48
0
44
Buenos Aires
Hello, Could you tell me if I do something wrong?
The mirror screen does NOT appear on the pc.
I am testing with a working S7 with display.
1) Download the application
2) Run the Android Control.exe file
3) Unzip the tools folder
4) Connect the cell phone to the usb
5) I select the resolution, but no window appears on the pc with the mirror image of the cell phone.
When I use the ultimate touchscreen keyboard, the phone responds just like the gestures function. But I don't have the mirror image on the pc.
What am I doing wrong?
Thank you
Alexander
 

Droidriven

Senior Member
Jan 27, 2014
15,289
6
5,307
NC
Verizon Samsung Galaxy S III
HTC Thunderbolt
Hello, Could you tell me if I do something wrong?

The mirror screen does NOT appear on the pc.

I am testing with a working S7 with display.

1) Download the application

2) Run the Android Control.exe file

3) Unzip the tools folder

4) Connect the cell phone to the usb

5) I select the resolution, but no window appears on the pc with the mirror image of the cell phone.

When I use the ultimate touchscreen keyboard, the phone responds just like the gestures function. But I don't have the mirror image on the pc.

What am I doing wrong?

Thank you

Alexander
Is USB debugging enabled in your phone's developer options settings?

Sent from my SM-S767VL using Tapatalk
 

LauraAmerica

Member
Jun 27, 2008
34
2
Hi @k.janku1
Thanks for the app, it's been so useful but I still have a big issue, I can't get it to show my phone's screen.
ADB is working, there's a connection and I can send commands through the app (like POWER, RESTART or unlocking using the keypad). When I launch the app there's a Windows pop-up asking what program I want to use for opening .JAR files. Do I need Java or anything else for this to fully work? You mention to some guy in this threat that his resolution wasn't supported, mine isn't so common either and unlisted in the options (1:2 or 9:18, 1080x2160 or 720x1440 depending on settings).

I remember using it in the past and had all kinds of apps in my computer but I got a new SSD and started from scratch with a clean Win10 and have nothing but the basics. Any help will be very much appreciated since my main phone dropped and now half of the screen is black (but fully responsive) and I won't order a new phone until Amazon Prime Day.
Thanks!
 
Last edited:

rebgershon

Member
Dec 13, 2011
33
0
I finally managed to get the app installed and running.
As a test, I connected my working Samsung S7 edge and the screen mirroring works showing the image of the current screen on the phone itself.
However, the keyboard screen doesn't appear so I've no way of using a mouse to swipe or click on any of the screen icons. Have I missed something out?
Also I tried connecting a Chinese clone of the S7 Edge whose touch screen no longer responds. On the lock screen the following messages appear:
1. Connected as USB storage
2. USB debugging connected
However on loading the jar file (through an admin command window on my PC as it won't load otherwise) I get the following:
INFO AndroidDeviceManager - Device connected: 0123456789ABCDEF
DEBUG DroidAtScreenApplication - connected: 0123456789ABCDEF
DEBUG DeviceFrame:0123456789ABCDEF - DeviceFrame(device=0123456789ABCDEF (device))
ERROR AndroidDevice:0123456789ABCDEF - ADB command rejected: OFFLINE=true
ERROR AndroidDevice:0123456789ABCDEF - ADB command rejected: OFFLINE=false
the last line is repeated incessantly until I disconnect the phone.
The 'State' box on the main [email protected] window says rejected and again no keyboard screen is visible.
Does this mean the program only works with 'genuine' phones?
All help with these 2 problems welcomed
 

k.janku1

Senior Member
Sep 23, 2011
150
255
Poznań
Hi @k.janku1
Thanks for the app, it's been so useful but I still have a big issue, I can't get it to show my phone's screen.
ADB is working, there's a connection and I can send commands through the app (like POWER, RESTART or unlocking using the keypad). When I launch the app there's a Windows pop-up asking what program I want to use for opening .JAR files. Do I need Java or anything else for this to fully work? You mention to some guy in this threat that his resolution wasn't supported, mine isn't so common either and unlisted in the options (1:2 or 9:18, 1080x2160 or 720x1440 depending on settings).

I remember using it in the past and had all kinds of apps in my computer but I got a new SSD and started from scratch with a clean Win10 and have nothing but the basics. Any help will be very much appreciated since my main phone dropped and now half of the screen is black (but fully responsive) and I won't order a new phone until Amazon Prime Day.
Thanks!

Yes, as part of it is written in Java, you need to have it installed on your system.
 

Briand2714

New member
Nov 10, 2020
1
0
I cannot for the life of me get this to work with my Note 3, can someone please assist me further? Thank you, just trying to recover old photos and videos from this device with black screen.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 214
    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/0B5...=sharing&resourcekey=0--HHg4Q8nZqze3N1TYZ1irA
    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

    **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.