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

Search This thread

Galane

Senior Member
Jan 27, 2012
103
7
Any chance this may work on a Nobis NB7850S? I enabled Developer Options but all those are disabled except Process Stats and Revoke USB Debugging Authorizations.
 

butcher33

Senior Member
Jul 29, 2012
160
14
I have broken SGS3 and working one, with completely the same settings.
i was unable to connect the screen on the broken one, because even with adb enabled I still have to confirm that I allow to connect with my computer. All that was only possible to check with a working screen but unfortunately with the broken one, there is no chance to access the phone.

Any clue? please help.
 

Alaadragonfire

Senior Member
Apr 15, 2012
473
185
Amman
Google Pixel 4a
I have broken SGS3 and working one, with completely the same settings.
i was unable to connect the screen on the broken one, because even with adb enabled I still have to confirm that I allow to connect with my computer. All that was only possible to check with a working screen but unfortunately with the broken one, there is no chance to access the phone.

Any clue? please help.
Use otg usb and connect a mouse pc to it and now you can control ur phone through mouse pointer.
 

Tmobilefan906

Senior Member
Apr 1, 2016
3,339
392
help

what if all i have is the motherboard? how can i use it like you can with vysor on chrome...i cant enable usb as there is no lcd. lol. any suggestions?
 

wolftou

Senior Member
Mar 28, 2012
110
36
I have galaxy s4, with screen 1080x1920. I can see but not control, can you help? Thank you.

Edit:
The only command that works is reboot.

I tried adb shell wm size 1280x720
adb shell wm density 320 but got this:
java.lang.ClassNotFoundException: Didn't find class "com.android.commands.wm.Wm"
on path: DexPathList[[zip file "/system/framework/wm.jar"],nativeLibraryDirecto
ries=[/vendor/lib, /system/lib]]
at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56
)
at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
at java.lang.ClassLoader.loadClass(ClassLoader.java:469)
Suppressed: java.io.IOException: Failed to open oat file from dex locati
on '/system/framework/wm.jar'
at dalvik.system.DexFile.openDexFileNative(Native Method)
at dalvik.system.DexFile.openDexFile(DexFile.java:295)
at dalvik.system.DexFile.<init>(DexFile.java:80)
at dalvik.system.DexFile.<init>(DexFile.java:59)
at dalvik.system.DexPathList.loadDexFile(DexPathList.java:262)
at dalvik.system.DexPathList.makeDexElements(DexPathList.java:23
1)
at dalvik.system.DexPathList.<init>(DexPathList.java:109)
at dalvik.system.BaseDexClassLoader.<init>(BaseDexClassLoader.ja
va:48)
at dalvik.system.PathClassLoader.<init>(PathClassLoader.java:38)

at java.lang.ClassLoader.createSystemClassLoader(ClassLoader.jav
a:128)
at java.lang.ClassLoader.access$000(ClassLoader.java:65)
at java.lang.ClassLoader$SystemClassLoader.<clinit>(ClassLoader.
java:81)
at java.lang.ClassLoader.getSystemClassLoader(ClassLoader.java:1
37)
Caused by: java.io.IOException: Failed to open oat file from /system/fra
mework/arm/wm.odex (error Failed to open oat filename for reading: No such file
or directory) (no dalvik_cache availible) and relocation failed.
... 13 more
Caused by: java.io.IOException:
... 13 more
Caused by: java.io.IOException: Failed to remove obsolete file from /dat
a/dalvik-cache/arm/system@framework@wm.jar@classes.dex when searching for dex fi
le /system/framework/wm.jar: Permission denied
... 13 more
Suppressed: java.lang.ClassNotFoundException: com.android.commands.wm.Wm

at java.lang.Class.classForName(Native Method)
at java.lang.BootClassLoader.findClass(ClassLoader.java:781)
at java.lang.BootClassLoader.loadClass(ClassLoader.java:841)
at java.lang.ClassLoader.loadClass(ClassLoader.java:504)
... 1 more
Caused by: java.lang.NoClassDefFoundError: Class not found using the boo
t class loader; no stack available
 
Last edited:

DeXz Pascu

Member
May 20, 2016
12
0
I have a touch screen problem and i haven't got usb debug enable how i can enable using pc with this command?
 

adroit_y2k

Senior Member
May 21, 2012
62
8
London
This tool is SUPERB!!!! It works 100%. I have tested it on windows 10 32bit with my SM-T705.
Please make sure that you have java installed on your pc so that you can view the phones screen else it keeps giving a pop up asking for an app to open the .jar file. Also provide the path for the adb.exe located under tools folder. This folder gets created when you run the android control application on your pc..

Have fun..

Excellent work!!

Sent from my SM-T705 using XDA-Developers mobile app
 

lungolok

Member
Jul 11, 2014
9
0
Hi, i need some help getting into my mobile.

It been a while since i last played with android and im on a new laptop at the moment. Mi device is a samsung galaxy s2 i9100 with cyanogen 12 (kit kat 4.4.2 i think). I broke my screen off and i would like to use my mobile with pc. I need to access some apps, maybe install teamviewer or something like that, and use it for a while like this while i get a replacemente.

In my new laptop i have adb installed, i think ive installed it from here: http://xdaforums.com/showthread.php?t=2588979 but i cant recall.

I download android control but nothing happens, the phone screen wont launch. Any clues to help me troubleshoot this?

EDIT: I can confirm i have ADB 1.0.32
EDIT 2: I can now confirm i have cyanogenmod 11 with kit kat. I have also enabled usb debugging in developer options switching screens with a friend. Nothing happens, what show i try next? adb devices says my device is unauthorized.


Thanks
Sebastian
 
Last edited:

Tmobilefan906

Senior Member
Apr 1, 2016
3,339
392
Hi, i need some help getting into my mobile.

It been a while since i last played with android and im on a new laptop at the moment. Mi device is a samsung galaxy s2 i9100 with cyanogen 12 (kit kat 4.4.4 i think). I broke my screen off and i would like to use my mobile with pc. I need to access some apps, maybe install teamviewer or something like that, and use it for a while like this while i get a replacemente.

In my new laptop i have adb installed, i think ive installed it from here: http://xdaforums.com/showthread.php?t=2588979 but i cant recall.

EDIT: I can confirm i have ADB 1.0.32

I download android control but nothing happens, the phone screen wont launch. Any clues to help me troubleshoot this?

Thanks
Sebastian
Get it into download mode. Drivers will install.
 

ThatHman

Member
Apr 3, 2013
19
0
I dont know if this has been asked. i just scanned through the replies (sorry)

my question, How to use it in recovery? it works fine in normal mode, but i wanted to flash a rom with it but it says connected but with a timeout error. please help.

Thanks.
 

lungolok

Member
Jul 11, 2014
9
0
Get it into download mode. Drivers will install.

I went to a friend with same phone, switched screens and enabled adb debugging. Im in cyanogenmod 11 in a galaxy s2.

I run the program but nothing happens.

adb devices shows me as unauthorized. i had superuser up and running.

I cant find any info on how to continue.

Thanks
 

raviindia

Member
Oct 29, 2014
44
5
Delhi
I went to a friend with same phone, switched screens and enabled adb debugging. Im in cyanogenmod 11 in a galaxy s2.

I run the program but nothing happens.

adb devices shows me as unauthorized. i had superuser up and running.

I cant find any info on how to continue.

Thanks
Hey, for adb device unauthorized, please visit this link... This will work

http://stackoverflow.com/questions/23081263/adb-android-device-unauthorized

Sent from my Y541-U02 using Tapatalk
 

Tmobilefan906

Senior Member
Apr 1, 2016
3,339
392
I went to a friend with same phone, switched screens and enabled adb debugging. Im in cyanogenmod 11 in a galaxy s2.

I run the program but nothing happens.

adb devices shows me as unauthorized. i had superuser up and running.

I cant find any info on how to continue.

Thanks
Um..boot into download mode, then plug into PC. All the necessary drivers will install!
 

Muscleduck

Senior Member
Jun 9, 2012
93
18
Gent
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 droid@Screen, 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://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://xdaforums.com/showpost.php?p=66731042&postcount=260 thanks to @Msmtx

Secure ADB ("unclickable" pop-up)workaround
http://xdaforums.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://xdaforums.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
OMG this helped me so much! 5 broke the scree on my Note 3 and thanks to you I could save all my Whatsapp messages and some pics. Fantastic!
 

EL_REY666

Senior Member
Sep 4, 2010
114
3
with this tool can you do a factory reset?
made a claim with t-mo and new one on its way(note3)
just wondering since i dont want them to get anything off my cell
 

pas7771

Senior Member
Jun 18, 2011
126
9
nexus 6

Hello all,
I have a nexus 6 cracked screen. stock rom and locked bootloader.
I can still put the nexus 6 in fastboot and I can see it with a nexus rootkit.
but usb debugged is not enabled.

Can I still recover data?
and If I use adb to enable usb debugging, will it wipe out data?
Thanks a lot for anyone with some answer.
 
Last edited:

DrPie001

Member
Nov 17, 2011
15
1
I'm having some trouble with this I'm 100% sure I have USB debugging mode is on but I can't actually see the screen under state It says rejected so all i get is a blank window. What do I need to do to be able to see it.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 221
    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 droid@Screen, 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://xdaforums.com/showpost.php?p=66731042&postcount=260 thanks to @Msmtx

    Secure ADB ("unclickable" pop-up)workaround
    http://xdaforums.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://xdaforums.com/showpost.php?p=65891140&postcount=255 thanks to @Scooby00

    If you have any problem, ask me anything.
    12
    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.