Unfortunately my Nexus 6's screen has been completely destroyed. Nothing appears onscreen whatsoever and touch doesn't work. Luckily I've already filed a warranty claim, but I need to get some files off of it before I send it in.
Device is rooted, bootloader is unlocked and USB debugging is enabled. Device is on Marshmallow.
My laptop has not been authorized with the RSA fingerprint, so any attempts to connect via adb have been met with an "unauthorized" error. I can't connect using "adb connect" over wifi because the key for my computer hasn't been accepted yet. I'm sure the RSA dialog is appearing on the screen, but with a broken digitizer there's no way to accept it. I have tried connecting a keyboard to it via usb to try and click enter, but after testing this method on another device, it appears that the RSA dialog disappears after unplugging the phone from the computer. "adb connect" doesn't appear to trigger the RSA dialog.
I've booted into recovery and I get the same unauthorized error. No adb commands work whatsoever. No push, no pull, no shell, nada.
I do have titanium backup installed, and possibly backups of the texts I need saved on the sdcard. I can't even access the phone via my computers file manager because the phone is locked.
So I'm at a complete loss. The texts I need are extremely important and I need to retrieve them. If anyone has any suggestions or can point me in the right direction, I'd be eternally grateful.
Related
Hey, I need a little help with this here.
1. I flashed Jelly Bean (9.1.A.0.490 Stock Generic-Intl) on my Xperia V yesterday. Before that, when I had ICS, I had paired my laptop and phone via WiFi, so that I could have access to the phone's data whenever, without having to run for the USB cable all the time.
2. Under "Trusted Devices" in Settings --> Xperia --> USB Connectivity it says there are no trusted devices (which is correct, considering that I have NOT paired my phone with my laptop after flashing).
3. Sometimes (especially after shutting down my laptop), in the notification bar I see that the phone is "Awaiting Connection" from my laptop (which is strange, given that I have NOT paired my phone with my laptop after flashing). Tapping on that notification does nothing. It is swipeable, though.
4. I tried to pair my laptop with my phone over WiFi after flashing and I get an error message (see the attached screenshot for the error) on the phone, while PCC says "Failed to connect over WiFi" (or something to that tune). (Now this is really weird, given that PCC should be able to read/write into the protected part of my phone's memory.)
5. I have long pressed the notification, and then tapped "App Info", which took me to the app in the Apps, under Settings. I cleared app data, and force stopped it. Then I restarted my phone, and tried to pair, with the same result. (In fact, the screenshot was taken after this attempt.)
Lastly, I have made some conclusions:
1. Somehow my phone thinks that it is paired with my laptop, because the message appears in the notification bar only after shutting down my laptop. However, I cannot see my phone in my laptop, nor see that the phone has connected with my laptop anywhere in the phone.
2. Solving this the easy way would require me to root my phone, and delete the file myself. But I don't want to root, not just yet. Maybe in some time, but not just yet.
Any ideas on how to fix this? Thanks in advance! (I promise, upon my honor, to hit thanks on all those posts that help!!)
Kartik.
Ps. I know it got kinda long, but I thought that it would be better to expose all my cards, for your convenience.
Solved
Ok. Here's what I did.
Rooted
Deleted
Thank you.
First of all, my HTC One is not rooted. My PC has Windows 7 Home Premium Service Pack 1 64-bit.
Here is how my problem started (the phone not being seen problem may have existed prior to this). I connected my phone to my computer (a sound played during connection). Autostart opened Windows Explorer showing the phone storage. I double clicked to find the folder where my videos were. I right clicked the video I wanted to transfer to my PC, chose 'cut', right clicked the desktop and chose 'paste'. The video disappeared from the folder on the phone, but was not on the desktop. I refreshed the desktop, but the file still did not appear.
I restarted both the PC and the phone. Tried reconnecting and started getting notifications in the taskbar 'installing drivers', as if the phone's driver's had been uninstalled. The driver installation failed. I tried a Windows update and found updates available, but the installation failed (code 800F020B). I ran System File Checker and repeated the above, but the update failed. Strangely though, if I opened Explorer, the phone showed up (however on some occasions it didn't).
I therefore installed 'Undelete 360'. Tried to access the phone to retrieve files, but the program couldn't see the phone (even though I could access files via explorer). I thought it may be the software, so I tried 'Remo Recover', but the same happened again.
I have also tried uninstalling drivers (unknown device in Device Manager) and restarting, but to no avail.
I have the latest version of HTC Sync Manager installed, but this program seems to be of no use.
The phone is in USB debugging mode and when attached to the PC is showing 'MTP Enabled' (I can't find anyway to change this). Android version 4.3. The only other noticeable problem on the phone is that HTC Sync, which was supposed to be in sync with Gmail, is hsowing 'Sync Off' and I can't switch it back on.
I would appreciate any assistance in resolving this. My objective is to retrieve the video files I tried to 'cut' and 'paste'.
You probably can't get the file back, sorry. The device connects with MTP which does not support the required low-level operations. I highly doubt an app from the Play store would work, but its your best bet.
In future you'd be better off copying and then deleting.
BenPope said:
You probably can't get the file back, sorry. The device connects with MTP which does not support the required low-level operations. I highly doubt an app from the Play store would work, but its your best bet.
In future you'd be better off copying and then deleting.
Click to expand...
Click to collapse
Thanks for your reply Ben. That's bad news.
So the fact that it only connects with MTP means that the device may not be visible in certain circumstances and I'll have to live with that. This doesn't explain why from time to time when I connect the phone, my PC starts to install drivers and sometimes the instillation fails. There seems to be something else afoot.
Hello,
I'm trying to connect my Android 6.0 phone to my Raspberry Pi 2 over adb.
It took me about two hours that the command "adb devices" detects my phone. Now I have the problem that I get the message "unauthorized", but I don't get the popup to allow the connection on my phone. When I try it over my mac, everything works fine.
I already tried to restart the server and reconnect the phone in every possible way.
Is there another way to connect my phone successfully?
Sincerely,
Mr.Tr33
IMPORTANT: Only valid for Android 6 (Marshmallow)!
Description of problem
The lock screen functionality adds some protection against others randomly using your phone, but some people prefer to not have this function on their phone. The reason may be that it is a waste of time to have to write in the PIN/password every time the screen has been locked, plus maybe you feel that you can protect your phone well enough from others even without a password. The problem is that if you have ever activated the screen lock function by adding a password, the Honor 4x does not offer an option to revert back to not having a password. Some people on the internet suggest going to Developer settings, where there should have been an option for disabling the screen lock. But on our phone, this option is disabled (still visible in gray color).
Solution
The usual solution in such a situation is to wipe your phone and do a factory reset. I actually saw a representative for Huawei write this as a solution for this problem. But there is a much simpler and faster way. The purpose of this guide is to show you how you can easily go back to no screen lock without doing a factory reset.
We will use the program 'adb' (android debug bridge) to reset the settings. You also have to delete three files so your phone (android) no longer thinks that you have a password installed. When the password is set, these files are created and android will check for them later to find out if you have the password set, so they must be deleted.
First make sure you have adb installed and that your phone has enabled USB debugging mode in Developer settings. Connect your phone to your computer with a USB data cable and check that your computer has permissions to operate on your phone by typing:
Code:
adb devices
This should list your connected devices as a code on the left and 'device' on the right. If instead of 'device' it says 'no permissions', you have to go to Developer settings on your phone and revoke all USB debugger permissions, then disconnect and reconnect the cable. This will make a window pop up on your phone asking to give permission to USB debug mode for your computer. Click on the "don't ask again" option and then OK. Now we're all set, and can go through the required steps. Type one line at a time:
Code:
adb shell
su
settings put secure lockscreen.disabled 1
rm /data/system/locksettings.db
rm /data/system/locksettings.db-shm
rm /data/system/locksettings.db-wal
reboot
And voila. Your password protected lock screen should be removed, and you can enjoy the time saving during your day and not having to punch the code every time. If you want the password back later, just go to Settings and "Screenlock & passwords".
This solution was originally posted by user dp5l6dph5l24 in this post. I have tested this on a Honor 4x (Che2-L11), with kirin chip. If anyone has improvements to this how-to, feel free to add suggestions/improvements. Mainly it's nice to have this posted as a reference, for convenience, as in my experience this is a quite common problem.
Thanks man..this will definitely help..
Bob1900 said:
IMPORTANT: Only valid for Android 6 (Marshmallow)!
Description of problem
The lock screen functionality adds some protection against others randomly using your phone, but some people prefer to not have this function on their phone. The reason may be that it is a waste of time to have to write in the PIN/password every time the screen has been locked, plus maybe you feel that you can protect your phone well enough from others even without a password. The problem is that if you have ever activated the screen lock function by adding a password, the Honor 4x does not offer an option to revert back to not having a password. Some people on the internet suggest going to Developer settings, where there should have been an option for disabling the screen lock. But on our phone, this option is disabled (still visible in gray color).
Solution
The usual solution in such a situation is to wipe your phone and do a factory reset. I actually saw a representative for Huawei write this as a solution for this problem. But there is a much simpler and faster way. The purpose of this guide is to show you how you can easily go back to no screen lock without doing a factory reset.
We will use the program 'adb' (android debug bridge) to reset the settings. You also have to delete three files so your phone (android) no longer thinks that you have a password installed. When the password is set, these files are created and android will check for them later to find out if you have the password set, so they must be deleted.
First make sure you have adb installed and that your phone has enabled USB debugging mode in Developer settings. Connect your phone to your computer with a USB data cable and check that your computer has permissions to operate on your phone by typing:
Code:
adb devices
This should list your connected devices as a code on the left and 'device' on the right. If instead of 'device' it says 'no permissions', you have to go to Developer settings on your phone and revoke all USB debugger permissions, then disconnect and reconnect the cable. This will make a window pop up on your phone asking to give permission to USB debug mode for your computer. Click on the "don't ask again" option and then OK. Now we're all set, and can go through the required steps. Type one line at a time:
Code:
adb shell
su
settings put secure lockscreen.disabled 1
rm /data/system/locksettings.db
rm /data/system/locksettings.db-shm
rm /data/system/locksettings.db-wal
reboot
And voila. Your password protected lock screen should be removed, and you can enjoy the time saving during your day and not having to punch the code every time. If you want the password back later, just go to Settings and "Screenlock & passwords".
This solution was originally posted by user dp5l6dph5l24 in this post. I have tested this on a Honor 4x (Che2-L11), with kirin chip. If anyone has improvements to this how-to, feel free to add suggestions/improvements. Mainly it's nice to have this posted as a reference, for convenience, as in my experience this is a quite common problem.
Click to expand...
Click to collapse
Awesome script. all though it did not work for me on my Nokia G300 would you please help me find a way to get past this on the G300
I need a Lock Screen work a round....
Nokia G300 running Android 11, aoki, sm_emmc
Ive got adb and have privileges set elevated and a win 10 laptop. but i only have this laptop for a day or 2.
I will even root it if the possibility arises..
I have no access on the phone.
I can only put it in Fast Boot with no option of Factory Reset
So please help me
hello, ive drop my phone the other day and i cant see nothing on the screen. Is there a way to backup my date before sending it to repair. Ive tried using a otg mouse but doesent work. Was looking online for some mirroring app but nothing works, im sure ive got developer mode on. Just order a mhl to hdmi to see if it works. is there anyone that can guide me in the right direction so after connecting my phone can acces huawei backup or other app. thnks in advance
What happens if you connect to HiSuite? If only screen is broken you should be able to copy your data !
I need to allow from phone in order to connect
daniel oprea said:
I need to allow from phone in order to connect
Click to expand...
Click to collapse
ahh.. damn.. thats true!!
is the touch function still working ?
if yes, just unlock it using face unlock or fingerprint,
plug to pc, and tap around the area where you normally tap "Transfer Files" upon plugging to PC,
hopefully you managed to tap it on the right place,
once it detected by the PC, just do adb pull comand from adb to manually backup data or even whole media
otonieru said:
is the touch function still working ?
if yes, just unlock it using face unlock or fingerprint,
plug to pc, and tap around the area where you normally tap "Transfer Files" upon plugging to PC,
hopefully you managed to tap it on the right place,
once it detected by the PC, just do adb pull comand from adb to manually backup data or even whole media
Click to expand...
Click to collapse
The touch i thing it stopped working, and cant see anything, the phone was restarted and requires pin entry. I was looking to acces phone memory without unlocking phone.