Problem Partitioning New Card - G1 Q&A, Help & Troubleshooting

I just got a Transcend 8gb class 6 microsd card and am having trouble switching to it. When I enter recovery with the new card in and go to partition sd card it partitions much faster than usual. Then, once I go to upgrade ext 2 to ext 3 it says error, please run in console. When I got the card I formatted it using another phone by unmounting and pressing format sd card.

bump, really need some help here getting this to work

hiddengopher said:
bump, really need some help here getting this to work
Click to expand...
Click to collapse
I would try what it says and partition via console...

how would I do that?

hiddengopher said:
how would I do that?
Click to expand...
Click to collapse
If you have a g1, go to recovery. Then go to console and type;
Code:
*Warning, Back up everything on your sdcard first!*
<enter>
parted /dev/block/mmcblk0
rm 3
rm 2
rm 1
mkpartfs primary fat32 0 (total sdcard size - swap size - ext size)
mkpartfs primary ext2 (end of fat 32) (total sdcard size - swap size)
mkapartfs primary linux-swap (end of ext2) (end of sdcard)
print (check if it worked)
quit
reboot recovery
Now go to recovery, choose USB Toggle and put a rom on your sdcard

JAguirre1231 said:
If you have a g1, go to recovery. Then go to console and type;
Code:
*Warning, Back up everything on your sdcard first!*
<enter>
parted /dev/block/mmcblk0
rm 3
rm 2
rm 1
mkpartfs primary fat32 0 (total sdcard size - swap size - ext size)
mkpartfs primary ext2 (end of fat 32) (total sdcard size - swap size)
mkapartfs primary linux-swap (end of ext2) (end of sdcard)
print (check if it worked)
quit
reboot recovery
Now go to recovery, choose USB Toggle and put a rom on your sdcard
Click to expand...
Click to collapse
I appreciate the help, but I'm just going to try reformatting the card and some more things first, I hate consoles even though I've used them quite a bit before.

hiddengopher said:
I appreciate the help, but I'm just going to try reformatting the card and some more things first, I hate consoles even though I've used them quite a bit before.
Click to expand...
Click to collapse
This will repartition the card. You want to reformat. OHHHH, well if you have windows I would try to plug it in via sdcard reader (usb disconnects for some reason), and right click on the drive and choose format. I think in the phone you can also go to Settings>Sdcard & Phone Storage> Format to format the card

Related

Partition and A2SD setup

I have been trying to set up A2SD for a while now but i cant set up a partition on my sd card.
So far i have got adb to work, but when i connect my g1 to my computer (and mount it) it automatically disconnects when i go into the disk management section.
(my sd card is an 8 gig and trying to set it up on CyanogenMod)
shockaj said:
I have been trying to set up A2SD for a while now but i cant set up a partition on my sd card.
So far i have got adb to work, but when i connect my g1 to my computer (and mount it) it automatically disconnects when i go into the disk management section.
(my sd card is an 8 gig and trying to set it up on CyanogenMod)
Click to expand...
Click to collapse
you can't format your card by mounting it to windows....
if you don't have a card reader, read this tutorial
http://forum.xda-developers.com/showthread.php?t=534714
it has instructions for a swap setup as well but modify it to not have one if you dont want it
Or you can go to the link in my sig. Its a different way of setting up your partitions through a linux live cd.
recovery console (i assume you have 7948 mb, you can verify using "print" after typing "parted /dev/block/mmcblk0) don't type stuff in < >
parted /dev/block/mmcblk0
rm 1 <removes fat32 partition, might want to backup data on this>
rm 2 <removes ext partition, backup apps if you want to (adb pull)>
rm 3 <removes 3rd partition, if existent>
mkpartfs primary fat32 0 7436
mkpartfs primary ext2 7436 7948
quit
upgrade_fs <converts ext2 - ext3>
reboot recovery
flash ROM if you want to...
thanks everyone i was looking for a guide just like these!
your help is much apperciated!

UNpartition my SD card: how do i do it?

hi
i partitioned my sd a while ago to get apps to sd (8G right down the middle) but now i want to format the ENTIRE sd card but my copm wont recognize the EXT part bc it will only show the fat32 portion; when i try to format that, it only clears the 4g not the full SD. how can i get the two parts back together to 8G?
Read this thread http://forum.xda-developers.com/showthread.php?t=534714 and stop after the rm 1 rm 2 part
CharonTheGreat said:
hi
i partitioned my sd a while ago to get apps to sd (8G right down the middle) but now i want to format the ENTIRE sd card but my copm wont recognize the EXT part bc it will only show the fat32 portion; when i try to format that, it only clears the 4g not the full SD. how can i get the two parts back together to 8G?
Click to expand...
Click to collapse
Your computer (windows I'm assuming) will never show ext partitions because it can't read them, they are linux filesystem partitions. Format the card in your phone, that should do it. Btw, a 4GB ext partition, are you nuts?!! Who has that many apps? and more to the point I dont think the netire market is 4GB big!!! All roms have issues with ext bigger than 1.5GB.
CharonTheGreat said:
hi
i partitioned my sd a while ago to get apps to sd (8G right down the middle) but now i want to format the ENTIRE sd card but my copm wont recognize the EXT part bc it will only show the fat32 portion; when i try to format that, it only clears the 4g not the full SD. how can i get the two parts back together to 8G?
Click to expand...
Click to collapse
Easiest way is to do so on your mobile phone. However I've noticed that in newer ROMs the option is greyed out. If that is the case for you, you can still format the SD card under windows using Paragon Partition Manager. I'm not 100% sure if you can use a low level formatter like the HP USB Format tool to do the job too, as its been a while since I've last cleared out such partitions.
Ok here you go do the following
reboot into recovery
enter console
press enter
type the following
Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1
rm 2
rm 3 (only if you have a swap partition)
mkpartfs primary fat32 0 3999
999 for 1GB
1999 for 2GB
3999 for 4GB
You get it... lol
Easiest way for windows is to download sdcard formatter
http://www.sdcard.org/consumers/formatter/eula/
Option 1.
Plug your phone in and go to My Computer, right click w.e drive your SD is on and click "Format"
Option2.
On your phone, rebooted into recovery type in.
su
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1 (removes fat32)
rm 2 (removes ext2/3)
rm 3 (removes swap partition)
quit
Click to expand...
Click to collapse
And follow other instructions if you wish to recreate them.
tinyaznboi said:
Option 1.
Plug your phone in and go to My Computer, right click w.e drive your SD is on and click "Format"
Click to expand...
Click to collapse
Windows will only the fat32 partition...
Edit: I'll just buy a new higher class sd card.
if u have Ra's latest recovery just go to partition and set ext to 0 and swap to 0 and it should make everything fat32
acejoker25000 said:
if u have Ra's latest recovery just go to partition and set ext to 0 and swap to 0 and it should make everything fat32
Click to expand...
Click to collapse
Thanks so much! I had the same problem, and this definitely helped.
CharonTheGreat said:
hi
i partitioned my sd a while ago to get apps to sd (8G right down the middle) but now i want to format the ENTIRE sd card but my copm wont recognize the EXT part bc it will only show the fat32 portion; when i try to format that, it only clears the 4g not the full SD. how can i get the two parts back together to 8G?
Click to expand...
Click to collapse
an easy way is in recovery mode to go to partition, then 0, 0, then rest.
acejoker25000 said:
if u have Ra's latest recovery just go to partition and set ext to 0 and swap to 0 and it should make everything fat32
Click to expand...
Click to collapse
hiddengopher said:
an easy way is in recovery mode to go to partition, then 0, 0, then rest.
Click to expand...
Click to collapse
+1 to this method!
If you want to do it from your windows machine, it's simple.
Right Click My Computer > Manage > Disk Management > Find your SD card in the list > It will show the ext partition, but for obvious reasons you can't navigate it > delete all the partitions > right click on unallocated space > Create new volume > enter the max, which will be like 7.9gb or something > Presto, you have your full sd card back.
tehseano said:
If you want to do it from your windows machine, it's simple.
Right Click My Computer > Manage > Disk Management > Find your SD card in the list > It will show the ext partition, but for obvious reasons you can't navigate it > delete all the partitions > right click on unallocated space > Create new volume > enter the max, which will be like 7.9gb or something > Presto, you have your full sd card back.
Click to expand...
Click to collapse
thanks alot. this is by far the easiest method. to be honest, i dont know what is the adb all about. everytime i see those commands i dont know what to do..
tinyaznboi said:
Option 1.
Plug your phone in and go to My Computer, right click w.e drive your SD is on and click "Format"
Option2.
On your phone, rebooted into recovery type in.
Code:
su
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1 (removes fat32)
rm 2 (removes ext2/3)
rm 3 (removes swap partition)
quit
And follow other instructions if you wish to recreate them.
Click to expand...
Click to collapse
That's great ... if the parted and print commands worked for me or I could actually access the console from the recovery menu ... UGH!
I used MiniTool Partition Wizard, I deleted all the partitions and then right clicked on the unallocated space, click create select fat32 make it primary, max out the size bar and click ok.
dood just go back to recovery on your device and go to partition sd card. than choose 0mb swap and 0 mb ext!! when its all done you will have your full 8g back
personally every other post seems so much more difficult than what i just said... lol i've done it many times i know it works man simple as that! just re partition everything to 0 lol
If i set it all do 0,0 do I have to wipe my card first? my desktop is an older computer with not that much memory to hold everything
no when you partition your sd card it formats it (wipes everything) so if you want to keep anything i suggest saving before you un-partition lol

Installed new SPL... SD card unreadable

Like the thread says. I have the newest Radio.. i had installed cyanogen 1.4 recovery then the newest rom by cyanogen... THEN i installed the danger SPL in hopes of going up to a hero rom... after the SPL is installed the phone is unable to check CM OS and tells me the SD card is blank and wont mount to my pc or format from the phone.... what do i do?
captnjagerbomb said:
Like the thread says. I have the newest Radio.. i had installed cyanogen 1.4 recovery then the newest rom by cyanogen... THEN i installed the danger SPL in hopes of going up to a hero rom... after the SPL is installed the phone is unable to check CM OS and tells me the SD card is blank and wont mount to my pc or format from the phone.... what do i do?
Click to expand...
Click to collapse
You can try to format it with it in a card reader on the pc or open up terminal and try to format it that way.
I don't have an sd case or whatever it is you slide the sd into. And what is terminal? I rooted through thr 1 click method
Terminal is the app that allows you to enter lines of command. If you loaded a custom rom it should be on there. If not you can go to the market and get it.
Sorry for the bad spelling I'm posting through the phone. Will I be better off buying a bigger micro sd card. Also is it safe to assume thr danger spl was installed or will I need to redo that...and if not do I just install the rom like normal with update.zip?
What is the command line I type in? I may try it while running errands
Well if you have the factory sd card then I would recomend you getting a new one. They have 8 gig class 6 cards on newegg for $14.99. As far as partitioning your sd card thru terminal here is the steps. I just copied and pasted this.
Partition your SD Card with EXT3 and Fat32 and Enable auto apps2sd
Note: This will erase everything on your SD Card!
1. Turn off your phone
2. Enter recovery by holding Home + Power
3. Scroll Down and press on Enter Console or press alt+x
4. Press enter
5. Type the following according to your sd card:
1 GB
Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1
rm 2
mkpartfs primary fat32 0 600
mkpartfs primary ext2 600 996
quit
upgrade_fs
reboot recovery
2 GB
Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1
rm 2
mkpartfs primary fat32 0 1500
mkpartfs primary ext2 1500 1996
quit
upgrade_fs
reboot recovery
4 GB
Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1
rm 2
mkpartfs primary fat32 0 3500
mkpartfs primary ext2 3500 3996
quit
upgrade_fs
reboot recovery
8 GB
Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1
rm 2
mkpartfs primary fat32 0 7500
mkpartfs primary ext2 7500 7948
quit
upgrade_fs
reboot recovery
16 GB
Code:
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with, the details should be straight forward)
rm 1
rm 2
mkpartfs primary fat32 0 15500
mkpartfs primary ext2 15500 15948
quit
upgrade_fs
reboot recovery
OWould a micro sd from sams club work? I only ask cause I have to run in there for a few things. How will I know what speed it is? And after I format/buy a new one what do I do?? Just stick it in and go or do I have to install anything onto it? Sorry for all the questions but I'm new. And by speed. I mean class
captnjagerbomb said:
OWould a micro sd from sams club work? I only ask cause I have to run in there for a few things. How will I know what speed it is? And after I format/buy a new one what do I do?? Just stick it in and go or do I have to install anything onto it? Sorry for all the questions but I'm new. And by speed. I mean class
Click to expand...
Click to collapse
Your cool, we all got to start somewhere. You really want to get a class 6 cause thats the fastest speed they have and if you run apps2sd or a hero rom you should be good to go. But if you have anything under you might experience a little lag. On the box and the card it will look like a little C with a number in it and whatever the number is, is what class the card is. If there is no number then most likely it is a class 2. And there's nothing wrong with getting a card at Sam's. Here's an example of a class 6.
http://www.newegg.com/Product/Product.aspx?Item=N82E16820211196
If you look real close you can see the c with the 6 in it, but on the card itself not the adapter. Once you get it you can format it and put it in and be good to go. If you have any problems let me know and I can walk you through. But to be honest if you get a new card partition it (fat32, ext3, and if you want linux-swap) and load a newer rom other than JF, I know you'll like that alot better.
Alright i got the new card...only a 4 gig but class 6. All i do now is follow the READ THIS etc. etc. guide for the hero rom to partition it and then download the rom and ill be good to go?
Or can i put the rom on there as update zip, then write the code in the console to partition my card, then wipe and run update.zip?

Sd card ... no reader on computer

Hey, I want to run hero rom. I already have my sd partition in 2 sections but the hero rom needs a third linux swap partition. On the bootloader screen there's a option to do it from the g1 but it will erase everything on the sd card. I don't have a sd card reader on my computer, so I need to use the g1 to read my sd card. Does anyone know how I could put the hero rom on my sd card after I format it from my g1? Thanks.
All the information you need could be found here http://forum.xda-developers.com/showthread.php?t=534479 .
you dont have to format the SD, just use (parted) and make the 3rd partition.
Reboot and enter recovery
Enter console
#parted /dev/block/mmcblk0
#print (to verfiy we know what size card we are dealing with, the details should be straight forward)
mkpartfs primary linux-swap 7700 7732 ................................................................................... this depends on what size of SD you have. (this is for 8G SD)
#print (to verify we have the 3 partitions)
Nasrat said:
All the information you need could be found here http://forum.xda-developers.com/showthread.php?t=534479 .
you dont have to format the SD, just use (parted) and make the 3rd partition.
Reboot and enter recovery
Enter console
#parted /dev/block/mmcblk0
#print (to verfiy we know what size card we are dealing with, the details should be straight forward)
mkpartfs primary linux-swap 7700 7732 ................................................................................... this depends on what size of SD you have. (this is for 8G SD)
#print (to verify we have the 3 partitions)
Click to expand...
Click to collapse
Thanks ... but how do I set the linux swap to 64mb?
depends on which recovery you are using. if you are using RA 1.2.2 it has the option to mount/unmount via usb. so you save the rom to the pc, boot into recovery, repartition, mount via usb copy the rom over, unmount, flash as usual.
Krazi Bluntz said:
Thanks ... but how do I set the linux swap to 64mb?
Click to expand...
Click to collapse
if your card ends at 7732, then
Code:
mkpartfs primary linux-swap 7668 7732
please read the instructions and understand what your doing first..... i would highly recommend you backup your FAT32 and EXT partitions and reformat the whole card

Need apps2sd help pls

i installed the latest cyanogen update. phone is running perfectly but cant get apps2sd run. it is there is my applications menu but i cant select it
i partitioned my memory card the way written in the qoute?
How to partition your SD card from console (This requires the cyanogen recovery 1.3.1)
Example for my 8GB card.
Reboot and enter recovery (home+power) then go to console. Enter the below pressing "enter" after each line.
parted /dev/block/mmcblk0
print (to verfiy we know what size card we are dealing with. Mine was 8166 read below if yours is different)
rm 1 (if you had more than 1 partition you would want to rm them as well)
mkpartfs primary fat32 0 7526
mkpartfs primary ext2 7526 8166
quit
upgrade_fs
recovery
if your card isn't 8166 when you type print then you will need to modify those numbers to match your card size. You basically work back to figure out the totals. To figure it out, start with your cards total size. For example 8166 total Subtract 128 for swap (8038) minus 512 for ext (7526) the rest will go to fat32. Each partition starts where the other left off.
Click to expand...
Click to collapse
what should be my next step? i tried most of the ways on xda and have failed pls help

Categories

Resources