ext2 partitions on SD card - Touch CDMA Android Development

I'm running Android on an SD card booting from Win mobile with haret.
I've seen people putting 2 additional ext2 partitions (sys and data) on the micro SD card instead of a single large fat32 one.
Can anyone explain the advantages of doing this? Is the system response much faster with this configuration?

Its faster because ext2 is a native linux fs so they acess it faster. Its nearly as fast as nand. I personally make one 256 for system and put data on nand. My card is class 6. If you're running on anything under class 4, it won't make much difference.

Related

1 fried SD card - A2SD

First of all, I normally don't post new threads. I've been using this site for a long time, and have always found the answers I need by simply searching and reading. I have searched, and read a lot, but have not found answers that I believe will help my specific problem. So here goes, thank you.
I am running CyanogenMod-4.0.4. I had A2SD set up on a 16GB micro SD card, using the sdparted utility. Everything worked perfectly for about 2 weeks, then my phone suddenly froze up. Pulled the battery, but it would not boot past the "T-Mobile G1" screen. I removed the SD card and everything was fine. I tried to repartition the card using both Mac Disk Utility and Gparted, then tried to set up a new partition table, but I got a corrupted filesystem error each time. That's old news, I've wiped my phone and found a new card, so now I need to know if I can safely set up A2SD.
The card is a 16GB Sandisk micro SD card - class 2.
I've done some reading suggesting that I do not need a linux-swap partition. Can I do this with just a Fat32 and ext3/4 partitions? Or because the card is class 2, do I need the swap?
Thanks again.
Swap is for the OS, not applications on the sd card. The only reason I use swap is for Hero, I have yet to go back to a donut filled cupcake rom with it on.
A2SD is pretty safe for the card, it's swap that you take the risk of shortening the lifespan of the card.
I assume you have cyan's recovery image, you should try to partition the card with parted instead of a computer utility. I really don't think a2sd is the reason for the card failure.
Your old card should still be under warranty.
I've done some reading suggesting that I do not need a linux-swap partition. Can I do this with just a Fat32 and ext3/4 partitions? Or because the card is class 2, do I need the swap?
Click to expand...
Click to collapse
Swap is not related to apps2sd, they are completely separate entities. "because the card is class 2" swap probably isn't a good idea, since it will likely be slow.
Apps2sd isn't particularly taxing to the SD card, particularly with ext2, writes are most damaging to a flash device.
Awesome. Thanks for the quick reply guys. I think I'll go ahead and use the sdparted utility to set up a partition for my apps, but leave off the swap.
Thanks again.

Change of SD card

Hey guys, currently i'm using a 1gb sd card with cyan rom installed to my htc dream phone.
If I want to change to a higher capacity sd card, how should i go about doing it? In terms of the applications and stuffs?
Do you have your sdcard partitioned in any way? if its only a fat32 formatted card, you can simply format the new one fat32 and copy all files from the old card to the new. If you have it partitioned, match the smaller partitions on the new card (match sizes of ext 2/3/3 and linux swap if you have one and copy files accordingly) and copy old fat32 stored files onto new one (the fat32 partition size difference should not effect anything). I've tried this myself a few months back upgrading from a 4gb class 4 to an 8gb class 6 and I had no issues. Just be sure both cards were partitioned with the same program if you are using linux [I run Ubuntu], otherwise you may run into admin permission problems
Mine is formatted in the way in this site: http://wiki.cyanogenmod.com/index.php/Full_Update_Guide_-_G1/Dream/Magic32B_Firmware_to_CyanogenMod
So how should I go about doing it?

Need help with class 10 32GB MicroSD

So I got myself a class 10 MicroSD from newegg from the company called Patriot (reviews for all their products say its a good company)
NewEgg page with item
In any case I figured 99$ isnt too bad. So I got the memory card today and sure enough computer has no issues reading it.Speeds are great and no bad reads or writes
So Im trying to set it up with ext3 etc and nothing seems to be working. So in any case I reformatted everything to fat32 on my PC and the phone isn't even detecting the memory card.
I was under the impression 32GB microsd should be ok. I hope this isnt a compatibility issue. Anyone else have thoughts in this?
Tried partition magic, default disk management application on xp also tried MiniTool Partition Wizard and no luck. At this point I just want the phone to detect the memory card to I can format it from the phone and then do the ext3 either from CW or Amon
Anyone? Is changing the drive letter on a computer going to change anything?
I heard that FAT32 does not support 32GB partition very well.. also some card readers have problem with reading a 32GB shdc card.
Try to make a 10GB Fat32 partition on your SD card and leave remaining space free, see if your phone can use it.
houzuoguo said:
I heard that FAT32 does not support 32GB partition very well.. also some card readers have problem with reading a 32GB shdc card.
Try to make a 10GB Fat32 partition on your SD card and leave remaining space free, see if your phone can use it.
Click to expand...
Click to collapse
Thanks ill give it a try but no point in a 32gig card if cant use most of it on the phone. Dont need most of the card as ext3 lol
Working fine here. I used Acronis True Image to clone the card the first go around, but didn't like how it setup the card. Then used Acronis Disk Director to reconfigure a 31gb FAT & 1gb ext3. You can use Amon_RA Recovery to setup the card too. I did do that too, but I already have Disk Director to give me the gui view of what's going on.
Cannot get EXT3 partition to work on Desire
I'm also having issues getting the ext3 partition of the Kingston 32GB micro sdhc card to work with my desire.
I used GParted to create a large fat32 partition and also created a 1GB ext3 partition, but when i reboot the handset i get an error meesage on the desire telling me that the sd card is damaged and that i need to format. When i go back into GParted the FAT32 partition looks healthy but ext3 partition comes up as unallocated.
This method has worked fine with an 2 and 8GB micro sd but it seems to have issues when using the 32GB.
I've also tried using rom manager to create a 512MB ext3 partition but that just causes the phone to sit on on the boot up screen.
If anyone is experiencing the same/similar problem, please let me know how you tackled it.
Try to use Amon_RA's recovery and reformat your SD card with it.
Gparted seems to be the best tool to use.
Hi,
Same problem with a Patriot MicroSD 32GB Class10.
Attempt to partition MicroSD with :
-Gparted
-Minitool Partition Wizard Home
-CWM (HD2)
Partitions are always destroyed or strange modified so Android can't read FAT32 partition.
No problems with a Sandisk 32GB Class 2.
Ok i worked out what this issue was.
Unfortunantly i've purchased a counterfeit Kingston MicroSD.
Kingston confirmed that it was a fake after i send them pics so that explains everything.
Thanks for the feedback guys.
The reviews seem mixed on the Patriot
I like sdformatter--thorough job--make sure settings are as recommended

[Q] Upgrading from 16GB microsd to 32GB card help

I'm currently using the stock 16GB card that came with my Telus Milestone. I just ordered a 32GB class 10 card to replace it. I'm using EXT2 on CM7, so I've got a Fat32 partition and an EXT2 partition.
What's the best way to get all my data on all partitions over seamlessly and easily? Can Norton GHOST or Acronis access the cards and do a clone from 1 to the other, as if they were regular harddrives? (using USB card readers)
Any advice would be appreciated!
rcummings100 said:
I'm currently using the stock 16GB card that came with my Telus Milestone. I just ordered a 32GB class 10 card to replace it. I'm using EXT2 on CM7, so I've got a Fat32 partition and an EXT2 partition.
What's the best way to get all my data on all partitions over seamlessly and easily? Can Norton GHOST or Acronis access the cards and do a clone from 1 to the other, as if they were regular harddrives? (using USB card readers)
Any advice would be appreciated!
Click to expand...
Click to collapse
Yeh norton ghost worked fine for my 8gb with fat32 and ext2 partitions to a new 16gb card.....
Ghost didn't work for me. It simply wouldn't see either card, using a multitude of card readers.
I ended up partitioning the card manually using Minitool partition wizard. I needed a FAT32 partition and EXT2 partition. I then created a nandroid backup of the phone which included the ext2 partition and copied everything from the old card's fat32 over to the new card manually on my windows machine with robocopy. Popped the new card into the phone and immediately restored the nandroid backup before the phone could boot.
Worked like a charm, though annoying. I really wish Ghost would have worked!
And I'm an idiot: partition wizard has an option to do exactly what ghost does: copy the entire disc, and resize whatever partitions you needed.
I just did that on a second card and it was a lot easier than the first time around...not that the first time was difficult

[Q] How to install two android builds?

Hello,
Is there any possibility to run two different android builds on one phone and making it actaully work? Today I am running only an NAND build, but I also want to run an android build from my sd card so I can experiment. I have tried to partition my sd card several ways, but it doesn't seem to work.
I have partitioned a sd card of 2 gb into 1gb of FAT (ubuntu doesn't offer the ability to format into the FAT32 format), 800mb of EXT2 and 100 mb of Linux Swap. And I placed the build I wanted to install (Scooter's Cyanoenmod 7.1) into an andboot folder on the 1 gb FAT partition. But still no succes so what am I doing wrong?
*Also how does one actually switch between the sd card installed and NAND installed android builds?*
set the sd partitions for system and data in atools.
Create 3 partition on sd:
- fat32
- ext3
- ext3
flash the new nbh and then reinstall the new rom.

Categories

Resources