[Epic 4G Android Development] 1deviant:
Great idea Chainfire.

When a user first decided to use a modified/custom/different firmware on their Samsung Galaxy S, they usually go through these steps:

1. Flash with Odin/Kies

2. Flash update.zip for root

3. Flash other update.zip (GPS fix, battery mod, etc) as necessary

4. Do a lag fix.

It took me a few hours and reading through countless posts to see the pro's and con's for each lag fix.

I will try to go through them as succintly as possible, and if anyone needs more explanation you can either click the link or do a search.

Feel free to correct me, this is how I see the lagfix as when I applied and tested it

Before starting, here is the internal structure of non volatile memory (where data persist after reboots) in Samsung Galaxy S:

- 128MB of very fast NAND (some people incorrectly called this ROM)

- 16/8GB of internal SD with 2GB set aside for application installs (this is why you see your internal SD as either 13+ or 5+ remaining, the 2GB shows up as Internal Phone storage)

- your micro SD card (external SD)

The lag is due to the inefficiency of the file system used in the 2GB (/data) partition for applications, stalling a lot of the read/write operation. You can search this for further reading if you want to.

Lag fixes

- MoDaCo's lagfix: Better than stock on old F/Ws but about the same as JM1/2/5 and JP1/2/3

This lagfix uses the 128MB very fast NAND to store your applications instead.

Pro: very very fast applications opening/switching performance

Cons: You are limited to 128MB of apps including built in apps .

- Mimocan's lagfix: Significant improvements in performance which can also be benchmarked. Requires an external SDcard formatted partly in fat and partly ext3 or ext4.

This moves the /data files into the ext3/ext4 partition on an external microSD card

Pros: very fast, lots of storage space for apps

Cons: You will be unable to unmount your external SD card when the phone is on, and you need an external SD card for this to work

- OneClick Lagfix by RyanZA: Based on mimocan but using the internal SD card. Results are better than with basic mimocan and it is a lot easier to install.

This creates a file inside the 2GB partition that is mounted as /data.

Pros: very fast, lots of storage space for apps, easy to install and undo, available in the market.

Cons: if you install too many apps you won't be able to roll back the lag fix unless you delete some apps. Superseded by RyanZA lag fix 2.3 beta

Erroneous free space on Internal Phone storage (/data)

There are still stalls when installing apps, and when accessing android applications database

- CFLagFix by Chainfire: Based on mimocan, approximately the same as RyanZA's fix.

pretty much the same as OneClick Lagfix.

look above for Pros

Cons: There are still stalls when installing apps, and when accessing android applications database

-Voodoo lag fix by supercurio: a new class of total lag fix

Instead of creating a file inside the rfs partition and mounting it as /data/data, the voodoo lag fix updates the kernel so that the the 2GB partition is using ext4 instead or rfs. This gives the best possible lag fix.

Pros: fast, smooth, across everything you do. The way galaxy s should have been in the first place. The best and most consistent lag fix with no remaining lag left that is caused by rfs.

Support with other kernel mods are starting to show: backlight mod, OC/UV kernel

Cons: Incompatible with clockworkmod recovery

I am now using voodoo lagfix beta 4 only

http://project-voodoo.org/

Love the Vodoo color would like to try this as well...they are getting OUTRAGIOUS numbers in quadrant!:cool: