Mmmm toasty - 8GB SD Card appears to be FUBAR. - G1 General

It started with I repartitioned it using the Aman RA recovery "Part SD: fat32+ext2+swap" and flashed a Hero ROM. It worked fine. When I wiped and restored CM 4.1.999 (nandroid) I couldn't get to any of my programs or anything else on the SD Card. After some wiping and some trial and error I said screw it and re-formatted (via Windows) and re-partitioned my card via recovery. Again, I couldn't access any of my programs or the card.
I can format the card as one 7.x GB partition and it seems to be OK, but when I try to partition into fat23+ext2+swap via recovery (or any combination of more than one partition using Paragon Partition Manager) it is rendered unusable. If I re-mount it to my computer I get that the drive is not formatted.
If I format it it to one partition and then try to create multiple partitions via Paragon I get "A new partition cannot be created on this hard disk. Most probably, all primary slots are occupied and there is no extended partition."
Any ideas?

nolageek said:
It started with I repartitioned it using the Aman RA recovery "Part SD: fat32+ext2+swap" and flashed a Hero ROM. It worked fine. When I wiped and restored CM 4.1.999 (nandroid) I couldn't get to any of my programs or anything else on the SD Card. After some wiping and some trial and error I said screw it and re-formatted (via Windows) and re-partitioned my card via recovery. Again, I couldn't access any of my programs or the card.
I can format the card as one 7.x GB partition and it seems to be OK, but when I try to partition into fat23+ext2+swap via recovery (or any combination of more than one partition using Paragon Partition Manager) it is rendered unusable. If I re-mount it to my computer I get that the drive is not formatted.
If I format it it to one partition and then try to create multiple partitions via Paragon I get "A new partition cannot be created on this hard disk. Most probably, all primary slots are occupied and there is no extended partition."
Any ideas?
Click to expand...
Click to collapse
I just recovered mine from this the other day...when I went into parted it was not showing the label of "primary" which was signifying it was not actually an initialized partition....even though I told it mkpartfs primary fat32 and put the parameters for it...
My fix was to use my Mac and format it to FAT standard (not FAT32) which allowed it to be seen in my Vista machine downstairs....when I insert it asked to format and I said no (as it would only format 200MB and leave the other 7.6GB unusable) and went into Manage under My Computer (right click, choose Manage) then went down and right clicked the SDHC card and chose to format it to FAT32..which it did.
Put the memory card back in the phone, went back to parted and redid my partitions and they showed the "primary" label as they should...took card out of the phone, put back in the Mac and copied over the zip I wanted to flash to the FAT32...put back in the phone and flashed with Amun-RA 1.2.3

why dont you partition using gparted on the G1? try formatting it within windows first, and then using the gparted method. it may work, may just have been a bad format/partition the first time.

palosjr said:
why dont you partition using gparted on the G1? try formatting it within windows first, and then using the gparted method. it may work, may just have been a bad format/partition the first time.
Click to expand...
Click to collapse
I've used sdpart in the recovery. I thought that used gparted?

I also had this problem with Paragon, I formatted the card and partitioned using gparted boot cd. Works great now.

Related

cant format sd card after trying to install hero rom

I tried to install the hero rom and went to format the sd card with paragon but for some reason it shows my whole sd card as ext2 and I try to delete the partition and format it but it never works. Is there anyway to bring my sd back to life?
right click on the partition and resize then reclick on the unallocated side and create partion fat32
HOGWILD said:
right click on the partition and resize then reclick on the unallocated side and create partion fat32
Click to expand...
Click to collapse
I can't do that when I try to it doesn't list the sd as an option. I just have the delete partition ioption but when I remove and re insert my sd it still reads as ext2. idk if I fried the card this sux tho it was only like 3 months old..
Download gparted and boot into that.
Was having similar problems with my sd card. In order to get it to work I used the recovery cd in paragon and it finally read it correctly which allowed me to format it. The recovery cd is provided in paragon. Just go to the "Boot and Rescue" section and follow the steps to create one. Then just restart your computer with it in your dvd drive and it wil automatically boot to it, unless you have that changed for some odd reason.
And the sd card must be in a card reader other than the g1 (a usb reader will work). It just won't mount correctly through the recovery disc of you use your phone
CashMoney474 said:
Was having similar problems with my sd card. In order to get it to work I used the recovery cd in paragon and it finally read it correctly which allowed me to format it. The recovery cd is provided in paragon. Just go to the "Boot and Rescue" section and follow the steps to create one. Then just restart your computer with it in your dvd drive and it wil automatically boot to it, unless you have that changed for some odd reason.
And the sd card must be in a card reader other than the g1 (a usb reader will work). It just won't mount correctly through the recovery disc of you use your phone
Click to expand...
Click to collapse
Ok I will try that now and yes I've only used the sd card reader so hopefully that will work.thank you..will report back if it works.thank you

