[KERNEL] [GSM/LTE/CDMA] [4.0.4] CMPlus for Tuna [11 JUN] - Samsung Galaxy Nexus

Requires:
1) a rooted GNex
2) a custom recovery
3) someone who knows what 1) and 2) mean.
( ... provided as-is ... use at your own risk ... won't be held responsible ... blah blah blah ... etcetera, etcetera ... )
I'm not really focused on getting the best benchmark results, as they mainly focus on raw throughput for CPU, GPU and memory, which anyone can easily top with some questionable hacks and a freezer. Not really real-world testing, imho. No benchmark app that I know of can effectively provide test results for latencies and responsiveness (but if anyone knows any benchmark which can measure that, please let me know). Reducing latency and improving responsiveness for the best possible user experience is, and will always be, my main aim for this kernel, whilst also trying not to wreak too much havoc on battery life.
CMPlus kernel is based on stock CM9 kernel with additional features that I think are useful. Initially built it for CM9, but also tested in other ROMs such as AOKP, ARHD, BAMF, BlackICE, CNA, Gummy, Liquid, etc. This kernel is mainly for my personal use, but anyone is free to download and use. Note that I am not obliged to accede to any/all requests, so apologies in advance for not answering all questions and requests, as I really, really don't have the time for thread management and really, really dislike the hassle of answering questions that have been answered countless times before.
This kernel has all existing features of stock CM9 Kernel (384MHz GPU, TUN, KSM, CIFS, NFS). All I've done are minor changes, so 99.999% of the credit deservingly goes to KalimochoAz, teamhacksung, CM team and of course, Google. And more so the devs listed below ...
Current version:
- Additional 200, 528, 1072, 1420 & 1500 MHz MPU frequency steps
- Disabled unnecessary debug options
- Enabled relevant ARM errata
- Optimized RWSEM & CRC32 algorithms (Ezekeel)
- SLQB memory allocator
- SIO I/O scheduler
- Optimized conservative, interactive & ondemand cpufreq governors (interactive as default)
- Alternative governors: Lazy & Wheatley (Ezekeel), Smartass2 (Erasmux) & Lulzactive (Tegrak)
- Removed powersave and userspace cpufreq governors
- Westwood+ as default TCP advanced congestion control
- Userspace voltage control (Michael Huang)
- Undervolted nominal VDD_MPU, VDD_IVA & VDD_CORE by 50mV
- Reduced regulator voltages to VAUX3 and VUSIM for reduced screen-on battery consumption
- Less conservative temperature throttling thresholds
- Fast charge patch (Chad Froebel)
- BLX: Battery Life eXtender, Sound Control, Touchwake, Vibration Control, Fsync Control (Ezekeel)
- User control of WiFi PM mode on sleep (PM_MAX default)
- Gamma Preset to control contrast levels
- Customizable startup script for controlling SmartReflex, Sound Control, BLX, Touchwake, Vibration, WiFi PM, Fsync, Gamma Preset and Color Control settings
- Screenstate modes to control settings for CPU Scheduler, Virtual Memory & Music Mode
- Other relevant patches from Omapzoom, Codeaurora & Android/kernel-common
- Compiled using a self-built Linaro 4.7.1 toolchain optimized for Tuna
CHANGELOG
SOURCE
DOWNLOAD​- Applicable for both Maguro & Toro variants of Tuna (all sound kinda fishy to me)
- Koush's anykernel format, so does not modify existing ramdisk.
- Install in custom recovery
For real issues, please provide the following:
- ROM name and version
- Copy-n-paste dmesg & last_kmsg output to http://pastebin.com/ and provide URL
Code:
1. Start terminal emulator session
2. > su
3. # dmesg > /sdcard/dmesg.txt
For reboot/freeze problem, replace Step 3 above with
3. # cat /proc/last_kmsg > /sdcard/last_kmsg.txt
4. Paste contents of resultant txt files to pastebin.com
5. Post pastebin URLs here in this thread for diagnosis
- What you were doing with your phone at the time
In other words, help me to help you. Clairvoyancy and telepathy are a couple of skills that I don't possess ... yet ;P
I do this for masochistic tendencies fun, so won't accept donations. But if you feel the inescapable urge to part with your ill-gotten gains hard-earned savings, then why not donate to where it actually matters.

Startup script for CMPlus kernel
CMPlus kernel now includes a startup script with a customizable initialization file (/etc/cmplus.conf)
Settings below are customized to my preference. To customize, copy /etc/cmplus.conf to /sdcard/cmplus.conf then modify it yourself and save it. Your settings will survive any factory or system wipes, as long as /sdcard/cmplus.conf exists.
Script will first check for presence of /sdcard/cmplus.conf. If exists, it will load your settings then bypass my settings. If doesn't exist, then it will load my settings from /etc/cmplus.conf (see below)
Code:
# filename: /system/etc/cmplus.conf
# ==========================================
# Initialization file for /system/bin/cmplus
# ==========================================
# To survive /system wipes, copy this file to /sdcard/cmplus.conf then modify accordingly
# Enables/disables cmplus script
# 0 = disabled
# 1 = enabled
ENABLED=1
# Enables/disables Screenstate modes (Screen-ON = Performance, Screen-OFF = Economy)
# 0 = disabled
# 1 = enabled
SCREENSTATE=1
# Specifies min & max CPU frequency when screen-off and headset inserted (DEPENDS ON SCREENSTATE=1)
# 0 or blank = disabled (default)
# 1 = 200MHz
# 2 = 350MHz
# 3 = 528MHz
# 4 = 700MHz
# 5 = 920MHz
# 6 = 1072MHz
# 7 = 1200MHz
# 8 = 1350MHz
# 9 = 1420MHz
# 10 = 1500MHz
MUSIC_MIN_FREQ=1
MUSIC_MAX_FREQ=4
# Enables/disables SmartReflex 1.5 adaptive voltage control
# 0 = disabled
# 1 or blank = enabled (default)
SMARTREFLEX=
# Sets volume boost setting for headset/headphones
# 0 or blank = disabled (default)
# 1 = low boost
# 2 = medium boost
# 3 = high boost
VOLUME_BOOST=
# Enables/disables high performance audio for headset/headphones
# 0 or blank = disabled (default)
# 1 = enabled (WARNING: May increase battery drain during music playback)
HIGHPERF_SOUND=
# Enables/disables fast charge via USB
# 0 or blank = disabled (default)
# 1 = enabled
FAST_CHARGE=
# Sets maximum charging limit for battery (BLX)
# 0 to 100 (default=100)
BLX_LIMIT=
# Enables/disables Touchwake (tap to reactivate screen after timeout)
# 0 or blank = disabled (default)
# 1 = enabled
TOUCHWAKE=1
# Sets time to keep Touchwake active after screen timeout, in milliseconds
# 0 = indefinite (default=45000)
WAKE_DELAY=30000
# Sets level of vibration for haptic feedback
# 1000 to 1500 (default=1450)
VIBRATION=
# Sets status of WiFi on sleep (PM_MAX to save battery, PM_FAST for speed)
# 0 or blank = PM_MAX (default)
# 1 = PM_FAST
WIFI_PM=
# Enables/disables Fsync (single file/filesystem sync)
# 0 = disabled (WARNING: Disabling fsync increases the risk of data loss on a crash/freeze)
# 1 or blank = enabled (default)
FSYNC=
# Specifies max CPU frequency when screen-off
# 1 = 200MHz
# 2 = 350MHz
# 3 = 528MHz
# 4 or blank = 700MHz (default)
# 5 = 920MHz
# 6 = 1072MHz
# 7 = 1200MHz
# 8 = 1350MHz
# 9 = 1420MHz
# 10 = 1500MHz
SCREEN_OFF_MAX_FREQ=
# Selects GAMMA preset to control contrast
# 0 or blank = disabled (default)
# 1 to 10 = Lowest to Highest (WARNING: Software-based feature, enabling may slow down device response)
GAMMA_PRESET=7
# =================================================================================
# Your ROM's built-in Colour Controls may override all color control settings below
# =================================================================================
# Pause script X seconds to try to override any ROM color control settings ...
# Leave blank to disable pause
PAUSE=
# Set GAMMA Levels
# unknown range (default=0)
RED_GAMMA=
GREEN_GAMMA=
BLUE_GAMMA=
# Set Color Multipliers
# 0 = min, 4294967290 = max, (default=2004318071)
# WARNING: High levels (>2100000000) may cause screen burn-in damage
RED_MULTI=
GREEN_MULTI=
BLUE_MULTI=

Great to see another Kernel Dev for the GN! Options are what android is all about!
Thanks!

Nice work from a fellow Singaporean!
I'll be following your work closely.
Sent from my Galaxy Nexus

Looks awesome, man! I'll have to give it a whirl!

Thank you for the new kernel!
Perhaps to put the shortcut of how to get to the last_kmsg in the op? Not everybody knows it, I think that's why so many people don't attach it to their issue reports..

Vangelis13 said:
Perhaps to put the shortcut of how to get to the last_kmsg in the op? Not everybody knows it, I think that's why so many people don't attach it to their issue reports..
Click to expand...
Click to collapse
Good suggestion. OP hereby updated with instructions.

Is it suitable for maguro?

wkh1113 said:
Is it suitable for maguro?
Click to expand...
Click to collapse
Yep

wkh1113 said:
Is it suitable for maguro?
Click to expand...
Click to collapse
Tuna is the device name for Galaxy Nexus, which has two variants, Maguro (GSM) and Toro (CDMA/LTE). And this kernel is suitable for both variants.

This is nice, I'll try it. Just switch to cm from aokp.
Edit: just install this, seems okay. Love the ability to uv. Do you guys have any recommendations for governor?
First time I tried with cm is hotplug, but it gave me freeze, so now back to on demand
Sent from my Galaxy Nexus using XDA

Nice to see you here ch33ky and thanks!!
Sent from my Galaxy Nexus using xda premium

Good job. I'll try this this commit "Reduced regulator voltages to VAUX3 and VUSIM for reduced screen-on battery consumption" on mine as well. Will bring feedback.

Great, was wondering why nobody did a CM9 Tuna kernel with added extras.
Thanks
P.S Would you be a gent and write up a little how to build a kernel from source for our device on Ubuntu, I've been trying to compile one from Kalimochos source just for kicks but haven't got very far at all.
Cheers once again.

can you add the colormod thingy?=x

I'm using this kernel. Thanks for the job.
But i'm a kernel noob i just install and.... this is it.. i just install
There's something i need to do to have the best performance ?

franciscofranco said:
Good job. I'll try this this commit "Reduced regulator voltages to VAUX3 and VUSIM for reduced screen-on battery consumption" on mine as well. Will bring feedback.
Click to expand...
Click to collapse
saw that as well. interesting...
good to have you here
btw, i was just in Singapore last december (went to ZoukOut, among other things). Actually walked into SGbest and bought my galaxy nexus there

I like this kernel.. But after I flashed it my colors are off. More like a pinkish color. Was using Francos Nightly #123 with the color control app. Using B29 AOKP. Any suggestions?
{
"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"
}
Sent from my Galaxy Nexus using XDA App

Bet that you have gotten an export version then since GN was not launched at that time.....
ogdobber said:
saw that as well. interesting...
good to have you here
btw, i was just in Singapore last december (went to ZoukOut, among other things). Actually walked into SGbest and bought my galaxy nexus there
Click to expand...
Click to collapse
Sent from my Galaxy Nexus using Tapatalk

yyz71 said:
I like this kernel.. But after I flashed it my colors are off. More like a pinkish color. Was using Francos Nightly #123 with the color control app. Using B29 AOKP. Any suggestions?
Sent from my Galaxy Nexus using XDA App
Click to expand...
Click to collapse
turn down your red in "color multipliers tuning" in aokp performance settings
I noticed a pinkish hue after applying the patch. dropped it from .42xxxxxxxx to .36xxxxxxxx and it look correct for me know
xgrind said:
Bet that you have gotten an export version then since GN was not launched at that time.....
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
well it is was yakjuxw (what is that? I thought asian market?)....now just yakju

Related

[KERNEL] [GSM] [Hybrid-3.0.96] KK442:UV,OC,TUN,CIFS,FIOPS,OTG(v038) [Mar-15]

XDA has issues with big OP Reduced to fix the issues...
Change Log:
http://faux.romhost.me/tuna/kk44/changelog.txt
*** KK 4.4.2 System Image ***
[ CFS ] (Mainline SmartReflex Edition - should work with ALL phones)
The File == Tuna kernel == (GPU @ 384 MHz)
[ CFS ] (Ultimate SmartReflex Edition - should work with ALL phones but may require BootLoop Calibrations!)
The File == Tuna kernel == (Enabled SmartReflex 1.5, Enabled GPU Overclock to 512 MHz) <== not available yet
Change Log:
http://faux.romhost.me/tuna/jb43/changelog.txt
*** JELLYBEAN 4.3 System Image ***
[ CFS ] (Mainline SmartReflex Edition - should work with ALL phones)
The File == Tuna JellyBean kernel == (GPU @ 384 MHz)
[ CFS ] (Ultimate SmartReflex Edition - should work with ALL phones but may require BootLoop Calibrations!)
The File == Tuna Jelly Bean kernel == (Enabled SmartReflex 1.5, Enabled GPU Overclock to 512 MHz) <== not available yet
*** JB 4.3 -- RESET KERNEL ***
Standard Disclaimer: Not responsible for bricking your phone, voiding your warranty, or any other pain or suffering you may feel as result of using this kernel!!!
My github Complying with GPL
Follow me on
:
If you find this Kernel useful, feel free to hit the [Thanks] button below[/size]
FauxClock App recommended Settings"
CPU Control
Max clock - GHz 1.7/1.8 GHz for performance, 1.2 GHz for battery
Min clock - MHz 350 MHz for both (525 automatically when ID governor is running)
CPU Governor - Interactive for performance, Intellidemand for battery
mpdecision - Off
Snake Charmer - OFF for performance, On for Battery
Eco Mode - Off for performance, On for battery
Set On Boot - On
SOC Control
Voltage Control
Set On Boot -
Global CPU Voltage - Your preference
intellidemand gov control
Up Threshold - 75 for both
Boost Frequency - 0 for both
Two Phase Freq - 920000 for both
Sampling Rate - 50000 for both
Optimal Freq - 1060000 for both
Synchro Freq - 700000 for both
Set On Boot - On
GPU Control
GPU Governor - ondemand for both
Set On Boot - On for both
I/O Scheduler Control
I/O Scheduler (eMMC) - FIOPS for both
Readhead Size (eMMC) - 1024 for both
Set On Boot - On for both
Misc Control
Dynamic File Sync - On for both
TCP Congestion Control - Westwood for both
Vibration Control
Set On Boot - On for both
Vibration Control - Your own Preference
Z-Control
Set On Boot - On for both
Clear VFS Cache After Boot - On
Auto FS Writeback Delay Mode - On
Swappiness - 100% if ZRAM enabled, 0% if disabled
VFS Cache Pressure - 100% if ZRAM enabled, 150% if disabled
Dirty Ratio - 20% for both
Dirty Background Ratio - 5% for both
Above is what I use personally. MAY NOT be optimal for all :fingers-crossed:
DUE TO MY EXTREMELY BUSY SCHEDULE BOTH @ WORK AND @ HOME, I WILL ONLY MAKE MAJOR ANNOUNCEMENTS ONCE PER WEEK
Open Beta may not be stable and may cause issues with your phone!
By loading open beta you have agreed to:
1. To report all random reboots with associated /proc/last_kmsg
2. To provide feedback on errors or bugs with detail phone information such as ROM, kernel version, and apps
3. Participate in Forum discussions for the beta software with others without FLAMING each other or post useless information such as:
a) Phone doesn't boot (without providing any additional information, ROM versions etc)
B) phone is too hot (without providing any additional information, ie OC freq, UV etc)
The Open Beta system is designed to have the community help each other and the developers. This way, all potential bugs are flushed out so the final released version will be stable and error free. The more actively you participate in Beta Testing the better the final product will be (you are really helping yourself to create a better community software).
If you do NOT agree with the statements above, DO NOT load my Open Beta software.
Kernel 025 Open Beta 1 is out! (BETAs ARE ALWAYS ULTIMATE + SMARTREFLEX VERSION unless I stated otherwise)
JB ==> http://faux.androidro.ms/tuna/beta/tuna-jb-kernel-025b01.zip
[ build 1 ]
tweaked ID governor for better UI response
Added vegas TCP congestion control (for those with LTE)
Updated to latest Kernel.org Linux 3.0.56
enabled MM compaction and KSM
Nice to see you here!
Run your kernel since yesterday and its so super smooth and battery life seems good so far!
Thanks!
A faux kernel for the nexus?!
TRYING OUT NOW!
faux123 said:
NOTICE: This is COMPATIBLE with ALL Samsung Rooted Stock and Custom ROMs based on 4.0.1 or 4.0.3 (Sorry no 4.0.2)​​
[...]
THIS KERNEL is BASED ON Samsung Source Code. So it is COMPATIBLE ONLY WITH Samsung Gingerbread Builds. ​
Click to expand...
Click to collapse
Gingerbread? Seriously?
I'll give it a try ​
ro_explorer said:
Gingerbread? Seriously?
I'll give it a try
Click to expand...
Click to collapse
Oops copy and paste error! I have standard templates I use for all my kernel threads!
Kernel 006 Open Beta build 1 is out!
http://twitter.com/#!/faux123/status/152122125807919106
tested your new version ... and noticed some laggs in menu's and browsing ... so i ran few times antutu
first with your kernel @1200 ondemond
{
"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"
}
francos latest @1200 ondemond
don't worry ... i'm not complaining ...just let you know and maybe can help :thumbup:
beamed in through my brain ...
You testet 005 or beta 006?
Sent from my Galaxy Nexus using xda premium
lordofcamster said:
You testet 005 or beta 006?
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
beta 006 ... sorry forgott to say
beamed in through my brain ...
006b and antutu (hotplug as a governor)
Sent from my Galaxy Nexus using Tapatalk
---------- Post added at 09:07 PM ---------- Previous post was at 09:05 PM ----------
MultiCulti said:
beta 006 ... sorry forgott to say
beamed in through my brain ...
Click to expand...
Click to collapse
Something wrong on your end...I get scores over 6000 every time.
I am really glad to see you here, faux! What's your opinion on the sdcard binary that some devs are using to eliminate internal memory read high CPU usage?
Sent from my Galaxy Nexus using Tapatalk
hmm ... maybe ondemond is faulty? ... cause i used for the test's ondemond for both ... franco hasnt hotplug
beamed in through my brain ...
MultiCulti said:
hmm ... maybe ondemond is faulty? ... cause i used for the test's ondemond for both ... franco hasnt hotplug
beamed in through my brain ...
Click to expand...
Click to collapse
Actually it seems so...I tried again with ondemand as governor and did 2 Antutu runs...both results were just over 4000points.
Infra said:
Actually it seems so...I tried again with ondemand as governor and did 2 Antutu runs...both results were just over 4000points.
Click to expand...
Click to collapse
ok .. so we found the badass
beamed in through my brain ...
jkoljo said:
I am really glad to see you here, faux! What's your opinion on the sdcard binary that some devs are using to eliminate internal memory read high CPU usage?
Sent from my Galaxy Nexus using Tapatalk
Click to expand...
Click to collapse
I don't see any issues... I need to talk with DebauchedSloth
Infra said:
Actually it seems so...I tried again with ondemand as governor and did 2 Antutu runs...both results were just over 4000points.
Click to expand...
Click to collapse
My version of OnDemand is not the normal OnDemand. It has a two-phase energy saving patch applied to it. It alternates between Max freq and 900 MHz to save battery. The performance for everyday use should be very smooth but benchmark may not reflect the actual experience. If you want high benchmark, I suggest Interactive or Performance.
faux123 said:
My version of OnDemand is not the normal OnDemand. It has a two-phase energy saving patch applied to it. It alternates between Max freq and 900 MHz to save battery. The performance for everyday use should be very smooth but benchmark may not reflect the actual experience. If you want high benchmark, I suggest Interactive or Performance.
Click to expand...
Click to collapse
no no don't reall care about benches ... just noticed with ondemond few laggs ... that was the reason why i ran antutu :thumbup:
edit : OnDemand .... **** its late
beamed in through my brain ...
faux123 said:
My version of OnDemand is not the normal OnDemand. It has a two-phase energy saving patch applied to it. It alternates between Max freq and 900 MHz to save battery. The performance for everyday use should be very smooth but benchmark may not reflect the actual experience. If you want high benchmark, I suggest Interactive or Performance.
Click to expand...
Click to collapse
Ah thanks for the info.
Was thinking something like that. After the flash the ui seemed to lag, but it settled after a while (which is actually mentioned in the first post).

[KERNEL][GPL][11 OCT - Milestone 6][r196-ICS r283-JB] franco.Kernel | 4.0/4.1 |

franco.Kernel features:
* I have 1 version for ICS(4.0.3/4.0.4) and one version for JB(4.1/4.1.1/4.1.2). If you ask if it works on older roms I will kick your ass
* Overclockable by tons of frequencies
* Custom Voltage Control from Ezekeel
* Sound Control from Ezekeel/Greg White
* OMAP Gamma interface
* Trinity's Contrast control
* Wifi_PM toggle
* Fsync toggle
* Thermal Throttle toggle
* Debug **** removed
* BFQ v5 IO scheduler by default
* Ramdisk tweaks
* Performance/battery carefully picked tweaks
* Lots more **** - flash and see for yourself
Changelog:
Milestone 6:
* Merged all patches related to 4.1.2
* Fixed the famous data drops by tricking Smartreflex to not overly calibrate certain hardware parts
* Added custom changes to lowmemorykiller driver to force the device to have a certain amount of free RAM to sustain smoothness over the time
* Made the launcher unkillable by the lowmemorykiller driver to prevent redraws or widget crapping itselfs
* Added a new governor called dyninteractive - this is similar to interactive in 99% but instead this new governor dynamically adapts its own tunables and settings depending on the system load.
* Increased Interactive governor kernel priority thread for the frequency change task - more smoothness
* Added a new tuneable for Interactive governor called input_boost_freq. Path is here: /sys/devices/system/cpu/cpufreq/interactive/input_boost_freq
* Added all TCP Congestion algorithms presents in the kernel. To check all algorithms run this command on the Terminal/ADB Shell: sysctl net.ipv4.tcp_available_congestion_control
To change the algorithm: sysctl -w net.ipv4.tcp_congestion_control=NAME_OF_THE_ALGORITHM
* BFQ IO scheduler updated from v4 to v5
* Added other smaller but still relevant changes available on my github repository
F.A.Q:
1. My device rebooted or crashed, how can I help?
A: Get me /proc/last_kmsg or logcat.
2. Battery sucks, my device is not entering deep sleep. FIX PLOX!
A: Fix it yourself, it's an app waking your device up not the kernel's problem
3. Signal is dropping since I flashed the kernel, amg u sucks!
A: The kernel has nothing to do with gsm/cmda signal. Make sure you have the latest radios
4. Do I need to wipe anything when flashing this kernel?
A: No.
5. Does this kernel has X or Y mod?
A: Learn to read, everything you need to know is in the features list, changelog or public repo.
6. GTA3, FIFA2012 or any game of the type isn't opening?
A: Flash this on CWM http://forum.xda-developers.com/showpost.php?p=27515966&postcount=20011
Downloads:
Jelly Bean kernel for 4.1/4.1.1 only:
Nightlies: http://minooch.com/franciscofranco/Galaxy Nexus/JB/Jelly Bean/
Milestone 6: http://minooch.com/franciscofranco/... Bean/milestones/franco.Kernel-Milestone6.zip
Ice Cream Sandwich only:
Milestone 4: http://minooch.com/franciscofranco/Galaxy Nexus/
Nightlies 384Mhz GPU: http://minooch.com/franciscofranco/Galaxy Nexus/nightlies/gpu_384mhz/
Nightlies 512Mhz GPU: http://minooch.com/franciscofranco/Galaxy Nexus/nightlies/
franco.Kernel updater app features:
* Downloads the kernel directly from the ftp
* Checks for updates directly from the ftp
* Checks and downloads Imoseyon's kernel (new feature)
* Kernel auto-flash
* Cpu frequencies changer
* Governor changer
* Voltage control interface
* Kernel settings:
* Hotplug enabler
* Color Control - You're able to change GAMMA values and Color Multipliers to achieve the best color profile
* Sound Control - Increase the max volume of your device
* Download special franco.Kernel boot animation
* Wi-fi special mode to boost signal during streaming while on screen off
* Custom download path
* Live calibrated voltages panel
* Disable logger
* SQlite defrag on boot
* Dedicated milestone and nightly kernels changelogs
My apps list: https://play.google.com/store/apps/...nVsbCxudWxsLDEwMiwic2ltcGxlLnJlYm9vdC5jb20iXQ
Source: https://bitbucket.org/franciscofranco/android-tuna-omap/
Jelly Bean kernel source: https://github.com/franciscofranco/Tuna_JB_pre1/tree/4.1
Have fun.
Just flashed this from the Verizon forums. Works great!!! Thanks!
Sent from my Galaxy Nexus using Tapatalk 2
=] thanks Francisco
Running very fast & smooth on stock.
Oh, snap! The man himself has graced our humble forum Thanks, Franco!
Super excited to be on Franco kernels again
Sent from my Sprint Galaxy Nexus! :-D
thanks a lot man. Love the companion app that goes with it.
Man Things are taking off Thanx I ran your kernels on the NS great to have your support
Awesome and thanks - I found you in the other thread adn flashed your kernel and downloaded the updater ap from market - REALLY COOL stuff - thanks for your efforts.
I cook kernels all the time. And I gotta tell you bro, your kernel and market app together is just epic man. Nightly Eos + Nightly Franco kernel = epic winning.
Can't believe the difference going from stock to milestone 3. Fast, smooth and the increase in battery life is huge. Great kernel and thanks for the work you put into this.
Sent from my Galaxy Nexus using Xparent Red Tapatalk 2
Flashed from stock last night and I'm not noticing quite the difference others seem to be in "smoothness" and battery-life. I do have the Franco app... which governor are yall using? SR/GH settings? Undervolts?
shrumhead said:
Flashed from stock last night and I'm not noticing quite the difference others seem to be in "smoothness" and battery-life. I do have the Franco app... which governor are yall using? SR/GH settings? Undervolts?
Click to expand...
Click to collapse
I'm using lazy governor and generic hotplug. That's made a huge difference for me with screen off. Not as big a difference screen on but we're pushing a lot of pixels on this screen. How was battery life and smoothness for you on stock? On stock my battery life was absolutely horrible even by my ridiculously heavy usage standards. It was pretty smooth on stock for me but smoother with Franco.
Sent from my Galaxy Nexus using Xparent Red Tapatalk 2
bigrushdog said:
I cook kernels all the time. And I gotta tell you bro, your kernel and market app together is just epic man. Nightly Eos + Nightly Franco kernel = epic winning.
Click to expand...
Click to collapse
what governor do you have it set to?
I'm using the conservative governor. Would it be better to use the generic hot plug option or use a profile to switch to the hotplug governor?
Sent from my Galaxy Nexus (Sprint)! :-D
Swede2008 said:
I'm using the conservative governor. Would it be better to use the generic hot plug option or use a profile to switch to the hotplug governor?
Sent from my Galaxy Nexus (Sprint)! :-D
Click to expand...
Click to collapse
If you use the hotplug option you'll still be able to use the conservative governor with the screen off on one core. Use a profile if you want to change governors based on screen on/off. Just don't use the hotplug option with the hotplug governor.
Sent from my Galaxy Nexus using Xparent Red Tapatalk 2
shrumhead said:
Flashed from stock last night and I'm not noticing quite the difference others seem to be in "smoothness" and battery-life. I do have the Franco app... which governor are yall using? SR/GH settings? Undervolts?
Click to expand...
Click to collapse
Give it a few days to notice difference in battery life. Yesterday, battery was pretty much same as stock for me. Today, it's much better. And as the days go by, it will get even better. I left the governor on Interactive, brought the CPU down to 1228MHz, use the Generic Hotplug and turned Logger off. That's my setup for now.
Is the "Battery Life eXtender" in the app similar to SBC? As in I can set it to 100 to get a full battery charge? I used SBC on my og evo for about 9 months with no issues so I'm thinking about putting the setting at 100.
Swede2008 said:
Is the "Battery Life eXtender" in the app similar to SBC? As in I can set it to 100 to get a full battery charge? I used SBC on my og evo for about 9 months with no issues so I'm thinking about putting the setting at 100.
Click to expand...
Click to collapse
It's more like the opposite of SBC. Having your battery fully charged can reduce its life so BLX gives you the option of having it stop charging at a certain point to extend overall life of your battery.
On stock kernel w/ a screentime of about 2hrs I was getting 4-5hrs of battery life.
Day 1 on Milestone3 w/ about 2hrs screentime:
{
"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"
}
Battery life is improving already =]

[KERNEL] Fancy Kernel r60 [Android JB+KK] [F2FS/EXT4] [Linux 3.0.101+] [OCT-24-2014]

{
"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"
}
Hi and welcome to fancy kernel. My name is Boy Petersen and I'm building this kernel with the following three main goals: good battery life, reliability and a smooth and snappy user experience.
Feature list:
Based upon:
latest AOSP/CM11 kernel source
selected Cyanogenmod patches
Latest Linux 3.0 version (3.0.101)
selected patches from the device's chipset vendor Texas Instruments
selected patches from Google
selected backport-patches from Linux 3.4
CPU:
CPU frequencies: 224, 384, 537, 729, 1036, 1228, 1344, 1420, 1536 MHz (default on boot: 224 - 1228)
control to set a minimum CPU frequency for screen-on (default: 384 MHz)
Will help with smoothness and responsiveness when you use the phone. When screen is off, however, 224 MHz frequency is used as well.
CPU governors: ondemandplus (more info), interactive (default), ondemand, powersave, performance
ondemandplus is an ondemand- and interactive-based governor that has additional power-saving capabilities while maintaining very snappy performance.
ARM CPU topology: multi-core scheduling (enabled by default; saves battery by scheduling load among the CPU cores; more info)
temperature control
GPU & Display:
GPU frequency control: 307, 384 (default), 512 MHz
color, contrast and gamma contols
sane and natural looking color settings
I/O & memory:
F2FS support
ASRAM memory reclaim, giving you 744mb available RAM with a fully functional device
I/O schedulers: SIOplus (default), deadline, noop, row, bfqv5, cfq
updated HSMMC & OMAP4 NAND drivers (improve disk performance)
tuned LPDDR RAM timings (+10% throughput; more info)
optimized ext4 mountings
Android 3.4 low memory killer
ultra kernel samepage merging (UKSM; enabled by default)
fsync toggle
zRAM from 3.7 kernel (with fast LZ4 compression)
improved memory handling routines (memset, memzero, ...)
switch to disable the MMC CRC checking (more info)
Network:
TCP congestion control algorithms: westwood (default), cubic, reno
DTIM skip override (what it is and how it works)
Misc:
custom voltage control
timer slack feature (what does it do?)
fast charge
vibration strength control
sound control (high performance sound, volume boost)
battery life extender (BLX)
various performance and battery life tweaks
init.d support (no matter if the ROM supports it or not)
elevated systemui priority
module support (for slide2wake / PGM, e.g.)
more things... go check the source if you're interested.
compiled with Google GCC 4.7 toolchain (from Android NDK r9)
optional anykernel2 package by osm0sis for Android 4.3 and 4.2 compatibilty
Download links:
Major release for Android 4.2/4.3/4.4 (latest version: r60)
Release post: click here
IMPORTANT: Please read this post to find out which of the two files (fixed RAMdisk or anykernel2) you need!
Android 4.4 (fixed RAMdisk) Mirror #1: boypetersen.de
Android 4.4 (fixed RAMdisk) Mirror #2: mediafire.com
md5sum: 6b97f24357137d91768ad8c4d245e894
Android 4.2 / 4.3 / 4.4 (anykernel2) Mirror #1: boypetersen.de
Android 4.2 / 4.3 / 4.4 (anykernel2) Mirror #2: mediafire.com
md5sum: 0927620e85648bb98f910ac95e9bc74b
__________________________________________________
Older versions
boypetersen.de
__________________________________________________
Notes:
Compatible to:
all Galaxy Nexus devices (maguro, toro, toroplus)
all Android 4.2, 4.3, 4.4 based ROMs
both EXT4 and F2FS filesystems
Installation:
Flash the provided zip file with TWRP or CWM. If you're in doubt which file (fixed RAMdisk or anykernel2) is the right one for you, read this post
Having problems? Please give informative feedback, so that I or other users can understand what exactly is wrong and under which circumstances.
Changelog:
r59 >> r60
cpufreq: ondemandplus: adaptive timer_rate improvements (fixed some code of which I long knew it wasn't that good. The governor feels a little more responsive now)
tuna: very slightly relax ram timings (few users reported some instabilities which have been fixed by this)
reenable HDMI mirroring on GNexus portrait dock
ramdisk: replace new charger binary with previous one (-> charging percentage display works again)
ramdisk: retry moving systemui to parent task group 10 times (may help with the issue it stays in the "apps" group, as someone reported)
Click for full change log
Knowledge-base:
Most settings can be controlled with kernel settings apps. Trickster MOD fully supports fancy kernel. With it you can control:
CPU min frequency
CPU max frequency
CPU max screen-off frequency
CPU min screen-on frequency
GPU frequency
CPU governor
CPU governor tunables
I/O scheduler
read-ahead buffer
TCP congestion algorithm
CPU multi-core scheduling
fast charge
sound control
battery life extender
fsync
vibration strength
custom voltage
temperature control
color, contrast, gamma, content-adaptive brightness
zRAM
ondemandplus basics and tunables
ARM CPU topology: multi-core scheduling explained ('Multi core power saving' in Trickster MOD)
launcher white list to make your launcher 'unkillable'. Also: How to disable the white list
WiFi: DTIM skip override
LPDDR RAM timings tuning
timer slack feature: what does it do?
frandom: why it is not included in this kernel
init.d: how to use it
MMC CRC control: what it does and how to use it
Chit-chat:
What ROM / computer OS am I running?
People ask me this sometimes. On my Galaxy Nexus, I'm running Cyanogenmod 11 Nightlies and obviously Fancy Kernel. On my home PC (my Android build environment), I'm running Ubuntu 13.10.
Why did I name it 'fancy kernel'?
Because I do not want to use some random fancy name, but somehow have to give the kernel a name that is easily remembered. So after some self-irony involvement, I picked this ****ty name :>
What is so special about this kernel?
It offers superb battery life with a smooth and stable user experience. I am aware that all kernels claim that. Just try, see for yourself and report back. Innovations of this kernel are e.g. the screen-on min frequency setting, the ondemandplus governor and the SIOplus scheduler, since I implemented them myself. Also, I wanted many other improvements that exist across the several great kernels around XDA. After all, this kernel is based on other people's work for like 95 percent (like most kernels are).
Why did I build this Kernel initially?
Well that's rather easily answered. I used to use Franco kernel (which I really liked), but I wanted a kernel for myself which fits exactly to my needs. In particular, I especially wanted working hotplug, GPU OC controls, the option to set a minimum screen-on frequency and several hardcoded settings.
Oh, and yes: I built the kernel because I had fun doing so. But be not mistaken that I am a 'playaround kid': I dislike pulling in every little mod someone made. What I want is stability.
After some time I realized hotplugging would not be stable. After that I wrote the ondemandplus governor to save battery.
Why did I release it if I built it for myself?
I did not plan to release it at first. But I decided to release it since there was this one new feature (as named before: the screen-on min frequency control). I thought 'maybe it can contribute to others as well.' Also, maybe people like my compilation. Sharing is caring :>
Announcement:
The thread now has more than 1.000.000 hits! This is awesome, thank you for your interest!
Credits for code: Cyanogenmod, Google, kernel.org, Texas Instruments
bsmitty83, edoko, Ezekeel, faux123, franciscofranco, gokhanmoral, gwindlord, Huexxx, imoseyon, mpokwsths, osm0sis & Franco Dev Team, TeamHorizon
Credits for the Fancy Updater app: Parthipan Ramesh
Credits for the logo/artwork: DaNi_!
Source (including defconfig and RAMDISK): https://github.com/boype/kernel_tuna_kk44
A shout-out to the donators who help me pay the file hosting and buy me beer: 1haumann1, aaamador, agritux (2x), akaria, Bastian L., bigknowz, Blackcrx, creeve4, Fabio A., Ferhat Uğur C., James F., jsage, kuyam, Lancez, mpokwsths, n2rjt, nailz420 (2x), okanb3, omid900, rcozzi, Taomyn, teleplasma
Do you like my work? Hit 'thanks' and/or rate this thread with 5 stars.
Has my work improved your user experience? Consider a small donation.
Please do not PM me with questions, post in the thread instead.
XDA:DevDB Information
[KERNEL] Fancy Kernel r60 [Android JB+KK] [F2FS/EXT4] [Linux 3.0.101+] [OCT-24-2014], Kernel for the Samsung Galaxy Nexus
Contributors
boype
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r60
Stable Release Date: 2014-10-24
Created 2014-10-12
Last Updated 2014-10-24
downloading now , will share results in a few charges !
I usually stick with a couple certain kernels, because every time I try one outside of my 'safe' kernels, they don't play nice with my device.
I've decided to give this kernel a chance, mainly because it's new and I have the day off to test it out.
Re: [KERNEL][4.2] Fancy Kernel (Rel. #1) (JAN-24-2013)
Who knowz m not becoming a part of a great thread in the future..lets try this out
Sent from my Galaxy Nexus using xda premium
Trying this kernel for 2 days.
I can say, wonderful work.
Thanks boype!
Running it now at 192/1420 with 537 as max screen off. Pegasusq and bfq. GPU = 384 and SR remains on.
Can't tell how battery life is, as I just installed it. Charging phone back to 100 right now.
It is very smooth and responsive from what I've done so far though. Going to keep with this kernel for a couple days, see how it compares to my fall back, LeanKernel + Tweaks. So far, so good though.
Re: [KERNEL][4.2] Fancy Kernel (Rel. #1) (JAN-24-2013)
anybody test NFS17 game on this kernel?
Re: [KERNEL][4.2] Fancy Kernel (Rel. #1) (JAN-24-2013)
Wow, sound great
So, Can i flash it over stock 4.2.1 ?
thebogy said:
Wow, sound great
So, Can i flash it over stock 4.2.1 ?
Click to expand...
Click to collapse
As long as you are rooted, I don't see why you wouldn't be able to. I'm pretty sure being rooted is all you need to flash a kernel.
Re: [KERNEL][4.2] Fancy Kernel (Rel. #1) (JAN-24-2013)
great kernel !
keep it:thumbup:
Sent from my Galaxy Nexus using xda premium
pgm support?
Re: [KERNEL][4.2] Fancy Kernel (Rel. #1) (JAN-24-2013)
yes.
Sent from my Galaxy Nexus using xda premium
I'll give it a try but won't stick with it until an Stable release of CM10.1 is available, because I'm updating at every 3 nightlies and this kernel with an stable release of CM10.1 should be a monster. (and obviously I don't want to reflash it every new nightly.)
I liked it! I hope for further development of this kernel! Good luck! :good:
Re: [KERNEL][4.2] Fancy Kernel (Rel. #1) (JAN-24-2013)
I would be regularly sharing my experience about this kernel..really smooth undoubtedly.. Just had first SoD..
Sent from my Galaxy Nexus using xda premium
try it now :good:
Re: [KERNEL][4.2] Fancy Kernel (Rel. #1) (JAN-24-2013)
dratif said:
I would be regularly sharing my experience about this kernel..really smooth undoubtedly.. Just had first SoD..
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
On which governor? Default settings? Did you UV? Some more info please
Verstuurd van mijn Galaxy Nexus met Tapatalk
Re: [KERNEL][4.2] Fancy Kernel (Rel. #1) (JAN-24-2013)
Hy
I want to try this new kernel,
But i dont see volume boost in the features list, it's just missing in changelog, or no volume boost inside ?
Thanks
Sent from my Galaxy Nexus using xda premium
Re: [KERNEL][4.2] Fancy Kernel (Rel. #1) (JAN-24-2013)
Just flashed this kernel. The speed seems to be really great! I hope the battery life is equal to this
Verstuurd van mijn Galaxy Nexus met Tapatalk
dratif said:
I would be regularly sharing my experience about this kernel..really smooth undoubtedly.. Just had first SoD..
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Overclocked CPU or GPU? If yes, I need to increase voltages.

[Kernel][D802][03/10] Efficient Kernel 2.1.1 - AOSP LOLLIPOP [F2FS][Synapse][Bumped]

{
"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"
}
Battery life, performance and optimization.​Introduction
Every smartphone's user has the same problem. The battery life and the reactivity of the system. Not anymore with our kernel based on the great B14CKB1RD.
Our Kernel offer today probably the best compromise between these two points. Enjoy it ! :highfive:
This kernel will never have 30 governors or something. We want a light, fast and stable kernel.
The kernel is configured out-the-box for the best battery life and performance. You don't need to tweak it and and spent 2 hours to do that. But if you want to tweak some parameters, you can use the Synapse APP installed with the kernel.​
​Features
Based on the B14CKB1RD Kernel (include all features/optimizations from this kernel)
Governors available : Wheatley, Bacon, Intellimm, Intelliactive, Interactive, Ondemand, Optimax, , and Performance
Configured out-the-box with our recommended settings and fully compatible with the Synapse APP
F2FS Support for the /data /cache and /system
Responsiveness optizimation
Really light kernel
Debug/statistics disabled
Built with the christopher83's Toolchain (4.9.3 2015.09.02), especially optimized for the Cortex A15
Battery Optimizations (especially in deepsleep)
ARM Optimizations
Graphite Optimizations
Mode NEON/VFP
PowerSuspend
UnderVoltage for the CPU
Bricked Thermal
Sweep2Sleep
DoubleTap2Wake
Sound Control GPL 3.5
Stereo Call Recording Support
Enhanced Power Efficiency
Dynamic Read Ahead
Dynamic FSYNC
Fast Charge
Lot of more optimizations
Our recommended settings :
LG G2 D802
Sabersunset http://forum.xda-developers.com/lg-g2/development/romkernel-sabersunset-1-2-t3028536
Efficient Kernel
Xposed for Lollipop with the Amplify module to block alarms and wakelocks (really important)
Just tick the "✓" button when you launch Synapse the first time
Weathley governor (better deepsleep with it)
50mv(-) to all steps (try 37.5(-) first)
Fiops / 2048
Fsync disabled
Westwood
300/2265600 mhz (min/max)
multi-core economy : 1
Max CPUs boosted at the same time : 2 (really lagfree UI)
Wakelocks blocked : NlpWakelock, NlpCollectorWakelock, RILJ
With this configuration, we lost 2% in 9hours on standby with wifi and synchronisation (gmail, whatsapp, messenger ...).
Screen on time : 7:40hours with moderate usage of Wifi, 30 min of Youtube, lot of Whatsapp, lot of internet (with Chrome), [email protected]%.
Downloads
AOSP LOLLIPOP - D802
​
2.1.1
After the kernel is installed, tick the "✓" button when you launch Synapse for the first time : Your kernel is configured for the best comprise between battery life and performance !
If you have issues, don't hesitate to tell me !
Changelogs
Code:
[COLOR=Red][B]03.10.2015 (2.1.1) :[/B][/COLOR][FONT=Verdana][SIZE=2][COLOR=DarkSlateGray]
[/COLOR][/SIZE][/FONT][INDENT][FONT=Verdana][SIZE=2][COLOR=DarkSlateGray] - Fixed Weathley governor as default (it was sometimes not in default in some devices. It depended on the Synapse configuration), now all fixed
- Touch boost default frequency decreased @ 1267 MHz
- Memory optimization when the phone is in deepsleep (to be tested)[/COLOR][/SIZE][/FONT]
[/INDENT][COLOR=Red][B]03.04.2015 (2.1.0) :[/B][/COLOR][INDENT][FONT=Verdana][SIZE=2][COLOR=DarkSlateGray]
- Fixed noises when headphone is plugged
- The kernel is now configured out-the-box with the new recommended settings for the best battery life and performance ! Just tick the [/COLOR][/SIZE][/FONT][FONT=Verdana][SIZE=2][COLOR=DarkSlateGray][FONT=Verdana][SIZE=2]"[/SIZE][/FONT][FONT=Verdana][SIZE=2]✓" [/SIZE][/FONT] button when you launch Synapse for the first time. The voltage is still at the default values for security reason. You need to change them manually
- Weathley is now the default governor and have optimized parameters out-the-box
- Intellimm : adjusted the default configuration for our LG G2. Less laggy, more optimized
- Fast_lane_load value to 500 and max value is now 650
- More optimization for the default values
- Added ROW scheduler
- Removed DanceDance governor
[/COLOR][/SIZE][/FONT][/INDENT][COLOR=Red][B]03.03.2015 (2) (2.0.1) :[/B][/COLOR][FONT=Verdana][SIZE=2][COLOR=DarkSlateGray]
[/COLOR][/SIZE][/FONT][INDENT][FONT=Verdana][SIZE=2][COLOR=DarkSlateGray]- Built with [/COLOR][/SIZE][/FONT][FONT=Verdana][SIZE=2][COLOR=DarkSlateGray]the christopher83's Toolchain (4.9.3 2015.09.02), especially optimized for the Cortex A15[/COLOR][/SIZE][/FONT][/INDENT][COLOR=Red][B]03.03.2015 (2.0.0) :[/B][/COLOR][INDENT][FONT=Verdana][SIZE=2][COLOR=DarkSlateGray]- Kernel is out-the-box with Synapse 0.40 APP and is fully compatible
- Optimized kernel size with some debug/logging tweaks
- The frequencies didn't apply correctly or was buggy with some kernel APP tweaker (like TricksterMod, Synapse or other), it's now all fixed
- Added sysfs nodes for devfreq governors
- Added intellimm governor && removed DanceDance governor [I](finally not removed)[/I]
- Use now the christopher83's Toolchain (4.9.3 2015.09.02), especially optimized for the Cortex A9
- Better battery life when the phone is in deepsleep (to be tested)
- General optimization[/COLOR][/SIZE][/FONT]
[/INDENT][COLOR=Red][B]03.01.2015 (1.1.0) :[/B][/COLOR][INDENT][FONT=Verdana][COLOR=DarkSlateGray][SIZE=2]- Compiled with SaberMod 4.9.x_arm-graphite
- Disabled some loggings debugs
- Disabled AVC Statistics
- Disabled useless traces
- General optimization for better responsiveness[/SIZE][/COLOR][/FONT][/INDENT][COLOR=Red]
[B]02.28.2015 (1.0.0) :[/B][/COLOR][INDENT][FONT=Verdana][COLOR=DarkSlateGray][SIZE=2]- First Release [/SIZE][/COLOR][/FONT][/INDENT]
​ Next release
Code:
[FONT=Verdana][SIZE=2][COLOR=Blue]
[/COLOR][/SIZE][/FONT][FONT=Verdana][SIZE=2][COLOR=Blue]The kernel will be much updated with a lot of optimizations; we are currently working for a really slight, fast and stable kernel.[/COLOR][/SIZE][/FONT]
Credits
All credits goes to REV3NT3CH for his amazing kernel
About
Sources
https://github.com/teksinxda/efficientkernel (coming)
Hmm.. That sounds awesome. Giving a try right now. reporting in a few days
Congratulations to your work and hope to see even better battery life in the next versions
L.E. do you think I can get similar results with a different ROM? (P.S. SaberSunset has already reached version 1.9 )
I will try this on RR
I'll try it, sounds great!
I hope you will enjoy it :highfive:
I'm actually working for the 1.1.0 !
Any way to add other links for the download?
I would really appreciate it..
Will you be building for other variants?
awesome !
tomorrwo i will try it on slimlp ! thanks a lot
TDSJR said:
Will you be building for other variants?
Click to expand...
Click to collapse
Yes sure !
Wycer said:
Any way to add other links for the download?
I would really appreciate it..
Click to expand...
Click to collapse
Added :highfive:
Thanks man, I'll try it
Tapatalked from my D802 - CM12
This kernel is fantastic!
@teksin
In light of Open source and GPL, I don't see @REV3NT3CH 's original git history in your source. What was added?
Snuzzo said:
@teksin
In light of Open source and GPL, I don't see @REV3NT3CH 's original git history in your source. What was added?
Click to expand...
Click to collapse
Yes sure, it's the source of the galaxy s4 there. I will post the source for the g2.
Why do you prefer Westwood over cubic? Thanks
MBurns2 said:
Why do you prefer Westwood over cubic? Thanks
Click to expand...
Click to collapse
westwood was actually default set in my source and kernel. I personally did so because it was the popular choice for many
@teksin
I'm more interested to see what was added. Very interested.
What type of battery life (SOT) you guys getting?
shaneel1491 said:
What type of battery life (SOT) you guys getting?
Click to expand...
Click to collapse
You really asked for SoT ? The kernel is out for like 4 hours and you ask for a SoT? I hope you are just a troll.
kewkie said:
You really asked for SoT ? The kernel is out for like 4 hours and you ask for a SoT? I hope you are just a troll.
Click to expand...
Click to collapse
Whoops sorry, didn't realise the kernel was that new, just hoping for good battery life that could maybe rival the stock battery.

[EXPLANATION][CPU GOVERNOR] Poison CPU governor [VENOM-ONLY]

{
"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"
}
Note :
This thread is not the kernel thread. This thread is about the Poison governor in my venom kernel​-- And btw happy diwali to my good friends and users
Intro :
--->Poison is a governor made by me specifically for this device (A7000-a or aio_row)
--->Poison is based on ThunderX governor
--->Poison has maximum optimisation for this device
--->Poison has amazing performance on this device
--->Poison provides amazing battery backup (based on ThunderX)
--->Poison has many additional features
Features :
--->Made for A7000 specifically in mind
--->Most optimised governor for A7000
--->Has custom tuneables for various operations
--->Has support for dynamic frequency scaling modes
--->Has support for dynamic frequency scaling mode engine
--->Has sysfs tuneables linked to it for easier accessibility
What is a "Tuneable"/"Tunable" ?
--->A tuneable/tunable is any variable/value which controls the behaviour of certain things. What a tuneable does is coded by the maker of the tuneable.
How to change a "Tuneable"/"Tunable" ?
--->It's really easy! Install a kernel-editing app like "Kernel adiutor" from play store and you will have all options in it...
How to change a "Tuneable"/"Tunable" in poison governor?
1) Read above question. Below instructions are for "kernel adiutor".
2) Open the app.
3) Go to "CPU" section (in the sidebar menu or whatever you call that thing).
4) Choose "Poison" governor from the list of CPU governors. Ignore if already set.
5) Tap on "CPU Governor tunables".
6) You will now have a list of available tuneables of my governor.
7) Edit them to your preference.
NOTE : DO NOT TOUCH THE BELOW LISTED TUNEABLES UNLESS YOU KNOW WHAT YOU'RE DOING !
Which "Tuneables"/"Tunables" should be left untouched in poison governor (if you are new) ?
1) debug_mask
2) down_rate_us
3) max_cpu_load
4) min_cpu_load
5) ramp_down_step
6) ramp_up_step
7) sample_rate_jiffies <-- This one even I don't dare editing
8) up_rate_us
Tuneables Added by me :
--->Tuneable for controlling haptic feedback on dt2w
--->Tuneable for controlling Wifi power management modes
--->Tuneable for controlling frequency mode
--->Tuneables for fine-tuning the frequency mode behaviour
--->Tuneable for enabling/disabling dt2w input from capacitive buttons at the bottom
--->Tuneable for enabling/disabling pocket mode (accidental wakeup prevention in pocket)
--->Tuneable for controlling which area of the screen triggers dt2w (x,y co-ordinates)
--->Tuneables for many more things also. A total of 21 custom tuneables! Below they are explained.
Tuneables (only necessary ones) working + explanation :
1) MODE :
Function : This tuneable is for dynamic frequency handling.
Values + what does what :
---Mode 1 (Optimized/Default mode)---
The default mode. Best for normal users who only browse and use social apps etc... It has good screen-on performance and usually stays around 1.1Ghz CPU freq. Will move higher depending on load.
---Mode 0 (low mode) (battery-friendly)---
Makes available to the governor only the values less than "mode_low_freq" (936MHz by default) to keep power consumption low while also allowing considerable background work to occur. When screen is off, it will stay at 468Mhz to save power if no wakelock is requested.
---Mode 2 (high mode) (performance-based)---
The opposite of mode 0. This mode makes Makes available to the governor only the values above "mode_high_freq" (1287MHz by default). Recommended for gamers and heavy multitaskers.
NOTE : Slightly more battery use.
---Mode 3 (min-max mode) ("extreme" behaviour)---
Remains only on 468Mhz and 1495Mhz values, or the min and max frequencies set by user.
---Mode 4 (mid mode) ("ready" behaviour)---
Fixes the CPU frequencies to the value of tuneable "mode_mid_freq" (1170MHz by default)
2) MODE_LOW_FREQ :
Function : This sets the limit to which frequencies can go in Mode 0 (battery-friendly)
3) MODE_HIGH_FREQ :
Function : This sets the limit to which frequencies can drop in Mode 2 (performance-based)
4) MODE_MID_FREQ :
Function : This sets the fixed frequency in Mode 4 (ready behaviour)
5) SLEEP_IDEAL_FREQ :
Function : This is the frequency which will be usually used when phone is in sleep mode.
6) SLEEP_WAKEUP_FREQ :
Function : This is the frequency which will be bounced when a wakelock/wake command is requested.
7) AWAKE_IDEAL_FREQ :
Function : This is the frequency which will be usually used when the phone is active
8) VIB :
Function : If dt2w is enabled, you will feel a vibration on dt2w. This tuneable changes the extent of that vibration.
Value : The value is in milliseconds, so 1000 means phone will vibration for 1 second on dt2w.
9) DT2W_ON_BUTTONS :
Function : If dt2w is enabled, this will enable/disable dt2w on the hardware capacitive keys.
Value : The value is a bool (only 0 and 1). 0 means dt2w from buttons is disabled. 1 means opposite.
10) WIFICUSTPOWERMODE :
Function : It controls that behaviour of wifi networks.
Value : It can take three values. "2" means full speed wifi, may use more battery. "1" means more battery, on cost of speed. "0" is a value even I don't understand. Default value is "2".
11) X_LEFT :
Function : Dt2w will only trigger from the part of touchscreen on right side of this co-ordinate.
Value : Default is 0, can be set upto 720, or X_RIGHT (whichever comes first)
12) X_RIGHT :
Function : Dt2w will only trigger from the part of touchscreen on left side of this co-ordinate.
Value : Default is 720, can be set upto 0, or X_LEFT (whichever comes first)
13) Y_UP :
Function : Dt2w will only trigger from the part of touchscreen below this co-ordinate.
Value : Default is 0, can be set upto 1280, or Y_DOWN (whichever comes first)
14) Y_DOWN :
Function : Dt2w will only trigger from the part of touchscreen above this co-ordinate.
Value : Default is 1280, can be set upto 0, or Y_UP (whichever comes first)
NOTE : Using the combined co-ordinates of X_LEFT, X_RIGHT, Y_UP, Y_DOWN (which makes a square), you can define the part of touchscreen which triggers dt2w. Also note that the default values (0,720,0,1280) make the whole touchscreen, so by default whole touchscreen can react to dt2w.
15) REVERT_DT2W_AREA_BOUNDED_BY_XY :
Function : This tuneable gives its function from it's name. This tuneable reverses the area for dt2w bounded by the co-ordinates.
Values : This is a bool (only 0 and 1). On "0" value, it means off. So dt2w will work only from the area bounded by x_left,x_right,y_up,y_down. On "1" value, this tuneable will activate and dt2w will work only from the area NOT bounded by x_left,x_right,y_up,y_down (on touchscreen only). This tuneable affects only touchscreen dt2w. Note that this value doesn't affect the "dt2w_on_buttons" tuneable. Default value is 0, means dt2w will only function in the area bounded by the co-ordinates.
16) POCKET_MOD_ENABLED :
Function : This tuneable enables/disables pocket mod (accidental proximity wakeup). This should be disabled in ROMs with proximity wakeup support like RR by @Rohan Taneja and all vibe roms. This should be kept enabled on all other ROMs.
Values : This is a bool (only 0 and 1). On "0" value, proximity sensor check is disabled from kernel. ROM proximity check will still work. On "1" value, proximity check is enabled and screen won't wake up if proximity sensor is covered. This might conflict with proximity checks of ROMs... (advanced : ...but the workqueue should handle everything, thus eliminating conflicts, but using double power for same thing on every wakeup call)
17) AC_CHARGE_LEVEL :
Function : Sets the maximum limit of current level while charging with ac.
Value : Can be from 1500000 to 2500000
18) USB_CHARGE_LEVEL :
Function : Sets the maximum limit of current level while charging with usb.
Value : Can be from 900000 to 1500000 (maybe. I don't remember)​
I hope this guide to use the POISON governor properly was of great help to you.
If you have any questions regarding ONLY poison (NOT venom) then post on this thread. Non-sense/Noob questions will be ignored.
If you like my work, please consider donating to me.
If you want to donate, please contact me via private message on xda, or mail me ([email protected]) and simply type "I want to donate to you" or something like this.
XDA:DevDB Information
Poison governor, Tool/Utility for the Lenovo A7000
Contributors
tanish2k09, Those who made linux, ThunderX CPU gov devs, those who made all the stuff my tuneables point to, Rohan Taneja for giving support, HDHR for starting me off in development
Source Code: https://github.com/tanish2k09/Venom-Poison_cpu_governor_aio_row/
Version Information
Status: Stable
Current Stable Version: 2.0.
Stable Release Date: 2017-10-19
Created 2017-10-19
Last Updated 2017-11-13
Reserved
A new poll is now up on this thread!
Vote whether this guide was helpful to you or not!
Everything was typed by me, properly sized, colored and placed by me. It took me a lot of time.
What did I get for it? Nothing at all! Absolutely out of good will. Enjoy.
Don't forget to donate if you think my work is worth it!
Reserved
AWESOME EXPLANATION BRO...
Guys I just updated the tuneables list. Sorry it had some glitch where 11 was shown multiple times.
Now I think everything is perfect. Please vote in the poll from browser. Only 3 users have voted till now.
Really amazing bro
aswinp222 said:
Really amazing bro
Click to expand...
Click to collapse
Sir I will sent private message to you
aswinp222 said:
Really amazing bro
Click to expand...
Click to collapse
So you still have a7k? You use poison?
How about a vote in the poll?
And where's my thanks?
Really good explanation bro ! :good:
I'll update the thread with 4 more tuneables which are in my last build (27oct)
First post updated with 8 more tuneables!!!:highfive:
Latest high performance version of venom coming up on Nov 12th (Sunday). Yup! That's less than 20 hours!
Be patient and tomorrow, just download the venom kernel after release... Download as if it will be your last breath if you don't download it fast lol
Stay tuned!
Before I go for this year from xda, here's my last piece of contribution.
Poison CPU governor is now open source!
Means it can be added to even other kernels!
Here's the source code of my governor :
https://github.com/tanish2k09/Venom-Poison_cpu_governor_aio_row/
Ac_charge_level
Where do I set the charge level at?
just wanna know if i can turn off d2tw on screen and enable dt2w on the hardware capacitive keys only? plus i want to disable all the off screen swipe gestures.
AnOob_701 said:
just wanna know if i can turn off d2tw on screen and enable dt2w on the hardware capacitive keys only? plus i want to disable all the off screen swipe gestures.
Click to expand...
Click to collapse
Yes. And yes.
With venom, you are in power. You decide how you use your phone, and I make it possible. Try not to get lost in the options lol, I didn't even realize there are so many
I just finished editing kernel to my liking. It's absolute beauty everything is well thought out and easy to understand. Thanks for the outstanding kernel.
@tanish2k09 any way to charge fast, it seem really slow to me.
AnOob_701 said:
I just finished editing kernel to my liking. It's absolute beauty everything is well thought out and easy to understand. Thanks for the outstanding kernel.
@tanish2k09 any way to charge fast, it seem really slow to me.
Click to expand...
Click to collapse
Fast charging is enabled by default in latest venom, and it's the fastest you're gonna get in any custom kernel.
It might seem slow for a variety of reasons. First, the chipset is derped, and doesn't know what battery level is actually is. Second, the battery drain causes part of charging to be super fast but other part to be super slow.
Third, the kernel flash didn't quite like itself, so an easy fix would be to reflash the same zip again.
Quite understanding, thanks for the explanation @tanish2k09, I'm gonna keep it as it is, no biggie backup this kernel provide is I'm all about.

Categories

Resources