How to authorize USB debugging with a dead screen? - Google Pixel Questions & Answers

Hi,
I dropped my Pixel 1 too many times tonight, and the screen died. The phone is still functional, and I would like to be able to mirror it on my PC using Vysor, but for some reason, it seems to have lost the USB debugging rights, as adb devices shows "unauthorized".
Is there any way I can authorize USB debugging so that I can access my device via adb and mirror the screen?
Thanks.

goister said:
Hi,
I dropped my Pixel 1 too many times tonight, and the screen died. The phone is still functional, and I would like to be able to mirror it on my PC using Vysor, but for some reason, it seems to have lost the USB debugging rights, as adb devices shows "unauthorized".
Is there any way I can authorize USB debugging so that I can access my device via adb and mirror the screen?
Thanks.
Click to expand...
Click to collapse
Not sure, but doesn't the device automatically goes into Debugging Mode when entered into recovery mode? I think at least you can access the internal storage then. Not sure if it works, but you can give it a shot and report here.

BenjyTec said:
Not sure, but doesn't the device automatically goes into Debugging Mode when entered into recovery mode? I think at least you can access the internal storage then. Not sure if it works, but you can give it a shot and report here.
Click to expand...
Click to collapse
Thanks for the reply. That might be my last resort. However, while I'm still able to unlock my device with my fingerprint, I'd like to exhaust all my options to gain remote access to my phone via a connected PC, if possible.
Once I reboot, without a working touchscreen, my options would be much more limited since I won't be able to unlock my device.

Related

[Q] Need Debug on, but screen and power button broken, device still on and working

Hi guys!
I brooke the screen and touch of my razr hd, as well its power button.
I'm trying to acess its screen trough the pc using a tool from the forum. BUT I need to have the usb debbuging enabled, wich I don't have.
So, I need to enable it from de pc somehow.
The device is working properly, the pc recognizes it and allows me to deal with its files, the device is turned on and is rooted already.
Someone have any idea of how to enable the usb debugging with the touch and without entering in recovery or fastbootmode?
The only two things I know I can do with it for now is to reset or turn it off trough a command in cerberus.
Sant Mark said:
Hi guys!
I brooke the screen and touch of my razr hd, as well its power button.
I'm trying to acess its screen trough the pc using a tool from the forum. BUT I need to have the usb debbuging enabled, wich I don't have.
So, I need to enable it from de pc somehow.
The device is working properly, the pc recognizes it and allows me to deal with its files, the device is turned on and is rooted already.
Someone have any idea of how to enable the usb debugging with the touch and without entering in recovery or fastbootmode?
The only two things I know I can do with it for now is to reset or turn it off trough a command in cerberus.
Click to expand...
Click to collapse
There's a lot of info out there on this. Various way to recover. Maybe try this:
http://android.stackexchange.com/qu...bug-mode-was-disabled-how-can-i-re-enable-adb
http://android.stackexchange.com/qu...-sg3-with-broken-screen-digitizer/69600#69600
CWGSM3VO said:
There's a lot of info out there on this. Various way to recover. Maybe try this:
http://android.stackexchange.com/qu...bug-mode-was-disabled-how-can-i-re-enable-adb
http://android.stackexchange.com/qu...-sg3-with-broken-screen-digitizer/69600#69600
Click to expand...
Click to collapse
All the info in this 2 tutorials and in other I've found, in some how, ask me to use the buttons to acess fastboot mode or recovery mode, but as I said, they are broken.
I was hoping to find some comand lines via pc and with the device still on to put it to recovery or fastboot mode, cause then I can use adb or fastboot to enable usb debugging.... But, I still don't know how...

[Q] My Nexus 5 screen broke

