soft brick during update- need help to recover my data - Nexus 5X Q&A, Help & Troubleshooting

I have a pretty new nexus 5X (still under warranty)
While updating to 7.1.1 it run into "no command" state (kind of soft brick?)
Can't reboot, enter recovery mode ect.
I can reach the bootloader.
Unfortunately, my data is not backup
I can see the device via fastboot, but not via adb.
Is there a way to rescue my photos and data?
Thanks!!

Related

[Q][help] bricked badly after failed encrypt - fastboot and ODIN can't write to flash

hi all,
i've managed to get my g-nex (vz lte) pretty badly bricked and am hoping that someone here will be able to help. here's what i did initially on the phone:
1. ran 4.0.2 update from carrier
2. installed adb sdk etc on win 7, verified connectivity and function
3. oem unlock
4. rooted phone
5. installed apps, etc.
6. used phone for a few days, rebooted at will, all working as expected, no issues
7. fully charged phone and in the settings kicked off the encryption process, entered PIN, everything looked good.
8. this morning i woke up to a failed encryption (unfortunately i didn't catch the error message) which needed to be rebooted to move on.
9. after choosing reboot, the screen went very strange - it had grainy horizontal lines that shifted in color somewhat and got dim
10. after waiting for a bit without anything happening, pulled the power and battery
11. the phone rebooted into fastboot, couldn't get into recovery to restore cwm backup, couldn't really do anything
phone shows the following:
fastboot mode - no boot or recovery img
product name - tuna
variant - toro
hw version - 9
bootloader version - primekkk15
baseband version - i515.ek02 cdma - i515.ek05
carrier info - none
serial number - XX_redacted_XX
signing - production
lock state - unlocked
here's what i've tried:
adb commands - doesn't show as there from adb devices
fastboot commands - shows up with fastboot devices, flash commands seem to start but never stop
ODIN mode - connects but writes fail to complete
different usb ports/cables, doesn't seem to make a difference
what i've found to somewhat work - but not really do much - is to oem lock and unlock the phone, once there i can fastboot flash boot boot.img, etc. but if i do a recovery and try and boot into it, it just hangs at the google screen (with the lock unlocked).
i would like maybe reformat the phone completely and reinstall, i've tried the fastboot -w and erase boot / recovery thinking that i could write a clean image to them once they had been cleared, no dice.
if anyone has some suggestions, i'd really appreciate it.
take care,
philo
Have you tried a clean install of the factory image found here? http://code.google.com/android/nexus/images.html#mysidicl53f
i have tried going back to factory, unfortunately that set of images didn't work either. i was able (after an oem lock/unlock) to flash the img files, but it errored on the fastboot reboot-bootloader command with the oddly lined screen. i've attached a picture of the screen for reference.
philo_enyce said:
i have tried going back to factory, unfortunately that set of images didn't work either. i was able (after an oem lock/unlock) to flash the img files, but it errored on the fastboot reboot-bootloader command with the oddly lined screen. i've attached a picture of the screen for reference.
Click to expand...
Click to collapse
I hope you flashed the LTE version and not the GSM
You need this one https://dl.google.com/dl/android/aosp/mysid-icl53f-factory-65895fa8.tgz and you must first flash bootloader then radio and then the update img
i have been using the lte, same as your link. i can get the bootloader on, but a reboot-bootloader gives that weird screen, if i try and flash the radio without rebooting i get:
unknown partition 'radio'
philo_enyce said:
i have been using the lte, same as your link. i can get the bootloader on, but a reboot-bootloader gives that weird screen, if i try and flash the radio without rebooting i get:
unknown partition 'radio'
Click to expand...
Click to collapse
Check here http://forum.xda-developers.com/showthread.php?t=1392336
Its the cwm for cdma edition.Check if you can flash it and in this way have access to cwm recovery
i've tried that as well, same lines even if i use the menu to go to recovery after flashing rather than reboot to bootloader first.
So long as it's back to stock, and you've locked the bootloader, it's off for a replacement you go if it was me
EddyOS said:
So long as it's back to stock, and you've locked the bootloader, it's off for a replacement you go if it was me
Click to expand...
Click to collapse
+1 to this
interestingly, i can't get the fastboot oem lock to take either. it reverts back to unlocked after the reboot fails and i have to pop the battery.
does anyone know how to straight up repartition/reformat the flash? i'm assuming that the failed encryption of the flash has put it into an unusable state and would be happy enough just wiping the damn thing clean...
It looks the encryption screwed up because of the different recovery partition which might of also messed up the partition table.
Best bet is to plead ignorance and get a replacement phone.
problem "solved"
i called samsung and pleaded for the pit + factory image with no luck, so i went over to my local vzw and had them replace the phone for me.
i'm not going to try and encrypt this one, hopefully this was just a fluke and won't affect anyone else...
nice work... let them try to fix that shiz!
Darn, I was hoping for a solution...
I am having a similar issue with a Nexus 5. Phone was working fine, started the encryption process and went to bed and woke up with a bricked phone. I can get into the Bootloader and had figured no problem, I'll just do a factory wipe. Whether trying to boot the phone or get it to do the factory restore it sits there and bootloops with the Google logo. Wish programmers would put in status messages the way we did in the 'old days.'
I was able to get a little further was able to reflash, format the partitions etc. but no luck. I am wondering if perhaps the user data may have an indicator or flag that states it is encrypted even though it isnt at this point encrypted. Figured the factory restore would have been more than enough. WUG makes a nice Root Toolkit that automates a lot of the process but even letting do what I already didnt help.
philo_enyce said:
i called samsung and pleaded for the pit + factory image with no luck, so i went over to my local vzw and had them replace the phone for me.
i'm not going to try and encrypt this one, hopefully this was just a fluke and won't affect anyone else...
Click to expand...
Click to collapse
philo_enyce said:
interestingly, i can't get the fastboot oem lock to take either. it reverts back to unlocked after the reboot fails and i have to pop the battery.
does anyone know how to straight up repartition/reformat the flash? i'm assuming that the failed encryption of the flash has put it into an unusable state and would be happy enough just wiping the damn thing clean...
Click to expand...
Click to collapse
Yep , if you can get into recovery , you can adb shell , then list the partitions with "cat proc/mounts" , from there you'll have a list of your partitions and you can use the ext4 tools to manually repartition . I believe the command is makefs_ext4 <whatever partition you wanna do > I'll try to find the exact command but you can do it .
Also if you simply type "fastboot " when at the bootloader it'll give you the help text and it should tell you how to wipe partitions from fastboot
Hack The Tuna
The same issue here ! memory locked
I ve got the same scenario on a phone i just got , brand new but with the same issue , this one boots up but its impossible to factory reset it , odin , cyanogenmod , fastboot adb flashes .... everything fails somehow .... once you reboot the phone everything comes back ! stock software with the applications and old data .... theres no way to erase it ... it seems the previous owner of the phone encrypted it and then used clockworkmod or something like that ..... the nand on the device is like hardlocked .... doesnt let you do anything !

Nexus 7 - 2nd gen: update failed to Lollipop 5.1

HI everyone,
I updated "successfully" from Kitkat to 5.0.2 on my rooted (stock ROM) Nexus 7 second gen.
Unfortunately, when I tried to upgrade to 5.1 everything seem to be normal until the device rebooted and it went through the "update process". 3/4 the way through, the green droid went on his back and the "ERROR" message appeared.
I wiped the cache partition but that doesn't help. I tried to download the update in safe mode, but no success. I also find it odd that each time I reboot my device, I get a message from Android that it is "updating my apps".
If I didn't have any apps and a lot of data on my Nexus, I would wipe the device clean but I'd rather avoid this, if at all possible.
Is there a way to upgrade to 5.1 or reinstall 5.0.2 without losing everything?
Thanks
Michael Carleone said:
Is there a way to upgrade to 5.1 or reinstall 5.0.2 without losing everything?
Click to expand...
Click to collapse
No problem. As you rooted it before then presumably it is unlocked and equipped with custom recovery, so all you have to do is:
boot TWRP
connect PC
transfer data and APKs to PC
flash OS
If you don't have TWRP installed, then boot it like this fastboot boot twrp-3.0.2-0-flo.img
k23m said:
No problem. As you rooted it before then presumably it is unlocked and equipped with custom recovery, so all you have to do is:
boot TWRP
connect PC
transfer data and APKs to PC
flash OS
If you don't have TWRP installed, then boot it like this fastboot boot twrp-3.0.2-0-flo.img
Click to expand...
Click to collapse
Hi,
Thanks for the reply. I rooted with Kingroot. I don't believe I have a custom recovery. The bootloader is locked as shown when I boot into recovery mode.
I want to avoid transferring my data and APK files to my PC.
Should I assume there is no way of reinstalling the OS without wiping out the device?Also, there is no link in the above quote: fastboot boot twrp-3.0.2-0-flo.img
Since I got no other replies, I went and restored to factory image. I do have another question. I hope I get a better response there: http://forum.xda-developers.com/nex...a/nexus-7-2013-wifi-root-marshmallow-t3515072
Thanks for the reply.
Can we compare using fastboot flashing TWRP vs Nexus Root Tool Kit: http://www.wugfresh.com/nrt/? I ended up using this utility instead because it was pretty much one click and it didn't require command lines and for whatever reason, I found instructions using fastboot a bit confusing. Which method is better or has more advantages? I left my bootloader unlocked.
Incidentally, I think there was something wrong with my Nexus image. As a result, I did use Google's instructions on how to flash etc. the OEM image. Instructions weren't ideal but I managed to figure things out: https://developers.google.com/android/images
The instructions are here which I assume would be similar if I wanted to fastboot TWRP?
To flash a system image:
Download the appropriate system image for your device below, then unzip it to a safe directory.
Connect your device to your computer over USB.
Start the device in fastboot mode with one of the following methods:
Using the adb tool: With the device powered on, execute:
adb reboot bootloader
Using a key combo: Turn the device off, then turn it on and immediately hold down the relevant key combination for your device. For example, to put a Nexus 5 ("hammerhead") into fastboot mode, press and hold Volume Up + Volume Down + Power as the device begins booting up.
If necessary, unlock the device's bootloader by running:
fastboot flashing unlock
or, for older devices, run:
fastboot oem unlock
The target device will show you a confirmation screen. (This erases all data on the target device.)
Open a terminal and navigate to the unzipped system image directory.
Execute the flash-all script. This script installs the necessary bootloader, baseband firmware(s), and operating system.
Once the script finishes, your device reboots. You should now lock the bootloader for security:
Start the device in fastboot mode again, as described above.
Execute:
fastboot flashing lock
or, for older devices, run:
fastboot oem lock
Locking bootloader will wipe the data on some devices. After locking the bootloader, if you want to flash the device again, you must run fastboot oem unlock again, which will wipe the data.
Click to expand...
Click to collapse
Also, I could've sworn that when I rooted KitKat on my Nexus, my data wasn't wiped out. I don't recall doing anything to the bootloader. I can't recall which method I used, but I know for certain I didn't use the Nexus Root Toolkit. I should've recorded my steps when I rooted.
i rooted my nexus 7 using towel root on kitkat .. i unrooted using supersu... and ota untill marhsmallow with out a problem never use kingroot as its so un stable.

Pixel 2 XL can't get past bootloader screen. Fastboot and ADB not working.

I was attempting to update my unlocked and rooted phone to 9.0. Did the usual process of extracting the factory image and removing the -w from the flash all script.
Used fastboot to attempt to flash the update and it seemed to succeed. I then attempted to reboot the device, but it began to bootloop many times just after the G logo appeared. I shut down the device and when I turned it back on it went to the bootloader screen.
Now when I tell it to start it simply returns to the bootloader screen. Fastboot and adb do not detect any devices. If i send it to recovery and attempt to perform a factory reset it says it goes through, but after rebooting it then returns to the bootloader screen. It also says my device state is still unlocked, which seems like it shouldn't be the case after a successful reset.
Any help would be greatly appreciated
I think that you should try reinstall your adb and fastboot drivers and use deuce script. You can try also small things like changing USB slot or rebooting your computer. Hope that I will help you.
gerrard8pool said:
I was attempting to update my unlocked and rooted phone to 9.0. Did the usual process of extracting the factory image and removing the -w from the flash all script.
Used fastboot to attempt to flash the update and it seemed to succeed. I then attempted to reboot the device, but it began to bootloop many times just after the G logo appeared. I shut down the device and when I turned it back on it went to the bootloader screen.
Now when I tell it to start it simply returns to the bootloader screen. Fastboot and adb do not detect any devices. If i send it to recovery and attempt to perform a factory reset it says it goes through, but after rebooting it then returns to the bootloader screen. It also says my device state is still unlocked, which seems like it shouldn't be the case after a successful reset.
Any help would be greatly appreciated
Click to expand...
Click to collapse
First, reset won't change lock state which is good.
Power it off then hold power and volume down. That will get you to fastboot mode. Since you already reset it put the -w back in and flash it again.
TonikJDK said:
First, reset won't change lock state which is good.
Power it off then hold power and volume down. That will get you to fastboot mode. Since you already reset it put the -w back in and flash it again.
Click to expand...
Click to collapse
My device isn't showing up in fastboot or adb so I'm not able to send it any commands. I've tried different computers and ports.
gerrard8pool said:
My device isn't showing up in fastboot or adb so I'm not able to send it any commands. I've tried different computers and ports.
Click to expand...
Click to collapse
Resolved. I was eventually able to access fastboot via the skipsoft toolkit. Unfortunately, still not certain what caused the initial issue.

Backup Files from bricked device?

Hi there,
looks like the latest Update for my OnePlus 9 Pro did bricked my device.
It vibrates repidly at bootup, that stopes when I have the SIM Pin Screen. After I entered the Pins I should get the Finger Print Lock Screen but it just startes to vibrating rapidly again and I get the Line with emergency Call under it to enter the password (no finger print screen). No Keyboard to enter the PW and screen turns black after a while but keeps vibrating rapidly even for hours.
I can hold Power button and restart or shutdown.
So I think it is bricked and I have to try a Factory Reset.
I can enter the recovery menu with VolDown+Power (only reset device and no clear cache option) and the EDL Mode VolUp+VolDown+Power.
Is there any chance to Backup my files in one of that modes?
Haven't you rooted your OnePlus 9 Pro? If not, I think you had better contact a customer service center of OnePlus for help.
Sadly not rooted. The customer service say: factory reset which deletes all the files ...
Any recommendations for an App that restores Files on Android after Factory Reset? One that Restores ALL kind of Files, not only Pictures, Movies and Music.
I hope I could save some of my Chatlogs of Threema (I only have a Backup of the ID, not the Chatlog).
Search&Destroy said:
Sadly not rooted. The customer service say: factory reset which deletes all the files ...
Any recommendations for an App that restores Files on Android after Factory Reset? One that Restores ALL kind of Files, not only Pictures, Movies and Music.
I hope I could save some of my Chatlogs of Threema (I only have a Backup of the ID, not the Chatlog).
Click to expand...
Click to collapse
Normally ADB works in recovery mode, could do a pull command, if firmware is A11 you could temp boot TWRP for some options...
Just a thought.
I cant find any device in recovery or fastboot mode.
I also tested my OnePlus 6.
The OP6 will be found via ADB, when I boot it up to Android.
But not sure if there is a special Driver needed for ADB in recovery or fastboot mode.
Search&Destroy said:
I cant find any device in recovery or fastboot mode.
I also tested my OnePlus 6.
The OP6 will be found via ADB, when I boot it up to Android.
But not sure if there is a special Driver needed for ADB in recovery or fastboot mode.
Click to expand...
Click to collapse
Did you install the latest OP USB drivers?
Do you have a Google account? And we're you signed in?
TheGhost1951 said:
Did you install the latest OP USB drivers?
Click to expand...
Click to collapse
No, where can i get them?
TheGhost1951 said:
Do you have a Google account? And we're you signed in?
Click to expand...
Click to collapse
Yes I have and the Device is/was logged in.
Search&Destroy said:
No, where can i get them?
Yes I have and the Device is/was logged in.
Click to expand...
Click to collapse
Then you should be able to MSM back to stock and during setup log back in to Google and it will restore all apps with data..... But before doing that try from fast boot fastboot boot twrp, connect USB flash drive and while in twrp use TWRP file explorer to copy from SD card to USB flash drive for documents and photos... If SD card is not available in twrp, the only recovery option you have is apps and app data from Google restore
But I cant install TWRP as long as I cant find the device via ADB right?
Because I cant find the OnePlus 9 Pro, I can only find my older OnePlus 6.
And in Recovery Menu (v1.2) there are only 3 Options: Wipe data (no wipe cache option), Reboot and power off.
Have the latest Stock Android available for the OP9Pro installed
Search&Destroy said:
But I cant install TWRP as long as I cant find the device via ADB right?
Because I cant find the OnePlus 9 Pro, I can only find my older OnePlus 6.
Click to expand...
Click to collapse
Can you get to fastboot? Then if so, in CMD window type fastboot devices and see if you phone sends back the serial number
Ahh here it is.
The PowerShell shows me the same Serial number as my OP9Pro shows me in FastBoot Mode (still nothing with adb devices listed)
Well I downloaded TWRP and did try to send it via 'fastboot boot twrp.img' but its not possible, because my device is locked.
All I get is:
FAILED (remote: 'boot is not allowed in Lock State')
Your best bet would be to boot into TWRP if you are running Android 11
Search&Destroy said:
Ahh here it is.
The PowerShell shows me the same Serial number as my OP9Pro shows me in FastBoot Mode (still nothing with adb devices listed)
Click to expand...
Click to collapse
You are not booted up to home screen to be seen by ADB normally...in fastboot mode if you have TWRP downloaded, try fastboot boot name_of_twrp_img.img and see if TWRP boots up. Cd to directory where TWRP image is located.
twrp can only boot when the bootloader is unlocked , with locked bootloader you cant boot twrp
and the stock recovery have no adb enabled
ChrisFeiveel84 said:
twrp can only boot when the bootloader is unlocked , with locked bootloader you cant boot twrp
and the stock recovery have no adb enabled
Click to expand...
Click to collapse
My mistake...
Search&Destroy said:
Well I downloaded TWRP and did try to send it via 'fastboot boot twrp.img' but its not possible, because my device is locked.
All I get is:
FAILED (remote: 'boot is not allowed in Lock State'what firmware were you on before this happened? Glo, EU or which?
Click to expand...
Click to collapse
What Firmware were you on?
Search&Destroy said:
Well I downloaded TWRP and did try to send it via 'fastboot boot twrp.img' but its not possible, because my device is locked.
All I get is:
FAILED (remote: 'boot is not allowed in Lock State')
Click to expand...
Click to collapse
I believe you only have two options left. Try to flash all the firmware images while in fastboot. If that can't be done, only thing left is to use the MSM tool which I know will wipe everything. But when you go to setup you phone, logging into your Google account, Google will restore apps and apps data....but you will lose the data on internal storage. Sorry that I can't be more help.

Question Unlock bootloader

Hi all!
I have an Samsung A725F but After a new update official Is bricked on start up (Samsung logo), I don't want reset the phone (reset factory), can I have unlock the bootloader without root?
- I have the access on recovery
- I have the access on download mode
- I have the access on adb (from recovery mode-update from adb)
When I go in adb mode on CMD Shell the devices is on sideload(adb devices) but I don't can nothing.
Pls help me.
Am very sorry...the only solution is to loose all data by factory reset that's the only option left . And it's not normal to hang on logo after update
You can download the whole firmware and flash it with Odin. Instead of CSC_, flash the HOME_CSC file so that you don't lose your data. See if that works.

Categories

Resources