Is there anyway to recover data after factory reset (encryption)? - Xiaomi Mi A1 Questions & Answers

My phone was behaving weirdly after may security update. So I decided to factory reset it hoping it would solve the problem. I had no idea my internal storage would be wiped out as well. As some of the files were important is there any way I can recover those files. After erasing there was a screen "encrypting data".
Any kind of help would be appreciated.

I'm afraid that your files are definitely lost and there is no way how to recover them. You would have to somehow get raw data of internal SD and previous encryption key to be able to "undelete" at least some data.

saurav_xdadev said:
My phone was behaving weirdly after may security update. So I decided to factory reset it hoping it would solve the problem. I had no idea my internal storage would be wiped out as well. As some of the files were important is there any way I can recover those files. After erasing there was a screen "encrypting data".
Any kind of help would be appreciated.
Click to expand...
Click to collapse
Even if you had a backup of previous encryption key the partition have been reformated
I'm sorry but no you can't

Related

help

I 'hard reset' my device and backed up everything to my sd card using htc backup. however, now my device won't read my encrypted files. is there anyway to fix this? also, all of my downloaded applications have not loaded back onto my device. help!
a hard reset clears the phone, so basically it takes it back to the state it was when it came out of the box.
regarding encrypted files, you will have a problem with those, since after hard resetting, the encryption keys were lost.

[Q] how to wipe phone?

I have never rooted or modified my Atrix, bit I have been having some problems with a couple of apps lately, and I wanted to totally wipe my phone and start from scratch.
I went to "factory data reset" and performed a reset, but when it came back there were a few apps remaining that I had previously installed.
Is there another way to do this?
Thanks for your help.
kbanes
kbanes said:
I have never rooted or modified my Atrix, bit I have been having some problems with a couple of apps lately, and I wanted to totally wipe my phone and start from scratch.
I went to "factory data reset" and performed a reset, but when it came back there were a few apps remaining that I had previously installed.
Is there another way to do this?
Thanks for your help.
kbanes
Click to expand...
Click to collapse
You could always do a SBF Flash. Search the forum for the links and how-tos
aside from the factory reset i suggest formatting the internal
settings > sdcard and phone storage settings > unmount internal storage > format internal storage
your OS stays intact.

[Q] Can't Write to Internal Storage, Help!!!!

I have a stock rooted phone and today i decide to do a manufacture reset so i went to recovery mode and i did the reset. Now and i dont know how that happen i can write to the internal storage. My SD Card works perfect and i can write to it but not to my internal.
Any clues or ideas why this happen>?
Well never mind i just fixed by doing another reset.
bartendersimon said:
Well never mind i just fixed by doing another reset.
Click to expand...
Click to collapse
Glad you figured it out :good:
I am experiencing the same issue. what kind of reset did you do? Data, Dalvik cache, etc? Or just factory reset?
Did you have to re-flash your ROM?

Phone won't boot since I encrypted the storage

I have a Samsung Galaxy S4 i9505 (unlocked version). It was using the stock v4.4.2 but it was rooted and the bootloader was unlocked, I also had a different Recovery installed (Can't remember which one but it wasn't Clockwork). I am no longer using the phone so it doesn't contain any data that I need. I was preparing the phone to sell it so I decided to encrypt the storage as I read that that doing this would remove any possibility of old data being taken off.
During encryption setup, I had to enter a PIN before I could have it encrypted so I entered one. Once it finished encrypting (took quite a while), it rebooted and asked me for the PIN to decrypt the device, I entered the PIN. It seemed like it accepted this but then it rebooted. It kept doing this so I thought no big deal as it probably already achieved what I wanted. So I did a factory reset via the Recovery. However, the encrypted partition still persisted after the factory reset.
So then I decided to use Odin (v3.09) along with the latest stock ROM (v4.4.2 I9505XXUGNG8) to write over the whole phone thinking this would reset it. But the encrypted partition still persists and it keeps rebooting after I enter my PIN.
How can I completely factory reset the phone including removing the encrypted storage? I don't need any data on the phone, just need to reset it completely back to factory.
TIA
Probably flash a custom recovery and then:
In TWRP, under "Wipe" menu, there is "Format Data" function, which will effectively remove the encryption from the device
(alongside with all the data of course).
ps the information you had about encrypting your device is wrong. Basically when you delete a file from you phone, there is no way currently possible to get it back. That is caused by TRIM. Not even professional companies can restore it as of yet. So once you delete it, it's really gone.
Lennyz1988 said:
Probably flash a custom recovery and then:
In TWRP, under "Wipe" menu, there is "Format Data" function, which will effectively remove the encryption from the device
(alongside with all the data of course).
ps the information you had about encrypting your device is wrong. Basically when you delete a file from you phone, there is no way currently possible to get it back. That is caused by TRIM. Not even professional companies can restore it as of yet. So once you delete it, it's really gone.
Click to expand...
Click to collapse
Ok, I'll give that a go.
This is a similar article to what I read about needing to encrypt the device to truly remove your personal data: http://gadgets.ndtv.com/mobiles/fea...elete-all-data-from-your-android-phone-603731
What about files that haven't been explicitly deleted? Say for example if I left all the files undeleted but I just did a factory reset, will those files be recoverable? That's what I want to protect against.
Techno79 said:
Ok, I'll give that a go.
This is a similar article to what I read about needing to encrypt the device to truly remove your personal data: http://gadgets.ndtv.com/mobiles/fea...elete-all-data-from-your-android-phone-603731
What about files that haven't been explicitly deleted? Say for example if I left all the files undeleted but I just did a factory reset, will those files be recoverable? That's what I want to protect against.
Click to expand...
Click to collapse
That articel is mistaken. As of Android 4.3, files that are deleted can't be recovered. A factory reset should be enough. It will also wipe your internal storage.
Thank you. Phone is all sorted now and back to a factory reset

Accidentally wiped encryption keys. Can I re-encrypt and make new ones?

Hey there. While I was installing a Custom ROM, I did something incredibly stupid by factory resetting my phone whilst it was encrypted, thus effectively erasing the encryption keys. I am unable to access my data from things such as TWRP because no password is accepted.
Is there a way to re-encrypt my device with new encryption keys? I understand that I will not be recovering the keys I wiped so I figured if I started with an entirely new encryption, I would be able to create working keys again.
I am completely fine with losing personal data on this device.
Thank you.
JC_6a63 said:
Hey there. While I was installing a Custom ROM, I did something incredibly stupid by factory resetting my phone whilst it was encrypted, thus effectively erasing the encryption keys. I am unable to access my data from things such as TWRP because no password is accepted.
Is there a way to re-encrypt my device with new encryption keys? I understand that I will not be recovering the keys I wiped so I figured if I started with an entirely new encryption, I would be able to create working keys again.
I am completely fine with losing personal data on this device.
Thank you.
Click to expand...
Click to collapse
Pretty much anytime you find yourself in a pinch like this, the MSM Download Tool here on XDA is the best way to go. Have you tried that?
You can also try an OTG with pen drive. It's not encrypted so TWRP can read and flash files from it. Then clean flash a ROM.
Thank you both for your help. I will try these out later.
JC_6a63 said:
Hey there. While I was installing a Custom ROM, I did something incredibly stupid by factory resetting my phone whilst it was encrypted, thus effectively erasing the encryption keys. I am unable to access my data from things such as TWRP because no password is accepted.
Is there a way to re-encrypt my device with new encryption keys? I understand that I will not be recovering the keys I wiped so I figured if I started with an entirely new encryption, I would be able to create working keys again.
I am completely fine with losing personal data on this device.
Thank you.
Click to expand...
Click to collapse
Try simply to format data
Can I resurrect this thread, because I just did the same, stupid thing?
After a long time on the OB releases, when jumping to tresk I had forgotten the proper procedure so, of course, I ended up not able to access the FS from TWRP. I can see everything fine after I've booted, of course.
@VampireHeart I *had* formatted Data (actually, System, Data, Cache) before flashing so I'm not sure this will help?
@devilrulz4ever the OTG is a nice idea, but what is the proper 'clean' process? I must be getting old...
Thanks!
krakout said:
Can I resurrect this thread, because I just did the same, stupid thing?
After a long time on the OB releases, when jumping to tresk I had forgotten the proper procedure so, of course, I ended up not able to access the FS from TWRP. I can see everything fine after I've booted, of course.
@VampireHeart I *had* formatted Data (actually, System, Data, Cache) before flashing so I'm not sure this will help?
@devilrulz4ever the OTG is a nice idea, but what is the proper 'clean' process? I must be getting old...
Thanks!
Click to expand...
Click to collapse
Format data isn't wipe data, you find it at bottom of the screen into clean section, when you tap on that you may enter yes and confirm to make it, are two different thing.

Categories

Resources