Micro Sd Card Write Protected - General Questions and Answers

Hey everyone,
My micro sd card become write protected,, i am not able to delete anything from my sd card,,,not even able to format it,
If someome have wroking solution please tell
I try,,regedit and chkdsk solution but not worked ![emoji122]
Sent from my SM-G7202 using Tapatalk

CorcRoazBa said:
Hey everyone,
My micro sd card become write protected,, i am not able to delete anything from my sd card,,,not even able to format it,
If someome have wroking solution please tell
I try,,regedit and chkdsk solution but not worked ![emoji122]
Sent from my SM-G7202 using Tapatalk
Click to expand...
Click to collapse
Greetings, I noticed you recently followed my XDA profile and although on a don't participate in that part of the XDA interactions it led me to your post here which I have some experience with so I might as well share it. First a bit of advice. Creating a new thread with a question will not necessarily attract other people because most people are looking to find answers rather than looking to provide them. You can probably find threads specific to that topic. Also this topic comes up frequently in various operating system threads.
The symptoms you describe sound very much like what happens when a micro SD card's built-in protection detects an imminent failure then intentionally corrupts a bit at the beginning of the drive. In this state the drive cannot be written to or formatted. Attempts to copy or delete files on the drive on Android may seem successful but later show that nothing was moved or deleted. I would suggest first copying all the data that you need off of that drive and onto another one. The fact that you've already trying to format it means you've taken care of this step but I mention it anyhow. Then try to format it in as many different types of computers or devices as you can. I prefer gparted on Linux or Easeus partition manager on Windows. If it is a SanDisk SD card you could contact their Tech Support to see if there are any other ways to determine if a drive has been blocked in this manner. Unfortunately the solution may be to replace the drive but I cannot be certain or provide any more advice than this. Good luck.

BTW, one reason I know that creating a thread with a question does not generate much interest is because the one I created five years ago for a very similar issue only got 1 page of replies, although some good ones. Here is a link to that thread which has more details about what I described in previous post.
Micro SD: No write access, cannot format. exFAT digital write protect or SD corrupt?
I know using a thread it not necessarily the best way to ask a question but since the cause of this issue is unknown (and might just be SD corruption) and there are a few other threads where it might come up, this thread can be used as a...
forum.xda-developers.com
For what it's worth most of the information I gathered was from my own pro experience dealing with drives and from SanDisk support. I did not find much on XDA, and created the thread for what were probably similar reasons to yours, that there were not many other options.

Related

SD Card Formatting After Mango Update

I just upgraded the SD Card in my Venue Pro to 32GB, and was wondering if I Could format my 16GB Sandisk that was in it before Mango upgrade.
I followed each step but was unable to proceed. Please any help would be appreciated. Or please point me to a Thread I can follow.
Thanks
This probably belongs in the Q&A forum, since it's not at all development related, but...
WP7 MicroSD cards use a security feature (the "S" in "SD") to lock the card to the phone, so its data can't be read by anything else. However, this process also means that the majority of SD card readers can't access the card at all, even to format it. You need a tool that can remove the security mode. I've heard such tools exist for Linux and Windows, or if you have a Symbian-based device they can supposedly do it too.
GoodDayToDie said:
This probably belongs in the Q&A forum, since it's not at all development related, but...
WP7 MicroSD cards use a security feature (the "S" in "SD") to lock the card to the phone, so its data can't be read by anything else. However, this process also means that the majority of SD card readers can't access the card at all, even to format it. You need a tool that can remove the security mode. I've heard such tools exist for Linux and Windows, or if you have a Symbian-based device they can supposedly do it too.
Click to expand...
Click to collapse
Sorry about posting it in the wrong place. I appreciate the tips. I have tried all of the suggestions on the forums except for the Nokia phone as I do not have one. But I will keep it around anyway, just incase in the future someone comes up with something. This is really a sad thing. U paid good money for this card.
Yeah, the whole experience with microSD cards in WP7 is pretty lame. They weren't supposed to be user-accessible, so apparently MS put no effort into making the experience of changing them pleasant. That's really too bad, because all the first gen devices (except a gen1.5 DVP) ship with really crappy capacity. The fact that it is technically epandable is going to override the difficulty of doing so for a lot of people when the retail size is so small.
Sad
Still have no means of formatting the card. Really wanted to use this with my Camera. :-(.
Hope someone comes up with a way or refer to some Linux Distro that allow for it to be formatted.
Hi, I also got your problem and just got my answer by trial and error.
1. start linux
2. put card in computer
3. unmount sd card with "umount"
4. format sd card with "mke2fs /location-of-sd-card/"
5. go to windows and format as fat32 or just put it in your phone.
Windows or your phone will say it's broken or something and will repair.
The mango security is no more and your sd card is revived.

[TIP] Cloning Your Micro SD Card

I recently bought a new and faster Micro SD card for my Epic 4G. I tried to copy the files on my old Micro SD card over through my Windows computer; however Windows Explorer failed. I have a number of applications installed on my SD and Windows was just not happy with .gz format files, etc.
A number of back up and cloning utilities were suggested at various forums; the one that I found be the best, in terms of small footprint and ease of use, is the HDD Raw Copy tool from HDD Guru. It is free, so small and light that you can run it as a portable app, easy to use and did I mention free?
You can find the app on the HDD Guru website. (Forum rules prevent my including the link in this post.)
It is going to be part of my tool kit from here on out. I hope this helps someone.
Here you can download a free copy
Thanks for the post! Was looking for a solution to this, tried copying in OSX, Windows, TeraCopy no luck so far... Your solution looks promising!
This program will only work for two SD cards that are the same size. I tried to clone my 8Gb SD4 card to my new 16Gb SD10 card and it did exactly that: it turned the 16Gb into a 8Gb SD card.
That's because it directly copies the partitions. You need to resize them afterwards. I used minitool partition wizard (can't post links, google it), which did the trick nicely. For moving the contents of my 2GB SD card over to a 16GB one, the procedure was pretty straightforward: write contents to an image using HDDRawCopy, use the same tool to write the image to the new card, and then resize using the partition wizard.
noouch said:
That's because it directly copies the partitions. You need to resize them afterwards. I used minitool partition wizard (can't post links, google it), which did the trick nicely. For moving the contents of my 2GB SD card over to a 16GB one, the procedure was pretty straightforward: write contents to an image using HDDRawCopy, use the same tool to write the image to the new card, and then resize using the partition wizard.
Click to expand...
Click to collapse
Minitool Partition would make my laptop go bonkers , making it run in emergency grub command prompt with no help
This was sent from a Galaxy Ace. Problem?
thanks for this.. im bizarrely going a backward route.. from a 32gb class 4 card, to a 16gb class 10 card.. (work that one out)
Which involves the fun of reducing the partitions on the 32gb first, and then raw copying :S
BhNeP said:
This program will only work for two SD cards that are the same size. I tried to clone my 8Gb SD4 card to my new 16Gb SD10 card and it did exactly that: it turned the 16Gb into a 8Gb SD card.
Click to expand...
Click to collapse
This is a good example of someone who would like to help, but only gives a half solution, thus misleading the inexperienced user.
Mazarin07 said:
This is a good example of someone who would like to help, but only gives a half solution, thus misleading the inexperienced user.
Click to expand...
Click to collapse
Heaven helps those who help themselves.
It's a nice tip. Everyone interested should read the all thread (1 page!). 4th post.
Alternative
Using ADB, has in my experience, always! been the best and most secure way to pull/push from and to my LT18i.
It's simple, light and secure.
get sdk-tools and extract it to your ROOT drive on Windows (EG. C:/)
(Im not experienced enough on this forum to post outside links, so use google and search for Android SDK.)
In your sdk-tools folder,now make a folder called:
sdcard_{today's date}
Example - sdcard_08042013
Plug in your phone, leave it on Charge only.
Now -
Step 1 - get a DOS window (Start - Run - cmd)
Step 2 - in that window enter (use copy/paste): cd c:\sdk-tools
Step 3 - in that window enter (use copy/paste): adb devices
(that ensures that adb is running, and your device is connected)
Step 4 - if using ICS, in that window enter: adb pull /mnt/sdcard sdcard_{date}
If using JellyBean enter: adb pull /storage/sdcard0 sdcard_{date}
Wait....done!
And when you are ready to push the backup to your phone again:
adb push sdcard_{date} /mnt/sdcard
Just for the record, if you break your phone or sdcard doing this, I hold no responsibillity. You do this, it is your doing.
I am not an expert in ADB nor android phones in generel. This information is something i've picked up along the way.
This is an ALTERNATIVE, and not to be mistaken for the ONLY CORRECT way.
There are plenty of other options to achieve the same goal, this is just one of them.
Good luck and Godspeed!
Using Linux / Ubuntu to copy / clone
I'm currently moving from a 16GB to a 32GB UHS-I microSD card...and I'm just copying the files over in Ubuntu Linux (with Show Hidden Files enabled in Nautilus [the file management system])...simply enabled SHOW HIDDEN FILES in the VIEW menu.
The phone is on and active...connected by USB to my laptop.
I'm hopeful it will work, and I'll re-post / update this if it does.
== UPDATE ==
Yep...that all worked sweetly! The problems other people have experienced might be simply down to the fact that a RAW copy is not taking place, so some of the "hidden" system files etc. are not being copied in Windows etc.
sorry in this old and stupid topic but I think it should be deleted because I tried the tip and didn't read the other posts and end up screwing my sd cards.
the thing is that you really don't need anyting to clone an SD card and to work it with android.
the problem is that people don't actually copy all the files because there are hidden files. they have to check "VIEW HIDDEN FOLDERS" on windows explorer or something like that. and then copy. it will work flawless.
no need for 3rd party stupid clone moron programs that screw your sd cards. this topic is just useless and missleading and will trick the ones who don't read the entire topic.
I think it should be deleted asap.
__-_-_-__ said:
sorry in this old and stupid topic but I think it should be deleted because I tried the tip and didn't read the other posts and end up screwing my sd cards.
the thing is that you really don't need anyting to clone an SD card and to work it with android.
the problem is that people don't actually copy all the files because there are hidden files. they have to check "VIEW HIDDEN FOLDERS" on windows explorer or something like that. and then copy. it will work flawless.
no need for 3rd party stupid clone moron programs that screw your sd cards. this topic is just useless and missleading and will trick the ones who don't read the entire topic.
I think it should be deleted asap.
Click to expand...
Click to collapse
No this is the best way of cloning SD cards. If you have a basic seup of your card then sure you might get away with just copying files over. If like me however you have a partitioned card with an ext2/3/4 partition this is the better way of cloning cards.
baggio4378 said:
No this is the best way of cloning SD cards. If you have a basic seup of your card then sure you might get away with just copying files over. If like me however you have a partitioned card with an ext2/3/4 partition this is the better way of cloning cards.
Click to expand...
Click to collapse
it's the same ****. you just have to partition before copying,
noouch said:
That's because it directly copies the partitions. You need to resize them afterwards. I used minitool partition wizard (can't post links, google it), which did the trick nicely. For moving the contents of my 2GB SD card over to a 16GB one, the procedure was pretty straightforward: write contents to an image using HDDRawCopy, use the same tool to write the image to the new card, and then resize using the partition wizard.
Click to expand...
Click to collapse
I copied everything using HDD Raw copy. Now I am mini tool partition wizard. The problem i am facing is that I want everything to be present in exFat format so I can copy stuff bigger than 4GB. Now I when I create partition on the unallotted part of microSD ( I am going from 32GB to 64GB) it's not letting me use merge command as is saying it's not available in free home edition. Also the format or the microSD is showing as other not exFat.
I am trying to go from 32 to 64GB and keeping exFat as the format of the card.
Thanks
Nope
__-_-_-__ said:
sorry in this old and stupid topic but I think it should be deleted because I tried the tip and didn't read the other posts and end up screwing my sd cards.
the thing is that you really don't need anyting to clone an SD card and to work it with android.
the problem is that people don't actually copy all the files because there are hidden files. they have to check "VIEW HIDDEN FOLDERS" on windows explorer or something like that. and then copy. it will work flawless.
no need for 3rd party stupid clone moron programs that screw your sd cards. this topic is just useless and missleading and will trick the ones who don't read the entire topic.
I think it should be deleted asap.
Click to expand...
Click to collapse
No... You mistakenly did something with your cards w/o first double checking. The post wasn't bad. It's actually pretty straightforward and the best way to CLONE your cards. Don't blame the post for your mistake.
norman619 said:
No... You mistakenly did something with your cards w/o first double checking. The post wasn't bad. It's actually pretty straightforward and the best way to CLONE your cards. Don't blame the post for your mistake.
Click to expand...
Click to collapse
not sure if you are a troll or if you are just stupid. who the **** are you to call me a liar? I nothing to my cards. I've confirmed that what I said is completely true. you don't need to clone. you just need to copy the information. obviously you need to copy ALL of the information so if you stupid retard don't understand what hidden files are it's not my fault.
__-_-_-__ said:
not sure if you are a troll or if you are just stupid. who the **** are you to call me a liar? I nothing to my cards. I've confirmed that what I said is completely true. you don't need to clone. you just need to copy the information. obviously you need to copy ALL of the information so if you stupid retard don't understand what hidden files are it's not my fault.
Click to expand...
Click to collapse
Well obviously you are the stupid one indeed, I get the feeling that you are a horse with eye-flaps on dude, don't you read what the other dudes here are saying ? It looks like you are total noon without even a basic knowledge of filesystems.. Just so you know: android is based on LINUX and WINDOWS IS NOT - IT IS A STANDALONE OS THAT IS QUITE DIFFERENT FROM LINUX... So there it goes - windows uses FAT32 or NTFS - Linux DOES NOT and nor does ANDROID, and what you don't know at all is that WINDOWS FILE SYSTEMS DO NOT SUPPORT FILE PERMISSIONS THE WAY THAT THE ANDROID SYSTEM SUPPORTS IT.
So people, what I am trying to say is that, if you are a basic user and use your SD for pics and music only - the windows way would work (probably) BUT if you are using your SD for apps and etc, actually the ADB way might just be the best for you
And finally - I don't mean to be mean or to offend anyone, it's just that noob uneducated guy that expresses his non-proffesional "beliefs" in a way that is offensive to the users who actually have contributed to the thread and he tries to get a very useful thread deleted, which is driving me crazy nuts! I hate flaming other people and I hate seeing a noob that flames good guys for the sakes of post number and a stubborn hatefull debate - that's why I am flaming the flamer.
And some advice - dude, please don't use the f-word on forums - its not cool - its kiddish - you're probably thirteen y-o
Still a good way to clone and resize and partition! Thank you.
On my AndroidOne Nokia 7.1 I noticed that the SD card is mounted as /storage/XXXX-XXXX where XXXX-XXXX is the volume's serial number.
Here's how I cloned my smaller SD card onto a larger one:
Formatted the 200GB µSD using http://www.ridgecrop.demon.co.uk/index.htm?fat32format.htm (Windows says it’s too large)
Copied using ROBOCOPY /S /ZB /V g:\ f:\
Changed the volume serial number using SysInternals’ VolumeId.exe:
PS> cmd /c vol f:
Volume in drive F is LUMIAUSD200
Volume Serial Number is 1F04-2747
PS > Volumeid.exe f: B14F-130C
VolumeId v2.1 - Set disk volume id
Copyright (C) 1997-2016 Mark Russinovich
Sysinternals - www.sysinternals.com
Volume ID for drive f: updated to b14f-130c
PS > cmd /c vol f:
Volume in drive F is LUMIAUSD200
Volume Serial Number is B14F-130C
After that I inserted the new card into the phone, and voilà! all apps were happy (since the mountpoint had not changed).
HTH

CM7-fixes-for-sdcard-issues, VERY IMPORTANT

I want to give everyone a heads up about a series of fixes JC Sullins has created for CM7 running on the HP TouchPad. It is important that you go to his thread "CM7-fixes-for-sdcard-issues", in the rootzwiki/Touchpad forum and read the whole thing. I would post the direct link, but I don't have enough posts here yet to be allowed. Maybe one of the moderators can help out with that. I'm trying to spread the word about this important issue.
If you are having to move apps off onto your SD card because you are running out of internal memory, you have hit the 50+ app limit on your SD card, you are in serious trouble. JC also created a fix for something that is not working in CM7 called
fsck_msdos. This routine is supposed to check your SD card and fix any errors it finds. It turns out that the version in CM7 as released does not work. JC's fixes take care of that, the internal memory problems and the 50+ problem.
However, if you do nothing else, do his fsck fix and protect your SD card. Go read the thread and tell all your friends who are running CM7 or for that matter any Android rom cause they are all based on some version of CM7.

[Q] Want to perform first time root.

So I've looked around the forums, waiting for several months and finally! Finally! Have the Lollipop arrived to my Sony Xperia Z3 Dual, model D6633 with Build Number 23.1.1.E.0.1.
However! I am literally pissed. The only reason I waited was because it was going to add a move to SD card feature. Moved over 13 apps or so. Only to realize nothing was actually moved to my External SD card but to my "Internal" SD card and am now literally facing the problem I've been longing to get resolved for several months. No more space, want to move apps to my SD card. I've had it and want to root my Z3 so I can move some apps to my External SD card. I've heard tons of different opinions and read this and that about the consequences about rooting your Android. I've so far only jailbroken iPhones and that's about it. Never rooted an Android phone.
This time around, I want to give it a shot. What exactly do I need? I just want to simply be able to keep all features intact, nothing special just be able to move apps to my SD card. Is there anyone willing to help me? What do I need and etc.
Regards,
there are plenty of tutorials on here for this sort of question, use the search feature
Searching can be a bother with all the off topic nonsense included and search can often result with more people commenting with "use search", an infinite loop on some device forums.
OP: I'm not sure if lollipop fully supports it but I had this issue in the past and found the best app was Link2sd, as it provided a proper way to store the app data on the external sd card. It's a little complicated and requires root privilege and it also has many other features.
I'm also shocked by sonys failure to provide a proper solution. Have a look, you might be able to make use of it: https://play.google.com/store/apps/details?id=com.buak.Link2SD

