Enabling ADB with Broken Screen (or other means of regaining access). - General Questions and Answers

Hey, so my phone's screen recently broke, and it was still working perfectly in Samsung DeX mode. However, I made the mistake of disabling it because something I wanted to do required normal screen mirroring. Now, when I plug the phone through HDMI, I see a padlock on the screen, which normally requires me to enter my pattern to unlock the phone and have the screen mirror normally (but the screen and seemingly touch aswell are broken).
- Samsung S20 FE
- USB Debugging is disabled, so i cant use scrcpy
- I am able to feel vibrations when using a mouse, so maybe there would be a way to enter it blindly, but the pattern is too complex for me to do that
- I don't think I have a normal PIN but I don't recall, some people said pressing space twice on a keyboard then entering it could help, no luck
- I'm was able to see the device once in sideload mode, probably through recovery mode? (screenshot below)
- I currently see the device as unauthorized (2nd screenshot)
I'm pretty much open to any way of doing this, even disabling the pin would be okay.
Thanks in advance!

Managed to fix this using a windows drawing pen, finding where the dots for the patterns are located with vibration, and mapping them on a piece of paper.

another way would be connect TV or monitor with HDMI adapter and connect usb mouse / keyboard

aIecxs said:
another way would be connect TV or monitor with HDMI adapter and connect usb mouse / keyboard
Click to expand...
Click to collapse
The thing is, the pattern doesn't show on the external display.
All you see is a grey screen with a padlock and the time.
If you have a PIN though, that does work cause you just have to hit space twice, type it in then hit enter. Easy even if you can't see.

Related

Screen having 'Phantom Touch' problems

A while back, My old Stylo 2 stopped working due to a very strange (I assume hardware-related) bug that made the phone constantly press the same spots over and over and over, and the screen was entirely unresponsive otherwise. Only those few spots ( 1. About 25% up the bottom right side, 2. The very top right corner, and most prominently 3. Just right of the multitasking button, within its 'hitbox'.) have any effects on the screen at all, and I cannot find places on the screen that are 'touchable' due to the multitasking button being hit over and over and it constantly switching me between apps.
More than anything, I just want to change my USB mode to file transfer to get my pictures off the phone, but even as easy as that is in Android 7 (pull down the top menu, select USB settings, change to file transfer right?) I can't even get the top menu down most of the time, let alone get to the USB settings. On the rare occasion that I do get all the way there, either the multitasking button starts acting up again or the screen stops responding to everything altogether, making the one thing I need to select un-selectable. Much to my dismay, it also seems that I have USB Debugging turned off (I honestly have no idea why or how this was turned off, as I use ADB frequently), so I can't even use ADB to get a screen control app to run. Are there any ways to either force USB Debugging to be on via console (Win8) or otherwise, or control the screen and disable touch without the need for a third-party app?
Yes
007manyo said:
A while back, My old Stylo 2 stopped working due to a very strange (I assume hardware-related) bug that made the phone constantly press the same spots over and over and over, and the screen was entirely unresponsive otherwise. Only those few spots ( 1. About 25% up the bottom right side, 2. The very top right corner, and most prominently 3. Just right of the multitasking button, within its 'hitbox'.) have any effects on the screen at all, and I cannot find places on the screen that are 'touchable' due to the multitasking button being hit over and over and it constantly switching me between apps.
More than anything, I just want to change my USB mode to file transfer to get my pictures off the phone, but even as easy as that is in Android 7 (pull down the top menu, select USB settings, change to file transfer right?) I can't even get the top menu down most of the time, let alone get to the USB settings. On the rare occasion that I do get all the way there, either the multitasking button starts acting up again or the screen stops responding to everything altogether, making the one thing I need to select un-selectable. Much to my dismay, it also seems that I have USB Debugging turned off (I honestly have no idea why or how this was turned off, as I use ADB frequently), so I can't even use ADB to get a screen control app to run. Are there any ways to either force USB Debugging to be on via console (Win8) or otherwise, or control the screen and disable touch without the need for a third-party app?
Click to expand...
Click to collapse
Yes, but I'd appreciate a thanks for the solution! I give and give ...
First, what model number is your Stylo? For instance I have the Cricket variety (H634). Once you figure that out check out my link below with particular attention paid to the "how to enable usb debugging via dialup" step. I just tried it with my Stylo (H634), works great. The link pertains to the LG G6 but it will work on your LG Stylo as well.
https://forum.xda-developers.com/tmobile-g6/how-to/frp-unlock-lg-g6-using-headphone-jack-t3616166
Or just try this ...
Dial *#546368#*_ _ _# (Field Test Mode). Enter your devices model number in the three blanks. Mine for instance would be *#546368#*634# (H634 being the Cricket model number). Go to SVC>LDB> Enable usb debugging
Happy USB'n!

Hardware Button defect - How to turn on Z5 w/o Buttons?

Hey there, I've got a question regarding my broken Sony Z5 and hope you can help me...
A few days ago I accidentally dropped my Z5 on the floor, so back and front glasses both cracked. The Display itself seems to be OK (since it didn't show any failures and the phone was still on and working). Just the Touch functions of the display were not working, meaning I wasn't able to use it anymore.
Since I'd like to get off the data from the phone I remembered I had such a problem with an iPhone 4 some time ago. So to put in my PIN and read it out with my PC I plugged an Lightning to USB adapter in it, and a USB keyboard from a computer. This worked out just fine, I put in my PIN and I was able to rescue my data.
Now I had the same idea with my broken Z5, and connected an USB OTG adapter with a computer keyboard. ...but it didn't work. Wether with a keyboard nor with a USB Mouse (since Android has Mouse support mostly).
After a short search on the web I had to realize the Z5 has USB OTG only after authorizing new devices in the menu.
or, ...as an alternative solution, to start the phone with the desired USB device already connected.
...so I did what seems to be my biggest mistake now: I pushed the reset button in the SIM card tray and hoped I would be able to operate it by mouse after a restart.
...but sadly, I had to realize the Hardware Buttons do not work anymore...
So, ...actually there is no way for me to switch the phone back on and boot.
Of course it will react if I plug the loading cable in it, and it will boot to the loading screen with that green battery.
Does anyone know any way to switch the phone on, without having to touch the buttons?
Perhaps is it possible by a special command/program using a computer?
Or is there an equivalent button on a hardware USB keyboard which acts as the power button or volume rocker?
(so I would be able to boot to the recovery screen instead of the battery-screen. I've read that it's possible to restart the phone from there...?)
I appreciate any help, thanks in advance,
best regards
Schwarzer Riese
Schwarzer Riese said:
Hey there, I've got a question regarding my broken Sony Z5 and hope you can help me...
A few days ago I accidentally dropped my Z5 on the floor, so back and front glasses both cracked. The Display itself seems to be OK (since it didn't show any failures and the phone was still on and working). Just the Touch functions of the display were not working, meaning I wasn't able to use it anymore.
Since I'd like to get off the data from the phone I remembered I had such a problem with an iPhone 4 some time ago. So to put in my PIN and read it out with my PC I plugged an Lightning to USB adapter in it, and a USB keyboard from a computer. This worked out just fine, I put in my PIN and I was able to rescue my data.
Now I had the same idea with my broken Z5, and connected an USB OTG adapter with a computer keyboard. ...but it didn't work. Wether with a keyboard nor with a USB Mouse (since Android has Mouse support mostly).
After a short search on the web I had to realize the Z5 has USB OTG only after authorizing new devices in the menu.
or, ...as an alternative solution, to start the phone with the desired USB device already connected.
...so I did what seems to be my biggest mistake now: I pushed the reset button in the SIM card tray and hoped I would be able to operate it by mouse after a restart.
...but sadly, I had to realize the Hardware Buttons do not work anymore...
So, ...actually there is no way for me to switch the phone back on and boot.
Of course it will react if I plug the loading cable in it, and it will boot to the loading screen with that green battery.
Does anyone know any way to switch the phone on, without having to touch the buttons?
Perhaps is it possible by a special command/program using a computer?
Or is there an equivalent button on a hardware USB keyboard which acts as the power button or volume rocker?
(so I would be able to boot to the recovery screen instead of the battery-screen. I've read that it's possible to restart the phone from there...?)
I appreciate any help, thanks in advance,
best regards
Schwarzer Riese
Click to expand...
Click to collapse
Connect phone in fastboot mode and type adb command in adb tool fastboot reboot
EugenStanis said:
Connect phone in fastboot mode and type adb command in adb tool fastboot reboot
Click to expand...
Click to collapse
Thank you for your answer.
...but how do I get into fastboot mode without the hardware buttons?
The magic keyword is JTAG,
https://forum.xda-developers.com/z5...ction-to-sony-xperia-z5-t3276356#post73943086
Had a similar problem,
My touchscreen went dead. Turn off the phone, plug the usb otg + mouse receiver, turn it on and it should work.
Schwarzer Riese said:
Hey there, I've got a question regarding my broken Sony Z5 and hope you can help me...
A few days ago I accidentally dropped my Z5 on the floor, so back and front glasses both cracked. The Display itself seems to be OK (since it didn't show any failures and the phone was still on and working). Just the Touch functions of the display were not working, meaning I wasn't able to use it anymore.
Since I'd like to get off the data from the phone I remembered I had such a problem with an iPhone 4 some time ago. So to put in my PIN and read it out with my PC I plugged an Lightning to USB adapter in it, and a USB keyboard from a computer. This worked out just fine, I put in my PIN and I was able to rescue my data.
Now I had the same idea with my broken Z5, and connected an USB OTG adapter with a computer keyboard. ...but it didn't work. Wether with a keyboard nor with a USB Mouse (since Android has Mouse support mostly).
After a short search on the web I had to realize the Z5 has USB OTG only after authorizing new devices in the menu.
or, ...as an alternative solution, to start the phone with the desired USB device already connected.
...so I did what seems to be my biggest mistake now: I pushed the reset button in the SIM card tray and hoped I would be able to operate it by mouse after a restart.
...but sadly, I had to realize the Hardware Buttons do not work anymore...
So, ...actually there is no way for me to switch the phone back on and boot.
Of course it will react if I plug the loading cable in it, and it will boot to the loading screen with that green battery.
Does anyone know any way to switch the phone on, without having to touch the buttons?
Perhaps is it possible by a special command/program using a computer?
Or is there an equivalent button on a hardware USB keyboard which acts as the power button or volume rocker?
(so I would be able to boot to the recovery screen instead of the battery-screen. I've read that it's possible to restart the phone from there...?)
I appreciate any help, thanks in advance,
best regards
Schwarzer Riese
Click to expand...
Click to collapse
First of all, are you rooted? Do you have USB Debugging on? If so, you can go for fastboot reboot without the need of powr key. Just plug it in while holding volume up key, type in your terminal or whatever you are using "adb devices", should show your device attached, then type "fastboot reboot" and it should reboot into system. Of course you'll need abd drivers for this.
You said the screen is working but the touch screen is not working?
Edit: Nvm, I tried on my device, you don't even need to have USB Debugging enabled.
With your device powered off, hold volume up key while you plug it in to your computer. A blue led should appear now. Go into your terminal, type adb devices, then fastboot reboot.
Edit 2: wait my bad, i read it wrong, neither your power botton or your volume buttons are working. Wops. that's a problem.
I actually have one solution for you, but only hoping you have USB Debugging and Root on your phone.
Alright, with adb on your computer: type "adb shell" hit enter, then type "su" and hit enter, then "reboot download", hit enter. Now the device should reboot to Flashmode, blue led should appear and screen should be black. Now you can run the command "fastboot reboot" to get into your system.
Hope it helped.. it's kinda tricky. I don't know other ways with no root
montsa007 said:
Had a similar problem,
My touchscreen went dead. Turn off the phone, plug the usb otg + mouse receiver, turn it on and it should work.
Click to expand...
Click to collapse
Thanks, but this is not the solution. As stated, my hardware buttons do not work, so actually I can't "turn it on".
ofmoll said:
Edit: Nvm, I tried on my device, you don't even need to have USB Debugging enabled.
With your device powered off, hold volume up key while you plug it in to your computer. A blue led should appear now. Go into your terminal, type adb devices, then fastboot reboot.
Click to expand...
Click to collapse
Thank you! Thank you! Thank you! It helped! My Z5 is up again, and I was able to save my data. :victory: Thank you so much!
ofmoll said:
Edit 2: wait my bad, i read it wrong, neither your power botton or your volume buttons are working. Wops. that's a Problem.
Click to expand...
Click to collapse
As it turned out (my comment above) the power button seems to be broken, but not the volume button (or at least not completely, since I had to try it 5 or 6 times).
@ofmoll
You did your "good act" for today! I do appreciate that! Thanks again man!
Schwarzer Riese said:
Thank you! Thank you! Thank you! It helped! My Z5 is up again, and I was able to save my data. :victory: Thank you so much!
As it turned out (my comment above) the power button seems to be broken, but not the volume button (or at least not completely, since I had to try it 5 or 6 times).
@ofmoll
You did your "good act" for today! I do appreciate that! Thanks again man!
Click to expand...
Click to collapse
Don't worry mate! Glad to know it helped
Remeber to hit thanks cheers

Dropped phone, screen blank now. Need to recover data/wipe phone

Hi all,
I dropped my OnePlus 6 and the screen is completely blank. The device seems to be working(vibrations and screen unlock lock sounds)
I am on Stock OOS with the latest update installed, completely unmodded(bootloader locked, no TWRP installed, no custom ROM)
I thought I had USB debugging enabled but it seems I have not as 'adb devices' says unauthorized.
I need to pull some data from the phone, what are my best options in this case?
I am ready to flash any TWRP/custom recovery to do this.
Biggest problem is screen is completely blank.
Thanks
Did you check whether the touchscreen still reacts to touch input? Although not the easiest solution but you might try to either authorize it by tapping on the screen multiple times or compare screenshots of where it should be to authorize it. The "Allow" button should be a little bit down further from the vertical center and a little bit to the right. You could just tap dozens of times unless you press "Cancel" on the left side.
You could do this with TWRP as well but there is a risk you tap on the wrong parts and maybe wipe your device accidentally.
Unfortunately, the OnePlus 6 doesn't support HDMI outputs and DisplayLink adapters require an app on the device to work.
Macusercom said:
Did you check whether the touchscreen still reacts to touch input. Although not the easiest solution but you might try to either authorize it by tapping on the screen multiple times or compare screenshots of where it should be to authorize it. The "Allow" button should be a little bit down further from the vertical center and a little bit to the right. You could just tap dozens of times unless you press "Cancel" on the left side.
You could do this with TWRP as well but there is a risk you tap on the wrong parts and maybe wipe your device accidentally.
Unfortunately, the OnePlus 6 doesn't support HDMI outputs and DisplayLink adapters require an app on the device to work.
Click to expand...
Click to collapse
@sigma_p As suggested by Macusercom, you have to somehow enable adb. After that you can try
Scrcpy tool to display your phone on your PC and retrieve your data.
https://github.com/Genymobile/scrcpy
Good luck?

Broken screen, with constant phantom touches preventing everything

My phone's screen was broken, so the touch sensor (capacitive) sensing constant phantom touches, which prevents to do anything with it, even with mouse connected on OTG.
I can't connect on ADB, as once i've allowed my PC to always connect to it, yet asks for a confirmation at every connect, which i can't grant, as if i unlock the phone with fingerprint, the phantom fingers instantly tap the dialog away.
I can connect with fastboot, but it's useless.
My next idea is to disconnect the screen ribbon cable (xiaomi "engineers" were so smart that the display and the digitizer are on same cable... which is weird, as redmi 7 had seperate cables and this redmi note 7 have one), and buy an MHL type-c -> HDMI-OTG adapter, and connect it to TV, and the mouse, then i can access my files... however i doubt that it will work
Any tips how to hack it or something? I'm thinking about that it maybe possible to electronically disable, or "burn out" the touch sensor without disconnecting the screen ribbon. Is that possible? Perhaps the cleaning of screen would kill the phantom?
Any help?
I would like to help you but never had to deal with such a problem.
But let's try:
1. What do you want to achieve? Do you want to backup your data?
2. The phantom touches are instantly and do not stop?
3. Don't know if that works, but... Is the mouse connected to OTG always on the same place? Like does it appear on a fix default position on your screen every time you plug it in or does it remember its last position (or is it random)?
If you know that you could maybe try to detach the display and use the mouse to enable your adb connection constantly. And if that works you could use scrcpy (screencopy. Find it on github) to show your devices display on your computer without having to use your real smartphone display.
User699 said:
I would like to help you but never had to deal with such a problem.
But let's try:
1. What do you want to achieve? Do you want to backup your data?
2. The phantom touches are instantly and do not stop?
3. Don't know if that works, but... Is the mouse connected to OTG always on the same place? Like does it appear on a fix default position on your screen every time you plug it in or does it remember its last position (or is it random)?
If you know that you could maybe try to detach the display and use the mouse to enable your adb connection constantly. And if that works you could use scrcpy (screencopy. Find it on github) to show your devices display on your computer without having to use your real smartphone display.
Click to expand...
Click to collapse
Its a quite common problem, however the most people just buy a new phone, and dump the broken one.
I want to backup one application's data particularly, yes.
Phantom touches are constant, always at the menu buttons.
I cant connect otg mouse and to adb at the same time... 1 usb only.
Why cant i just authrnticate myself through adb?
sanyigz said:
I cant connect otg mouse and to adb at the same time... 1 usb only.
Click to expand...
Click to collapse
I'm sorry. Sometimes I don't see the most obvious things..
sanyigz said:
Why cant i just authrnticate myself through adb?
Click to expand...
Click to collapse
I don't know. What exactly happens if you try that?
You connect your phone with your computer and run some adb command (e.g. "adb devices") and then it asks you to authenticate, right?
And then?
Another question which I think you'll answer with "no": Did you unlock your bootloader?
I just cant do it, and didnt fide any help for it on google.
If i connect it, and list the adb devices, i see "unauthorized" and a dialog pops up on the phone to allow adb connection, but as soon as i unlock the phone the dialog goes away as the phantom touching the menu buttons...
No, the bootloader is not unlocked, else if would be able to save with twrp. I can unlock it with fastboot, but it does a factory reset on unlock...
sanyigz said:
No, the bootloader is not unlocked, else if would be able to save with twrp. I can unlock it with fastboot, but it does a factory reset on unlock...
Click to expand...
Click to collapse
Yes, that won't be helpful.
sanyigz said:
If i connect it, and list the adb devices, i see "unauthorized" and a dialog pops up on the phone to allow adb connection, but as soon as i unlock the phone the dialog goes away as the phantom touching the menu buttons...
Click to expand...
Click to collapse
I have another idea. If you refer to the menu buttons you refer to the home, back buttons right? If your phone support it (and phantom touches allow it) you can go to setting -> System -> Gestures -> System navigation -> gesture navigation. Then click on the setting next to "gesture navigation" and turn of navigation hint.
Whatever those phantom touches are touch now – it won't be any of those menu buttons since they disappeared.
Now, hopefully adb authorization works.
User699 said:
Yes, that won't be helpful.
I have another idea. If you refer to the menu buttons you refer to the home, back buttons right? If your phone support it (and phantom touches allow it) you can go to setting -> System -> Gestures -> System navigation -> gesture navigation. Then click on the setting next to "gesture navigation" and turn of navigation hint.
Whatever those phantom touches are touch now – it won't be any of those menu buttons since they disappeared.
Now, hopefully adb authorization works.
Click to expand...
Click to collapse
As i wrote, i cant do anything on UI, as the phantom always touch back to the menu, or to the photo app, which i cant even pull out from quick access due to the phantom.
Having a ghost touch issue, it's probably not a problem with the software, but it's a hardware problem with your display and the way it's housed inside the chassis of your phone. If you're an engineer and happy taking electronic devices apart ( and have all the required specialty tools ), then you might fix the issue by simply disconnecting the screen from its data connectors for a while and then reseating the screen.
jwoegerbauer said:
Having a ghost touch issue, it's probably not a problem with the software, but it's a hardware problem with your display and the way it's housed inside the chassis of your phone. If you're an engineer and happy taking electronic devices apart ( and have all the required specialty tools ), then you might fix the issue by simply disconnecting the screen from its data connectors for a while and then reseating the screen.
Click to expand...
Click to collapse
It's very hard to do anyting on phone anything blindly...

How can I run Pixel 3 without the screen?

I'm attempting to run a google pixel 3 without the physical screen. The phone will be used in remote management, so I have a remote management utility installed on the device as well.
Everything works flawlessly when the screen is installed - all apps and configurations work as they are intended. However, once the screen is removed, the phone doesn't work. On a pixel 3a I was able to attach just a ribbon cable for the screen without the actual screen, and when I pulled it up in airdroid, it would only display a condensed screen about 1/3 the height. On the Pixel 3 it doesn't load up at all.
I've connected the phone to my computer with USB debugging enabled. Without the screen it shows up in the devices list. But with the screen it doesn't even show up in the devices list. The only way to make the phone operational is to remove the battery cable then restart the phone. About 30% of the time it displays a message upon boot "This device failed to boot, do you want to factory reset", with an option of "yes" and "reboot" (selectable through the volume and power buttons).
Also of interesting note, if I power on the phone without the digitizer connected, I can use AirDroid just fine, but it won't register my clicks on the remote view screen. Which leads to believe the phone is registering the hardware of the screen and digitizer upon boot.
If I disconnect the digitizer and LCD after the phone is booted up, I can attach them both and it'll work. It's just when they're disconnected from the phone during the initial boot phase.
I tested this with a Galaxy S8 previously, and that phone worked just fine without the screen attached, and ran fine that way.
Does anyone have any ideas on how to "register" the hardware correctly? I'm not certain that's what's happening, but it appears to be something with the hardware not registering correctly, or something like that. What's odd, is that it doesn't work even with the ribbon cables attached. It requires the full screen to be connected to the ribbon cables.
I've searched up and down google, but there doesn't appear to be much information available on this, as it appears to be a very specific problem which not many people encounter.
Thanks!

Categories

Resources