Related
Ok, so since I went from my nice name brand 4GB class4 to a patriot 4GB class6 I have had all kinds of issues trying to get my apps to my SD. When ever I tried to reformat the card through windows vista or win7 it would disconnect, and when trying to launch computer management it would freeze until the phone was disconnected. I would also connect it, right click to format, i would get the popup asking if Im sure I want to format the card, and then when you click format it would fail immediately and the phone would disconnect as external media. So nothing I could do could reformat the card even tho at the time there was a 3.5GB FAT32/.4GB ext2 so I stuck it in Ubuntu. Same weird issues trying to format with GPartition. So I tried Partition manager which would only allow me to delete all the partitions and create ext2 but whenever I would create a FAT32 it would fail at the last 90% of the job and the phone would disconnect form the comptuer, I could then reconnect it and complete the job. I tried this about 20 times after number reboots in Vista and Win7 to no avail. I tried every updated ROM with every type of Apps2sd conversion and nothing is working, everything keeps installing to the phone even after all the commands are successful in the terminal. Finally this morning I got to work and tried with XP and it formatted first try, and now I am midway through resetting everything up. My major issue is that once I install a new build it will work until I setup the apps on the sd card, once I do that I hang on the second slpash screen.
In short I dont know what is going on but I wanted to report my issues incase anyone else was having similar problems. It would seem XP is my savior but that seems really odd.
I have the same issue in Vista. If I need to format the card I just use a reader instead.
Symptoms:
- SD card not recognized by Windows Vista or Windows 7
- If SD card is detected if you right click > format, that operation will instantly fail and the SD card will become disconnected.
- Opening Admin Tools > Computer Management > Disk Management will hang until you disconnect the SD card
- SD comes up as unallocated and needing a format but any attempt to format it will fail
- After installing Apps2sd it hangs on second splash screen
- After installing Apps2sd it hangs on android logo
- Cyclic Redundancy Check error when copying files to SD
- Phone and computer both not recognizing the SD card
Attempted fixes:
- Installing JFv1.5
- Installing 1.5Hr3Apps2sd
- Installing Dudes Apps2sd
- Installing everything imaginable from radios to RC29 and re-rooting
Chain of events that worked:
- Installed JFv1.5 - get a fresh download, install and wipe. You can do this by using another SD card, putting your SD card in another computer, or using a combo of adb or fastboot. Depending on how I messed up my phone determined which of those ways I could do it.
- Format your whole SD card to FAT32 - Same as above, depending on your situation you may need to use a card reader or a computer with linux or Paragon partition manager. I had more issues in Vista and Win7 than XP just FYI incase thats an option to you.
- Split your partition into FAT32/Ext2 - Take your total card size formatted to FAT32, mine was 3.8GB and I wanted .4GB (400MB) so in the below coding where it says "size" I used 3400M, make sure you use a capital M, for more info on this topic click here. Then, with an internet connection open up your terminal emulator and type each line and then enter:
su
cd /data
wget http://64.105.21.209/bin/lib/droid/sdsplit
chmod 555 sdsplit
/data/sdsplit -fs size -nc
reboot
Click to expand...
Click to collapse
- NOTE - The above 2 steps can be skipped if done in Paragon Partition Manager (which I owe thanks for saving my SD card when the Disk Management in all versions of windows and Gpartition in ubuntu failed to see the card, but not PPM)
- Part 1 of 2 for setting up Apps2sd - First step is to download this file. Extract those 2 files onto the FAT32 (windows visible) partition of your SD card. Then open up your terminal emulator and type out each line and hit enter:
su
mount -o remount,rw /dev/block/mtdblock3 /system
cp /sdcard/init.rc /data/
cp /runme.sh /data/
cp /sdcard/a2sd.sh /data/
reboot
Click to expand...
Click to collapse
- Part 2 of 2 for setting up Apps2sd - Once fully rebooted download this file and copy the AppstoSD2.apk to your SD card. With a file manager program (ASTRO for me) install AppstoSD2 off of your SD card. When it is done launch the program and select, Copy Apps to SD. Once that is done your phone will reboot. Once its back up and running choose the second option, Copy dalvik-cache to SD. Once that is done you will need to manually reboot.
- DONE!!! - Once I was done rebooting my phone now reports as having ~400MB of internal storage and it feels much snappier. I hope this guide helps someone.
Huge props to Stericson and MarcusMaximus for their help in fixing my phone. I suspect others may run into similar issues not knowing you need to split the sd card, then create those links with init.rc and a2sd.sh, and THEN install the appstosd program so maybe this will help someone else.
Update: Phone froze during a call, I pulled the battery, and it hung at the second splash screen, and the JF1.5 update.zip file on the SD card could not be found. I went and found my old reliable SanDisk 2GB, put the update on it from my computer, flashed, wiped, and once everything was good to go I tried to put the 4GB class 6 card I have been using but now the phone, linux, xp, vista, win7 all fail to recognize the card at all. I dont know what happened but my issues started when I got that card. I am taking the new Patriot 4GB class 6 card back to fry's and Im running my 4GB class 4 that I had before I upgraded. Everything is setup now and working fine so hopefully I just had a bad SD card.
I wouldnt use the phone to format your sd card. I had no issues formating on vista, winxp, win7 when using a sd card reader. I think it has something to do with the fact that you dont have direct access to the sd card when formating from the phone. I think Android just mounts the /sdcard partition and makes it writable through the usb. if that is the case then you dont have access to the partition tables on the card. Not a linux or android guru, just a theory.
1: Don't try to format the sd card using your computer when it's in your phone, if you need to format it, use a card reader.
2: ext2 isn't readable by Windows, so if your ext2 partition isn't showing up on the computer, that's normal.
i had haykuro adp 1.5 but flashed jf 1.5 to put apps on sd and its stuck on tmobile g1 screen.
Yes! The easiest way for me was throwing the card into my Ubuntu laptop and both the FAT and Ext2 partitions pop up on the desktop so you can backup or partition them easily.
And when my card crapped out last night and I put the class 4 back in I was not recognized on any computer but I could at least format it from the phone. From there Partition manager could see the drive and partition but the format was invalid. I then ran the SDSplit method and was able to get the partitions visible in Ubuntu (but not in Windows). From there I copied files (wallpaper, ringtones, etc.) to the SD card and rebooted and when it came back up Windows was able to see the files on the SD and now everything is setup again and good to go.
I have had 2 Patriot 4gb Class 6 cards that both have bad sectors within the first month...as well as randomly getting "bad_removal" from my phone with them. And then it finally losing the filesystem!
I am now using a Kingston 4GB Class 4 card and havent had any issues in 2 weeks.
Patriot isn't all that bad but I think these cards are duds.
Hi,
Just wanted to add:
I purchased a kingston 16 gb class 2 from ebay - working apps to sd no problems. I used it for 1 month.
Then I upgraded to an Adata 16 gb class 6 from newegg.com. Using it for 2 weeks now with no problems. Apps to sd and dalvik-cache to sd.
My firmware Haykuro 5.02H r4.
These 2 brands seem to be reliable.
I just ordered the A-Data 16GB cl6 card off newegg.com. When I get it I will see what happens and report back.
I have several SD card issues that hopefully someone can help me with.
First, I have an 8gb card, but only 7.3 of it is accessable. I have a micro SD card reader, and Gparted. Re-formatted the card a couple of times, and it always comes up as 7.3gigs.
Second, when I rooted my phone, I used the Recovery image Ivanmmj has in the stock 1.5 to root thread here on this forum. Shortly after, I think when I flashed ClockworkMod Recovery, I lost the ability to get into recovery by holding volume up and power. Only volume down and power gets me into a recovery state.
Third, I went into ADB and entered some commands from other places to do stuff to the Sd card, but one command still lingers when I do backup or restores:
E:can't mount /dev/block/mmcblk0p2 No such device.
Either that command is blocking off a section of my SD card, or the card just has a bad sector... Any ideas guys?
Dr.Strange said:
I have several SD card issues that hopefully someone can help me with.
First, I have an 8gb card, but only 7.3 of it is accessable. I have a micro SD card reader, and Gparted. Re-formatted the card a couple of times, and it always comes up as 7.3gigs.
Second, when I rooted my phone, I used the Recovery image Ivanmmj has in the stock 1.5 to root thread here on this forum. Shortly after, I think when I flashed ClockworkMod Recovery, I lost the ability to get into recovery by holding volume up and power. Only volume down and power gets me into a recovery state.
Third, I went into ADB and entered some commands from other places to do stuff to the Sd card, but one command still lingers when I do backup or restores:
E:can't mount /dev/block/mmcblk0p2 No such device.
Either that command is blocking off a section of my SD card, or the card just has a bad sector... Any ideas guys?
Click to expand...
Click to collapse
was gonna say card has bad sector, or clockworkmod has a signiture for that file space like a partition, I have read that clockworkmod does this to phones, this is one reason why they brick, and we are told not to use clockwork for this very reason. there are some very nice features in clockwork mod, but for recovery its best to stay with amonra and use the update.zip to change to clockwork if you need to i have included the update.zip
I have never seen an 8gb card with 8gb accessable. It doesn't sound like anything is wrong here as far as the capacity of your card. My 8gb card has only 7.3 accessable as well. It is standard for any storage medium wether it be an sd card or computer hard drive.
As far as the volume up issue, it has always been volume - for both my phone and my girlfriend's phone. I used the Eris Root For Dummies method for my phone and the One Click Universal Root Method for my girlfriend's. Volume + and end never worked for either phone. Don't know why, but I can get there reguardless.
Hope this helps some.
Dr.Strange said:
I have several SD card issues that hopefully someone can help me with.
First, I have an 8gb card, but only 7.3 of it is accessable. I have a micro SD card reader, and Gparted. Re-formatted the card a couple of times, and it always comes up as 7.3gigs.
Second, when I rooted my phone, I used the Recovery image Ivanmmj has in the stock 1.5 to root thread here on this forum. Shortly after, I think when I flashed ClockworkMod Recovery, I lost the ability to get into recovery by holding volume up and power. Only volume down and power gets me into a recovery state.
Third, I went into ADB and entered some commands from other places to do stuff to the Sd card, but one command still lingers when I do backup or restores:
E:can't mount /dev/block/mmcblk0p2 No such device.
Either that command is blocking off a section of my SD card, or the card just has a bad sector... Any ideas guys?
Click to expand...
Click to collapse
There is nothing wrong with your SD card.
Hard drive, SD card, and USB thumbdrive manufacturers typically define megabytes, gigabytes, etc as incrementing by powers of 1000. (so 1GB = 1000MB)
Most operating systems & software define megabytes, gigabytes, etc as incrementing by powers of 1024. (so 1GB = 1024MB)
So according to the manufacturer, your SD card has a capacity of 8GB (8000MB)
According to any operating system (Android, Windows, OSX, Linux, etc), your card has a capacity of 7.8GB (8000MB / 1024)
When you format ANY storage medium (hard drive, SD card, etc), the stated capacity of the device and the available capacity will not be the same.
To make matters worse, some of that 8GB/7.8GB (depending on how you measure) has to be used by the file system to figure out exactly where all of your files are being stored on the card.
I don't know if you ever had to use a card catalog system in a library, but think of it this way.
Let's say you build a library capable of holding a thousand books. However, you're not going to arrange the books according to author's names, titles, or the Dewey Decimal System. You're just going to stick them on shelves in whatever order you get them in.
Whenever you need to find a particular book, you're going to need some way of figuring out exactly where it is in the library. So you'd need a card catalog of sorts. This card catalog is going to take up some of the room in your library, meaning you won't be able to store EXACTLY 1000 books anymore.
Okay, it might not be the best analogy in the world, but it's late here and I hope it gets the point across.
From wikipedia: "A general rule of thumb to quickly convert the manufacturer's hard disk capacity to the standard Microsoft Windows formatted capacity is 0.93*capacity of HDD from manufacturer for HDDs less than a terabyte."
So out of that 7.8GB of space, you're only going to be able to use about 7.3GB of it (7.8 * 0.93).
Oh, and as for
"E:can't mount /dev/block/mmcblk0p2 No such device. "
I'm not too certain about this, but i believe /dev/block/mmcblk0p2 is the mounting point for apps2sd partitions, assuming the ROM supports them, and if you're running a stock ROM, it won't.
Your recovery image does though, so every time you do a nandroid backup/restore, it checks for an existing partition for apps2sd. Since it doesn't exist, it shows that message. Nothing to worry about.
Hopefully someone who knows a bit more about it can explain it better, but I don't believe that's an actual error in this case.
I do know it doesn't have anything to do with your 8GB/7.3GB issue though.
Did you try partitioning it on your phone to 0? That worked when I had a similar problem.
i have phone xperia acro SO-02s..when i put SIM card+SD card,the SD card not detected,but when i take SIM card and put SD card..my SD card is working,,please help me.thanks
I will give some background to begin with. I had installed the Kies mini update to the 2.2 software on my Captivate. I then rooted with super one click. I have the drivers for the Captivate installed in Windows XP and I have USB debugging enabled. It recognizes the drive and will show me the contents on the computer, but it doesn't allow me to copy from the computer to the drive. I know I can use dropbox for some things, but for other things like installing a custom rom, I would like to be able to copy to the drive. It does show as mounted and mass storage is enabled on the phone. Any ideas?
If you are rooted just go into cwr and mount sd card there. if not i have no idea as i haven't kept a phone stock since a week after i got my old Moto Droid, as soon as i found out it was possible.
Well apparently the version of Clockwork Mod Recovery that I have doesn't give the option to mount the SD card. I have 2.5.1.2. I did find a way using SGS tools to download a custom rom to the root of the SD card. I was going to reinstall Debian Linux at some point on my computer so I may have better luck with using that to write to the SD card then I am having with XP.
Yeah
Make sure that the SD card isn't locked. Also, back up everything on it to your computer and do a complete format as well. And if you're wanting to write ROMs to your SD (or CWM, etc.) in Linux, you're going to have to use dd in the terminal, and most like will be writing to "sdb".
Here's a simple walkthrough just in case you don't know how to use dd:
Become root by typing "su" and following it with your password. If you don't have a root password, type in "sudo passwd" and set it.
Next you have to unmount your microSD. To see what you have mounted type in "mount". Your SD card will most likely be called "/dev/sdb" or "/media/sdb" or something along those lines (not sdb1, that is the partition on the card). Once you know what your SD is called and where it's located, type in "umount /dev/sdb", placing '/dev/sdb' with the actual location and name of your SD card.
Now we get to use dd. Type in: dd if=<insert location of IMG here without the tags I included> of=<location of your sd without the tags I included> bs=1M
Be patient, because it usually takes a while, depending on what you're writing. Good luck mate.
I was looking for an answer to this myself. Me and my girlfriend both have the same phone, galaxy S. We both put andromeda rom on it and are now going to switch to FireFly (I did, she's trying to).
Well, mounting her USB storage ends up with the internal SD card being recognized as a CD ROM and the external as a usb storage device.
Anything we try to do to her internal says there's write protection and to disable it or use something else every time we do anything.
Only even trying this because we're getting some weird "Error at line 17: symlink with SU..." blah blah....
Completely stuck here. Doesn't make any fracking sense.
same to me. what should i do? I'm trying to install Andromeda. But I can't even copy ROM file to internal SD card. HELP ME ASAP!
A week or so ago, I flashed this ROM onto my phone. ([ROM] (v1.2.6_r2) Nexus AOSP Gingerbread 2.3.4 - Faux123 [Jun-26-2011] - http://forum.xda-developers.com/showthread.php?t=1068367&page=189)
I had to end up switching back to stock ROM. Ever since the flash back to stock, my memory card has been "locked"
In the process of flashing my phone back to stock, my external Micro SD card became locked to "Read Only". I cannot format or erase any of the content that was stored on my card during the flashings. It literally seems to be "LOCKED" onto the card.
I've tried the windows format option in the Device Manager. I've also tried the Windows Command prompts. NOTHING has worked. Formatting the card in my phone does nothing. No data gets erased.
With the card in my phone, I can access all my files (movies, music, pics, etc). But I cannot modify, delete, or add any new content! (Example, I cannot select my External SD as a valid storage location for new pics in the camera.)
Does anyone have any ideas on how to reformat this card to get it working for me again. It is a 16gig card. I hate to throw it out.
Thanks.
I would recommend trying Panasonic's sdcard formatter. It seems to be pretty good at formatting sdcards that other programs have trouble with.
http://panasonic.jp/support/global/cs/sd/download/sd_formatter20.html
Another thing you could try, you can format your sdcard inside clockwork recovery mod. (Under the mounts and storage section if my memory serves)
mstrk242 said:
I would recommend trying Panasonic's sdcard formatter. It seems to be pretty good at formatting sdcards that other programs have trouble with.
http://panasonic.jp/support/global/cs/sd/download/sd_formatter20.html
Another thing you could try, you can format your sdcard inside clockwork recovery mod. (Under the mounts and storage section if my memory serves)
Click to expand...
Click to collapse
yes thats good one ! +1
avetny said:
yes thats good one ! +1
Click to expand...
Click to collapse
Thank you for the suggestions
That did not work. I ran the SD formatter and the windows formatter and my content is STILL on the card.
CWM won't format the card either.
Any other ideas?
Did you try partitioning the card? Just one 16GiB FAT32 partition?
Joe-retired said:
Did you try partitioning the card? Just one 16GiB FAT32 partition?
Click to expand...
Click to collapse
Joe -
That is officially over my head.
How would I go about doing that?
Can you get the card replaced under warranty?
Since you tried formatting the sd card, I am assuming you have backed up everything on it.
As easy way is in Clockwork recovery mod choose -> advanced; then choose -> partition;
when prompted for a partition size for the ext partition choose the smallest, also the smallest for swap (I think you can choose 0 for this one) continue to follow prompts and the card will be partitioned.
One more thing to try if that doesn't work:
http://gparted.sourceforge.net/livecd.php
Go to this site, download the cd or usb disk version and boot off it. Now, plug your card into your computer (NOT through the phone, use a usb reader. If you don't have one, you can probably pick up a cheap one for around 10 bucks.), you may need to rescan the disks after you plug the card in, to make sure gparted sees it. Now, delete the entire partition, so there is no partition at all on the card.
Boot back into windows, plug the card in, try to format it again. I've seen this happen when you have a damaged mbr on the sdcard. Also, when you format in windows, (if your system will allow it), id try to format it to a 64k cluster size instead of 32k. (on a 16gb card 32k is the default cluster size.) It'll speed it up a bit. (not really needed, but a nice boost.)
The last thing you can try, if all else fails, boot into clockwork recovery (assuming you have it installed) and format the sdcard through there.
If all that fails, I'd say you have a bad card. But try those steps first, hate to see you throw the card away if it's still good. )
My SD was acting a fool (after deleting many ROMs, it still said I had 73MB free). Nothing I did would change it so I decided to format the card. I used Disk Utility (on Mac) and formatted for FAT32. After I did that, my phone said it was in a format it couldn't recognize, so I formatted it from the phone itself. Now, when I enter recovery and attempt to install zip from sdcard, then choose zip from sdcard, it says "E:Can't mount /sdcard". I don't really know what to do, as I formatted it from my phone. I figured that was sure fire but I guess not so much. I tried to find what format I need the SD card in to work properly but I couldn't find anything.
Can someone help me out?
Fat32 is correct for the phone. Do you have a usb reader for the sdhc microsdcard or one of those sdcards that let the microsd card fit in to read it from the pc?
Sent from my LG-P999 using xda premium
Reboot in recovery, if it says it can't mount it... pop out the sd from your phone and pop it right back in and see if it works. No need to mess with mount points for it either.
Also, did you check if your lost.dir folder is taking up space? Sometimes that thing can get big.
Could have been a bad flash, try to flash it again. I know I had a problem when I bought a new sd card. You can also try to flash it from a different phone. Otherwise, if you have access to a pc, I can tell you how to format it from the command line, which is, in my opinion, better to do if you're having a problem with the quick format that the phone does.
ericalanMICHAEL said:
My SD was acting a fool (after deleting many ROMs, it still said I had 73MB free). Nothing I did would change it so I decided to format the card. I used Disk Utility (on Mac) and formatted for FAT32. After I did that, my phone said it was in a format it couldn't recognize, so I formatted it from the phone itself. Now, when I enter recovery and attempt to install zip from sdcard, then choose zip from sdcard, it says "E:Can't mount /sdcard". I don't really know what to do, as I formatted it from my phone. I figured that was sure fire but I guess not so much. I tried to find what format I need the SD card in to work properly but I couldn't find anything.
Can someone help me out?
Click to expand...
Click to collapse
Sounds like what i did one day when i wanted to wipe everything so i did including formatting my SD card through recovery. so it left me with nothing on my phone including a bootable rom! lol. if this is the case with you. Here is what i had to do. Download a new rom to my PC then plug my phone into my PC via USB/ Boot into recovery/ Mount storage/ Mount SD card/ Copy the Rom to SD card then Flash the Rom. Not too sure if this helps, I hope it does, again it sounds like the same problem i had.
Sometimes SD cards break...for some reason they will just stop working, probably due to manufacturing techniques. My old 256mb card went bad, I just tossed it yesterday as a matter of fact. it had no name brand. I still have a 4gb pny that works perfectly and a SanDisk 32gb which also works great. If you do have to get a new SD card, I would recommend getting the highest class you can afford highest out the right now I believe is C10. That will increase your transfer speeds....both of my current cards are class4 and it can take a little bit of time to transfer gigs of data between the phone and computer. If you have any other device that can accept the "card" put it in there and check if it can send and receive data/ format to proper disk size, if not then your card is broken.
Once you go class 10 you don't look back lol
Loving my Lexar 32gb class 10 microsd.
Sent from my LG-P999 using xda premium