6

How to decrypt microSD after factory reset? I have all the family memories in th...

 1 year ago
source link: https://forum.xda-developers.com/t/how-to-decrypt-microsd-after-factory-reset-i-have-all-the-family-memories-in-the-camera-folder.4308241/page-2#post-88280285
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

How to decrypt microSD after factory reset? I have all the family memories in the Camera folder!

mohrestan

New member
Jul 20, 2021
Hello

I made a fatal mistake

I encrypted my mobile SD four years ago.
The phone had a problem a few days ago and I did a factory reset without decoding. The decryption key is no longer active in the settings!
My camera folder contains over 5,000 photos and videos up to 40 GB in size. These are family memories. I recorded all the moments of my son growing up with this mobile phone.
Now I see the files, they are the right size, but because they are encrypted, they no longer run on my phone and laptop.

My phone is Samsung Note 8 and I encrypted the memory with the same phone.

what's the solution?
1e4b9495-4c13-46ef-8fed-cbcebf404539.jpg

blackhawk

Senior Member
Jun 23, 2020 11,932 4,990 Samsung Galaxy Note 10+
The encryption key is lost then.
if it was possible to decrypt it then the use of decrypting is useless in the first place

Yep and that's the root cause of the problem.
Samsung uses a 256-bit encryption key... 😳

Deleted member 1890170

Guest
@mohrestan

Do NOT longer waste your time with trying to recover the encrypted data: As long as don't have the encryption key you can't decrypt them. Point.

Reactions: EEngineer

mn96

New member
Jul 9, 2022
  1. On a PC: Copy (the encrypted and unreadable) contents of the sd card from the phone to your harddrive
  2. On the phone: Settings -> Storage -> Sd Card -> Format sd card (this erases all the data on the sd card but don't worry you have a copy on the PC)
  3. On the phone: Settings -> Security -> Encrypt sd Card (should be real fast since it's an empty sd card)
  4. On the PC: Copy the contents of the sd card onto the phone
  5. On the phone: Settings -> Security -> Decrypt sd card (edit: this may take a while depending on how much data was on the card)
The password of your device before encryption should be exact from before.
THIS IS JUST A THEORY hope it works

Hello
Thank you dear Kenora_I
your solution solved my problem

I don't know how to thank you !
I hope that God will grant you everything you want.

Reactions: EEngineer

SilentCartographer

New member
Aug 8, 2022
Hello
Thank you dear Kenora_I
your solution solved my problem

I don't know how to thank you !
I hope that God will grant you everything you want.

The decryption button stays grayed out for me, how did you manage to get it to decrypt???

truetoby

New member
Sep 21, 2022
Hey guys, I have the same Problem.. also tried the solution suggested by @Kenora_I but it did not work.

But I found a .history file on the encrypted sd card, where information about the time of encryption, the model number of the smartphone and a code (which changed for the encryption after the factory reset, but not after decrypting and encrypting again) were listed.
(+ a number which changed every time of encryption and decryption so I think it´s more like a protocol number or so)

Is the code maybe the password for the encrypted data?
And, as I am not a professional, how is it possible to try to decrypt the data with this key?

I´m afraid that it´s not the only key I need and the other one was gone with the factory reset..
But I have not given up yet and hope you guys can help me somehow..

btw. did I understand it correctly that brutforce doesn´t make sense because the (AES?) encryption technology is so secure?

blackhawk

Senior Member
Jun 23, 2020 11,932 4,990 Samsung Galaxy Note 10+
Hey guys, I have the same Problem.. also tried the solution suggested by @Kenora_I but it did not work.

But I found a .history file on the encrypted sd card, where information about the time of encryption, the model number of the smartphone and a code (which changed for the encryption after the factory reset, but not after decrypting and encrypting again) were listed.
(+ a number which changed every time of encryption and decryption so I think it´s more like a protocol number or so)

Is the code maybe the password for the encrypted data?
And, as I am not a professional, how is it possible to try to decrypt the data with this key?

I´m afraid that it´s not the only key I need and the other one was gone with the factory reset..
But I have not given up yet and hope you guys can help me somehow..

btw. did I understand it correctly that brutforce doesn´t make sense because the (AES?) encryption technology is so secure?

The encryption -was- on the user partition which was wiped. I think it's a dead horse, sorry.
Never encrypt data drives... as you are the one most likely to be locked out.

Reactions: EEngineer

rpgdev

Senior Member
Jul 31, 2011
The encryption -was- on the user partition which was wiped. I think it's a dead horse, sorry.
Never encrypt data drives... as you are the one most likely to be locked out.

That is awful advice. If your phone gets stolen and your SD card is plain text.. you better hope you didn't have sensitive data in it.. which is insanely difficult to in a phone. Invariably you put some information there you wouldn't want leaked. Of course the side effect is that you can get locked out of your files yourself and have to make provisions for that.

blackhawk

Senior Member
Jun 23, 2020 11,932 4,990 Samsung Galaxy Note 10+
That is awful advice. If your phone gets stolen and your SD card is plain text.. you better hope you didn't have sensitive data in it.. which is insanely difficult to in a phone. Invariably you put some information there you wouldn't want leaked. Of course the side effect is that you can get locked out of your files yourself and have to make provisions for that.

Ain't no one stealing my phone...
That "sensitive" data you speak of is absolutely useless once you lose it forever.
You'll learn my wisdom or eventually suffer.

rpgdev

Senior Member
Jul 31, 2011
Ain't no one stealing my phone...
That "sensitive" data you speak of is absolutely useless once you lose it forever.
You'll learn my wisdom or eventually suffer.

Lol

blackhawk

Senior Member
Jun 23, 2020 11,932 4,990 Samsung Galaxy Note 10+

Tired of the almost daily posts here of people locked out of their phone and/or trying to recover encrypted or erased data. A one bit data corruption (SEU) in a critical file is all it takes.
Dropped damage mobo failures are far more common.
99.9% of your data is only special to you.
Even if backed up you will lose some data in a failure or lockout. If your backup data is also encrypted and you lose access for whatever reasons you are boned. A failure by your own design🤣
If you lost all your data, everything, forever, how what that hit you?

rpgdev

Senior Member
Jul 31, 2011
Ain't no one stealing my phone...
That "sensitive" data you speak of is absolutely useless once you lose it forever.
You'll learn my wisdom or eventually suffer.

Still lol

blackhawk

Senior Member
Jun 23, 2020 11,932 4,990 Samsung Galaxy Note 10+
Still lol

Not to the thread's OP🤣
Unencrypted cards mean plug and play to set up/share to a new phone fast.
KISS, keep it simple stupid...

mohrestan

New member
Jul 20, 2021
@mohrestan

Do NOT longer waste your time with trying to recover the encrypted data: As long as don't have the encryption key you can't decrypt them. Point.
Can Samsung company restore the my data?

Top Liked Posts

    1. On a PC: Copy (the encrypted and unreadable) contents of the sd card from the phone to your harddrive
    2. On the phone: Settings -> Storage -> Sd Card -> Format sd card (this erases all the data on the sd card but don't worry you have a copy on the PC)
    3. On the phone: Settings -> Security -> Encrypt sd Card (should be real fast since it's an empty sd card)
    4. On the PC: Copy the contents of the sd card onto the phone
    5. On the phone: Settings -> Security -> Decrypt sd card (edit: this may take a while depending on how much data was on the card)
    The password of your device before encryption should be exact from before.
    THIS IS JUST A THEORY hope it works
    Deleted member 1890170
    @mohrestan
    The Factory Reset process gets rid of the encryption key ( AES type ) stored in Android's /system. As a result, the device has no way it can decrypt the files and, therefore, makes data recovery extremely difficult if not even impossible.
    It shows as a drive and it can be accessed; data can be imported and exported. Cut/copy works fine.

    I think we drifted from the original topic of encryption. If the phone doesn't have the encryption key it can't access the files... and neither can the PC.

    The encryption key is lost then.
    if it was possible to decrypt it then the use of decrypting is useless in the first place

    Deleted member 1890170
    Meh... NEVER encrypt data drives. It's more likely you'll be the one locked out rather than a stranger.
    The SD card is great to use as a data drive but always back it up redundantly to at least 2 hdds that are physically and electronically isolated from each other and the PC. Verify the copies are readable and complete. You can never have too many backup drives...

    Sorry but I doubt this will end well. Data that's not redundantly backed up will get lost... eventually. Been there, done that.

    It's well known that Google offers up to 100GB / 200GB / 2TB storage space to backup data: photos, etc.pp. Of course you have to pay for this service.

    You make use of this storage space / manage it by means of the Google One app.

    It's well known that Google offers up to 100GB / 200GB / 2TB storage space to backup data: photos, etc.pp. Of course you have to pay for this service.

    You make use of this storage space / manage it by means of the Google One app.
    There are flash sticks as well.
    I use a .5tb one and well as hdds.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK