[EXPLANATION][CPU GOVERNOR] Poison CPU governor [VENOM-ONLY] - Lenovo A7000 ROMs, Kernels, Recoveries, & Other De

{
"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.

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] [GSM/LTE/CDMA] [4.0.4] CMPlus for Tuna [11 JUN]

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

[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.

[KERNEL][7.1.x][WEEKLIES] Electron Kernel for Angler [v15][August18th][SPECTRUM]

This is a flash and go kernel, please do not tweak options unless you are an advanced user.
Weeklies: Weeklies are provided automatically via a Jenkins server, and uploaded to GitHub here https://github.com/frap129/angler-weeklies.
To download a weekly, click on the latest weekly zip in the link above, then click "View Raw" to initiate the download.
Weeklies DO NOT replace stable releases. You can find the latest stable release in the downloads section below.
NOTE: Weekly builds are not guaranteed in any way, are untested, and possibly unstable (probably not though). By flashing a weekly, you agree to not receive support so that you can be on the bleeding edge of Electron.
Electron has Spectrum support! Spectrum is a simple and easy to use kernel management app. Though it was initially intended to be a companion app for Electron, Spectrum's innerworkings have been made public so that any developer can add spectrum support to their kernel! Checkout the Spectrum XDA thread or use the link the downloads section below!
Spectrum XDA Thread
Current features:
Chill Governor: A conservative based gov with boosting and sleep-state functions
Relaxed Governor: A chill based gov with more gradual boosting
Electron Governor: An interactive based governor with battery life and performance
Advanced governor tuning using Chill+Relaxed
Maple I/O Scheduler: A scheduler tuned for interactivity
Fingerprint Boost driver
Custom PowerHAL
Shadow Scheduling
Adreno Idler
CDG Congestion control algorithm
Spectrum support
Linux 3.10.107
Backported random driver from 4.1.39
KCAL Color Control
Wake Gestures
Sleep Gestures
Faux Sound Control
PDesire Audio 10.1
State Notifier
UFS Controller Boosting
Arch Power
Disabled FSync
Enabled Dcache word access
Enabled CleanCache driver
Optimiced String Routines
Reduced CPU load
Optimized Square Root
Improved Memory I/O functions
Hardlimit Max/Min frequencies
Optimized libraries
Power Efficient workqueues
Backported Zen Interactive tunings from Zen 4.10
FRandom driver
Fully tickless system (No kernel timer interrupt)
Improved ZRAM + ZSwap + ZPool
Improved backlight algorithm
F2FS support
GPU Display state awareness
Custom Linaro based GCC 7.1.1 Toolchain
Heavily tested complie-time optimizations
Various backports/patches/fixes
Installation:
1. Make sure you aren't running a custom kernel; dirty flash your ROM to revert to stock if necessary.
2. Make sure all kernel tweaking apps/scripts/tools will not apply options on boot.
3. Download the kernel zip
3. Reboot to recovery
4. Flash
5. Enjoy!
Reporting Bugs:
Please follow this guide by @The Flash . If reporting a crash/reboot, provide both a dmesg and ramoops. Otherwise, provide a logcat and dmesg. Guide
Download Electron:
AndroidFileHost
Download Spectrum:
Google Play
Known Issues:
None!
I would like to thank all of the great people whose support and help that I've received and whose work I've referenced to make this kernel a reality: FranciscoFranco, ak, RenderBroken, flar2, xanaxdroid, nathanchance, R3V3NT3CH, imoseyon, arter97, Faux123, DespairFactor, neobuddy89, show-p1984, and anyone I missed!
XDA:DevDB Information
Electron Kernel for Angler, Kernel for the Huawei Nexus 6P
Contributors
frap129
Source Code: https://github.com/frap129/angler
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 15
Stable Release Date: 2017-08-18
Created 2016-08-20
Last Updated 2017-08-18
Change Log
Changelog (full changelog on github):
September 10th, 2016:
Added many CAF Patches
Added Maple I/O Sched
Improved Chill CPU Governor
Enable Adreno Idler
Add ZenTune 4.5
Enable CleanCache Driver
Enable Fully tickless system
Add CDG Congestion algo
Misc more
September 7th, 2016:
Release 2
See features list for details (Kernel was rebased, no real 'changes')
August 19th, 2016:
Release 1
See features list for details
Technical information
In this post, I will add descriptions of my original kernel features for users and developers to reference.
Chill CPU Governor:
Chill is based on conservative, and has two main deviations: a frequency boost interface and sleep-state power savings. The boost interface uses count based boosting, not timer based. This means that after frequency has increased X (default is 10) times in a row, the governor pushes frequency to max in order to skip checking for the remaining steps and acts on a min/max principle. This often matches the speed of interactive with improvements to battery. The sleep-state power savings entail restricting frequency to min when the screen is off, although a sleep boosting interface may be added to help with loads caused by syncing while asleep.
Maple I/O Scheduler:
Maple is based on the Zen and Simple I/O schedulers. It uses Zens first-come-first-serve style algorithm with separate read/write requests and improved former/latter request handling from SIO. Maple is biased towards handling asynchronous requests before synchronous, and read requests before write. While this can have negative aspects on write intensive tasks like file copying, it slightly improves UI responsiveness. Like chill, maple also has power saving features. When the device is asleep, maple increases the expiry time of requests so that it can handle them more slowly, causing less overhead.
Relaxed CPU Governor:
Relaxed is based on chill, and has been altered in order to achieve more gradual frequency boosting. Relaxed uses a boost ceiling variable in order to achieve this. Rather than boosting straight to the max frequency, relaxed finds the difference between boost_counter and boost_ceiling, then boosts to max minus that difference. For example, if boost_count is 8 and boost_ceiling is 12, when boost_counter reaches 8, the cpu freq will boost to 4 (12-8) levels below max, then increase if needed until boost_counter reaches boost_ceiling. This governor doesn't completely replace chill, but is intended to be used alongside it. Since the lowest frequency on a57 cores uses more power than the highest freq on a53 cores, it is still valuable to use chill on a57 in order to complete a task as quickly as possible.
Electron CPU Governor:
Electron is based on the latest interactive from the MSM8994 CAF branch with upstream improvements from Google, Linaro, and Chromium. The main differences are the inclusion of 2 new tunables, powersave_bias and screen_off_maxfreq. These allow for more granular control of your devices frequency scaling than the standard interactive governor. There are also improvements from FranciscoFranco, Imoseyon, and Neobuddy89.
Fingerprint Boost driver:
FP Boost is a custom boosting driver based on cpu-boost by Sultanxda. When input is received from the fingerprint sensor, all available cores are boosted to max frequency for 3 seconds in order to reduce the fingerprint scanner delay and wakeup lag.
Heck Yeah! Looking forward to running this!
Sounds awesome! Kudo's
Looks like we have a new kid on the block!
Thanks for sharing your work
frap129 said:
Changelog (full changelog on github):
August 19th, 2016:
Release 1
See features list for details
Click to expand...
Click to collapse
Does it work on N?
primo14z said:
Does it work on N?
Click to expand...
Click to collapse
Please read the title of the thread.
Added to Nexus 6P index thread:
[INDEX] Huawei Nexus 6P
frap129 said:
Please read the title of the thread.
Click to expand...
Click to collapse
So SORRY!! it was 5 am when i asked , sorry :/
frap129 said:
Please read the title of the thread.
Click to expand...
Click to collapse
He's just too excited
frap129 said:
...Known Issues:
Defaults not setting on boot
...
Click to expand...
Click to collapse
What does this mean, exactly? Says it's "flash and go", which appeals to me, but if the pre-tuned settings don't boot... Am I misunderstanding? Thanks, BTW!
Nexus 6P
jesssiii said:
What does this mean, exactly? Says it's "flash and go", which appeals to me, but if the pre-tuned settings don't boot... Am I misunderstanding? Thanks, BTW!
Nexus 6P
Click to expand...
Click to collapse
The default settings do boot, but on some ROMs the governor gets overridden at boot, so it gets changes back to interactive.
primo14z said:
So SORRY!! it was 5 am when i asked , sorry :/
Click to expand...
Click to collapse
dex2grigg said:
He's just too excited
Click to expand...
Click to collapse
It's all good
I may give this a go with my reflash of PureNexus soon
I'm trying it out, thanks.
Link not working.
OmegaBlaze said:
Link not working.
Click to expand...
Click to collapse
Link works fine for me, just opened it in Chrome. Basketbuild may be having issues but I was able to download just fine.
nathanchance said:
Link works fine for me, just opened it in Chrome. Basketbuild may be having issues but I was able to download just fine.
Click to expand...
Click to collapse
View attachment 3849038
{
"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"
}

Development [Kernel][Overclocked] No Gravity [2023-04-30][ProtonClang]

NoGravityKernel
{
"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"
}
Hey, NoGravity Kernel dev here! You may already know me from my other supported phones (OnePlus 2, F1, Mi 8, X3 Pro, Mi 10T, F2, F4) I've graduated with a bachelor degree in computer science and I actually work as a C# programmer. NGK's mindset is Performance/smoothness while getting good battery life due to added battery oriented features.
I currently do not own the device, but if you like my work and want to support me, a crowdfunding was made in order to speed up the development for this phone
(Scroll down for Telegram Group link where I'll be most of the time)
The Kernel will boot using Balance Profile when Magisk is present. Other profiles for battery, performance and gaming can be switched to in my app.
To tweak the kernel easily, here's my No Gravity app! featuring custom profiles (Battery, Balanced, Performance and Gaming & Gaming+). My app offers some device specific features that can't be found in other kernel tweaking apps. You can find them lower in the thread.)
-No Gravity app! support
-Compiled with Proton Clang + O3 + Polly + LTO optimizations
-KernelSU support
-NGK Thermal locking mechanism*
-DC Dimming
-Boeffla Wakelock Blocker
-Optional Proximity Sensor blocking for Telegram / Nekogram
-High Brightness Mode
-AdrenoBoost
-GPU UC/OC : 150MHz / 682MHz
-CPU Input boost driver instead of CPU boost
-Devfreq boosting
-Enabled WALT, disabled PELT
-Using Big and Prime clusters for specific performance critical events
-Devfreq boosting for various events like app opening
-Disabled ZRAM by default (Only if ROM doesn't override it)
-USB Fast Charging
-Various GPU & libs optimizations
-VDSO for better 32 bit performance
-Small debloat
-Merged in latest CLO Tags
-Always upstreamed to latest (4.19.282)
-And many more under the hood changes & optimizations
Note: Some features aren't enabled yet for this specific phone, but they'll come in future updates
-Monet theme adapting to your ROMs colors dynamically
-Injected sepolicies to work on Enforcing SELinux
-Kernel & App update checker (Direct install of kernel and app)
-Balance(Default),Performance,Battery,Gaming & Gaming+ Profiles (QSTile available)
-Custom Profile Creator Page that let's you create and share profiles with the NGK community (/SDCARD/NGK/PROFILES/)
-Precise CPU temperature for each Clusters separately
-Per-App Tweaks Page to load tweaks for specific apps
-CPU Page with following tunables:
-CPU Governor
-CPU Frequency Selection Algorithm (Linear/Exponential)
-CPU Min/Max Frequencies
-Input boost
-NGK Smart Throttling
-NGK Stats Page showing last gaming session FPS+ Chart, throttling, battery drain, avg CPU temps & avg Battery temps, toggle for enabling NGK Stats Overlay displaying FPS and following optional features:
-CPU Temps/Freqs
-GPU Temps/Freqs
-Battery Temps/Percentage
-RAM usage
-Kernel Page to let you control:
-App optimization (ART) Button
-Thermals:
NoGravity (NGK’s default) || Battery || Stock one
-Sultan PID read optimizations
-ZRAM
-GPU Page:
-GPU Stats
-Min/Max GPU Freq Selector
-High Brightness Mode
-Content Adaptive Backlight Control
-Adrenoboost
-Touchscreen firmware selector
-Proximity Gestures Switch to pulse ambient dispay on Hand Wave
-Pick-Up Gesture Switch to pulse ambient display when device is taken
-Pixel 3 Flip to Shhh feature
-DTS Eagle (Sound) Info Page
-More will be added...
-More features...
-Let me know what you want and those may be added!
This kernel should work on any ROM & MIUI!
-I recommend before coming to conclusion, give it at least 2 complete charge cycles and then raise any issue.
- I recommend to use my app, franco app or EX Kernel Manager if you need to tweak the kernel further
-Flash No_Gravity_Kernel-vX.X.zip file in TWRP (Latest TWRP Recovery Recommanded)
-(Optional) - Clear cache and Dalvik => if you do so, Use App Optimization button in NGK App to regenerate ART or let device charge at idle at 100% for some time (that's when android runs optimizations).
Download No gravity Kernel / Download No Gravity App
Donate me! / Telegram Group /
No Gravity App Changelog / No Gravity Kernel Changelog
-The android community and to all my testers for using my kernel and your precious feedbacks and ideas!.​
Contributors
Pierre2324
Source: https://github.com/Pierre2324/NGK_android_kernel_xiaomi_sm8250
Version Information
Status: Stable
Current Version: 1.4.0
Created: 2022-12-18
Last Updated: 2023-04-30
Changelog
NoGravity Kernel v1.4.0 + NGK App 6.4.0
Previous Changelogs:
NoGravity Kernel v1.3.0 + NGK App 6.3.0
NoGravity Kernel v1.2.0 + NGK App 6.2.0
NoGravity Kernel v1.0.1 + NGK App 6.1.1 (Hotfix)
NoGravity Kernel v1.0.0 + NGK App 6.1.0
I currently do not own the device, but if you like my work and want to support me, a crowdfunding was made in order to speed up the development for this phone.
app doesnt wanna change thermals to stock
zram reverts back to default after reboot
edit:
nvm, stock works
only problem is apply on boot
great kernel btw
wow its big surprise and sooo great to seeing NoGravity here !!! Thank u for share!!
I guess it's true what they say, that hope dies last.
Nice to see you again Pierre, it's been a while.
Great to see one of the best kernels here for alioh.
Wmbruckner said:
I guess it's true what they say, that hope dies last.
Nice to see you again Pierre, it's been a while.
Great to see one of the best kernels here for alioh.
Click to expand...
Click to collapse
Oh hey! Its been a while, OG since the OnePlus 2 Did not remember you having F3, nice to see you here!
Noice
It's great to see this kernel here. A quick question does it support DC Dimming?
DC Dimming Kernel
Hi Guys, I'm currently using lineage 18.1 with Optimus Drunk Kernel. I would really like to upgrade to Lineage 19, but can't find a Kernel that supports DC Dimming. Do you know of any Kernels that support DC Dimming and are still maintained...
forum.xda-developers.com
Cheers.
Nice to see a new kernel for F3. Is it compatible with miui 14?
arbrib86 said:
Nice to see a new kernel for F3. Is it compatible with miui 14?
Click to expand...
Click to collapse
Yes a hotfix will come later tho for some people undervolt seems unstable so will be fixed but yes seems to work fine. Don't forget to flash miui-dtbo after kernel
theoneofgod said:
It's great to see this kernel here. A quick question does it support DC Dimming?
DC Dimming Kernel
Hi Guys, I'm currently using lineage 18.1 with Optimus Drunk Kernel. I would really like to upgrade to Lineage 19, but can't find a Kernel that supports DC Dimming. Do you know of any Kernels that support DC Dimming and are still maintained...
forum.xda-developers.com
Cheers.
Click to expand...
Click to collapse
Hey, hmm I dont think so, I didnt add it or anything. You can send source of a kernel with it working and I'll check what I can do. This is for screen retention?
Pierre2324 said:
Hey, hmm I dont think so, I didnt add it or anything. You can send source of a kernel with it working and I'll check what I can do. This is for screen retention?
Click to expand...
Click to collapse
This would be to reduce PWM flicker that AMOLED displays have. It can bother some people and cause headaches.
https://github.com/GZR-Kernels/Optimus_Drunk_Alioth
theoneofgod said:
This would be to reduce PWM flicker that AMOLED displays have. It can bother some people and cause headaches.
https://github.com/GZR-Kernels/Optimus_Drunk_Alioth
Click to expand...
Click to collapse
Okay I will have a look thanks
[Forwarded from NGK telegram group]
Ive just uploaded:
X3PRO_3.1.0-dtbo-miui-FIXED.img
F2_1.0.0-dtbo-miui-FIXED.img
F3_1.0.0-dtbo-miui-FIXED.img
F4_1.0.0-dtbo-miui-FIXED.img
Mi10T_1.0.0-dtbo-miui-FIXED.img
Files (Kernel section) for people having screen content dimension issues (mostly seen on miui) its been tested quickly and reported to work, thanks to @AbdulazizHashim
Hope all is fine now (pinch to zoom, telegram replies, UI size, genshin joystick size)
For those who don't know what dtbo is, if you face any of the above mentioned issues flash corresponding dtbo for your device after flashing the kernel.zip and it should fix you issues.
Now hopefully, I can go to bed
have i become one of those testers that are mentioned in custom roms and kernels
3zozHashim said:
have i become one of those testers that are mentioned in custom roms and kernels
Click to expand...
Click to collapse
Sadly doesnt seem fixed for everyone on MIUI
Hotfix is out for kernel (1.0.1) and app (6.1.1!)
Changelog post(#2) updated, thread updated.
using this kernel on balance mode give better benchmark for me, also connection to my car bluetooth is much more stable (music name displayed and auto connect always works)
blasev said:
using this kernel on balance mode give better benchmark for me, also connection to my car bluetooth is much more stable (music name displayed and auto connect always works)
Click to expand...
Click to collapse
Nice good to know

Categories

Resources