I have a 32 GB Lexar microSD which had been working perfectly for the past 3 months on my phone. But recently I noticed I am unable to write new files to the SD Card. I tried to format it from my computer and got a message box saying:  "The disk is write protected"    I am quite sure that my microSD card adapter is not locked, and I do not remember doing anything which could have caused this. I tried changing the file permissions and even tried messing around with the registry. But nothing helped.  Is there any other way I could get the writing permissions back on my microSD? Because without writing permissions the SD Card is quite useless, and buying a new 32 GB microSD would be an expensive solution.  Any help will be appreciated.
5947
When I plug in my USB flash drive, it shows up on my computer as write-protected or read-only. I am unable to transfer data to it, nor can I modify or delete any files already stored on it. I also cannot repartition or reformat the drive using Windows Disk Management, DiskPart, GParted, or other tools. The drive does not have a write-protect switch.  Why did this happen and what can I do about it? Is there a way to remove the write protection?  (Note that this can happen with some memory cards, too, as they often use controllers similar to those used in flash drives. In some cases, the system may report that the drive or card was formatted successfully even though it was never actually formatted; the original data reappears when the device is reinserted.)     This question comes up often and the answers are usually the same. This post is meant to provide a definitive, canonical answer for this problem. Feel free to edit the answer to add additional details.
10681
My SD card slot on the latest MacBook (Mid 2012) won't mount my SD card. The SD card doesn't appear in Finder, Disk Utility, Image Capture or anywhere. I know it's not a software problem, because nothing changed before and after. How do I fix it?
16159
I have a rooted device, with superuser rights granted to a few apps I trust. I have often found my /system or /vendor partition mounted read/write, and some files chmoded to 0777. Similarly directories/files with random names are created/deleted (e.g. /sdcard/.a03Degpoif), .nomedia files are created inside them to hide their contents from gallery etc.  logcat/dmesg contains no traces of all this happening in background. This doesn't happen periodically but in a slapdash way, internet connectivity isn't a condition either. I have tried disabling/uninstalling apps, looking for any suspicious processes running, but couldn't identify the culprit(s).  Is there a way to figure out who is doing this?
23413
My USB drive used to be originally 8GB when I bought it.  I'm trying to reformatted in Windows 7 by right clicking on the drive and selecting Format.... But the capacity only shows 250MB.  Is there something I can do to get the original size back? Maybe it got partitioned in a weird way?   The  flash drive is a SanDisk Cruzer Micro 8GB. I got it from Wal-Mart but this is the same drive.
28925
I'm using Ubuntu 12.04. I have an old 4GB SD card, and have just bought a new 16GB SD card. I would like to copy everything from my old 4GB SD card onto the new 16GB SD card. I was afraid that the usual copy-and-paste trick would miss out something, so I wanted to clone the old 4GB SD card onto the 16GB SD card. I used the dd command in a shell, following instructions in .  This worked with one small caveat. The new SD card now appeared to be 4GB. I later found out this is because the primary partition on the 16GB SD card has now shrunk to 4GB. I have solved this problem, and I think I understand it. However, my question now is, how do I clone my old 4GB SD card onto my new 16GB SD card without making the primary partition on the 16GB SD card shrink to 4GB?
60746
I shared a folder of pictures on my OSX 10.6 MacBook with my wife, who accesses it from her 10.5 MacBook.  I created an account for her and gave her read/write permissions on the folder (via the Get Info).  However, when Image Capture dumps new images into the folder, they aren't readable or writeable by her.  I have to click 'Apply To Enclosed Items' for her to get access to them.  I want any file created or copied into that folder to be automatically readable and writeable by her.  Is there a way to set this up?  Thanks!
12718
I'm not sure what has happened, but I've all of a sudden lost write access to any of my NTFS external drives.   I installed a few games and apps from the software center, and now I can't make new folders or copy and paste files to anything that is NTFS. Everything is now read only, and I've tried so many things to fix it, but it seems hopeless.  Just to check if it wasn't the drives themselves, I made a little ntfs formatted truecrypt volume, and a fat formatted volume. And yes, it seems that Ubuntu is blocking me from writing anything to NTFS.   What happened here?  Whats a way I can simply get write access to my NTFS drives, so I can just backup all my stuff.  I'll probably reinstall Ubuntu. Please help.    UPDATE (and thanks everyone for their quick replies)  The problem has been solved.  Prior to noticing that I had lost NTFS write permission, I had installed GParted from the software center, and there was an extension called ntfsprogs that came with it.  During my search for a solution to the problem, I uninstalled GParted (as that was one of the apps I installed just before the problem). But that did not solve the problem.  I came across an app called 'NTFS Configuration Tool'. When I installed this, it said that the ntfsprogs extension needed to be removed (so I guess uninstalling GPARTED, didn't remove the ntfsprog extension).  I launched the NTFS Configuration Tool and now I have write access to NTFS drives. Unfortunately, I didn't check if I had write permission prior to launching the NTFS Configuration Tool, so I'm not sure whether the NTFS Configuration Tool, or the un-installation of ntfsprog gave me back NTFS write permission.   Hopefully if another newbee encounters this problem, they'll come across this page and know what to do.
22721
I am following this tutorial for moving apps to sd card.    But My Default Location is not changing. And My Phone Memory is full and unable to install new apps.
85570
After the phone restarts, there is a LOST.DIR folder created on the external SD card. Is it possible not to create this folder if nothing is lost?
38557
I've got an external USB drive that is formatted with NTFS mounted on ~/tmp.  I can read it just fine, but cannot write to it, even as root (temp is a folder on the USB drive):  [root@Plugbox temp]# touch test touch: cannot touch `test': Permission denied [root@Plugbox temp]#   However, if I do a cat /proc/mounts, it looks like I do have NTFS read/write support:  [root@Plugbox temp]# grep /dev/sdb1 /proc/mounts /dev/sdb1 /root/tmp ntfs rw,relatime,uid=0,gid=100,umask=02,nls=utf8,errors=continue,mft_zone_multiplier=1 0 0 [root@Plugbox temp]#   Finally, if I go to the folder above temp, it looks like I should have plenty of permissions to write to the folder:  [root@Plugbox tmp]# ls -al total 61500764 ... drwxrwxr-x 1 root users           0 Apr 19  2010 temp ... [root@Plugbox tmp]#   What am I missing?
54369
A week ago I started getting intermittent IO errors accessing the SD card on my rooted Evo 4g. I eventually plugged it into my windows machine and tried to format it. It appeared to work, but when I unmounted and remounted the card all the files came back. I tried formatting on my phone with the same result, and had a coworker try with the Mac diskutils suite. All the formats claimed to work, but the files came back when the card was remounted. Finally I ran dd if=/dev/zero of=/dev/block/mmcblk0; it completed, and the same thing happened again.  But here is where it gets crazy. I put a new recovery file on the sd card -- and it added the file without any issue. But now it can't be deleted, just like everything else. So I can write to the SD card, but I can't delete anything.  How can I fix this? Or if I can't, at least why is it happening?
105237
I am using App Backup &amp; Restore for creating backup of my apps but with KitKat its using the internal SdCard as Storage.  When I explicitly set the external SdCard path it gives the error that it is unable to create folder,  I have also tried with creating folder under android/data/[packagename]/files/ but it is still not able to do the same.  Is there any solution so that apps can use external storage for writing files.  Note : I don't want to ROOT my Phone.
11203
Can you help me? I want to make my flashdisk write protected. So no one can format my flashdisk because the data inside the flashdisk is important.
29721
I am experiencing some weird issue lately. I am using this machine as a web server. When I try to write a file in a directory it says there is no more space. I deleted some files and it worked for a little while. After few minutes I get the problem again:  root@web1:/home# mkdir test mkdir: cannot create directory ‘test’: No space left on device root@web1:/home# df -h Filesystem             Size  Used Avail Use% Mounted on /dev/mapper/web1-root   43G  4.5G   37G  11% / none                   4.0K     0  4.0K   0% /sys/fs/cgroup udev                   3.9G  4.0K  3.9G   1% /dev tmpfs                  798M  828K  798M   1% /run none                   5.0M     0  5.0M   0% /run/lock none                   3.9G     0  3.9G   0% /run/shm none                   100M     0  100M   0% /run/user /dev/sda1              228M   91M  126M  42% /boot /dev/sdb1              197G   75G  113G  40% /home   df -i reports a partition with 100% usage:  root@web1:/home# df -i | grep 100% /dev/sdb1 13107200 13107200 0 100% /home
15496
Background:    I put in a friend's SD Card to format it because it was having problems. Then I put mine back in and I think my phone formatted my SD Card. I had a ton of pictures on there that are now gone! I put the card into the computer and there's only 2mb of cache files on there and none of the original directories.   I already tried the following freeware recovery applications:         Neither of them were able to retrieve any files. Undelete took 1minute to scan for files and came up with 0 files.  Recuva took 10 minutes for their "deep scan" which doesn't seem thorough enough at all for this 8GB SD Card. I need something that's a lot more heavy duty.  I don't mind paying for an application to get the data back if necessary...   Questions:     Which application can I use to recover my deleted picture files from my 8GB HD Micro SD Card?   Why did Anroid format my SD card?   How can I tell if it's a phone problem, data problem, or SD Card problem?
89110
I bought a 16G SD card to put Android on to put in my Nook Color.  I downloaded a Honeycomb distribution and wrote the disk image to it.  Then I found the Nook Color takes Micro-SD cards, and decided to use this SD card for casual file storage and sneakernet.  Right now, it reports its size as 117 MB.  Sticking it into a Windows 7 computer, I can reformat it in several different ways, including NTFS and FAT variations, but always 117 MB.  The reformat to default configuration shows 117 MB.  Is there something I can do to make this hold actual GB again?  Any ideas what happened?
78368
My HTC Desire S is working fine when I don't put my micro SD card in it (this card was free with the phone). But the phone keeps restarting every few minutes if I keep the memory card in it. By that, I could say that the phone is fine, but the issue can be either with the memory card or the phone not supporting memory card anymore. The phone and memory card worked completely fine for 8 months.  The thing is, if the same memory card is inserted in any other mobile, be it an Android or any other smartphone, that phone will not restart and the data is completely readable too. So, the memory card is fine. When I insert some other memory card on my phone, then my phone does not restart too. So that means the issue is with my phone &amp; that particular memory card combo.    I am ready to uninstall each and every app from my phone, but will that solve my problem? Should I perform the factory reset? Will it solve my issue? What will I lose if will do the factory reset? Like: contacts, SMS, call logs, APN settings, etc. Any free software to backup all these?  But maybe I am going in the wrong direction. Maybe there is some easy way to get the phone and memory card working.