Later on some searching, I wasn't able to find anyone who described quite exactly my problem, and no one had a solution. So, after days of fighting this, I finally fixed information technology, and decided to post my solution. HTC Droid Incredible running OEM 2.two on Verizon
Problem:
My Internal Phone Storage was getting mounted as "read-but" and I couldn't write to it.
Symptoms:
- Whenever I booted the telephone it would say "There's a trouble with your SD card" in the notification bar. Yet, going to settings > SD & telephone storage -> it revealed that my SD card was fine, and my internal storage was "read-only"
- Astro File Manager Clearly showed my emmc folder as unwritable (and nothing happened when I tried to write to the folder)
- My photograph gallery would only testify photos taken since the problem began. This symptom was the same as in this post (with no solution): http://androidforums.com/incredible...telephone-storage-read-only-afterward-2-2-update.html
Dorsum story:
I had my phone connected via USB as a Mass Storage Device to a windows machine and was transferring a folder called "BensPictures" that independent approximately 400 megs of photos to the root of the Internal Storage. About fifty% of the way through, windows fabricated the device disconnect sound, and alerted me that the USB storage device was no longer available, and that information had been lost in the transfer. I've seen the error earlier, but never when actually transferring anything. I just popped in a USB pollex drive (wish I did this get-go...) and used that to complete my file transfer. A few hours after I realized that my phone was doing some odd things, such every bit the gallery problem described in a higher place. Then I started getting these messages almost something being incorrect with my SD card in my notification bar.
After a few hours of poking around, I discovered that my Internal Memory was now "read-only" and there was what astro was calling a file called "BensPictures" in the emmc folder. This "file" had no permissions, and tapping and holding on it did nothing.
Solution:
I fired up my TerminalEmulator (my phone was NOT rooted at this signal) and began to poke around. Trying to remove anything from the emmc binder gave me a "filesystem read-simply" error, only trying to remove this "BensPictures" file gave me error: "Unable to remove file: I/O error"
I started playing around with the mountain command, and quickly learned that I couldn't practise annihilation without rooting my telephone.
The only affair useful I was able to do at this point was list out the existing mounts by running "mount" in my last.
Doing this, I saw that one of the mounts was this:
-
/dev/block/vold/179:3 /mnt/emmc vfat ro,dirsync,nosuid,nodev,noexec,relatime,uid=1000,gid=1015,fmask=0702,dmask=0702,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0
I knew that was the internal memory. The important role there is Since I couldn't practise everything I needed to (like change the mounts), I rooted my telephone. Everything that took place from this signal on was with my phone rooted.
The adjacent thing I did was install SSHDroid and so I could run commands from my reckoner over SSH.
In one case I had SSH working, the beginning affair I tried was to remount the internal memory with read/write enabled using this command:
-
mount -o remount,rw,errors=go on -t vfat /dev/block/vold/179:iii /mnt/emmc
The command appeared to work, simply the mount was still read-only. I tried unmounting using:
And so re-mounting using a similar command like to a higher place (minus the "remount" option). The device did remount, and was accessible, but it was yet read-merely. I tried mounting the device to a dissimilar location, and it was still read-only.
I tried a lot more things here. Honestly, I don't remember a lot of them. But I tried everything I could think of.
Finally, I started thinking about fsck. I discovered that Android has a fsck_msdos command, and since the internal retentivity on the Droid Incredible is vfat, this was perfect.
I mounted the internal storage (still in read-merely style) and copied everything to my SD card as a fill-in, and then ran:
-
fsck_msdos /dev/block/vold/179:3
I got this output: -
** Phase one - Read and Compare FATs
-
Attempting to classify 845 KB for FAT
-
Attempting to classify 845 KB for Fatty
-
** Phase 2 - Cheque Cluster Chains
-
** Phase 3 - Checking Directories
-
/BensPhotos starts with free cluster
Information technology found my broken directory! I said 'y'es and it continued to tell me about several Lost Cluster Chains, and finally finished with a -
***** FILE Organization WAS MODIFIED *****
I thought to myself, "This bad directory couldn't crusade all those issues...could it?" and I and so rebooted my telephone, and the Internal Phone Storage was back to it's proficient-ol' self. Readable and Writable I'grand a couple reboots later (although just a couple hours) and it appears to be working however!
I sincerely promise that if someone else is having an issue like this, this helps them at least get on the right rail!
0 Response to "Cannot Read Data on My Thumb Drive"
Post a Comment