One plus 6: display black, can't see nothing try to connect via adb to enable function and use OTG cable to television or something else - OnePlus 6 Questions & Answers

Hi to all,
how are you?
It's still a very long time i don't wirte here.
So i was a happy owner of a oneplus 6 from may 2019. I haven't problem and all works so well.
During a trip with fog and rain, the phone was wet and full of humidity, i had to use it during the rain 2 times to find the way to come back. When i was in home the display never respond. I tried to dry with a hairdryer but i won't go. In the meantime i buyeg a motog22 waiting to adjust my oneplus.
I'm using the original oneplus os, with last updates of august
So i remember i enabled the developers mode on my phone and i hoped also usb debugging and otg was enabled to cast the screen with this: https://plugable.com/products/uga-4khdmi (there are also the displaylink driver that tart at trhe phone startup), but i won't activate, don't no why.
Then i decided to try via adb to unblock wifi and other thing and make it usable with otg or thing like this: https://github.com/Genymobile/scrcpy
When i started abd i got this:
D:\myfolder\platform-tools>adb devices
List of devices attached
phonenumber unauthorized
I read some xda and stackoverflow posts but can't find a solution.
To authorize it i tried to delete adbkey inside .adroid folder, kill and start server but nothign working also cause the phone want an authorization that i can't give cause i can't see my display even if the display vibration is working and maybe also the touch.
Then i tried this:
adb reboot recovery
error: device unauthorized.
This adb server's $ADB_VENDOR_KEYS is not set
Try 'adb kill-server' if that seems wrong.
Otherwise check for a confirmation dialog on your device.
So i tried to restart the phone in boot recovery trying to see if the authoriaztion is enabled by default, but nothing happen.
I just wanted to push the keys to my phone and then using adb to reactivte wifi and something else almost to cast my phone or make a backup of some application (like google auth or microsoft auth...)
Are there an extreme solution or i have to wait the display and change it? I know this is the best solution but without this phone i have some activities...bloked It's incredible!
Thnks in advance for you help!
Bye

Related

[Completed] Screen inaccessible(no display) usb debug disabled cmd help

