[Galaxy S II I9100G Android Development] Ryuinferno:
Blazing Kernel v16​

**Note: Those coming from older versions and has dual booted, you must extract and place the whole "system/lib/modules" folder from the kernel zip package into /sdcard/SDRoms/update, so it will be like this: /sdcard/SDRoms/update/system/lib/modules. Just reboot and everything will be fine! ;)

Standard disclaimer from CyanogenMod:

#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/

Oh yeah!!! I finally made it! A kernel similar to Siyah kernel! You can use this on AOSP 4.2.2 ROMs or stock Sammy 4.1.2 ROMs, it will work in both! Plus, using a similar dual booting method like what [MENTION=3264556]fuss132[/MENTION] did, you can now dual boot stock+stock, AOSP+AOSP or stock+AOSP!

Features:

** Most of my kernel features can be controlled using Trickster Mod Kernel Settings

- Can be flashed directly using stock recovery!

- Supports DUAL BOOTING

- Compiled using CM source

- Compiled using Linaro toolchain 4.7.4 by me! (optimised for Cortex-A9 architecture by me)

- Linux kernel version 3.0.98

- 3 versions of recovery available (different zImage): Philz, TWRP and CWM!

- Modified CWM to support /preload partition and gesture control: https://github.com/Ryuinferno/android_bootable_recovery

- Default scheduler is cfq

- Default governor is interactive

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

- Supports CIFS

- Supports NFS

- USB fast charge

- Custom voltage settings

- Frandom support!

- Patched /dev/random

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

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

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

- swap support

- zRAM support

- exFAT module support

- Dynamic Fsync

- Dynamic Dirty Page Writeback

- Battery Life eXtender (BLX)

- CK3 tweaks

- Timer slack

- Dynamic timer slack control

- Miscellaneous tweaks

Stock only features:

~ Custom bootanimation (just place bootanimtion.zip in /system/media; to restore original bootanimation, just delete the bootanimtion.zip in /system/media) [AOSP already has this]

~ 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)

~ Init.d scripts support (Place scripts in /system/etc/init.d or /data/etc/init.d) [AOSP already has this]​

Bugs:

** These bugs in AOSP are a compromise to get the kernel working, the code used for vibrations and touchkey lights are completely different, until I become a sensei in C, it can't be fixed for now

AOSP 4.2.2

- Cannot control vibration intensity

- Cannot control touchkey light duration or turn on/off

AOSP 4.3:

- Cannot control vibration intensity

- Slim ROM: Cannot control touchkey lights because Slim is still using old method for now

Stock:

- Cannot control touchkey light duration or turn on/off Solved​

Requirements:

- Running a stock 4.1.2 Samsung ROM or stock 4.1.2 based ROM

- Running a AOSP 4.2.2 ROM

- Running a AOSP 4.3 ROM

- At least 3 GB in internal storage if you want to dual boot​

Instructions:

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

1. Choose your recovery type: CWM6 or TWRP.

2. Download the corresponding zip package.

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

4. Flash the zip.

5. Reboot. It may take a little while as the kernel has lots of things to configure.​

NOTE:

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

Downloads:

Dual Boot Setup:

Terminal Emulator (Play Store link)

Terminal Emulator (Direct APK link)

DualBoot_BL_v3.apk

v16:

Blazing_Kernel_v16_CWM6_MOD.zip

Blazing_Kernel_v16_TWRP.zip

Blazing_Kernel_v16_PHILZ.zip

v15:

Blazing_Kernel_v15_CWM6_MOD.zip

Blazing_Kernel_v15_TWRP.zip

Blazing_Kernel_v15_PHILZ.zip

v12:

Blazing_Kernel_v12_CWM6_MOD.zip

Blazing_Kernel_v12_TWRP.zip

Blazing_Kernel_v12_PHILZ.zip

v11:

Blazing_Kernel_v11_CWM6_MOD (old).zip

Blazing_Kernel_v11_CWM6_MOD.zip

Blazing_Kernel_v11_TWRP.zip

Blazing_Kernel_v11_PHILZ (old).zip

Blazing_Kernel_v11_PHILZ.zip

v10:

Blazing_Kernel_v10_CWM6_MOD.zip

Blazing_Kernel_v10_TWRP.zip

v9:

Blazing_Kernel_v9_CWM6_MOD.zip

Blazing_Kernel_v9_TWRP.zip​

Thanks to:

[MENTION=3208754]codeworkx[/MENTION]

[MENTION=3264556]fuss132[/MENTION]

[MENTION=1209239]chuandinh[/MENTION]

[MENTION=3876177]superatmos[/MENTION]

[MENTION=4209428]bluefa1con[/MENTION]

[MENTION=4666971]Phil3759[/MENTION]

[MENTION=4356900]mnazim[/MENTION]​

XDA:DevDB Information

Blazing Kernel v16, a Kernel for the Samsung Galaxy S II

Contributors

Ryuinferno

Kernel Special Features: Dual boot and various kernel optimisations!

Version Information

Status: Stable

Created 2013-07-07

Last Updated 2013-10-24