External SD Card fornatted to ext4 results in false "Corrupted SD Card" message

Hello World
first let me stste, that I've bern a Linux/Unix admin for many years, so I know how to check a filesystem. ;-)
I am rumning a Samsung Tablet on LineageOS 7.1.2 and decided to format the external (physical) SDXC card to ext4. Once I did that the system booted normally and recognized the card just fine. But the Android System now pops up a notifaction at every start, complaining about a "Corrupted SD Card". Since that card's FS looks picture perfect (with the card itself being brand new), I just know this complaint is about me deviating from the holy grail of FAT32/exFAT.
I tried to suppress the error msg. via Xposed, but in vain. It just bothers me, that it comes up whenever I switch on the device. So how do I get rid of this false error message at boot time?
Reformat using the device. If that doesn't take do a low level format/wipe then have the device format it.
If the card had data from another device on it that can cause file corruption. Seen it with Canon Cams. You can scramble a whole card and all it's images like that. While you can recover the images, all the metadata is juxtaposed rendering them next to useless.
If the low level format doesn't solve the issue there's a problem with the card, either specs or it's defective. I generally use Lexar cards when possible. Their low level formatting apk is excellent. Never had an issue with this brand.
Did you even bother to read my original post? Judging from the canned nature of your "reply" I guess not.
Masinissa said:
Did you even bother to read my original post? Judging from the canned nature of your "reply" I guess not.
Click to expand...
Click to collapse
Yeah I did. It's an issue with the card unless you goofed up something in the phone's OS.
This isn't rocket science.
blackhawk said:
Yeah I did. It's an issue with the card unless you goofed up something in the phone's OS.
This isn't rocket science.
Click to expand...
Click to collapse
Jeezus H. Christ - as I wrote the card is *brand new* and I tripple checked it on a PC. Even Android itself reports it as OK (when checked from terminal) - and I wrote, too, that I know how to verify a filesystem.
And I wrote right at the top, that this is a TABLET (not a phone).
And wtf good would reformatting the partition to FAT32 do, if I wrote that I specifically wanted it to be ext4?!
How clueless can one be??
You Mr.and a rocket engineer? You couldn't even qualify as a plumber. :O
Used what to check on the PC?
All my sd cards work sweetie...
blackhawk said:
Used what to check on the PC?
All my sd cards work sweetie...
Click to expand...
Click to collapse
Then go play with your cards and don't bother people who want get a *qualified* response from someone who knows how to check the consistency of an SD card partition.
Use your "sweetie" cards as sugar coating, but don't pretend for one second to know the inner workings of Android's storage management. You couldn't distinguish a FUSE mount from a firehose, for all the vold daemons in the world.
I'm sure somebody here is more qualified than you
For the next chump that replies you should specify what apk lead you to your dead end.
Maybe that's where your trouble lies... among other issues... including your unuseble card.
blackhawk said:
I'm sure somebody here is more qualified than you
For the next chump that replies you should specify what apk lead you to your dead end.
Maybe that's where your trouble lies... among other issues... including your unuseble card.
Click to expand...
Click to collapse
OMG, he knows how to add three letters together and throws that in here to make it seem like he got some knowledge of something.
I wrote that the Android System complaimts about a corrupt SD card and I also stated that its a false error message triggered by the card being fornatted to ext4. So what in heaven's name should any Android Application Package (which is what APK stands for) have to do with that?
Please do what I want that error message to do: Just go away!
MOD INFO:
Please keep it civil and DO NOT throw insults or anything similar!
This is a development forum and not some place to blow off some steam.
Thx for your understanding.
@Masinissa
Please read the forum rules as you have clearly overstepped.
Now get back on topic
Cheers,
mrjuniork (Forum Moderator)
mrjuniork said:
MOD INFO:
Please keep it civil and DO NOT throw insults or anything similar!
This is a development forum and not some place to blow off some steam.
Thx for your understanding.
@Masinissa
Please read the forum rules as you have clearly overstepped.
Now get back on topic
Cheers,
mrjuniork (Forum Moderator)
Click to expand...
Click to collapse
I had asked a *clear* question and I got nothing but BS from a member who wouldn't take NO for an answer.
I didn't overstep A THING - I just told a know-nothing - who wouldn't give it a rest - that he knows nothing.
A "development forum", where you get haunted to no end by someone who doesn't know the difference between an APK an a filesystem, is next to useless. :-(
I for one will not bother posting anymore in here anyway. I am a busy IT expert and don't have the time in life to waste my hours with trolls like that.
Jeez Louis, XDA used to be a platform by experts for experts. You've changed a lot more, than just its optical appearance.
PS: I am writing up the answer to my own question here, just to show that - sadly enough - extensive Google research nowadays is more productive, than seeking professional answers by posting on XDA.
https://review.lineageos.org/c/LineageOS/android_system_vold/+/225436
As vold handles all mounting of partitions on SD cards, the 7.x version of LineageOS requires a patched version of said daemon, to support boot mounting of ext4 partitions on external SD cards.
Unfortunately the OS doesn't accept mount instructions via vold.fstab either. So flashing a new ROM it must be.
PS#2: After some days of heavy use I can confirm that the ext4 partition is accessible w/o problems, so swiping away that faulty error message after boot is a small inconvenience (but I'll still upgrade my ROM).
To anyone else trying to format their external SD to something other than MS-FAT under an uncooperative vold daemon:
If you're root'ed, you can bind mount /storage/<UUID> (whereas <UUID> stands for the unique identifier - an insanly long number-letter-string - identifying the ext partition) to /storage/emulated/0/external_sd. That will make the card and its files accessible for most Android apps.
Do *not* bind mount from anywhere else (like /mnt/media_rw), lest you'll be forced to adjust permissions manually on FS level.
The "/storage/…" path is a virtual filesystem, via which Android enforces world access to the files on the card (while still allowing for some secure areas in reserved directories). Mount from anywhere else, and you're on your own permission wise.

Categories

Resources