Factory Reset on Fully encrypted rooted phone with TWRP by chr0247 v2.8.6.0 - Blu Pure XL

Hi folks,
I have following problem:
My phone's micro-usb port is broken. It is only able to charge the phone, but does not recognize USB data connections anymore.
I have activated full device encryption.
Factory resetting fails with unable to mount data messages (due to encryption?)
Factory reset from within the system fails too because it seems to need stock recovery?
Flashing of stock recovery through TWRP fails too with unable to mount data messages.
Any ideas how i can do a successful factory reset and/or flash stock recovery?
Thanks,
Clemens
Sorry for the wrong section...did read the sticky too late.

You have to use SPFlash Tool to reflash everything. From what I know TWRP v2.8.6.x doesn't fully support encryption.
Cheers,
bemolx

Related

Pressed factory reset by accident

Now it's my turn. Pressed factory reset by accident in boot loader. Can get to TWRP but it says E: Unable to mount storage
e:Unable to mount /sdcard/TWRP/twps. when trying to read settings file. etc...
Advanced File manager in TWRP shows /sdcard/TWRP
Any ideas???? If I try to mount data in TWRP my Mac wants to initialize.
Thanks
TWRP shows internal storage 0 mb
I flashed the stock recovery, then ran it and somehow it booted right into CM11. Everything was lost, but it's working again.
Factory reset wipe everything! Including SD card.
null0seven said:
Factory reset wipe everything! Including SD card.
Click to expand...
Click to collapse
Possibly, but how come CM11 was still on there? I think that the Boot Loader in Moonshine's factory reset is not compatible with CM11. Luckily the stock recovery fixed things for me.
808phone said:
Possibly, but how come CM11 was still on there? I think that the Boot Loader in Moonshine's factory reset is not compatible with CM11. Luckily the stock recovery fixed things for me.
Click to expand...
Click to collapse
I had the same issue, pressed by mistake factory reset in bootloader some time ago. I was pressing vol down to reach recovery, there was a slight lag and I pressed it a second time the immediately I've pressed power...so cursor has jumped 2 rows then executed. I've solved it only by flashing stock recovery and resetting to factory settings again, then flashed TWRP.
Now why you still had CM11...well not 100% sure but in TWRP when you wipe to factory the system partition is not formatted. I've paid attention once to the messages during a wipe and it was formatting data, cache, dalvik and android secure but not system. A reason can be that while flashing any ROM, the install script formats system at the beginning so theres no need to do that with factory reset.
Now I can only think that the factory reset from bootloader does the same and system is not wiped. Theoretically it is correct...system is read only especially on a stock non rooted device and resetting it to factory practically means that any trace of personal settings/aps and so on should be erased. And those are not stored on the system partition. There is also no hidden place on the phone where a recovery image of the original android OS is kept so this is not like on the laptops where you reset to factory and Windows is reinstalled from the recovery partition. My guess is that the factory reset just wipes all partitions that contain personal data and settings and leave system intact. So after a wipe and reboot is like you first start it.
You still had CM11 cause the wipe didn't format system...If anyone has a better explanation I would be glad to hear it. So From my point of view nothing went wrong and has nothing to do with the Maximus recovery or it's compatibility with CM11. It would have happen the same if you have used any other stock recovery
Factory reset, resets youre phone to original settings.
Anyway, its good that the phone works.
null0seven said:
Factory reset, resets youre phone to original settings.
Anyway, its good that the phone works.
Click to expand...
Click to collapse
Yes. And it is not formatting system when doing this. So any os is installed will be kept
Sent from nowhere over the air...
Rapier said:
Yes. And it is not formatting system when doing this. So any os is installed will be kept
Sent from nowhere over the air...
Click to expand...
Click to collapse
I don't want to try it again but I wonder if moonshine's factory reset is incompatible with cm11?
Dont understand what do you mean by "incompatible". The factory reset from bootloader is not the same thing as the one from a custom recovery. You shouldn't do a factory reset from bootloader regardless of the ROM you're using
Moonshine is an S-Off method, I didn't used it myself so I don't know what factory reset option is in there
Sent from nowhere over the air...
I never said anything about the custom recovery. If you should never use it, why is it there and why does it make the SD card not available?
Wow, HTC says you can use it here:
http://www.htc.com/us/support/htc-one-x-att/howto/313779.html
I'm sure you know something others like me don't, but I when I mean "incompatible" I mean that I don't believe that it should make the sdcard unavailable and make the phone think it has zero MB. I think what you might have missed is that I used factory reset from the custom boot loader from moonshine. I was wondering if that factory reset was compatible - that's all.
Again, it was a mistake - it's not like I chose it on purpose. Thank you for the help.
808phone said:
I never said anything about the custom recovery. If you should never use it, why is it there and why does it make the SD card not available?
Wow, HTC says you can use it here:
http://www.htc.com/us/support/htc-one-x-att/howto/313779.html
I'm sure you know something others like me don't, but I when I mean "incompatible" I mean that I don't believe that it should make the sdcard unavailable and make the phone think it has zero MB. I think what you might have missed is that I used factory reset from the custom boot loader from moonshine. I was wondering if that factory reset was compatible - that's all.
Again, it was a mistake - it's not like I chose it on purpose. Thank you for the help.
Click to expand...
Click to collapse
The reset to factory from bootloader exists because on stock ROM there's no custom recovery that has that option....so it's in bootloader. For it to work properly though, you must have the stock recovery also. If you have a custom recovery like twrp/cwm and use the wipe from bootloader it'll mess your sd cause phone is not able to perform the wipe properly with that custom recovery. That's why, in order to get back to normal you should flash back stock recovery and perform the wipe from bootloader again.
Sent from nowhere over the air...
Thank you for the clarification. It makes sense. Too bad that reset is so close to the recovery command. It's pretty weird that I didn't have to run the wipe from the stock boot loader again. It ran and rebooted the phone into CM11. Anyway, I am glad I am back to running. Thanks.

[Q] flashing new ROM on encrypted phone?

How do I do this? No access to /sdcard in recovery mode, can't even wipe the phone in recovery. How can you install a new ROM when the phone is encrypted? Running CWM.
EDIT: Will a factory data reset get rid of the device encryption and enable me to install the updated ROM from recovery mode? I don't mind losing the data.
jb91 said:
How do I do this? No access to /sdcard in recovery mode, can't even wipe the phone in recovery. How can you install a new ROM when the phone is encrypted? Running CWM.
EDIT: Will a factory data reset get rid of the device encryption and enable me to install the updated ROM from recovery mode? I don't mind losing the data.
Click to expand...
Click to collapse
try using twrp. read somewhere it supported encryption. not sure though.
best bet would be disable encryption. flash the rom and encrypt again. its a work around not the solution you want though.
You can't disable encryption on Android. Unfortunately, TWRP won't work for me, as I need a custom recovery that is controllable with volume buttons (like CWM), because of a broken screen.
Fastboot flash back to stock.

"Encryption Failed" - Phone Will Not Factory Reset

After searching through countless threads on this site, I've had no avail in resetting my Rogers Samsung Galaxy S6 running XtreStoLite 2.2.
A little while ago, I thought it would be a good idea to encrypt my phone with a custom ROM installed. I knew I had recovery and download mode, so I thought It'd be no biggie. Left the phone on overnight encrypting, came back 24 hours later and knew that it hung somewhere. Booted it up and this screen came up: Reset it and restored from TWRP backup, the same screen right here came up: http ://i.imgur.com/J37aZaq .png (sorry XDA will not let me post links, remove spaces) after this, I tried pressing the "reset device" button without success. It just rebooted the phone. Tried to restore from a different backup, no avail, then I tried to flash my custom ROM again through TWRP, no avail. I download ODIN and flashed stock Samsung firmware onto it and it still gave me this screen when I was done. Tried going into TWRP and factory resetting (where it wipes all partitions) and nothing happened. Currently, I'm trying to flash my Samsung Galaxy S6 with the stock firmware through ODIN with the "re-parition" box checked.
It seems there's a hardware flag of some sort stopping this from working. I mean, my file system is brand new, reset to factory defaults, I even checked with ADB and everything has been formatted. Checked with TWRP file manager and everything is good. But I can't get past the "Encryption Failed" screen.
Help me! Thanks.
fix
did you fix this?
Hi, i am encountering the same problem with my G920F.
I have the XtreStoLite_Deo_Mod_v.2.3 and also TWRP installed
I started encrypting but it got stuck so i rebooted my phone and got the same message (Encryption failed, please do a factory reset). So i did the reset but the same screen appeared. I also tried restoring from a back-up from TWRP but the same screen was still there. So i decided to do a full wipe and restore the phone with a twrp back up witch was on my laptop. But when i am in TWRP i can not copy files to (or from) my phone. So it is not possible to get the backup on my phone. I am able to get in to download mode and connect the phone with odin.
My questions are :
- what was the solution to the problem?
- What causes the copying error? And what is the solution? So i can put the backup on my phone and try to restore it this way.
- What are my option with odin? Can i use the TWRP files in odin?
Thanks a lot in advance
Jules
Solved the issue. After a full wipe i installed a stock firmware with odin. It still displayed encryption failed after reboot. But after the factory reset the notification was gone.
I have fixed this
Best solution is on a stock rom to reset. If rooted with recovery -format and wipe all data, reset, let sit at boot for a while, go into recovery and install new rom from USB-OTG, or odin from download mode.

Bootloop and TWRP "unable to mount storage" after encryption attempt

Hello all,
Hopefully you will be able to help me with this problem as I am currently without a phone until I can resolve this.
To run you through the process, I flashed Nitrogen OS, rebooted to recovery, flashed gapps and all was well. I decided to attempt to encrypt the device once I had setup my Google account. The battery was 100% and plugged into the charger. Shortly after the process started, the phone went into a bootloop. Since, I have attempted to wipe system , cache, dalvik and data, then reflashed Nitrogen OS, but it is still in a bootloop.
When I wipe system , cache, dalvik and data, I also get the error "Unable to mount storage" in TWRP.
I have even attempted to restore the backup I took before flashing Nitrogen OS, with no luck.
Any ideas?
SOLVED.
If anyone else has this problem and looking for a solution, you need to completely reflash stock firmware via fastboot. PM me if you need any help or info regarding this.
OPO_UK said:
SOLVED.
If anyone else has this problem and looking for a solution, you need to completely reflash stock firmware via fastboot. PM me if you need any help or info regarding this.
Click to expand...
Click to collapse
i have yureka plus facing same problem.I was using aex5.2 rom .Once all the apps kept starting and so i rebooted. After that message came showing that your data is encrypted and you need to factory reset.I tried factory resetting through twrp but did not help.Error shows unable to mount system storage and cache.Tried all possible things through twrp bt no use.Did not use fastboot mode as my pcb is damaged.(only charging occurs, no data transfer.).Willing to use fastboot. please help.

Data recovery from bricked and encrypted device after factory reset possible?

Hi
let's say a mistake happened, caused to brick the tablet which resulted in the need to flash the stock rom.
Is there a way to recover data from this device that was previously encrypted?
I can still see the files (at least on the SD-card) but I'm unable to open them after this event.
The data on the memory from the tablet itself is 'gone'.
I suppose that recovery was an option if it was NOT encrypted, yet impossible now?

Categories

Resources