Retrieve data from unreadable adopted storage card - Moto G 2015 General

I am not the author of this, it is from https://android.stackexchange.com/q/174799/146132 but it has some great info I thought I would share... My thanks to the author.
About a month ago the Moto G (3rdGen) of my wife was not able to recognize the SD-card 32GB Trancend premium 400x (which was formatted as adoptable storage) anymore. On this card were very important pictures and movies for us (of our new born baby). As of a certain Android version the adoptable storage is also encrypted and reading it on a PC or other phone is not possible without the encryption key. Since the phone was also not rooted it was also not possible to get the encryption key from the /data/...something directory... (see https://nelenkov.blogspot.ch/2015/06/decrypting-android-m-adopted-storage.html) So I almost gave up hope...
I bought the exact same type SD-card, also 32GB, only about a year later. Hoping that I would be able to make an exact clone of the card and I would be able to start some experiments with it without the risk of destroying something on the original card and losing all the data. When I mounted the original card under Linux it shows two partitions 17MB and about 31GB. Cloning the card with some Linux command line tools didn't gave me the same result. Next thing I tried was cloning it using HDDrawCopy, first write the entire card to an image on my harddrive. When I copied the data to my new 32GB card I noticed that the new card did not have the same capacity of the image file (image was 32.22GB, new card shows capacity of 31.11GB) so hmmmm that trick doesn't work... Luckily I also happen to have a 64GB SDcard (same type) which should have enough space for this test. So using HDDrawCopy I wrote the image to this card. Checked under Linux if I see the same partition as with the original card and this happens to be (of course it also shows about 32GB of free space not partitioned).
So I thought lets see if the Moto shows the same error with my new card in the phone and that I made an image on which I can start to try to hack the encryption off(now or in the future). To my surprise the Moto shows immediately that the transcend 32GB volume is mounted! I went to the gallery of the phone and IT SHOWS OUR PICTURES AND MOVIES again!!!
So in short when this happens buy a larger volume SD-Card (to make sure that there are enough data-block available). Use HDDrawCopy to make a bit-wise clone/image of the original card. Write the image to your new card and check if it can be read by your phone.
Never do the following or your data will be lost:
Format the cardSet your phone back to factory default (destroys your encryption key)Make the phone to forget/unmount the storage location (also destroys encryption key)upgrade to a newer version of Android (or any other major system update).
(of course make sure to make backups or cloud syncs to prevent this situation at all)
I hope this can help someone out there who might ended up in the same situation.

Unfortunately I have clicked on forget the card. Can anything be done?
Unfortunately I have clicked on forget the card. Can anything be done?

ajparag said:
Unfortunately I have clicked on forget the card. Can anything be done?
Click to expand...
Click to collapse
Unfortunately, no... When you click "Forget" the unlock token is erased and not recoverable by normal means. The daya stored on an internal SD csrd is now lost forever.

Hi, I am in a similar situation. I have a marshmellow phone with an sd card set up as adopted storage, but the phone stopped working and I needed the memory card somewhere else so I took an image backup of the SD card Partition. This is the mistake I did, should have taken the entire disk image backup. So now when I restored the image and the phone is fixed, the phone doesn't recognizes the memory card even though it still has the encryption key.
Any ideas?
The partition table is correct, the first partition "android_meta" probably has the wrong info

Related

THE SDHC EncFiltLog file CORRUPTION SOLVED

PROBLEM:
Now, the problem all started when try to format the micro SDHC on the phone or on the PC with card reader.
Tried with differ format program also low level not worked.
DONT USE THESE!!! Waste of time!!!
SOLUTION:
So after doing some thinking about the situation, I figured that there was a problem with the card inserted and find the file EncFiltLog on it.
It is the WM 6.1 encription file. You can't delete, move files from or in to the SDHC.
The best way to solve this issue, as the hard-reset DOES NOTHING to fix this issue, would be to have windows hopefully find the connected device and format it. Here are the EASY steps which DO NOT involve using a dozen computers and has provided the same result EVERY time; which is a working on my 8gig memory in my HTC HD.
1. Connect the HD to the computer and select DISK DRIVE as the option on the on-screen popup on your phone. Don’t select ACTIVE SYNC. If you miss it, then go into your phone and press START>SETTINGS>CONNECTIONS TAB>USB to PC and select the bullet of DISK DRIVE and hit ok.
2. On your computer, (USING A WINDOWS XP MACHINE), go into your "My computer"
3. A window for will open with two columns.(If not, change the view to "Group") We are looking at the RIGHT side right now. In there is has three categories, and we are only focusing on ONE of them. LOOK for STORAGE which should be the center category.
4. Click with right to the desired "Storage device; A: ; D: E;", it will take a minute or two depending on your computer speed and environment to populate your hard drive and connected memory devices.
5. You will eventually see your PHONE internal storage listed. IT WILL TAKE SOME TIME BECAUSE YOUR PHONE INTERNAL STORAGE IS CORRUPTED!
***BE SURE WHAT YOU ARE LOOKING AT IS IN FACT YOUR PHONE AND NOTHING SOMETHING ELSE LIKE YOUR MAIN HARD DRIVE OR SOME OTHER STORAGE DEVICE WITH IMPORTANT FILES ON THERE***
****I TAKE NO RESPONSIBILITY IF YOU FORMAT THE WRONG DEVICE***
6. Choose format and let it format the drive. This should also take a few minutes. Select FAT32 and name is whatever you want! Let this finish COMPLETLY!
**Your almost done**
7. Now you can copy, anything you want on it, but if you put again in to the PDA then the
EncFiltLog will come on again. But at least you not have to throw away the card,
you can use it again.
8. Finally my last comment:
If you want to speed up the card (.cab installation, copy, move ...etc.....)
the best way after all this work listed above, you should made a BACKUP from all your PERSONALITIES and
make a HARD RESET.
After it should speed up all the programs and processions with the card.
If you done then one IMPORTANT THING!:
YOU SHOULD NEVER EVER TAP ON THE CARD ENCRIPTION IN THE SETTINGS,
NOT EVEN THINK ABOUT IT!!!!!!
Hope this helps you all out!!
BTW: I want to say thanks to XDA-FORUM (all people) to make my life easier
and to found the right gadgets to use, to play and enjoy it....
Wow - not bad at all for a first post!
Welcome to the forum!
Thanks for providing a solution!
krnkris said:
PROBLEM:
Now, the problem all started when try to format the micro SDHC on the phone or on the PC with card reader.
Tried with differ format program also low level not worked.
DONT USE THESE!!! Waste of time!!!
SOLUTION:
So after doing some thinking about the situation, I figured that there was a problem with the card inserted and find the file EncFiltLog on it.
It is the WM 6.1 encription file. You can't delete, move files from or in to the SDHC.
The best way to solve this issue, as the hard-reset DOES NOTHING to fix this issue, would be to have windows hopefully find the connected device and format it. Here are the EASY steps which DO NOT involve using a dozen computers and has provided the same result EVERY time; which is a working on my 8gig memory in my HTC HD.
1. Connect the HD to the computer and select DISK DRIVE as the option on the on-screen popup on your phone. Don’t select ACTIVE SYNC. If you miss it, then go into your phone and press START>SETTINGS>CONNECTIONS TAB>USB to PC and select the bullet of DISK DRIVE and hit ok.
2. On your computer, (USING A WINDOWS XP MACHINE), go into your "My computer"
3. A window for will open with two columns.(If not, change the view to "Group") We are looking at the RIGHT side right now. In there is has three categories, and we are only focusing on ONE of them. LOOK for STORAGE which should be the center category.
4. Click with right to the desired "Storage device; A: ; D: E;", it will take a minute or two depending on your computer speed and environment to populate your hard drive and connected memory devices.
5. You will eventually see your PHONE internal storage listed. IT WILL TAKE SOME TIME BECAUSE YOUR PHONE INTERNAL STORAGE IS CORRUPTED!
***BE SURE WHAT YOU ARE LOOKING AT IS IN FACT YOUR PHONE AND NOTHING SOMETHING ELSE LIKE YOUR MAIN HARD DRIVE OR SOME OTHER STORAGE DEVICE WITH IMPORTANT FILES ON THERE***
****I TAKE NO RESPONSIBILITY IF YOU FORMAT THE WRONG DEVICE***
6. Choose format and let it format the drive. This should also take a few minutes. Select FAT32 and name is whatever you want! Let this finish COMPLETLY!
**Your almost done**
7. Now you can copy, anything you want on it, but if you put again in to the PDA then the
EncFiltLog will come on again. But at least you not have to throw away the card,
you can use it again.
8. Finally my last comment:
If you want to speed up the card (.cab installation, copy, move ...etc.....)
the best way after all this work listed above, you should made a BACKUP from all your PERSONALITIES and
make a HARD RESET.
After it should speed up all the programs and processions with the card.
If you done then one IMPORTANT THING!:
YOU SHOULD NEVER EVER TAP ON THE CARD ENCRIPTION IN THE SETTINGS,
NOT EVEN THINK ABOUT IT!!!!!!
Hope this helps you all out!!
BTW: I want to say thanks to XDA-FORUM (all people) to make my life easier
and to found the right gadgets to use, to play and enjoy it....
Click to expand...
Click to collapse
Yesterday it happens for the second time that my SD-Card gets corrupt again, the first time it happens with a 8 Gb SDHC Sandisk and now with a 16 Gb.! After a hard-reset.Didn't know before I read this post that this could happen ever!??
And indeed I couldn't write or read on the card or format it again, even with a cardreader!
Both cards are useless about €120,- thrown away, gone
Didn't know before I read this post, that this is an WM 6.1 encription issue. Never used or even tap it.
Now I format another 8Gb like the way you describe here, i hope that when i need to do another hard-reset i can use the card again!
BTW, its a little bit strange to me that there are so little reaction from other users here about EncFiltLog problem?
I hope that there will come a solution in WM 6.1 to prevent that b!llsh!t.
Thanks for the great support, i hope it realy works!
Nice post
I have one more question:
What may happen when I delete this encryption file? Is it possible?
P.S. Sorry for my english :/
Hi Everyone!
The best way, if you purchase a new card, to FORMAT at first.
Then you put in to your phone and try not to teke it out any more.
If you want to use it as USB reader the as I write in my first post
START>SETTINGS>CONNECTIONS TAB>USB to PC and select the bullet of DISK DRIVE and hit ok .
In this case you can use the phone as a card reader.
It is speed up the file transfer vs. ACTIVESYNC.
If the card is not recognised ether way then,
because of the too much taking out - - put it back; went to faulty.
You can go back to the store for guarantee replacement.
The EncFiltLog is a problem only if you encrypted the card.
The solution to delete it and use as new card described in my first post.
If you put a new card in to the Phone then this file seem to be created by the OP system.
You can delete with format, but it will come back again and again.
krnkris said:
You can delete with format, but it will come back again and again.
Click to expand...
Click to collapse
Your right, the file is still there again!
But I have also a question about a next( hope not) hardreset on my device!
Is it better to format the SD-card (with USB on the device) before or after the hard-reset to save the further use of the card?
Because in my experience you have to start installing everything over again, because the data on the card was anyway corrupt and useless.
It is NOT recommended to use the MS Windows Format command to re-format any SDHC card - it will format them, of course, but with the wrong cluster size, slowing access speed down and possibly causing other problems.
I would suggest to always use a tool like Panasonic's SD Formatter when formating any kind of SD card. You can get it here: http://panasonic.jp/support/global/cs/sd/download/sd_formatter.html
-Valynor
Valynor said:
It is NOT recommended to use the MS Windows Format command to re-format any SDHC card - it will format them, of course, but with the wrong cluster size, slowing access speed down and possibly causing other problems.
I would suggest to always use a tool like Panasonic's SD Formatter when formating any kind of SD card. You can get it here: http://panasonic.jp/support/global/cs/sd/download/sd_formatter.html
-Valynor
Click to expand...
Click to collapse
Also good to know, but does it also prevent or solve that EncFiltLog problem?
Is there no registry tweak to turn off or delete that W 6.1 encryption option anyway?
luckyuser said:
Also good to know, but does it also prevent or solve that EncFiltLog problem?
Is there no registry tweak to turn off or delete that W 6.1 encryption option anyway?
Click to expand...
Click to collapse
No as far as I know.
Will creating a read-only, hidden folder called "EncFltLog.menc" on the card prevent this problem?
Phil_123 said:
Will creating a read-only, hidden folder called "EncFltLog.menc" on the card prevent this problem?
Click to expand...
Click to collapse
What do you mean?How do you do?
HI folks, glad to find some peeps who are suffering from the same problem...
The solution here seems not to work for me, as I hard-reset my TouchHD before I found out about that encryption ****up...
Is there any solution that allows you to reformat the card?
Not to mention that I NEVER touched that damn encryption option as I really never trust M$ that far with my data... seems it got me Pwned anyways...
Anyone ever tried to Write M$, tell them what a bunch of wacky Ho's they are and demand a new miniSD Card from them?
sorry for my language but atm I mad as hell as I just lost a 8GB and a 16GB sanDisk...
I experienced a lot of bc during all the yaers messing with M$ stuff but this ****up ins unbelievable...
I had the same problem with my 8gb sandisk.
I would like to add that I was able to retrieve most of my files from the memory card using EASEUS Data Recovery Wizard Professional. You need to do the data recovery before attempting to reformat the card.
Hi guys sorry for messing around in your forum but this post is the closest solution to my problem. I cannot format or save anything to my 16gb sandisk card because of that bloody encryption file. Now the problem is that I'm a Kaiser user and I do not have disk mode in my phone, so has anyone successfully formatted their card without using disk mode?
one very quik question. Does this fix the problem for good? you can use the sdhc card with the phone or will it always end up with menc file?
card unreadable in one night
Yesterday, my sdhc 8gb card was working properly but in just one night something happened to it. In the morning, I came to know that it is not more being recognized by htc hd2. Every time I soft reset or hard reset the phone a message come up saying "Do you want to format this storage card to make it readable? this will permanently delete any files on the card." when I click no nothing happens and phone keeps on working and if I click yes then the card is formatted in just 1 second. I tried formatting the card myself from phone format tool (there is format card tool in tools section of the phone) but it is showing only 30.61 mb instead of 8gb.
After reading this thread, I think the problem is with EncFiltLog. Actually I backup my phone and card yesterday with sprite backup. I also backup EncFiltLog on my pc. Now after hard resetting the phone I delete the newly created EncFiltLog file by the fresh WM 6.5 installation after hard reset. I deleted that file from my pc by using the phone card storage as disk drive instead of activesync and simply shift+delete the file from removable storage in My computer. After that I copied all the phone card backup (including EncFiltLog - old one) on the freshly hard reset phone. Now all of sudden in just one night phone sdhc card is not able to recognized by phone.
Moral of the story: Never backup EncFiltLog. Keep the newly created EncFiltLog file by wm 6.5 after hard reset and copy your all files and folder from card backup to phone card (excluding EncFiltLog) after a hard reset. Don't ever overwrite the newly created EncFiltLog.menc file with old one from backup.
Reason: I think WM 6.5 pairs the newly created EncFiltLog with its some key on phone internal storage. Remember how encryption works? I am talking about public key and private key pairing. I think WM6.5 pairs one key stored in EncFiltLog with another key stored inside the phone interal storage which is itself freshly created after the hard reset but when we copy the old EncFiltLog from storage card backup to freshly hard reset phone storage card, those key pairs won't match anymore and windows mobile 6.5 simply locks up the card.
it is my own opinion.
One more clue
Ok guys, I've got one more clue after googling and reading other threads on this forum. May be HTC is supplying fake 8gb sdhc card with hd2.
I've came on that conclusion because yesterday there was more than 5 gb space left on my phone storage card. In the night RSS Hub software has updated all the feeds and stored those feeds on storage card (I've set feeds to be stored on storage card). I think something has been gone wrong there. May be the actual capacity of this fake storage cards in far less than what is written/claimed on the card (i.e. 8gb). In the night as soon as the RSS Hub stored feed on the card, it somehow corrupted the card FAT writting its data on sectors of the card where it should not be.
Hence the card is corrupted now just showing 30.61 mb instead of 8gb. There exists no solution for this situtation till now. I've sent mail to HTC regarding this on their customer support page. Let's see what would happen now. I suspect either HTC or my dealer would say that the storage card don't come under warranty. Let's see now. I will update the thread soon.
My problem is the same.....
after HSPL I faced "Do you want to format this storage card to make it readable?..." and after that I lost my mSD.
Format Storage Card didn't worked. it shows 30.61MB , Cluster Size: 0KB
also Clear Storage didn't worked...
System > Memory > Storage Card > Total storage card memory: Not installed
Is there any other way to fix this problem? because of my country, it is difficult to use HTC Service...

MicroSD corrupted only on Marshmallow update.

When the Samsung Galaxy S5 (SM-G900F) received official Android 6.0.1, I have manually installed that firmware on my device. Within few weeks ago it shows that my microSD card (64GB) corrupted. At that time if i connect to the PC I can access the SD card without any error. When I tap on "fix it" it format the SD and again it shows the exact same issue.
If I connect this sd card to a PC or a another Android device (runs ICS), these devices are not detect any error. Then I rebooted my S5 into a safe mode and again it shows that issue. However, this issue will fix if I reset the phone. After few days left it again appear that error.
So how do I fix this matter?
My wifes phone has the same issue.
Non rooted phone - 100% stock. Never messed with it.
After the MM update the sdcard just says corrupted.
As soon as a photo is stored or if google play music downloads a track to it it is corrupted.
Really annoying.
Going to try a full wipe now but I'm glad it's not just her phone. I thought the SD card had died and we haven't had it long.
Looks like it's something samsung have done.
Tried formatting the SDCard with a PC?
My SDCard is the same one I've had since I got the phone, through KitKat > Lollipop > MarshMallow, and has never been wiped or formatted, still got the very first photo I ever took with the phone on it
ownjoouk said:
My wifes phone has the same issue.
Non rooted phone - 100% stock. Never messed with it.
After the MM update the sdcard just says corrupted.
As soon as a photo is stored or if google play music downloads a track to it it is corrupted.
Really annoying.
Going to try a full wipe now but I'm glad it's not just her phone. I thought the SD card had died and we haven't had it long.
Looks like it's something samsung have done.
Click to expand...
Click to collapse
No need to wipe SD. Connect that SD to a PC and copy all the files.
*Detection* said:
Tried formatting the SDCard with a PC?
My SDCard is the same one I've had since I got the phone, through KitKat > Lollipop > MarshMallow, and has never been wiped or formatted, still got the very first photo I ever took with the phone on it
Click to expand...
Click to collapse
I think this issue caused by some sort of app or its a firmware issue.
Yeah it's been formatted. I did pop it into a pc to try and save everything but it demanded a wipe.
So I did.
It worked for a little bit and corrupted again. Now when I pit it in the pc it struggles to read it and the phone won't "fix it" either.
Tried to wipe it in a few different programs but it appears the card is corrupted.
It's a 64gb Samsung card. Only had it since January this year. Bought brand new from amazon.
I have another in my note 3 and that is still perfect.
The only saving grace is that Google photos had all the photos synced.
So i'm going to email Samsung about it as there has been no issues with the card until the moment the MM update hit.
ownjoouk said:
Yeah it's been formatted. I did pop it into a pc to try and save everything but it demanded a wipe.
So I did.
It worked for a little bit and corrupted again. Now when I pit it in the pc it struggles to read it and the phone won't "fix it" either.
Tried to wipe it in a few different programs but it appears the card is corrupted.
It's a 64gb Samsung card. Only had it since January this year. Bought brand new from amazon.
I have another in my note 3 and that is still perfect.
The only saving grace is that Google photos had all the photos synced.
So i'm going to email Samsung about it as there has been no issues with the card until the moment the MM update hit.
Click to expand...
Click to collapse
Try MiniTool Partition Wizard
Delete all partitions on the card > create new primary partition > Format to FAT32
MiniTool Partition Wizard free
https://www.partitionwizard.com/free-partition-manager.html
Used that to repair SDCards and USB drives a few times
You can also do it manually with elevated CMD: (Hit enter after each)
------------
diskpart
list disk
select disk x (x = being the disk number of your USB drive/card)
clean
create partition primary
active
format fs=fat32 quick
assign
exit
--------------
Try the card again
*Detection* said:
Try MiniTool Partition Wizard
Delete all partitions on the card > create new primary partition > Format to FAT32
MiniTool Partition Wizard free
https://www.partitionwizard.com/free-partition-manager.html
Used that to repair SDCards and USB drives a few times
You can also do it manually with elevated CMD: (Hit enter after each)
------------
diskpart
list disk
select disk x (x = being the disk number of your USB drive/card)
clean
create partition primary
active
format fs=fat32 quick
assign
exit
--------------
Try the card again
Click to expand...
Click to collapse
Already tried diskpart. No dice.
Just tried MiniTool Partition Manager. Still nothing. It lets you delete the partition and then creates a new partition instantly.
It has however now loaded in windows and shows 4 android folders but even after a delete on the partition and create new it makes no changes to the card.
It also wont let me add anything. Almost as if it is locked to read only.
So thanks for the advice as I can now see the card in windows "sort of". It's really slow though. But I can't put anything on it or wipe it or do anything with it really!
Windows 10 also says there are errors and when you let it error check it just stops responding.
ownjoouk said:
Already tried diskpart. No dice.
Just tried MiniTool Partition Manager. Still nothing. It lets you delete the partition and then creates a new partition instantly.
It has however now loaded in windows and shows 4 android folders but even after a delete on the partition and create new it makes no changes to the card.
It also wont let me add anything. Almost as if it is locked to read only.
So thanks for the advice as I can now see the card in windows "sort of". It's really slow though. But I can't put anything on it or wipe it or do anything with it really!
Windows 10 also says there are errors and when you let it error check it just stops responding.
Click to expand...
Click to collapse
If it still shows android folders on it, then none of the partition commands you've used, nor minitool have done anything, as you'll know, deleting all partitions on a disk completely wipes it
With MiniTool, it works a weird way, you have to basically tell it what you want to do, all steps, and then hit apply at the top, once you hit apply, it then performs the steps it looked like you had already done manually
EDIT - Just a thought, a live Linux CD/DVD/USB might have more luck, Linux doesn't care about permissions etc
*Detection* said:
If it still shows android folders on it, then none of the partition commands you've used, nor minitool have done anything, as you'll know, deleting all partitions on a disk completely wipes it
With MiniTool, it works a weird way, you have to basically tell it what you want to do, all steps, and then hit apply at the top, once you hit apply, it then performs the steps it looked like you had already done manually
EDIT - Just a thought, a live Linux CD/DVD/USB might have more luck, Linux doesn't care about permissions etc
Click to expand...
Click to collapse
I see... I have used Partition Magic in the past and if I recall you had to do this back in the old version. Completely forgot.
I've done that and it's trying to do it. It's going very sloooooooow. But it is getting further than diskpart did!
Will update when it decides to finish.
Good luck, might find it takes a few runs to undo whatever the phone/droid did to it
Unless of course it is physically damaged, but I've not had any problems with MM and my SD
EDIT - Found this from way back in 2010 in my repair folder, "Pen drive repair"
Code:
https://mega.nz/#!XdAW2R5I!sSVna0O4av5rnkTPpGuh_bkXatZpcfmr6X-R-3yjrzw
I tend to keep random programs that have fixed something difficult in the past, and put them in that repair folder, worth a shot
*Detection* said:
Good luck, might find it takes a few runs to undo whatever the phone/droid did to it
Unless of course it is physically damaged, but I've not had any problems with MM and my SD
EDIT - Found this from way back in 2010 in my repair folder, "Pen drive repair"
Code:
https://mega.nz/#!XdAW2R5I!sSVna0O4av5rnkTPpGuh_bkXatZpcfmr6X-R-3yjrzw
I tend to keep random programs that have fixed something difficult in the past, and put them in that repair folder, worth a shot
Click to expand...
Click to collapse
Will take a look at that tomorrow.
It formatted the card but as soon as it finished and mounted it Windows popped up and said there was a problem and it needed scanning.
Once it opened there were still 4 android folders on it....
Annoying.
Yea very, well it's definitely not deleting the partitions if it's still got all the old folders on it
Running the tool as Admin?
It does sound like it's physically damaged, but I thought that about a 16GB flash drive I had, and another 8GB I'd left in a tub on my desk for years because it was dead, then I used diskpart and repaired both of them the same day, and since then, minitool has fixed them
Tell you what you could try, Win32DiskImager, grab any image, say a Raspberry Pi image, and use Win32DiskImager to write the image to the card, I think that uses disk/device rather than partitions to write to, so it should overwrite absolutely everything
Then you can use Minitool to wipe and format back to FAT32 (Hopefully)
*Detection* said:
Yea very, well it's definitely not deleting the partitions if it's still got all the old folders on it
Running the tool as Admin?
It does sound like it's physically damaged, but I thought that about a 16GB flash drive I had, and another 8GB I'd left in a tub on my desk for years because it was dead, then I used diskpart and repaired both of them the same day, and since then, minitool has fixed them
Tell you what you could try, Win32DiskImager, grab any image, say a Raspberry Pi image, and use Win32DiskImager to write the image to the card, I think that uses disk/device rather than partitions to write to, so it should overwrite absolutely everything
Then you can use Minitool to wipe and format back to FAT32 (Hopefully)
Click to expand...
Click to collapse
The trouble with that is I can't write anything to it. It gives an i/o error ever time I try.
I'm tired now so i'm going to head to bed but tomorrow when I have a fresher head i'll take another look.
Will let you know how I go on. Will try that other tool you suggested.
The way Win32DiskImager writes to the disk is different to how Windows tries to write to it, basically like burning an ISO, vs copying files to a DVD
Yea, get some shut-eye, things are usually much simpler after a good nights sleep
Hi, i lost a kingstom 9GB after take out this card from a Samsung. I formatted, and after a few days , i disvovered, that card was set to be encrypted inside the phone, if someone takes out, and formats without unencrypt, on 2 or 3 cycles mor, the card will die, or lock, io root, i never found a solution for this, in my case, the card was locked, (ro), without any error in the partition.
Sent from my XT687 using XDA Premium 4 mobile app
---------- Post added at 11:33 PM ---------- Previous post was at 11:08 PM ----------
Sorry, i wrote wrong, is 8Gb, was the second sdcard lost by me, the first, was a 2Gb used on a nokia e7, that, after format this card the card was locked (ro) at all on all type of sdcard reader , usb, pc. The name, i found, is Cyclic Redundance Error, (formatted without unencrypt the filesystem)
Sent from my XT687 using XDA Premium 4 mobile app
*Detection* said:
The way Win32DiskImager writes to the disk is different to how Windows tries to write to it, basically like burning an ISO, vs copying files to a DVD
Yea, get some shut-eye, things are usually much simpler after a good nights sleep
Click to expand...
Click to collapse
Pen Drive Repair does nothing. Can't even find it.
Tried it another 2 times in MiniTool but still goes through all the motions but returns with the same four folder on the card.
I did a surface test and it found no errors. So reading it is fine. It's the writing to it where it fails.
EDIT: What I have just noticed is MiniTool states:
Capacity 59.64 Used 59.64 Unused 0B
So the card thinks it's full but there is nothing on it.
EDIT 2: And now in MiniTool is just says BadDisk. Looks like it is completely dead.
Well, there's nothing to lose by trying Win32 DI, unlikely to work,. but might as well try before writing it off
*Detection* said:
Well, there's nothing to lose by trying Win32 DI, unlikely to work,. but might as well try before writing it off
Click to expand...
Click to collapse
Gave it a shot. It wont even let me pick it as a device. Windows has stopped adding it to the "My Computer" list also.
I've wasted enough time with it. Only bought it in January this year so I've emailed Samsung both about the warranty on it and also that there is a possibility the upgrade to MM caused it on the S5.
It seems to have happened to the OP and me so I thought I would mention it to them in case.

Decrypt internal sd after wipe

Short question here.
- I took the, as internal storage formatted, sd out of my Moto X Play
- Wiped to solve Marshmallow battery drain bug
- Put the sd back in
- aaand the phone doesn't recognize the card anymore.
Apparently an sd formatted as internal storage is encrypted to prevent data theft in case the phone is stolen. The key was apparently stored in '/data/misc/vold' and is therefore lost after the wipe.
I found a similar question here: http://forum.xda-developers.com/moto-x-style/help/to-decrypt-micro-sdxc-formatted-t3360169
Except of a few images from last week in vsco, everything on the card was either google photos or spotify data. So I have a backup of 95% of the stuff.
Is there a way to retrieve the key? Does Google back it up? NSA? Or to brute force? The encryption caught me really off guard so I wanted to shoot a last attempt before I format the card.
Thank you for your help guys. :good:
As far as I know, formatting the card is your only option.
Brute force
Thank you lenny, first of all.
I made a full image of the mentioned sd card using the default mac os x disk utility tool.
I hope to be able to brute force my encrypted sd card in the far far future. Is the mentioned system image the way to go? Having 64 gb of an unreadable encrypted sd card image on one of my external hds doesn't hurt, however im obviously a noob. Therefore i am not sure if the system image will be sufficient to brute force it one day.

