★ ☆ [Kernel] NuK3RN3L | s2w+s2s | 01-21-14 | 1,900MHz | 3.0.84 | Sense/AOSP | ☆ ★ - Thunderbolt Android Development

★ ☆ [Kernel] NuK3RN3L | s2w+s2s | 01-21-14 | 1,900MHz | 3.0.84 | Sense/AOSP | ☆ ★
-NuK3RN3L-
OVERCLOCKED
Edition
Now added!
Santod's Mecha ICS Sense/AOSP Kernel
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
DOWNLOAD:
NuK3rn3l mecha Final
sweep2wake
sweep2sleep
16 Governors
TCP Controls
Zram/Swap
Linaro
OTG
01-20-14
Use Trickster Mod to enable Wake options
You need an updated version of Busybox from the Play Store to use Trickster Mod.
Once that's installed, open it and run the installer.
Then you can install Trickster Mod, grant it su permissions, and use it to enable s2w+s2s and adjust all other kernel settings and tweaks.
Trickster Mod can be found here.
-NuK3RN3L-
stock frequencies
current build
~ or ~
NuK3RN3L-
Overclocked Edition
1,516MHz Default/Max
current build 6-25-13
+ LagFree
-NuK3RN3L-
Aosp NuK3RN3L, with working wifi on Aosp ICS and Jelly Bean.
Only use this for this one on Aosp roms. (CM9/CM10)
[URL="http://www.androidfilehost.com/?fid=23017610006233856"]NuK3RN3L ICS/JB Aosp OC Edition
[/URL]
These have been well tested, but use at your own risk!
I am not responsible for you or your device or anything that you do to it!
​
Included Governors:
SavagedZen
lulzactive
adaptive
hyper
scary
skywalker
brazilianwax
fantasy
SmartassV2
interactive
conservative
userspace
powersave
lionheart
ondemand
performance
How to install:
Flash zip in Recovery
Wipe cache and Dalvik cache
Reboot
This can be flashed to any current ICS roms!
Sense and AOSP!
NuK3RN3L was initially built for Sense roms, it has been confirmed to be working on Joe Black's latest CM9 build, though it needs a little camera patching...
Looks like we may have an AOSP/Sense ICS Hybrid Kernel.
On Aosp, Data and Netflix do work, camcorder not yet.
Will work on things with Joe to improve this.
Click to expand...
Click to collapse
I will try and update my git repo every 7-90 days until I automate it into my buildbox process...
Compiled using the 4.4.3 gcc toolchain.
Big thanks to my buddy Ziggy for his help and inspiration.
XXPachaXX for his work on msm7x30
Flemmard for his work on msm7x30
Also to HTC for finally releasing the source code...
HTCDEV Source files: my copy
​

FAQ:
Hopefully this answers some common questions.
I will add to this as kernel changes are made.
On UnSenseROM Jelato, there is a script in /system/etc/init.d called 00_vdd_levels if I recall the name exactly.
It's essentially a text file that should be either deleted, or remove the ## from the name of it so it doesn't run at boot.
Then whatever app is used to control governors and clock speeds will not get reset upon rebooting, whether you use the built in CPU Controls or No Frills, etc,..
On my other roms, the same rule applies, if there is a script in /system/etc/init.d with vdd levels in the name, remove it or rename it.
On NuSenseX ROM you should be careful touching anything in init.d, or you could break your wifi connection.
Soon, I intend to have kernels that will be baked into each rom, and there will be no need to concern oneself with any of this, and it's really nothing of much concern anyhow.
But I think that about covers most cases...
____
GOVERNORS
1) Ondemand:
Default governor in almost all stock kernels.
One main goal of the ondemand governor is to switch to max frequency as soon as there is a CPU activity detected to ensure the responsiveness of the system.
Effectively, it uses the CPU busy time as the answer to "how critical is performance right now" question.
So Ondemand jumps to maximum frequency when CPU is busy and decreases the frequency gradually when CPU is less loaded/apporaching idle.
Even though many of us consider this a reliable governor, it falls short on battery saving and performance on default settings.
One potential reason for ondemand governor being not very power efficient is that the governor decide the next target frequency by instant requirement during sampling interval.
The instant requirement can respond quickly to workload change, but it does not usually reflect workloads real CPU usage requirement in a short enough time and it may cause it to frequently change between highest and lowest frequency.
2) Conservative:
A slower Ondemand which scales up slowly to save battery.
The conservative governor is based on the ondemand governor.
It functions like the Ondemand governor by dynamically adjusting frequencies based on processor utilization.
However, the conservative governor increases and decreases CPU speed more gradually.
Simply put, this governor increases the frequency step by step on CPU load and jumps to lowest frequency on CPU idle.
Conservative governor aims to dynamically adjust the CPU frequency to current utilization, without jumping to max frequency.
The sampling_down_factor value acts as a negative multiplier of sampling_rate to reduce the frequency that the scheduler samples the CPU utilization.
For example, if sampling_rate equal to 20,000 and sampling_down_factor is 2, the governor samples the CPU utilization every 40,000 microseconds.
3) Interactive:
(currently my recommended governor for best overall battery and performance)
Can be considered a faster ondemand. So - more snappier, less battery!
Interactive is designed for latency-sensitive, interactive workloads.
Instead of sampling at every interval like ondemand, it determines how to scale up when CPU comes out of idle.
The governor has the following advantages:
1) More consistent ramping, because existing governors do their CPU load sampling in a workqueue context, but interactive governor does this in a timer context, which gives more consistent CPU load sampling.
2) Higher priority for CPU frequency increase, thus giving the remaining tasks the CPU performance benefit, unlike existing governors which schedule ramp-up work to occur after your performance starved tasks have completed.
Interactive - It's an intelligent Ondemand because of stability optimizations. Why??
Sampling the CPU load every X ms (like Ondemand) can lead to under-powering the CPU for X ms, leading to dropped frames, stuttering UI, etc.
Instead of sampling the CPU at a specified rate, the interactive governor will check whether to scale the CPU frequency up soon after 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 very busy between exiting idle and when the timer fires, then we assume the CPU is underpowered and ramp to max frequency.
4) Userspace:
Instead of automatically determining frequencies, lets user set frequencies.
5) Powersave:
Locks max frequency to min frequency.
Can not be used as a screen-on or even screen-off (if scaling min frequency is too low).
6) Performance:
Sets min frequency to max frequency.
Use this while benchmarking!
7) SmartassV2:
Version 2 of the original smartass governor from Erasmux. Another favorite for many a people.
The governor aim for an "ideal frequency", and ramp up more aggressively towards this freq and less aggressive after.
It uses different ideal frequencies for screen on and screen off, namely awake_ideal_freq and sleep_ideal_freq.
This governor scales down CPU very fast (to hit sleep_ideal_freq soon) while screen is off and scales up rapidly to awake_ideal_freq (500 mhz for GS2 by default) when screen is on.
There's no upper limit for frequency while screen is off (unlike Smartass).
So the entire frequency range is available for the governor to use during screen-on and screen-off state.
The motto of this governor is another option for balance between performance and battery.
8) Lulzactive:
Basically interactive governor with added smartass bits and variable (as opposed to fixed amout) frequency scaling, based on currently occuring cpu loads.
Like smartass, it has a sleep profile built-in.
9) Lagfree:
Lagfree is similar to ondemand. Main difference is it's optimization to become more battery friendly. Frequency is gracefully decreased and increased, unlike ondemand which jumps to 100% too often. Lagfree does not skip any frequency step while scaling up or down. Remember that if there's a requirement for sudden burst of power, lagfree can not satisfy that since it has to raise cpu through each higher frequency step from current. Some users report that video playback using lagfree stutters a little.
____
So, Governors can be categorized into 3/4 on a high level:
1.a) Ondemand Based:
Works on "ramp-up on high load" principle. CPU busy-time is taken into consideration for scaling decisions.
Members: Ondemand, OndemandX, Intellidemand, Lazy, Lagfree.
1.b) Conservative Based:
Members: Conservative, Lionheart, LionheartX
2) Interactive Based:
Works on "make scaling decision when CPU comes out of idle-loop" principle.
Members: Interactive, InteractiveX, Lulzactive, Luzactiveq, Smartass, SmartassV2, Brazilianwax, SavagedZen.
3) Weird Category:
Members: Userspace, Powersave, Performance.
Click to expand...
Click to collapse
___
Changelog:
__
062513
Updated 1,516 OC'd Edition!
Added Governors:
LagFree
Lulzactive
SmartassV2
7 more modules built in
062213
Added 1,516 OC'd Edition!
Adjusted cpu frequency tables
Adjusted voltages
Enabled 1,516 MHz Overclock as Default
062113
Powersave governor added for those of you trying to squeeze more out of the battery, or only using the device on wifi.
062013
Interactive governor added for better response time, keyboard reaction, etc,..
​

Reserved...
​

NuK3RN3L is also now booting with AOSP JellyBean.
Stay Tuned!!!!

santod040 said:
NuK3RN3L is also now booting with AOSP JellyBean.
Stay Tuned!!!!
Click to expand...
Click to collapse
Any chance of a dual boot setup?
Check out the Devil kernel and recovery for the note 2......
Would be nice to have a slimmed down AOSP ROM and a Sense one for when you wanted it.

I'm not trying to be rude to anyone but let's keep the feature requests to a minimum until he gets the more important aspects worked out. There is a lot of testing going on with just what this kernel can do as we speak. I'm sure once things calm down the other features can be implemented.
Sent from my ADR6400L using Tapatalk 2

Says AOSP in the title. Can this be used with the CM9 in this thread?
Sent from my NusenseX Bolt using Tapatalk 2

arizonaomnia said:
Says AOSP in the title. Can this be used with the CM9 in this thread?
Sent from my NusenseX Bolt using Tapatalk 2
Click to expand...
Click to collapse
This can be flashed to any current ICS roms!
Sense and AOSP!
NuK3RN3L was initially built for Sense roms, it has been confirmed to be working on Joe Black's latest CM9 build, though it needs a little camera patching...
Looks like we may have an AOSP/Sense ICS Hybrid Kernel.
On Aosp, Data and Netflix BOTH work, camcorder not yet.
Will work on things with Joe to improve this.

Congrats on RLS brosif these guys are lucky you are still carrying the infected flame for this phone !!!!

santod040 said:
This can be flashed to any current ICS roms!
Sense and AOSP!
NuK3RN3L was initially built for Sense roms, it has been confirmed to be working on Joe Black's latest CM9 build, though it needs a little camera patching...
Looks like we may have an AOSP/Sense ICS Hybrid Kernel.
On Aosp, Data and Netflix BOTH work, camcorder not yet.
Will work on things with Joe to improve this.
Click to expand...
Click to collapse
Anyone know if it fixes the Gmail whiteout? I can live without the camcorder but the Gmail thing was too much.
Sent from my NusenseX Bolt using Tapatalk 2

Virus said:
Congrats on RLS brosif these guys are lucky you are still carrying the infected flame for this phone !!!!
Click to expand...
Click to collapse
Good to see you here @Virus.
I haven't seen you since my EVO days!

i flashed both the stock and oc'd versions of this kernel over joe black's cm9 (which was also clean flashed... even wiped my sd) and wifi isn't working. it flat out won't turn on.
i don't have my tbolt in service anymore, so without wifi, i can't use it at all. wifi worked with the included kernel on joe's cm9 rom.
i'm a little pressed for time at the moment, but if a logcat would be helpful, lemme know and i'll post one when i'm back from vacation at the end of the upcoming week.

namurt said:
i flashed both the stock and oc'd versions of this kernel over joe black's cm9 (which was also clean flashed... even wiped my sd) and wifi isn't working. it flat out won't turn on.
i don't have my tbolt in service anymore, so without wifi, i can't use it at all. wifi worked with the included kernel on joe's cm9 rom.
i'm a little pressed for time at the moment, but if a logcat would be helpful, lemme know and i'll post one when i'm back from vacation at the end of the upcoming week.
Click to expand...
Click to collapse
Yeah that's a known issue with flashing it seperate.
There's a couple things not included in the kernel zip, that have to be changed Rom side.
These changes are easily made and Joe should have an update posted soon with this kernel in it and the needed Rom files to have WiFi working.
Sorry for the inconvenience.
It's just become known it would work as well as it does.
Fixes and improvements to his Rom and this kernel are coming.
If he doesn't have it up soon, I'll post a patch for using this on his Rom.
Sent from my HTC6435LVW using xda app-developers app

sweet jesus, you are one amazing dev!
that was a lightning quick response, hah.
it's so nice to see our bastard child of a device still getting some love.

santod040 said:
NuK3RN3L is also now booting with AOSP JellyBean.
Stay Tuned!!!!
Click to expand...
Click to collapse
You know....if you WANTED to....you know, just for sh1ts and giggles.....you COULD post the version of this without working data, just to give a preview and let people play with it. I remember that Liquid did something similar with an early build of OCS for the Thunderbolt. Or not. Whatever you want to do is fine, of course.
*drooling*
Sent from my NusenseX Bolt using Tapatalk 2

namurt said:
sweet jesus, you are one amazing dev!
that was a lightning quick response, hah.
it's so nice to see our bastard child of a device still getting some love.
Click to expand...
Click to collapse
Yep, santod is the man, no doubt about it.
This device launched more than 2 years ago with froyo, was upgraded to gingerbread, eventually got ICS, and may yet see unofficial jellybean!? That's an amazing run for any phone IMHO.

santod040 said:
NuK3RN3L is also now booting with AOSP JellyBean.
Stay Tuned!!!!
Click to expand...
Click to collapse
where i can find thunderbolt aosp jelly bean ROM...
olredi tried this kernel on Jelato ROM and make ma fone awesomely blasting fast :good:

guinzo said:
where i can find thunderbolt aosp jelly bean ROM...
olredi tried this kernel on Jelato ROM and make ma fone awesomely blasting fast :good:
Click to expand...
Click to collapse
AOSP jellybean hasn't been released yet, they're still working on it.

quickdraw86 said:
Yep, santod is the man, no doubt about it.
This device launched more than 2 years ago with froyo, was upgraded to gingerbread, eventually got ICS, and may yet see unofficial jellybean!? That's an amazing run for any phone IMHO.
Click to expand...
Click to collapse
+1
Santod, Chief Executive Officer
Sent from my ADR6400L using xda app-developers app

Can anyone please test and see if Onavo works with this kernel? Thanks.
https://play.google.com/store/apps/details?id=com.onavo.android.onavoics

Related

[KERNEL][AOSP][EXT4] Kang Bang! 7/12/2011 [BFS/CFS][OC/UV][BFQ]