Nexus 5 running 5.1 stock
I had recently and sadly had an accident with my phone where the screen is completely useless. Shattered is a harsh word, but it's sitting in that condition. It does however still turn on. There are parts of the screen that display, but for some odd reason, its completely mirrored and upside down.
I have Android tools and drivers installed. And knowing something like this might happen, I had USB debugging enabled. BUT, for even stranger reasons, I'm guessing it's disabled because through cmd on platform-tools, it says it's unauthorized. Though the little window of display my phone pushes, I'm guessing I'm getting a dialog asking for USB debugging to be enabled. I'm not too sure how I got to this window, but it randomly appears on restarts of the device, and half the time, it just restarts normally like any restart.
I was wondering if there was a way I can push a command line using cmd on my PC to accept or continue from the dialog box that I literally can't see.
I looked far and wide on Google and this beloved website, but am having a hard time finding a solution.
The device is bootload unlocked, running stock on Lollipop.
I do not know if rooting and installing TWP will affect my data, as it is the only thing I really don't want to lose. I wish to keep stock as I am completely fine with it and I have tried custom Roms, but I still wish to continue using stock.
I'm not too familiar with some words used in explanations on this site, so please respond as if I'm 7 years old :silly:
My initial goal was to (while having usb debug enabled) fastboot (i think i'm using the right term) Mobizen, then mirror the screen on my pc, and control the device to upload everything to my cloud storage.
momostarz said:
Nexus 5 running 5.1 stock
I had recently and sadly had an accident with my phone where the screen is completely useless. Shattered is a harsh word, but it's sitting in that condition. It does however still turn on. There are parts of the screen that display, but for some odd reason, its completely mirrored and upside down.
I have Android tools and drivers installed. And knowing something like this might happen, I had USB debugging enabled. BUT, for even stranger reasons, I'm guessing it's disabled because through cmd on platform-tools, it says it's unauthorized. Though the little window of display my phone pushes, I'm guessing I'm getting a dialog asking for USB debugging to be enabled. I'm not too sure how I got to this window, but it randomly appears on restarts of the device, and half the time, it just restarts normally like any restart.
I was wondering if there was a way I can push a command line using cmd on my PC to accept or continue from the dialog box that I literally can't see.
I looked far and wide on Google and this beloved website, but am having a hard time finding a solution.
The device is bootload unlocked, running stock on Lollipop.
I do not know if rooting and installing TWP will affect my data, as it is the only thing I really don't want to lose. I wish to keep stock as I am completely fine with it and I have tried custom Roms, but I still wish to continue using stock.
I'm not too familiar with some words used in explanations on this site, so please respond as if I'm 7 years old :silly:
My initial goal was to (while having usb debug enabled) fastboot (i think i'm using the right term) Mobizen, then mirror the screen on my pc, and control the device to upload everything to my cloud storage.
Click to expand...
Click to collapse
Hi, thanks for using XDA assist!
Please direct your question here for further assistance:
http://forum.xda-developers.com/google-nexus-5/help/help-thread-nexus-5-question-t2496506
Good luck!

Can I authorise ADB with a broken screen that does not show anything?

Hi all!
Unfortunately, I dropped my OP6 at a gig last night and the screen is decimated, cannot see anything and I cannot interact with it.
I took some photos and videos that I really want to keep but as wifi is off Photos will not back up.
My hope is to switch on wifi using adb, not sure if that is even possible but before I can try this I need to authorise adb on the device, which I cannot do with the screen being in the state it is.
I can see the device when issuing adb devices but of course it tells me it is unauthorised. Is there a way I can authorise adb on this phone to allow me to switch on wifi?
All of the research leads me to solutions where the digitiser is broken but the screen is still visible and the issue is solved using OTG adapter, this solution will not work for me.
Any feedback is very much appreciated!
Thanks!
deucalion0 said:
Hi all!
Unfortunately, I dropped my OP6 at a gig last night and the screen is decimated, cannot see anything and I cannot interact with it.
I took some photos and videos that I really want to keep but as wifi is off Photos will not back up.
My hope is to switch on wifi using adb, not sure if that is even possible but before I can try this I need to authorise adb on the device, which I cannot do with the screen being in the state it is.
I can see the device when issuing adb devices but of course it tells me it is unauthorised. Is there a way I can authorise adb on this phone to allow me to switch on wifi?
All of the research leads me to solutions where the digitiser is broken but the screen is still visible and the issue is solved using OTG adapter, this solution will not work for me.
Any feedback is very much appreciated!
Thanks!
Click to expand...
Click to collapse
If you have the developer options already activated and have already used adb with your phone in your computer I think it authorizes automatically.
In my case I don't have to authorize my phone every time.
If you haven't done this I think there aren't much options but to replace the screen
Hi There,
That is my problem, I have not yet used ADB with this device so I had not yet authorsied ADB on the device.
So far I have not uncovered a way of doing this, it looks like I will be losing a lot of photos and videos

Broken AMOLED, digitizer good. Is data recovery a possibility?

Dropped my op6 flat on its face the other day:crying::crying::crying:
Anyways.. I'm trying to get the data off of it before i attempt the feat of replacing the screen. Like the title says, the digitizer is good, l can unlock it by remembering the screen lock, but I fumbled all yesterday trying to cast my screen. I had slivers of screen I could see there, just couldn't get it to send. No usb debugging and I obviously didn't turn usb mode to file share. Please help if you can, thanks.
If you have TWRP installed, reboot to recovery and just connect your phone to your PC via USB - MTP should be active by default. Inputting the decryption code if you can't see much of what you're doing can be a problem, though.
If you don't have TWRP installed however, you can try using scrcpy (just search for it on Google and you should find its GitHub repo with instructions). It uses adb to run, meaning it requires usb debugging to be on, but the good thing is, as long as your phone is unlocked (not on lockscreen), you should receive a prompt asking to enable debugging just by running the scrcpy executable. Since said prompt is always in the center of the screen (screenshot attached), and you only need to click 2 separate things on there (always allow checkbox & the allow button) to get things going, you should be set fairly quickly. Hope this helps!
Thanks for your reply, this did work and it was very simple.
sublim3style3 said:
Thanks for your reply, this did work and it was very simple.
Click to expand...
Click to collapse
Great! Glad it worked for you

Unlock Screen through PC??

My wife dropped her Pixel 4a yesterday and completely broke the screen. You can't see anything except done bright green splotches and lines and it doesn't respond to touch. I bought her a new phone and synced her account, but because her Drive storage was full, the last months photos are not synced. I upgraded her to the 100gb plan and let the broken phone sit hoping it would automatically upload the missing photos but it did not.
So at this point my only options are to somehow connect it to my computer and get them, or replace the screen. I'd rather not pay $140 to replace the screen JUST to get a month's worth of photos.
My question is, can I connect the phone to the PC and remotely enter her PIN and then access the files?
I searched online but the two softwares I found say they will wipe data.
x_orange90_x said:
My wife dropped her Pixel 4a yesterday and completely broke the screen. You can't see anything except done bright green splotches and lines and it doesn't respond to touch. I bought her a new phone and synced her account, but because her Drive storage was full, the last months photos are not synced. I upgraded her to the 100gb plan and let the broken phone sit hoping it would automatically upload the missing photos but it did not.
So at this point my only options are to somehow connect it to my computer and get them, or replace the screen. I'd rather not pay $140 to replace the screen JUST to get a month's worth of photos.
My question is, can I connect the phone to the PC and remotely enter her PIN and then access the files?
I searched online but the two softwares I found say they will wipe data.
Click to expand...
Click to collapse
You MIGHT be able to get the phone to show up on Windows by mirroring it (either over USB or over Wi-Fi).
My phone isn't broken, but I can easily mirror the phone and unlock the lock screen and view it and control it using free software on Windows.
You can also mount the entire phone onto Windows as a drive letter over Wi-Fi if you have a webdav server on it.
Here are some screenshots of what I do, and I have some tutorials here on how to set that up if you need them.
if you didn't enable usb debugging before the accident, nothing can be done now
Nfury00701 said:
if you didn't enable usb debugging before the accident, nothing can be done now
Click to expand...
Click to collapse
Good point!
I assumed the op had already enabled USB debugging.
In fact, most people I know (including me) enable Developer Options the instant we get a new phone, and then we enable Mock Location and USB Debugging the second instant, so every Android device I've ever touched has had those two options set as the first things done.
But the user we're both trying to help might not have done that.
If he has any server (FTP, WebDav, SMB, etc.) set up to run at boot time, then he still has a chance (as most people set up one of those also, as far as I know).
If not, this is a lesson to the rest of us to have a failsafe plan if the screen won't work (my personal favorites are Vysor & WebDav).
I'm pretty certain I didn't enable the USB Debugging. Maybe I'll order a cheap screen from eBay just to get it working. Obviously it would be very low quality compared to OEM, but it's a fraction of the price and should get the job done.
Thanks for the replies!
Edit:
Well scratch that idea. Can't get a screen for under $130 now. The repair shop quoted me $140 I think and it's an OEM replacement. Still though, not gonna do it, at least not right now.
x_orange90_x said:
I'm pretty certain I didn't enable the USB Debugging.
Click to expand...
Click to collapse
Drat.
I am racking my brain trying to figure out a way you can access the phone from your PC (over Wi-Fi or over USB) without interacting with the screen, which I do all day, every day, but I'm already connected over a variety of servers that are either on the phone (e.g., WebDAV) or on Windows via adb (e.g., Vysor, Scrcpy).
I guess the lesson for anyone reading this is set up a wireless server now, as they're free, and they need ZERO software on Android.
x_orange90_x said:
I'm pretty certain I didn't enable the USB Debugging. Maybe I'll order a cheap screen from eBay just to get it working. Obviously it would be very low quality compared to OEM, but it's a fraction of the price and should get the job done.
Thanks for the replies!
Edit:
Well scratch that idea. Can't get a screen for under $130 now. The repair shop quoted me $140 I think and it's an OEM replacement. Still though, not gonna do it, at least not right now.
Click to expand...
Click to collapse
I dont know if this will work, and if you need the bootloader unlocked (for the TWRP stuff), but I would try the following.
Try to access the phone in recovery through adb. i think you would of had to have previously authorised adb from your PC to the device, for this to work.
NB: You can run TWRP, without flashing it.
Run adb through TWRP, and try accessing the photos/data. I would guess you wil need to unencrypt the phone first.
Run TWRP, unencrypt the phone and do a backup, and try viewing the contents through 7Zip on your PC
DiamondJohn said:
I dont know if this will work, and if you need the bootloader unlocked (for the TWRP stuff), but I would try the following.
Try to access the phone in recovery through adb. i think you would of had to have previously authorised adb from your PC to the device, for this to work.
NB: You can run TWRP, without flashing it.
Run adb through TWRP, and try accessing the photos/data. I would guess you wil need to unencrypt the phone first.
Run TWRP, unencrypt the phone and do a backup, and try viewing the contents through 7Zip on your PC
Click to expand...
Click to collapse
Sounds plausible, but I'm no expert on this topic. Remote-running TWRP sounds very promising. I'm willing to give it a shot if you can instruct me or provide me instructions to do so.
x_orange90_x said:
Sounds plausible, but I'm no expert on this topic. Remote-running TWRP sounds very promising. I'm willing to give it a shot if you can instruct me or provide me instructions to do so.
Click to expand...
Click to collapse
Its not what I would call "remote running". Its running it without flashing it.
The following is a log of my script. I copy the TWRP img file to g:\recovery and then run the following in a command prompt on windows.
Code:
>g:
>cd \recover
>PATH=%PATH%;"%SYSTEMROOT%\System32";"C:\Java\x86\Android\android-sdk\platform-tools";
>fastboot devices
08721KEC209540 fastboot
>fastboot boot sunfish_twrp201017-test5.img
Its probably an outdated TWRP, and I changed the return from fastboot devices for privacy
I defer to the extraordinary knowledge of DiamondJohn where all I want to add is that I searched EVERY similar thread on XDA and referenced over two hundred of them, sorted in LIFO order, over here:
What is the best XDA solution to control Android on the PC & recover data over Wi-Fi when the user suddenly has an unresponsive broken screen?
The OP "might" profit from reading some of them, particularly:
Tutorial : How to turn on USB debugging on device with broken screen, by MiroBiala, on Jun 28, 2017
[Tool][Windows] Control a device with a broken screen. Now with touchscreen support!!, by k.janku1 on Jun 17, 2014
[TOOL] ADB Data Recovery (recover data from a phone with broken screen), by FuzzyMeep Two, on Jun 26, 2013
Bear in mind that adb can remotely push buttons from the PC to Android over Wi-Fi if you happen to know the pixel location of those buttons on the Android device (but, of course, adb has to work first).
Good luck. You're in good hands with DiamondJohn (who knows far more than I ever will about this topic).

How do I enable adb debugging and otg with a black screen and no otg cable?

Hello, I just broke the screen of my OnePlus8t Verizon network unlocked phone. The computer I previously linked 8t with also has a broken screen. ... Rains it ..... My Phoe has some important information in docs and screenshots I need to get. I just turned off ADB debugging thinking "Oh I don't need that just yet" the very morning I broke the LCD. Good news, I can still answer it. I already have adb.exe except in ADB shell it shows as unauthorized. I need those files like yesterday. I have an otg/ADB flash drive, but I still can not connect to retrieve files. I can see my phone when I directly connect to comp without the flash drive, however, I can not access it. I have tried to put the phone into recovery, but I have no way to enter the pin as I have tried to guess where it is. How can I receive the data I need from my phone?
Thank You.
P.S. I have little knowledge and only learn what I need to know for whatever project, in other words, I can not code and I barely speak dos.
Is the touch screen still working then?
If it's showing "unauthorized" you can try to plug it into your desktop and then hit the "authorize" button on the popup that you can't see.
Here is where ok is on a different phone. It's somewhere near there on yours.
Renate said:
Is the touch screen still working then?
If it's showing "unauthorized" you can try to plug it into your desktop and then hit the "authorize" button on the popup that you can't see.
Here is where ok is on a different phone. It's somewhere near there on yours.
Click to expand...
Click to collapse
I have tried that. The finger print unlock screen only works ⅔ of the time. I have no way of knowing if it's unlocked. I keep my touch sounds silent. I keep trying to find where it might be. I have tried to slide as if answering a call. Is there a way to force the USB settings for media transfer? Maybe through Google? If any platform knows it's my phone is Google. I can go to the play store and push apps onto it. Unfortunately the two adb drivers I have installed on my Android didnt work.
Oh, actually, you've got it easier! The OnePlus 8t supports HDMI over USB Type C.
https://forum.xda-developers.com/t/does-one-plus-8t-have-video-out-through-usb-c.4465629/
Buy an adapter and hook up an HDMI monitor/TV.
Or just use a new monitor on the computer that is already authorized.
Is there any other way. Right now it is not with in the budget to afford any extras even with the price tag of $20. I am hoping there is a way within an adb shell to force turn on the adb debugging. I have developer options enabled. I would just rewrite the documents, except some of those items I need include the text messaging history. If I can't force the adb, can I remotely back up the phone? Is there a trustworthy app for that? I do have quick settings installed and if my memory is correct, I believe I have sideline installed even.

Categories

Resources