ext fomatted sd space in liberated Aria (eclair) doesn't show up in cyanogen 6.1.1

Hello everyone,
I recently got an HTC aria from AT&T.
After a few days I went ahead and rooted the phone.
At first I decided to try the liberated Aria (éclair) rom. It was a good experience. But just last night I decided to try another rom, so I went with Cyanogenmod 6.1.1.
While I was using liberated aria, I used rom manager to partition my sd card with the ext filesystem, so I could move some apps to it and open up some space from my phone's internal storage.
This space, while I never figured out how to move the apps, always showed in titanium backup.
With the move to Cyanogenmod 6.1.1, this partition doesn't show at all!, in fact my sd card is at 1.7 Gb!, it's like I lost an extra 0.25 Gb (which is the partition size I chose in rom manager before)... I tried partitioning in cyanogenmod with rom manager again, but then my sd card took another 0.25 Gb hit and went to 1.5 Gb!...
How do I get back to my 2Gb sdcard space? furthermore how I do partition the card such that I can extend my internal storage for apps?
Thanks
Andres
I use gparted on linux to do that. I'm not sure what OS you use, but there are live cds you could use.
But on gparted, you should be able to see all the partitions on the card and manage them as necessary.
In order to use the ext partition, you should darktremor's app2sd. Ext3 is the filesystem you should use, but ext2 works as well I believe.
Sent from my Aria - CM7 Build 2-4
thanks, I use Debian Squeeze on desktop and testing on laptop.
I just got gparted, but it says my external storage is only 1.7 Gb!
Like I said...the extra 0.25 Gb is no longer being mounted with the sdcard and it somewhere lost in the filesystem and/or apportioned to some obscure directory...
Hmmm... that is quite odd. I know some sd cards aren't actually what they state. My 8GB card only shows as 7.8GB for example.
Try formatting the whole card (Back up first!!) And see if it comes back somehow. I am not a sd card expert.
Sent from my Aria - CM7 Build 2-4
L551 said:
Try formatting the whole card (Back up first!!)
Click to expand...
Click to collapse
thats what i'd recommend.
when you installed cm6, did you do a wipe data? did you notice if it said it was wiping the ext partition? i'd guess cm6 isn't noticing the space because it was partitioned separately from the rom install.
backup your important data, format the card, and try repartitioning it again now that you've got cm6 installed.
well I'm not entirely sure why it worked this time, but I was able to fully format the card. Now I'm back to 2Gb (well, really 1.84 Gb, but that's right)
The problem I think was that I was formatting with Rom manager, and it was ignoring the extra unrecognized space. What I did different this time, is that I went into settings > sd card & storage > unmount sd card > format sd card > mount sd card > sucess!
So this successfully formatted the whole card.
Thanks for your pointers
Unfortunately trying to partition it again failed.
I tried gparted and it successfully formatted a part of the card with the ext3 filesystem (while leaving the rest as unallocated -- at least this is what gparted said). Unfortunately when mounting the sd card on my phone it complained that the card had been damaged. So I had to reformat it, undoing the previous partitioning.
Then I tried rom manager again, but the way it works is by going into recovery and partitioning the card there. Unfortunately, clockworkmod recovery showed a warning sign ( triangle with an exclamation mark in it) above an android and froze there...I had to pull the battery out to reboot my phone.
I guess my oldish version of gparted (0.7.0) doesn't like the YAF filesystem (YAFFS). So perhaps when it partitions the card, it screws up the existing YAFFS partition. I'll try to use gparted again to partition the card fully, 256 Mb ext3 as extra app storage and the rest, I guess ext3 as well.
Andres
I finally did get it to work on both R012 and FR008 (as well as CM6.1.1 and CM7)
I formatted the sdcard with gparted (chose a 512 Mb ext3 partition with 32 Mb Swap). Then from android's terminal emulator (as root) I typed
Code:
a2sd check
and it enabled apps2sd using darktremor just fine. It became aware of my ext3 partition.

Clockwork Recovery screwed my microSD

I installed the latest SwiftDroid v2.0 RC4.
Before it I wiped everything.
After flashing I entered into Clockwork Recovery. I wiped data again (I had problem with repartitioning so I did it again), and then s*it happened.
I didn't know it will wipe out SD card ! I backuped it, and it wouldn't be problem if it wiped it.
The problem is, it erased ext2 partition, swap partition, and heavily crippled main FAT32 partition. Now my microSD card has only 1,86 GB, and it has 4 GB capacity! The half capacity is gone ! I checked in MiniTool Partition Wizard Home Edition, and couldn't beleive. OK, maybe MiniTool is wrong. I booted Parted Magic, and the same s*it !
Is there any way o claim back lost 2 GB of space, or should I go and buy new microSD?
angemon10 said:
I installed the latest SwiftDroid v2.0 RC4.
Before it I wiped everything.
After flashing I entered into Clockwork Recovery. I wiped data again (I had problem with repartitioning so I did it again), and then s*it happened.
I didn't know it will wipe out SD card ! I backuped it, and it wouldn't be problem if it wiped it.
The problem is, it erased ext2 partition, swap partition, and heavily crippled main FAT32 partition. Now my microSD card has only 1,86 GB, and it has 4 GB capacity! The half capacity is gone ! I checked in MiniTool Partition Wizard Home Edition, and couldn't beleive. OK, maybe MiniTool is wrong. I booted Parted Magic, and the same s*it !
Is there any way o claim back lost 2 GB of space, or should I go and buy new microSD?
Click to expand...
Click to collapse
In MiniTool or parted magic, delete all of the partitions on your SDCard. Then create a fat32 partition from the unallocated space. Note: You WILL lose all data from the SDCard when doing this. Then try re-partitioning using clockwork. Also, you don't need the ext2 partition if you are planning to use apps2sd in swiftdroid, as you can use Android's built in one that doesn't require a seperate SDCard partition.
effortless. said:
In MiniTool or parted magic, delete all of the partitions on your SDCard. Then create a fat32 partition from the unallocated space. Note: You WILL lose all data from the SDCard when doing this. Then try re-partitioning using clockwork. Also, you don't need the ext2 partition if you are planning to use apps2sd in swiftdroid, as you can use Android's built in one that doesn't require a seperate SDCard partition.
Click to expand...
Click to collapse
I forgot to type I did it.
I deleted partition (it wasn't FAT32, it was FAT16 after CR messed up!), and microSD has only 1,86 GB.
Entered in Clockwork Recovery, and it can't mount microSD card.
Frustrating.
angemon10 said:
I forgot to type I did it.
I deleted partition (it wasn't FAT32, it was FAT16 after CR messed up!), and microSD has only 1,86 GB.
Entered in Clockwork Recovery, and it can't mount microSD card.
Frustrating.
Click to expand...
Click to collapse
You can try something but it requires Ubuntu installed or livecd (Not sure if other distros have the same utility)
Put your SDCard into a card reader (or you can try and mount it using USB) and then search Disk Utility from the Unity menu and open it (or in the standard user interface go to System>Administration>Disk Utility)
Click on your SDCard in the sidebar, and then Choose 'Format Drive' (at the top) Choose Master Boot Record and then click ok. Then format the SDCard as FAT32.

[Q] Rooted Nook Simple Touch, Help Partitioning micro SD card

Hi! Successfully rooted my Nook ST using Nook Manager, except I used a 32 GB micro SD card to do the rooting. After rooting, I ended up with two partitions on the SD card, Nook (239 MB) and Nook Manager (62.9 MB). I was wondering what I need to do to be able to utilize the rest of the space on the card? The reason I bought a 32 GB card was so I could store all my sideloaded books there, and now I find I'm just limited to the space/partitions showing up when I connect the nook via USB.
You need to repartition your card.
Partition Magic can do that.
If you want to use multiple partitions on the SD card (like 2 x 16 GB) you might want to look at:
http://forum.xda-developers.com/showthread.php?t=2184495
Renate NST said:
You need to repartition your card.
Partition Magic can do that.
If you want to use multiple partitions on the SD card (like 2 x 16 GB) you might want to look at:
http://forum.xda-developers.com/showthread.php?t=2184495
Click to expand...
Click to collapse
Thanks, will download a copy of Partition Magic later. I really am completely clueless when it comes to programming though. In fact, I'm only here because the folks at mobileread told me I'd probably have better luck having my question/s answered here than there. So just to confirm, I can repartition the drive using partition magic so I'll have one extra partition for the books I want to sideload, and I'm good to go already when I re-insert the SD card into the Nook? Or do I have to attempt the code that you gave in the thread you linked?
If you want to have a single FAT partition on your SD card you can do that without much change.
It comes down to whether you want to be able to pull the SD card and plug it into random desktops and things.
If you want to have multiple partitions or ext3 partitions you will have to use the new vold in the link above.
if used windows 7,8. Insert a memory card into the card reader. Go to cmd(administrator mode) and run command:
Diskpart
List Disk
Select Disk 1 (#select sdcard)
clean (#clean partition sdcard)
create partition primary
active
format fs=fat32 quick
assign (#run command if not view sdcard in mycomputer )
Renate, I tried to repartition my SD card, but got a "disk is not formatted, do you want to format it now?" message. So I had no choice but to do a data recovery using EaseUs Partition Master first, then went ahead and clicked format now. Then I tried using Minitool Partition Wizard (couldn't find a free version of Partition Magic) to create new partitions in the formatted SD card so that the NookManager partition would be larger (27 GB) while the NookBackup partition would be 2 GB. Except that I can't seem to create any new partitions at all. And I also have no idea how to restore the data I'd backed up earlier either.
Sorry, I missed seeing this come up when you posted it.
When your Nook asks you if you want to format you should say "No!".
It could be that it misidentified the situation.
In any case, you want to look closer before formatting anything.
Here's a gotcha.
If you are using ext3 and the internal clock has reset itself then the last mount will be in the future.
That makes things angry. Check that the date/time on the Nook is correct.
You can use gparted to give the card the partition layout you need (i.e. first NookManager partition is big, second NookBackup partition is only large enough to hold a backup), then write the first partition from NookManager.img into first partition of the card (you need to do something roughly similar to this. Then you can use gparted to set the "boot" flag on the first partition and use the card to backup&root your Nook. Then remove the "boot" flag, and keep using the card for storage (it's a bit messy to have both user&app files AND NookManager boot files in the same place, but if you only have one card, then this is inevitable - i haven't found a way to mount the second or the third partitions from the card). The card will act as normal storage device when flag is not set, and as NookManager bootable card when flag is set.

failed to mount /sdcard

Hi guys, i know this has come up on here before and i've searched through all the threads but found only a lot of information which is of no use at all.
Ok heres the info on my phone:
HSPL 2.08
Task 29ned
2.15.50.14 Radio
CustomRUU
Magdlr
CWM and also tried TWRP
I've used windows format from recovery (usb mass storage) and also minitool partition starting with fat32 and 32kb sectors then ext3 partition but on mounting it only returns the following:
E: failed to mount /sdcard (Invalid Argument)
Error mounting /sdcard
so far tried fat32, ntfs, ext2, ext3 out of sheer desperation
Any help would be muchly appreciated but i'm assuming it might be the sdcard at fault i really don't know.
Thanks in advance.
Dan
Hi Dan
In minitool, did you set the primary/logical box to primary?
Why ext3?
Also what rom did you install, and what install method?
Robbie P said:
Hi Dan
In minitool, did you set the primary/logical box to primary?
Why ext3?
Also what rom did you install, and what install method?
Click to expand...
Click to collapse
Thanks for your reply, yes both were set to primary, ext3 as that what lots of threads on here advised. Formatted to fat32 first. I can see it on my pc but can't mount it on the phone? Any ideas?
No rom on the phone yet as i can't get the zip files to be recognised as the sdcard can't mount so you can see my problem now.
Am now getting a new error message saying:
E: Unable to write to ums lunfile (No such file or directory)
Thanks
Dan
Hi Dan, best to start afresh with your card. Use this https://www.sdcard.org/downloads/formatter_4/ to format it to fat32, and see if it shows up then.
I don't know of any latest roms using ext3, most use an ext4 partition on the sd card
Anyway, report back
Robbie P said:
Hi Dan, best to start afresh with your card. Use this https://www.sdcard.org/downloads/formatter_4/ to format it to fat32, and see if it shows up then.
I don't know of any latest roms using ext3, most use an ext4 partition on the sd card
Anyway, report back
Click to expand...
Click to collapse
Ok i'm slowly getting somewhere, twrp didn't work, minitool didn't work, cwm didn't work so then i tried the new version of twrp and formatted it on the sdcard which can now mount sdcard on twrp.
The issue i'm having now is that adb doesn't list it under devices. I'm having to use adb sideload as because its been formatted on the phone it can't be seen on the pc? Not sure if thats as i don't have the hd2 drivers on the pc but its got hd2 toolkit installed. Either way i now don't have any way of installing from the rom zips I have.
Thanks
Dan
Hi Dan, I don't think Android Debug Bridge will work if you do not yet have android on your phone (unless it works from twrp). It seems you have magldr installed, can you use usb mass storage to transfer your rom to phone?
Also I do highly recommend using the sd formatter i linked to earlier, but i assume you do not have a card reader, hence doing all from phone.
Best of luck
I had this problem to fix
i installed everything then formatted card to fat32 using mini partition wizard and then did EXt4 and swap partition from Cwm Recovery and it worked just fine
Fix for unable to mount sdcard error
Neurom707 said:
I had this problem to fix
i installed everything then formatted card to fat32 using mini partition wizard and then did EXt4 and swap partition from Cwm Recovery and it worked just fine
Click to expand...
Click to collapse
Just incase anyone has the same problem i had with the never ending unable to mount sdcard problem.
What this turned out to be was cwm would format the card but only a certain area, then if you format with windows it will again only format a certain area that it see with its own file system. Then minitools would have a strange arrangement of differing file systems and changing this by usb connection through magdlr kept creating these problems.
I was trying to use adb to connect the phone to the pc through usb drivers but in the end it simply wasn't worth the effort.
First I went over cwm with the latest version of twrp.
Then I went out to buy a new sdcard simply to get a sdcard to microsd card tool.
Reformat the sdcard (with minitool partition) once in the pc (using the microsd to sdcard tool) to fat32 or fat32 with an ext4 partition if yr doing nand and dataext. Both partitions need to be primary and make sure there are no other partitions on the card this may take a few goes as sometimes you get a random partition or I did anyway.
Then put your rom files on the sdcard using the pc.
Remove sdcard from pc and install in phone.
Boot phone into magldr and choose recovery and this will take you into twrp and simply choose install and find the rom file you want to install.
Don't worry if you have any problems in the rom install you can always go back into twrp and wipe the system which is the rom.
Hope that helps anyone who was experiencing the same issues.
Alternate workaround
I had the same problem others have above. I wound up using a different workaround, and was able to do it with just the phone, a USB cable, and a Windows 7 PC. No SD adapter was needed and there was no need to remove the microSD card from the phone.
I took a stock WinMo 6.5 TMOUS HD2, installed Black LK and TWRP and cleared everything (cache, etc.). Then I used Black LK (very similar to cLK) to re-partition the internal storage to accept my new Android ROM. All I needed at this point was to install the ROM. I tried to copy my Android ROM to a microSD card I had in another phone and then bring it over, but TWRP was unable to read the card. It also couldn't mount the card via USB.
I was able to use TWRP to format the microSD. Then TWRP was able to USB Mount the microSD, but when my PC dectected it, I received a popup indicating that I needed to format the SD before Windows could use it. I said "yes", and allowed Windows to format the card as one big FAT32 partition. It took a few minutes, during which I was a little nervous as there was no progress meter or anything else on either the phone or the PC to indicate it was working. But once it finished, Windows was finally able to access the microSD card and copy the .zip file for the ROM. Once that was complete, I told Windows to eject the microSD, then un-mounted it in TWRP. And, finally, TWRP was able to see the ROM file and install it to NAND from the microSD.
Anyway, thought I'd post it up in case anybody else runs into this and doesn't have a card reader or adapter.

Resources