[Vibrant Android Development] ttabbal:
OK, I'm going to stop polluting other threads with my stuff. :D

This should help make sure I can keep up on the discussions and provide support for people trying to use my ZIPs and/or scripts.

NOTE: This version requires JACs kernel and init.d mods. Flash his stuff, then flash mine. All this will be integrated at some point and any other dev is welcome to integrate my stuff with theirs.

In addition to the JAC kernel, you need an ext partition on the EXTERNAL SD card. DO NOT USE ROM MANAGER TO PARTITION. You will get into a boot loop and will have to Odin back to stock. For partitioning, you may use "adb shell" in clockwork recovery, an old G1/Mytouch with Amon-Ra/Clockwork, a computer with a card reader and GPartd, Paragon, etc.. If you do it with fdisk, don't forget to format the partitions, here are some sample commands.

This will format an ext2 partition.

/system/bin/mke2fs /dev/block/mmcblk1p2

Convert from ext2 to ext3

/system/bin/tune2fs -j /dev/block/mmcblk1p2

Convert ext3 to ext4

/system/bin/tune2fs -O extents,uninit_bg,dir_index /dev/block/mmcblk1p2

fsck, any ext version. Do this when you are done converting between types.

/system/bin/e2fsck -fpDC0 /dev/block/mmcblk1p2

For all of the above, make sure the partition isn't mounted with "mount". You also have to have already flashed either this ZIP, or my e2fsprogs-ext4 ZIP for the files to be installed in /system/bin.

This version will clean up older versions that I know about. It will remove any use of the playlogos hack, and the older version of my script that JAC included in his kernel.

Quadrant - 1722. I have also not seen any lag from this change. I've tried some apps that make heavy use of the database, and so far it's performing quite well. If you do see problems, I suggest fsck on the ext partition, and perhaps formatting it, to ensure it's nice and clean.

Please note that benchmark results will vary based on a large number of factors beyond my control. Try with a clean phone, no background apps. A faster SD card will help as well. I am using an older Transcend 8GB Class 6 that I used to use on my G1. It doesn't help that the free Quadrant tests lots of stuff, not just activity on /data/data and such.

To see if it's working, open a shell and type "mount". You should see entries like this:

/dev/block/mmcblk1p2 on /sd-ext type ext4 (rw,noatime,nodiratime,barrier=1,data=ordered)
/dev/block/mmcblk1p2 on /data/dalvik-cache type ext4 (rw,noatime,nodiratime,barrier=1,data=ordered)
/dev/block/mmcblk1p2 on /data/data type ext4 (rw,noatime,nodiratime,barrier=1,data=ordered)

Added data-only ZIP and the disable/revert ZIP.

Added auto-partition ZIP to create 1GB ext3 partition automatically. Note that this will delete ALL SD contents.

Added old-style enable-dc2sd for users of the auto-partition script. Do not use for JAC kernels, use the current dc2sd instead.

Changelog:

8/9/2010: Added loopback style version, should find prior versions and remove them, copying your data from the /sd-ext partition.

v2.

Compatibility fix for JAC -6 kernel.

v1.

Added e2fsprogs w/ext4 support to the ZIP

Better integration with init.d layout

On boot fsck to ensure that the ext partition is kept clean

Automatically copy files if /data has larger directories than /sd-ext