sd data encryption - HTC Excalibur

I upgraded to windows mobile 6.1 kavana the problem I have is that I have encrypted the data with my earlier version the question is, is there any way you could read the data?
tanks

CHARLYUNLOCK said:
I upgraded to windows mobile 6.1 kavana the problem I have is that I have encrypted the data with my earlier version the question is, is there any way you could read the data?
tanks
Click to expand...
Click to collapse
maybe you could try OTFE4PDA to read data that has been encrypted , go here to get it...

how workrs?

If you have used the built in encryption of windows mobile your old data are lost forever. The data are (to my knowledge) encrypted in a device-HW-key (+ probably user name) dependent encryption and cannot be read by any other device. Microsoft advises to copy the data from such a card via the device itself (AS connected) to a backup before upgrading.
You may(!) be lucky if you step back to the very same old OS with old same user name, but I doubt it.
A similar tool that encrypts your data like the one proposed will not help at all.
I think that not many are using the built in encryption, so knowledge is not so widely public in that regard.

files with extensions were changed by changing the file extention is damaged, asks:
and so know what version of had before? I was according to the standard version 6

Related

Can anyone HELP ???.........

Before swapping my XDAIIi with my new EXEC I made a back-up on my SD CARD. BUT THE EXEC CANOT RESTORE FROM THIS LOCATION!!!..... Is there anyway of recovering my data????? thank you anyone out there with more knowledge and expertise who could help.........
Find another device running the same ROM version as your old device and restore your data to that device. The extraxt what you need and active sync. The transfer all data to the new device.
Thanks.....It was exactly what I thought. But I have tried this on 4 different machines.....and they all crashed or froze and it just didnt happen........
Is there any other possible way!? :?
When you say you made a backup on your SD card, I'm guessing you mean a backup of the entire XDAIIi system (including all your files, all program files and all ROM files).
If so, you can't restore a backup from an XDAIIi onto an XDA Exec. They're two completely different machines and the backup will be incompatible.
Like badgerboybadger says, you need to extract from your backup only those files that contain your personal data: your documents, templates, ringtones and so on. Leave behind anything connected with the device or installed programs. Then you can copy your personal data onto your Exec and it will work. If you want to transfer installed programs from the IIi to the Exec then you'll need to reinstall them on the Exec...
....silicon,
Yes Indeed, I did make a full system backup!
and you are talking about something i was not aware it is possible to do???
lets see......
you say......"you need to extract from your backup only those files that contain your personal data: your documents, templates, ringtones and so on. Leave behind anything connected with the device or installed programs. Then you can copy your personal data onto your Exec and it will work"......
Click to expand...
Click to collapse
How can I even access the inside of the CompactFlashBackUpNew backup file ......???
Is that what you are suggesting ...if I understand you right???
Thanks.... :idea:
Wangu77 said:
How can I even access the inside of the CompactFlashBackUpNew backup file ......???
Is that what you are suggesting ...if I understand you right???
Thanks.... :idea:
Click to expand...
Click to collapse
Yeah - I guess that was what I was suggesting, but I've got no idea how to do this! Sorry.
I wasn't sure which way you'd have done your back up or whether it's possible to extract particular files. I suppose it must be, but I've never done it.
If you still have your XDAIIi then can you copy specific files off it?
Alternatively, do you still have a synchronised documents folder on the PC to which you used to connect it? That should have most of the documents that you'll want to keep.
If not I don't know what to suggest.
Providing your old PDA is still available, you really need a backup program that you can run on both PDAs. For example, something like Sunnysoft's Backup Manager - even a time-limited trial edition may be sufficient. Select and back up the required files/data to SD-card on the old PDA, then move the card to the new PDA. Install the backup program there and recover the files/data with that.
Just be careful of the different program versions, try not to copy system files across, and be prepared to do it a couple of times (or more) until you get it right.

Beware: Encrypt SD + New ROM == lost files

