Galaxy nexus encrypted - Samsung Galaxy Nexus

Dear gurus of Android,
If possible I would like some help with my Galaxy Nexus since I think it is software bricked. When started it states the the phone is encrypted and wait for the key. I have read all I could get my hands on about this problem. No success so far, so I was hoping someone knowledgeable is willing to sacrifice some of his/her time to help me out.
Thanks in advance.

Hamal said:
Dear gurus of Android,
If possible I would like some help with my Galaxy Nexus since I think it is software bricked. When started it states the the phone is encrypted and wait for the key. I have read all I could get my hands on about this problem. No success so far, so I was hoping someone knowledgeable is willing to sacrifice some of his/her time to help me out.
Thanks in advance.
Click to expand...
Click to collapse
did you read this http://forum.xda-developers.com/showthread.php?t=1730463

Thanks for the quick response. Yes I did read the thread. It was one of the first things I tried. I lock/unlock the boot loader successfully. However when I start the phone in normal mode I get the same message, seems like nothing changed.

So no ideas ei. Seems Will be throwing away a perfectly functioning (hardware wise) Galaxy Nexus away. Shame since my other phone just died.
Anyway thanks for the effort.

Hamal said:
So no ideas ei. Seems Will be throwing away a perfectly functioning (hardware wise) Galaxy Nexus away. Shame since my other phone just died.
Anyway thanks for the effort.
Click to expand...
Click to collapse
Did you flashed factory image?
Sent from my Galaxy Nexus using xda app-developers app

razi914 said:
Did you flashed factory image?
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
I did, tried several, can't remember which Android version was that finally worked, however upon flashing after I started in normal mode the same **** - encrypted again like nothing happened.

What about CM or another rom?
Sent from my Galaxy Nexus using Tapatalk 4 Beta

sui785 said:
What about CM or another rom?
Sent from my Galaxy Nexus using Tapatalk 4 Beta
Click to expand...
Click to collapse
Well I only tried stock Android since this is what I really wanted. But does it make sense to try CM if stock does not work. IS there a chance CM works. IF you say I should try than I should I guess. Never thought about it. Thanks for the advice.

Did you flash the factory images with fastboot?
Returning to stock using this method http://forum.xda-developers.com/showpost.php?p=25477039&postcount=1 may fix your problem.

jaizero said:
Did you flash the factory images with fastboot?
Returning to stock using this method http://forum.xda-developers.com/showpost.php?p=25477039&postcount=1 may fix your problem.
Click to expand...
Click to collapse
Well I might be confusing the terms, but I think I did use fastboot. I got the command lines from the XDA Forum actually and entered them manually through the sdk console the way I remember it. I think I also used some-kind of automated tool that basically does the same. The result being the same naturally. But should it even matter. I mean the problem is that whatever I do once I start the phone in normal operation mode I get the encrypted storage message. I have no idea how to get around this. Should I not be able to completely wipe it somehow so there is nothing when I start it ?

Hamal said:
Well I might be confusing the terms, but I think I did use fastboot. I got the command lines from the XDA Forum actually and entered them manually through the sdk console the way I remember it. I think I also used some-kind of automated tool that basically does the same. The result being the same naturally. But should it even matter. I mean the problem is that whatever I do once I start the phone in normal operation mode I get the encrypted storage message. I have no idea how to get around this. Should I not be able to completely wipe it somehow so there is nothing when I start it ?
Click to expand...
Click to collapse
Can you get into the bootloader by pressing the volume up/down keys and power button? Does it give you the encrypted message there?
Were these the commands you used?
1) Make sure your computer recognizes your device by typing: fastboot devices
2) Unlock your bootloader (if you have not already done so): fastboot oem unlock
3) You will see a prompt on your device. This will wipe your entire device (including the /sdcard folder). Accept. Note: you use the volume keys to change the option and the power button to accept. You cannot use the touch screen.
4) Reboot by typing: fastboot reboot-bootloader
5) Optional (NOT optional for n00bs) -- Flash the bootloader: fastboot flash bootloader bootloader-maguro-primela03.img (or whatever the name of the bootloader image that you downloaded).
6) Reboot (not required if you did not do step 5): fastboot reboot-bootloader
7) Optional (NOT optional for n00bs) -- Flash the radio: fastboot flash radio radio-maguro-i9250xxla02.img (or whatever the name is of the radio image that you downloaded).
8) Reboot (not required if you did not do step 7): fastboot reboot-bootloader
8a) Verizon and Sprint devices only -- flash the LTE radio: fastboot flash radio-cdma radio-cdma-toro-i515.ek05.img (or whatever the name is of the radio image that you downloaded).
8b) Verizon and Sprint devices only -- reboot: fastboot reboot-bootloader
9) Flash the system partition: fastboot flash system system.img
10) Flash the data partition: fastboot flash userdata userdata.img Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked. See note 5 below for optional items.
11) Flash the kernel/ramdisk: fastboot flash boot boot.img
12) Optional (NOT optional for n00bs) -- Flash the recovery partition: fastboot flash recovery recovery.img
13) Erase the cache partition: fastboot erase cache
15) Reboot: fastboot reboot
16) Done! The first boot will likely take quite a bit longer than you are used to, as Android builds the Dalvik cache.

jaizero said:
Did you flash the factory images with fastboot?
Returning to stock using this method http://forum.xda-developers.com/showpost.php?p=25477039&postcount=1 may fix your problem.
Click to expand...
Click to collapse
Jaizero I just did what you suggested. Followed the link you provided and did everything according to he procedure. There were no errors. However when I restarted the phone with the last command line and it booted up in normal mode there was the same message.
The screen looks like the one on the link below (not actually my phones, have no other one to make a picture with).
http://bensullins.com/wp-content/uploads/2011/12/Nexus-S-Decrypt-On-Reboot-Android-4-600x800.png
Also I do not know if it is relevant or not but when it boots the initial screen with the Google logo in the very beginning there is a closed lock icon below the Google logo, probably because of the encryption ?
Thanks for the help in advance again guys/girls.

jaizero said:
Can you get into the bootloader by pressing the volume up/down keys and power button? Does it give you the encrypted message there?
Were these the commands you used?
1) Make sure your computer recognizes your device by typing: fastboot devices
2) Unlock your bootloader (if you have not already done so): fastboot oem unlock
3) You will see a prompt on your device. This will wipe your entire device (including the /sdcard folder). Accept. Note: you use the volume keys to change the option and the power button to accept. You cannot use the touch screen.
4) Reboot by typing: fastboot reboot-bootloader
5) Optional (NOT optional for n00bs) -- Flash the bootloader: fastboot flash bootloader bootloader-maguro-primela03.img (or whatever the name of the bootloader image that you downloaded).
6) Reboot (not required if you did not do step 5): fastboot reboot-bootloader
7) Optional (NOT optional for n00bs) -- Flash the radio: fastboot flash radio radio-maguro-i9250xxla02.img (or whatever the name is of the radio image that you downloaded).
8) Reboot (not required if you did not do step 7): fastboot reboot-bootloader
8a) Verizon and Sprint devices only -- flash the LTE radio: fastboot flash radio-cdma radio-cdma-toro-i515.ek05.img (or whatever the name is of the radio image that you downloaded).
8b) Verizon and Sprint devices only -- reboot: fastboot reboot-bootloader
9) Flash the system partition: fastboot flash system system.img
10) Flash the data partition: fastboot flash userdata userdata.img Note: this command will wipe your device (including /sdcard), EVEN if your bootloader is already unlocked. See note 5 below for optional items.
11) Flash the kernel/ramdisk: fastboot flash boot boot.img
12) Optional (NOT optional for n00bs) -- Flash the recovery partition: fastboot flash recovery recovery.img
13) Erase the cache partition: fastboot erase cache
15) Reboot: fastboot reboot
16) Done! The first boot will likely take quite a bit longer than you are used to, as Android builds the Dalvik cache.
Click to expand...
Click to collapse
Sorry saw your reply a bit too late. Yes these are the exact commands I used. Followed them exactly as stated every step worked out perfectly.
And no there is no encryption messaging while I am in the bootloader mode.

Hum... no replies. Seems like I am doing everything right yet results are bad. Means I am not doing everything right ofcourse. I am just not knowledgeable enough I guess to figure it out on my own.
Shame I really like the phone.

Hamal said:
Hum... no replies. Seems like I am doing everything right yet results are bad. Means I am not doing everything right ofcourse. I am just not knowledgeable enough I guess to figure it out on my own.
Shame I really like the phone.
Click to expand...
Click to collapse
Unlock the bootloader again, either through fastboot or omapflash. Did you try formatting partitions before flashing? Fastboot allows you to do that. Idk if you tried or have reserves towards ODIN, be extra careful both with omapflash and Odin. There's a link on unlocking the bootloader with omapflash on efrant's android 101 - links section, which is stickied on general.
a manta wrote this.

beekay201 said:
Unlock the bootloader again, either through fastboot or omapflash. Did you try formatting partitions before flashing? Fastboot allows you to do that. Idk if you tried or have reserves towards ODIN, be extra careful both with omapflash and Odin. There's a link on unlocking the bootloader with omapflash on efrant's android 101 - links section, which is stickied on general.
a manta wrote this.
Click to expand...
Click to collapse
Locking/Unlocking the bootloader does not work tried it a couple of times already. Will try the rest of what you suggested and let you know how it goes.
Thank you for the advice.

beekay201 said:
Unlock the bootloader again, either through fastboot or omapflash. Did you try formatting partitions before flashing? Fastboot allows you to do that. Idk if you tried or have reserves towards ODIN, be extra careful both with omapflash and Odin. There's a link on unlocking the bootloader with omapflash on efrant's android 101 - links section, which is stickied on general.
a manta wrote this.
Click to expand...
Click to collapse
I looked around the forums, could not find this Android 101 link tough. Any chance you might help me find it. I know I sound lazy but I really can't find the thread. Also I was thinking could an USB Jig solve this problem ?

If all else fails you could try this...
http://www.extremetech.com/computin...encryption-and-security-put-it-in-the-freezer
https://www1.informatik.uni-erlangen.de/frost

I don't see why fastboot erase userdata wouldn't work...

Sdobron said:
I don't see why fastboot erase userdata wouldn't work...
Click to expand...
Click to collapse
Well I did try it. What I did might be wrong, but here it is:
I followed the guide by jaizero for flashing via fastboot, but instead inserted " fastboot erase userdata" before the "fastboot flash userdata userdata.img" line. Than there was an error message on the phone, not on the pc command line screen, but it was so quick that I could not read it. However the process continued and was okay according to the command window and everyting went on as normal. Alas to no vail since the result was the same.
Any ideas ?
Ah I also noticed than in fastboot mode it said HW Version: 9. Any idea what it means ?
Thanks in advance for taking the time to bother with my bull

Related

How to get Authorized Software to re-lock the bootloader

Good news. The MotoDev site is now hosting the material needed for unlock / reflash / relock. You need to register but no big deal.
Forum post: https://supportforums.motorola.com/thread/46069?start=0&tstart=0
Device Software: http://developer.motorola.com/products/software/
The commands to flash and re-lock your device are as follows:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot erase cache
fastboot oem lock
wnrussell said:
Good news. Our MotoDev site is now hosting the material needed for unlock / reflash / relock. You need to register but no big deal.
"With luck, we'll have it up today. The team is working to get it ready."
https://supportforums.motorola.com/thread/46069?start=0&tstart=0
Click to expand...
Click to collapse
Ok he is now saying its up. Has anyone acutally found the files? Noone on the Moto forums will say sh** about their exact location.
Update: Seems the link to where the files are posted is incorrectly mapped. They are looking into getting the issue fixed so officials are up but not accessible.
I tried looking for the files, but that site is worse than trying to find firmware on the ibm site!
Jump to the end of the thread. They are aware of the link issue and expected it up today.
I will post the files in a new thread as soon as I find them available.
the files are up now on motorola! here http://developer.motorola.com/products/software/
whiteblazer00 said:
the files are up now on motorola! here http://developer.motorola.com/products/software/
Click to expand...
Click to collapse
Damn you beat me to it.
Can one of you please post the files here so that we don't all have to sign up for MotoDev?
c'mon people, lets get that file posted!
Give em about 5 minutes I will try to get them posted.
jmc2543 said:
Give em about 5 minutes I will try to get them posted.
Click to expand...
Click to collapse
Its all good, just bit the bullet and signed up for Moto Dev. File downloading now
joeski27 said:
Its all good, just bit the bullet and signed up for Moto Dev. File downloading now
Click to expand...
Click to collapse
Lol np. You figure its probally good you did being that any futeure files, if not evetually the updates will be posted there.
jmc2543 said:
Damn you beat me to it.
Click to expand...
Click to collapse
haha, i was refreshing every 5 seconds on the moto thread. lol
Just relocked on my mac using the moto software, good to go!
lwick74 said:
Just relocked on my mac using the moto software, good to go!
Click to expand...
Click to collapse
So we have the commands from Moto:
fastboot flash boot boot.img
fastboot flash system system.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot erase cache
fastboot oem lock
But for those (like me) who aren't super confident in their skills in this area, what steps are not mentioned above? Obviously we'd need to reboot to fastboot (power button + volume up). Then once we're there, we just use the commands above in adb? No additional reboots/remounts/etc involved here? In other words, no steps missing above that might not be obvious to some users?
Here are the steps in order to use the files ( I will post the files in a couple minutes, uploading now)
1. Extract the files to the android-sdk/tools folder
2 open command prompt/terminal from the sdk tools folder
3. adb reboot bootloader
4 fastboot flash boot boot.img
5 fastboot flash system system.img
6 fastboot flash recovery recovery.img
7 fastboot flash userdata userdata.img
8 fastboot erase cache
9 fastboot oem lock
You are now relocked and back to stock (no root) If VZ or Moto will know that you were ever rooted I dont know.
Actually you will be using the fastboot cmd not ADB (adb reboot bootloader to get into fastboot), totally different thing. Just follow the commands motorola has and your all set (no rebooting, just one after the other). When you get to the oem lock part, use the volume controls on the xoom to choose yes to continue....
jmc2543 post is exactly what I did
Thing you have to remember is you have to be in the recovery which is what the adb command does in order to use the fastboot commands. For windows anyways. I just tried fastboot commands from the desktop and the cmd prompt sits there.
Ok im stock now give me my damn update.
Nice, all set to go now. Thanks for the help bro!

HELP!!

Guys let me put this disclaimer out there, this is not my first Android device and neither my first time tinkering or modding it. I've rooted three android devices prior to this.
I upgraded from a Droid Incredible this weekend to Galaxy Nexus on Verizon and finally thought of rooting and flashing a kernel to the phone today since battery life is horrendous. I download the Rootkit that is on the forums here and went through the procedure as laid out in the thread. After unlocking the bootloader and flashing root, the phone hangs on google boot screen. I am fearing that i have bricked the phone. Does anybody else have suggestions on what should i do here? I've never had a problem with rooting a device before.
This is why I always do mines manually. It's better to do it that way and not take the faster route because you get a idea what's going on.
Is your bootloader unlocked? did that successfully work? When you turn your phone on on the bottom center.. is there a lock there?
It's not bricked. Put the phone in fastboot and flash the galaxy nexus image files to it. No big deal.
mysterioustko said:
It's not bricked. Put the phone in fastboot and flash the galaxy nexus image files to it. No big deal.
Click to expand...
Click to collapse
Exactly what I was going to say. +1
fastboot oem lock
fastboot oem unlock
Bricking this phone is nearly impossible, we have fastboot, and even Odin for when things really go to hell.
Restore to stock and start again! You should always keep these images around anyway in case you get stuck at any stage.
1) Grab the latest image for your type of phone from google:
http://code.google.com/android/nexus/images.html
2) Unzip the file and its contents into your SDK/Tools folder (wherever your adb.exe and fastboot.exe files are).
3) From within your Tools folder, open a command prompt (SHIFT + right click – “open command prompt here”) / OR open a command prompt and CD to the folder.
4) Type the following commands, allowing each to finish before moving onto the next:
adb reboot bootloader
fastboot flash bootloader bootloader-<varies>.img
fastboot reboot-bootloader
fastboot flash radio radio-<varies>.img
fastboot reboot-bootloader
fastboot flash radio-cdma radio-cdma-<varies>.img
fastboot reboot-bootloader
fastboot -w update image-<varies>.zip
fastboot reboot-bootloader
Remember the exact image name will vary depending on which version you use. Also if you have the GSM version you won't have radio-cdma etc.
There's other guide that are specific to GSM or CDMA/LTE version if you need exact filenames.
You guys are awesome! I was able to get it back to Stock Google. Thanks a lot fellas .
what would the command prompts be for a mac user?
silverado9502 said:
what would the command prompts be for a mac user?
Click to expand...
Click to collapse
where ever you see:
fastboot ...
do
./fastboot ...
ok so im on a mac and really not too familiar with the locations for things so im tryng to figure out what to, i can get to fastboot and recovery, somehow i lost my backup and the rom that i have isnt installing, i already wiped all data and now it only reboots to the google splash screen with the lock pad unlocked. what do i need to do exactly i may need a walk through unless what is on previous posts is what i need to do?

[Q] Wiped Nexus, new rom didnt work, have nothing to restore to.

