FORUMS
Remove All Ads from XDA

[Q] Incorrectly partitioned SD card, need fix.

319 posts
Thanks Meter: 67
 
Post Reply Email Thread
Hi, I accidentally wiped my SD card in TWRP, and I held the power button in an attempt to stop it. That of course didn't work, and my SD card was unusable. So I tried partitioning it with TWRP (Advanced > Partition SD Card) and that didn't do anything. I plugged it into my PC running Ubuntu 11.04 and formatted it to Fat32, and I'm now able to copy files to it and such with my PC, but I can't flash anything from it, and I have no ROM currently installed on it. I need help getting the SD card working again.
The Following User Says Thank You to FroyoShark For This Useful Post: [ View ] Gift FroyoShark Ad-Free
 
 
3rd January 2012, 03:32 AM |#2  
Member
Thanks Meter: 26
 
More
Do you still have TWRP recovery installed? If you do, boot to it and post the result of the following...

Code:
adb shell
parted /dev/block/mmcblk0
unit
   ^This will ask for another input. Type "B" and hit Enter
print
This will show your current partition layout.
The Following 2 Users Say Thank You to lmntone For This Useful Post: [ View ] Gift lmntone Ad-Free
3rd January 2012, 03:35 AM |#3  
FroyoShark's Avatar
OP Senior Member
Flag Minnesota
Thanks Meter: 67
 
Donate to Me
More
Code:
print
Model: MMC M8G2FA (sd/mmc)
Disk /dev/block/mmcblk0: 7734296576B
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start        End          Size         File system  Name        Flags
 1      131072B      262143B      131072B                   xloader
 2      262144B      524287B      262144B                   bootloader
 3      524288B      11010047B    10485760B                 dkernel
 4      11010048B    212336639B   201326592B   ext4         dfs
 5      212336640B   229113855B   16777216B                 recovery
 6      229113856B   296222719B   67108864B    ext4         backup
 7      296222720B   306708479B   10485760B                 boot
 8      306708480B   311951359B   5242880B     ext4         splash
 9      311951360B   848822271B   536870912B   ext4         system
10      848822272B   2041053183B  1192230912B  ext4         userdata
11      2041053184B  2309488639B  268435456B   ext4         cache
12      2309488640B  7689732095B  5380243456B               media
The Following 2 Users Say Thank You to FroyoShark For This Useful Post: [ View ] Gift FroyoShark Ad-Free
3rd January 2012, 03:55 AM |#4  
Member
Thanks Meter: 26
 
More
It's showing that the "media" partition (sdcard) isn't formatted to fat32.

You would have to reformat it from TWRP recovery. The following should work.

Code:
adb shell
parted /dev/block/mmcblk0
mkfs 12 fat32
    ^This will format partition 12 to the fat32 filesystem.
The Following 4 Users Say Thank You to lmntone For This Useful Post: [ View ] Gift lmntone Ad-Free
3rd January 2012, 04:05 AM |#5  
FroyoShark's Avatar
OP Senior Member
Flag Minnesota
Thanks Meter: 67
 
Donate to Me
More
Quote:
Originally Posted by lmntone

It's showing that the "media" partition (sdcard) isn't formatted to fat32.

You would have to reformat it from TWRP recovery. The following should work.

Code:
adb shell
parted /dev/block/mmcblk0
mkfs 12 fat32
    ^This will format partition 12 to the fat32 filesystem.

Thank you so much, that fixed it.
The Following User Says Thank You to FroyoShark For This Useful Post: [ View ] Gift FroyoShark Ad-Free
3rd January 2012, 04:08 AM |#6  
Member
Thanks Meter: 26
 
More
Quote:
Originally Posted by FroyoShark

Thank you so much, that fixed it.

Glad to hear your KF is back to normal.
The Following User Says Thank You to lmntone For This Useful Post: [ View ] Gift lmntone Ad-Free
3rd April 2012, 11:00 PM |#7  
thedeveloper1's Avatar
Member
Flag Indianapolis, IN
Thanks Meter: 20
 
More
Missing partition 11 and flag msftres on partition 12
Hello, I have rooted my kindle fire and i tried to partition it with FireParted and it unsuccessfully parted. Here are the partition details:

Model: MMC M8G2FA (sd/mmc)
Disk /dev/block/mmcblk0: 7734296576B
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
1 131072B 262143B 131072B xloader
2 262144B 524287B 262144B bootloader
3 524288B 11010047B 10485760B dkernel
4 11010048B 212336639B 201326592B ext4 dfs
5 212336640B 229113855B 16777216B recovery
6 229113856B 296222719B 67108864B ext4 backup
7 296222720B 306708479B 10485760B boot
8 306708480B 311951359B 5242880B ext4 splash
9 311951360B 848822271B 536870912B ext4 system
10 848822272B 2041000447B 1192178176B ext4
12 2309488640B 4309000191B 1999511552B fat32 media msftres


Please help thankyou
3rd April 2012, 11:13 PM |#8  
Senior Member
Thanks Meter: 488
 
More
the simpliest way should be to use fff version 1.1 or higher
boot to fastboot mode and issue "fastboot oem format"
http://forum.xda-developers.com/show....php?t=1369405
this should restore the factory partitioning
3rd April 2012, 11:41 PM |#9  
thedeveloper1's Avatar
Member
Flag Indianapolis, IN
Thanks Meter: 20
 
More
RE:
It says

. . . FAILED (remote failure)
finished. total time: 0.004s
3rd April 2012, 11:44 PM |#10  
Senior Member
Thanks Meter: 488
 
More
is your fff version 1.1 or newer ?
twrp installs version 1.0
would suggest to install (linked in) version 1.2 and retry
4th April 2012, 01:47 AM |#11  
thedeveloper1's Avatar
Member
Flag Indianapolis, IN
Thanks Meter: 20
 
More
RE:
I downloaded FIREFIREFIRE 1.2 boot loader
And when i did the fastboot command it worked

Thanks for the input!
The Following User Says Thank You to thedeveloper1 For This Useful Post: [ View ] Gift thedeveloper1 Ad-Free
Post Reply Subscribe to Thread

Tags
partition, rom, sd card, twrp, ubuntu

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes