Just bought 2 - Class 6 - 8GB Transcend Micro SD Cards
Wanted to verify some things:
1.If i flash these (with different roms)
can i power off, swap SD cards, and load the other rom on the 2nd SD card?
2. For Running Hero on these , what is recommended for the SD Card partition? i get multiple answers on this reading through the forums, so far seen :
mkpartfs primary fat32 0 7500
mkpartfs primary ext2 7500 7948
mkparfs primary linux-swap numbers needed ??
Last line is what i need to know, how much for linux swap? need a solid number : /
Not 100%, and i am not interested in roasting a new card : /
[note i am familiar with flashing etc. running hero on the stock 2gb, just not sure what to do, wanted clarification]
Please help out =]
Appreciated !
mkpartfs primary fat32 0 7200
mkpartfs primary ext2 7200 7700
mkpartfs primary linux-swap 7700 7732
direct from jac's 8gb part
Markus214 said:
mkpartfs primary fat32 0 7200
mkpartfs primary ext2 7200 7700
mkpartfs primary linux-swap 7700 7732
direct from jac's 8gb part
Click to expand...
Click to collapse
Yeah, i seen that, but i'm not running jac's, and i see that he states DO NOT USE MORE THEN 32 MB , but i see this
"recommended setup:
fat32 partition
500mb ext3 partition
128mb of linux-swap partition"
from http://forum.xda-developers.com/showthread.php?t=575681
So ?
JsnLlnd said:
Yeah, i seen that, but i'm not running jac's, and i see that he states DO NOT USE MORE THEN 32 MB , but i see this
"recommended setup:
fat32 partition
500mb ext3 partition
128mb of linux-swap partition"
from http://forum.xda-developers.com/showthread.php?t=575681
So ?
Click to expand...
Click to collapse
I suggest using a larger swap space with Hero roms. I personally use 96 and it works fine with both Hero roms and Cyanogen's roms.
Related
I have been using sdparted.txt but it also makes a swap. I just want fat32/ext4.
How do I create that from the G1 not from adb?
In recovery console:
Parted /dev/block/mmcblk0
Print
Rm1
Rm2
Rm3
Mkpartfs primary fat32 0 3464
Mkpartfs primary ext2 3464 3964
Print (to confirm all went through)
Or u can just remove the linux swap follow the 1st 2 lines and type rm3 then enter and print to make sure it was deleted. Also i have here a 500mb ext. You can adjust it to ur liking. And if u do repartition from the begining udgrade ur filesystem manualy to ext4
Thanks! Yes I have all his stuff
I have a 4gb sd and 8gb.
Well i went by ur sig and used the 4 gig if thats fine
Of course that would be great, I plan to get and 8gb card soon, so I thought I might ask for the code.
Well thanks for trying, but I never could figure it out. Instead I took the sdparted.txt script and set swap to 0. Ran it and have Fat32 and 512 ext4.
ok i have installed the ra recovery v1.2.3 from the dev forum and have partitioned my sd card usingthe utility that came with it.only thing is i still dont understand how to set the swap file size.can somebody please explain how.i have searched around already.this is a lot to take in.
You searched, but the post on partitioning your sd card is at the top of this section...
evilkorn said:
You searched, but the post on partitioning your sd card is at the top of this section...
Click to expand...
Click to collapse
yeah man i read. i dont want to have to download and install all those requirements listed.there has to be another way.also i did breeze through the thread and didnt see any mention on setting swap file size.
8255daw said:
yeah man i read. i dont want to have to download and install all those requirements listed.there has to be another way.also i did breeze through the thread and didnt see any mention on setting swap file size.
Click to expand...
Click to collapse
Umm... The swap file size is the same size as your linux-swap partition...
sorry for being such a noob.the utility that came with the ra recovery sets it automatic to 36mb.i dont see where i can change it.
To format card SD card with linux-swap WARNING!!! this will reformat you entire SD card!!
You can use the recovery console and parted to format SDcards with 1.31 folks, no more going through hassles you have the tools on you G1!...here is an example of how to do this in recovery console using parted. DO NOT USE MORE THAN 32MB SWAP!!!
Example for 8GB card (this example plays it safe and will leave a small amount leftover regardless of the 8GB card)
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)
rm 1
rm 2
mkpartfs primary fat32 0 7200
mkpartfs primary ext2 7200 7700
mkpartfs primary linux-swap 7700 7732
#print (to verify we have the 3 partitions)
Example for my 4GB card
#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 3420
mkpartfs primary ext2 3420 3932
mkpartfs primary linux-swap 3932-3964
Example for a 2GB card playing it safe
#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 1200
mkpartfs primary ext2 1200 1700
mkpartfs primary linux-swap 1700-1732
"End?" you need to place the last value for the linux swap eg.3964 for my 4GB card
#print (to verify we have the 3 partitions)
Next we need to "quit" parted and upgrade our ext2 partition to ext3
#upgrade_fs
Swap value is set to 30 currently, you can change this by modifying the "echo" value for swappiness in the a2sd.sh script
For a longer more detailed parted turorial read this
thank you sir...that is a thread i have read since joining here but i have not stumbled across it since.thanks again.
Its under JACHero ROM thread fyi.
Ive got a rooted G1 and im running CyanongenMod 4.2.3.1 Ive got a 16gb class2 sd card and ive partitioned it it it with 14.5gb - Fat32 and 1gb ext2
Now i know thats not right and so i wanna fix it. What i really wanna do is :
a) Have all the partitions set at correct sizes
b) a swap partition
c) and an upgrade to ext3 or 4 whichever is better
As ive already got about 200 apps installed whats the best ways of backing them up and doing the above
Thanks in Advance
Thru console:
parted /dev/block/mmcblk0
print (verify what size your card is)
rm 1
mkpartfs primary fat32 0 15500
mkpartfs primary ext2 15500 15852
mkpartfs primary linux-swap 15852 15948
quit
upgrade_fs
reboot recovery
May want to reformat to fresh fat32 beforehand but up to you.The sizes above can vary depending on what size your card is but that is a base for 16gb and includes a 96mb swap. Press enter after each line.
Tons of ways to backup...on your PC or I use Astro to do so...but any file manager works
http://forum.xda-developers.com/showthread.php?t=534714
I have that lovely little tutorial bookmarked, I use it almost everyday ( I flash new roms and stuff everyday, I just don't know what to settle on )
I followed multiple tutorials on formating and partitioning my 4gb sdhc card with ext2 and linux-swap but when i put it into the G1 it only shows 13mb of space is there soemthing i missed?
felixm477 said:
I followed multiple tutorials on formating and partitioning my 4gb sdhc card with ext2 and linux-swap but when i put it into the G1 it only shows 13mb of space is there soemthing i missed?
Click to expand...
Click to collapse
Yup. You missed the Q&A forum for questions and answers. Don't worry, you're not the first and I doubt you'll be the last.
felixm477 said:
I followed multiple tutorials on formating and partitioning my 4gb sdhc card with ext2 and linux-swap but when i put it into the G1 it only shows 13mb of space is there soemthing i missed?
Click to expand...
Click to collapse
Try again. make sure you follow the steps in order though. It DOES make a difference which order you create the partitions. FAT32 FIRST!
followinginsanity said:
Try again. make sure you follow the steps in order though. It DOES make a difference which order you create the partitions. FAT32 FIRST!
Click to expand...
Click to collapse
yea i know i did it fat32,ext, then swap and i did print at the end and it showed all 3 partitions but the g1 only sees 13mb but in windows it will show the 3 gigs along with second drive letter that has no card.
my 4GB card
#parted /dev/block/mmcblk0
#print
rm 1
rm 2
rm 3
mkpartfs primary fat32 0 3420
mkpartfs primary ext2 3420 3836
mkpartfs primary linux-swap 3836 3964
Here dude use this script with step by step instructions. http://forum.xda-developers.com/showpost.php?p=4502330&postcount=9228. It has never failed me.
Ace42 said:
my 4GB card
#parted /dev/block/mmcblk0
#print
rm 1
rm 2
rm 3
mkpartfs primary fat32 0 3420
mkpartfs primary ext2 3420 3836
mkpartfs primary linux-swap 3836 3964
Click to expand...
Click to collapse
same as mine still nothing
my best guess is that you're reading "Internal Phone Storage" in Settings>SD Card & Phone storage, which refers to the space free in /data (it's not memory, having more available won't make your phone faster, it's not sdcard storage, it's not ext storage, etc).
Look instead in SD Card "Total Space" and "Available Space" in Settings> SD Card & Phone Storage, that's the amount you have free for fat32.
my best guess is that you're reading "Internal Phone Storage" in Settings>SD Card & Phone storage, which refers to the space free in /data (it's not memory, having more available won't make your phone faster, it's not sdcard storage, it's not ext storage, etc).
Look instead in SD Card "Total Space" and "Available Space" in Settings> SD Card & Phone Storage, that's the amount you have free for fat32.
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?