Here we go guys, new version of my BFS AOSP kernel (sense to come)
Been working hard on this kernel for quite some time, and Birdman helped out drastically (even though he broke stuff )
Big thanks to: Birdman, Slayher, Captainkrtek, Imoseyon (for the 2.6.35 port), Jake Day, Pershoot, and plenty of others I can't remember right now.
KangBang 0.8
Kanged workqueue 2.6.36.1 backport from Imoseyon
Kanged 3.0rc6 cpufreq/cpuidle backport from Imoseyon
Couple other adjustments
Added new CPU governor: LagFree. This new governor is based on conservative, and tweaked to lower the cpu frequency on suspend, and keep it over a minium value
during phone operation. This governor added some nice tweaks to be added to other governors, looking in to that.
Swap cache dropped more agressively via ck1 patch
More compiler optimizations
Decrease default dirty ratio via ck3 patch
Enable swaptoken only when swap is full via ck3 patch
Wifi voltage lowered
2.6.39 Conservative governor backported
Call Recording support added
2.6.39 bcm4329 (wifi) driver backported
Mecha: Add gan sound device.
Mecha: Allow varying of button backlight levels.
Mecha: Allow disabling of the back mic.
Mecha: Add gan sound device
Mecha: wifi: Improve BT-coex in A2DP mode
KangBang 0.7:
Added SmartAss back
Ondemand and interactive have sleep profiles again
Sound fix from birdman included
SLQB Memory Allocator re-added
KangBang 0.6:
Re-based to Ace kernel source, so I lost some of my changes for now (until i'm not so lazy and fix them)
There are a LOT of changes/additions.
Theres a new RCU boost, which is proving to be nice so far.
Changed the memory allocator to SLUB until I get SLQB ported in
As of right now, theres no auto sleep profile in ondemand/interactive. Both of these governors still need adjustments.
The clock frequencies are the default CM frequencies. Their table is populated correctly, and currently, I'm adding frequencies back in one at a time to make sure it will boot. This will take a while... bare with me guys
Lowered RR_Interval to 6 to increase latency. Might drop it to 4
Neon and VFP optimizations
OnDemand governor Threshold adjustments
CONFIG_HZ=300 instead of 100
Add Tiny Preempt RCU
RCU Boost Prio set to 50, Delay set to 300 (still playing with these)
Sound tweaks credit to CodeAurora/Birdman
GPU Memory allocation raised
Numerous fixes from CM kernel source
KangBang 0.5:
Reverted the GPU/Camera memory allocation adjustment, as it screwed up the camera.
Reverted to my old config file, as the extra slim one broke certain apps
Stabilized voltages
KangBang 0.4:
Full wifi/settings/MMS/etc. fix credit to beavis9k!!
Added V/R I/O Scheduler (still using BFQ as default for now)
BT Audio volume raised (Credit to Slayher)
Prevent memory leak on hotplug (thx Pershoot)
GPU/Camera memory allocations raised
Cleaned up my defconfig even more. This kernel is tiny, tinier than ever before. The actual kernel zImage is 1.9mb as opposed to the 2.2 it was before. This will allow a performance increase, as there is less the kernel is trying to crank out.
Initial release, 0.3:
Feature packed for the first release.
2.6.35.13 (latest upstream linux kernel)
System/Data/Cache mounted EXT4
Numerous EXT4 file system tweaks
Overclock up to 1.8 Ghz
Undervolted for battery life/stability
BFS v404 (HUGE performance increase from the v3xx BFS series)
Tiny RCU
SLQB Memory Allocator
BFQ v2rc1 I/O Scheduler (much nicer than the original BFQ)
Kernel speed defaulted to 1024, stock tbolt speed
OnDemand governor backported from 2.6.39, with sleep/wake code (kanged from Imoseyon's OnDemandX, thanks Imoseyon!)
Wifi driver updated to latest AOSP driver
AOSP-style BT driver (kanged from Slayher's kernel source, thanks Slayher!)
MULTIPLE fixes pulled in from CyanogenMod MSM7x30 kernel source (time compensation, ashmem flush, wifi n support, CPU-supported unaligned access, compensation for rounding on odd-frequency clocksources, etc.)
Interactive governor with sleep/wake code (kanged from interactiveX, thanks Imoseyon!)
Numerous BFS tweaks for better performance, and better support for android.
SD Card read-ahead buffer increased
FS read-ahead buffer increased
Some other things I probably can't remember right now (I should take better notes, I'll add more as I remember)
Whew. Pretty hefty initial release.
Secondly, I comply with GPL. Here is my source code. Feel free to kang away, just credit me, at least in your source if not anywhere else
http://bit.ly/lSXnZx
Now to the goodies:
Download link:
BFS:
http://bit.ly/nHxIV1
CFS:
not yet updated
Broken list in 2nd post, To Do List with it.
For the latest news/updates, or just to show some love, follow me on twitter! @Drod2169
If you like my work, please consider helping support my red bull addiction!
http://bit.ly/k5swff
Broken:
Car dock.
To Do List:
Sense/GB Sense/AOSP specific defconfigs
Add Simple I/O scheduler. V/R is already in, just not built with the kernel.
Add extra frequencies one at a time to make sure it will boot (WIP)
Looks like I have a new kernal to try out
Do I overclock the same way I overclock on IMO
Sent from my ThunderBolt using XDA App
dc iz 2 legit said:
Looks like I have a new kernal to try out
Sent from my ThunderBolt using XDA App
Click to expand...
Click to collapse
Post back your experiences, please
It's been an openish beta on twitter for a while, but this release version has quite a few nice additions.
I will bang this kang and let you know what's goodies.
Looking forward to the sense version - unless of course the cell standby battery drain issue is no longer there on CM7 using this kernel.
Big thanks to: Birdman, Slayher, Captainkrtek, Imoseyon (for the 2.6.35 port), Jake Day, and plenty of others I can't remember right now.
Click to expand...
Click to collapse
-.- ..........
Installed came from dream kernal...so far so good has alot of overclock options I'm on stock speeds right now right of the bat I notice its charging really quickly, no apps uninstalled yet
Edit: wifi connected right away but right when I turned it of had 3g
green but no data did reboot with wifi off and fixed
Edit: battery is really good on this kernal I'm getting 10min per percentage on medium to heavy use
Sent from my ThunderBolt using XDA App
FINALLY, about dam time!!
Will report back!!
Awesome work, cant wait for a sense version!
Berzerker7 said:
-.- ..........
Click to expand...
Click to collapse
Jake's been a big help and support to me in my kernel work. He taught me a lot when I first got started, and he's been nothing short of a great guy. While you have your opinions, I will continue to respect the man. Please don't clutter the thread with this talk.
Wow man running super fast, wasn't planning on leaving stock, but this has surpassed my expectations. Thanks a lot!
Sent from my ThunderBolt using XDA App
Downloaded, will try later or tomorrow and post back.
Thanks for your hard work!
Data seems to be a little flakey. Performance is smooth, will report back on WiFi and battery life
Sent from my ThunderBolt using XDA App
Derrtydozen said:
Data seems to be a little flakey. Performance is smooth, will report back on WiFi and battery life
Sent from my ThunderBolt using XDA App
Click to expand...
Click to collapse
From what I can tell, data handoff seems to be A LOT LESS flaky than on other kernels. Battery life will the true test for me.
Unrelated but related: Anyone have LPP FC upon EVERY reboot now? Works fine after it has been restarted.
I have experienced this across kernels/voltages/governors/CPU freq.
Awesome, just loaded it up.
Preferred tweak method......CM settings, setcpu, does it have speedtweak?
Thanks!!!!
Sent from my ThunderBolt using XDA Premium App
So does wifi not work at all with this kernal?
Bimmer323 said:
Awesome, just loaded it up.
Preferred tweak method......CM settings, setcpu, does it have speedtweak?
Thanks!!!!
Sent from my ThunderBolt using XDA Premium App
Click to expand...
Click to collapse
it does not.
I run ondemand governor, at min: 230mhz, max: 1024mhz (stock settings)
iastonish said:
So does wifi not work at all with this kernal?
Click to expand...
Click to collapse
been told by numerous people it works flawlessy. if you have issues, try flashing imoseyon's fixwifi zip from his kernel thread
I stand corrected, data is working fine, WiFi is working fine, battery seems good. The true test for battery will be tomorrow for work
Sent from my ThunderBolt using XDA App

[REF][SuperFriendly] Explanation of Governors, I/O Schedulers and Kernels [23-Nov]

Introduction
"It takes few hours to make a thread but it doesn't even take few seconds to say Thanks"- arpith.fbi
Click to expand...
Click to collapse
Code:
Don't be afraid to ask me anything.
I won't bite, but I might lick you.
Just thank me for this super brief thread.
Give credits to this thread by linking it if you're using any of my info.
Thank you to you too
Have you unlocked your bootloader of your current device ? If so, read it ! If not, learn the benifits ! :victory:
What is this thread about ? It is a very brief explanation of every governors and schedulers to let you find the best combo for your device.
I've been searching a lot about informations about Kernels, Governors, I/O Schedulers and also Android Optimization Tips. No matter its Google or XDA or other android forums. I will go into it and try the best I can to find these infos. So I thought of sharing it to here for the XPlay users.
My main reason to share this is to benefit users for better knowledge about Kernels, Governors, I/O Schedulers and Tips on Android Optimization. I'm not aware of whether where this should be posted, its related to kernels, governors and schedulers so I think it would be best if I share it to here. Yes, I wrote it word by word with references.Happy learning. :angel:
After months on XDA, no matter its in a development forum or Off Topic forum. Users kept on asking what's this what's that. And I'm sure that not all members will understand what is it until they bump into my thread
FAQs regarding on :-
-I/O Schedulers
-Kernel Governers
-Better RAM
-Better Battery
-FAQs
*Will add more when I found something useful.
Click to expand...
Click to collapse
I do a lot of asking by PM, to learn, it doesn't matter whether its a stupid one. (People who know me understands)
With my experience and lots of asking. I managed to find a lot of infos that we can use to optimize our phone.
I will try to explain as clear as I can.
Governors :-
-Smoothass
-Smartass
-SmartassV2
-SavagedZen
-Interactivex
-Lagfree
-Minmax
-Ondemand
-Conservative
-Brazilianwax
-Userspacce
-Powersave
-Performance
-Scary
-Lulzactive *
-Intellidemand *
-Badass *
-Lionheart *
-Lionheartx *
-Virtuous *
* Haven't gathered much needed information. Will add it later.
Explanation
OnDemand
Brief
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 the demand, then gradually scale the CPU down when it isn't needed.
Click to expand...
Click to collapse
Review
Brief says all. By a simple explantion, OnDemand scales up to the required frequency to undergo the action you are doing and rapidly scales down after use.
Conservative
Brief
It is similar to the OnDemand governor, but will scale the CPU up more gradually to better fit demand. Conservative governor provides a less responsive experience than OnDemand, but it does save batter
Click to expand...
Click to collapse
Review
Conservative is the opposite of Interactive; it will slowly ramp up the frequency, then quickly drops the frequency once the CPU is no longer under a certain usage.
Interactive
Brief
Available in latest kernels, it is the default scaling option in some stock kernels. Interactive governor is similar to the OnDemand governor with an even greater focus on responsiveness.
Click to expand...
Click to collapse
Review
Interactive is the opposite of Conservative; it quickly scales up to the maximum allowed frequency, then slowly drops the frequency once no longer in use.
Performance
Brief
Performance governer locks the phone's CPU at maximum frequency. While this may sound like an ugly idea, there is growing evidence to suggest that running a phone at its maximum frequency at all times will allow a faster race-to-idle. Race-to-idle is the process by which a phone completes a given task. After that it returns the CPU to extremely efficient low-power state.
Click to expand...
Click to collapse
Review
Good at gaming, Really good. Disadvantages are it may damage your phone if too much usage.
Powersave
Brief
The opposite of the Performance governor, the Powersave governor locks the CPU frequency at the lowest frequency set by the user.
Click to expand...
Click to collapse
Review
Set it to your desired minimum frequency and you won't have to look for your charger for once in a while.
Scary
Brief
A new governor wrote based on Conservative with some Smartass features, it scales accordingly to Conservative's way. It will start from the bottom. It spends most of its time at lower frequencies. The goal of this is to get the best battery life with decent performance. It will give the same performance as Conservative right now.
Click to expand...
Click to collapse
Review
Hmm.. Overall I don't see any difference. After I understand its main objective. I was very curious and decided to use it again. Results are the same.. No difference. Report to me if anyone has tested this.
Userspace
Brief
Userspace is not a governor pre-set, but instead allows for non-kernel daemons or apps with root permissions to control the frequency. Commonly seen as a redundant and not useful since SetCPU and NoFrills exist.
Click to expand...
Click to collapse
Review
Highly not recommended for use.
Smartass
Brief
It is based on the concept of the Interactive governor.
Smartass is a complete rewrite of the code of Interactive. Performance is on par with the “old” minmax and Smartass is a bit more responsive. Battery life is hard to quantify precisely but it does spend much more time at the lower frequencies.
Click to expand...
Click to collapse
Review
Smartass is rather the governer that will save your battery and make use of your processor for daily use. Like the brief explantion said " Smartass will spend much more time on lower frequencies." So logically you don't need for sleep profiles anymore.
SmartassV2
Brief
Theoretically a merge of the best properties of Interactive and OnDemand; automatically reduces the maximum CPU frequency when phone is idle or asleep, and attempts to balance performance with efficiency by focusing on an "ideal" frequency.
Click to expand...
Click to collapse
Review
This is a much favourite to everybody. I believe almost everyone here is using SmartassV2. Yes, it is better than Smartass because of its speed no scaling frequencies from min to max at a short period of time.
Smoothass
Brief
A much more aggressive version of Smartass that is very quick to ramp up and down, and keeps the idle/asleep maximum frequency even lower.
Click to expand...
Click to collapse
Review
In my personal experience, this is really useful for daily use. And yes, I'm using it all the time. It may decrease your battery life. I saw it OC itself to 1.4 gHz when I set it to 1.2. Good use. Recommended.
Brazilianwax
Brief
Similar to SmartassV2. More aggressive scaling, so more performance, but less battery.
Click to expand...
Click to collapse
Review
Based on SmartassV2. But its advantage is a much more performance wise governor.
SavagedZen
Brief
Another SmartassV2 based governor. Achieves good balance between performance & battery as compared to Brazilianwax.
Click to expand...
Click to collapse
Review
Not much difference compared to SmartassV2. But it is a optimized version of it.
Lagfree
Brief
Again, similar to Smartass but based on Conservative rather than Interactive, instantly jumps to a certain CPU frequency after the device wakes, then operates similar to Conservative. However, it has been noted as being very slow when down-scaling, taking up to a second to switch frequencies.
Click to expand...
Click to collapse
Review
Used it before. Like the name of the governor, I didn't experience any lag whatsoever. Another governor based on performance, but not battery efficient.
MinMax
Brief
MinMax is just a normal governor. No scaling intermediate frequency scaling is used.
Click to expand...
Click to collapse
Review
Well.. it's too normal that I can't really say anything about it..
Interactivex
Brief
InteractiveX governor is based heavily on the Interactive governor, enhanced with tuned timer parameters to optimize the balance of battery vs performance. 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.
Click to expand...
Click to collapse
Review
A better understanding from the brief to you users, this is an Interactive governor with a wake profile. More battery friendly than Interactive.
Due to current kernels doesn't have these governors. I will be delaying the explanation, its very interesting. If you want it ASAP, post below
-Lulzactive *
-Intellidemand *
-Badass *
-Lionheart *
-Lionheartx *
-Virtuous *
**********************************************************************************************************************************************************************
I/O Schedulers(thanks to droidphile)
Deadline
Goal is to minimize I/O latency or starvation of a request. The same is achieved by round robin policy to be fair among multiple I/O requests. Five queues are aggressively used to reorder incoming requests.
Advantages:
Nearly a real time scheduler.
Excels in reducing latency of any given single I/O.
Best scheduler for database access and queries.
Bandwidth requirement of a process - what percentage of CPU it needs, is easily calculated.
Like noop, a good scheduler for solid state/flash drives.
Disadvantages:
When system is overloaded, set of processes that may miss deadline is largely unpredictable.
Click to expand...
Click to collapse
Noop
Inserts all the incoming I/O requests to a First In First Out queue and implements request merging. Best used with storage devices that does not depend on mechanical movement to access data. Advantage here is that flash drives does not require reordering of multiple I/O requests unlike in normal hard drives.
Advantages:
Serves I/O requests with least number of cpu cycles. (Battery friendly?)
Best for flash drives since there is no seeking penalty.
Good throughput on db systems.
Disadvantages:
Reduction in number of cpu cycles used is proportional to drop in performance.
Click to expand...
Click to collapse
Anticipatory
Based on two facts
i) Disk seeks are really slow.
ii) Write operations can happen whenever, but there is always some process waiting for read operation.
So anticipatory prioritize read operations over write. It anticipates synchronous read operations.
Advantages:
Read requests from processes are never starved.
As good as noop for read-performance on flash drives.
Disadvantages:
'Guess works' might not be always reliable.
Reduced write-performance on high performance disks.
Click to expand...
Click to collapse
BFQ
nstead of time slices allocation by CFQ, BFQ assigns budgets. Disk is granted to an active process until it's budget (number of sectors) expires. BFQ assigns high budgets to non-read tasks. Budget assigned to a process varies over time as a function of it's behavior.
Advantages:
Believed to be very good for usb data transfer rate.
Believed to be the best scheduler for HD video recording and video streaming. (because of less jitter as compared to CFQ and others)
Considered an accurate i/o scheduler.
Achieves about 30% more throughput than CFQ on most workloads.
Disadvantages:
Not the best scheduler for benchmarking.
Higher budget assigned to a process can affect interactivity and increased latency.
Click to expand...
Click to collapse
CFQ
Completely Fair Queuing scheduler maintains a scalable per-process I/O queue and attempts to distribute the available I/O bandwidth equally among all I/O requests. Each per-process queue contains synchronous requests from processes. Time slice allocated for each queue depends on the priority of the 'parent' process. V2 of CFQ has some fixes which solves process' i/o starvation and some small backward seeks in the hope of improving responsiveness.
Advantages:
Considered to deliver a balanced i/o performance.
Easiest to tune.
Excels on multiprocessor systems.
Best database system performance after deadline.
Disadvantages:
Some users report media scanning takes longest to complete using CFQ. This could be because of the property that since the bandwidth is equally distributed to all i/o operations during boot-up, media scanning is not given any special priority.
Jitter (worst-case-delay) exhibited can sometimes be high, because of the number of tasks competing for the disk.
Click to expand...
Click to collapse
SIO
Simple I/O scheduler aims to keep minimum overhead to achieve low latency to serve I/O requests. No priority quesues concepts, but only basic merging. Sio is a mix between noop & deadline. No reordering or sorting of requests.
Advantages:
Simple, so reliable.
Minimized starvation of requests.
Disadvantages:
Slow random-read speeds on flash drives, compared to other schedulers.
Sequential-read speeds on flash drives also not so good.
Click to expand...
Click to collapse
VR
Unlike other schedulers, synchronous and asynchronous requests are not treated separately, instead a deadline is imposed for fairness. The next request to be served is based on it's distance from last request.
Advantages:
May be best for benchmarking because at the peak of it's 'form' VR performs best.
Disadvantages:
Performance fluctuation results in below-average performance at times.
Least reliable/most unstable.
Click to expand...
Click to collapse
Credits
-droidphile
-kokzhanjia
Reserved for kernel infos
Sent from my WT19i
Yes, we do have kernels with Lionheart, lulzactive and intellidemand.
Nice reference cheers.
Sent from Xperia Play (R800a) with Tapatalk
CosmicDan said:
Yes, we do have kernels with Lionheart, lulzactive and intellidemand.
Nice reference cheers.
Sent from Xperia Play (R800a) with Tapatalk
Click to expand...
Click to collapse
Really ? Okay will add it in later
Sent from my WT19i
kokzhanjia said:
Really ? Okay will add it in later
Sent from my WT19i
Click to expand...
Click to collapse
Yeah LuPuS has Lulzactive, Virtuous, Intellidemand, Lazy, Ondemandx, Lionheart and Badass added (but no mention of LionheartX).
Turbo kernel also has intellidemand but the parameters have been modified quite a bit (by me) to suit our snapdragon SOC's better. I think wedgess also put these changes into LuPuS too (at least one of the ICS/JB kernels he builds he said he did). The browser mode still has no effect AFAIK but in my experience it's more battery-friendly and better performance than on-demand (thanks mainly to dbus_input ramping). But many users have reported slightly better gaming experience with SmartAssv2.
Great reference, this will be of much help to new comers, thanks for the hard work you put into this.
CosmicDan said:
Yeah LuPuS has Lulzactive, Virtuous, Intellidemand, Lazy, Ondemandx, Lionheart and Badass added (but no mention of LionheartX).
Turbo kernel also has intellidemand but the parameters have been modified quite a bit (by me) to suit our snapdragon SOC's better. I think wedgess also put these changes into LuPuS too (at least one of the ICS/JB kernels he builds he said he did). The browser mode still has no effect AFAIK but in my experience it's more battery-friendly and better performance than on-demand (thanks mainly to dbus_input ramping). But many users have reported slightly better gaming experience with SmartAssv2.
Click to expand...
Click to collapse
Yeah. Saw your work Nice one.. anymore in depth infos about kernels at here ? I want to add a bonus one for this..
paragroth said:
Great reference, this will be of much help to new comers, thanks for the hard work you put into this.
Click to expand...
Click to collapse
Thanks
Coloured signatures are nice
Nah that's pretty much it
Sent from Xperia Play (R800a) with Tapatalk
Throughout my experience(mainly from observing CPU speeds during music playback), I found that:
Scary:
Ramps up to max after reaching a threshold (50/60% CPU load) then slow scales down to match as 50-80% CPU Load @ X MHz. After a while if load lowers (30-40%), it will clock down to match the 50-80% load. You will see a lot of 100% @ low MHz with this governor.
SavagedZen:
It maintains a 80-90% CPU Load @ X MHz for a fairly constant load. This one also scales based on the Max CPU Freq. settings. So the lower your Max CPU Freq, the better it is at maintaining the CPU Load/MHz balance (for music playback at least).
I didn't look at the source, so these are just from observations only. So I might be talking out of my ass.
Also, having good CPU Load at appropriate CPU Speeds may or may not contribute to battery life. No experiments showed that yet iirc.
Monitoring done via "Diagnosis - System Information" an app that generates an overlay with whatever information your want ie cpu load, speed, memory free, used, disk io, network io, etc.
Refresh rate kept at 5 seconds to keep CPU Load interference minimal (lower than ICS/JB CPU Info overlay from Development, Settings tab).
Great thread, this should be sticky!
jabberwocky_one said:
Throughout my experience(mainly from observing CPU speeds during music playback), I found that:
Scary:
Ramps up to max after reaching a threshold (50/60% CPU load) then slow scales down to match as 50-80% CPU Load @ X MHz. After a while if load lowers (30-40%), it will clock down to match the 50-80% load. You will see a lot of 100% @ low MHz with this governor.
SavagedZen:
It maintains a 80-90% CPU Load @ X MHz for a fairly constant load. This one also scales based on the Max CPU Freq. settings. So the lower your Max CPU Freq, the better it is at maintaining the CPU Load/MHz balance (for music playback at least).
I didn't look at the source, so these are just from observations only. So I might be talking out of my ass.
Also, having good CPU Load at appropriate CPU Speeds may or may not contribute to battery life. No experiments showed that yet iirc.
Monitoring done via "Diagnosis - System Information" an app that generates an overlay with whatever information your want ie cpu load, speed, memory free, used, disk io, network io, etc.
Refresh rate kept at 5 seconds to keep CPU Load interference minimal (lower than ICS/JB CPU Info overlay from Development, Settings tab).
Click to expand...
Click to collapse
Nono you are right. I read these before and your observation is just about it, thanks for the info
chabbe11 said:
Great thread, this should be sticky!
Click to expand...
Click to collapse
Thank you
Sent from my WT19i with Real Xperia r1
Am I setting it up the right way?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I prefer using that minimum and maximum.
And would this screen off profile work, even if I have configured the main minimum? The 100mhz for screen off really saves a lot of my battery.
Sent from my R800i using Tapatalk 2
Gr8 helped me a lot in understanding alll of this .....
bhavei said:
Am I setting it up the right way?
I prefer using that minimum and maximum.
And would this screen off profile work, even if I have configured the main minimum? The 100mhz for screen off really saves a lot of my battery.
Sent from my R800i using Tapatalk 2
Click to expand...
Click to collapse
Yes it is right. I didnt really tried the other way that you mentioned, because i have No-Frills pre-installed in my settings..but i see it worked. Of course it will save battery.. Nice
piku2008 said:
Gr8 helped me a lot in understanding alll of this .....
Click to expand...
Click to collapse
Will add more soon About kernels, Is there any BFS kernels around here ? Most kernels are CFS..
Sent from my WT19i with Real Xperia r1
kokzhanjia said:
About kernels, Is there any BFS kernels around here ? Most kernels are CFS..
Click to expand...
Click to collapse
There was, I ported it over a few months ago. But I removed it because it was causing priority issues. The latest BFS patch for our kernel has some critical bugs, so I ditched it. When I get ext# fixed in .60 kernel up and going I will probably take another crack at it, backporting one of the more recent 3.x BFS versions.
One of the LuPuS kernels might still have na laternative BFS version, but I think wedgess stopped building it for the same reason as me.
CosmicDan said:
There was, I ported it over a few months ago. But I removed it because it was causing priority issues. The latest BFS patch for our kernel has some critical bugs, so I ditched it. When I get ext# fixed in .60 kernel up and going I will probably take another crack at it, backporting one of the more recent 3.x BFS versions.
One of the LuPuS kernels might still have na laternative BFS version, but I think wedgess stopped building it for the same reason as me.
Click to expand...
Click to collapse
I see, there are really few BFS based kernels out there. BFS is better in my opinion so i would like to elaborate more about BFS to attract more users.
Btw, one guy in Xperia Mini, Mini Pro and Active forums had already successfully making it up and running for stock and CM ROMs. Its already hitted version 2.3
Maybe you could get some help from him ? Name is Mesa Kernel.
Sent from my WT19i with Real Xperia r1
kokzhanjia said:
I see, there are really few BFS based kernels out there. BFS is better in my opinion so i would like to elaborate more about BFS to attract more users.
Btw, one guy in Xperia Mini, Mini Pro and Active forums had already successfully making it up and running for stock and CM ROMs. Its already hitted version 2.3
Maybe you could get some help from him ? Name is Mesa Kernel.
Sent from my WT19i with Real Xperia r1
Click to expand...
Click to collapse
I was using v0.313 of BFS, it wasn't that hard - just had to adapt the patch for the Xperia's stupid kernel. That version is so unstable and buggy, in fact all 2.6.x BFS patches were so problematic that the official page has removed them.
I'll check it out, if he back-ported BFS for Linux kernel 3.0 and has them on GitHub, otherwise it would be easier just to do it myself. But I have other more important concerns for Zeus development right now, BFS doesn't really bring any significant performance boost (which is why it is continually rejected from AOSP inclusion).
CosmicDan said:
I was using v0.313 of BFS, it wasn't that hard - just had to adapt the patch for the Xperia's stupid kernel. That version is so unstable and buggy, in fact all 2.6.x BFS patches were so problematic that the official page has removed them.
I'll check it out, if he back-ported BFS for Linux kernel 3.0 and has them on GitHub, otherwise it would be easier just to do it myself. But I have other more important concerns for Zeus development right now, BFS doesn't really bring any significant performance boost (which is why it is continually rejected from AOSP inclusion).
Click to expand...
Click to collapse
Oh... i didnt know that.. anyway, I don't think he has his github set up. I didnt saw a link to his github on his thread. And isnt BFS aimed for forward looking(like only performing on a task that is given without any concerns) ? I read about it at google docs about it. And i don't really know how to explain it clearly..
Good luck in your development my frirend. And this thread has been moved to General section. Hope you can find it and Nice to have another friend
Sent from my WT19i with Real Xperia r1
This is nice info,
Thanks
Thanks man. This is awesome. Much appreciated

benchmark lovers

while I realize that many people hate benchmarks the truth in my humble opinion as a windows hacker and android enthusiast is that benchmarks, run properly, can tell you a whole lot. there is some variances but usually that is from screen brightness settings, running at different core temps, background apps, widgets, and waving the accelerometer around like you just don't care lol. and you can say all you want to synthetic means nothing but the fact is even manufacturer's use benchmarks in their testing of new chips as well. just look at the current benchmarks from sd 600 vs sd 800 from qualcom. so I have decided to carefully benchmark every kernel myself to find what gives ME the best user expieriance. maybe it will help the dev's, maybe not. maybe it will help you, maybe you hate my dog and want to skin my cat.
a benchmark can tell you how well the kernel makes use of the hardware so for testing purposes I have used stock rom on all tests. I have set up my cold box for testing so that the cpu and gpu do not suffer and return quickly to normal and have set brightness at 50. testing is done stationary against the back of the cold box proped so that cool air flows over the systemboard. for testing purposes there is only the stock clock widget and micro cpu monitor and a few battery temp/sytem stats apps running. after each benchmark the tablet memory was swept. all benchmarks were run 3 times and the highest score given is used here unless there was a wild varient and then it was tracked down and all benches ran again. after contemplating it i ran some of these plugged up to the ac on my cold box and sometimes i forgot to plug it up. and some using debugging but i honestly doubt that had an effect. so at any rate my benches will probably be a little lower than yours on all these kernels as im running stuff to keep me informed in the background
im also not really comparing custom kernels to one another but I do to stock kernel, every last one of them are great and offer a lot of features you cant get with stock. all offer performance above stock if the proper settings are used and the overclocks are not to extreme for the framework. they are all also still works in progress so I think they will improve with the developers attention as time goes by. i started with stock kernel and ran antutu, quadrant, velimo, 3d mark ice storm, 3d mark ice storm extreme, basemark x, gfxbench 2.7.0 t-rex hd onscreen, gfx 2.7 egypt hd onscreen
stock kernel
stock ran well and i liked it, but i hated having to long press wifi to toggle and short press takes you to settings, wtf google?
edit.... so at any rate my benches will probably be a little lower than yours on all these kernels as im running stuff to keep me informed in the background
whatever flo 002 kernel
the kernel ran smooth and i liked it. i have the same complaints about it as i do stock. wtf google?
so on this kernel as you can see it functioned better than stock on every single benchmark. some were close but just a little better is...well...better.
jassy release 5 kernel
this kernel is set up to use an external kernel control app. it will not function worth a hill of beans without it in my testing. and even further than that it seems to not like trickster mod for me as it bench's higher with faux kernel control app paid version. real world expierance is good. fauxclock is set to 1.89 ghz CPU OC. cpu ondemand governor. snake charmer and mpdecision on. intelithermal at 60 and 80 respectfully. gpu at 487. gpu simple governor. fiops i/o at 512 read ahead. as you can see in cpu and gpu performance it face smashes stock kernel then kicks it while its down and makes it cry for momma. i dont know what the dude pasted into this kernel but i like it. jassy worked hard so we could have a full featured kernel that works well. release 6 = win, release 5 o yeah baby performance even ondemand. i could still kick this to performance governor lol
elementalx 0.7 kernel
settings with no external kernel control app.
1988 cpu overclock on each core. 487 gpu overclock. simple gpu governor. stock bus. stock voltage. no stw, dtw. the kernel ran well in real world performance. STW and DTW are awsome features by the way and i really like this kernel but didnt install them for testing purposes, one less potential irritation. as you can see it actually lost a bit from stock performance though in every benchmark except basemarkx and gfxbench 2.7 t rex. that tells me there is a problem with cpu performance in this kernel. also look at the cpu vs gpu in antutu vs stock kernel. so what i like this kernel and with lower clocks, dude it rocks. stw and dtw are wins.
elementalx 0.7
settings with no external control app.
1890 cpu overclock on each core. 487 gpu overclock. ondemand governor. stock bus.stock voltage. no stw, no dtw. again the kernel ran well in real world performance but as you can see it took a serious hit in performance at this cpu clock setting. the gpu features continue to score high though
elementalx 0.7 kernel
settings with no external kernel control app.
1728 cpu overclock on each core. 487 gpu overclock. ondemand governor. stock bus. stock voltage. no stw, dtw.
as usual really nice running and here the voltage values are more sane i guess. bested stock in every bench. i figure 1.9 ish before the poo poo hits the fan and performance benches go south rather than north. that seems about the same for the other kernels ive tested too. flar2 really has a winning kernel here with stw and dtw. highly recommend giving it a try
3flo v4 kernel
not testing this one yet as my boy doesn't even have the nexus 7 2013 but I tell ya, I got a good feeling about him. seems dedicated and excited.
Edit...he just got a mpdecision kernel booting and posting good scores but has a cores on touch problem for me. Very beta but it shows that even without a device you can build. Still got a good feeling about this one.
faux123 flo jb 4.3 001 kernel ulta
not coming. I can boot it and even run at highest settings but antutu ehh and im tired lol. maybe ill do it if the overclock structures are changed in some way but ehh not interested in this high on this chip.
faux123 flo jb 4.3 001 ES
settings. faux 123 kernel control paid version. 1.512 ghzcpu. mpdecision off. cpu governor ondemand. snake charmer on. stock voltages. intelli thermal 60 and 80. gpu 400 and ondemand. fiops I/o 512 read ahead.
so here you can see again the same slight loss in gpu performance which lead to slightly lower scores than stock. cool kernel though and I do like intelli thermal so
faux123 flo jb 4.3 001 kernel mainline
settings in faux123 kernel control app paid version. 1.83 cpu OC. CPU Governor ondemand. intelliplug. mpdecision off. eco modeoff. snake charmer on. stock voltages. intelli thermal 60 and 80. gpu 400. gpu governor ondemand. fiops I/o 512 read ahead.
so I found the kernel smooth in real world. I looked for my sweet spot and found it around 1.836-1.89 cpu. above that didn't really work out well for me. so in this great kernel the cpu benchmarks higher than stock but for one reason or other the gpu seems to bench lower than stock. all in all a great kernel and omg I love the idea of eco mode and I think with proper cpu governor and eco this kernel would rock some battery butt.
Tiny kernel
Coming soon

