How do I enable adb debugging and otg with a black screen and no otg cable? - OnePlus 8T Questions & Answers

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.

Related

Possible to extract SMS messages from a RAZR maxx with a broken display?

My friend desparately needs to extract the SMS log from his razr maxx. Unfortunately, he dropped it and the display is completely broken. The phone is unrooted and USB debugging is not enabled. The phone seems to be functional other than the display - the softtouch buttons light up and when plugged in over USB, it is recognized. Is there any method by which I might extract the SMS data for him? Keep in mind that with a broken display, I can't enable debugging or install anything on the phone itself.
I suspect the answer is "no", but I figured I'd check before he has to go through the process of getting a court order to get the logs from verizon.
candre23 said:
My friend desparately needs to extract the SMS log from his razr maxx. Unfortunately, he dropped it and the display is completely broken. The phone is unrooted and USB debugging is not enabled. The phone seems to be functional other than the display - the softtouch buttons light up and when plugged in over USB, it is recognized. Is there any method by which I might extract the SMS data for him? Keep in mind that with a broken display, I can't enable debugging or install anything on the phone itself.
I suspect the answer is "no", but I figured I'd check before he has to go through the process of getting a court order to get the logs from verizon.
Click to expand...
Click to collapse
Unfortunately you need root to do anything that would help. But it appears that the LCD is broken, maybe you could get it replaced?
Sent from my MB508 using xda premium
I have the same problem, but my razr is rooted. Also my phone is locked with the pattern. Can I use the usb to control my phone with my laptop? The cracked screen wont let me enter my pattern. I just need to access the phone and backup the internal memory.
Thanks
ford freak said:
I have the same problem, but my razr is rooted. Also my phone is locked with the pattern. Can I use the usb to control my phone with my laptop? The cracked screen wont let me enter my pattern. I just need to access the phone and backup the internal memory.
Thanks
Click to expand...
Click to collapse
If USB-Debugging is enabled on your phone, you might be able to connect from a computer via ADB.
If Debugging is disabled, I don't think you will be able to access the phone via the computer.
There is a lot of tutorials on how to install ADB on your computer if you haven't done yet. Try it to see if you get access.
I have adb installed and bugging is enabled. i can connect to the device, but when I try to do an adb backup it says to say yes to the prompt on the phone. Problem is that I cant use my phone cause of the screen. Is my only option to dock it with a keyboard and mouse? Is there a way to remove the lock pattern through adb??
Update... Here's what I did.
I ran adb pull /mnt/sdcard but that didnt pull my dcim folder. There were two dcim folders. One on the internal sd and one on the external sd.
What's the best way to pull everything off the phone??
When I try to back up it says this...
C:\users\admin>adb backup -all
Now unlock your device and confirm the backup operation.

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

Screen broken, how to recover files?

So here's the story: My son managed to drop his Mi Mix 3 (once again, for the 500th time?) and the screen shattered, black screen, no digitizer anymore. Of course there is GBs of important data (mainly pictures) that need to be saved. Yes, he uses Google Drive, but for whatever reason he can see only a fraction of his files there. Guess who now has the duty to recover the files?
What I have tried up until now:
- the most obvious: connect phone to Mac and run Android file transfer -> Phone is not in MTP or PTP mode, connecting USB goes per default just into charging mode
- Try to use adb to pull the files-> ADB debugging is not activated
- Try to go into fastboot and boot TWRP from there to recover -> Bootloader is locked, so no booting into TWRP or flashing anything
- Try to connect Phone to my USB-C dockingstation (aka OTG)-> did not work, black screen, no nothing
Besides the screen there seems to be more broken. I tried to call his number, but you just get message from the service provider "not available", as if the phone would be off (his SIM has no PIN, so this is not the problem here)... also checked my router to see if the phone is in my wifi (which it usually is), but also nothing.
Thought about replacing the screen, but seeing the prices for replacement screens and given the fact that there might be more defective parts, not an option anymore.
Looked around for some "special" data recovery programs, but there seems to be only halfworking crap (works not beyond Android 8, needs to have ADB enabled, needs to be rooted, ...).
The only option I currently see is sending the phone to some specialized data recovery company, who claim they could even go as far as desoldering the chips to recover data from there... but this is also horrendously expensive.
Did I already try anything possible? Does somebody here may have another idea what to try? Would appreciate any idea.
More than 100 views and not even a hint?
cdfs said:
More than 100 views and not even a hint?
Click to expand...
Click to collapse
No hint because unfortunately there's no work around.
No adb means you can't do much with it.
Your only option is to replace the sceeen, and since you're worried that might be other defective parts your only and safe option is to open the device and take a look your self. I will give you a link to a OEM screen replacement (with frame) it will make it much easier for you to replace. https://www.witrigs.com/oem-screen-replacement-with-frame-for-xiaomi-mi-mix-3-black
Goodluck.
If google asistant recognize your voice and if you already added your phone to your teamviewer account, you can start teamviewer quicksupport from phone and connect via teamviewer from your computer and you can use the phone..
@asgz No google assistant enabled and no teamviewer, but thanks for pointing out this possibility @RubbaBand thanks for the link, but $146 + the work to replace without even knowing if I can properly boot afterwards... So it seems I tried everything one can do without access to some special equipment. My son needs to take the decision if he wants to send the device to a specialised company and put money on them or say good by to the data.
cdfs said:
@asgz No google assistant enabled and no teamviewer, but thanks for pointing out this possibility @RubbaBand thanks for the link, but $146 + the work to replace without even knowing if I can properly boot afterwards... So it seems I tried everything one can do without access to some special equipment. My son needs to take the decision if he wants to send the device to a specialised company and put money on them or say good by to the data.
Click to expand...
Click to collapse
If you watch YouTube videos on how to replace the screen you will see it's easy especially frame. Plus if you order the screen I sent you you can try booting the device by connecting it to the device without installing it. Do not break the warranty seal or remove the protective covering so you can return it to the company if the device doesn't boot by claiming it's defective or it's not for the device you want.
Regards.
It may be late, but does the wireless pad recognize the device while charging?

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).

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

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

Categories

Resources