My micro sd became unusable after encryption. - Windows Mobile Development and Hacking General

I have enabled the Encryption on my PDA and then I have disable it, I couldn't save anything on my micro sd card and I hard reset my PDA. I have backed up my files and try to delete them from sd card and nothing happened. I have connected the micro sd through a card reader on my PC and I tried to format it and I get a message that cannot perform format. I have deleted the files manually from PC and when I connect the card back to device I can see all files on the card as was before.
Can anyone help me format the sd card and use it again from the beginning?

The encryption in WM6 really sucks. It encrypts the files and makes .menc files of them. The problem is that there is no option to store the encryption key, so the files are only usable on the phone that encrypted them. If you want to view the files on another phone or a pc you can't. the same if you put another rom on your phone.
To format the card i used wm5torage and connected the phone as an removable device. Then you can format the card from your pc. There are also various maintenance programs for WM that can use to format the card.
At last there is a manufacturer from sd cards where you can download a low level format program (cant find the program anymore in my ever growing download folder, so can't be more helpfull )
Arjan

adejager1 said:
The encryption in WM6 really sucks. It encrypts the files and makes .menc files of them. The problem is that there is no option to store the encryption key, so the files are only usable on the phone that encrypted them. If you want to view the files on another phone or a pc you can't. the same if you put another rom on your phone.
To format the card i used wm5torage and connected the phone as an removable device. Then you can format the card from your pc. There are also various maintenance programs for WM that can use to format the card.
At last there is a manufacturer from sd cards where you can download a low level format program (cant find the program anymore in my ever growing download folder, so can't be more helpfull )
Arjan
Click to expand...
Click to collapse
yup it really does suck.... happened to me once... what i did was (which resolved the problem)... removed the check on the radio button, then added new files to the sd after the encryption is disabled. all my files are back to normal. you shouldnt have formatted your device as the encryption keys will be lost as well...
you can also try pocket mechanic to reformat your card...

Related

Can't format SD card

The Sandisk 256mb SD card in my xda II refuses to be formatted! I have used Cnetx Flash Format, StorageTools and PocketMechanic to format the card to get rid of unwanted data. All progs re-format the card, but when rechecking with File Explorer, all data is still there. I note that these files are marked in the Album app with a small lock image, as if they have been attributed read only. If so, how can I change the file attrib?
are you sure that the read/write lock on the card is not turned on ?
Definitely not.
can a sdcard reader format it ?
with pocket mechanics did you do a logic format or a fysical format ?
Definitely not.
Did a logical format with Pocket Mechanic
try a fysical format then it's more like a lowlevel format on a pc
Definitely not.
Click to expand...
Click to collapse
was this definitly not directed to the sdcard reader for the pc not being able to format the card ?
Have tried the low level and once again a logical format. Same result: folders and files still present. The "definitely not" was a repeat. Don't have a reader, but will try to borrow.
Have tried to format the SD card via a usb reader (which works! tested on a CF card). No luck: "Windows was unable to complete the format." I guess its kaput, and I have to resign myself to replacing it. Boy, this sure annoys me.
it happened to me once ... I formated my SD card on my qtek 1010 devices and it couldn't be formated on my i-mate :shock:
There is a silly trick but worked for me ... try using XDAtools to copy a ROM file to the SD card ... insert it into your device, usually it asks you to format the card ... this time press YES
HI Biso007
YES. 100% SURE IT WORKING!!!!
Tried XDAtools - got message that "the media is write-protected. Error opening target device. " Tried again only to be told "target device too small to hold an image." Now since the lock is off, this leaves me only one conclusion: its fried. I cannot understand how it could have gotten write-protected? I have never applied any security software to it.
Your SD card chip is damage!!!
hi.
If it doesn't work. It means that your sd card chip is damaged. Check if it is under warranty?
Put it in the toaster for 5 minutes, it wont fix it but it will pass the time.

miniSD corruption issues

I woke up this morning and found that my memory card is corrupted. I was using the device last night and the battery died while i was doing something, i put it on charge and woke up to a bunch of scrambled files.
I took out the card and reinsterted it several times until the folders and files properly show. they show up but it says 2.68mb free, although its really something like 750mb+ free. I tried pluggin it into my pc memory card reader but it's giving me an I/O error.
Now when i put the miniSD card back into my device i have two storage cards (Storage Card and Storage Card2). i reset several times with the card in and out and still same problem.
I want to copy the files off the card and format it or recover the data but my pc won't even read it. Any ideas?
1. run chkdsk on your desktop (also see http://www.pocketpcthoughts.com/forums/viewtopic.php?t=39583 )
2. the Storage Card2 issue is a common one with Windows Mobile; please read http://www.pocketpcmag.com/blogs/in...y_sd_card_likes_to_rename_itself_to_sd&more=1 for a fix
it's not allowing me to run chkdsk on the drive. "The type of file system is RAW. CHKDSK is not availabe for RAW drives."
Also i don't have the messaging plugin activated, but i do have spb diary, i removed it and still, when i reset my device, i open file explorer and there is a Storage Card folder
-------------------------------------update-------------------------------------------------------
ok, so now i fixed the storage card2 issue, but when using resco explorer and i tap and hold on storage card, then click on properties, it says 812.27mb used. If i open the storage card and highlight everything in it and click on properties it says153.57mb used. what to do?
fone_fanatic said:
it's not allowing me to run chkdsk on the drive. "The type of file system is RAW. CHKDSK is not availabe for RAW drives."
Click to expand...
Click to collapse
Then, try using an on-PPC file system checker to see whether it's really RAW. (I don't think so.): any of the utilities discussed at http://pocketpcmag.com/forum/topic.asp?TOPIC_ID=17921
Note that you should NOT use their chkdsk equivalent - they, in genral, suck in this respect, albeit the new, Professional edition of Pocket Mechanic is said to be pretty good in that (I haven't personally checked it as yet).
If it's seeing the card as a RAW file system format, it's completely hosed. It should be a FAT16 or FAT32 format... not raw.
There is a slight chance the card's file table was corrupted when the phone lost power... but there is also the possibilty the card is bad. If you get the card reformatted, I would definately run a thorough chkdsk on it to check for bad sectors.
I had previously ran the "recover bad sectors" option from pocket mechanic and it took about a total of 4 hours but didn't help.
I analyzed the card and pocket mechanic says its FAT32 and 10.49% needs to be defragmented. I attempted to defragment it and let it run over night, when i woke up it was 50% and said it needed 11hours to complete. I canceled the defrag process and it forced me to soft reset the device
Now i can only view the folders, but no files. I didn't format it earlier cuz i wanted the files on it but i guess i can give them up now.
Since i'm not able to read the card through my pc's card reader, should i go ahead and format it through resco explorer?
contents on the card are hosed.... you will need to format the card and start over... the card is good, the table was just corrupted by losing power...
shogunmark said:
contents on the card are hosed.... you will need to format the card and start over... the card is good, the table was just corrupted by losing power...
Click to expand...
Click to collapse
That's what I was thinking too.
it got hosed by the loss of power.. has happened to me once... this is also similiar to the time i corrupted a usb thumbdrive.. was in a 2k machine that wasnt set up for fast removal, i pulled it out without stopping it and bam it hosed my stick... im guessing its the same principal.. the device leaves the table open for more writing, well when the memory device loses power it cant close the table and corrupts it (at least i think thats how it works)
Thanks guys, i just hit the reformat and it took under a second. But all my files are gone now
I tried GetDataBack but it was telling me something about bad sectors and I/O errors.
is there a possibility of recovering the files after the card has been formatted?
I had a similar problem, I soft reset my phone and the storage card "disappeared" (did not appear in file explorer) and I put it in an SD reader and it said it was unformatted (RAW format) and reports size as 14mb! (It is a 1gb card).
I cannot format it on my SD card reader because it says it is "read only" (even tho the miniSD to SD adaptor switch is in the correct position). Obviously I cannot format it from my phone, as it does not even appear to be mounted.
Any suggestions?! I'm guessing it's dead. I have bought a 2gb card now so not the end of the world but it'd be nice to have this card to use in my camera or something.
Cheers
DAMN YOU SPB INSIGHT!!!!
It happened again! but this time there was no power loss. last i remember was answering a phone call and when i hung up SPB Insight popped up saying "connection lost retry?" So i click on retry and put it back in my pocket. Then about 4 or 5 hours later i attempted to start an app i had installed on my Mini SD card and it wouldn't open. So i opened resco file explorer and same thing, can only view folders, not files.
My Mini SD card is supposed to be my back up. How the hell can i rely on it if everything keeps wiping twice a month?

SD Card not being recognized

I just noticed that my phone is not seeing the MicroSD card in the system.
I have reseated the card and soft reset the phone so far, but cannot get the card to be seen again.
I was able to transfer some files to the card this morning so something must have happened after the transfer...
Anyone else see this problem?
I guess this has been moved here, so I'll mention this is the T-Mo US version. Stock ROM
Same issue...
I Have had the same issue... Figured it out when I wanted to run an app that was installed on my sd card... Had to Take out card, put it back and reboot the phone. If it happens again, will be taking phone back to T-Mobile to have them take care of issue.
Yea, that def. doesnt sound like how it's intended to be...
The card mounts in Windows, while its in the phone and I can transfer to it, but cant be viewed on the phone.
Conquest said:
Yea, that def. doesnt sound like how it's intended to be...
The card mounts in Windows, while its in the phone and I can transfer to it, but cant be viewed on the phone.
Click to expand...
Click to collapse
Check that you haven't got a 2nd 'Storage Card2' in the phone root folder - This sometimes happens if you try to reference the card while it isn't installed - another 'Storage Card' is generated.
If so, use file explorer, gsfinder or Total Commander to find your (correct) card and delete the temporary one.
HTH
Also Unable to Read SD Card
I am having a similar issue. Got my HD2 (TMO US, stock ROM) on launch day, SD card wasn't recognized starting last night. The phone asks me to format the SD card after a soft reset. When I connect to the PC via USB in Disk Drive mode, as soon as I try to explore the SD card the PC asks me to format it. Programs that I have installed to the storage card show up with a generic icon and do not start.
Maybe those of you having problems can provide some additional info about any changes to your device, and we may find something in common. Here's what I can think of that's associated with my phone:
- Customizations with BsB Tweaks and HD2Tweak (tried backing out the FAT cache settings already and resetting, card is still not recognized)
- A small number of manual registry changes which I can't verify because, of course, I wrote the backup files to the SD card *facepalm*
- Cookie's Home Tab
- Some additional games, Google Maps, Google Mobile App, Total Commander, PHM RegEdit, a few other random apps from O!Market
I also have Pointsec encryption on my laptop, which is notorious for trying to grab a hold of removable media and "protect" it.
My SD Card just showed up.
I had made no changes to the ROM at all. Completely stock, no CABs installed.
Since then I have installed some registry tweaks and some apps.
But thats my giving to a solution, which is nothing lol..
I have noticed however, that when the phone is mounted to my PC and Im in the folder, I cant browse to the SD Card on the phone...
Anyone else see that?
I believe I know the problem. IT happened to me several times, until I unplugged the USB cable, then the SD card magically appeared again.
When ever the phone is tethered, or connected to USB, the SD card is not vissible on the phone via file manager.
It should be visible via the laptop or PC explorer
Card Now Visible
I did have to format my storage card to get it to be recognized by the HD2. In case anyone else runs into the same problem, here are the steps I followed:
- Removed microSD card from device, put in adapter, and attached to computer
- Used TestDisk (www[.]cgsecurity[.]org/wiki/TestDisk) to view the data on the drive. I was able to recover all of the files and directories.
- Copied the recovered files to my computer's hard drive
- Removed microSD card from computer, put in phone, and allowed phone to format when the dialog box appeared
- Removed card from phone, attached to computer, copied recovered files to card
- Put card in phone and soft reset
Hopefully this helps someone out who runs into a similar problem.
Thanks for the above post - that definitely helped me this morning as I thought my storage card had stopped working.
Seems daft when you plug in the USB cable from PC that phone then shows storage card as not installed.

SD card vanished

Help suddenly I cannot see my memory card and most of my apps on on it.
Coltrane23 said:
Help suddenly I cannot see my memory card and most of my apps on on it.
Click to expand...
Click to collapse
same problem here... hmmmm.. please htc.. do something
try a soft reset.
are you on a VF uk phone?
Got the same problem last week.
I find out the memory card got corrupted. dont know why.
XP didnt seen the card in reader at all.
Vista helped me to format the card, but i lost all my data, as i have to do full format to get the card live again.
Yes tried that. Yes on Vodafone but using laurentius26's Ultimate Rom which I believe is based on a T-Moile rom. I have been using this for some months without issue.
How do you format a memory card that can't be seen?
when you open file explorer can you see it there
or has it dissapeared from that too?
File Explorer will not open so soft reset now it opens but whole startup process now quite slow.Storage card indicated ...tap on it get inbox .mstxxx so email I guess and Temp folder containing cookies, History and temp int files. Thats my lot.
This is a common problem. Try removing the memory card, soft resetting then delete the folder "Storage Card" or "Storage Card2" if it exists. Reset again and insert memory card.
This problem occurs when the storage card is mounted on a PC (Disk Drive mode) and an application such as email tries to write to it. Windows decides the folder (as the storage card is mounted as a folder) has been deleted, so re-creates it. When the memory card is unmounted from the PC, windows has to call it something other than "Storage Card" as that name has now been allocated to a folder.
If that is not the problem, put the card into a PC and see if it recognizes it. It might say "this card is not formatted" etc. in which case you need to reformat and lose all of the data on it
the_sikko is quite correct the same thing happened to me last week. I simply re-connected to the pc and deleted the newly created 'storage card' and that resolved my problem.
I did notice a folder called Storage card earlier on now after numerous resets it's gone. I have also reset back to factory settings. Each time I reinsert the card Windows Mobile Device centre shows me the memory card (although my phone indicates no sd card loaded etc.) but when I try to access it, it disappears!
Try increasing the timeout that allows your storage card to be detected when the device is booting or coming out from suspension.
These registry edits worked for me:
[HKLM\System\StorageManager]
“PNPUnloadDelay“=dword:8196
[HKLM\System\StorageManager]
“PNPWaitIODelay“=dword:8196
Also, you may want to disable the power management on your storage card with:
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\SDMemory_Class]
“DisablePowerManagement“=dword:00000001
Hope this helps
Ok now I will have to learn wo to edit my registry
So without having to edit my registry I managed to grab the file that said Storage card but when I tried to delete (with the card still inserted) it I'm told Access is denied and I should check the card is not write -protected or currently in use. When I try to open it it simply disappears. If I try to delete it with the card removed I get Cannot delete "mxip_notify":There has been a sharing violation. The source or destination file may be in use.
Any suggestions?
Could really do with some help here cos I'm well and truelly lost in terms of what my options are.
Coltrane23 said:
Could really do with some help here cos I'm well and truelly lost in terms of what my options are.
Click to expand...
Click to collapse
I literally just had this issue. I have two Kingston 4GB cards and one of them simply stopped working. I wasn't able to copy anything from the mSD card to my laptop, so have simply formatted the card and now it no longer shows up in Windows Explorer (Windows 7).
Now i'm using the other card. I can tell by the way this card is responding in the HD2 that the other card became corrupt. I have just ordered two Transcend 8GB mSD cards from eBay for about £30.
I downloaded a tiny piece of software which is supposed to bypass Windows Explorer limitations and force format SD cards...but it won't work because the card just doesn't show to the laptop.
Well in the end I put the SD card into the card slot of a PC and after a very very long time I managed to format the card. All is well now.
my card got corrupted too
maybe i know the answer..
sorry for my bad english..
I've the same problem. But searching from all forums, finally i get the answer. just find n download EASEUS Data Recovery Wizard Proffessional 4.3.6 (for 5 MB). Insert the mmc in card reader, use this software to recovery all the missing file (choose Complete Recovery Option). After recovery process done, use software LLFTool (for 600kb, just doing some browsing at google) to Low Level Format the mmc (this LLFTool can recognize the mmc). After all done, Windows can recognize again the mmc at windows explorer. Just right click and choose quick format (format FAT32). Done.
Had to Hard Reset
Just to add my two pennies worth.
None of the above worked for me. In the end I had to Hard Reset. Harrumph!

Locked out of encrypted files

So I bought the S7 edge popped in my SD card and encrypted It. The card was giving me some issues so I backed up my files on my Pc formated the SD card and reloaded the files (MP3s) now when I go to play many of the songs they don't play and just say "sorry unable to play file type" it's odd because about half of the songs do work any ideas for fixing this I have a quite a large music collection and it would be quite pain staking to have to download these one by one again
Would encrypting them and decrypting them help?
Really none of the brilliant minds here at Xda have any idea?
Did you copy the files off with the SD in a pc reader or via mtp from the phone? I would guess the the base encryption key data is different since you reformatted the card, it would make sense to me because otherwise there would be no point to supporting SD encryption.
C0derbear said:
Did you copy the files off with the SD in a pc reader or via mtp from the phone? I would guess the the base encryption key data is different since you reformatted the card, it would make sense to me because otherwise there would be no point to supporting SD encryption.
Click to expand...
Click to collapse
SD in a pc reader. Is there anyway for it to read the files again?
chad187 said:
SD in a pc reader. Is there anyway for it to read the files again?
Click to expand...
Click to collapse
If Google did their work well, not likely.
I don't know the details but the only consumer hope would be with the card inserted in the device that formatted it as theoretically the encryption of the SD card should be done with private key data that is tied to the device it was formatted within (in addition to whatever private data you provided such as a PIN). Otherwise it would be too easy to just move the card to another device to decrypt the data.
I've seen some references to the Android SD card encryption *not* necessarily encrypting media files (music, movies, pictures?) so it's possible those files were not at all encrypted - which is substantiated by the fact that you can play SOME of them.
It may be that the files that don't play are, unfortunately, simply, corrupted data and not encrypted at all. ;^(
chad187 said:
So I bought the S7 edge popped in my SD card and encrypted It. The card was giving me some issues so I backed up my files on my Pc formated the SD card and reloaded the files (MP3s) now when I go to play many of the songs they don't play and just say "sorry unable to play file type" it's odd because about half of the songs do work any ideas for fixing this I have a quite a large music collection and it would be quite pain staking to have to download these one by one again
Click to expand...
Click to collapse
I had the exact problem, it seems to be some issue with a lot of S7's from from my research online. After almost giving up after a few weeks I finally did find a fix which hopefully will work for you and anyone else who has encountered/ will encounter this problem. Here are the steps I took:
1. After the sd card became unresponsive on my phone after encryption, I transferred all my files from the sd card to my PC. I had to do this via the sd card slot on my laptop as the card was not being recognized when connected via the phone.
2. I then formatted the sd card on my PC. For those not familiar with the process just right click on the card in "my computer" and select format then quick format.
3. I then reinserted the card into the phone to make sure it was recognized, then removed it again, inserted it into the PC and transferred all the files back over.
4. I went into my phone under security settings and changed lock screen security to "none" while leaving fingerprint on.
5. I put the sd card back into the phone with the files. They won't be accessible as yet since they're encrypted but the next step is to go ahead and encrypt the sd card. Wait however long you have to, for me it took less than a min. After this go back and decrypt the sd card, let that process run through then the files should now be decrypted and accessible. If the sd card goes unresponsive again just try again by formatting the sd card and putting the files back, this time maybe a few files at a time.
If this method works for you I would suggest backing up your data frequently and staying away from encrypting the sd card at least until samsung/android release a fix for this issue.

Categories

Resources