Galaxy note 3 doesnt recognize my SD Card

Hello all,
I have been using Galaxy note 3 for the last 3 years or so, have rooted it, installed AOSP and stock ROMs (including the latest Note 7 ports) on it. So I have a fair understanding of how the phone works, and am able to work with errors on a very comfortable basis (sometimes, with help from other XDA members as well).
Now, here's where I am stuck. I was running a Note 7 port ROMs (Phronesis and Magma-NX), and also ran an AOSP ROM. Since last week, my phone has not been able to recognize my SD Card (I have two cards: one, a 32gb card, and the other a 128gb card) on either of the stock or AOSP ROMs. It says: Corrupted. So I begin to format the card (both of them) on the phone itself, and I keep getting this message when I try to format my SD Card via phone:
thread binder_7 gave up waiting for partitionPublic after 180000ms
The SD Cards format properly on my laptop. The end result is my phone doesn't recognize any memory cards, and I basically end up working with the internal storage of 32gb. I havent encountered this error before, and I have no clue about what to do. I have tried googling it, and Google gives me a result for partitionPrivate and not partitionPublic. I dont know if these are the same things or not, and in either case, I absolutely dont know
what to do.
Can anyone suggest/guide as to what should I do?
I had an issue where my phone wouldn't see an SD card unless it was given a name when attached to a PC, might be nothing to do with it but could be worth a try?
Sent from my Power using XDA-Developers Legacy app
3dd1 said:
I had an issue where my phone wouldn't see an SD card unless it was given a name when attached to a PC, might be nothing to do with it but could be worth a try?
Click to expand...
Click to collapse
Sorry buddy, but didn't quite understand when you said" given it a name". How and what did you do to name your SD Card? I will definitely try anything to make it work
I have same problem and I never fix it. I follow so many guides from Google without luck, seems that my N3 decide to not read external memory any more.
Badbullet said:
I have same problem and I never fix it. I follow so many guides from Google without luck, seems that my N3 decide to not read external memory any more.
Click to expand...
Click to collapse
Hey buddy, in that case, what did you do? Did you end up using a lot of cloud based storage on your note 3?
Shreyu said:
Hey buddy, in that case, what did you do? Did you end up using a lot of cloud based storage on your note 3?
Click to expand...
Click to collapse
Yes, I use Google Photo app for my pictures and videos, Spotify 4 music, large files like Twrp and Titanium backups stored on external hard drive.
Badbullet said:
Yes, I use Google Photo app for my pictures and videos, Spotify 4 music, large files like Twrp and Titanium backups stored on external hard drive.
Click to expand...
Click to collapse
I guess that is probably working good for you; do you have your photos and videos setup to be directly posted on the Cloud then?
Definitely, you have various options how to upload directly, with mobile plans, only with WiFi, only on charge.
Awesome, thanks buddy.. Did you try to have someone look up the SD Card slot to see if it was damaged or if it needed a replacement?
Shreyu said:
Hello all,
I have been using Galaxy note 3 for the last 3 years or so, have rooted it, installed AOSP and stock ROMs (including the latest Note 7 ports) on it. So I have a fair understanding of how the phone works, and am able to work with errors on a very comfortable basis (sometimes, with help from other XDA members as well).
Now, here's where I am stuck. I was running a Note 7 port ROMs (Phronesis and Magma-NX), and also ran an AOSP ROM. Since last week, my phone has not been able to recognize my SD Card (I have two cards: one, a 32gb card, and the other a 128gb card) on either of the stock or AOSP ROMs. It says: Corrupted. So I begin to format the card (both of them) on the phone itself, and I keep getting this message when I try to format my SD Card via phone:
thread binder_7 gave up waiting for partitionPublic after 180000ms
The SD Cards format properly on my laptop. The end result is my phone doesn't recognize any memory cards, and I basically end up working with the internal storage of 32gb. I havent encountered this error before, and I have no clue about what to do. I have tried googling it, and Google gives me a result for partitionPrivate and not partitionPublic. I dont know if these are the same things or not, and in either case, I absolutely dont know
what to do.
Can anyone suggest/guide as to what should I do?
Click to expand...
Click to collapse
Just to check, have you tried to convert your sd cards into internal storage (adoptable storage) before the problem occurs ?
@zlazaar I'm not sure bro.. All I did was just copied one app from my internal memory to the external SD Card. But I didn't jot try to convert Tele external SD into an internal memory.. Do you think that's what the issue is here?
Shreyu said:
@zlazaar I'm not sure bro.. All I did was just copied one app from my internal memory to the external SD Card. But I didn't jot try to convert Tele external SD into an internal memory.. Do you think that's what the issue is here?
Click to expand...
Click to collapse
Can you try this please :
- Format one of your sd cards using your PC (use this recommended tool)
- Make sure you choose FAT32 as file system before format
- Check if you got the correct total size of the formatted sd card
- Shutdown your phone, put your sdcard, boot directly to recovery
if the recovery is able to recognize the sd card with the correct total size, then you don't have a hardware failure.
Shreyu said:
Sorry buddy, but didn't quite understand when you said" given it a name". How and what did you do to name your SD Card? I will definitely try anything to make it work
Click to expand...
Click to collapse
When you connect it to a PC, when viewing My Computer as it used to be called, you can see all of the drives, C:, D: etc, on that screen if you right click above your SD card drive select rename, it should be under removable drives. A long shot but also an easy one so worth a punt.
3dd1 said:
When you connect it to a PC, when viewing My Computer as it used to be called, you can see all of the drives, C:, D: etc, on that screen if you right click above your SD card drive select rename, it should be under removable drives. A long shot but also an easy one so worth a punt.
Click to expand...
Click to collapse
I totally agree, sd card volume must have a name.
Thank you
zlazaar said:
Can you try this please :
- Format one of your sd cards using your PC (use this recommended tool)
- Make sure you choose FAT32 as file system before format
- Check if you got the correct total size of the formatted sd card
- Shutdown your phone, put your sdcard, boot directly to recovery
if the recovery is able to recognize the sd card with the correct total size, then you don't have a hardware failure.
Click to expand...
Click to collapse
@zlazaar Hey buddy, so I downloaded the SD Formatter, and did a quick format (should I have done full Format - if yes, which one - Erase or overwrite). I also tried the Format Size Adjustment ON and OFF.
I have 2 SD Cards, one 128gb and the other a 32gb. The SD Formatter formatted the 128gb card as an exFAT, and the it formatted the 32gb card as a FAT32. However, TWRP still didn't recognize either of the cards. I still dont have the cards running on the phone..
3dd1 said:
When you connect it to a PC, when viewing My Computer as it used to be called, you can see all of the drives, C:, D: etc, on that screen if you right click above your SD card drive select rename, it should be under removable drives. A long shot but also an easy one so worth a punt.
Click to expand...
Click to collapse
Hey bud, so I did rename the SD Cards, but still, not working. The phone still doesn't recognize the memory cards

Suddenly Lost Ability to Write to SD Card

I have a very strange thing that has just started occurred with my wife's Note 4. It appears that all apps have lost write-access to the SD card.
I first noticed the problem with the camera app. The camera app was configured to write to external storage but when a picture is taken, it says "Unable to save file to SD card. Default storage has been changed to device memory."
The Gallery app is also not able to write to the SD card (cannot create a new album) or move files to an existing album on the card.
Solid Explorer cannot create a new folder on the card.
I've tried to clear app settings for the camera and Solid Explorer. But even after setting everything back up, I still get the same results.
I'm running stock v6.0.1 (EPJ2) rooted. Also, my (seemingly identical) Note 4 does not display any of this behavior. No changes other than normal application updates.
Any ideas what might be going on?
I've had this happen when an SD Card gets corrupted - you can still view and access the files that are already on the card, but you can no longer write to it.
Try the card in a PC and see if that can write to it - if not then your card is likely permanently damaged. I had 3 Sandisk 64Gb cards go like this in two different devices. Tried reformatting them every which way, but nothing would make them writeable again. Have used Samsung cards ever since and never had a failure yet.
Just restart your phone
Sent from this galaxy
SJMarty said:
I have a very strange thing that has just started occurred with my wife's Note 4. It appears that all apps have lost write-access to the SD card.
I first noticed the problem with the camera app. The camera app was configured to write to external storage but when a picture is taken, it says "Unable to save file to SD card. Default storage has been changed to device memory."
The Gallery app is also not able to write to the SD card (cannot create a new album) or move files to an existing album on the card.
Solid Explorer cannot create a new folder on the card.
I've tried to clear app settings for the camera and Solid Explorer. But even after setting everything back up, I still get the same results.
I'm running stock v6.0.1 (EPJ2) rooted. Also, my (seemingly identical) Note 4 does not display any of this behavior. No changes other than normal application updates.
Any ideas what might be going on?
Click to expand...
Click to collapse
There are 3 possible solutions:
Using MS Windows PC
Using Linux PC
Using TWRP Recovery with a proper BusyBox
Let me know which one do you choose & I will explain how.
Kinsman-UK said:
I've had this happen when an SD Card gets corrupted - you can still view and access the files that are already on the card, but you can no longer write to it.
Try the card in a PC and see if that can write to it - if not then your card is likely permanently damaged. I had 3 Sandisk 64Gb cards go like this in two different devices. Tried reformatting them every which way, but nothing would make them writeable again. Have used Samsung cards ever since and never had a failure yet.
Click to expand...
Click to collapse
You nailed it. My card was a 128 GB SanDisk Ultra. Pulled it from the phone and my laptop couldn't write to it either. Copied everything off and copied it back to a new card and there you go.
Grrrr...$^%**# SanDisk.
Out of curiosity, what Samsung line did you end up choosing? I think the EVO+ will be sufficient for me but wondering what you ended up using.
SJMarty said:
Out of curiosity, what Samsung line did you end up choosing? I think the EVO+ will be sufficient for me but wondering what you ended up using.
Click to expand...
Click to collapse
Glad you got it sorted! I've been using a Samsung PRO 64Gb - this is the 128Gb version on Amazon UK:
https://www.amazon.co.uk/dp/B01CRZCLAM
I think the newer version of it is this one:
https://www.amazon.co.uk/dp/B019QO1Q4O
But you're right - the EVO+ is probably sufficient. It wasn't available when I was purchasing:
https://www.amazon.co.uk/dp/B00WR0HIR4

Resources