I have made a custom kernel to mount an ext3/ext4 partition on the sdcard at the boot time.
to be able to use it:
-- you need an external sdcard: partitioned as follows:
- partition 1 (fat32) / for your storage needs
- partition 2 (ext3/ext4) / for program database
This implies that instead of making a symlink to the /dbdata directory, you will make a symlink to the ext3 partition on the sdcard.
Advantages:
-- you have the freedom of creating that partition for your needs ( mine is 1gb)
-- after applying the lag fix posted on the forum I still had that lagging after a while, but now my phone is flying
And here it is:
Prerequisites:
-- an external sd card partitioned in 2
-- the ext3 partition must be the 2nd one, otherwise this won't work, so Partition 1 ishould be fat32, and partition 2 ext3 or ext4
-- use gparted or paragon hard disk manager to make the partitions and format them (just google how to do this)
How to:
-- download the tar file attached to this post, this includes the modified kernel which supports ext3/ext4 and automounts the ext3/ext4 partition when you restart your phone
-- put the phone in download mode, just like updating the firmware
-- fire up Odin and attach the phone to the USB
-- choose only the PDA section and put the downloaded tar into there ( do NOT choose repartition or something else otherwise you will loose settings)
-- it should finish within 5 seconds and wait till the phone is booted
when booted (assuming you already have busybox)
adb shell
su -
busybox cp -rp /data/data /disk/
busybox mv /data/data /data/data.bak
busybox ln -s /disk/data /data/data
to fix market issues:
busybox mv /system/media /disk/
busybox ln -s /disk/media /system/media
reboot
when booted you should see your 2nd partition of your external sdcard is mounted on /disk and your program database in residing in it.
If you do it like this you won't loose any personal data or settings.
Remember this does not depend on any specific firmware, so you are free to try it to on any firmware
If you want to try out the kernel with ext4 support I have attached it below. The same steps should be taken to mount the 2nd partition as ext4, but create the partition as ext4.
My personal experience and benchmark results are showing ext4 is faster than ext3. But ext3 is there for many years and ext4 is stable stated from kernel versions 2.6.3x.
Download v3 (ext3):
http://www.multiupload.com/5QAVQBU6GB
Download v4 (ext4):
http://www.multiupload.com/Z8TGXRRNCS
gr, Mimo from Holland
for the ones who like watching instead of reading Oblivia made some great video tutorials:
Part1: http://www.youtube.com/watch?v=a7fDBJOzQw8
Part2: http://www.youtube.com/watch?v=S26ny2UGBBU
to be able to use it:
-- you need an external sdcard: partitioned as follows:
- partition 1 (fat32) / for your storage needs
- partition 2 (ext3/ext4) / for program database
This implies that instead of making a symlink to the /dbdata directory, you will make a symlink to the ext3 partition on the sdcard.
Advantages:
-- you have the freedom of creating that partition for your needs ( mine is 1gb)
-- after applying the lag fix posted on the forum I still had that lagging after a while, but now my phone is flying
And here it is:
Prerequisites:
-- an external sd card partitioned in 2
-- the ext3 partition must be the 2nd one, otherwise this won't work, so Partition 1 ishould be fat32, and partition 2 ext3 or ext4
-- use gparted or paragon hard disk manager to make the partitions and format them (just google how to do this)
How to:
-- download the tar file attached to this post, this includes the modified kernel which supports ext3/ext4 and automounts the ext3/ext4 partition when you restart your phone
-- put the phone in download mode, just like updating the firmware
-- fire up Odin and attach the phone to the USB
-- choose only the PDA section and put the downloaded tar into there ( do NOT choose repartition or something else otherwise you will loose settings)
-- it should finish within 5 seconds and wait till the phone is booted
when booted (assuming you already have busybox)
adb shell
su -
busybox cp -rp /data/data /disk/
busybox mv /data/data /data/data.bak
busybox ln -s /disk/data /data/data
to fix market issues:
busybox mv /system/media /disk/
busybox ln -s /disk/media /system/media
reboot
when booted you should see your 2nd partition of your external sdcard is mounted on /disk and your program database in residing in it.
If you do it like this you won't loose any personal data or settings.
Remember this does not depend on any specific firmware, so you are free to try it to on any firmware
If you want to try out the kernel with ext4 support I have attached it below. The same steps should be taken to mount the 2nd partition as ext4, but create the partition as ext4.
My personal experience and benchmark results are showing ext4 is faster than ext3. But ext3 is there for many years and ext4 is stable stated from kernel versions 2.6.3x.
Download v3 (ext3):
http://www.multiupload.com/5QAVQBU6GB
Download v4 (ext4):
http://www.multiupload.com/Z8TGXRRNCS
gr, Mimo from Holland
for the ones who like watching instead of reading Oblivia made some great video tutorials:
Part1: http://www.youtube.com/watch?v=a7fDBJOzQw8
Part2: http://www.youtube.com/watch?v=S26ny2UGBBU
Last edited: