[KERNEL][DEFUNCT]CM10/CM9/AOKP Kernel v6.3.6 [8/23] - UV/OC/GPU-BLN-Governors - AT&T Samsung Galaxy S II Skyrocket SGH-I727

This kernel no longer works with current CM10/AOKP ROMS - PLEASE DO NOT USE
PLEASE READ THIS ENTIRE POST THOROUGHLY BEFORE PROCEEDING...
This is a customized kernel built from SGH-I727 (aka Skyrocket) source code. This ROM has all the fixes from CyanogenMod & Team Chopsticks tree along with some other stuff.
It's very simple to install.
Ensure you've already installed a working ROM
Install Zip from CWM.
Wipe both caches (just to be safe)
Reboot
FSync Control - Courtesy of Ezekeel
FSync Control which can be used to disable the fsync system calls for single files and filesystems (echo 0 > /sys/class/misc/fsynccontrol/fsync_enabled). These fsync syscalls are used by kernel modules and user space programs to flush an I/O buffer (which is in RAM) to disk to make sure that this data is actually savely stored on the disk before executing the next step. Disabling fsync can result in data loss on a crash/freeze since the data is still in the I/O buffer and has not been saved to disk as it should be and can also lead to problems due to race conditions if two or more processes access the same file. On the other hand disabling fsync reduces the number of I/O operations which potentially could reduce the battery drain and also improve I/O performance.
Click to expand...
Click to collapse
Governors
Wheatley Governor - Courtesy of Ezekeel
http://rootzwiki.com/topic/14685-kernel27-jul-glados-v20-for-jb/page__st__90__p__405813#entry405813
Badass (default)
Badass removes all of this "fast peaking" to the max frequency. On a typical system the cpu won't go above 1080Mhz and therefore use less power. To trigger a frequency increase, the system must run a bit @ 1080MHz with high load, then the frequency is bumped to 1350MHz. If that is still not enough the governor gives you full throttle. (this transition should not take longer than 2-5 seconds, depending on the load your system is experiencing).
You can tweak the Phase 2 (1080MHz) and Phase 3 (1350MHz) via sysfs (if you don't know, then just leave it alone).
NOTE: Due to it's nature, this is not a benchmark governor. It is meant as a governor that gives you a smooth experience while saving battery.
InteractiveX
Created by kernel developer "Imoseyon," the InteractiveX governor is based heavily on the Interactive governor, enhanced with tuned timer parameters to better balance battery vs. performance. The InteractiveX governor's defining feature, however, is that it locks the CPU frequency to the user's lowest defined speed when the screen is off.
Lazy
This governor from Ezekeel is basically an ondemand with an additional parameter min_time_state to specify the minimum time CPU stays on a frequency before scaling up/down. The Idea here is to eliminate any instabilities caused by fast frequency switching by ondemand. Lazy governor polls more often than ondemand, but changes frequency only after completing min_time_state on a step overriding sampling interval. Lazy also has a screenoff_maxfreq parameter which when enabled will cause the governor to always select the maximum frequency while the screen is off.
GPU Overclocking
GPU is stock clocked at [email protected] & [email protected] (default).
Example: To increase maximum GPU frequency in 3D mode to 320 MHz:
echo 320000000 > /sys/devices/platform/kgsl-3d0.0/kgsl/kgsl-3d0/max_gpuclk
Example: To increase maximum GPU frequency in 2D mode to 266 MHz:
echo 266667000 > /sys/devices/platform/kgsl-2d0.0/kgsl/kgsl-2d0/max_gpuclk
echo 266667000 > /sys/devices/platform/kgsl-2d1.1/kgsl/kgsl-2d1/max_gpuclk
Available frequencies:
3D: 320000000, 300000000, 266667000, 228571000, 200000000, 177778000, 27000000
2D: 266667000, 228571000, 200000000
Kernel-based MPDecision
100% kernel-based multi-core decision! (should cpu1 be online or not?)
This replaces your /system/bin/mpdecision binary which is disabled by the CWM flashable.
Check /sys/kernel/msm_mpdecision/conf/ for the configuration.
startdelay = time until mpdecision starts doing it's magic (70000)
delay = time between checks (500)
pause = if something else plugs in the cpu, fall asleep for 10000
scroff_single_core = if the screen is off, don't plug in cpu1 (1)
nwns_threshold_up = runqueue threshold, if this is reached cpu1 will be hotplugged (35)
nwns_threshold_down = runqueue threshold, if this is reached cpu1 will be unplugged (5)
twts_threshold_up = time threshold, this amount of time must have passed (250)
twts_threshold_down = same as above (250)
enabled = enable(1) or disable(0) mpdecision. This does not affect scroff_single_core!
(all times are in ms)
CURRENT
Version 6.3.6 - http://tinyw.in/L1BW <-- JB: CM10 or AOKP 4.1.x
Version 6.3.4 - http://d-h.st/L8K <-- JB: CM10 or AOKP 4.1.x
Version 6.2.1 - http://d-h.st/NWo <-- JB: CM10 or AOKP 4.1.x
Version 6.0.3 - http://d-h.st/hEI <-- ICS: CM9 or AOKP 4.0.4 <- Updated 8/22 - WiFi fixes
Version 5.4.5 - http://d-h.st/ngT <-- ICS: CM9 or AOKP 4.0.4
Governor scripts
NOTE: Not needed for v6.0.2 or v6.2 and beyond
These scripts will set the CPU0 & CPU1 governors correctly. Using a tool like System Tuner only sets CPU0 to the selected governor, but leaves CPU1 running the default. This was the only way I found to ensure both CPUs had the correct governor set. Basically this overwrites your init.qcom.post_boot.sh script with one that sets both CPUs to the same governor.
SmartAssV2 - http://d-h.st/zeQ
Badass - http://d-h.st/2CU
OnDemand - http://d-h.st/GAH
Non-CM9 Camera Fix
http://db.tt/vvMoadEo <-- Thanks endlessevo for this and thanks eliminat for pointing it out!
Battery life problems?
Read this first...http://forum.xda-developers.com/showthread.php?t=1759541
Then go here to grab Better Battery Stats (BBS) ... http://forum.xda-developers.com/showthread.php?t=1179809
Mega thanks to...
Team Chopsticks
Cyanogenmod Team
showp1984
gokhanmoral
faux123
TamCore
Ezekeel
FraciscoFranco
h0tw1r3
...and the other many countless kernel devs that I've Kang'd from

I don't claim credit for any unique code. I've managed to cobble this together from the following sources with various tweaks of my own to get it all running.
Faux123 (OC/UV code) - https://github.com/faux123/msm8660-htc-ics
Tegrak (Lulzactive governor) - http://tegrak2x.blogspot.com/2011/11/lulzactive-governor-v2.html
Erasmux (SmartAssV2 governor) - https://github.com/erasmux
showp1984 (BadAss, mpdecision, some very cool stuff here) - https://github.com/showp1984
TamCore (GPU OC) - https://github.com/TamCore
Hope I'm not violating any form of informal code of conduct in grabbing your guys' code.
CHANGELOG
Version 6.3.4
Removed Governor's that just plain do NOT work on our devices
Upgrade Adreno GPU drivers
Removed WiFi PM
Various CAF updates
Added ROW I/O scheduler
OnDemand Governor enhancements to support better battery usage - Applied to OnDemand-based governors (Badass, Wheatley, Lazy).
Added Gallimaufry, Aggressive, and Scary governors
Version 6.2.1
Merged Kernel up to 3.0.41
InteractiveX and Interactive screen off max freq set to 594Mhz
ram_console added to help debug CM10 - post /proc/last_kmsg to pastebin and link here
Version 6.2
Added new Governors: Lazy, Lagfree, InteractiveX (this is V2), Interactive updated to V3 (Imoysen didn't change the name for V3)
Fixed governor change not setting CPU1 (thanks to Imoysen) - No more governor setting scripts!
Added BFQv4 i/o scheduler
Version 6.1
Merged Kernel up to 3.0.40 (works great this time)
FSync control
WiFi PM control
Added fixes from Team Chopsticks git to get Alpha 2 working...not everything, but some of the juicer pieces
LMK from 3.4 kernel
Wheatley governor added - Please test and report back
As always see Github for all the bit/bytes
Version 6.0
Reverted back to 3.0.8 kernel core
Incorporated JB necessities
See Github for the bits/bytes
Version 5.5.3
Disabled ZRAM, Westwood, and LZO kernel compression
Removed some frequency steps - UnderVolting should be a little easier since there will be less knobs to turn
Changed some GPU iofractions
Updated pegasusQ governor - Works pretty good. Disable mpdecision, though. See OP to set "enabled" to 0.
Added some JB compiler options - Would be curious to see if this works OOB if someone wants to try on JB ROM
Version 5.5.1
Big update - Merged Linux kernel up to 3.0.39 (latest and greatest fixes/enhancements)
Enable ZRAM
TCP congestion control changed to Westwood (Google it)
jRCU for small systems
WiFi tweaks for battery life and flexiblity
Check out my Github commit log for a complete list - There's just too many
Version 5.4.5
Fixed 2D GPU bus speed
Implemented fixed ala Team Chopsticks to prevent emmc erasure to prevent bricking
Minor tweaks - Trying to fix vbus_present wakelock
Version 5.4.4
Added kernel-based 3-phase thermal management
OC GPU by default
DVFS disabled
Version 5.3.2
Updated OC code to default to 1.512Ghz, but OC up to 1.89Ghz (doesn't work for me very well, but ymmv) - Thanks to jjiggens for the help!
Volume bug fixed (would remain max or silent)
New BLN code
Check Github commit log for full details
Version 5.3
Really removed 1.836Ghz OC this time
UTF-8 support added back in
Reverted voltages back to the default - should fix instabilities for some. I would suggest under-volting as they start pretty high
Version 5.2z
Removed 1.836Ghz OC - Use 5.2 if you reallllly want that extra juice.
Version 5.2
SGH-I717 (Note) Source code base
GPU Overclocking support (see OP)
Upped max OC to 1.836GHz (defaults to 1.782Ghz)
Version 5.1
UTF-8 support
Various fixes
Compiler optimizations
BLN support
Version 5.0
UCLF6-based Source (e.g. official SGH-I727 from Samsung)
BadAss, SmartAssV2 Governors
OC to 1.782Ghz
Added GPU-level control to BadAss
Lowered BadAss Phase 2 Freq to 702Mhz (you can chance ala sysfs)
Hopefully reduced wifi wakelocks by filtering more unnecessary packets
VR and SIO schedulers added (let me know how they work out)
Version 3.3
RAMDISK updates from CM9
Badass tweaked for better battery (e.g. lowered phase2/3 frequencies)
Installs init.qcom.post_boot.sh with badass set as default for CPU0 & CPU1 and disables mpdecision <-- IF YOU MADE CHANGES TO THE ONE INSTALLED, MAKE A BACKUP OF YOUR'S AND COPY OVER MINE AFTER YOU INSTALL
Added support for HFP 1.6 wideband speech
Disabled GENTLE_FAIR_SLEEPERS
Version 3.2
BLN added back in
Governors: Badass (thanks showp1984), PegasusQ, SmartAssV2, standard ones
Toolchain updated to 4.6.3
Compiler optimizations
Raised max OC to 1.782Ghz
Kernel-based MPDECISION (thanks showp1984)
Various fixes (you can check my github commit log)
WiFi: WiFi wakelock reductions (tell me if things are out of whack)
WiFi: Power off wlan interface when wifi disabled to save battery
Touchscreen lock fix (ala Team Chopsticks)
Version 2.8
Non-standard governors removed - Not really aSMP aware and caused all sorts of funky weirdness
Underclocking enabled
Clock voltages tweaked - UV for some battery savings
Version 2.5e
Reverted back to fixed max freq @ 1.728Ghz (temp until I get some other things fixed)
SmartAssV2 tweaks
Fixed L2 Frequency inconsistencies (I think this was causing the freq to stick at 1.242Ghz)
Updated PegasusQ code
Version 2.4d
Added Pegasusq governor
Version 2.3
Min/Max CPU Frequency can now be set
SmartAssV2 Governor tweaked for battery life
Version 2.2.1a
Reverted early suspend/late resume driver mod
Version 2.2
Tweaked SmartAssV2 and Lulzactive governors
Added some other power tweaks
Disabled BLN - I think this is causing some problems atm. Will add back once they're ironed out.
Version 2.1
Tweaked Lulzactive and SmartAssV2 governors
Added OC/UV code from Faux123 repo
Version 2.0
Added Lulzactive governor
Version 1.0
Stock Kernel compiled from source with SmartAssV2 governor
My Github - https://github.com/InstigatorX

First good work
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2

Downloading. Will report back in a few minutes.
--
SGH-I727 using XDA premium, running cm9.
Questions? look here: http://forum.xda-developers.com/search.php

Downloading! Gonna test this on Chimera beta 2 flashed over CM9 A5. Will report back shortly, stay tuned...
Sent from my SGH-I727 using xda premium
Edit/Update.... Running GREAT! Set to smartass V2 and set min freq to 192. I used NSTools to set and double checked the govenor and frequencies with Rom Toolbox pro and Set Cpu, everything is sticking and running smooth. Been running this for an hour now, will report back if I find any issues in the future. Thanks again for the kernel, InstigatorX, GREAT WORK!!!!!!!!! (high 5)

Nothing broken
Set to smartass v2 min 192
Feels smooth. Really smooth. Hopefully this means i can leave my charger at home now
Edit: holy crap! Phone is on usb charging from laptop. This is the first time on cm9 its actually charging FAST while I'm using it!
--
SGH-I727 using XDA premium, running cm9.
Questions? look here: http://forum.xda-developers.com/search.php

I know it says that to be on a cm9 from but could I possibly flash this on sky ics?
Sent from my SAMSUNG-SGH-I727 using xda premium

No.
Btw-loses backlight after screen off. Not every time though, weird.
--
SGH-I727 using XDA premium, running cm9.
Questions? look here: http://forum.xda-developers.com/search.php

Kole_Ackerson said:
I know it says that to be on a cm9 from but could I possibly flash this on sky ics?
Sent from my SAMSUNG-SGH-I727 using xda premium
Click to expand...
Click to collapse
dont do it.
But yeah this kernel rocks!

Ok I'm on chimera flashed over aokp where are the performance settings at on here?
Edit: Using rom toolbox to set it. It seems to be sticking..
Sent from my SGH-I727 using Tapatalk 2

Should i be able to underclock? Not sticking.
If not, is it a PITA to enable?
--
SGH-I727 using XDA premium, running cm9.
Questions? look here: http://forum.xda-developers.com/search.php

mindmajick said:
Should i be able to underclock? Not sticking.
If not, is it a PITA to enable?
--
SGH-I727 using XDA premium, running cm9.
Questions? look here: http://forum.xda-developers.com/search.php
Click to expand...
Click to collapse
Works for me on CM9. Will check it out.
Sent from my SAMSUNG-SGH-I727 using xda premium

Am running cm9 too. I can set it, but when i go back in to performance its back to 1512.
--
SGH-I727 using XDA premium, running cm9.
Questions? look here: http://forum.xda-developers.com/search.php

wow i flashed this and i was on stock gingerbread rom.... now i'm bricked!!!
thanks for not putting cm9 only!!!!! What am i going to do.... Shifty eyes
haha no but i'm going to flash this tonight!!!
thanks for all the hard work!!!!!

tacotino said:
wow i flashed this and i was on stock gingerbread rom.... now i'm bricked!!!
thanks for not putting cm9 only!!!!! What am i going to do.... Shifty eyes
haha no but i'm going to flash this tonight!!!
thanks for all the hard work!!!!!
Click to expand...
Click to collapse
Dude I read the first line and was like holy shi-....oh thank god
Sent from my GT-P7510 using xda premium

BaconStep said:
Dude I read the first line and was like holy shi-....oh thank god
Sent from my GT-P7510 using xda premium
Click to expand...
Click to collapse
hahaha

So this is good to flash with aokp? I know it says for cm9 but someone posted up about aokp

softballjunkee13 said:
So this is good to flash with aokp? I know it says for cm9 but someone posted up about aokp
Click to expand...
Click to collapse
I'm running it just fine
Sent from my SGH-I727 using Tapatalk 2

tacotino said:
wow i flashed this and i was on stock gingerbread rom.... now i'm bricked!!!
thanks for not putting cm9 only!!!!! What am i going to do.... Shifty eyes
haha no but i'm going to flash this tonight!!!
thanks for all the hard work!!!!!
Click to expand...
Click to collapse
Are you kidding? The title of the thread says cm9 kernel. I really hope you are joking....
Sent from my SAMSUNG-SGH-I727 using XDA

sk8erwitskil said:
Are you kidding? The title of the thread says cm9 kernel. I really hope you are joking....
Sent from my SAMSUNG-SGH-I727 using XDA
Click to expand...
Click to collapse
Read the last two lines, he's obviously kidding.
You change/add a color filter btw? Noticing the colors are a bit warmer than usual.
Sent from my SAMSUNG-SGH-I727 using xda premium

Related

[KERNEL][GB SENSE][05/10-2011]tristan202-gb-desire v05 (OC/UV/HAVS/BFS/CFS/V(R))

This is my personal kernel, that I decided to release now. It is extremely lean to minimize memory footprint and optimize perfomance. It is built from HTC official GB sources, with some of bananacakes, siberes, snq-s and my own patches. I intend to keep it at 2.6.35.10, as I see more problems than advantages in upstreaming to newer revisions.
Features:
-Hybrid adaptive voltage scaling (HAVS)
-V(R) i/o scheduler
-TinyRCU
-Overclock up to 1190
-Undervolt
-Ondemand, Virtuous and SmartassV2 governors (I use Virtuous for wake and Ondemand for sleep)
-AXI
-Lowered WiFi voltage
-EXT4 support
-snq-'s Autobrightnessmod (Enable all 10 levels)
-sibere's Battfix
-USB fast charge
-Optional 2 way call recording
-Hardcoded SD Speed Patch to 2048. No need for init script anymore
-Hardcoded highly tweaked Lowmemkiller (3584,4096,8192,20992,23040,25088). Throw away Autokiller and/or init scripts.
To make it more lean, I have disabled EXT2 support. SWAP isn't supported either, as I find it completely useless.
I have added CIFS and TUN as modules. To install, download and extract the file and push it to /system/lib/modules like so:
Code:
adb remount
adb push cifs.ko /system/lib/modules/cifs.ko
adb push tun.ko /system/lib/modules/tun.ko
And add the following line to your modules init script:
Code:
insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/tun.ko
The kernel comes in 2 flavors. BFS and CFS. Differences between them are here:
BFS - Brain F**k Scheduler
The scheduler essentially handles CPU resource allocation. It controls how the CPU ramps up in frequency and down again when not needed. The BFS version is generally very snappy (possibly more so than CFS) but is an older scheduler. It is designed to minimise latency on low spec'd machines (desktops generally)
Further details here:
http://en.wikipedia.org/wiki/Brain_****_Scheduler
CFS - Completely Fair Scheduler
This particular scheduler is newer than BFS. It is designed to make the best of High end machines (desktops again). In the early days, CFS seemed much laggier than BFS but now there is not too much in it. I am quite happily running a modern CFS kernel and I don't experience any lag issues.
Further details here:
http://en.wikipedia.org/wiki/Completely_Fair_Scheduler
I am aware that the BFS version throws some errors about 'bad cgroup data' in logcat, I haven't been able to get rid of them. I have disabled everything cgroup related in the kernel, but vm still throws the errors. Don't know why. Doesn't seem to impact performance.
I personally use the BFS version, as I find it somewhat faster than the CFS one. I have absolutely no wake lag, and I get good battery time.
Thanks go out to: snq-, bananacakes, sibere, tobi01001, thalamus, eviollet. If I forgot anyone, pls inform me.
CHANGELOG:
V05:
XZ compression
Fixed Wifi sleep
Tweaked OJ settings for better responsiveness (bananacakes)
Changed ramdisk compression method to gzip.
Rebuilt tun.ko and cifs.ko
v04b:
Fixed WIFI. (My bad. Forgot to adapt install script after including new ramdisk.)
v04:
Added Lowmemkiller tweak to ramdisk (3584,4096,8192,20992,23040,25088) No need for Autokiller or init scripts anymore. Over time I will move more tweaks into the ramdisk to minimize the need for init scripts.
Updated BFS to 0.406
Reverted battery gauge polling to 60 secs.
Added Virtuous governor. Virtuous is a highly tweaked SmartassV2.
Removed Lagfree governor again, as I found OndemandX better.
v03:
Hardcoded SD Speed Tweak to 2048. No need for init script anymore
Made 2-way call recording optional. Check downloads
Reduced battery gauge polling from 60 to 5 secs. (Untested)
A few bits more, can't remember it all.
v02:
Added Lagfree governor. Gives me a wee bit better battery, but sometimes lags when listening to music. Maybe I'll remove it again. Tell me what you think.
Added a minor change from tobi01001 to the lightsensor driver. Details here
Hopefully fixed USB fast charge.
Compiler optimizations
Link to my github: https://github.com/tristan202
Earlier i heard lot's of people complaining about reboots / hang up's when browsing internet with lowered WIFI voltages, i will give it a try today anyway thanks.
k3lcior said:
Earlier i heard lot's of people complaining about reboots / hang up's when browsing internet with lowered WIFI voltages, i will give it a try today anyway thanks.
Click to expand...
Click to collapse
I have been running with lowered wifi voltage for a few days without any problems at all. Doesn't browse much though, but market another wifi stuff have been working fine.
I'll give you feedback soon.
Thx and congratz.
Tapatalking.
tristan202 said:
I have been running with lowered wifi voltage for a few days without any problems at all. Doesn't browse much though, but market another wifi stuff have been working fine.
Click to expand...
Click to collapse
I've been using your kernel for several weeks now (tried all the rest) is this the same as your other one or have you tweaked it some more? and is there any chance you can add Sib's battfix?
Thanks a lot mate the combination of HAVS, BFS, 1190 OC with UV to 825 working very nicely for me
beanbean50 said:
is this the same as your other one or have you tweaked it some more? and is there any chance you can add Sib's battfix?
Click to expand...
Click to collapse
Just ask HTC they know everything about your phone
beanbean50 said:
I've been using your kernel for several weeks now (tried all the rest) is this the same as your other one or have you tweaked it some more? and is there any chance you can add Sib's battfix?
Click to expand...
Click to collapse
siberes battery fix is included, and I have been making some tweaks to since the last release. Some minor stuff, but still some improvement.
tristan202 said:
siberes battery fix is included, and I have been making some tweaks to since the last release. Some minor stuff, but still some improvement.
Click to expand...
Click to collapse
wow, many thanks....
is there much difference between the 2 governors ondemandx and smartassV2...?
Autobrighness mod is included (10 positions in arrays.xml)???
Tapatalking.
ziggy1001 said:
Thanks a lot mate the combination of HAVS, BFS, 1190 OC with UV to 825 working very nicely for me
Just ask HTC they know everything about your phone
Click to expand...
Click to collapse
haha...!
Yes, HTC, Google and every other Tom, **** and Harry...
beanbean50 said:
wow, many thanks....
is there much difference between the 2 governors ondemandx and smartassV2...?
Click to expand...
Click to collapse
Ondemand:
The ondemand governor is the default option used by Android. It scales the CPU speed between the minimum and maximum speeds depending on CPU load. If the system needs more speed, the kernel will rapidly scale up the CPU speed. This is available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point, ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed.
Smartass:
This is based on the concept of the interactive governor. This is included in some custom kernels. The smartass governor effectively gives the phone an automatic Screen Off profile, keeping speeds at a minimum when the phone is idle.
Interactive:
The 'interactive' governor has a different approach. Instead of sampling the cpu at a specified rate, the governor will scale the cpu frequency up when coming out of idle. When the cpu comes out of idle, a timer is configured to fire within 1-2 ticks. If the cpu is 100% busy from exiting idle to when the timer fires then we assume the cpu is underpowered and ramp to MAX speed.
If the cpu was not 100% busy, then the governor evaluates the cpu load over the last 'min_sample_rate' (default 50000 uS) to determine the cpu speed to ramp down to.
This is available in newer kernels, and becoming the default scaling option in some official Android kernels. The interactive governor is functionally similar to the ondemand governor with an even greater focus on responsiveness.
ironjon said:
Autobrighness mod is included (10 positions in arrays.xml)???
Tapatalking.
Click to expand...
Click to collapse
tobi's autobrightnessmod is included. Adding to OP.
Thanks, I'll be testing this! I've been using snq-'s kernel builds but since the OC/UV ones have freezing problems, and gingercakes won't work for me without MASSIVE lag, I look forward to seeing how this works out.
ironjon said:
Autobrighness mod is included (10 positions in arrays.xml)???
Tapatalking.
Click to expand...
Click to collapse
It seems to work, yes. I've just pushed my patched framework-res.apk, and auto-brightness seems to do exactly what it did on snq-'s patched kernel.
EDIT: Ah, ninja'd. Well, there you have it then.
tristan202 said:
Ondemand:
The ondemand governor is the default option used by Android. It scales the CPU speed between the minimum and maximum speeds depending on CPU load. If the system needs more speed, the kernel will rapidly scale up the CPU speed. This is available in most kernels, and the default governor in most kernels. When the CPU load reaches a certain point, ondemand will rapidly scale the CPU up to meet demand, then gradually scale the CPU down when it isn't needed.
Smartass:
This is based on the concept of the interactive governor. This is included in some custom kernels. The smartass governor effectively gives the phone an automatic Screen Off profile, keeping speeds at a minimum when the phone is idle.
Interactive:
The 'interactive' governor has a different approach. Instead of sampling the cpu at a specified rate, the governor will scale the cpu frequency up when coming out of idle. When the cpu comes out of idle, a timer is configured to fire within 1-2 ticks. If the cpu is 100% busy from exiting idle to when the timer fires then we assume the cpu is underpowered and ramp to MAX speed.
If the cpu was not 100% busy, then the governor evaluates the cpu load over the last 'min_sample_rate' (default 50000 uS) to determine the cpu speed to ramp down to.
This is available in newer kernels, and becoming the default scaling option in some official Android kernels. The interactive governor is functionally similar to the ondemand governor with an even greater focus on responsiveness.
Click to expand...
Click to collapse
but we only have the first two governors to choose from, Interactive is not an option (in setcpu) or am I being stupid as per usual ...?
is usb fast charge enabled?
ZeGuitarist said:
Thanks, I'll be testing this! I've been using snq-'s kernel builds but since the OC/UV ones have freezing problems, and gingercakes won't work for me without MASSIVE lag, I look forward to seeing how this works out.
It seems to work, yes. I've just pushed my patched framework-res.apk, and auto-brightness seems to do exactly what it did on snq-'s patched kernel.
EDIT: Ah, ninja'd. Well, there you have it then.
Click to expand...
Click to collapse
where can I find the patched framework ?
beanbean50 said:
where can I find the patched framework ?
Click to expand...
Click to collapse
You have to patch your own framework-res
Tapatalking.
ironjon said:
You have to patch your own framework-res
Tapatalking.
Click to expand...
Click to collapse
can you guess my next question ...? hehe
Here you go i like helping the aged especially when, poor eyesight, liver damage, and tropical diseases have taken their toll
[How to] Adjust auto-brightness on GB Sense ROM
beanbean50 said:
where can I find the patched framework ?
Click to expand...
Click to collapse
You can't find it anywhere, you need to patch your own framework. The framework apk differs for each ROM, and contains each individual user's UOT kitchen mods too... So to be safe, you really shouldn't use someone else's framework.
Anyway, here's how to do it:
http://forum.xda-developers.com/showthread.php?p=17713587
It's pretty easy, as long as you know where your ROM's framework apk is (in internal /system, or in /sd-ext). Also, the thread suggest you put your framework mod in a flashable zip, but it's easier to just boot in recovery, and use adb to remove your old framework and push the new one.

[KERNEL][TouchWiz] TerraBuzz [22 May][PR2.7][STweak][OC/UV][CPU/GPU/MDNIE]

Hello,
Let me introduce a kernel that I've been using every day. Despite the name which is me, the actual developer of this kernel is aatjitra, so please thank him. Since he is using N7105 and for ease of reports, we decided to make a separate thread for the International Samsung Galaxy Note II GT-N7100 model. So it is me that will maintain this thread for N7100. Of course with the help of him to answer questions.
For GT-N7105 model, please visit the original thread here
* WARNING *​This kernel is only for stock ROM or TW Based custom ROM!​DWYOR - Do With Your Own Risk!!!​​
TerraBuzz kernel is created for Samsung Galaxy Note 2 that will suits daily usage. There is no cutting edge and fancy development for this kernel as it's made as close as stock kernel based on source code provided by Samsung. Only cherrypick modification/enhancement from other developers to be implemented in this kernel. This kernel is fast, stable, and battery friendly. All tweaks and modifications are carefully tested to ensure great performance without compromising Galaxy Note II standard features.
Some unnecessary debug and log is also removed to make this kernel as light as possible.
Features
STweak Support
exFAT support
IO Scheduler: Deadline (default), additional scheduler BFQv5r1, , VR
CPU Governor: PegasusQ
Lower GPU threshold from 160 MHz to 266 MHz
CPU Overclock & Undervolt support
GPU Overclock & Undervolt support
Boeffla Sound Engine
CRT Animation support
Dynamic Sync Control
Reduced Samsung Battery Monitor Wakelock
Increased USB Charging rate to 1000 mA
Removed CPU locking by GPU mechanism
Removed some unnecessary debug and log
AFTR Idle Mode
Support Yellow Triangle Away
Exynos Bug patched
ZRAM support (you can delete the script under /System/etc/init.d)
Smooth and battery friendly
Installation
You have to be rooted
Install it using your preferred custom recovery
Reboot the phone
Enjoy the smoothness!
If you're coming from previous version (ex: PR2.5 and up):
- Open STweak and go to 'Extras' and tap 'Reset settings to default'. The apps will close by itself and let it be.
- Open Root Explorer or any file explorer with root access, go to folder /data and delete the folder .terratweak
- Download kernel that match your device type and save it to internal/external storage card on your phone.
- Flash the kernel via TWRP or CWM.
- Reboot and let it stay for a while or until the icon 'checking sd card for error' is gone.
- Open STweak and now you will see a control tab for SCREEN
Source Code
https://github.com/aatjitra/7105u1/​
Downloads
TerraBuzz 2.7: http://www.mediafire.com/download/arjpq46c3xco8nz/TerraBuzz_N7100_PR27_CWM.zip​TerraBuzz 2.6: http://www.mediafire.com/?jid1i6k6cbk6ej1​TerraBuzz 2.5: http://www.mediafire.com/?jqs1wq8h1o4y3hh​TerraBuzz 2.4: http://www.mediafire.com/?ib3v258zqsf19wl​TerraBuzz 2.3: http://www.mediafire.com/download.php?915s5i1qp15jl1a​
Bug Report
Any bug, please report here and please explain in detail for how do you find the bug and if it possible, some steps to replicate it.​
Change Logs
TerraBuzz PR2.7
- Added an interface for charging current and volt via STweak
TerraBuzz PR2.6
- Support MDNIE (color) tweak interface by STweak
- Revert jRCU
- Block optimization for IO Scheduler
- Fixed some parameters in STweak
TerraBuzz PR2.5
- STweak Support for CPU Scaling, Hotplug, Voltage Interface, Clock/Frequency Interface
- STweak Support for BUS/Internal Scaling, Voltage Interface
- STweak Support for GPU Scaling, Voltage Interface, Clock/Frequency Interface
- Support CPU scaling for Frequency for Responsiveness to improve smoothness on low frequency
- Support CPU for Fast Down Scaling for aggresive down scaling. Possible to save battery life
- Modification on Asynchronous I/O latency to a solid-state disk greatly increased
- If you have used TerraBuzz PR2.5 beta version, please remove folder /data/.TerraTweak to reset STweak completely
TerraBuzz PR2.4
- Support CPU Undervolt (adjustable via setcpu, system tuner, android tuner, etc)
- Support CPU Overclock up to 1800 MHz (adjustable via setcpu, system tuner, android tuner, etc)
- Support GPU Undervolt (adjustable via android tuner, etc)
- Support GPU Overclock up to 800 MHz (adjustable via android tuner, etc)
- Added Boeffla Sound Engine 1.6.0 (via Boeffla Sound from Google Play)
- Bug fixing for CRT Animation
- Default CPU Gov: pegasusq (to make it more battery friendly while screen on)
- Default IO Scheduler: deadline (tested using AndroBench and it gives the best result)
TerraBuzz PR2.3 - Initial release for public
Credits and Thanks
Huge thanks and credits to:
Samsung who provide the source code
Great Developer Chainfire (CF-Root Kernel)
Great Developer AndreiLux (Perseus Kernel)
Great Developer wanam (Adam Kernel)
Great Developer franciscofranco (Franco Kernel)
Great Developer hardcore (Speedmod Kernel)
Great Developer tegrak (Tegrak Kernel)
Great Developer faux123
Great Developer simone201 (Simply Honey)
Great Developer Andip71
Great Beta Testers (TerraBuzz, Romie, Chris, 07ex and many friends from Kaskus Indonesia)
To whom I cherrypicked your coding/development
Any name missed in credit, please forgive me and let me know. I will add it accordingly.
Any feedback, let's discuss it...
Screenshots
Here are some screenshots collected from some of our users in the development of this kernel using various ROMs. Please use it as reference only, actual experience and results may differ.
TerraBuzzQ CPU Governor (Suspended)
I tried a few CPU governor which can suit my preferences that will turn off CPU core if the load is light to save battery.
And I come to LulzactiveQ by Tegrak that initially I think this is suitable for me. Nobody is using this governor for Note 2 and I dare myself to try it on my own.
Later on, I modified the source code for LulzactiveQ to remove some parts that I don't need and create my own logic for this cpu governor.
There are 3 thresholds for CPU load:
High Threshold = 100%
Up Threshold = 60%
Down Threshold = 30%
If CPU load = High Threshold (CPU Load = 100%)
CPU scaling per 200 MHz until it reaches maximum frequency 1600 MHz.
If Up Threshold < CPU Load <= High Threshold (CPU Load between 61% and 99%)
CPU scaling per 100 MHz until it reaches 1400 MHz and stop at that point.
If Down Threshold < CPU Load < Up Threshold (CPU Load between 31% and 60%)
CPU scaling per 100 MHz until it reaches 1200 MHz and stop at that point.
If CPU Load <= Down Threshold (CPU Load less than 30%)
CPU down to lowest frequency 200 MHz.​
By this logic, TerraBuzzQ Governor suits my daily usage pattern and tested by beta tester team. The result is great battery life and no lag encounter in heavy game such as Real Racing 3.​
Finally, it's available in XDA...
Best kernel i've tried so far.. Battery friendly yet very smooth...
Thank you for helping me TerraBuzz...
:good:
thx .flashed...
Sent from my GT-N7100 using xda premium
welcome dude :laugh:
At least in here...Cool kernel,
Hope you built for nexus4 and note 1..
Sent from my Nexus 4 using xda premium
try said:
Finally, it's available in XDA...
Best kernel i've tried so far.. Battery friendly yet very smooth...
Click to expand...
Click to collapse
How many hours of onscreen time did u get ?
Sent from my GT-N7100 using xda app-developers app
Nice and solid thanks and keep up the good work
Sent from my GT-N7100 using xda premium
joshphilips said:
How many hours of onscreen time dis u get ?
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
OP updated with screenshots...
best kernel:good:
now flashing
The best kernel for me
I have tried all of kernel.. This kernel is so smooth, but with battery so much friendly..
Thx for aatjitra.. :good:
this kernel can run on aosp?
Sent from my GT-N7100 using xda premium
does it support CRT off animation, that it stopped after flashing this amazing kernel,
not a big issue compared to its smoothness
thanks
pageniao said:
this kernel can run on aosp?
Sent from my GT-N7100 using xda premium
Click to expand...
Click to collapse
No Sir.. I haven't prepare for it but I am planning to do so...
Sent from my GT-N7105 using xda premium
---------- Post added at 10:32 AM ---------- Previous post was at 10:31 AM ----------
koky72 said:
does it support CRT off animation, that it stopped after flashing this amazing kernel,
not a big issue compared to its smoothness
thanks
Click to expand...
Click to collapse
I will include this for next release...
Thank you for the input...
Sent from my GT-N7105 using xda premium
Nice another great kernel. It's there any plan to include color calibration tweak from perseus?
Sent from my GT-N7100 using xda premium
Can't wait for updates new feature.. :thumbup:
Sent from my GT-N7100 using xda premium
Gona try this kernel. Been using neak kernel for sometime and its really good. But whenever I start to play games such as real racing, I get huge battery drain. Duno if its normal or its really a kernel prob. xD anyway will try this one and report back.
Sent from my GT-N7100 using xda app-developers app

[KERNEL][STABLE] Badass Kernel 1.9.2

Hey guys. This is Badass Kernel, a modified version of AU Kernel with a little bit too many additions to fit in the Original Development section.
Logs are disabled in this kernel. This is not a bug, it's a feature.
Compatibility:
Android 4.2.2
CM10.1
AOSPA
PAC
AOKP
Android 4.0.4/4.1.2
CM9
CM9.2
AOSP
Touchwiz ICS V5
So.. new stuff:
1.0
CPU Undervolt down to (0-1-2-4-6).
A_U's bootsplash
Added Badass CPU Governor
Added Badass GPU control
Replace ZRAM LZO compression with Google Snappy compression which is a lot faster
Kernel Samepage Merging enabled by default
Writeback tweaked to do the work only when the screen is off
Added ROW I/O scheduler
Tweaked smartassV2 for more battery saving
Tweaked CFQ and Deadline
1.1
Added frandom support for CrossBreeder to finally work properly
Fixed memory leak in android binder
Restored and updated Lazy CPU Governor (expected: smooth UI, much better battery life and some lag in the first 20-30 seconds after boot)
Filesystem tweaks
Memory tweaks
Added SFB net scheduler and Veno TCP congestion algorithm for better use of internet
Disabled a lot of debugging
1.2
Implemented Dynamic Filesync and enabled by default
Proportional Rate Reduction for TCP
Correct AXI bus values for CPU
Re-added 825 and 844 MHz frequencies (be careful with these as they're not stable, they were left out with a reason)
Trimming /cache every 15 minutes if media playback is stopped.
Updated LowMemoryKiller driver (if you use ram manager or scripts for setting minfree, here are some really good values:3072,4096,12800,14336,15360,19200)
New bootsplash (HTC-alike)
1.2.1
Fixed Snappy
Further UV (0-1-2-3-6)
1.2.2
Enabled Compaction and linked it to LowMemoryKiller
Updated Deadline(now it's better than ROW)
Changed kernel compressor/decompressor from GZIP to the much faster LZ4.
Writeback tweaks from Linus Torvalds
Added TCP congestion algorithms: Hybla, Westwood, Highspeed-TCP. Default is Hybla because in tests, performed better than the rest.
1.3
Enabled Triple Buffering (component of Project Butter by Google)
Added Tiny RCU for smaller memory footprint
Added BoostPulse interface for SmartassV2
1.3.1
Added BoostPulse interface for SmartassH3 and updated it with a new variable(boost_freq) to suit the governors ramping policy
1.4
Lots of code optimizations
AHB Overclocking for faster R/W operations[787 MHz and higher don't have this kind of overclocking because of instability)
New 652 MHz undervolted frequency
CPU Unaligned Access (much faster booting time because of better kernel decompression)
Buffer values updated from Samsung original sources(Triple Buffering, Camera)
SmartassH3 and KSM parameters tweaked for better battery life
1.5
CPU clocks rework
Modified AXI Bus to allow lower CPU frequencies
Added completely stable 68 MHz frequency
New undervolt settings (0-0-1-2-3-5-6-7)
Rewritten Badass CPU and GPU control driver to make more use of 68 MHz frequency
Tuned SmartassH3 to make more use of low frequencies
Added fully functional zCache and ZsmAlloc, backported from 3.4 kernel
1.5.1
Added LowBattery Powersave feature for Badass governor
Badass parameters are more performance biased now
Recalculated Frame Buffer Size for Triple Buffering
Clean-up(remove deprecated CPU governors)
1.6
Add newest Adaptive RED Net Scheduler from 3.4 kernel and make it default.
Replace Snappy Compression with LZ4 Compressor(this is the fastest compressor on the market)
Make our kernel probably the first 2.6 kernel to have these two features
1.6.1
Update LZ4 Compressor from original sources and make it fully functionable
1.7
Replace zRam XvmAlloc with the better ZsmAlloc integration
Update zRam from 3.0 drivers
Make zRam LZ4 decompressor work faster in the same CPU cycles
1.8
Add SIOPlus scheduler (finally something equal or better than deadline)
Add CPU Idle driver to support C4 Deeper Sleep state
Add Wheatley governor to make more use of the new C4 state.
Change Bootsplash
1.9
New governor: WheatleyPlus
Reworked scaling down logic for less calculation
Added BoostPulse interface
Linked BoostPulse to the touchscreen driver (now the governor can really "sense" a touch and boost the frequency after a specific time threshold)
Added Triphasic scaling up logic from Badass (Phase2 is 360 MHz and Phase3 is 480 MHz)
Fixed the Deep Sleep states verification for scaling
Added GPU Control Driver
Added Sampling Down Momentum for dinamically changing the factor for scaling down
Updated OnDemand governor (it's pretty good at the moment)
Remove Badass and Lazy as they were deprecated
Link BoostPulse to the touchscreen driver for SmartassH3 and OnDemand
Optimize the CPU clock structure for WheatleyPlus
Update SIOPlus and add fluid tunables
Introduce Dynamic Cache Pressure
Revise Dynamic Writeback algorithm
Introduce Timer Slack Controller (aka Timer Coalescing, explanation below)
Deep Sleep tweaks
Backport OOM Killing algorithm from 3.8 kernel
Backport LowMemoryKiller and Timed GPIO drivers from 3.8 kernel
Add Whitelist feature to LowMemoryKiller (you can write PIDs of the processes you want to whitelist, in this file > /sys/module/lowmemorykiller/parameters/w_list ~ below you'll find the script for doing this at boot)
Android Binder update
CFS kernel scheduler optimizations
GPU driver optimizations and code cleanup
Make sure that the GPU turns off when the screen is off
Make the sleep states transitions faster
1.9.1
Finetune WheatleyPlus for better responsiveness
Optimize WheatleyPlus for overclocking on 652 MHz and 768 MHz
Fixed graphical glitches(hopefully)
1.9.2
Every bug fixed
Removed WheatleyPlus
Updated Interactive governor to the latest version from 3.8 sources
Add Dynamic Interactive governor (98% the same as Interactive, but it dynamically changes its parameters according to the load)
Dynamic PLL Overclock
Further undervolt until 768 MHz (the latter allows us to do this without losing performance)
Predefine minfree and adj values
Fully functional App Whitelist (example script here)
Forced unaligned access
Fast Charge (use this to enable it: FastCharge.apk - 1.29 MB) [Disconnect USB Cable - Turn ON - Connect USB Cable]
Timer Slack Controller: (this is a copy-paste from boype's thread)
What does the timer slack feature do?
Timer slacking aims to synchronize applications' and processes' CPU requests. The goal is to wake up the CPU less often in oder to save battery. What you need to know here is the following: waking the CPU up and putting it back to sleep again consumes power. Imagine that four apps wake the CPU up four times each in one second. While without timer slacking the CPU would be woken up 16 times, it is desirable to coordinate the wakeups. If done right, the CPU would wake up less often, effectively allowing power savings and longer sleep periods. This is what timer slacking does.
I have activated timer slacking only for background applications, so that everything else stays as responsive as you know it.
Apple has recently introduced this feature under the name 'timer coalescing' with their Mac OSX Maverick (link).
More information: How Apple does timer slacking ('Timer coalescing') (Scroll a little down to the diagrams)
LZ4 Compressor:
LZ4 is a very fast compressor, based on well-known
LZ77 (Lempel-Ziv) algorithm. Originally a fork from LZP2, it provides
better compression ratio for text files and reaches impressive decompression
speed, in the range and beyond 1GB/s per core (!), especially for binary files.
These speeds are scalable with multi-threading modes, quickly reaching
RAM speed limits on multi-core systems.
ROW I/O scheduler:
The ROW scheduling algorithm will be used in mobile devices as default
block layer IO scheduling algorithm. ROW stands for "READ Over WRITE" which
is the main requests dispatch policy of this algorithm.
The ROW IO scheduler was developed with the mobile devices needs in mind.
In mobile devices we favor user experience upon everything else, thus we want
to give READ IO requests as much priority as possible. The main idea of the ROW
scheduling policy is just that: - If there are READ requests in pipe - dispatch them,
while write starvation is considered.
Download:
AOKP/AOSP ICS:BadassKernel-AICS.zip - 4.78 MB
AOKP:BadassKernel-AOKP.zip - 4.79 MB
CyanogenMod 9.2BadassKernel-ICS.zip - 4.76 MB
AOSPA:BadassKernel-PA.zip - 4.79 MB
CyanogenMod 10:BadassKernel-CM10.zip - 7.03 MB
CyanogenMod 10.1:BadassKernel-JB.zip - 4.79 MB
Various tweaks
Script for adding apps to LowMemoryKiller's whitelist:Whitelist
(you have to edit it to add your own apps, then move it to init.d and set correct permissions. right now you can only add one app, I'll fix this in the next version)
Script to enable zRam with optimized disksize for Fit: View attachment zRamV2.zip (flashable zip) [UPDATED]
Jeeko's PureAudio fixed for CM10.1 and AOKP: View attachment PureAudio__1.0_-_STUDIO.zip [ Please thank Jeeko for this awesome mod. ]
NOTE: This version of PureAudio is compatible with absolutely any equalizer or player.
If you have Titanium Backup installed, in the menu you'll find an option named "Integrate sys Dalvik into ROM". Use it.
This is something like odexing your system, but keeps the classes.dex files inside the apps. Don't worry if you don't have a lot of system space, Titanium will odex as much as it can until the free space runs out.
TIP: So in latest version of CrossBreeder, the OP added some system tweaking which interferes with our kernel. So I edited those parts to match our settings and device limits.
If anyone wants to install CrossBreeder:
-First uninstall by flashing this file: CrossBreeder_Uninstall_7.2.13.zip - 943.12 KB
-Then install this custom version: CrossBreeder_7.2.13-Badass.zip - 1.59 MB
Sources:
GitHub
Credits:
A_U for compiling the base kernel
franco for the various tweaks I cherry-picked from his source
androidarmv6 for fixing bluetooth
Ezekeel for his Wheatley governor
How to install the kernel?
Subdin said:
How to install the kernel?
Click to expand...
Click to collapse
Flash the zip.....
Sent from my GT-S5670 using xda premium
droider007 said:
Flash the zip.....
Sent from my GT-S5670 using xda premium
Click to expand...
Click to collapse
to install cm(9,10,10.1)
and just flash the kernel??????
CM 10.1 kernel isn't a zip...
NM99 said:
CM 10.1 kernel isn't a zip...
Click to expand...
Click to collapse
rename it to .zip
---------- Post added at 11:50 PM ---------- Previous post was at 11:49 PM ----------
droider007 said:
rename it to .zip
Click to expand...
Click to collapse
but don't try its not booting.......wait for a fix....:good:
I'll wait for the fix.
NM99 said:
I'll wait for the fix.
Click to expand...
Click to collapse
Changed the ramdisk, now it should boot. All versions are flashable zips, you don't have to reinstall the ROM for installing a kernel.
Keep a flashable zip with your original kernel on sd in case this doesn't boot.
I flashed kernel for CM10.1 RC6 of erikcas and it works without problems for me.
ZmisiS said:
I flashed kernel for CM10.1 RC6 of erikcas and it works without problems for me.
Click to expand...
Click to collapse
Alright, good to hear that.
Thanks for reporting. This means that the other versions will work too.
alin.p said:
Changed the ramdisk, now it should boot. All versions are flashable zips, you don't have to reinstall the ROM for installing a kernel.
Keep a flashable zip with your original kernel on sd in case this doesn't boot.
Click to expand...
Click to collapse
I'll be sure to flash it soon.
Just a question, I flashed the tweaks on this thread and Fly-On Scripts.. After flashing the kernel, do I need to flash them again?
---------- Post added at 06:33 PM ---------- Previous post was at 05:34 PM ----------
Just a little update, just flashed the kernel. No problems at all, it feels smooth as it can be. I'm running it 68-768Mhz with no problems.
Wake up in the morning..
Open xda (5670 forum)..
see something new anddd..
ohmyglob! FINALLY! SIR ALIN.P's KERNEL!
Best morning news and goodness in the morning! ooohh yeah! Time to test this baby out! By the way, I'd love to see your ROM here sir Alin! THANKYOU!
Kernel works perfectly at 768Mhz, something that I couldn't OC to before. I tryed to OC to 806Mhz and my Fit rebooted automatically. :lol:
Now I'm trying to use 787Mhz to see what can happen.
EDIT: Can't OC over 768Mhz. At 787 the G-Fit keeps running for 15 mins until it locks at whatever it's doing for forever and from 806 onwards it just reboots automtically. At least that's what my G-Fit does, don't know what about the others. Just sharing my personal experience so far with the Badass Kernel.
NM99 said:
I'll be sure to flash it soon.
Just a question, I flashed the tweaks on this thread and Fly-On Scripts.. After flashing the kernel, do I need to flash them again?
---------- Post added at 06:33 PM ---------- Previous post was at 05:34 PM ----------
Just a little update, just flashed the kernel. No problems at all, it feels smooth as it can be. I'm running it 68-768Mhz with no problems.
Click to expand...
Click to collapse
The kernel installs in its own partitions, it doesn't mess with the /system or /data. So you don't need to reinstall anything, only the kernel will be modified when flashing.
About the OC, the kernel uses the same clocks as the stock kernel, with a little tweaks for stability and battery life(Undervolt and refined AXI bus). I was expecting 768 to be the maximum, that's a physical limit. I can't do anything about it. Anyway, I added 748 MHz in case 768 is unstable for some of you.
Jhayzt said:
Wake up in the morning..
Open xda (5670 forum)..
see something new anddd..
ohmyglob! FINALLY! SIR ALIN.P's KERNEL!
Best morning news and goodness in the morning! ooohh yeah! Time to test this baby out! By the way, I'd love to see your ROM here sir Alin! THANKYOU!
Click to expand...
Click to collapse
Thank you too!
I just ported my ROM too. The no-gapps might still have some problems, not sure about it. I had only two reports and 30 downloads, maybe the errors are /data related and individual.
I'll be away for two weeks to prepare for my exams, so I'll answer your questions then.
alin.p said:
The kernel installs in its own partitions, it doesn't mess with the /system or /data. So you don't need to reinstall anything, only the kernel will be modified when flashing.
About the OC, the kernel uses the same clocks as the stock kernel, with a little tweaks for stability and battery life(Undervolt and refined AXI bus). I was expecting 768 to be the maximum, that's a physical limit. I can't do anything about it. Anyway, I added 748 MHz in case 768 is unstable for some of you.
Thank you too!
I just ported my ROM too. The no-gapps might still have some problems, not sure about it. I had only two reports and 30 downloads, maybe the errors are /data related and individual.
I'll be away for two weeks to prepare for my exams, so I'll answer your questions then.
Click to expand...
Click to collapse
For 768 MHz which governor, minimum and maximum CPU frequency?
camera!
video camera dont work on cm9!
with this kernel!
[/url][/IMG]On CM10.1 RC6 of erikcas all works except Skype.
Please answer the question: For 768 MHz which governor and minimum CPU frequency?
ZmisiS said:
On CM10.1 RC6 of erikcas all works except Skype.
Please answer the question: For 768 MHz which governor and minimum CPU frequency?
Click to expand...
Click to collapse
Governor....smartassH3 or badass
Min freq......122 or 68.....
Sent from my GT-S5670 using xda premium
alin.p said:
Alright, good to hear that.
Thanks for reporting. This means that the other versions will work too.
Click to expand...
Click to collapse
Thanks for such a speedy update... :good:
Hey guys, a new version of Crossbreeder has been released.. Can I install it or it can give problems with the kernel?

[KERNEL] [DISCONTINUED] [06/15/14] AURORA R11v2

Aurora Kernel - N900xxx TW
This kernel is intended for battery-saving with keeping maximal possible performance
based newest NE6 sources
Linux 3.4.93 Update
Optimized Cortex-A15 4.10 LINARO Toolchain
see Features for details
​
Features:
- based on newest NE6 sources
- Linux upstream patches to 3.4.93
- SELINUX permissive
- Synapse support
- init.d support
- OC up to 2.8GHZ
- GPU OC from Snapdragon 801 (up to 587MHz)
- complete dts based kernels Voltage control by faux123
- IntelliPlug driver (for mpdecision replacement) by faux123
- IntelliThermal control driver (better than stock thermal control) by faux123
- Hardlimit CPU control interface by yank555:
- TouchWake by yank555
- PowerSuspend driver by yank555 with default set to hybrid-mode (autosleep and panel hook)
- FauxSound
- UKSM
- FastCharge Support
- LED Control
- mdnie Control by wootever
- Many governors: nightmare, dancedance, intelliactive, intellidemand, uberdemand, wheatley, smartmax, smartmax_eps, lionheart, pegasusq, darkness, hyper, badass, abyssplugv2, adaptive, conservative, ondemand, userpsace, powersave, interactive, performance
- More schedulers: noop, deadline, row, cfg, bfq, fiops, sio, zen
- enabled all TCP congestion controls: veno, westwood, cubic, reno, bic, highspeed, hybla, htcp, vegas, scalable, lp, yeah, illinois
- TCP congestion control default to veno
- new ARMv7 l2 cache
- Filesystem support: Ext2, Ext3, Ext4, FAT32, NTFS, USB OTG, exFAT with many fixes and optimizations (AIO, etc...)
- added multiple compression support for example LZ4, many patches
- F2FS support
- faster glibc
- frandom
- faster crypto libs
- Kernel XZ
- Ramdisk LZ4
- many fixes, updates, patches and enhancements from many sources
- many I already forgot
Check Synapse and thread to know all features
Changelog:
this post
Synapse profiles:
this post
DOWNLOADS
Direct downloads, look at my hosting:
mojosmirror.com
Downloads @ dev-host
​
Source: Github
Credits and many thanks to:
Much thanks to faux123 and yank555 for their great kernel
thanks to wootever for having always nice and useful commits
thanks to Imoseyon for having always nice and useful commits, too
thanks to civato for helping me starting here with studying his code
thanks to Myfluxi, labodj and Cl3Kener for commits
thanks to UpInTheAir for all his work with his Synapse interface
thanks to GuneetAtwal for some single picks
thanks to franciscofranco, zamcum, ZaneZam, CM-team, Codeaurora, ... and everyone else I forgot!
PM me, if you find your work not mentioned here
XDA:DevDB Information
Aurora Kernel Note 3, Kernel for the Samsung Galaxy Note 3
Contributors
MojoManagement
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R11v2
Stable Release Date: 2014-06-15
Created 2014-05-09
Last Updated 2014-08-29
Reserved
Reserved
Changelog
R11 (aka Synapse release)
NOTICE:
Due to heave Synapse changes again, I recommend to clear Synapse data, before you flash
If you feel unsnappy, raise Touchboost values, completely set both down to 300MHz at init
Synapse settings added & reworked (spent whole day into Synapse primarily)
Synapse can now make a flashable zip from your backup profile to share with others (look under tab Synapse)
Removed some sound pre-settings and removed FauxSound control for now to prevent still unknown issues
a few more fixes
R10 (beta)
NOTICE:
I recommend to clear Synapse data!!!
Synapse should now have enough options for daily settings
So please dont mix apps for setting kernel features
Synapse settings added (very hard work.....half day wasted here...)
S-Browser crash fixed on S5 ports
Sound issues fixed and quality should be improved
completely switched to UKSM now
a few more fixes and patches from different sources again
PS:
Please dont complain about voltage control in Synapse
If you want to experiment with voltages, you can set them one by one yourself
R9 (beta)
NOTICE: this will break some of Faux Control App functions, especially frequency setting, until Faux updates
If you dont want to run a beta, stick with R8 until stable release
There is currently not voltage, thermal, screen, zswap control in Synapse!
update to Linux 3.4.92
Synapse is back (but not everything is implemented), check yourself, big thanks to UpInTheAir, which made a very detailed Synapse layout, which I used as base
Hardlimit Interface update to 2.0a, you can now set screen on and screen off max/min frequencies separately, wakeup kicks, touchboosts, DVFS lock... check Synapse
GPU OC with Snapdragon 801 values (up to 587MHz)
Ramdisk is now LZ4 compressed (need to check kernel for LZ4, too)
Led Control updated to V1.2
IntelliPlug updated to newest version
Logger can be enabled/disabled through sysfs interface
many fixes and patches from different sources again
R8
finally working NE6 base with all known features
R7
updates base to NE6
same as R6
R6
switched to faux123-yank555 kernel as new base
over 300 commits added, patches, fixes, enhancements, etc...
see features
r5
lower power frequency 268,8MHz should work now as expected
lowered voltage for 268,8MHz (its really low, report if unstable)
new govs: lagfree and smartassv2, both tuned
updated and optimized fiops scheduler (which I recommend for internal)
optimized BFQ scheduler (which I recommend for external...)
linux update to 3.4.91
CIFS support (experimental)
enabled ksm (experimental)
swap support
updated toolchain to Linaro 4.9.1 05/2014
LZ4/LZO updates
some sound patches
many arm patches
some memory patches
more I forgot ...
r4
more fixes and enhancements
more govs: intelliactive, abyssplugv2, conservativex, adaptive
Dynamic FSYNC is back
permanent async FSYNC from HTC
PowerSuspend updates: hooked to AutoSleep and Panel, first sleep hook wins
experimental low power frequence
zen scheduler added
few more things
r3
over 60 fixes, patches and enhancements since r2
LZ4
crypto optimizations
faster glibc
very fast random generation (10-50 times faster)
gpu patches
linux update
many more
r2
over 50 fixes, patches and enhancements at all from beta
support for N900T
updated busybox (problems fixed)
updated ramdisk
mpdecision improved (also recommend Intelli Hotplug)
more compiler improvements
scheduler patches
dynamic fsync disabled (more later)
cpu patches for msm
enabled last kernel message
many more
Community profiles for Synapse:
How to use shared profile?
Flash shared profile in recovery
Reboot to system
OpenSynapse
Go to tab "Synapse"
Check if last backup says "flashed" at the end (time buggy at the moment sorry)
Press "Restore & Close Synapse"
Open Synapse
Press X[ Cancel/B] at the top to use restored settings (if you press "✓ Apply" your last settings will be restored)
R11:
gianton:
Here's my current setup I'm testing on r11. It's more for battery saving, if you play lots of games set the governor to intelliactive.
Click to expand...
Click to collapse
Link to post for download
Tried to download but link empty
Sent from my SM-N9005 using Tapatalk
Does it have ntfs r/w support?
Sent from Hacker OS
IzArsha said:
Does it have ntfs r/w support?
Sent from Hacker OS
Click to expand...
Click to collapse
Should work if I did not make any mistake
panjaby said:
Tried to download but link empty
Sent from my SM-N9005 using Tapatalk
Click to expand...
Click to collapse
Downloads tested, all links should be working
Awesome kernel. Just one question, does it support GPU OC?
blogslogger said:
Awesome kernel. Just one question, does it support GPU OC?
Click to expand...
Click to collapse
Not yet, because I remember problems with frequencies are not used and also decrease performance with gpu set to 550
I just find the correspondending post by sorg
sorg said:
http://forum.xda-developers.com/member.php?u=3986004
About GPU overclock:
My phone is Samsung SHV-E330S, which is basically GT-N9005 in S4 case, so 99% hardware is the same.
According to my investigation in GPU overclocking, frequencies are handled fully inside RPM firmware. Frequencies in .dtsi files aren't used. RPM uses its own frequency table and cannot be changed from linux side. So, your GPU OC simply doesn't affect actual GPU frequencies. Linux GPU governor will think it uses new frequencies and will actually switch to a wrong frequency (because RPM will use hardcoded unmatched freq table) - so everything will go wrong (as you already noticed, probably).
I've monitored GPU/PLL hardware registers and saw, they work according RPM's table and not affected by .dtsi settings.
There is the only way to overclock SD800 GPU is by modifying PLL settings (as it was done for SD600 GPU). There is PLL for highest GPU powerlevel's frequency which used solely by GPU (just like in SD600). But performance increase is not so high as it could be from increasing RAM frequency OC (which i didn't manage to tweak yet).
P.S.: I don't know about N9005, but in E330S standard highest frequency is 550MHz (according to PLL settings) instead of 450MHz as advertized in MSM8974 (not AB or AC), although in .dtsi files max frequency is 450MHz. Good bonus from Samsung
Probably, in N9005 it's the same.
Click to expand...
Click to collapse
I might have a look into that in the future
Does it work with ND5 update
bhasg1007 said:
Does it work with ND5 update
Click to expand...
Click to collapse
Yeah, I am on ND5 rom with ND5 bl and NC2 modem
Downloaded Thanks for the reply will try now
Can I flash this kernel over lean kernel?
Tia
Sent from my SM-N9005 using XDA Premium 4 mobile app
Cool! A new kernel! gonna try it now and will be back with results in a day or two
Sent from my SM-N9005 using XDA Premium 4 mobile app
ghalib87 said:
Can I flash this kernel over lean kernel?
Tia
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Of course
MojoManagement said:
Downloads tested, all links should be working
Click to expand...
Click to collapse
Apologies. The fault must be on my end.
If I open the first link with chrome it goes blank with mojo wesite bit if I open the link directly with es downloader it downloads
Sent from my SM-N9005 using Tapatalk
MojoManagement said:
Not yet, because I remember problems with frequencies are not used and also decrease performance with gpu set to 550
I just find the correspondending post by sorg
I might have a look into that in the future
Click to expand...
Click to collapse
Thankyou for your patience. It was quite helpful to learn a new thing.
I have got a problem when put on usb charge it stays on high frequency and instead of charging, the phone battery gets dischaged slowly. anything i have to do.

[Kernel][3.0.101] faZevoLv.kernel [5.0.x]

faZevoLv.kernel​
This is a new kernel based off the more stable Hashcodes kernel rather than the previous kernel named thomasin kernel which was based off MWisbest's kernel source which was unstable and caused many random reboots for me and a few other users. This is why this kernel was created, fast, feature packed, updated and most importantly STABLE. no random reboots.
Features and Updates
3.0.101 patches from franciscofranco
OMAP4460 overclocking from MWisbest
Makefile: Linaro build flags
Optimised LPDDR2 RAM timising for a 12% throughput increase
tweaked CFQ tunables from franciscofranco
cpuidle: update to saner values and optiisations
binder: fix memory leak
update LZO compression to upstream
ARM: enable unaligned memory access
use GNU implementation of lib/string & lib/memcpy
force kernel to follow unaligned code path
cfg80211: fix memory leak
ARM memset fixes
readahead: make context readahead more conservative
vmalloc: updates and fixes
net/loopback: set mtu to 64k
CPU hotplug: update debug
cpufreq: optimise frequency table verify and updates
vmscan: allow it to sleep if running too long
SELinux: updates and workarounds
omap4-common: activate scu speculative linefills
omap4-comon: enable full zeroes write mode
omap4-common: tune values to fit changes without double linefill
OMAP4: update ARM errata options
OMAP4 NAND updates
Add ultra-KSM
import lowmemorykiller from 3.4 kernel and tune & update
readahead: add dynamic read-ahead
dynamic management of dirty page writebacks
add support for lz4 compressor and decompressor module
add lz4 cryptographic api
use lz4 for kernel compression
add Lagfree governor
SIOplus i/o schedular and tune
ARM: implement optimised percpu variable access
permanent filesystem TRIM
Optimise apply_stack() for size and speed
network speed tweak
wakeup: use irqsave/irqrestore for events_lock
add Hyper governor
interactive governor fixes and updates
net: add APIs for manipulating skb page fragments
random: entropy tweaks
increase clock rate for dpll_core_m6x2_ck for OPP100
use SLUB allocator as default
use RCU boost
lib/sha1: use the git implementation of SHA1 as it is faster
ashmem: fix deadlock when low memory
bcmdhd: decreased wakelocks
mmc: decrease wakelock timeout
bcmdhd: workaround for broken AC video queue in IBSS mode
pcm_native: code fix
OOM tweaks: many oom tweaks and fixes (5 commits)
procfs: speed up /proc/stat
ARM: add optimised swahb32()
ARM: implemented cpu topology for multicore devices (12 commits)
introduce effective timer slack and PR_GET_EFFECTIVE_TIMERSLACK
introduce timer slack control
Dynamic management of timer slack
XDA:DevDB Information
Advanced kernel for lollipop, Kernel for the Amazon 7" Kindle Fire HD
Contributors
faZevoLv, Hashcode
Version Information
Status: Stable
Current Stable Version: 002
Stable Release Date: 2015-03-01
Created 2015-02-27
Last Updated 2015-02-27
Frequencies
> 350mhz (default min)
> 525mhz
> 768mhz
> 998mhz
> 1200mhz (default Max)
> 1350mhz
> 1500mhz
> 1632mhz
> 1747mhz
Governors
> Conservative
> Ondemand
> Powersave
> Interactive (default)
> Performance
> Hotplug
> Hyper
> Lagfree
I/O Schedulers
> CFQ (default)
> NOOP
> Deadline
> SIOplus
TCP Congestion Algorithm
westwood (default), reno, bic, cubic, htcp, vegas, veno, yeah​
Has it fixed battery life? As it was draining significantly than stock kernel..
You rock dude! Flashing right away.
xWolf13 said:
Has it fixed battery life? As it was draining significantly than stock kernel..
Click to expand...
Click to collapse
Yeah deep sleep is fixed, in the other kernel it did not go into deep sleep which was where the battery drained.
So when will it be completed? (And if it is completed, when can we download?) I'm itching to test it out.
Fireator said:
So when will it be completed? (And if it is completed, when can we download?) I'm itching to test it out.
Click to expand...
Click to collapse
Go to the downloads section at the top of the OP (the black bar) and download it
faZevoLv said:
Go to the downloads section at the top of the OP (the black bar) and download it
Click to expand...
Click to collapse
Thanks!
faZevoLv.kernel.002 is out!
Check the features list for the updates, the download link as always is in the downloads section
So how high does the GPU overclock to? And where can I go to change the frequency? Can I use trickstermod app?
BTW, its a pretty good kernel. Nice and smooth. Ever better when I use Seeder. Only thing I noticed was that it reboots every time I try to overclock it to 1747Mhz. 1500Mhz is the most stable for me so I'm sticking with it for now. Keep up the good work!!
Fireator said:
So how high does the GPU overclock to? And where can I go to change the frequency? Can I use trickstermod app?
BTW, its a pretty good kernel. Nice and smooth. Ever better when I use Seeder. Only thing I noticed was that it reboots every time I try to overclock it to 1747Mhz. 1500Mhz is the most stable for me so I'm sticking with it for now. Keep up the good work!!
Click to expand...
Click to collapse
ive not added the option to set your own gpu overclock yet, but it will be implemented in a future release thankyou!
Thanks a lot. Very stable and fast so far. I couldn't install double tap to wake. Your old kernel supports this right? Or did I use it elsewhere? Sorry been flashing lots of ROMs lately.
**seems my kindle can't handle a high oc for even short bursts. I set it to 1747 and 10 seconds later it went to bootloop. Shutting it down manually then restarting didn't work. Had to reboot in recovery. But I don't pretend to know precisely what I'm doing.
Have you or anyone else tested above 1500? And if it's working could you share the exact settings? Thanks.
KLit75 said:
Thanks a lot. Very stable and fast so far. I couldn't install double tap to wake. Your old kernel supports this right? Or did I use it elsewhere? Sorry been flashing lots of ROMs lately.
**seems my kindle can't handle a high oc for even short bursts. I set it to 1747 and 10 seconds later it went to bootloop. Shutting it down manually then restarting didn't work. Had to reboot in recovery. But I don't pretend to know precisely what I'm doing.
Have you or anyone else tested above 1500? And if it's working could you share the exact settings? Thanks.
Click to expand...
Click to collapse
Highest I can go to is 1632. No hiccups so far. Using Interactive Governer with Min Frequency set at 1200Mhz. At the moment I am testing out the new I/O Scheduler that was added, sioplus.
xWolf13 said:
Highest I can go to is 1632. No hiccups so far. Using Interactive Governer with Min Frequency set at 1200Mhz. At the moment I am testing out the new I/O Scheduler that was added, sioplus.
Click to expand...
Click to collapse
That's what I was doing except with a lower min value and it crashed. Not the system just the browser this time. I'm thinking not all kfhds are created equally.
Overall this has been pretty stable though when I keep it at or below 1500
KLit75 said:
Thanks a lot. Very stable and fast so far. I couldn't install double tap to wake. Your old kernel supports this right? Or did I use it elsewhere? Sorry been flashing lots of ROMs lately.
**seems my kindle can't handle a high oc for even short bursts. I set it to 1747 and 10 seconds later it went to bootloop. Shutting it down manually then restarting didn't work. Had to reboot in recovery. But I don't pretend to know precisely what I'm doing.
Have you or anyone else tested above 1500? And if it's working could you share the exact settings? Thanks.
Click to expand...
Click to collapse
This doesn't support double tap to wake as it stopped the device from going into deep sleep which caused the huge battery drain, sorry about that.
And yeah I usually stay at 1500, but the option is there for kindles that can handle higher
Not sure if this is related to kernel or ROM (beanstalk) but I'm getting incompatible a lot in play store. I tried market helper but apparently its not ready for lollipop yet. Is there a workaround or like I just considered now--lots of the apps aren't compatible with 5?
KLit75 said:
Not sure if this is related to kernel or ROM (beanstalk) but I'm getting incompatible a lot in play store. I tried market helper but apparently its not ready for lollipop yet. Is there a workaround or like I just considered now--lots of the apps aren't compatible with 5?
Click to expand...
Click to collapse
Yeah its because a lot of apps don't support lollipop, however most of them can be downloaded from your browser with a quick google search
I know this is way out there a year later, but any plan on updating to 5.1.1 CM based?

Categories

Resources