yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] AndreasH.:
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
[Android Software/Hacking General [Developers Only]] Droidriven:
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.
[Android Software/Hacking General [Developers Only]] Medicina200401:
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
[Android Software/Hacking General [Developers Only]] Droidriven:
Is USB debugging enabled in your phone's developer options settings?
[Android Software/Hacking General [Developers Only]] Medicina200401:
Hi. If I have it activated. Already solved. I was missing installing JAVA.

It works very slow, but it works

Thank you
[Android Software/Hacking General [Developers Only]] LauraAmerica:
Hi [MENTION=4270107]k.janku1[/MENTION]

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!
[Android Software/Hacking General [Developers Only]] rebgershon:
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 Droid@Screen 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
[Android Software/Hacking General [Developers Only]] k.janku1:
Yes, as part of it is written in Java, you need to have it installed on your system.
[Android Software/Hacking General [Developers Only]] Briand2714:
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.
[Android Software/Hacking General [Developers Only]] Candelarioo:
Idioma en español
[Android Software/Hacking General [Developers Only]] MaciejF:
not work

not working on galaxy j5 2017. Need help
[Android Software/Hacking General [Developers Only]] Asementer334:
It's one of the most useful programs ever. Unfortunately, it doesn't work with my PC. I don't really understand the reason.
[Android Software/Hacking General [Developers Only]] haigin:
my device is realme x with broken screen. Im stack enabling debugging through recovery. i think i can boot recovery mode with button but the adb devices not recognized, adb shell also say no device list/

cant find path. do you guys any solutions? thanks
[Android Software/Hacking General [Developers Only]] neptunegames:
Wow this is awesome
[Android Software/Hacking General [Developers Only]] Briand2714:
Same thing is happening to me with my old Note 3
[Android Software/Hacking General [Developers Only]] diehard2013:
age restricted?
[Android Software/Hacking General [Developers Only]] gaara22:
Is this app still available?
[Android Software/Hacking General [Developers Only]] tymoteuszandres:
Hi Guys!

Last week I broke screen in my old OP6. In general, the device is working, the screen is black but the touchscreen works almost well. What I did at first is I turned Google Talkback on and checked if the USB debugging was enabled. Here's the thing, theoretically everything should work perfectly, USB debugging is enabled, Java is installed, drivers for my device is installed, I can also confirm debugging after pluging USB cable which I did many times. But still, the state of the device in Droid@Screen is offline or rejected. I'll be greatful for any help!
[Android Software/Hacking General [Developers Only]] Waifuist:
OMG Thanks a lot!!! you and @Msmtx

99% of the guides on the internet say it's impossible to do, I searched for two weeks without success.... and I finally come across the only person on Xda who gave the right solution!

my case :

broken screen

rooted phone

no usb debugging activated

thanks to the solution mentioned above, I managed to activate the usb debugging and used Scrcpy to display my phone on my pc and do everything on it!!!!!!
[Android Software/Hacking General [Developers Only]] jamil sabouni:
شكرا مفيدا جدا

Mod edit - translated by Google:

Thanks very helpful
[Android Software/Hacking General [Developers Only]] fabianopereira_06:
Shell Adb

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"
[Android Software/Hacking General [Developers Only]] jithumon:
Dude...this one is awesome.. :)
[Android Software/Hacking General [Developers Only]] Derpinson:
Love this idea, i'd like to see this on mac someday (:

great job
[Android Software/Hacking General [Developers Only]] 1dtms:
lol it works! it is now casting the screen!

i can use my phone to back up again!!!

Amazing! thank you for this!

now to find where my app data is stored...
[Android Software/Hacking General [Developers Only]] k.janku1:
I'm happy to hear that :D
[Android Software/Hacking General [Developers Only]] 1dtms:
Not sure how long it will take but it's starting to back things up right now!
[Android Software/Hacking General [Developers Only]] scumpicule:
Hello

Thanks for this amazing tool

Anyone can compile or provide me a kernel with enable USB debuging for S3 & Note 2 4G (n7105) please ? Or where i can find that if there all ready exist please ?

Thanks ;)
[Android Software/Hacking General [Developers Only]] AthenaLod:
I read that in your first post. But, the error keeps coming up, even after the first run and the creation of the tools folder (which now contains: adb.exe, AdbWinApi.dll, AdbWinUsbApi.dll and droidAtScreen-1.1.jar). What do you think?
[Android Software/Hacking General [Developers Only]] k.janku1:
You'd need to find a rom/kernel developer, who could do that for you, or just do it yourself: http://xdaforums.com/showthread.php?t=1659584
[Android Software/Hacking General [Developers Only]] k.janku1:
I have no idea how can that be possible, try downloading it again.
[Android Software/Hacking General [Developers Only]] deepamin1994:
advice

An amazing tool, works like a charm!!

it would be great if you can add option for unlocking a device having pattern lock! ;)
[Android Software/Hacking General [Developers Only]] k.janku1:
Will do that, thanks for the suggestion
[Android Software/Hacking General [Developers Only]] scheirere:
Hmm....not having any luck here. I can get as far as the screen with the keyboard. ("Ultimate touchscreen control for android")

I'm a nube so let's start at the beginning. Download the tool and then execute it (click on it), correct? Anything else?
[Android Software/Hacking General [Developers Only]] Sithhy™:
Thanks for this wonderful app :cyclops: If I only wouldn't destroy my Galaxy's S2 screen 5 months ago... :crying:

P.S. Pozdrowienia z Polski
[Android Software/Hacking General [Developers Only]] k.janku1:
Enable usb debugging, connect your phone to your pc via usb cable, nothing else
[Android Software/Hacking General [Developers Only]] smogf:
Same here :(
[Android Software/Hacking General [Developers Only]] k.janku1:
Seems that it doesn't work on windows XP
[Android Software/Hacking General [Developers Only]] Royal hacker:
bro it requires netframework 4.5 which doesnt support
[Android Software/Hacking General [Developers Only]] gr8hairy1:
Love this program! I work at an At&t dealer in Michigan and we had a customer who needed to send their broken phone to the insurance company. But they wanted everything wiped off. We were able to do that with this program. Thanks so much for making it!

By the way, to get it to work, I added the extension .exe onto the end of the program and then ran it as administer.
[Android Software/Hacking General [Developers Only]] lipanz:
no luck for me...it says rejected on the app and on the phone screen never show any prompt to allow debugging from the computer.. tried few times reconnecting..still the prompt didnt appear..
[Android Software/Hacking General [Developers Only]] Kiskoko:
Is it possible to use gestures somehow?

Asking it because my appdrawer dont have icon, can enter it via swipe up gesture only...

Btw its a super app, always wanted to use something like this :)
[Android Software/Hacking General [Developers Only]] k.janku1:
I'm looking forward to implementing this option, but it requires seperate code for each screen resolution
[Android Software/Hacking General [Developers Only]] Kiskoko:
Nice, waiting for it :)

My screen resolution is HD, its also missing from the program
[Android Software/Hacking General [Developers Only]] k.janku1:
It's there (1080x1920)
[Android Software/Hacking General [Developers Only]] allc0re:
The new version works great! Able to swipe unlock after choosing my resolution. Reboot to recovery is a nice touch. EXCELLENT JOB! :good:
[Android Software/Hacking General [Developers Only]] Kiskoko:
I meant 720x1280, not Full HD.
[Android Software/Hacking General [Developers Only]] k.janku1:
Just added it :good:

use the same link
[Android Software/Hacking General [Developers Only]] robroy90:
Thanks for this!

What a great tool, thanks for releasing it! Could it be improved to:

1. Offer the same features over a WiFi connection (installing it before a screen mishap, obviously)

2. Offer Mac support

Thanks!!!

-Rob
[Android Software/Hacking General [Developers Only]] k.janku1:
You can use it with WiFi, if you enable ADB over WiFi, though not all phones have this option

It'll probably never work on Mac's as they don't support .net framework which is necessary for the app to work
[Android Software/Hacking General [Developers Only]] k.janku1:
Windows XP finally supported thanks to smogf!

Link in the first post!
[Android Software/Hacking General [Developers Only]] smogf:
Work with Xperia SP so far. Other devices... not tested.
[Android Software/Hacking General [Developers Only]] dragancla:
Amazing tool! Especially the ADB over WiFi implementation.

Would pay good money to have this if only there wasn't a 4.9 second lag on the screen with lowest resolution and if I could use the computer mouse as a pointer (like bluetooth mice work)
[Android Software/Hacking General [Developers Only]] DaveTheRave:
Fresh Install, RSA Key Fingerprint

Great app, thanks for creating it!

I recently acquired a broken Nexus 4 with a bad digitizer and this was just the app I was looking for so I can convert this device to a Android set top box.

However, on a fresh install it's easier said than done. There's several issues that needs to be worked out. Enabling USB Debugging is one, which I have found out, but ever since 4.2.2 you're now required to add the computer's RSA Key Fingerprint to the device. How am I suppose to press "OK" to Allow USB Debugging if the screen is broken? My

solution

right now is to boot an insecure boot.img, but even when doing so you face another problem to deal with.

The setup. It's impossible to continue without glitching (or maybe I'm doing something wrong). After spamming "up" "center" "enter" and etc I was able to get it to proceed past the first setup screen. However, the Japanese language was selected at the time of glitch and I had to go into settings to change it to English. Now my stock Launcher is displaying the default tooltips upon fresh install that I cannot select to close. Frustrating!

Anyways, here's the steps I took to get to where I'm at:

1) Unlocked, Flashed, and Boot into Philz's ClockworkMod Recovery and ran ADB on my machine

Mount /system and pull /system/build.prop

Add this line to the very end: persist.service.adb.enable=1

Save the file and push back to device

2) Either pull /data/data/com.android.providers.settings/databases/settings.db and set adb_enabled to 1 using a Sqlite Database Editor or run the following:

adb shell
su
sqlite3 /data/data/com.android.providers.settings/databases/settings.db
update global set value=1 where name='adb_enabled';
exit

3) Boot a modified, insecure boot.img file to bypass RSA Fingerprint

This was easily accomplished for me by using WuFresh's Nexus Root Toolkit "Advanced Utilities" and selecting "Boot Modified boot.img". Only downside to this simple method is non-Nexus users will be less fortunate and will have to seek an alternative.

Now I'm attempting to setup a VNC Server on the phone so I can have full mouse/keyboard support, which is vital if I am to get any use out of this Nexus 4
[Android Software/Hacking General [Developers Only]] k.janku1:
I believe the lag is caused by adb working so slow, maybe in the future with usb 3.0 on phones or better WiFi speeds it gets better. What you should do is install a vnc server app on your phone.
[Android Software/Hacking General [Developers Only]] dragancla:
Yeah, a VNC server would solve it, but it would be awesome if you could implement it in your tool like, say, support for a VNC app or even it's own app you could install on the device. If it would have that it would probably be used for everyday use. Could be a premium feature of sorts.

Just don't stop developing it. It has great potential! :)
[Android Software/Hacking General [Developers Only]] k.janku1:
Ok, It's ready
[Android Software/Hacking General [Developers Only]] Kiskoko:
Thank you very much! Awesome!
[Android Software/Hacking General [Developers Only]] PlutoDelic:
Looks good and smells delicious
[Android Software/Hacking General [Developers Only]] ericcorp:
I wonder if it's possible to run this in Linux with WINE? That's a .net framework replacement (not emulator :) ) right?
[Android Software/Hacking General [Developers Only]] smogf:
Why dont you give a try?
[Android Software/Hacking General [Developers Only]] ericcorp:
Oh, snark! I'm working on it now. I just don't have a Linux box handy, so I'm rolling an Ubuntu on an old laptop I had laying around. I'll have a trip report tomorrow probably.
[Android Software/Hacking General [Developers Only]] k.janku1:
This is what I got for now on Kali Linux (based on Debian, I think)

root@kamil:~/Desktop# wine Android\ Control.exe
wine: created the configuration directory '/root/.wine'
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:iphlpapi:NotifyAddrChange (Handle 0xc9e92c, overlapped 0xc9e910): stub
wine: configuration in '/root/.wine' has been updated.
wine: Install Mono 2.8 or greater for Windows to run .NET 4.0 applications.
root@kamil:~/Desktop#
[Android Software/Hacking General [Developers Only]] VillaVor:
[MENTION=225651]op[/MENTION] Please make for 240x320 sir, couldnt get into recovery mode due broken button.

