Help Required for Decryption - Touch GSM General

Dear All,
I have a question and need help. I encrypted my important data on SD card in my HTC Touch and then did a hard reset to my phone but forgot to decrypt the data before this. Now I am not able to read my data from SD card. Can you please let me know if there is a tool or any other way to get my data back.
thanks in advance.

not as far as I know.
however, maybe if you know the exact algorithm that was used to compress (and you still know the password) you could try with truecrypt on the PC.
depends really what encryption algo. the software can use.
sorry..

Related

Menc encryption problem.

hiya you lovely people, right, for some reason unbeknownst to me, my trinity has decided to go and encrypt all the files on my 4gig sandisk memory card, I really wouldnt have minded....except I didnt tell it to, I've never actually used the encryption facility/program so I have no idea why it encrypted, now, when I re-insert my card, my trinity is meant to decrypt them automatically (well, so I read) but nuffm, now I cant access anything on the *!"£$&% thing....does anyone here have any solutions?

Upgrading SD card without losing config

Hey there,
I was just wondering if we are able to change an sd card without losing the configuration and apps.
Is it possible to make an image of the complete old (small) sd, then restore this to a bigger one with resizing the data partition to fit the bigger sd card.
Anybody tried this?
thanks,
Neo
It's a good idea,but have a lot of data in sd card now.
Have anyone try it that just flash wp7 on HD2 or other dev.
Sorry 4 my English
Hmmm, intresting idea, i would say the first step is to try a complete copy, i mean, lets assume you have a 4GB SD card, go get another one and ghost it to the new one, exactly the same partitions and content.
if that works the next step would then be trying to edit the partition table to increase its size to a bigger card.
If thats possible i think the only other sticking point would be the OS its self
Someone has had an intresting experience on here which may suggest WP7 has some kind of recovery/safe mode, basically the chap did something to his SD card, he restarted and all of his apps an data were all gone, restarted again and it was all back again.
it was almost as if WP saw there was a difference, stopped its self to check everything was ok then carried on as normal.
Dont for a second assume you can back up your data doing this though, a hard reset on the phone would render the data on the card useless

[Q] Can I recover personal content after master reset done?

Hi, I did a master reset on my samsung focus without backing up any sort of personal content before.
Now I want to recover my deleted files.
Is there any chance/way that I can do this?
I already have my focus showing up as mass storage on windows explorer, and tried to use RECUVA to work on it, but it still says its not a mass storage.
Do you guys think if I take the sd card out and plug it in the laptop straight up it will work?
Or is there any easier/better way?
Thanks a lot in advance
Sadly, no. The contend is 1) encrypted and 2) inaccessible, unless you're rooted. It's like trying to open an encrypted drive when you don't know with what it's been encrypted with.
Thanks for the answer, but I don't believe it.
Its gotta be possible somehow.
ikevcolt said:
Thanks for the answer, but I don't believe it.
Its gotta be possible somehow.
Click to expand...
Click to collapse
I'm just trying to help. You have to understand 2 things:
1. You're assuming that the media (you're looking to recover) is on the microSD card. Wrong. No one knows where it goes, the OS decides. And that is because when you insert a microSD card and reset, it becomes part of the phone's memory, as one single module, if you prefer. So if you try to save something, the OS will decide where it goes (in which part of the memory). It should probably fill the internal memory first... but it's a guess.
2. The only way to access the content of a microSD card you need
- root access (developer unlock)
- this program installed (somehow)
As I said, the card is otherwise encrypted (and evidently it's content).
Having these 2 steps done doesn't guarantee you will see anything on the card. I don't know where the master file system table (or it's equivalent) is stored or anything about the file system, for that matter. I will leave this answer to the experts
I hope it's clearer now why it's VERY difficult. Not impossible. So if you find a way, do share it.
Good luck!
ikevcolt said:
Hi, I did a master reset on my samsung focus without backing up any sort of personal content before.
Now I want to recover my deleted files.
Is there any chance/way that I can do this?
Click to expand...
Click to collapse
I wonder, isn't that the whole purpose/effect of a master (hard) reset?
Suppose that you sell your phone to a stranger, would you like that person to be able to recover YOUR personal content?, I think not

on-chip data recovery

Hi fellow xda-members,
I've already posted this in the One XL section, but I realized it is a more generic problem/more generic technical question.
Thats why I post this again to maybe reach the real experienced guys from xda whom maybe know an answer to my specific question.
Ive summarized the most important points to not double-post the question.
I recently wiped my One XL 32GB with the HBOOT Factory Reset,
didnt know that it wipes the internal storage aswell...
Needless to say that I work with the phone and the data is priceless...
I already piped the whole block device(mmcblk0) via netcat and dd,
opened it with a hex editor and found out the whole fat-partition is nulled.
From what I know and heard, the only way to really secure delete any storage device
is to overwrite the data several(Mostly heared 7 times) times to avoid unwanted recovery.
The Partition wasnt formatted and neither mounted yet, there should be no changes made from android since the wipe.
If you take that into account, there's a hope to recover the data.
Does someone have experience with jtag raw data recovery?
Is there any way to gather other/deeper data with jtag?
Thanks for all replys
criestr
Its possible that the external storage is on a second MMC device.

Need to decrypt micro SDXC that was formatted as internal storage on my Moto X Pure

So recently my device stopped recognizing the SanDisk 64gb micro-SDXC I had formatted as internal storage. As far as I am aware when you format a SD this way the phone turns it into an encrypted volume and stores the key on internal storage, presumably somewhere the user cannot normally access it. The card itself is not dead, plugging it into my computer verifies this, but I cannot access it. I think some write operation failed and made it invisible to the phone. the phone did the same thing to a 128gb PNY card, but I reformatted it on PC, then reformatted it again on the phone and now the PNY is working fine. my question is, is there any way to extract the encryption key for my 64gb card(Root based tool or otherwise) from the card profile on my phone and decrypt it on a PC so I can reclaim my data? The phone still has a profile for the card, so presumably the key is still in internal storage somewhere. I had about 40gb of media on that card that I had not backed up (photos, videos, music and such). My ohone is not currently rooted but i wouldnt mind rooting it if someone has a root only solution.
I would wipe cache, then data then try another ROM.
sciencetor2 said:
So recently my device stopped recognizing the SanDisk 64gb micro-SDXC I had formatted as internal storage.
Click to expand...
Click to collapse
It is possible, though I have not done it before, I avoid adoptable storage for this reason. Do NOT wipe your ROM, or you will permanently lose your encryption key to your data that you have on the card.
If you put the SD card into a Linux PC that can recognize the partitions (Windows will not show it), you will see two partitions, android_meta and android_expand. To decrypt the big one, android_expand, you will need to recover your key from the phone.
To recover the encryption key, you will need either root access or a custom recovery like TWRP, to access '/data/misc/vold' to retrieve the encryption key (aes-cbc-essiv:sha256). Save the .key file to somewhere safe.
Then something like
dmsetup create crypt1 --table "0 `blockdev --getsize /dev/sdb2` crypt \
aes-cbc-essiv:sha256 00010203040506070809010a0b0c0d0e0f 0 /dev/sdb2 0"
mount -t ext4 /dev/mapper/crypt1 /mnt/1/
More info here - http://nelenkov.blogspot.com/2015/06/decrypting-android-m-adopted-storage.html
Once you have recovered your data, reformat the card and use it as portable storage
SenK9 said:
More info here -nelenkovDOTblogspotDOTcom/2015/06/decrypting-android-m-adopted-storageDOThtml
Once you have recovered your data, reformat the card and use it as portable storage
Click to expand...
Click to collapse
(url edited due to new user restrictions)
Thank you! this is exactly what I was looking for, but i couldn't find anything on google about anyone figuring out all the details (encryption key location, encryption method, usable tool for decryption)
now is there any way i can root, extract the key, then unroot so that i can RMA the phone? It seems to now render any sd i put into it unreadable by itself within about 5 minutes of formatting, regardless whether i format as internal or portable. not sure if this is hardware (reader malfunction) or some software is writing to the card incorrectly, but it is now doing it consistently.
sciencetor2 said:
(url edited due to new user restrictions)
Thank you! this is exactly what I was looking for, but i couldn't find anything on google about anyone figuring out all the details (encryption key location, encryption method, usable tool for decryption)
now is there any way i can root, extract the key, then unroot so that i can RMA the phone? It seems to now render any sd i put into it unreadable by itself within about 5 minutes of formatting, regardless whether i format as internal or portable. not sure if this is hardware (reader malfunction) or some software is writing to the card incorrectly, but it is now doing it consistently.
Click to expand...
Click to collapse
I do not believe it's possible to root or change the recovery without unlocking the bootloader, unless there's some other method I'm not aware of. Even MM systemless root method - http://forum.xda-developers.com/mot...t-moto-x-style-xt1572-br-marshmallow-t3259380, requires unlocking the bootloader, which of course then technically voids the warranty.
However, in this case, it might be worth contacting Moto to inform them of what's happened, it's definitely some kind of bug in the software which has caused this, and thus you are stuck in this catch-22 situation. They might make an exception or have some other solution. Let us know how you go.
SenK9 said:
... requires unlocking the bootloader, which of course then technically voids the warranty. ...and thus you are stuck in this catch-22 situation.
Click to expand...
Click to collapse
Even more of a catch 22 situation, because if i read that correctly, the process for unlocking the bootloader also requires wiping the phone (and thus, the encryption keys) (i miss geohot with his 1 click soft roots). I will wait a little while and see if I or anyone else reading this thread can find a way around that, but it seems ill have to contact Moto support either way, since my 16gb model is barely usable without an SD card.
This is another example of why taking control of your phone before something goes wrong is so important.
Did you try wiping cache yet?
lafester said:
This is another example of why taking control of your phone before something goes wrong is so important.
Did you try wiping cache yet?
Click to expand...
Click to collapse
I checked the recovery menu but there didn't seem to be an option for wiping cache on this device (recovery menu was a little different than I am used to, only had option for factory reset) Also, while wiping cache might conceivably prevent it from screwing up future cards, I don't know if it will fix this one, and i'm not sure if i wanna risk wiping anything without getting my hands on the encryption keys first. if it becomes apparent that i'm just not getting root without wiping, then I'll try playing around with recovery options to at least get back SD slot usage.
You can erase cache in fastboot. If you are locked there is no way to root without wiping data.
lafester said:
You can erase cache in fastboot. If you are locked there is no way to root without wiping data.
Click to expand...
Click to collapse
Isn't that what the setting "OEM Unlocking" under "Developer Options" is for? I thought I read that, if you enable this option before you unlock the bootloader, it allows you to unlock without the wipe/factory reset?
YITBOS said:
Isn't that what the setting "OEM Unlocking" under "Developer Options" is for? I thought I read that, if you enable this option before you unlock the bootloader, it allows you to unlock without the wipe/factory reset?
Click to expand...
Click to collapse
I hadn't heard that... Got a source?
YITBOS said:
Isn't that what the setting "OEM Unlocking" under "Developer Options" is for? I thought I read that, if you enable this option before you unlock the bootloader, it allows you to unlock without the wipe/factory reset?
Click to expand...
Click to collapse
No all that does is allow you to unlock (providing you have a key of course).
well it looks like nobody has found a non wiping solution to root my phone, so I'm going to have to give up on the data and see if I can get back SD functionality, or just RMA the phone. I think i will also publish a script that allows you to plug in your phone and the SD at the same time and allow you to decrypt an internal formatted card by pulling the keys and using them to mount the drive to help people who are in similar situations, but have root. Thanks anyway for the help.
Hi Everyone, I'm stuck in the same catch 22 situation. Device is not rooted or bootloader unlocked, so can't access the key, and trying to root/unlock bootloader will wipe the keys. Any updates, @sciencetor2??
Have you written to Motorola/google about this?
I'm still not ready to give up on the data... hundreds of vacation pictures, that couldn't get backed up.
I'm in the same boat any good news on this?
As long as the phone can see the card, you can change it to portable storage. However, if something goes wrong and phone can not see the card anymore, it's nearly impossible to access the volume without the retrieving the key from the phone, and you must root the phone in order to get the key, as I understand.
I have another similar problem, SD card becomes locked writing and disappears from phone, even I used it as portable storage. And the card can't be formatted at all. So I believe the phone somehow does something and change the state of SD card!
Did anyone find a solution yet. Stuck with same problem. Will loose very important data.
Same here.
I adopted my sdcard as internal storage in CM13.
It was constantly in bootloop, so I formatted the internal memory of the phone to install a new rom ...
But now I can not recover the data within the sd because I can not access it nor with the new rom (I can not even mount it from TWRP) nor from a linux PC (the filesystem is unknown).
Pretty much ... I did not know that the sdcard adopted were encrypted!
Any solution? :\
Hello everybody!
Is there any way to recover the deleted ".key" file?
so i havent gotten back on this thread in a while but i think i at least figured out the "why" on why the card was no longer being recognized. it seems to come down to read/write speed. my 64GB and 128GB cards that i was having the issue with were both U1 cards, which means their read/write is only sitting around 10Mbps, and both of those had issues being detected by the phone after a little bit of time in use. I replaced the card in the same phone a few months back with a high throughput U3 card, and it has been running smoothly ever since. this leads me to the hypothesis that if the card is not fast enough for the phone's taste, it will just ignore it (or timeout on reads, not sure which is actually happening) which is leading to the issues we are experiencing. unfortunately this doesnt lead us to a solution for recovering from the existing cards, but hopefully it will help avoid making the mistake of using a slow card in the future.

Categories

Resources