Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,771,909 Members 37,876 Now Online
XDA Developers Android and Mobile Development Forum

[KERNEL][STOCK][JB][8 MAY] Blazing Kernel v8 - Payback Time!

Tip us?
 
Ryuinferno
Old
(Last edited by Ryuinferno; 8th May 2013 at 03:33 PM.)
#1  
Ryuinferno's Avatar
Recognized Contributor - OP
Thanks Meter 6730
Posts: 3,452
Join Date: Apr 2012

 
DONATE TO ME
Default [KERNEL][STOCK][JB][8 MAY] Blazing Kernel v8 - Payback Time!

**You can choose between TWRP or CWM now!!! **


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!
- 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://forum.xda-developers.com/show...&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:

Code:
#!/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:


For flashing via ODIN:
Thanks to them for their guidance:
superatmos
bluefa1con
codeworkx
Phil3759

Enjoy guys!


Maintains for:
- CyanogenMod (i9100g)
- AOKP (deb)
- MoKee OpenSource Project (deb, i9100g, i9100)
- SlimRoms (i9100g)
- VanirAOSP (i9100g)
- AOSPA Paranoid Android (i9100g)




My GitHub: https://github.com/Ryuinferno
My works: http://ryuinferno.github.io

MoKee OpenSource Build Status
MoKee OpenSource Server Bandwidth Monitor
(6TB per/mo, extra at USD0.02/GB)

Donate to support MoKee OpenSource development!
The Following 68 Users Say Thank You to Ryuinferno For This Useful Post: [ Click to Expand ]
 
Ryuinferno
Old
(Last edited by Ryuinferno; 8th May 2013 at 03:03 PM.)
#2  
Ryuinferno's Avatar
Recognized Contributor - OP
Thanks Meter 6730
Posts: 3,452
Join Date: Apr 2012

 
DONATE TO ME
Changelog:
Code:
v1:
- Initial release

v2:
- RAM overclock to 553 Mhz
- Disabled GENTLE_FAIR_SLEEPERS
- Modified touchscreen sensitivity by codeworkx
- Custom voltage support
- Custom boot sound support
- Optimised memcpy and memmove
- Re-tuned interactive and hotplug governors (previous was either not performing or uses too much battery)

v3:
- JB initial commit

v4:
- Modified CWM in order to support preload (Thanks to Phil3759)

v5:
- Init.d scripts support (Place scripts in /system/etc/init.d or /data/etc/init.d)
- Reverted certain interactive governor tweaks (too aggressive)
- Replaced cpuidle files with old ones (from ICS source) for possible solution to SOD
- Reverted configurations that might be the cause of unstability
- Merged the touch screen fix in CM 10.1 by ankitkv

v6:
- TWRP
- USB fast charge 
- Custom voltage settings 
- Custom bootanimation
- Custom boot sound
- Frandom support

v7:
- Samsung MEA_JB Open Source update (hopefully no more SODs)

v8:
- Samsung CHN_JB_Opensource_Update1 (everything should be smoother & SODs are unlikely to occur)
- Reduced size of zImage 
- Optimised memcpy and memmove
- Updated CWM to 6.0.3.1 and TWRP to 2.5
- Patched /dev/random
- Added governors: HYPER, Scary, wheatley, abyssplug, minmax, interactiveX, lulzactive, lazy, pegasusq, lagfree, smartassV2
- Added schedulers: vr, sio, row
- Compiled using O3 flag
Source code:
https://github.com/Ryuinferno/GT-I9100G-Blazing_Kernel


Maintains for:
- CyanogenMod (i9100g)
- AOKP (deb)
- MoKee OpenSource Project (deb, i9100g, i9100)
- SlimRoms (i9100g)
- VanirAOSP (i9100g)
- AOSPA Paranoid Android (i9100g)




My GitHub: https://github.com/Ryuinferno
My works: http://ryuinferno.github.io

MoKee OpenSource Build Status
MoKee OpenSource Server Bandwidth Monitor
(6TB per/mo, extra at USD0.02/GB)

Donate to support MoKee OpenSource development!
The Following 22 Users Say Thank You to Ryuinferno For This Useful Post: [ Click to Expand ]
 
Infinite96
Old
#3  
Infinite96's Avatar
Senior Member
Thanks Meter 1899
Posts: 2,619
Join Date: Aug 2012
Amazing Ryuinferno ! Finally it is there ! Thanks !
Anyway can come in PM ? =)
The Following 2 Users Say Thank You to Infinite96 For This Useful Post: [ Click to Expand ]
 
josephnero
Old
#4  
josephnero's Avatar
Senior Member
Thanks Meter 503
Posts: 1,614
Join Date: Mar 2011
Location: Sanford NC
thanks alot for your hard work.I always take my S2 out of drawer to try your work
Galaxy S4 9505
 
ICS_XD
Old
#5  
ICS_XD's Avatar
Senior Member
Thanks Meter 13203
Posts: 4,428
Join Date: Jan 2012
Location: Hidden Leaf Village

 
DONATE TO ME
thats what Ryuinferno is known for
NeatROM I9500
NeatROM I9100G
X-TremeXD ROM i9100G
IF you Like My Work Please Buy me a Beer Here

 
 
iXanza
Old
#6  
iXanza's Avatar
Recognized Contributor
Thanks Meter 2105
Posts: 3,212
Join Date: Apr 2011
Location: Subang Jaya
Tested this out . Works fantastically. No problems so far.
My Contributions
[General]System UI Re-starter
[I9100 Variants]Jelly-Like Status Bar
[I9100G]Fantasy MOD
[I9100G]Deodexed Stock ROMS
[I9100G]PACman Thread Maintainer







Curent Devices
Redmi 1 WCDMA - MIUI Stable | Stock Kernel | TWRP
Nexus 7 II - MIUI Developer ROM | Paranoid Android | Stock Kernel | TWRP
Samsung Galaxy S2 [GT-I9100G] - MIUI Weekly ROM | Blazing Kernel V16 | TWRP
The Following User Says Thank You to iXanza For This Useful Post: [ Click to Expand ]
 
walauu
Old
#7  
Senior Member
Thanks Meter 42
Posts: 269
Join Date: Apr 2012
Excuse me, this kernel can change CPU frequency? Like making it 150 - 1200.. Change governer to abysplug like that. Thank you.
 
Infinite96
Old
#8  
Infinite96's Avatar
Senior Member
Thanks Meter 1899
Posts: 2,619
Join Date: Aug 2012
Quote:
Originally Posted by walauu View Post
Excuse me, this kernel can change CPU frequency? Like making it 150 - 1200.. Change governer to abysplug like that. Thank you.
You can change the CPU Frequency but the Governor and I/O Schedular still like the default one as it is in Codeworkx's kernel =)
Don't worry Ryuinferno will add more governor into it =)
 
Ryuinferno
Old
#9  
Ryuinferno's Avatar
Recognized Contributor - OP
Thanks Meter 6730
Posts: 3,452
Join Date: Apr 2012

 
DONATE TO ME
Default Re: [KERNEL][STOCK][ICS][23 Jan] Blazing Kernel v1

Done implementing RAM OC...trying to overclock CPU now...

*P.S. Will be getting an i7 beast tomorrow......things will be faster by then...but need to set up everything again...


Maintains for:
- CyanogenMod (i9100g)
- AOKP (deb)
- MoKee OpenSource Project (deb, i9100g, i9100)
- SlimRoms (i9100g)
- VanirAOSP (i9100g)
- AOSPA Paranoid Android (i9100g)




My GitHub: https://github.com/Ryuinferno
My works: http://ryuinferno.github.io

MoKee OpenSource Build Status
MoKee OpenSource Server Bandwidth Monitor
(6TB per/mo, extra at USD0.02/GB)

Donate to support MoKee OpenSource development!
The Following 5 Users Say Thank You to Ryuinferno For This Useful Post: [ Click to Expand ]
 
dante10
Old
#10  
Senior Member
Thanks Meter 54
Posts: 219
Join Date: Dec 2011
Location: KT
Quote:
Originally Posted by Ryuinferno View Post
Done implementing RAM OC...trying to overclock CPU now...

*P.S. Will be getting an i7 beast tomorrow......things will be faster by then...but need to set up everything again...
hope you can find a solution for the bluetooth bugs..other than that,awesome!..its been a while since we have good "stock" custom kernel

Tags
cwm, kernel, samsung, stock, twrp
THREAD CLOSED
Subscribe
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes