Encrypted storage card. How to restore files? - General Topics

hello,
i have a backup file on my card. This card is encripted by WM6.0.
But i have to format the PDA, and now when i tried to restore the backup file, it doesn´t work because it was encrypted.
I´ve already put the encripted configuration ON again on my PDA, but still doens´t work,
any help please!
I have Herald with WM6
thanks
Mikas

The 'password' for the encryption on the SD card is generated everytime you format (hardreset) your phone. As such, without backing up the 'password' before you hardreset your password, means you've erased the password and it is unlikely you will be able to use data on the SD card again.
There're currently no brute force software for recovering the data on the SD card encrypted using WM6.

ok.
but how can i backup the "password"? just not to make the same mistake again.
because, i´ve backuped my all system with sprit backup software, and even this file (the backup file) is encrypted.

as far as I can remember, from a microsoft Q & A page, the 'password' is "not easily accessible" on the phone. However, there are only a certain places it can have it stored, which I think if you were to have the sprite backup done, you can have the backup file copied to a PC (must be via activesync) in an unencrypted format. That 'ought' to restore the password. I think. Give it a try and let us know.

Related

Restoring Back Up

Well since this was my first root I guess I made a mistake or maybe not?
So this is the case :
I have an HTC One S (Rooted using SuperSu Method)
What I did for backup is just copy all the content from the phone (in hard drive mode) to a folder on my pc (which ended up being around 7gigs)
My question is how do I restore all that data\pics\apps\profiles back to my phone?
(Tried to copy past it back into the phones SD-Card and rebooting, The phone doesn't recognize any of the data)
Any way to actually make this work? or is it a lost cause?
Thanks for the help! :laugh:
As far as apps and their data goes, only some info is saved on the sdcard, the rest is saved on the devices internal memory.
Only restoring the stuff saved on the SD card aint gonna bring back any apps. They need to be reinstalled properly.
Goatshocker said:
As far as apps and their data goes, only some info is saved on the sdcard, the rest is saved on the devices internal memory.
Only restoring the stuff saved on the SD card aint gonna bring back any apps. They need to be reinstalled properly.
Click to expand...
Click to collapse
How about all the Contacts \ Messages and ect?
Because I have all the files on my PC (Exactly the same files that have been on the phone before the ROOT\Unblock)
Can I recover those back to the phone somehow?
Messages and contacts are stored on internal memory, unless you export them.
You dont have access to anything except /sdcard/ through the PC, unless you use ADB.
edit: What I mean is, if you have only backed up /sdcard/ (which seems to be the case), you have lost everything on the internal memory (such as messages and contacts etc).
Goatshocker said:
Messages and contacts are stored on internal memory, unless you export them.
You dont have access to anything except /sdcard/ through the PC, unless you use ADB.
Click to expand...
Click to collapse
So basically even tho I copied all the content from the phone itself to the pc, All I copied is squat.
All the raw data I get is pictures.
So no encrypted data can be found on the storage partition and I have to just start over from scratch?
And the next time I root or flash, just use Recovery backup?
You didnt copy all the content. You only copied what was stored on the /sdcard/ (which is more or less the only thing you have access to without root).
Theres a very slim amount of data android uses on the sdcard, unless the user specifically tells it to.
Next time you flash, you should back up all your apps you want to save with for example titanium backup (requires root, which you now have), save all the contacts to the sim card, and export all messages.
Then after you have wiped and flashed a new rom, just restore the backups with titanium backup again, and import contacts from sim.
The backup/restore in recovery backups/restores the WHOLE system, so when you restore it it will be exactly like the way it was when you made the backup. (edit: to clarify, if you flash a new rom, then restore a backup made on another rom, you will return to that rom the backup was made on)
Goatshocker said:
You didnt copy all the content. You only copied what was stored on the /sdcard/ (which is more or less the only thing you have access to without root).
Theres a very slim amount of data android uses on the sdcard, unless the user specifically tells it to.
Next time you flash, you should back up all your apps you want to save with for example titanium backup (requires root, which you now have), save all the contacts to the sim card, and export all messages.
Then after you have wiped and flashed a new rom, just restore the backups with titanium backup again, and import contacts from sim.
The backup/restore in recovery backups/restores the WHOLE system, so when you restore it it will be exactly like the way it was when you made the backup. (edit: to clarify, if you flash a new rom, then restore a backup made on another rom, you will return to that rom the backup was made on)
Click to expand...
Click to collapse
Got it
I actually found some encrypted data such as : Whats up message history, Some Contacts, Specific apps.
And I recovered all my contacts VIA my google account.
Only thing lost is the applications, which I will reinstall in like 30 minutes.
Anyhow I am quite happy I got into the rooting business, Already feel the different abilities and the uncovered raw code + new line of root supported apps waiting to be savaged by me.
Thank you for the help anyways (and the quick reply as well)
And I think the original ROOT tutorial post should have a step which is a "back-up step" which explains how to back up most of the info before rooting, and the ability to back up with root.
Cheers!

I encrypted my SD card and did something stupid

Alright, so I was dumb and encrypted my SD Card, and did not make a backup. I didn't like that I couldn't access it with Titanium Backup so I pulled the files off of it, and wiped the card (didn't think that I could have just decrypted them at that point in time, I thought I had to wipe it to decrypt it, turns out that's if you encrypt your phone.) is there any way to decrypt them with Wndows, or somehow with my phone? I have a lot of pictures on there. Thanks, any recommendation would be great! :fingers-crossed:

Twrp (restore

Hello,
I made a backup of my phone using TWRP. When I try to restore from the backup I created, I get a "E:extractTarFork() process ended with ERROR=255" error message when it tries to restore the data.
Anyone know the fix for this?
Not much information there to even begin.
Did you back up to SD or internal storage? Did you back up everything except SD card? Is the phone set to use system storage as default install and storage space?
IMO, it works best when you don't allow the phone to use the SD card as install/storage, then a backup to SD, including all partitions is easy to restore. Also allow it to write an md5 checksum.
Most likely, you can't fix it now and will have to start again.

Decrypt SD card after factory reset

Hello,
I unexpectedly had to do a factory reset on my S7 while the SD card was encrypted, as result the SD was not obviously readable afterward.
I saved part of the encrypted content of the SD card (basically the pictures) before formatting it and starting using it again, however I'm not able to recover this content.
I tried with the procedure I found on internet:
- saving the encrypted data
- format the SD card
- encrypt of it
- copy of the saved content back to the SD
- decrypt
However, at the decrypt state the phone don't move from an 'Analyzing SD card' phase.
Any idea? I'm afraid I should have saved all the content of the SD card...
Thank you
You should plug the SD card on to your PC using an SD Card reader. Open up CMD, and type diskpart.
After which, type list volume, and you will see the "drive letter" of your SD Card, type clean and afterwards...
Proceed to typing create partition primary size = "insert capacity of SD card here (mb" *w/o the quotation marks*
After which, type assign letter=F
It should work fine after this hopefully.
When you encrypt the SD card, Android makes a unique key that is stored in the Android trust store. When you factory reset the device, that key is lost. Permanently. Remember, the whole point of encryption is so malicious parties cannot access your data. If you could just read it again after factory resetting then there isn't much point is there? Your only option is brute-forcing it.
Always backup. Always.
CurtisMJ said:
When you encrypt the SD card, Android makes a unique key that is stored in the Android trust store. When you factory reset the device, that key is lost. Permanently. Remember, the whole point of encryption is so malicious parties cannot access your data. If you could just read it again after factory resetting then there isn't much point is there? Your only option is brute-forcing it.
Always backup. Always.
Click to expand...
Click to collapse
Thank you
I do have a backup, however it was more convenient to restore the 20GB of photos from the SD rather than from the cloud.
I was reading some guides on internet with this procedure that's why I tried.
I will survive, thank you both for your answer
Mone181 said:
Thank you
I do have a backup, however it was more convenient to restore the 20GB of photos from the SD rather than from the cloud.
I was reading some guides on internet with this procedure that's why I tried.
I will survive, thank you both for your answer
Click to expand...
Click to collapse
If somehow it was possible to backup the encryption key which is generated randomly on each phone then it would be possible to decrypt it on your PC even if the phone was damaged using your password and encryption key. For some stupid reason this is not implemented in Android (but it was doable for some devices), for example TrueCrypt or Microsoft Bitlocker allow it.
difto said:
If somehow it was possible to backup the encryption key which is generated randomly on each phone then it would be possible to decrypt it on your PC even if the phone was damaged using your password and encryption key. For some stupid reason this is not implemented in Android (but it was doable for some devices), for example TrueCrypt or Microsoft Bitlocker allow it.
Click to expand...
Click to collapse
Yes, I thought the encryption was based on pin of the phone actually.
Lesson learned
Hello,
I have similar problem, but with Sony Xperia Z5 Compact. I made factory reset but didn't decrypt SD card before. SD card was ejected before reset, so I have all the datas, but cannot open them.
Is there any chance that I may recover my photos and videos if I don't have any backup?
Best regards.
Anyone?
Hi everyone
I kinda have the same problem. But the difference in my case is that I didn't reset the phone. While operating normally, one day it gave me a notification that encryption has failed. When I touched it, a page opened with the button of decrypt SD card at the bottom. I thought a restart would fix the issue. But when restarted, the contents of my SD cannot be accessed. I tried to decrypt it manually but in the settings, it thinks that the SD is unencrypted and only gives me the option to encrypt it, which obviously fails after every try. I was wondering if there is any way to trigger the decryption manually? Because I didn't reset the phone or anything and the data is still there. The phone just fails to see it.
Thanks in advance
Hey! I can confirm for 1000% the method you said worked for me:
- saving the encrypted data
- format the SD card
- encrypt of it
- copy of the saved content back to the SD
- decrypt
I deleted a video was able to retrieve it using Diskdigger on my pc. But then I was unable to open it because it was encrypted. So than I decrypted the SD in my phone only to find out the files were than unrecoverable deleted!?! Luckily I copied the files to my pc before decrypting!!! I used ur method and it worked decrypted it and everything played fine! Must say I was on the same os same phone(s8) so that must've been why it worked anyway still it worked. I'm happy, I acquired parental responsibility because of u?
I have made a similar stupid mistake I rooted my galaxy s8 and forgot to decrypt the SD card... now can anyone help me with the steps that I can fallow to decrypt the camera folder...
I to have a same problum ..
please any one find out the result of that data recover from encripted sd card from samsung a50

Help for recovery of encrypted data from formatted SD card

Hello Guys,
Yesterday my phone (Samsung S7) fell and the screen and touchscreen is not working since then. Not surprised given that it is shuttered XD.
Anyway, I had an sd card in the phone with all the photos saved on it, without cloud backups. Not remembering that the card was encrypted, I have simply connected the phone to my pc and copy pasted all photos to a pc folder. The sd card has then been inserted into a new Samsung A20e and fast formatted.
My problem is that now I have all the photos on my desktop which are encrypted and can't be opened. As soon as I realized this I have removed the sd card from the A20e to avoid overwriting data in case it can be recovered.
I would gladly appreciate if any of you could tell me if there is a way to recover this data.
I can access the USB debugging mode on the S7 and navigate its files.
My inexperienced ideas were:
1. Is it possible to recover the encryption key from the files in the phone and then use this do de-encrypt the photos on the pc?
2. If I insert the sd card back into the S7, format it, encrypt it (through a pc screen mirrowing tool), copy the photos form the pc into the card would the phone be able to read them? This could be possible if the phone uses always the same encryption key without changing it.
3. Is there any use in trying to use one of those data recovery tools on the sd card? The data I would get will still be encrypted.
Thanks to anyone who'd be willing to help.
upuupupupup
Galbanino0 said:
Hello Guys,
Yesterday my phone (Samsung S7) fell and the screen and touchscreen is not working since then. Not surprised given that it is shuttered XD.
Anyway, I had an sd card in the phone with all the photos saved on it, without cloud backups. Not remembering that the card was encrypted, I have simply connected the phone to my pc and copy pasted all photos to a pc folder. The sd card has then been inserted into a new Samsung A20e and fast formatted.
My problem is that now I have all the photos on my desktop which are encrypted and can't be opened. As soon as I realized this I have removed the sd card from the A20e to avoid overwriting data in case it can be recovered.
I would gladly appreciate if any of you could tell me if there is a way to recover this data.
I can access the USB debugging mode on the S7 and navigate its files.
My inexperienced ideas were:
1. Is it possible to recover the encryption key from the files in the phone and then use this do de-encrypt the photos on the pc?
2. If I insert the sd card back into the S7, format it, encrypt it (through a pc screen mirrowing tool), copy the photos form the pc into the card would the phone be able to read them? This could be possible if the phone uses always the same encryption key without changing it.
3. Is there any use in trying to use one of those data recovery tools on the sd card? The data I would get will still be encrypted.
Thanks to anyone who'd be willing to help.
Click to expand...
Click to collapse
If it has been formatted, it is gone. Recovering data that has been deleted is quite possible. Recovering data that has been formatted is not likely. And even if you did manage to recover any of the data, it would be very fragmented and incomplete, in other words, there wouldn't be enough left behind to recover anything that is a complete or useable file, all you would have are incomplete pieces of files.
However, it is possible to decrypt your encrypted backup but I don't know the best method to do so.
I only posted to give you an idea of what is possible and what isn't.
Sent from my SM-S767VL using Tapatalk
Droidriven said:
If it has been formatted, it is gone. Recovering data that has been deleted is quite possible. Recovering data that has been formatted is not likely. And even if you did manage to recover any of the data, it would be very fragmented and incomplete, in other words, there wouldn't be enough left behind to recover anything that is a complete or useable file, all you would have are incomplete pieces of files.
However, it is possible to decrypt your encrypted backup but I don't know the best method to do so.
I only posted to give you an idea of what is possible and what isn't.
Sent from my SM-S767VL using Tapatalk
Click to expand...
Click to collapse
Thanks for the reply.
At least if you say that is possible to decrypt the files there is some hope for them. Have you got any idea of where I could understand more on how to do it?

Categories

Resources