Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Thread Closed

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

OP Ryuinferno

23rd January 2013, 10:01 AM   |  #1  
Ryuinferno's Avatar
OP Recognized Contributor
Thanks Meter: 6,828
 
3,486 posts
Join Date:Joined: Apr 2012
Donate to Me
**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!
Last edited by Ryuinferno; 8th May 2013 at 04:33 PM.
The Following 68 Users Say Thank You to Ryuinferno For This Useful Post: [ View ]
23rd January 2013, 10:02 AM   |  #2  
Ryuinferno's Avatar
OP Recognized Contributor
Thanks Meter: 6,828
 
3,486 posts
Join Date:Joined: 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
Last edited by Ryuinferno; 8th May 2013 at 04:03 PM.
The Following 22 Users Say Thank You to Ryuinferno For This Useful Post: [ View ]
23rd January 2013, 10:07 AM   |  #3  
Infinite96's Avatar
Senior Member
Thanks Meter: 1,899
 
2,619 posts
Join Date:Joined: Aug 2012
More
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: [ View ]
23rd January 2013, 10:53 AM   |  #4  
josephnero's Avatar
Senior Member
Flag Sanford NC
Thanks Meter: 507
 
1,637 posts
Join Date:Joined: Mar 2011
More
thanks alot for your hard work.I always take my S2 out of drawer to try your work
23rd January 2013, 11:41 AM   |  #5  
ICS_XD's Avatar
Senior Member
Flag Hidden Leaf Village
Thanks Meter: 13,232
 
4,438 posts
Join Date:Joined: Jan 2012
Donate to Me
More
thats what Ryuinferno is known for
23rd January 2013, 12:56 PM   |  #6  
iXanza's Avatar
Recognized Contributor
Flag Subang Jaya
Thanks Meter: 2,110
 
3,219 posts
Join Date:Joined: Apr 2011
More
Tested this out . Works fantastically. No problems so far.
The Following User Says Thank You to iXanza For This Useful Post: [ View ]
24th January 2013, 03:00 AM   |  #7  
Senior Member
Thanks Meter: 42
 
269 posts
Join Date:Joined: Apr 2012
Excuse me, this kernel can change CPU frequency? Like making it 150 - 1200.. Change governer to abysplug like that. Thank you.
24th January 2013, 03:36 AM   |  #8  
Infinite96's Avatar
Senior Member
Thanks Meter: 1,899
 
2,619 posts
Join Date:Joined: Aug 2012
More
Quote:
Originally Posted by walauu

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 =)
24th January 2013, 08:35 PM   |  #9  
Ryuinferno's Avatar
OP Recognized Contributor
Thanks Meter: 6,828
 
3,486 posts
Join Date:Joined: Apr 2012
Donate to Me
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...
The Following 5 Users Say Thank You to Ryuinferno For This Useful Post: [ View ]
24th January 2013, 10:00 PM   |  #10  
Senior Member
Flag KT
Thanks Meter: 54
 
219 posts
Join Date:Joined: Dec 2011
More
Quote:
Originally Posted by Ryuinferno

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

Thread Closed Subscribe to Thread

Tags
cwm, kernel, samsung, stock, twrp
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes