[SOLVED] Unresponsive touchscreen: backup data from secondary users - OnePlus 5 Questions & Answers

Hi,
My touchscreen stopped working all of a sudden, in a very similar way as these users reported:
> https://forum.xda-developers.com/oneplus-5/help/oneplus-5-touch-screen-stop-t3757724
> https://forum.xda-developers.com/oneplus-5/help/touchscreen-responding-how-access-t3844693
The phone boots up to the "Enter pattern for all data and features" screen, and I'm not able to enter the pattern since my touchscreen doesn't respond. For what it's worth, my phone is rooted and has the latest TWRP installed. However, the phone is encrypted, USB debugging is disabled and I have an anti-theft app (Cerberus Anti-Theft) that can act on settings like "Prevent USB debugging" or "Disable Wi-Fi". I have three users on my phone, and I have been able to recover the data of the first user only so far (see below).
Idea 1: use an USB OTG mouse
I did try this solution, but nothing happens when I plug the USB mouse. The blue LED on the mouse doesn't turn on, and it seems that no power is output at all.
Idea 2: use an USB OTG mouse in recovery
I tried to boot into recovery and plug my USB-C mouse in... but nothing, no pointer, no power drawn from the mouse.
Idea 3: boot into recovery and use TWRP adb commands
The phone boots TWRP and prompts me to enter my pattern, but is not able to communicate with the PC. 'adb devices' shows nothing.
Idea 4: load a temporary TWRP from fastboot
The phone boots fastboot without any problem. I'm able to 'fasboot boot C:\twrp-cheeseburger.img', and TWRP boots just fine. I then try to plug my USB-C mouse, and it works! I can see the pointer, and the mouse's blue LED turns on. I can enter my pattern, decipher my Data partition and backup everyhting to my PC.
HOWEVER, I am not able to access other users' data, and I have a work profile that contains data I would really like to recover. Is there any way to decrypt data from secondary users without booting Android system?
On a side note, I was also able to permanently flash the TWRP I booted from, which means I'm able to use the mouse without having to 'fastboot boot'.
I now have full, untethered recovery access, with full mouse support. I'm still not able to swipe to confirm some adb commands though, as I have to disconnect the PC cable to plug the mouse.
Idea 5: enable USB debugging from temporary TWRP in order to use adb from Android system
I would gladly accept any help on that matter.
From what I've read, I have to edit two files, '/data/property/persist.sys.usb.config' &'/system/build.prop', and then push RSA keys on the device in the '/data/misc/adb/adb_keys' folder.
The pulling / editing / pushing part is OK, but the RSA part seems trickier. I've never connected my phone via adb to my computer (just recently bought it), but I do have the adbkey files in my home folder. I would try and give my results back here, but like I said, I have data that I would like to recover and I can't risk messing with the keys.
Idea 6: find what's causing the USB ports to be disabled
Easier said than done! What could possibly prevent the USB port to be completely disabled (except for charging)? Any ideas? I'm guessing Cerberus Anti-Theft might have to do something with it, but I couldn't find anything specific on that matter.
Idea 7: nandroid backup the phone, wait for quantum computers to become commercially available and bruteforce the private keys
Hmmm...
I'm really running out of ideas here.
EDIT: Solution
> The only way to get to secondary users' files is to boot Android system and enter the pattern.
> The only way to enter a pattern with a broken touchscreen is to use an USB mouse.
> USB OTG wasnt enabled on my phone for some reason, so I had to find a way to enable it from recovery. I booted in fastboot mode, then flashed the latest version of TWRP so I was able to use the mouse in TWRP (OTG mouse is enabled by default in TWRP).
> USB OTG was still disabled in Android system. Luckily, I had Magisk installed so I was able to flash the zip that Axelguitt suggested, which is a Magisk module that enables USB OTG at boot.
Here's a link to the module (by simonsmh): https://forum.xda-developers.com/apps/magisk/module-oxygenos-otg-enabler-t3735922. Simply install the provided zip from recovery.
> This permanently enabled USB OTG in Android system, so I was able to enter the pattern and backup data for all users.

Did you look in /storage/emulated/ in TWRP? There should be some numbered folders, 0 being the primary user. 999 for parallel apps and so on.

