[Galaxy S I9000 Android Development] dkcldark:
Hmm

sorry guys. by now, I'm going to stop fixing this, sigh, I'm not good enough to fix this at the moment.

Can not garantee you the safety of this method but hopefully, the fantastic voodoo lagfix is coming.

Let's hope to see it soon!

I'll leave the update.zip here, if anyone who is intersted in this method, feel free.

FILE LINK :

http://www.multiupload.com/DU013PW7LW

Hi

I have made an update.zip which fixes I9000's lag.

The idea is to format the /data partition, which is the same as /dev/block/mmcblk0p2, to the EXT4 or NILFS2 File Systems.

It's worth because, at least, we don't need an external MicroSD card.

### Before getting started... ###

This method can damage your phone, so you should know what you are attempting to do. All risks are on your own. Also, I strongly recommend you to have a nandroid backup.

### It contains... ###

- absolutely pure JM2 kernel but a tiny modification of the ramdisk. It's from JM2 firmware but should be working on every ECLAIR devices. This kernel helps mounting the data partition to be mounted in every booting and the reason why this is nearly identical to the stock is because some people mind using user-built kernels for some reasons.

- an application called "sl4a" which has shell scripts inside named "EXT4_Lagfix.sh", "NILFS2_Lagfix.sh" and "Openvpn.sh".

※It will install the kernel in the process of applying update.zip so you don't need the Odin.

### More information about this kernel... ###

- As I said, the only thing I've modified is the ramdisk. In details, I've put two files, user_init.sh and user_early_init.sh which are from Unhelpful's kernel, and these files are essential for mounting the /data partition.

- The kernel is almost pure, so it uses modules.

- The user_init.sh, user_early_init.sh support user scripts are very useful. You can see the idea in below thread, OP of Unhelpful.

http://xdaforums.com/showthread.php?t=762171

### About the scripts... ###

- If you touch the EXT4_Lagfix.sh script or NILFS2_Lagfix.sh, it will ask you a superuser permission, back up the entire /data folder in your /sdcard directory, and finally, reboot and do the rest works automatically.

- You can go over to the other file system whenever you want, for instance, it can be changed to the nilfs2 while you are using the ext4 FS.

- There also is a script called Openvpn.sh which will insert tun.ko module and this is for the people who want to use openvpn.

### What you need to do is... ###

- Needs busybox installed and rooted

- Make enough space in /sdcard to make the backing up process work properly.

- In order to use NILFS2 FS, a bit of studying is needed.

About nilfs2 binaries and the Gabage Collector.

go to this site

http://www.nilfs.org/

### What I want to say is...###

- I'm not actually a goot developer so the scripts must be very messy. But it works well, at least with my device. :D

- Unfortunately, I haven't got the going-back-to-rfs script. I'm working on it recently so if you want to restore the all fixes, you need to flash the firmware.

- Quadrant scores : NILFS2 ~ around 1300

EXT4 ~ around 1700

Do you really concern about the score? I don't. The NILFS2 is exactly what I've needed.

### What I MUST say is... ###

- Big thanks to these people!

## Tayutama -- the beautiful sl4a application is from his rom!

## Unhelpful -- used his idea to mount the /data partition. And the NILFS2 as well!

## supercurio -- He's the one who found how to flash kernels from the phone!

Also, I uploaded some useful utils.

- mkyaffs2image / unyaffs

- chcp / lscp / lssu / mkcp / rmcp

Hope this will help you guys.