Well, it happened
I was sitting on a bench and somehow my phone found a way to slide between my fingers and crash. (I must note that it dropped on the bench, which was like 10 cm max fall).
Anyway, I came home, plugged it into my computer and miraculously the phone works even though the screen is all crashed/pixelated/non-responsive.
Is there a way to control my phone with my computer? Like viewing everything on the computer itself?
There are some programs that I need to backup my files there in order to use them on my other phone.
Thanks!
Hi
Thanks for writing to us at XDA Assist. Here is a thread which will be very helpful to you:
[Tool][Windows] Control a device with a broken screen
Good luck!
timmaaa said:
Hi
Thanks for writing to us at XDA Assist. Here is a thread which will be very helpful to you:
[Tool][Windows] Control a device with a broken screen
Good luck!
Click to expand...
Click to collapse
Already tried it.
I can't see if I got into the recovery mode and cmd does not recognize what "adb shell" is.
Even if I somehow reach it (and I'm not sure if I really did) then on windows it gives me an error qhsusb_bulk (driver not found).
Airbender123 said:
Already tried it.
I can't see if I got into the recovery mode and cmd does not recognize what "adb shell" is.
Even if I somehow reach it (and I'm not sure if I really did) then on windows it gives me an error qhsusb_bulk (driver not found).
Click to expand...
Click to collapse
If you're seeing qhsusb_bulk in Windows there's more wrong with the phone than just the screen unfortunately. I think we're going to have to move your thread into the Nexus section so the Nexus experts can lend a hand. Please standby while we have your thread moved.
Good luck!
Transmitted via Bacon
I finally managed to get into recovery mode. It seems like the "qhsusb_bulk" error is gone.
I tried using the adb shell but it doesn't recognize my phone even though device manager sees it perfectly fine.
Any help?
Maybe there is a chance that USB debugging is enabled so I just waste my time, how can I check?
Airbender123 said:
I finally managed to get into recovery mode. It seems like the "qhsusb_bulk" error is gone.
I tried using the adb shell but it doesn't recognize my phone even though device manager sees it perfectly fine.
Any help?
Maybe there is a chance that USB debugging is enabled so I just waste my time, how can I check?
Click to expand...
Click to collapse
Does the "adb devices" command return your serial number?
Transmitted via Bacon
timmaaa said:
Does the "adb devices" command return your serial number?
Transmitted via Bacon
Click to expand...
Click to collapse
Nope, that's the problem I'm facing currently.
It just gives me an error "device not found".
There could be many reasons for that. Unfortunately I'm not terribly experienced with this phone so we'll need to wait for one of the Nexus experts to come and lend a hand.
Airbender123 said:
Nope, that's the problem I'm facing currently.
It just gives me an error "device not found".
Click to expand...
Click to collapse
Please Google "15 second adb installer". Use that to install adb drivers. Then open a command prompt. Make sure you navigate to where adb gets installed (usually in program files) then adb device
Edit: To check Developer Settings go to Settings then About phone. Tap your build number 7 times. This will enable developer options in settings. Turn on developer mode there.
Sandman-007 said:
Edit: To check Developer Settings go to Settings then About phone. Tap your build number 7 times. This will enable developer options in settings. Turn on developer mode there.
Click to expand...
Click to collapse
Ummm that's kind of hard to do with a shattered display.
OP Just follow sandmans advice to get the drivers right and you'll be able to follow the tools instructions you're trying to use to enable USB debugging. If you just want your data off you could also just use:
Code:
adb pull /sdcard
Is your Bootloader unlocked?
If USB debugging is not enabled in Android and you can not enable it in android due to unreadable screen,
Your only option is to ADB shell from custom recovery such as TWRP.
You can only boot into custom recovery if your bootloader is already UNLOCKED.
theesotericone said:
Ummm that's kind of hard to do with a shattered display.
Click to expand...
Click to collapse
Not really. There are some tools out there that let you view and control your screen on a PC.
Sandman-007 said:
Not really. There are some tools out there that let you view and control your screen on a PC.
Click to expand...
Click to collapse
Yes there are. The OP is trying to use one of them. He has a broken screen and is unable to use the screen on the device. He does not have USB Debug enabled. To use the program to mirror screen you need USB Debug enabled. See the catch-22 there? His only hope is to enable it via recovery and ADB. But as @joegestes points out if he's not already unlocked he needs to unlock for that. Unlocking wipes the phone. Another catch-22.
This thread is still alive?

Recover Data Broken Screen

Hello all.
Unfortunately I dropped my phone last week which result in a broken screen (Glass got broken, as well as the lcd, black screen, touch works sometimes). Now I'm sitting here, trying to recover all my important data.
First guides you find on the internet are about some Backup Software for windows. Just connect your phone and youre ready to go.
(Almost, as you need to verify the connection or have to have adb/ usb debugging enabled, which I don't unfortunately.)
So those things about adb backup do not work aswell.
I do have a custom rom installed http://forum.xda-developers.com/g-flex2/general/update-to-marshmallow-t3399953.
Does this custom rom install a recovery? I tried booting into recovery like 100 times by pressing volume down as well as the power button. But without any optical feedback this is hard and I'm not 100% sure if it is even installed.
If not, wouldn't it be an option to install twrp or cwm? Is this possible without usb debugging enabled? I've managed to do this on samsung devices, even without adb through odin, while connecting the device in download mode. Is there something similar for LG?
I think if I get to manage to enable usb debugging it would work perfectly fine, I would be able to backup won't I?
Last thing I would try is buying an slim port to hdmi adapter, connect to pc and verify the connection to the backup software using an hdmi monitor. I think this would work, but maybe theres some way I overlooked which don't need me to buy this adapter.
Thanks for your Help,
Whitz
Unfortunately the Device won't show up when executing "adb devices".
Maybe because the device isnt unlocked at time of being?
The Device isnt recognized by the Computer either, so maybe the connection is unfortunately set on "Only Provide Power" or whatever this mode is called in english
Any further tips?

Broken Screen

Hello guys, my phone dropped today and half of the screen is not working anymore. Also the touch does not seem to work. The problem is I just want to copy my photos to my computer but i cant because of the phone is locked and it needs a pattern password to unlock. Is there anyway without replacing the screen to copy my photos or unlock the phone. Thank you.
Hi,
You can plug an OTG cable and plug in a mouse to work around the touch screen issue. Other possibility is trying to boot in recovery mode to manage the files via USB, though I'm not sure if it would allow you to access internal data using adb or not.
All the best,
~Lord
XxLordxX said:
Hi,
You can plug an OTG cable and plug in a mouse to work around the touch screen issue. Other possibility is trying to boot in recovery mode to manage the files via USB, though I'm not sure if it would allow you to access internal data using adb or not.
All the best,
~Lord
Click to expand...
Click to collapse
Hey i do have the USB OTG and i plugged in a mouse to try to enable the adb debugging but the problem is that i can't see the screen so i am working blindly and trying to 'guess' where i should click.
The thing is i can unlock my phone with the fingerprint, but when i connect it to the computer the files do not show, i believe there is a button i have to click to enable MTP ?
I really can't believe its that hard to copy some files from my phone just because the screen is black
Hi,
Yes there is a button to enable MTP and it is in fact hard to enable it without looking at the screen. Have you tried booting in Recovery to access your files?
All the best,
~Lord
XxLordxX said:
Hi,
Yes there is a button to enable MTP and it is in fact hard to enable it without looking at the screen. Have you tried booting in Recovery to access your files?
All the best,
~Lord
Click to expand...
Click to collapse
Yea but i have the stock recovery is there a process/way to access my files other than just booting to recovert?
My phone has latest stock rom and rooted.
Please any help to recover my files since i was checking a screen repair will cost me around 200$
You must instal twrp recovery, with odin. After boot into twrp. So i rimember, twrp mtps is active defoult.
levanitit said:
You must instal twrp recovery, with odin. After boot into twrp. So i rimember, twrp mtps is active defoult.
Click to expand...
Click to collapse
i tried with my older S3 before doing all this process on the S6. I already have TWRP on the S3 and you are write when i click the button on the right it says MTP is enabled but when i plug it in the PC, the device doesn't show any files? any ideas on how to fix this/ can you try it on your device?
Thanks in advance.
Me too hade same problem. It is usb driver problem. I insttal driver and fixed. but dont rimmeber wich one. Search youtube twrp mtp problem.

Cracked screen, is there anyway to get my files transferred?

Title. The charging etc still works but no display. But if I plug into pc, the default is charging, I can't select the transfer mode. ADB/developer mode is enabled
Phone is rooted. If there is any way to get to my photos/files I'd greatly appreciate any advice. Am planning to send phone for repair to Oneplus but they wipe data.
Try this if you have adb access.
https://github.com/Genymobile/scrcpy
Kinghacker said:
Try this if you have adb access.
https://github.com/Genymobile/scrcpy
Click to expand...
Click to collapse
Tried launching it. I'm 99% sure I enabled usb debugging and pretty sure I enabled adb. But I still get "device unauthorized" when I try to access the adb shell
Leeoku said:
Tried launching it. I'm 99% sure I enabled usb debugging and pretty sure I enabled adb. But I still get "device unauthorized" when I try to access the adb shell
Click to expand...
Click to collapse
Adb needs Authorization. You have to guess and click "Allow" if touch is working.
Adb works only if you have previously authorised the pc. If you have authorised some pc(even OS change matters) before, you can try using that.
Sadly our device doesn't support DisplayPort over type-c i.e. type -c to hdmi.
Do you have TWRP installed ? If yes, you can try boot into TWRP and connect your phone to your PC.
Azhar_Fahry said:
Do you have TWRP installed ? If yes, you can try boot into TWRP and connect your phone to your PC.
Click to expand...
Click to collapse
Do have TWRP but the screen doesn't even power on so I can't even see the screen when I boot into it... O well I had most of the stuff backed up rest will be an expensive lesson

Categories

Resources