So I'm an idiot. I deleted everything off my Nexus 7 then I was going to flash to a new ROM, didn't work, I don't know why but it won't install. I have nothing else to install, not any other ROMs and no backups. To make the whole entire thing worse, my Nexus wont connect to my computer. Before you say to reinstall the drivers or plug it into another computer, I have, I've tried everything and nothing works. So my question is; Am I screwed or is there somehow a way to install a new ROM (seems impossible) or put the stock ROM back on? I tried the adb sideload method but I was completely unsuccessful as well as every other method I've seen/could come up with. After trying weeks to get anything back on my Nexus 7 I'm just about ready to toss this paperweight in my drawer and forget abaout it
Which modes can you get into?
TWRP allows you to mount USB OTG. Try flashing something from there.
Press Thanks If I Helped You!
Sent from my dead Nexus 7 2013 LTE! ???
Yes, like aniket0317 wrote: if all else has failed, put a ROM on a flash drive, connect it with a USB OTG adapter, and use TWRP.
I've lately had trouble getting my N7 recognized while in recovery mode, though everything's fine while in the bootloader and Android. But with TWRP it's easy to mount external flash storage and install from that.
RecklessBrandon said:
So I'm an idiot. I deleted everything off my Nexus 7 then I was going to flash to a new ROM, didn't work, I don't know why but it won't install. I have nothing else to install, not any other ROMs and no backups. To make the whole entire thing worse, my Nexus wont connect to my computer. Before you say to reinstall the drivers or plug it into another computer, I have, I've tried everything and nothing works. So my question is; Am I screwed or is there somehow a way to install a new ROM (seems impossible) or put the stock ROM back on? I tried the adb sideload method but I was completely unsuccessful as well as every other method I've seen/could come up with. After trying weeks to get anything back on my Nexus 7 I'm just about ready to toss this paperweight in my drawer and forget abaout it
Click to expand...
Click to collapse
are you able to go into fastboot mode? if so you still have hope
kmaq said:
are you able to go into fastboot mode? if so you still have hope
Click to expand...
Click to collapse
I'm not allowed to post pictures yet but I believe I can get in fastboot mode and I am sure that I can get into ClockworkMod Recovery
RecklessBrandon said:
So I'm an idiot. I deleted everything off my Nexus 7 then I was going to flash to a new ROM, didn't work, I don't know why but it won't install. I have nothing else to install, not any other ROMs and no backups. To make the whole entire thing worse, my Nexus wont connect to my computer. Before you say to reinstall the drivers or plug it into another computer, I have, I've tried everything and nothing works. So my question is; Am I screwed or is there somehow a way to install a new ROM (seems impossible) or put the stock ROM back on? I tried the adb sideload method but I was completely unsuccessful as well as every other method I've seen/could come up with. After trying weeks to get anything back on my Nexus 7 I'm just about ready to toss this paperweight in my drawer and forget abaout it
Click to expand...
Click to collapse
RecklessBrandon said:
I'm not allowed to post pictures yet but I believe I can get in fastboot mode and I am sure that I can get into ClockworkMod Recovery
Click to expand...
Click to collapse
download the 4.4.4 image
go to fastboot mode, connect the usb cable to laptop/pc
open command prompt and go to the folder where you have extracted the 4.4.4 image
fastboot oem unlock
type flash-all.bat
if all goes well device should reboot (initally will take some time) if it took more time, reboot again into fastboot mode
this time you can try manually commands one by one
in the folder where you have extracted the 4.4.4 image you will fine "image-razor-ktu84p.zip", extract this zip file as well
execute the following commands one by one:
fastboot erase boot
fastboot erase cache
fastboot erase recovery
fastboot erase system
fastboot erase userdata
fastboot reboot-bootloader
fastboot flash bootloader bootloader-flo-flo-04.02.img
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash userdata userdata.img
fastboot flash system system.img
fastboot reboot
device should reboot and if it displays language screen then cool complete the wizard, reboot in to fastboot mode again to lock the bootloader
fastboot oem lock
fastboot reboot
and enjoy!!! do report back what happens.
fastboot -w update stockrom.zip
I'm a little confused on the instructions, also, as mentioned, my Nexus isn't recognized by my computer no matter what I try.
How does it appear in Device Manager? Have you downloaded and installed the drivers?
http://developer.android.com/sdk/win-usb.html
RecklessBrandon said:
I'm a little confused on the instructions, also, as mentioned, my Nexus isn't recognized by my computer no matter what I try.
Click to expand...
Click to collapse
in the fastboot mode, after connecting your device to laptop/pc,
if you type "fastboot reboot-bootloader" in the command prompt
what happens?
I am having the exact same problem, it was installing got stuck on "erasing userdata" for over 2 hours and now nothing will work except for fastboot, and some how the device locked itself again. Only thing i can get to is fastboot mode, the computer recognizes the device. When I try to unlock it, it gets stuck in "erasing userdata" I let it run over night last night hoping it would some how work with no luck. I am unsure of what to do. Is there anyway to install a factory OS without unlocking? Every guide I've searched for has me doing an fastboot oem unlock and then the tablet freezes on erasing userdata. Any help would be greatly appreciated. Thanks!
kmaq said:
in the fastboot mode, after connecting your device to laptop/pc,
if you type "fastboot reboot-bootloader" in the command prompt
what happens?
Click to expand...
Click to collapse
Reread your initial instructions, and it worked! Thank you so much!!!

X2 Pro: "Your device is corrupt. It can’t be trusted and may not work properly."

X2 Pro: "Your device is corrupt. It can’t be trusted and may not work properly."
Hi everybody,
my Aquaris X2 Pro worked fine with rooted BQ 1.7.3 firmware (Android 8.1 based) - Magisk was installed and worked fine and also the xposed framework.
Today the device was normally working as it suddenly just reboots
After that the usual "unlocked bootloader" screen appears but then it only shows a screen with the message "Your device is corrupt. It can’t be trusted and may not work properly."
I can select "continue" - but that only leads back to the "unlocked bootloader" warning screen --> a boot loop :crying:
Does anybody know how I can bring back my device back to work - without losing all my settings and stuff?
And any idea what happened (so that I can prevent it to do so in future)?
Hmm, I'm not 100% sure, but I think I saw that message / boot process once as I tried to root my X2 Pro.
I had done a
Code:
fastboot flashing unlock / unlock-critical
but no
Code:
fastboot oem unlock
(or the other way round? Definitely only done one of them - I was following instructions from a thread here)
and was trying to boot a magisk patched boot-img via
Code:
fastboot boot magisk_patched.img
So, it looked like the bootloader was "NOT fully" unlocked and it detected booting a "not correctly signed" bootloader.
Perhaps check your unlock status via
Code:
fastboot getvar all
But note - UNLOCKING again will wipe your data ... and can only be done if the setting in developer options is active (I fear that THAT may have changed on your device)
You could also try booting the second slot
Code:
fastboot getvar current-slot
and then
Code:
fastboot set_active a/b
(if current-slot gives a, boot b and vica versa).
Last idea: try flashing ONLY the stock boot.img. If you can do this, this should re-enable you to boot. You will loose root, but may be able to backup (most) of your settings via Helium
Thanks a lot for your help!
Inbetween I had to go the hard way and reflashed the newest BQ factory image v2.0.2 (based on Android 9) to both parts _a and _b - losing all my data...
after that I patched the boot.img for magisk and reflashed that to my _a boot partition (and still have the original boot.img in _b).
It did cost me a bit of my spare time - but it wasn't as hard as I expected...
I was able to restore a lot of my settings with Titanium backup....
merlinwv said:
I had done a
Code:
fastboot flashing unlock / unlock-critical
but no
Code:
fastboot oem unlock
Click to expand...
Click to collapse
That was exactly what I did - the first time I only did a "flashing unlock", no "unlock-critical" - so now I had to do it to flash the complete factory image, and therefore it wiped all my data again
merlinwv said:
I was following instructions from a thread here)
Click to expand...
Click to collapse
I used the BQ batch script to flash it, but did not execute the erase commands.
But that did not help to keep my data as I needed to execute a "unlock-critical"...
merlinwv said:
So, it looked like the bootloader was "NOT fully" unlocked and it detected booting a "not correctly signed" bootloader.
Click to expand...
Click to collapse
Hmm, it worked for several months without problems - don't know why it suddenly complained about it.
merlinwv said:
Perhaps check your unlock status via
Code:
fastboot getvar all
Code:
fastboot getvar current-slot
Click to expand...
Click to collapse
Very interesting commands which I didn't know - I already wondered how I can get that information
merlinwv said:
Last idea: try flashing ONLY the stock boot.img. If you can do this, this should re-enable you to boot. You will loose root, but may be able to backup (most) of your settings via Helium
Click to expand...
Click to collapse
That would be a great idea :good: which I could've tried - but I didn't...; maybe next time - although I hope the problem will never come back
Bodenseematze said:
Thanks a lot for your help!
...
I used the BQ batch script to flash it, but did not execute the erase commands.
But that did not help to keep my data as I needed to execute a "unlock-critical"...
Click to expand...
Click to collapse
You are most welcome
The erase commands are not the ones doing the factory-reset - if you want to keep your data during a "factory-flash" you need to comment/delete the lines which flash the userdata-partition.
But I do not know if you can flash the factory image without unlocked critical (=boot) flashing. I never tried this myself. Some phones allow flashing of correctly signed boot images even when critical is locked, others prevent ALL flashing then.
Of course, for "he who knows what he is doing" there is always the possibility to flash in EDL-mode (turn off, afterwards keep vol+, Vol- and Power pressed - will bring you to a special flash mode that allows flashing even when locked - but via a special serial interface etc. pp.). Google it - this would have helped you regarding "loose of userdata when doing unlock critical". But of course - you need to edit the file because in EDL mode, normally userdata is flashed, too.
Just something to keep in mind for the next time
Hmm, it worked for several months without problems - don't know why it suddenly complained about it.
That would be a great idea :good: which I could've tried - but I didn't...; maybe next time - although I hope the problem will never come back
Click to expand...
Click to collapse
I think that perhaps an update was installed (explanation for the reboot?!) that switched to the other boot-slot and did a more thorough check of the boot-chain. This was the reason to suggest trying the other boot-slot (which would then be the pre-update version, that may still boot - and even have root)
merlinwv said:
Of course, for "he who knows what he is doing" there is always the possibility to flash in EDL-mode
Click to expand...
Click to collapse
Again: very interesting information! :good:
merlinwv said:
I think that perhaps an update was installed (explanation for the reboot?!)
Click to expand...
Click to collapse
I hope that wasn't the reason, because I explicitly switched off all automatic updates. And I did not do a manual update!
merlinwv said:
that switched to the other boot-slot and did a more thorough check of the boot-chain. This was the reason to suggest trying the other boot-slot (which would then be the pre-update version, that may still boot - and even have root)
Click to expand...
Click to collapse
I tried to switch to the other slot and boot it - but that didn't help either and led to the same problem...
What I didn't tried was to only flash the boot.img - will do this next time

