[Galaxy S II I9100G Android Development] Ryuinferno:
**You can choose between TWRP or CWM now!!! :D**

Blazing Kernel v8​

Yeah! As we all know, there are not many choices of kernels for our I9100G, especially stock kernels. Therefore, I decided to take up this challenge! After months of trials, hair-pulling moments and countless errors (and non-stop flashing too)...so now you have it: Blazing Kernel!

Features for v3 and above (JB):

- Can be flashed directly using stock recovery!

- Compiled using Samsung _CHN_JB_Opensource_Update1

- 2 versions of recovery available (different zImage): TWRP and CWM!

- Init.d scripts support (Place scripts in /system/etc/init.d or /data/etc/init.d)

- 3 versions of CWM recovery available (different zImage): CWM5, CWM6 and CWM5 Touch! (v4 onwards only supports CWM6)

- Default scheduler is cfq

- Default governor is interactive

- MMC_CAP_ERASE already disabled by Samsung -> no more brick bug

- Supports CIFS

- Merged the touch screen fix in CM 10.1 by ankitkv

- USB fast charge (use an app called "Fast Charge" to toggle)

- Custom voltage settings (use "Voltage Control" to set)

- Custom bootanimation (just place bootanimtion.zip in /system/media; to restore original bootanimation, just delete the bootanimtion.zip in /system/media)

