Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
an0nym0us_
Old
(Last edited by an0nym0us_; 6th April 2012 at 07:10 AM.)
#1  
an0nym0us_'s Avatar
Senior Member - OP
Thanks Meter 2737
Posts: 3,596
Join Date: Jun 2011
Location: Behind you
Default [CM7 / AOSP KERNEL] [DISCONTINUED] zImage-Mod v1.5 [BFS/SIO/10 CPU FREQ]

Code:
#include <standard_disclaimer.h>
/*
 * 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 use these modifications upon your own choice, and if
 * you point the finger at me for messing up your device, I'll just sit and laugh at you.
 */




FEATURES
Quote:
1- Using Brain F*ck Scheduler (BFS) as default cpu task scheduler. It should give perfomance boost in 3d games and benchmark as the way BFS works is to give higher priority to any given task that request more resource from the cpu.

2- SIO as default io scheduler used. Previously use noop but maybe noop is too simple. Yes its the fastest but too simple, in rare occasion where phone shutdown improperly maybe will result in data loss, but noop is still included as choices for anyone who still adores it. v/r, deadline and bfq also included as alternative.

3. 2-way call recording enabled.

4- 10 cpu frequencies/steps which is
- 120000
- 160000
- 240000
- 320000
- 400000
- 480000
- 600000
- 670000
- 735000
- 800000
*** u can change these cpu frequency using NoFrills CPU Control or using SetCPU (need root) ***

5- added custom governor
- ondemandX
- interactive
- interactiveX
- smartsa**
- smarta**V2
- savagedzen

6- other small improvement taken from various source eg g3mod kernel, savagedzen kernel, franco kernel etc.
HOWTO USE/INSTALL
Quote:
First and most important is u need to disable all autorun app or script that set cpu governor/frequency on boot eg nofrills, setcpu, cm advanced settings etc. Also u need to manually delete all mumbo jumbo script to prevent any compatibility issue with newer kernel before flashing. Download the zip attachment below, put it in sdcard, reboot into clockworkmod recovery and flash it. Tested with jusada's ics and grif_07's cm7 rc1. Starting from beta 1 THIS WILL NO LONGER WORKS WITH STOCK ROM OR CUSTOM ROM BASED ON STOCK
BUGS / ISSUE
Quote:
None that i know of and can replicate myself. for the future dont report bug if u use my kernel with any scripts whatsoever. if u already deleted all the script and reboot, and the problem still persist then thats a true bug.
TODO
Quote:
u tell me. give some suggestions
The zip file with "patch" name in it is not for you if you not a dev. dont download it.
Attached Files
File Type: zip zImage-Mod alpha.zip - [Click for QR Code] (6.17 MB, 631 views)
File Type: zip ar6000.zip - [Click for QR Code] (182.7 KB, 225 views)
File Type: zip zImage-Mod.b1.zip - [Click for QR Code] (3.29 MB, 191 views)
File Type: zip zImage-Mod.b2.zip - [Click for QR Code] (3.30 MB, 495 views)
File Type: zip zImage-Mod.b3.zip - [Click for QR Code] (3.29 MB, 548 views)
File Type: zip zImage-Mod.v1.0.zip - [Click for QR Code] (3.28 MB, 1206 views)
File Type: zip zImage-Mod.v1.1.zip - [Click for QR Code] (3.32 MB, 1121 views)
File Type: zip zImage-Mod.v1.1.patch.zip - [Click for QR Code] (810.4 KB, 430 views)
File Type: zip zImage-Mod.v1.2.zip - [Click for QR Code] (3.29 MB, 266 views)
File Type: zip zImage-Mod.v1.3.zip - [Click for QR Code] (3.29 MB, 597 views)
File Type: zip zImage-Mod.v1.3.patch.zip - [Click for QR Code] (976.8 KB, 161 views)
File Type: zip zImage-Mod.v1.4.patch.zip - [Click for QR Code] (994.6 KB, 121 views)
File Type: zip zImage-Mod.v1.4.zip - [Click for QR Code] (4.73 MB, 576 views)
File Type: zip zImage-Mod.v1.5.patch.zip - [Click for QR Code] (1.08 MB, 293 views)
File Type: zip zImage-Mod.v1.5.zip - [Click for QR Code] (4.80 MB, 2526 views)
The Following 74 Users Say Thank You to an0nym0us_ For This Useful Post: [ Click to Expand ]
 
an0nym0us_
Old
(Last edited by an0nym0us_; 11th March 2012 at 01:38 PM.)
#2  
an0nym0us_'s Avatar
Senior Member - OP
Thanks Meter 2737
Posts: 3,596
Join Date: Jun 2011
Location: Behind you
FAQ
Quote:
will this works on <insert rom name here> or <insert rom name here>?
if its pure aosp or cm7 rom or custom rom based on aosp or cm7, yes this will work. But if its stock rom or custom rom based on stock, no this will not work.

what is this ondemandx, interactivex, bfq, sio and **** that u mumbling all the time? I couldnt understand squat of those!
u can read here for better explanation and for further understanding of those things.

why my quadrant score suddenly drops using this?
does higher benchmark score means your phone becoming a speed demon and is "better" than all other phone here? *seriously yes this is my answer (or question) for above question*

would u be the father of my future babies?
sure why not

CHANGELOG
Quote:
v 1.5
1. Add kernel-wide snappy compression library.
2. Add snappy compression API for crypto and make it default instead of lzo.
3. Tweak cpu governors.
4. Fix rate limit no-hz.
5. Add retries instruction in acpucock.c when lowering vdd level and axi clock.
6. Bluetooth code from 3.0rc6 kernel.
7. Added CPU-supported unaligned accesses and use it as default instead of software emulated alignment trap.
8. Tweak installer script.

v 1.4
1. 2-way call recording enabled.
2. Tweak lowmemorykiller using patch from cm.
3. Proportional rate reduction for TCP from Google patch.
4. Some TCP tweaks.
5. Fixed some kernel memory leaks.
6. Patch sched with rate-limit nohz.
7. Optimized lib/checksum.c
8. Wakelock fix.
9. Tweak page writeback and vm swappiness ratio.
10. Moved reset_modem.ko module to ramdisk and make it load automatically on boot.
11. Using AROMA Installer (aroma-nightly_1.60-120225-025b) and updated install script to do a little bit of cleaning before kernel flashing.

v 1.3
1. Updated kernel source from 2.6.35.7 to 2.6.35.14.
2. Readd bfs cpu scheduler and use it as default instead of default cfs.
3. Updated timer.c using patch from CodeAurora
4. Added Google's Snappy compression library & staging for zram compcache and use it as default instead of default lzo compression.
5. Enabled Kernel SamePage Merging (KSM).
6. Added optimized crc32 algorithm.
7. For devs, the updated sourcepatch is a clean patch and not incremental patch. I've modify build script (the make_kernel_GT-S5830.sh file) to make kernel building more pleasant and easy, it'll create a folder named "output" in the kernel source tree and after finish compiling, the zImage file along with all compiled module (*.ko) will be copied into that folder. Compiling also produce a log file named log.txt in that folder.

v 1.2
1. Revert previous 1% battery driver because it gives problem to many users
2. Revert previous axi bus underclock as some user said phone somewhat laggy with it.
3. Turned off most of kernel debugging that constantly spamming dmesg, should improve perfomance without those.

v 1.1
1. Rewrite battery driver to include 1% step that hopefully solve stupid jumpy battery issue.
2. Underclock axi bus
3. Using sio as default io scheduler
4. Added bfq io scheduler
5. Added savagedzen cpu governor and fine tune it to cope better with cpu freqs.
6. Using xz kernel compression which is better than previous lzma.
7. Updated zram compcache
8. Include wifi module so no more wifi error

v 1.0
1. Using samsung's source code as i cant seems to fix led backlight issue and add bln support if using teamhacksung's source.
2. Fix random led backlight issue
3. Added bln support
4. Added v/r and sio disk io scheduler
5. Fine tune deadline, v/r and sio io scheduler to suites flash memory better.
6. Fine tune ondemandx, interactivex, and smarta**v2 even more.
7. Lowered battery polling interval from 60 seconds to 30 seconds.
8. Fix that make phone poweroff correctly. Previous beta 3 if choose to poweroff phone when usb or charger is connected, phone just reboot into android again and not poweroff.

Beta 3
1. Fix native cm torchlight. It works now.
2. Use tiny preempt rcu as default.
3. Increase framebuffer ram size to 5mb
4. Fine tune ondemandx, interactivex, and smarta**v2 to cope better with freq steps.
5. Added "noload" kernel mountpoint option in ramdisk that supposedly mount ext4 filesystem without journalled.

Beta 2
1. Fix zram compcache, now it works.

Beta 1
1. Now supports cm7 or rom based on cm7, using kernel source from teamhacksung's github.
2. Revised frequency steps, now using only 10 because previous 14 steps make phone reboot with certain iosched.
3. Removed bfs cpu scheduler due to misbehaving with frequency steps, maybe will re-add later after further test.
4. Added autogroup cpu sched and make default on boot
5. Updated to jhash3
6. Using lzma kernel compression for smaller size kernel.
7. Added ondemandx cpu scaling governor.
8. Added stochastic fair blue (sfb) network scheduler.
9. Undervolt wifi driver a little bit.
10. Raise battery polling interval from 10 seconds to 60 seconds

alpha
1. Initial release
2. Using samsung's source
3. Using 14 cpu frequency
4. Added bfs cpu scheduler.
5. Use noop iosched as default disk iosched.
5. Added 4 cpu scaling governor; interactive, interactivex, smarta** and smarta**v2

CREDITS
Quote:
Google for making android and for making it such awesome platform.
Samsung for this device and for releasing its kernel sourcecode
Codeaurora for many patches i've use
Teamhhacksung for many patches i've use
Ketut.kumajaya for helping me when i've got trouble with module mismatched and bln
amarullz for the amazing AROMA Installer script
<insert your name here if you feel i should also mention your name>

so thats it, i think got all sorts out. please dont ask stupid question like will this work on cm? will this work on this rom? will this work on that rom? i dare u to ask
The Following 18 Users Say Thank You to an0nym0us_ For This Useful Post: [ Click to Expand ]
 
an0nym0us_
Old
#3  
an0nym0us_'s Avatar
Senior Member - OP
Thanks Meter 2737
Posts: 3,596
Join Date: Jun 2011
Location: Behind you
Quote:
Originally Posted by an0nym0us_ View Post
reserved for future and upcoming use.
same as above, again reserved for future use.
The Following 8 Users Say Thank You to an0nym0us_ For This Useful Post: [ Click to Expand ]
 
CallMeVentus
Old
#4  
CallMeVentus's Avatar
Recognized Contributor
Thanks Meter 2635
Posts: 9,254
Join Date: Jul 2011
Location: Singapore
I would like to try....but I am waiting for ext4 and a2sd :/

Forever living in my Galaxy Ace using XDA App
TeamCooper:
www.teamcooper.net



GitHub:
Personal: www.github.com/EmoBoiix3
CyanMobile: www.github.com/CyanMobile
TeamFun (a.k.a GingerDX): www.github.com/TeamFun

Read this if you are new to your Galaxy Ace





"My friends are my power, and I'm theirs!"
"I am the boy with the heart of pure light."
 
anto.danny
Old
#5  
anto.danny's Avatar
Senior Member
Thanks Meter 134
Posts: 466
Join Date: May 2011
Location: Chennai
looks cool....but its still in alpha,am gonna sit tight for the stable release...

+1 for the good work....
Owned Phone-->Galaxy SII(Sold),Nexus 4
Owned Tablet-->Galaxy Note 10.1

 
CallMeVentus
Old
#6  
CallMeVentus's Avatar
Recognized Contributor
Thanks Meter 2635
Posts: 9,254
Join Date: Jul 2011
Location: Singapore
When you release a build that supports at least ext4 and a2sd I'll try any version .

Forever living in my Galaxy Ace using XDA App
TeamCooper:
www.teamcooper.net



GitHub:
Personal: www.github.com/EmoBoiix3
CyanMobile: www.github.com/CyanMobile
TeamFun (a.k.a GingerDX): www.github.com/TeamFun

Read this if you are new to your Galaxy Ace





"My friends are my power, and I'm theirs!"
"I am the boy with the heart of pure light."
 
an0nym0us_
Old
#7  
an0nym0us_'s Avatar
Senior Member - OP
Thanks Meter 2737
Posts: 3,596
Join Date: Jun 2011
Location: Behind you
Quote:
Originally Posted by EmoBoiix3 View Post
When you release a build that supports at least ext4 and a2sd I'll try any version .

Forever living in my Galaxy Ace using XDA App
or maybe use rare filesystem like btrfs or reiserfs
The Following User Says Thank You to an0nym0us_ For This Useful Post: [ Click to Expand ]
 
CallMeVentus
Old
#8  
CallMeVentus's Avatar
Recognized Contributor
Thanks Meter 2635
Posts: 9,254
Join Date: Jul 2011
Location: Singapore
Quote:
Originally Posted by an0nym0us_ View Post
or maybe use rare filesystem like btrfs or reiserfs
*faints*
I don't understand . XD

Forever living in my Galaxy Ace using XDA App
TeamCooper:
www.teamcooper.net



GitHub:
Personal: www.github.com/EmoBoiix3
CyanMobile: www.github.com/CyanMobile
TeamFun (a.k.a GingerDX): www.github.com/TeamFun

Read this if you are new to your Galaxy Ace





"My friends are my power, and I'm theirs!"
"I am the boy with the heart of pure light."
 
zeguym
Old
#9  
Senior Member
Thanks Meter 13
Posts: 210
Join Date: Apr 2009
Its will be great if you can include OC kernel
 
edint3000
Old
#10  
edint3000's Avatar
Recognized Themer
Thanks Meter 303
Posts: 435
Join Date: Mar 2007
Location: Sarajevo

 
DONATE TO ME
Does it work on CM7? And yes OC would be great...

Sent from my GT-I9100 using xda premium


If you like my work, please consider a small donation

The Following User Says Thank You to edint3000 For This Useful Post: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...