Sd card ... no reader on computer - G1 Q&A, Help & Troubleshooting

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

Related

How to partition the SD card for CyanogenMod

How to partition the SD card for CyanogenMod? make it into 2?
Here is a how to link http://forum.xda-developers.com/showthread.php?t=535232
yeah but the guide says to download a app for apps2sd and the thread for CyanogenMod says not too. Confused ;p
Read threw the whole thing, you will load apps2sd but then you will do a wipe and load cyangen again with apps2sd installed in the rom. The reason cyanogen says not to have apps2sd is because its already in the mod. So you will use it to partition then wipe it then reintall it with cyanogen
It helps to use the SEARCH
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 8038
mkpartfs primary linux-swap 8038 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.
http://forum.xda-developers.com/showthread.php?t=533731

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!

Problem Partitioning New Card

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

I got a CLASS 6 card, i have a few questions

hey guys so i now have the coremicro class 6 card. I am wondering what the steps are to get my card up and running. I tryed to boot with the card in but it seemed to just stay blank screened after boot. Should i create an ext3 first thing? should i first copy the entire mountable section first?
ANY answers would be great.
Is it Partitioned?
just got it, its fresh, i guess ill create ext3 first then.
I dont know how big an sd card you have, your recovery or what you wanna do with it but Ima try to help..
go to recovery console-- press enter after each line..
for an 8 gb card
parted /dev/block/mmcblk0
rm 1
rm 2
rm 3
mkpartfs primary fat32 0 7524
mkpartfs primary ext2 7524 8036
mkpartfs primary linux-swap 8036 8100
quit
upgrade_fs
recovery
For a 4g card divide the numbers in half
thats with a medium swap and i half gig ext3 for your apps
If you have Amon_Ra's latest recovery then all you have to do is partition the SD and USB toggle to add a rom of your choice then simply flash.
i partitioned with recovery, i dont need to reflash rom as it is already flashed. I created the partition as ext3. For what purposes would i need it to be ext4?
also is there an app with which i can back up my apps (ext3 partition) from my old memcard to this new one?

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