- Custom boot sound (just place PowerOn.ogg in /system/media; to mute, create an empty file named "mute" in /system/media; to unmute, create an empty file named "unmute" in /system/media ; to restore original boot sound, create an empty file named "ori_sound" in /system/media

- Frandom support!

- Patched /dev/random

- Tweaked interactive governor to unleash its full power! :p

- More RAM (original=769 MB, Blazing Kernel=771MB)

- Additional governors: HYPER, Scary, wheatley, abyssplug, minmax, interactiveX, lulzactive, lazy, pegasusq, lagfree, smartassV2

- Addtional I/O schedulers: vr, sio, row

- Miscellaneous tweaks

- More to come!​

Features for v2 (ICS):

- Can be flashed directly using stock recovery!

- Compiled using Samsung Open Source Update 2

- 3 versions of CWM recovery available (different zImage): CWM5, CWM6 and CWM5 Touch!

- Default scheduler is noop

- Default governor is interactive

- Fixed 30 fps bug! (integrated the fix in BL ROM into the kernel)

- Disabled MMC_CAP_ERASE -> no more brick bug

- init.d scripts support (Just create a folder named "init.d" in /system/etc and insert your scripts in there)

- Custom bootanimation support (Place bootanimtion.zip in /system/media, if none is present, default Samsung bootanimation will run instead)

- Custom boot sound support (Place PowerOn.ogg in /system/media, make a file named "mute" to mute the boot sound, make a file named "ori_sound" in /system/media to restore original sound)

- Merged the touch screen fix in CM 10.1 by ankitkv

- Supports CIFS

- Custom user defined voltages (use apps like Voltage Control)

- RAM overclock! (From 400Mhz max to 533Mhz)(cannot be set, embedded in kernel)

- Miscellaneous tweaks​

Bugs:

For v3 and above:

- Currently none

For v2:

- Bluetooth is still not working in 4.0.4 ROMs (although the source code was updated)...hmm...yea...good job Sammy...:(​

Requirements:

- Running a stock or stock-based Samsung TouchWiz ICS/JB ROM​

Instructions:

Flash via stock or custom recovery (Safest and easiest method):

1. Choose your CWM version: CWM5, CWM6 or CWM5 Touch, v4 onwards only supports CWM6 and TWRP.

2. Download the corresponding zip package.

3. Place in sdcard (external sdcard for those running stock recovery)

4. Flash the zip.

5. Reboot.

**Note: From v6 onwards, ODIN flashable kernel will not be released anymore as external modules are required...which is only achievable via zip files...

Flash via ODIN (WARNING: Will increase binary count and warning triangle will appear):

1. Choose your CWM version: CWM5, CWM6 or CWM5 Touch, v4 onwards only supports CWM6.

2. Download the corresponding tar package.

3. Run ODIN and select the tar package under PDA

4. Start flashing.

5. Reboot.​

NOTE:

To those who still thinks that it is my kernel that causes the SOD, you are more than welcome to revert to the stock kernel. Steps as below:

1. Download stock_XXLSR_kernel.zip from here: http://bit.ly/XCEejd and place it into your external sdcard/internal sdcard.

2. Flash it and you will be back to stock kernel and recovery.

3. To flash stuff or do backups/restore, use this temporary CWM that was compiled by me: Temp_CWM6.zip. Since I compiled it using our device's kernel code, it should be more stable than the temporary touch recovery, and the labeling of partitions are correct too, plus it supports /preload...

To those who wanna provide logs, kindly refer to this post: http://xdaforums.com/showpost.php?p=39014273&postcount=201
​

Frandom

v6 and onwards supports frandom, which is a faster (10-50 times) random number generator than urandom...it generally decreases lag in GUI...if you are using CrossBreeder, it will automatically utilise it...if not, place this script in /etc/init.d and set permissions as rwxrwxrwx (name it whatever you want) and reboot:

#!/system/bin/sh
# Ryuinferno @ XDA

chmod 666 /dev/frandom
mv /dev/random /dev/random.ori
mv /dev/urandom /dev/urandom.ori
ln /dev/frandom /dev/random
ln /dev/frandom /dev/urandom

It is working if you have /dev/random.ori and /dev/urandom.ori after a reboot...to revert, just remove the script (or else, it will be applied on every boot)...​

Downloads:

For flashing via recovery:

Version 8:

Blazing_Kernel_v8_CWM6_MOD.zip

Blazing_Kernel_v8_TWRP.zip

Version 7:

Blazing_Kernel_v7_CWM6_MOD.zip

Blazing_Kernel_v7_TWRP.zip

Version 6:

Blazing_Kernel_v6_CWM6_MOD.zip

Blazing_Kernel_v6_TWRP.zip

Version 5:

Blazing_Kernel_v5_CWM6_MOD.zip

Version 4:

Blazing_Kernel_v4_CWM6_MOD.zip

Version 3:

Blazing_Kernel_v3_CWM5.zip

Blazing_Kernel_v3_CWM6.zip

Blazing_Kernel_v3_TOUCH.zip

Version 2:

Blazing_Kernel_v2_CWM5.zip

Blazing_Kernel_v2_CWM6.zip

Blazing_Kernel_v2_TOUCH.zip

Version 1:

Blazing_Kernel_v1_CWM5.zip

Blazing_Kernel_v1_CWM6.zip

Blazing_Kernel_v1_TOUCH.zip

For flashing via ODIN:

Version 5:

GT-I9100G_Blazing_Kernel_v5_CWM6_MOD.tar

Version 4:

GT-I9100G_Blazing_Kernel_v4_CWM6_MOD.tar

Version 3:

GT-I9100G_Blazing_Kernel_v3_CWM5.tar

GT-I9100G_Blazing_Kernel_v3_CWM6.tar

GT-I9100G_Blazing_Kernel_v3_TOUCH.tar

Version 2:

GT-I9100G_Blazing_Kernel_v2_CWM5.tar

GT-I9100G_Blazing_Kernel_v2_CWM6.tar

GT-I9100G_Blazing_Kernel_v2_TOUCH.tar

Version 1:

GT-I9100G_Blazing_Kernel_v1_CWM5.tar

GT-I9100G_Blazing_Kernel_v1_CWM6.tar

GT-I9100G_Blazing_Kernel_v1_TOUCH.tar

Thanks to them for their guidance: :D

superatmos

bluefa1con

codeworkx

Phil3759​

Enjoy guys! :D​