My S3 ideal setup: ROM, Kernel, Mods, Apps & Games

In 2015, Galaxy S3 is a quite old device. It was introduced in 2012, with a lot of supporters around the world. I think it is the best smartphone of Samsung ever. And in 2015, it is still a good phone with latest software update from other developers
These are my combinations of roms, kernels, mods and tweaks of my Galaxy S3 (i9300). I think it is the best combination ever, with good performance and experience. Remember that this is my own opinion, so maybe it won't appropriate with somebody. Anyway, let's get start!!!
ROM
Cyanogenmod is undoubtedly the most popular and best-performance rom ever. It is based on Stock Android, so it runs very smooth and has brilliant performance, especially in Benchmark Test. Android 5.0 Lollipop is released, then our S3 has a very good CM12 rom with latest software version. I have used this rom for 4 months, and I do not expect anything more about my phone because it runs PERFECTLY.
Link for Cyanogenmod 12 rom: http://forum.xda-developers.com/galaxy-s3/development/wip-cyanogenmod-12-t2936990
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​ KERNEL
Since Siyah kernel is end-of-development, Boeffla Kernel is a perfect alternative. This kernel brings us a lot of things : change CPU governers, overclock CPU (up to 1600 Mhz) and GPU (640 Mhz), sound tweaks, undervolt CPU and GPU, etc. It lets us to control our devices freely and effectively. It also gives us brilliant battery performance.
Links for Boeffla Kernel i9300: http://forum.xda-developers.com/gal...rnel-boeffla-kernel-2-2-stable-27-03-t2449408
MODS
When I bought my Galaxy S3, I soon realized that is had a poor sound experience. So I looked for a sound mods that it improves my phone speaker. And fortunately, I have found a thread that had an amazing work: ACID Audio Engine. It gives me many positive improvements with i9300 sounds, and I have the best sound experience ever.
Link for ACID Audio Engine mod: http://forum.xda-developers.com/galaxy-s3/development/mod-acid-audio-engine-v5-0-samsung-t2002197
APPS & GAMES
I am a student, so I do not have much working or business apps. These app below are mostly entertaining apps : music, games,…
Google Camera: easy, simple and functional interface
https://play.google.com/store/apps/details?id=com.google.android.GoogleCamera
Inbox by Google: a beautiful Material Design email app, and officially published by Google
https://play.google.com/store/apps/details?id=com.google.android.apps.inbox
Google Keep: easy for taking notes with texts, images and many cute symbols…
https://play.google.com/store/apps/details?id=com.google.android.keep
Zedge: up-to-date beautiful wallpapers, ringtones and other stuffs.
https://play.google.com/store/apps/details?id=net.zedge.android
Wolfram Alpha: as a student, I have to do a lot of calculating exercises. This app is my perfect assistant at school, especially in Maths lessons.
https://play.google.com/store/apps/details?id=com.wolfram.android.alpha
Fenix: my daily Twitter app
https://play.google.com/store/apps/details?id=it.mvilla.android.fenix
Seeder: it is undeniable that many Android devices become slower and slower after long time using them. Seeder helps us to prevent this problem. It gives us a smooth experience with no lags and FC’s.
http://forum.xda-developers.com/showthread.php?t=1987032
Xposed Installer + Gravity Box(LP) : best apps for interface editing, mods, and tweaks
http://forum.xda-developers.com/showthread.php?t=3034811
Ram Manager Pro: a lot of RAM options, swap RAM (up to 2GB), friendly interface.
https://play.google.com/store/apps/details?id=com.smartprojects.RAMOptimizationFree
FIFA 15: Since FIFA 16, in my opinion, is not as good as FIFA 15 (graphics problems, worse user interface,…), I am still playing with my own Ultimate Team. Best Sport app ever.
https://play.google.com/store/apps/details?id=com.ea.game.fifa15_row
Asphalt 8: Racing games with a lot of cars, roads and game modes, brilliant graphics.
https://play.google.com/store/apps/details?id=com.gameloft.android.ANMP.GloftA8HM
Leo’s Fortune: This is the best graphics games ever…
https://play.google.com/store/apps/details?id=com.leosfortune
TWEAKS & SELF-EXPERIENCE
CPU governer: ondemand
I/O Scheduler: deadline
Max freq: 1400 Mhz
Min freg: 200 Mhz
Undervolt CPU: -75mV​
GPU freq: 160/266/350/440/533
GPU undervolt: -75mV​
Build.prop tweaks:
Fast Reboot
persist.sys.purgeable_assets=1
Render UI with GPU
debug.sf.hw=1​
Increasing It Will Make Mobile Smoother
windowsmgr.maxevents_per_sec=150​
Video Acceleration Enabled
video.accelerate.hw=1​
Increase Performance
debug.performance.tuning=1​
Disable Sending Usage Data
ro.config.nocheckin=1​
Deeper Sleep / Better Battery Life
ro.ril.disable.power.collapse=1
pm.sleep_mode=1​
Disable BootAnimation
debug.sf.nobootanimation=1​
Faster Scrolling
ro.max.flingvelocity=12000​ro.min.fling_velocity=8000​
sorry for this,but,either u are not informed on whats going on these days,or just lack of knowledge.
this version you chose as your rom is EOL state,and its much worse than any rom IMO (memory leaks,stagefright not patched etc). the best rom right now is AD latest or B19 from archi as well.
kernel-wise,boeffla is EOL state again,he only update ramdisk,so this is just for campatibility still active.while things starting to end for this phone,archi wow us every single time,and archikernel latest is the most "optimized" for this phone along with his roms...
I/O sheduler-wise, deadline and noop is known to low speeds and performance crippling..best shedulers for our phone are BFQ latest,and CFQ.
ROW is better generally but not for I9300.it sucks.
You should never undervolt processor especially -75!! GPU as well. games will lag.
But this guide is,from my point of view,battery life driven.
but i would not get crazy for battery life anymore because anyways battery is fcked up so many years,especially stock.the only thing u will achieve is at best half an hour screen on time.not worth it for me
as for build prop tweaks,dont even touch it anymore,its not worth it,plus archi have better build prop tweaks and generally well made Roms.
*flies away*
My best setup is Archidroid + ArchiKernel
Cpu voltages table:
1400 1.1375V
1300 1.1V
1200 1.075V
1100 1.025V
1000 0.95V
900 0.925V
800 0.9V
700 0.875V
600 0.85V
500 0.825V
400 0.8V
300 0.8V
200 0.8V
GPU:
700 - 1.175V
600 - 1.0625V
440 - 0.9375V
300 - 0.8375V
150 - 0.7375V
CPU Governor: lulzactiveQ
CPU States: IDLE + LPA + AFTR
eMMC/SD Governor row/cfq
I think, that we can undervolt our SoC much lower, but not by setting same '-xx mV' value for all profiles, i spend about 2 hours for testing voltages on every profile. I descended to 0.8V on CPU, lower values were giving me a lot of freezes and lags. On GPU i set 0.7V (Boeffla kernel) and image went away. My ASV level is 3. I also tried it on other i9300 @ 2LVL ASV, GPU was working with same voltages. But CPU wanted extra 25mV for every profile from my table.
I also saw one more thing, ArchiKernel requies higher voltages, but it's harder to freeze phone (especially GPU) than on Boeffla.
Sorry for my bad english, i'll improve that - i promise
i wish i didnt sold my s3 :/
How to undervolt?
Sent from my Be_Pure using XDA Free mobile app
The Funky Pear said:
sorry for this,but,either u are not informed on whats going on these days,or just lack of knowledge.
this version you chose as your rom is EOL state,and its much worse than any rom IMO (memory leaks,stagefright not patched etc). the best rom right now is AD latest or B19 from archi as well.
kernel-wise,boeffla is EOL state again,he only update ramdisk,so this is just for campatibility still active.while things starting to end for this phone,archi wow us every single time,and archikernel latest is the most "optimized" for this phone along with his roms...
I/O sheduler-wise, deadline and noop is known to low speeds and performance crippling..best shedulers for our phone are BFQ latest,and CFQ.
ROW is better generally but not for I9300.it sucks.
You should never undervolt processor especially -75!! GPU as well. games will lag.
But this guide is,from my point of view,battery life driven.
but i would not get crazy for battery life anymore because anyways battery is fcked up so many years,especially stock.the only thing u will achieve is at best half an hour screen on time.not worth it for me
as for build prop tweaks,dont even touch it anymore,its not worth it,plus archi have better build prop tweaks and generally well made Roms.
*flies away*
Click to expand...
Click to collapse
Hi The Funky Pear!!
Can you post here your complete kernel config on synapse?
Thanks in advance
_nEoN_ said:
Hi The Funky Pear!!
Can you post here your complete kernel config on synapse?
Thanks in advance
Click to expand...
Click to collapse
of course! feel free to ask anything!! will post screenshots because its easier
what is "ad latest" rom?
mkdr said:
what is "ad latest" rom?
Click to expand...
Click to collapse
here u go: http://forum.xda-developers.com/galaxy-s3/development/rom-archidroid-v2-4-6-power-hands-t2354859

Consolidated tweaks for the redmi 3

Consolidation of tweaks for redmi 3 (my usage). If you have a tweak you think is useful and want added, just comment in this thread below and I'll add it to OP when possible. Take note, if you use this thread, you are expected to have at least some working knowledge of android and the system. This is not for novices because there is the potential of messing up big time. I will not answer questions like "where can i find buildprop"or "how do I enter this code". This thread is only for discussing tweaks, research, effect/affect and performance.
Rooted users only
CPU hotplugging(only works for miui) - with this, for the most part, BIG will have only 1 CPU online when idle, and so will LITTLE
Big - add this to buildprop
Code:
ro.core_ctl_min_cpu=0
little - use terminal or add to init post boot script
Code:
echo 60 85 95 95 > /sys/devices/system/cpu/cpu4/core_ctl/busy_up_thres
echo 30 50 75 75 > /sys/devices/system/cpu/cpu4/core_ctl/busy_down_thres
I use this in conjunction with the advanced interactive tweaks for insane battery life(up to 1 hour screen on for 10%)
http://forum.xda-developers.com/mi-4i/general/guide-advanced-interactive-governor-t3280391
Code:
CPU #1 (aka "Big", aka "has 4 cores", aka "maxes out at 1665Mhz")
target_loads - 1 960000:80 1113600:85 1344000:90
timer_slack - 80000
hispeed_freq - 1113600
timer_rate - 20000
above_hispeed_delay - 20000 1113600:50000
go_hispeed_load - 85
min_sample_time - 50000
CPU #2 (aka "little", aka "has 4 cores", aka "maxes out at 1113Mhz")
target_loads - 1 800000:80
timer_slack - 80000
hispeed_freq - 998400
timer_rate - 40000
above_hispeed_delay - 10000
go_hispeed_load - 90
min_sample_time - 40000
Fast dormancy - MIUI only, use only if your network supports it
Code:
persist.env.fastdorm.enabled true
persist.fd.scroff.timer 1000
persist.fd.scron.timer 5000
Not to ask to many questions.
But which software do you use to make it smooth like a baby's butt.
Currently I'm using KA and/or EX Kernel Editor, disabled thermal engine but BIG sometimes have no (tunable) governor
atiprusma said:
Not to ask to many questions.
But which software do you use to make it smooth like a baby's butt.
Currently I'm using KA and/or EX Kernel Editor, disabled thermal engine but BIG sometimes have no (tunable) governor
Click to expand...
Click to collapse
KA is fine. I'm using it as well. These questions are welcome, just not questions that can be answered via a general search on google or the forums.
As for your tunable governor, sometimes you might need to reload the governor in KA, meaning you change it to another governor. It does it sometimes.
Thanks for this, very helpful. My main issue with my redmi 3 is the heat (although it's not really hot, I'd rather no heat at all over higher performance).
So I've set
ro.core_ctl_min_cpu=0
ro.core_ctl_max_cpu=0
Meaning no big cores.
I've also set
echo 2 > /sys/devices/system/cpu/cpu4/core_ctl/min_cpus
So little only has 2 cores running ordinarily. I didn't use your threshold settings above, left those at default and just reduced the number of minimum cores on little.
The biggest boost to performance I've found is just setting:
echo deadline > /sys/block/mmcblk0/queue/scheduler
echo deadline > /sys/block/mmcblk1/queue/scheduler
So overall, happy with these settings. 2 min little cpus, 4 max (default) and no big cores (so doesn't get hot at all) and deadline improves performance so you don't notice the big cores being off for most uses.
FYI
Geekbench 3, single core = 724, 2400ish with (2 big enabled, 4 little, default i/o scheduler)
Geekbench 3, single core = 603, 1800ish with (0 big enabled, 4 little, deadline i/o scheduler)
Not tested the battery life yet, but I'd imagine it would be better.
sc754 said:
Thanks for this, very helpful. My main issue with my redmi 3 is the heat (although it's not really hot, I'd rather no heat at all over higher performance).
So I've set
ro.core_ctl_min_cpu=0
ro.core_ctl_max_cpu=0
Meaning no big cores.
I've also set
echo 2 > /sys/devices/system/cpu/cpu4/core_ctl/min_cpus
So little only has 2 cores running ordinarily. I didn't use your threshold settings above, left those at default and just reduced the number of minimum cores on little.
The biggest boost to performance I've found is just setting:
echo deadline > /sys/block/mmcblk0/queue/scheduler
echo deadline > /sys/block/mmcblk1/queue/scheduler
So overall, happy with these settings. 2 min little cpus, 4 max (default) and no big cores (so doesn't get hot at all) and deadline improves performance so you don't notice the big cores being off for most uses.
FYI
Geekbench 3, single core = 724, 2400ish with (2 big enabled, 4 little, default i/o scheduler)
Geekbench 3, single core = 603, 1800ish with (0 big enabled, 4 little, deadline i/o scheduler)
Not tested the battery life yet, but I'd imagine it would be better.
Click to expand...
Click to collapse
But disabling all the big cores will essentially meant that you're really, REALLY crippling the phone. In all fairness, the phone handles heat better than the snapdragon 615 by quite a bit. I find that hotplugging generally helps with the heat alot. In Kernel adiutor, why not go to thermal and enable core control instead so that the native thermal engine can do its work? otherwise I would rather disable the small cores, that way you still have that little extra boost of power where you need it with the big ones. the 616 is using all a53 cores i believe, just clocked slightly differently.
davtse said:
But disabling all the big cores will essentially meant that you're really, REALLY crippling the phone. In all fairness, the phone handles heat better than the snapdragon 615 by quite a bit. I find that hotplugging generally helps with the heat alot. In Kernel adiutor, why not go to thermal and enable core control instead so that the native thermal engine can do its work? otherwise I would rather disable the small cores, that way you still have that little extra boost of power where you need it with the big ones. the 616 is using all a53 cores i believe, just clocked slightly differently.
Click to expand...
Click to collapse
True, but I'm not a heavy user in anyway, so this works perfect for me. I'd imagine others would leave the bigger cores on for the slightly better performance. The deadline scheduler gives it great performance for the non heavy multi tasking user like me.
davtse said:
KA is fine. I'm using it as well. These questions are welcome, just not questions that can be answered via a general search on google or the forums.
As for your tunable governor, sometimes you might need to reload the governor in KA, meaning you change it to another governor. It does it sometimes.
Click to expand...
Click to collapse
I can't change my governor after modified the governor it self because no option to change it.
And btw, did you disabled your thermal engine?
atiprusma said:
I can't change my governor after modified the governor it self because no option to change it.
And btw, did you disabled your thermal engine?
Click to expand...
Click to collapse
No my thermal engine is still on. What do you mean you cant change your governor?
davtse said:
No my thermal engine is still on. What do you mean you cant change your governor?
Click to expand...
Click to collapse
After going to cpu governor tunable it happen like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Click to expand...
Click to collapse
And back to cpu option the governor has no option
Click to expand...
Click to collapse
Sent from my Redmi 3 using Tapatalk
atiprusma said:
After going to cpu governor tunable it happen like this
And back to cpu option the governor has no option
Sent from my Redmi 3 using Tapatalk
Click to expand...
Click to collapse
no clue.. you could try the typical fixes first and see if they help, update supersu to beta 2.72, update busybox etc. other than that I don't have this problem so I dont know how to help with this
davtse said:
no clue.. you could try the typical fixes first and see if they help, update supersu to beta 2.72, update busybox etc. other than that I don't have this problem so I dont know how to help with this
Click to expand...
Click to collapse
I'm using bb v13 and supersu 72 already.
Should i modify the thermal engine ?
Sent from my Redmi 3 using Tapatalk
atiprusma said:
I'm using bb v13 and supersu 72 already.
Should i modify the thermal engine ?
Click to expand...
Click to collapse
Up to you.. I generally leave mine lone
what version of MIUI are you guys running? I am having trouble getting the governor changes to stick. I am using MIUI EU ROM 6.5.19. I have found Lollipop to be a real headache for making system level changes.
It is not possible to get it to stick at all.
I have tried using KA and Ex kernel but it is not working properly. I tried writing the little core mod into a a script but it didn't work. I have root and TWRP. My busy box version is new. I moved KA to the system partition and I think it is working better now but still it often tells me the governor is not tune-able or gives me a blank list in the governor selection list.
echo 2 > /sys/devices/system/cpu/cpu4/core_ctl/min_cpus
Or
echo 2 > /sys/devices/system/cpu/cpu4/core_ctl/min_cpu
Or
echo 2 > /sys/devices/system/cpu/cpu4/core_ctl/min_cpu2
I got all that to work finally after plowing around for a while and updating and moving apps to the system partition and adjusting power nap. The only thing I'm still not sure about is how to set the little cpu to two on. But I have been getting about 10% per hour screen on time with 1-2 percent drain through the night. Thank you guys.
Supermatt01 said:
I got all that to work finally after plowing around for a while and updating and moving apps to the system partition and adjusting power nap. The only thing I'm still not sure about is how to set the little cpu to two on. But I have been getting about 10% per hour screen on time with 1-2 percent drain through the night. Thank you guys.
Click to expand...
Click to collapse
the min for little CPU doesnt seem to respect the terminal command for it, only the up threshold and down threhold.
you can try insmod the core_ctrl.ko and see if that helps
Okay, thanks, I will have to learn about that first
after applying the cpu tweak should i have to turn on "apply on boot"??
Riyad_ said:
after applying the cpu tweak should i have to turn on "apply on boot"??
Click to expand...
Click to collapse
If you use KA, then you should turn it on.
Sent from my ASUS_Z00A using XDA Labs

Categories

Resources