Lupus77 said:
Did you look in /storage/emulated/ in TWRP? There should be some numbered folders, 0 being the primary user. 999 for parallel apps and so on.
Click to expand...
Click to collapse
Hi,
On my device, /storage/ is empty (adb pull gives nothing and TWRP File Manager also shows that the folder is empty).
The primary user's files are in /data/media/0 (perfectly readable using TWRP File Manager)
The other users' files are in /data/media/10 & /data/media/11, but are encrypted. I'm looking for a way to decrypt these specific files

This is not really an answer or another idea but a reason, why your mouse doesn't work while in Android - the OTG switch is off.
I think there's a workaround to permanently enable OTG without needing to go to settings, but I think that's kernel based, you'd have to flash a custom kernel with that enabled. I think @nathanchance had it on his now discontinued Flash kernel, maybe he can help.

Is it possible to install a magisk module while you are in recovery?
If so I maybe have an idea :
Go in recovery and find a way to install this magisk module:
https://forum.xda-developers.com/apps/magisk/module-oxygenos-otg-enabler-t3735922
This module enables always on OTG in oxygenOS.
Then boot in system and you should be able to use an OTG mouse.
It is only a suggestion, I have no clue if what I'm suggesting will work.

Axelguitt said:
Is it possible to install a magisk module while you are in recovery?
If so I maybe have an idea :
Go in recovery and find a way to install this magisk module:
https://forum.xda-developers.com/apps/magisk/module-oxygenos-otg-enabler-t3735922
This module enables always on OTG in oxygenOS.
Then boot in system and you should be able to use an OTG mouse.
It is only a suggestion, I have no clue if what I'm suggesting will work.
Click to expand...
Click to collapse
That actually worked!
Many thanks

Bakuryu91 said:
That actually worked!
Many thanks
Click to expand...
Click to collapse
You're welcome!
Can you explain how to install a magisk module from recovery just in case someone with the same issue find this thread?

Axelguitt said:
You're welcome!
Can you explain how to install a magisk module from recovery just in case someone with the same issue find this thread?
Click to expand...
Click to collapse
In this case, the dev (simonsmh) provided a flashable zip of the module. This is usually the case for Magisk modules.

Bakuryu91 said:
In this case, the dev (simonsmh) provided a flashable zip of the module. This is usually the case for Magisk modules.
Click to expand...
Click to collapse
Cool thing to know, I'll remember it if I ever break my touchscreen!

my oneplus 5 keeps getting this issue the touch screen not working ive reset the phone twice now and it still happens. i read its something to do with a bug or hardware problem with the latest android i read this a few times online. is there a custom OS i can load on there that doesnt have this problem?
i already tried to load on an older version of the os and while it worked im still on android 9 when it should have loaded 8. so i know how to load it on but what should i use?
sick of this **** it works then it randomly decides not to work! a reboot works sometimes other times its a full reset

Related

[Q] Yet another boot looped N4, tried all, need expert help to recover user files..

I have been using the stock 4.4.4 for a while with some occasional crashes and reboots in Skype. Then one day, when I turned on my device, the boot loop struck out of the blue! I had only installed some apps, nothing ROM related was changed.
I need some expert help with recovering my user files (some images in non standard folders, game saves etc..)
Symptoms:
*The device is stuck at the circle logo and won't boot up.
*The boot loader is unlocked, USB debugging is enabled and the device was rooted before with version 4.2, upgraded to stock after that at least twice and lost root.
*When connected to PC, auto driver loading fails with MTP but I hear a USB connection sound when I turn on and off the phone. Although, the device is not recognized in "My computer". I see an "Android Device" and/or "android bootloader interface" in Device Manager.
What I tried:
*Tried wugfresh's toolkit and re-installed all google drivers but when I run adb/fasboot commands from within the toolkit, my device is not listed in either list. I get a blank list of devices.
* I can get to the recovery mode in stock boot loader after the "No data" screen and tried wiping user cache, did no good.
What I would like to achieve:
* Ideally I would like to be able to boot into the system without losing any user data and run my backup app and/or connect via USB to backup files on PC.
* If above wouldn't be possible, accessing files externally would also do as a last resort.
Any help is appreciated!
Thanks
ozgurust said:
I have been using the stock 4.4.4 for a while with some occasional crashes and reboots in Skype. Then one day, when I turned on my device, the boot loop struck out of the blue! I had only installed some apps, nothing ROM related was changed.
I need some expert help with recovering my user files (some images in non standard folders, game saves etc..)
Symptoms:
*The device is stuck at the circle logo and won't boot up.
*The boot loader is unlocked, USB debugging is enabled and the device was rooted before with version 4.2, upgraded to stock after that at least twice and lost root.
*When connected to PC, auto driver loading fails with MTP but I hear a USB connection sound when I turn on and off the phone. Although, the device is not recognized in "My computer". I see an "Android Device" and/or "android bootloader interface" in Device Manager.
What I tried:
*Tried wugfresh's toolkit and re-installed all google drivers but when I run adb/fasboot commands from within the toolkit, my device is not listed in either list. I get a blank list of devices.
* I can get to the recovery mode in stock boot loader after the "No data" screen and tried wiping user cache, did no good.
What I would like to achieve:
* Ideally I would like to be able to boot into the system without losing any user data and run my backup app and/or connect via USB to backup files on PC.
* If above wouldn't be possible, accessing files externally would also do as a last resort.
Any help is appreciated!
Thanks
Click to expand...
Click to collapse
Do you have clockwork mod installed?
You might be able to pull the important stuff over ADB when the phones in recovery
If ADB on your computer recognizes and can connect to your phone you can probably pull off the files
Try this: http://www.xda-developers.com/android/all-in-one-guide-to-adb/
prasanth21 said:
Do you have clockwork mod installed?
You might be able to pull the important stuff over ADB when the phones in recovery
If ADB on your computer recognizes and can connect to your phone you can probably pull off the files
Try this: http://www.xda-developers.com/android/all-in-one-guide-to-adb/
Click to expand...
Click to collapse
Thanks for the suggestion. As a matter of fact, while waiting desperately for a reply here, I tried to flash TWRP recovery and managed to adb pull data and sdcard directories over to my PC. And then a factory reset brought my device back to life.
It's a bummer that all of my home screen settings and account settings are reset..
The question now is how to copy over the backup data back to the phone..
adb push will put them back, but your phone will probably mount normally and show up in 'My Computer' now so you could just do that.
ozgurust said:
Thanks for the suggestion. As a matter of fact, while waiting desperately for a reply here, I tried to flash TWRP recovery and managed to adb pull data and sdcard directories over to my PC. And then a factory reset brought my device back to life.
It's a bummer that all of my home screen settings and account settings are reset..
The question now is how to copy over the backup data back to the phone..
Click to expand...
Click to collapse
I'm glad you were able to pull off the files from the phone.
You can use the adb push command to put the data back into the phone
Try this : adb push /path/to/local/file /mnt/sdcard/path/to/file
or
adb -s [yourdeviceserialnumberhere] push /system/[whateverdirectory]
You can check out this too : http://forum.xda-developers.com/showthread.php?t=2167651
The post clearly explains multiple adb commands
Hope it helps!

[Urgent help]Broke N4 Screen - Need to backup App Data - Rooted - Debugging Enabled

So as the title suggest, my screen is working but not recognizing touch. Basically useless.
Device is rooted, Usb debugging is enabled but RSA Key is not authorised to this pc.
Stock Lollipop with custom kernel.
Problem 1 -
I am already with CWM recovery. From what I have read from cwm recovery I must be able to get access to adb recovery mode so I can backup my app data from system but the device stills shows "Unauthorized" in recovery mode. I dont know why this is happening?
Problem 2 -
I bought the OTG USB Y Cable thinking I might be able to install a differnet kernel that support otg through external power source but then I read that most kernel require to manually enable the option in settings/tweaker app for OTG SUPPORT. I cannot do this becasue as i said my screen is not working.
Please help me out.
Does your computer recognize the phone in bootloader? If so I would suggest you flash twrp and then try booting to recovery. Then you can check if your computer recognizes it now.
theminikiller said:
Does your computer recognize the phone in bootloader? If so I would suggest you flash twrp and then try booting to recovery. Then you can check if your computer recognizes it now.
Click to expand...
Click to collapse
Yes.
Already did that and it did work.
Was able to backup few imp. data.
I just have one more question -
Is there some kernel which support otg in Lollipop without me manually going into settings/tweaker app for kernel and enabling it?
Because I cannot do it manually coz the screen is broken.

Nexus 4 - Broken screen, no touch, need to unlock

Dropped phone, cracked screen, screen works but is unresponsive to touch.
Problem: Need to unlock to access data. This seems to be a common problem but I've been reading the forums and still cannot find a solution
Status:
- USB debugging disabled (presumably)
- No OTG support
- Not rooted
- ADB, running adb devices command shows no device
- Booting to android screen shows Secure boot: enabled, Lock state: unlocked (not sure what this means)
I've tried Vysor and k.janku1's tool, both don't work as presumably the USB debugging is disabled.
Is there any way to enable USB debugging? Or is there any way to connect to ADB? Or any way to flash CWM without ADB?
Any help would be greatly appreciated!!
What data you want to access? May be you need to see if you can boot in to fastboot mode, flash a recovery and then take it from there.
If you are able to do that then you can connect your phone to PC and access it as an USB stick.
Nitin
nitin.chobhe said:
What data you want to access? May be you need to see if you can boot in to fastboot mode, flash a recovery and then take it from there.
If you are able to do that then you can connect your phone to PC and access it as an USB stick.
Nitin
Click to expand...
Click to collapse
Thank you!!! I have flashed the CWM recovery and can access it on my phone. Where should i go from there? I have tried 'mount USB storage' but the phone is not being recognized on the computer still, I cannot see the storage. I am trying to access mainly contacts and photos. Thanks again!
Try flashing twrp it has mtp mode
Jellyfishk said:
Thank you!!! I have flashed the CWM recovery and can access it on my phone. Where should i go from there? I have tried 'mount USB storage' but the phone is not being recognized on the computer still, I cannot see the storage. I am trying to access mainly contacts and photos. Thanks again!
Click to expand...
Click to collapse
Your contacts should be synced to your google account. Get them from there.
I do not use CWM as it is not supported these days (although it was my favorite recovery back then). So can't help you. As @[email protected] suggested, flash TWRP.
Nitin
[email protected] said:
Try flashing twrp it has mtp mode
Click to expand...
Click to collapse
nitin.chobhe said:
Your contacts should be synced to your google account. Get them from there.
I do not use CWM as it is not supported these days (although it was my favorite recovery back then). So can't help you. As @[email protected] suggested, flash TWRP.
Nitin
Click to expand...
Click to collapse
Thank you both, TWRP worked and I could connect it as USB storage to my computer!
Another question is, would it be possible to enable USB debugging through adb/CWM/TWRP? So I can use those tools to control my phone via computer.
Jellyfishk said:
Thank you both, TWRP worked and I could connect it as USB storage to my computer!
Another question is, would it be possible to enable USB debugging through adb/CWM/TWRP? So I can use those tools to control my phone via computer.
Click to expand...
Click to collapse
No, that's not possible as far as I know. If I were you, I would have flashed a custom ROM which has USB debugging enabled (Like NitrogenOS)
Don't know how can you flash that without touch. Check if some connector like this allows you to use your mouse with the phone.
Nitin

USB not recognized by PC or OTG

Has anyone faced this problem where the LePro is does not connect to the PC anymore? Charging works but otg and PC connection don't work anymore.
My brand new had this bug, first wipe resolved it.
marik1 said:
My brand new had this bug, first wipe resolved it.
Click to expand...
Click to collapse
Was it the exact same problem? It would charge but no connection with the PC and no USB otg?
I dont have any OTG devices, so I dont know. It was on stock ofc.
rmarcus said:
Was it the exact same problem? It would charge but no connection with the PC and no USB otg?
Click to expand...
Click to collapse
Had it, wouldnt even charge. A combo of plugging/unplugging multiple times, w/rebooting enabled me to charge it, then i flashed the official 21s or 19s, dont remember now, and it started working. Also, sometimes just reversing the cable (phone side) did the trick.
Try rebooting w/ different cable and see if that helps the pc connectivity issue.
trizex said:
Had it, wouldnt even charge. A combo of plugging/unplugging multiple times, w/rebooting enabled me to charge it, then i flashed the official 21s or 19s, dont remember now, and it started working. Also, sometimes just reversing the cable (phone side) did the trick.
Try rebooting w/ different cable and see if that helps the pc connectivity issue.
Click to expand...
Click to collapse
I'll try that, but it seems that there was glitch in the current some sort of fluctuations and it maybe fried post of the USB connector. The thing is I simply can't root and install any custom ROM other than that it is perfect. Thanks for sharing!
rmarcus said:
I'll try that, but it seems that there was glitch in the current some sort of fluctuations and it maybe fried post of the USB connector. The thing is I simply can't root and install any custom ROM other than that it is perfect. Thanks for sharing!
Click to expand...
Click to collapse
Did you get it to work?
ftardism said:
Did you get it to work?
Click to expand...
Click to collapse
Nope... Sold it to someone who claimed to be able to fix it. It's a shame, I loved that phone.
I've just received a "new" Pro3 from Aliexpress which has this exact problem. Although it looks new, the dust and fluff in the USB connector gave away that it's been reconditioned.
I have another 2 of these phones which connect to my PC fine.
The PC doesn't even detect a connection with this one though.
Now I can't unlock and replace EUI with LineageOS. I'm not going to use EUI.
I have the same problem. It is charging but cannot connect to pc. It must be a windows 10 problem, because with windows 7 it connects ok.
arist1976 said:
I have the same problem. It is charging but cannot connect to pc. It must be a windows 10 problem, because with windows 7 it connects ok.
Click to expand...
Click to collapse
Your issue is just the driver, update the drivers on the PC and you will be fine. Also make sure in developer options that usb debugging is turned on and default usb settings are on file transfer mtp.
tsongming said:
Your issue is just the driver, update the drivers on the PC and you will be fine. Also make sure in developer options that usb debugging is turned on and default usb settings are on file transfer mtp.
Click to expand...
Click to collapse
Thank you but I've tried all these and many more. But the problem is still here. I almost quit, there is nothing more to do. I tried ALL, literally.
arist1976 said:
Thank you but I've tried all these and many more. But the problem is still here. I almost quit, there is nothing more to do. I tried ALL, literally.
Click to expand...
Click to collapse
I have written these instruction many, many times. the answers are here if you search.
Remove all external hard drives from PC
Update PC
Install All in One Tool, use AIT to update android/leeco drivers/adb fastboot/enable system wide privileges.
Enable developer options> oem unlock, adb debugging and file transfer (MTP)
If in TWRP Recovery, the system must be mounted to be seen by the PC
If the drive is encrypted > it has to be formatted ( Not wiped) Reboot to Recovery > Issue resolved
Read the signature, its highly applicable
tsongming said:
I have written these instruction many, many times. the answers are here if you search.
Remove all external hard drives from PC
Update PC
Install All in One Tool, use AIT to update android/leeco drivers/adb fastboot/enable system wide privileges.
Enable developer options> oem unlock, adb debugging and file transfer (MTP)
If in TWRP Recovery, the system must be mounted to be seen by the PC
If the drive is encrypted > it has to be formatted ( Not wiped) Reboot to Recovery > Issue resolved
Read the signature, its highly applicable
Click to expand...
Click to collapse
I have problem with the twrp. It is not compatible with 8.1 and it cannot see internal storage or anything
tsongming said:
I have written these instruction many, many times. the answers are here if you search.
Remove all external hard drives from PC
Update PC
Install All in One Tool, use AIT to update android/leeco drivers/adb fastboot/enable system wide privileges.
Enable developer options> oem unlock, adb debugging and file transfer (MTP)
If in TWRP Recovery, the system must be mounted to be seen by the PC
If the drive is encrypted > it has to be formatted ( Not wiped) Reboot to Recovery > Issue resolved
Read the signature, its highly applicable
Click to expand...
Click to collapse
Thank you again. I tried all these before. I try again now but nothing happens. There is nothing else I can do.
arist1976 said:
I have problem with the twrp. It is not compatible with 8.1 and it cannot see internal storage or anything
Click to expand...
Click to collapse
Okay, try using an older version of Twrp Recovery. ( A Non Treble Version)
Use OTG if you have it. Otherwise place te TWRP image on the SD storage > When installing your will need to select install IMG ( instead of zip) Install to Recovery, Reboot to Recovery. Click Mount, select data, and erase all of the encrypted data on your phone by choosing Wipe, Format > type yes, Reboot to Recovery. ( check boxes) you want the the phone to be read/writable.
At this point go to File manager > SD Card> You should only see a TWRP folder > Fo to Wipe Advanced wipe, select everything except your OTG drive > Wipe > Reinstall your Rom, Gapps, and Magisk. Did this work?
If no,
Reboot to TWRP recovery
* Select Advanced Wipe
* Select "Repair or Change File System".
* Select Change File System > Even if its already ext 4 select it again
* Format Data> Yes. Reboot to recovery > Full Wipe > Finished
* Now /data is mounted back. > You should be able to install whatever you want. > hopefully > if not you may have a hardware issue, such as the usb card, flex cables or worse.
@tsongming Good morning friends I have my Leeco Le Pro 3 with no system installed, just twrp working. When plugging the otg or the PC he does not recognize anything, I already bought 3 otg and tested with 4 cables and more than 5 flash drive, all this and without success. I installed all the necessary drivers from which, downloaded the tool all in one, tried the qfil mode, but the phone is not recognized on the PC. Has anyone managed to solve this problem?
I have 3 X720 and one of this has got the same problem.
TWRP 3.2.1.0 could not recognize OTG USB and Internal storage. Now Lineageos doesn' start . The start is in loop.
PC doesn't see X720 also in fastboot when the other two in fastboot works.
I think it's a hardware problem!
I have also chankged Micro USB Charging Dock Port Charger Connector, but nothing is changed.
How could I make?
Thanks
CapVi said:
I have 3 X720 and one of this has got the same problem.
TWRP 3.2.1.0 could not recognize OTG USB and Internal storage. Now Lineageos doesn' start . The start is in loop.
PC doesn't see X720 also in fastboot when the other two in fastboot works.
I think it's a hardware problem!
I have also chankged Micro USB Charging Dock Port Charger Connector, but nothing is changed.
How could I make?
Thanks
Click to expand...
Click to collapse
Is your charging problem resolved ?
In my case the phone won't charge anymore.
Do You think that changing the dock port will be the solution ?
Is the change difficult ?
dkoek said:
Is your charging problem resolved ?
In my case the phone won't charge anymore.
Do You think that changing the dock port will be the solution ?
Is the change difficult ?
Click to expand...
Click to collapse
I must change Usb dock port.

Touchscreen not responding -- How can I access and backup my files?

I'm having an issue where my touchscreen completely stopped responding to touches, but the physical buttons still work. I'm rooted and have TWRP installed. I'm trying to backup my files before reformatting. I have an OTG cable which i tried using with a mouse but it doesn't work. I'm not sure if it's because OTG isn't enabled by default? I'm currently able to unlock my phone using fingerprint and I'm already on wifi. I haven't restarted the phone yet because I'm afraid of getting stuck at the startup encryption screen that requires me to physically draw the unlock pattern.
I've had something similar happen a few months ago where I rebooted and wasn't able to get into the phone because of the startup lock screen. I followed a thread to delete the lock files but it ended up completely locking me out of the phone (due to new android security i guess) and in the end I had to reformat everything and lose all my data .
What's the best way to go about this now and either be able to get the OTG/mouse working or at least be able to access and backup all my data? Is there anything I should do before restarting while I can still access my phone using fingerprint unlock?
twrp should allow you to activate usb (think its on by default), that way you can make a nandroid and copy it to pc, as well as copy any photos etc from the internal storage
yusuo said:
twrp should allow you to activate usb (think its on by default), that way you can make a nandroid and copy it to pc, as well as copy any photos etc from the internal storage
Click to expand...
Click to collapse
Ah.. thanks, I will try that!
Hi,
I have the same issue: my touchscreen stopped working a couple days ago, and I'm not able to enter my pattern. I have a USB-C mouse, TWRP 2.7.3 installed, my bootloader is unlocked, but for some reason I'm not able to use the mouse in TWRP. Any ideas?
Many thanks!
I found a solution to backup your data, even if USB OTG is disabled.
First, you need a mouse and an adapter. Personally, I bought this one from Amazon (France).
Second, you need to download the latest version of TWRP for cheeseburger.
Finally, plug your device to a computer and boot into fastboot. Open a terminal and type 'fastboot boot C:\path\to\twrp-cheeseburger.img'.
Your device reboots into recovery, and the USB mouse is working. Enter your pattern, mount Data and plug back the phone to your computer: you should see your data!
Hope this help.
adb backup -apk -shared -all -f backup-file.adb
adb restore backup-file.adb

Categories

Resources