Recovering data on a DEAD Redmi Note 8 PRO

Hello,
I hope this is the right section for this post.
I've been using a Note 8 Pro with zero issues until one week ago when I accidentally dropped the phone in the water.
After a few seconds submerged the display turned off and I felt an intense heat coming from the zone of the battery.
Having no chance to recover the phone (tried with Isopropyl Alcohol too) I decided to open it and manually dry/clean each component, having seen the situation inside gave me the phone is dead but I still want to recover some pictures/data from it.
Before opening the open Minitool was not detecting any device on my Windows Laptop, after cleaning each component Minitool is instead detecting the phone via USB, but I still can't extract any data because the "Usb debugging" option is not tuned on (and no the device is not rooted).
Is there any option to extract data from the phone? There's a way to turn on USB Debugging via ADB on a non-rooted phone?
Thanks,
Andrea.
how about trying your luck with a service ? most of the time they do have access to special programs, which have a better functionality than adb.
Thanks for the hint, but I am not happy with the idea of someone playing with my data
1. Try reboot phone to recovery
2. Connect it to your computer (download Platform-tools)
3. In the folder with Platform-tools open cmd
4. In cmd - adb shell
5. cd storage/emulated/0
6. ls
7. Now, using the commands, drag files from your phone to your PC
Thanks for your hint.
No luck so far, I think because the phone is not in recovery mode.
I can hear the phone starting up several times (hear the jingle) so I think it's in a reboot loop and I don't know how to boot it into recovery mode wo a working display (tried with power/volume up combination with no luck).
From the windows taskbar I can see that the phone is recognized for a few seconds before it restarts.
EDIT: trying to switch the phone on with the combination "power/volume down" brings to a kind of stable state and I can now see the phone in the windows taskbar recognized as a generic "android device". Still no luck when trying to access the phone as there's no device in windows and no device obtained through "adb devices" command.
EDIT1: I think that the phone is in "FASTBOOT" mode. If I type "fastboot devices" I can see it detected but still can't access it.
Any idea? Should I give up?
If it's popping up and down you need something to keep track.
You can try my UsbLog.exe (in the sig), it just sits there and shows what devices appear (if they have a driver) and disappear.
Try these to see if anything is working:
Code:
C:\>fastboot devices
C:\>fastboot getvar all
C:\>fastboot oem device-info
Yes it's popping up and down when it's booted in recovery mode whilst is stably connected when in fastboot mode but in this case I can't access the internal memory of the device.
I didn't get the purpose of logging the devices connecting to the USB as I can see the device connected for a while and correctly recognized as Redmi Note 8 pro but as it keeps popping out windows have no time to show it's folder.
As for the code you wrote: i will try asap but already tried with "fastboot devices" and I get the phone correctly listed but still can't access its memory as told.
Renate said:
If it's popping up and down you need something to keep track.
You can try my UsbLog.exe (in the sig), it just sits there and shows what devices appear (if they have a driver) and disappear.
Try these to see if anything is working:
Code:
C:\>fastboot devices
C:\>fastboot getvar all
C:\>fastboot oem device-info
Click to expand...
Click to collapse
After rebooting the phone in fastboot mode I can see it recognized as a generic android device from windows (still can't access the storage folder of the device).
fastboot devices----> I get the device listed with a series of numbers/letters
fastboot getvar all---> I get a list of information on token/token version/partition type and size/baseband/bootloader etc.
fastboot oem device-info----> FAILED (remote: unknown command)
So I think it's clear that the device is in Fastboot mode and instead is in a boot loop when started in revocery mode.
Is there a way to extract data from fastboot mode?
Thanks,
Andrea.
If you put a custom recovery on it in the first place you can try reflashing recovery from fastboot.
Fastboot doesn't allow you to read anything.
oem device-info is obviously an oem command that might not be on any device.
You've got a Mediatek processor. That has some low level equivalent to Qualcomm EDL, but I have no experience with that.
If you can get there you can download the user data partition, but it's probably encrypted. Also no experience with that.
The easiest is if you can get the system to mount/decrypt the partition.
You've tried the normal system too?
Is this A/B? Have you tried changing slots?
How much time does it stay up in recovery? Do you have ADB? Maybe try:
Code:
# stop recovery
Does that prevent it from looping?
So I should try to flash a custom recovery like TWRP for example?
What you mean with "normal system too"?
Changing slots you mean changing usb port?
It stays in recovery less than one second so I can't give any command via ADB.
EDIT: cant' flash any custom recovery because the bootloader is locked.
If I Try to unlock the bootloader via MiUnlock I get a warning saying that all data will be erased.
Any idea on how to unlock the bootloader wo wiping all the data?
Sephiroth79 said:
So I should try to flash a custom recovery like TWRP for example?
What you mean with "normal system too"?
Changing slots you mean changing usb port?
It stays in recovery less than one second so I can't give any command via ADB.
EDIT: cant' flash any custom recovery because the bootloader is locked.
If I Try to unlock the bootloader via MiUnlock I get a warning saying that all data will be erased.
Any idea on how to unlock the bootloader wo wiping all the data?
Click to expand...
Click to collapse
There is a mediatek bootloader unlocked you just have to boot in Brom mode and it'll unlock it please follow this
PS: press all buttons
MysticNoOb said:
There is a mediatek bootloader unlocked you just have to boot in Brom mode and it'll unlock it please follow this
PS: press all buttons
Click to expand...
Click to collapse
My bootloader is unlocked!
Thank you very much.
Now I am going to try to flash a custom recovery mode via fastboot in order to access the internal memory of the phone.
EDIT: I've just flashed twrp-3.6.2_9-0-begonia.img but still can't boot into recovery mode.
Any hint on how to extract data from the system now?
You really want to boot the normal system because that's the best way to get decrypted data.
I realized that you don't have ADB enabled there.
You should look at B. Kerler's https://github.com/bkerler/mtkclient/
If you can pull the boot image off your device then I might be able to fix it so that you have ADB.
You'd have to flash it back in fastboot or mtkclient.
You can also pull a copy of userdata off the device with mtkclient.
As far as booting into recovery, there's a way.
Here's how, if you don't have A/B (that is you flashed TWRP into recovery and not recovery_a or recovery_b)
then you can fastboot flash a special file into the misc partition and it wil boot into recovery next reboot.
To return things to normal you have to flash the empty file to the misc partition.
Code:
C:\>fastboot flash misc misc-rec.img
C:\>fastboot reboot
Only do this if you don't have partitions that end in _a or _b
I really don't know if I have partitions A and B as you mentioned and I think there's no way to check actually.
I confirm I don't have "USB Debugging" active on the phone.
So if I understand correctly I should do the following:
- Flash misc-reg.img via Fastboot
- Boot into recovery just rebooting the system after flashing the above file;
- use MTKclient to dump userdata or boot image to enable ADB on (I will need help with mtkclient I suppose).
Is it correct?
EDIT: flashed TWRP first and misc-rec then rebooted via Fastboot/Reboot but nothing happens.
Sephiroth79 said:
My bootloader is unlocked!
Thank you very much.
Now I am going to try to flash a custom recovery mode via fastboot in order to access the internal memory of the phone.
EDIT: I've just flashed twrp-3.6.2_9-0-begonia.img but still can't boot into recovery mode.
Any hint on how to extract data from the system now?
Click to expand...
Click to collapse
TWRP cant boot because you used wrong one. Search again in that unlock bootloader channel and use suitable one.
Kirasu2080 said:
TWRP cant boot because you used wrong one. Search again in that unlock bootloader channel and use suitable one.
Click to expand...
Click to collapse
Hmmm, I am almost sure that the TWRP I've flashed was listed under Redmi Note 8 pro page. Can you please indicate more precisely where should I sera
EDIT: I think I've downloaded and flashed the correct TWRP file.
@Renate can you please detail your method so I can try to extract data from the phone?
Sephiroth79 said:
Hmmm, I am almost sure that the TWRP I've flashed was listed under Redmi Note 8 pro page. Can you please indicate more precisely where should I sera
EDIT: I think I've downloaded and flashed the correct TWRP file.
@Renate can you please detail your method so I can try to extract data from the phone?
Click to expand...
Click to collapse
1/Yeah it's official. You "flashed correct TWRP." Downgrade to Miui Android 9 (_9 in it's name) to boot into that TWRP and lose your data.
2/In unlock bootloader video above, search other video in his channel playlist and find TWRP video suitable for your Miui version.
Kirasu2080 said:
1/Yeah it's official. You "flashed correct TWRP." Downgrade to Miui Android 9 (_9 in it's name) to boot into that TWRP and lose your data.
2/In unlock bootloader video above, search other video in his channel playlist and find TWRP video suitable for your Miui version.
Click to expand...
Click to collapse
Can't find the right video, can you kindly send me a link (I am on the latest Miui version and I am in Europe)?
In all the videos I've seen on his page he is using the device to install TWRP etc.
I think I just need the correct TWRP version for my MIUI release and then I'll flash TWRP and misc-reg.img. Is it right?
Sephiroth79 said:
Can't find the right video, can you kindly send me a link (I am on the latest Miui version and I am in Europe)?
In all the videos I've seen on his page he is using the device to install TWRP etc.
I think I just need the correct TWRP version for my MIUI release and then I'll flash TWRP and misc-reg.img. Is it right?
Click to expand...
Click to collapse
Use brp 3.5.2 v3.1 or V3.6 to decrypt Miui 12.5

Categories

Resources