[Galaxy S I9000 Android Development] tegrak:
This is another way to do lagfix based on XXJVP, XXJVO kernel.

You can simply change file system(RFS <-> EXT4) by clicking app's menu.

Supports I9000, M110S, M130K, M130L, M180S, M180L, YP-GB1 (Korea Galaxy S II, Galaxy S, Galaxy Tab, Galaxy Player models)

tegrak lagfix application has been downloaded over 200,000.

"andrewti" helped me to make this kernel for I9000. Thanks.

TEGRAK KERNEL META-Guide

made by Cypher_X and marcedli

http://xdaforums.com/showpost.php?p=15095234&postcount=1321

This guide helps you to understand how to use this kernel.

Thank you for great work!

TEGRAK KERNEL META-Guide Index

1. Tegrak Lagfix Guide

2. Tegrak Recovery Guide

3. Tegrak Overclock Guide

4. Error messages & Trouble Shooting (items will be added.)

Finally, TEGRAK kernel is included in Doc & Stefunel RomKitchen!!

Thanks very much, tricky103 and beta testers.

You can download TEGRAK kernel from RomKitchen Generator.

http://romkitchen.org/

UPDATE in build 29 2011-10-28 KST

fixed bugs when do rooting and un-rooting

minor bug fixes

UPDATE in build 27 2011-10-24 KST

changing su and Superuser app is available.

just put latest su and Superuser.apk into the /sdcard/tegrak/rooting folder.

(file names must be matched. case-sensitive.)

UPDATE in build 26 2011-07-03 KST

based on XXJVT kernel

fixed enabling & disabling rooting problems.

fixed a restoring bug.

UPDATE in build 25 2011-07-03 KST

based on XXJVQ and XXJVR kernel (leaked 2.3.4 kernel)

fixed custom boot animation problem.

UPDATE in build 24 2011-06-20 KST

based on XXJVP kernel (leaked 2.3.4 kernel)

adb shell enabled on Tegrak recovery mode

fixed "getprop" method problem at updater-script. it works now.

UPDATE in build 23 2011-06-03 KST

based on XXJVO kernel

based on XXJVP kernel (leaked 2.3.4 kernel)

fixed "reboot download mode" in Tegrak recovery

fixed "reboot recovery" in Tegrak recovery

adb shell with root permission enabled on 3e recovery

fixed invalid key codes in Tegrak recovery mode (at update1)

UPDATE in build 22 2011-06-02 KST

based on XXJVO

supports Gingerbread!

supports Voodoo sound v8

fixed a problem that WIFI can't turn on.

custom boot animation (put bootanimation.zip to /system/media/sanim.zip)

uninstalls "Superuser Elite" when you run "Disable rooting"

UPDATE in build 19 2011-04-01 KST

based on XWJS5

supports Voodoo sound v7

UPDATE in build 18 2011-03-30 KST

based on XWJS5

supports Voodoo sound v6

checks system partition size automatically for multiple devices (no meaning to users)

UPDATE in build 17 2011-02-23 KST

based on XWJS5

supports applying zip package (update.zip) beta.

-You can select zip files in /sdcard/tegrak/update folder.

-e.g /sdcard/tegrak/update/NeonGT-2.5.zip

UPDATE in build 16 update1 2011-02-12 KST

based on XWJS5

changed TEGRAK recovery mode waiting time 5 secs to 3 secs.

supports linux shell script in TEGRAK recovery menu - UPDATE. See details below.

fixed permission problem at TEGRAK recovery - UPDATE menu.

removed kernel scheduler tweak in hardcore's

UPDATE in build 15

based on XWJS5 (added)

based on XWJS3

supports Voodoo sound v4 (no FM RADIO settings)

fixed problem from "Enable Rooting" (crashed when old su data exists)

UPDATE in build 14

based on XWJS3

supports Voodoo sound v3 (no FM RADIO settings)

included hardcore's tweaks. very thanks to hardcore :)

support custom bootanimation. (bootanimation.zip in /system/media or /data/local)

UPDATE in build 13 update1

Fixed invalid model number in kernel. (It was M130K :-<)

rebuilt based on lastest kernel of XWJS3!

supports Voodoo sound v2 (no FM RADIO settings)

(Recording Preset may not work properly. Plz feedback about it.)

TEGRAK Kernel Features

Easy to use

Fastest tegrak onenand mode without any tweaks or OC

Custom recovery mode + Powerful backup & restoring

Simple rooting without reboot

Tegrak Kernel booting on M110S

[YOUTUBE]j4LrkkJwp3c[/YOUTUBE]

Tegrak Kernel booting on GalaxyTab M180S

http://www.youtube.com/watch?v=J_-jRo1IWtA

Tegrak Kernel: How to root?

[YOUTUBE]aG9Ue7-QR_w[/YOUTUBE]

DOWNLOAD

Tegrak-Kernel-Build-29-for-I9000-XXJVT.tar

Tegrak-Kernel-Build-27-for-I9000-XXJVT.tar

Tegrak-Kernel-Build-26-for-I9000-XXJVT.tar

Tegrak-Kernel-Build-26-for-I9000-XXJVS.tar

Tegrak-Kernel-Build-26-for-I9000-XXJVR.tar

Tegrak-Kernel-Build-25-for-I9000-XXJVR.tar

Thanks to

supercurio

I am very glad to work with his artwork. :) Thanks thanks thanks.

twitter.com/supercurio

Korean I9000 tester

andrewti(UK), Ciel(UK), esdur(FR)

## How to Install ##

1. If the downloaded file is zipped, unzip it. You can find a tar file.

2. Flash tegrak-kernel .tar file by using Odin PDA. You must install latest stock firm before.

3. Install "tegrak lagfix" application from Android Market.

then you can see boot screen below.

## Application Menus ##

1. Enable tegrak onenand mode

Fastest lagfix mode.

Swaps /data partition(mmcblk0p2) and /system partition(stl9), so onenand partition will be used for /data.

ext4 = /system, /data, /dbdata, /cache

Many Korean people love this mode.

Needs free spaces on /sdcard (internal sdcard) as much as used space on /system + /data + /dbdata.

If this mode is applied, available space of /data will be 270MB.

This video shows how it works. It's easy to apply. (update soon)

[YOUTUBE]3C64XRd9cCA[/YOUTUBE]

2. Enable tegrak lagifx (all)

ext4 = /system, /data, /dbdata, /cache (like Voodoo)

Need free spaces on /sdcard (internal sdcard) as much as using spaces /system + /data + /dbdata.

3. Enable tegrak lagfix

ext4 = /data, /dbdata

Need free spaces on /sdcard (internal sdcard) as much as using spaces /data + /dbdata.

4. Enable cache lagfix

ext4 = /cache

5. Enable system lagfix

ext4 = /system

Need free spaces on /sdcard (internal sdcard) as much as using spaces /system.

6. Disable tegrak lagfix (all)

It formats all partions to RFS.

rfs = /system, /data, /dbdata, /cache

7. Disable tegrak lagfix

It formats /data, /dbdata to RFS.

rfs = /data, /dbdata

8. Disable cache lagfix

/cache to RFS

rfs = /cache

9. Enable rooting

Rooting takes 0.5 second.

need any explanation?

10. Disable rooting

in 0.5 second.

## tegrak recovery mode ##

You can enter tegrak recovery mode by clicking HOME button on boot time.

1. UPDATE from internal sdcard

/sdcard/tegrak/update/00 ~ 05

Runs shell script in /sdcard/tegrak/update/00~05 (added in build 16)

Script file name must be "update.sh"

Sample code

/sdcard/tegrak/update/00/update.sh

#!/system/bin/sh
chown root.root /system/xbin/busybox
echo "line1"
echo "line2"
echo "line3"
exit 0

2. UPDATE from external sdcard

/sdcard/external_sd/tegrak/update/00~05

Runs shell script in /sdcard/external_sd/tegrak/update/00~05 (added in build 16)

3. RESTORE /data, /dbdata

You can restore whole your apps and data from /sdcard/tegrak/backup/data.bak and dbdata.bak.

These backup files are automatically made by kernel when doing lagfix or undoing lagfix.

4. BAKCUP /data, /dbdata

Makes backups of /data and /dbdata. These can be restored by "RESTORE".

5. RESTORE /system

6. BACKUP /system

7. REBOOT: stock recovery mode

8. REBOOT: download mode

9. wipe cache

10. wipe dalvik-cache

11. wipe init.d

TEGRAK status diagram on each mode

Stock device status

status of no lagfixed device.

TEGRAK lagfix (all) status

all RFS partitions changed to ext4.

TEGRAK OneNAND mode status

swapped system area and program data memory.

TEGRAK 2x mode status

CANCELED! (eats too much cpu resource!)

testing on my device.

It's not ready to release. Doc's beta team will get beta first. No plan about release date.

my personal result (not reliable)

Benchmark

OneNAND mode > 2x mode >= lagfix > stock

Battery consumption

2x mode > OneNAND mode, lagfix >= stock

Softness improvements

2x mode > OneNAND mode > lagifx > stock

Boot speed improvements

2x mode = OneNAND mode > lagfix > stock

Program data memory space

lagfix(1.8G) = stock(1.8G) > 2x mode(600MB) > OneNAND mode(300MB)

## Additional ##

Kernel includes some utils in /tegrak/bin mkfs.ext4, e2fsck, tune2fs, busybox(1.13.1), su

Executes all files in /system/etc/init.d on boot.

If yor are a lagfix master, there is no need to ask because this is very simple.

R u looking for a fresh lagfix? TRY IT!

Contact me on private message or twitter (@tegrak)