I'm assuming this is associated with the recent phenomenon of hardware ID's changing everytime a new ROM is installed. Apparently MS uses the same hardware ID when it encrypts files on SD cards. What this means is you will lose all of your files on the SD card (including backup files) if you have encryption turned on, the files get encrypted, and then you switch ROM's.
So.. uh.. this is just a little warning, and it might be obvious to everyone but me... don't use SD encryption unless you know you're going to stick with a ROM.
I have no idea why MS doesn't just use the IMEI, but... they don't.
From what I read about the encryption, the key is generated after a hard reset, so basically you can't hard reset the device once data is encrypted.
Do you know wether there is an option to backup ones key to a file, save it to ones PC, and then reimport it once one has finished hardresetting the device?
If I were MS I'd see the vast usefullness of such an option and integrate it at once
the encryption key is created when you turn the Setting on...
and when flashing a new ROM or a HardReset the key is desteroid...
i am still yet to find the location... still looking...
Providing you remember, can't you just turn off the setting before a flash or hard reset and restore all the files to there unencrypted state?
Once the ROM has been flash and everything hard-reset you can just encrypt them again?
Percz said:
Providing you remember, can't you just turn off the setting before a flash or hard reset and restore all the files to there unencrypted state?
Once the ROM has been flash and everything hard-reset you can just encrypt them again?
Click to expand...
Click to collapse
No, because turning it off doesn't decrypt existing encrypted files. Just like turning it on doesn't encrypt the normal files. It will decrypt them as you open and resave them.
:-\
walshieau said:
the encryption key is created when you turn the Setting on...
and when flashing a new ROM or a HardReset the key is desteroid...
i am still yet to find the location... still looking...
Click to expand...
Click to collapse
OK; that makes sense. I just realized that after I hard-reset I restored most of my settings with the data from a backup (Sprite Backup). I wasn't seeing the encoded files problem because I was restoring from a non-encrypted file.
ugh.
y2whisper said:
From what I read about the encryption, the key is generated after a hard reset, so basically you can't hard reset the device once data is encrypted.
Click to expand...
Click to collapse
That makes perfect sense, actually. That way someone can't hard reset your phone to get at the data.
Too bad it also means the real owner can't get to his own data..
Some FAQs from the horse's mouth: http://blogs.msdn.com/windowsmobile...ows-mobile-6-storage-card-encryption-faq.aspx
What you can do is ActiveSync your Device and then drag and drop all the files you want to keep before the hardreset. And then when you finish installing your ROM and Hardresetting your device, just transfer back the files via activesync. I know its tedious and long if you have like 1 gig of **** in the SD card, but thats the only way i've found.
just lost files to encryption
Been reflashing my 8525 with new versions of custels and vanilla and have never lost files to encyption. However just flashed to Black 3.01 and lost all my stuff. If i flash back to my previous ROM is it conceivable that the same key will be created and i will regain access to my files?
Unfortunately, I was also unaware of this. I presumed MS would use a key based on the hardware or something like that.
Anyway, is there any way of breaking the encryption and get back the files?
Thanks!
Keshen
As the DataProtection API as in WinXP and Win2003 is used, it is AES-128 by default.
"The design and strength of all key lengths of the AES algorithm (i.e., 128, 192 and 256) are sufficient to protect classified information up to the SECRET level. TOP SECRET information will require use of either the 192 or 256 key lengths."
So brute force attack is not really an option….
As the key is stored somewhere in the flash I think this will be the only feasible way to decrypt the files.
But as the key is lost because of the hard-reset during upgrade, there is not much hope...
Only if we can get more information on how the keys are generated, maybe this will reduce
the complexity of an attack.
You won't have good luck trying to crack the encryption. Which, is actually a good thing since the purpose is to keep your data safe in the wrong hands. I prefer to use a 3rd party encryption solution as it allows more choices and control.
MrGAN said:
As the DataProtection API as in WinXP and Win2003 is used, it is AES-128 by default.
"The design and strength of all key lengths of the AES algorithm (i.e., 128, 192 and 256) are sufficient to protect classified information up to the SECRET level. TOP SECRET information will require use of either the 192 or 256 key lengths."
So brute force attack is not really an option….
As the key is stored somewhere in the flash I think this will be the only feasible way to decrypt the files.
But as the key is lost because of the hard-reset during upgrade, there is not much hope...
Only if we can get more information on how the keys are generated, maybe this will reduce
the complexity of an attack.
Click to expand...
Click to collapse
Breaking AES is pretty hopeless unless you have access to the NSA's computer systems.
The big problem, in my opinion, is MS doesn't give you an easy way to back up the key and restore it. Now that I've given it more thought, it makes perfect sense that the key gets nuked on a hard-reset: otherwise someone could just hard-reset your phone and have access to your data. In most cases, it's better to permanently lose the data than to allow someone else to have access to it.
Another thing that MS would be wise to offer is a "mass decrypt" function that would go through the entire SD and decrypt all of the encrypted files.
Other than that -- the way I've been dealing with it is by using SpriteBackup (I'm sure SBP does this too) and back up the SD card along with the main memory. Since the encoding happens in the OS level, the backup software sees the normal unencrypted files. So this way I can restore the SD backup after a rebuild (I don't recommend restoring the main ROM image, since so much changes between each release).
j
keshen said:
Unfortunately, I was also unaware of this. I presumed MS would use a key based on the hardware or something like that.
Anyway, is there any way of breaking the encryption and get back the files?
Click to expand...
Click to collapse
Once you hard-reset your device and lose that key, your files are gone, unless you somehow have access to some very very high powered computer systems that can break AES -- and even then it would take several years.
I think the NSA in the US has managed to break AES (that's the rumor I've heard), but it takes quite some time.
j
AES-128 offers a sufficiently large number of possible keys, making an exhaustive search impractical for many decades.Correctly implemented AES-128 is likely to protect against a million dollar budget for at least 50 – 60 years and against individual budgets for at least another 10 years.
But as there are many pitfalls to avoid when encryption is implemented, and keys are generated.
So if the key is easy to guess it doesn’t matter if AES is secure ot not.
Creating good and strong keys is a surprisingly difficult problem and requires careful design when done with a computer. The challenge is that computers are notoriously deterministic, but what is required of a good and strong key is the opposite – unpredictability and randomness.
Provided that the implementation is correct, the security provided reduces to a relatively simple question about how many bits the chosen key, password or pass phrase really corresponds to. Unfortunately this estimate is somewhat difficult to calculate, when the key is not generated by a true random generator.
To make a long story short: if at all then the key generation might be the weak spot...
So i've to realyze that i've lost all the data of mi SD card. That sounds incredible!!, i don't know if i will be able to recover all the changes made.
I installed Mobsync, wich makes me backups of the SD data to avoid SD corruption, but the files are also encrypted on my PC.
WM5torage
I'm curious if anybody has tried turning encryption on, and using WM5torage to transfer files to/from the Hermes. Does it properly encrypt/decrypt the files, or does that work only when using ActiveSync?
-- Joe

Does anyone have earlier ROM for Cingular 8525?

I am a newbie and not myself a developer, so if this question or my accessing this list is out of line, let me know. I am looking for a way to restore the former ROM that was on my device before upgrading.
Cingular/ATT just sent out an upgrade on their 8525 ROM, not to Windows Mobile 6, but just a more enhanced Windows Mobile 5 with push to talk, and some other changes.
After upgrading the ROM, my backup file for my Personal Databases will not restore. The Sprite Backup (5.1) backup file was the only storage I had of important data at least for the last four months, when I stopped being able to activesync it. The support staff at Sprite said they got my personal databases file to work, so I know the file itself is not corrupted, and the data is there, but every time I try to restore it to my 8525 (ie, following a hard reset, with and without the sbu file that Sprite created for moving from one ROM to another)... every time I try to restore it, it corrupts my Calendar and Contacts programs, bringing in no data, and making the Contacts program unusable.
My best guess is that the only way I can regain access to this data is to restore to the old ROM, then fix the ActiveSync problem, and save the data that way, then reupgrade to the new ROM, and sync that.
I give all this detail in case someone has a better suggestion as to what might be causing the Personal Database file not to restore, and not to work following the upgrade.
Short of that, I'd be interested if anyone can show me where I might restore the old ROM. Private replies are accepted.
Tom Bartlett
Here's the original 1.34.502 ROM for the 8525. If you're needing the UNofficial 2.06 leaked release, I don't have that one. . . sorry
Thanks so much!
Tom Bartlett
I am not sure how to use what the link downloaded. Perhaps my mistake was in downloading it to my laptop, for later use? It came as a large zip file, with three RAW files.
How do I use that download to change my ROM?
My guess is that I'll need to have my 8525 synced in Active Sync, and do the hit "run" rather than "save as" ?
Tom
CRAP!! Disregard that file. . . it's the wrong one. I'm uploading the CORRECT one right now.
I'm soooo sorry. . . I'll be back with the correct link as soon as it's uploaded.
Here it is. . . the CORRECT file.

Encrypted SD files are locked

I chose to encrypt the files on my SD card using the option in under system. i have flashed to a new ROM and forgot to copy the files from my SD to my PC and now they all have locks on them and i cannot open them . anyone know how i can unlock them in any way or do i need to just delet them and move on?
TIA
Based on what I know of how the encryption works, I think you're going to be stuck deleting the files and moving on. Everything I've read says that you can't recover files encrypted by one handset on a different handset (which your newly flashed handset is, in terms of the encryption algorithm).
Sorry.
celith said:
Based on what I know of how the encryption works, I think you're going to be stuck deleting the files and moving on. Everything I've read says that you can't recover files encrypted by one handset on a different handset (which your newly flashed handset is, in terms of the encryption algorithm).
Sorry.
Click to expand...
Click to collapse
Thanks for your help
Yep, they're gone. When you flashed, you wrote over the key you need to decrypt them.

[Q] Wave S8500: gaining access to hidden OSP partition

Hello everybody. I have just found this very interesting forum...
As from title, I have just upgraded my ROM and forgot to backup some important files. I.e., I had many notes written down on the mini diary. Even if I think the mini diary data might be now overwritten, I would like to know for the next times if there is a way for gaining "disk" access to the OSP (hidden) partition. With "disk" access I mean being able to see the partition as a disk for using prohgrams like GetDataBack or Active File Recovery to restore any deleted file...
The reason I would like to do that is because usual programs, i.e. WaveBackup, are only able to backup not deleted files, as you know. Beside that, WaveBackup gives me an error message saying "could not retrieve..." a certain file, several times.
I'm aware that way would mean booting up from another partition or, anyway, accessing the OSP partition in an alternative way in wich Bada boot up should be avoided...
Thanks for any response or opinion
Use Kies Backup function that came with bada 2.0
Best Regards
Sorry.
You can only backup exisiting files.
There are NO Software Tools available, to restore overwritten/erased stuff from memory.
Handset is more complex/complicated as USB Memory Stick... you have NO direct access to "OSP partition"...
forgot to backup some important files.
Click to expand...
Click to collapse
Next time FIRST Backup.
Best Regards
mylove90 said:
Use Kies Backup function that came with bada 2.0
Best Regards
Click to expand...
Click to collapse
Unfortunately I'm still using Bada 1.2. Thanks for advising, I'll search for knowing about it
adfree said:
Sorry.
You can only backup exisiting files.
There are NO Software Tools available, to restore overwritten/erased stuff from memory.
Handset is more complex/complicated as USB Memory Stick... you have NO direct access to "OSP partition"...
Next time FIRST Backup.
Best Regards
Click to expand...
Click to collapse
It's a pity to know Thanks anyway. I'll surely remember, the next time
Bye!

Categories

Resources