Thanks
[Android Software/Hacking General [Developers Only]] smogf:
You can try to install Mono, or try to install dot NET using winetricks.
[Android Software/Hacking General [Developers Only]] raudidroid:
:( :crying: :(

well that certainly sound cool. BUT is there an explanation what it means ;)

like an explanation of what to do? I don't need a youtube step-by-step instruction but some details would be nice.

I have a 3 week old Z2 with updated firmware that has a smashed screen and 2 wekks of holliday pictures on it. I'd love to make that holiday again and re-take the pictures. but my boss and my bank say NO :cowboy:

any help appreciated

---------- Post added at 09:50 AM ---------- Previous post was at 09:42 AM ----------

now that I found your post, let me ask you directly:

I have a 3 week old Z2 with updated firmware, no root, no usb-debugg, no unlocked bootloader but it has a smashed screen and 2 weeks of holiday pictures on it. I'd love to make that holiday again and re-take the pictures. but my boss and my bank say NO

is there a chance to get my pictures back?

connected to my PC adb does not find any devices.

I don't even manage to boot to recovery (kind a difficult to press volume keys at the correct time because the indicator LED is smashed too)

is there still a chance to enable usb-debugging? (or get my pics any other way)

I don't need a youtube step-by-step instruction but some details would be nice (like what means "sideload", where do I get the file and what to change).

any help appreciated
[Android Software/Hacking General [Developers Only]] JadeMonkee:
I had the same error. Choosing javaw.exe in the "Open With..." dialog box wasn't enough to fix it either. I had to run this program:

http://johann.loefflmann.net/en/software/jarfix/

Works after this.

However, the utility of the app is mooted as the 'swipe to unlock' and the 'Disable pattern lock' options don't work on my HTC One, meaning that I can't actually get passed the lock screen (swipe to unlock is in a different place, and requires a swipe up - and disabling the pattern lock is handled differently on HTC Phones [I know this because Secure Settings needs a different method to disable the lock screen]).

Does the VNC 'upgrade' offer the ability to interact with the screen using a mouse, specifically, to do the unlock pattern?
[Android Software/Hacking General [Developers Only]] k.janku1:
Tried that but I didn't have enough space on my linux box :/ will try again today on a different pc
[Android Software/Hacking General [Developers Only]] k.janku1:
It does but you'd still need to install a vnc server app on the phone before. I am going to see how that htcs work and probably fix the problem
[Android Software/Hacking General [Developers Only]] k.janku1:
Adb sideload is a feature that was added to aosp recovery in the jelly bean update. Basical it lets you flash a zip from adb while in recovery. That's all I know for now, I've tried modifying a kernel myself but didn't have any success yet
[Android Software/Hacking General [Developers Only]] JadeMonkee:
If it's any help, the method that works in Secure Settings (https://play.google.com/store/apps/details?id=com.intangibleobject.securesettings.plugin&hl=en) is the "Lock Settings (Experimental!)" option. You may be able to get in contact with the developer to see how he gets it to work.

Also, I've attached an image (had to zip it to get around size restrictions) of my lock screen, so that you can see where the unlock area is. You can swipe up from either the padlock, or anywhere on the weather display to unlock the screen.

Hope that helps, and thanks for your response!
[Android Software/Hacking General [Developers Only]] k.janku1:
I've tried the other methods but couldn't get any of them to work via adb. You can use the google device manager to change the pattern to a password and type it in. I'll also add the swipe up option
[Android Software/Hacking General [Developers Only]] k.janku1:
Done! ;)
[Android Software/Hacking General [Developers Only]] JadeMonkee:
Good thinking with the Device Manager.

And thanks for adding the swipe up option.
[Android Software/Hacking General [Developers Only]] ogonzuhnina:
What about creating a window with semi transparent background, it could be then moved on top of screencast and when clicked in the window, a "adb shell input tap..." command could be sent to utilize touch gestures, the same with swipe gestures (based on location of mouse in the scallable window, and previously set resolution)

that's the only thing i miss

Oh, and maybe an About.. section with page links and Check for update button :D
[Android Software/Hacking General [Developers Only]] k.janku1:
1. Tried doing that, but It's very complicated with all the screen resolutions and I don't think even possible with visual basic.(No way I'm going to learn c++ while going to high school no time or resources)

2.The about window is actually a good idea, thanks!
[Android Software/Hacking General [Developers Only]] k.janku1:
*finally added
[Android Software/Hacking General [Developers Only]] smartymcfly:
I was wondering how you planned on using the phone as a set top box? How do plan to have it setup and how are going to control it etc...

I didn't know the nexus 4 supported HDMI out?

I never thought about utilizing as a set top box. I know that there is an app to make the phone act as a chromecast receiver, and there is XBMC.

I also have a nexus 4 with no response on touch screen that picked up for $20 that I planned on using a wifi-hotspot for at home but can't because the imei is blacklisted so all I can do is use it as USB flash or now as a set top box.
[Android Software/Hacking General [Developers Only]] AAbounegm:
Hi,

I tried your app on my phone, and it's amazing. It only misses the option to control the phone from the screen directly, but it's still good. I just have one problem. My cousin's phone has its screen broken and USB debugging is not enabled. It is fully stock and has no custom recovery and I can't change anything other than the stock. I read your solution about the kernel but I can't sideload anything. Also, the device is not rooted. What can I do now to enable USB debugging (without being able to touch the phone) or to use the app without USB debugging enabled??

Please Help. Thanks in advance.