Yippie! After I managed to create a true dual boot kernel, now I am finally able to unpack the ramdisk from a zImage to modify it (add custom recovery to it etc.) and repack it back! So there you have it [B]lazing Safe Stock Kernels (or B Safe Stock Kernels for short)!Standard disclaimer from CyanogenMod:
Code:#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. * */
- Pure stock kernel! (yup, straight from Samsung, only the ramdisk is modified and nothing else)
- Can be flashed through stock recovery
- CWM 18.104.22.168, TWRP 2.5 or Philz 5.08.5
- Both recoveries modified to support preload partition
- Init.d support
- Custom bootanimation support
- Custom boot sound support
1. What do you mean by a "safe" kernel?
- Since I only modified the ramdisk of the kernel, the kernel part is left intact, so it's all Samsung's settings! And Samsung should know best about the device (they made the phone anyway...or not? )! So things just work out of the box (exFAT support, SOD free (maybe? Lol) etc etc)...
2. How do you set custom bootanimation?
- Just place a bootanimtion.zip in /system/media
- To restore original bootanimation, just delete the bootanimtion.zip in /system/media
3. How do you set custom boot sounds?
- 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
4. Why is there a weird kernel version in Settings->About device?
- In custom kernels, the kernels are compiled with the verison name coded into it (e.g. -blazing-v10) and the second line shows who compiled it (e.g. ryuinferno @ Acer-Aspire-v3-571G)...since the kernel is pure stock, the version and compiler's name is set by Samsung...
5. I would like to have the kernel of the xxx firmware repacked, what should I do?
- Well, just tell me the Android verison and firmware version and upload the zImage here...I will do my magic then...just that simple...
6. I wanz OC, UV, everything else in custom kernalz in tis kernalz!!!!!
- It is just a stock kernel (yes, straight from Samsung, I just modified the ramdisk), so do not be silly and request stuff like OC, UV, fast charge etc etc which is impossible...
Flash via stock or custom recovery:
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.
[B]lazing Safe Stock Kernels, a Kernel for the Samsung Galaxy S II
Kernel Special Features:
Last Updated 2013-08-09