[Kernel][TW] ChronicKernel - (UV/GPU/CPU-OC/linaro) [07/30/2014] - Samsung Galaxy S 5 Unified Development

ChronicKernel for Samsung Galaxy S5​
{
"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"
}
Code:
#include
/*
* Your warranty is now likely void.
*
* I am not responsible for bricked devices, dead SD cards,
* spontaneous combustion, or any other host of cosmic penalties
* which may befall you, your family, or your phone.
*
*/
Here is a initial kernel for TW. Forked from ktoonsez, t has all the features you would expect from a modded kernel, CPU OC, GPU OC, more CPU governors, Undervolted, GPU OC CPU L2 OC, and linaro -o3 optimizations
Click to expand...
Click to collapse
Screenshots
Requirements
* Rooted (obviously)
Installation
1: Place zip on sdcard
3: Reboot into recovery
3: Clear cache and dalvik cache
4: Flash zip
5: Reboot
6: If desired edit the init script at /system/etc/chronic-config.sh to suit your needs
7: Profit
ChronicKernel
* All-in-One kernel for all qualcomm variants
* Compiled with linaro
* GPU OC to 657 Mhtz (578Mhtz default - configurable though chronic-config.sh init script)
* CPU OC to 3.07 Ghtz (2.45 Ghtz default)
* CPU bandwith increase
* Added many I/O Schedulers (ROW, SIO, ZEN, etc...)
* Merged a lot of scheduler related performance patches from my S4 kernel and Faux123's
* Added CPU Governors intelliactive wheatley pegasusq smartmax dancedance nightmare intellidemand badass abyssplugv2 abyssplug and Lionheart (Default gov = interactive)
* User adjustable CPU uV
* Kernel based thermal management
* Chronic Hotplug (kernel based mpdecision replacement)
* No ROM overriding your Max freq BS
* FauxSound
* frandom support
* Enable/disable fsync support (fsync enabled by default)
* Countless amounts of ARM optimization from various sources
* Optimized and compiled with with the "Optimize a lot, or -o3 option)
* USB fast charge (disabled by default - configurable though chronic-config.sh init script
* Linux 3.4+
This kernel uses a simple shell script called chronic-config.sh (located at /system/etc/chronic-config.sh) With this script you can specify your desired default values for various things including cpu governor, min/max cpu freq. USB fastcharge etc. This file as is requires no intervention and will not interfere with any kernel tuning app you already use. It is just there for people who like a minimal approach and as it is the most direct method of changing settings so will always work. We all know how sometimes apps get an update and it breaks something for you Below is an example of the config options in the script.
Click to expand...
Click to collapse
Code:
# Configure your options here #
# Config default CPU Gonvernor
#
# Kernel Default: interactive
# Uncomment desired governor by removing the "#" symbal before desired gov
# and add a "#" to the old line
# Possible values
# GOV=abyssplug
# GOV=abyssplugv2
# GOV=badass
# GOV=consevative
# GOV=dancedance
# GOV=intelliactive
# GOV=intellidemand
# GOV=linoheart
# GOV=nightmare
# GOV=ondemand
# GOV=pegasusq
# GOV=performance
# GOV=powersave
# GOV=smartmax
# GOV=userspace
# GOV=wheatley
GOV=interactive
# Config CPU frequency
#
# Default: 2457600 (2.45Ghtz)
# Recomended: 2764800 (2.76Ghtz)
# available frequencies:
# 300000 345600 422400 499200 576000 652800 729600 806400 883200 960000 1036800 1113600 1190400 1267200 1344000 1420800
# 1497600 1574400 1651200 1728000 1804800 1881600 1958400 2035200 2112000 2150400 2188800 2265600 2342400 2419200 2457600
# 2534400 2611200 2688000 2764800 2841600 2918400 2995200 3072000
#
# Max/Min
MAXFREQ=2457600
MINFREQ=300000
# Config GPU clock Max Frequency
# 389000000 = 389mhz (Super Underclocked)
# 462400000 = 450mhz (Underclocked)
# 578000000 = 578mhz (Default)
# 657500000 = 657mhz (Overclocked)
GPU_MAX=578000000
# Config GPU clock Min Frequency
# ** Choose either Samsung default 320Mhtz or Standard 200Mhtz
# ** key is as follows..
# 320Mhtz = 4
# 200Mhtz = 5
GPU_MIN=4
# I/O Scheduler
#
# Available schedulers: cfq, bfq, fiops, noop, deadline, row, sio, vr, zen, fifo
# Device default: cfq
SCHED=cfq
# Enable/Disable FSYNC
#
# Y = Enabled (default)
# N = Disabled
FSYNC=Y
# Enable Fastcharge
# 0 = disabled
# 1 = substitute AC to USB charging always
# 2 = substitute AC to USB charging only if there is no USB peripheral detected
FASTCHARGE=0
# Chronic Hotplug
# set custom "enable_core_thresholds" This is represented as four numbers each being for the corosponding core (0,1,2.3)
# the numbers are derived from cpu load times 10
# 0 = always on
# 999 = never on
ENABLE_CORE_THRES="0 290 340 390"
# End of configurable options #
July-30
* Updated to latest NG2 source from Samsung
* Updated kernel to Linux 3.4.100
July-19
* Cleaned up cpu frequency table, 2899Mhtz was never a valid freq, and the new ones were based off of that step. That is now fixed
* Bumped bandwith on 3 highest freq steps
* Bumped max voltage to 1400
* I/O: deadline: Allow 0ms deadline latency, increases the read speed
* SELinux: Fix memory leak upon loading policy
* msm: kgsl: Fix nice level for higher priority GPU start thread, previously we were using the lowest possible process priority which increase latency, (cherry-picked from flar2's HTC One-M8 kernel)
* PM: devfreq: Use high priority workqueue. Same thing as mentioned above, give the GPU freq driver higher priority (flar2)
* A couple misc. I/O related patches from upstream CAF kernel
* Updated to latest NF6 kernel source from Samsung
* removed more log span (ktoonsez)
* added nightmare cpu governor
* tweaked some ancient configs for intellidemand back from the msm8x60 days
* added frandom support if there is anyone who uses it
* Added sysfs module to enable/disable fsync (enabled by default). It's in the standard location (/sys/module/sync/parameters/fsync_enabled) and like always can be configured though the chronic-config.sh script. I can also personally vouch for the tack that tricksterMOD will show the FSYNC enable/disable toggle with this patch. So any other app with the option should as well
* cleaned up chronic-config.sh and added missing cpu governors to list
July-17
* Added ability to overclock CPU to 3.01Ghtz
July-13
* Chronic Hotplug is born! This is basically based off of ktoonz KT auto hotplug but with user configurable parameters. Right now all you can change is the "enable_core_thresholds" this is the load the system has to be at for each respective core to turn online. the number is % of cpu load time 10. So 30% would be 300 (0 = always online). There is one module called enable_core_thresholds that sets all four cores. Its formatted like this (0 240 290 390). I have added an option in the chronic-config.sh script to configure this. Here is an example showing cores 0 and 3 always being on and 1 and 2 to come on at 24% and 29% respectively
Code:
ENABLE_CORE_THRES="0 240 290 0"
This line can be found in chronic-config.sh under the "Chronic Hotplug" section. Check script or above for more info.
* Disabled userspace mpdecision since we are now using Chronic Hotplug
* Also added option to set I/O scheduler in chronic-config.sh
* Backported some upstream 3.16 scheduler updates
July-10
* Reverted some of the sched tweaks merged from faux's kernel to vastly improve I/O performance
* Disabled some more debug options we don't need to speed up the kernel
* Switched back to Gzip compression as we have the room and kernel will initialize faster
* Set net loopback default mtu to 64K
* Fixed simple-ondemand gpu governor from crashing (ktoonsez)
* Reverted DRIVERS: SLIMBUS initial overclock commit as it seemed to drain battery when playing music
* Removed async-fsync for now until I make a module for it. Like another user said, I didn't notice any performance decrease with it off.
* Removed F2FS as i'm pretty sure its only compatible with AOSP (If i'm wrong let me know and i'll merge it back)
* Further tweaks to thermal (kthermal) values to be more stable on high frequencies (dropped polling speed to 500 ms and lowered temp limits about 2 degrees
* Disabled KT-auto-hotplug code i forgot about since I don't support it
* Stopped Samsung's "cpufreq_limit" driver from overriding Max freq (note: I had the option of stopping it from changing the min freq but it drastically decreases performance. This is equal to the cpu-boost and DVFS driver on the S4. They just expanded it to include a max freq cap which i disabled so we are not limited by it, So bottom line. You can set your min freq/ but it is temporarily overridden by the driver at times. THIS IS NORMAL AND IS LIKE THIS IN ALL KERNELS EXCEPT I ACTUALLY DISABLED THE MAX LIMIT SO IT STOPS GETTING LIMITED AT 1.19GHTZ AT TIMES. THIS IS THE OPTIMUM SOLUTION
* Fised chronic-config.sh not copying to the devices
* chronic-config.sh: fixed path for GPU max freq
* Set GPU min freq to 320mhtz (Samsung default) and added an option in chronic-config.sh to change it
* chronic-config.sh: list all available cpu frequencies instead of just a range since they are hard to remember
July-5
* initial release *
Some noteworthy changes from original source not listed above...
* Got rid of some logspan.
* send input events one at a time (faster touchboost related responses)
* few mismatch derps by samsung (faux123)
* Few other small fixes
* ]If you have problems with frequencies sticking use "System Tuner" and go to Settings and prevent other apps from changing CPU settings
* ]If you have problems with MINIMUM frequency sticking the reason is because of the touch boost driver. when you tap the screen you can't go below 1.19Ghtz, hence whenever you set a min freq....The only real solution to this without disabling the touch boost driver which hinders performance is to use the chronic-config.sh script or have an app set it boot. basically be set without a tap on the screen
* Although this kernel has now reached "beta" status. bugs still could pop up. please if you find a reproducible bug and decide to post please try and provide a last_kmesg or logcat.
TW : ChronicKernel-KK4.4-TW-KLTE-v1.5.zip
Goo.im Repo (mirror) : CLICK HERE
My Github (main): https://github.com/Team-Hydra/android_kernel_samsung_klte
* ktoonsez, this is a major fork of his kernel!
* First off of course cyanogen, the CyanogenMod project and all who contribute.
* A lot of this was taken/based off of flar2's Kernel for the HTC One, so thanks for the source!
* Also grabbed some things from Faux123's kernel
* All the people who have helped me learn more and more over the past year and a half (arco/dastin1018/android1234567) you guys are the best!
here is a donation link if you want to buy me a coffee or pack of smokes (I go through a lot sitting on the PC messing around lol) go ahead. But not required or expected by any means
Note: The name on the paypal account may say patricia, this is because it's a family paypal account.
Happy Flashing
Albinoman887
XDA:DevDB Information
[TW] ChronicKernel (UV/GPU/CPU-OC/linaro), Kernel for the Samsung Galaxy S 5
Contributors
albinoman887
Kernel Special Features: Linux 3.4.x Kernel for GS5 with overclocked CPU/GPU, Linaro optimizations, chronic-hotplug, upstream fixes, frandom, and much much more
Version Information
Status: Beta
Created 2014-07-06
Last Updated 2014-07-30

Reserved
close old project which i acidently put in general section and re-opened here. in unified develeopment

Thx for this kernel! Everything works great except one thing...the min frequency doesn't stick @ 300 mhz. I have this problem on all kernels I tried. I tried your advice with no frills cpu but unfortunately it doesn't helps it even set it to 300 mhz!
Verstuurd vanaf mijn SM-G900F met Tapatalk

FlemishDroid said:
Thx for this kernel! Everything works great except one thing...the min frequency doesn't stick @ 300 mhz. I have this problem an all kernels I tried. I tried your advice with no frills cpu but unfortunately it doesn't helps it even set it to 300 mhz!
Verstuurd vanaf mijn SM-G900F met Tapatalk
Click to expand...
Click to collapse
Yeah. its suppose to be like that. there is a cpu-boost driver written by samsung in the kernel that does that. To test i disabled part of the code that played with min freq but it really gives you a performance hit. so yeah. dont bother with min freq. Its suppose to change like that. its basically another mpdecision service in the background. ktoonz kernel has it. faux's has it. stock kernel has it. just the way it is on the msm8974pro

albinoman887 said:
ChronicKernel for Samsung Galaxy S5​
Click to expand...
Click to collapse
NM, answered my own question. Good luck with the kernel.

gspears said:
NM, answered my own question. Good luck with the kernel.
Click to expand...
Click to collapse
what was the question?

FlemishDroid said:
Thx for this kernel! Everything works great except one thing...the min frequency doesn't stick @ 300 mhz. I have this problem an all kernels I tried. I tried your advice with no frills cpu but unfortunately it doesn't helps it even set it to 300 mhz!
Verstuurd vanaf mijn SM-G900F met Tapatalk
Click to expand...
Click to collapse
not sure about no frills but using system tuner it will eventually reset to what you set

As the GPU is so much overclocked, is there any GPU governor similar to the CPU ones?
I assume the phone temporarily underclock the GPU if it's not needed to save battery, am I right?
And BTW I think the config file has a typo.
# GOV+smartmax
Should be
# GOV=smartmax
Right?

kgyirhj said:
As the GPU is so much overclocked, is there any GPU governor similar to the CPU ones?
I assume the phone temporarily underclock the GPU if it's not needed to save battery, am I right?
And BTW I think the config file has a typo.
# GOV+smartmax
Should be
# GOV=smartmax
Right?
Click to expand...
Click to collapse
yeah. Kt-simple gov is also avaiable

albinoman887 said:
what was the question?
Click to expand...
Click to collapse
It was stupid. I just was wondering why you were teasing us 900A owners with a kernel we can't have due to our locked bootloader and then I realized I was in the unified section.
Sorry about that.

Does this kernel include all features from original Ktoonse kernel?
I noticed Ktoonse TW kernel zip file is several megabytes bigger then this one.

Chronic-config.sh is not in system/etc. Do we make it our self's? Thanks for kernel btw
Sent from my SM-G900F using XDA Premium 4 mobile app

Any idea on stability with a S5 active sm g870a. And if so will Tegrak overclock run with this kernel.
Sent from my SAMSUNG-SM-G870A using XDA Premium 4 mobile app

selinux status?
Is the SELinux status set to permissive by any chance? if so that would be fantastic!

stalli0nUK said:
Chronic-config.sh is not in system/etc. Do we make it our self's? Thanks for kernel btw
Sent from my SM-G900F using XDA Premium 4 mobile app
Click to expand...
Click to collapse
hmmm. it should be. never actually checked to see if it copied over. is it present in the zip file?
EDIT: just realized i compiled the build with my "dev" script that doesnt include the zip. I'm gonna be releasnig a new version soon (NO ETA!!!!) when i do i'll pop the script in there. everything in it you could configure with an app anyways. I just like it because its set on boot always and faster
lars1110 said:
Is the SELinux status set to permissive by any chance? if so that would be fantastic!
Click to expand...
Click to collapse
yes it should be
kgyirhj said:
Does this kernel include all features from original Ktoonse kernel?
I noticed Ktoonse TW kernel zip file is several megabytes bigger then this one.
Click to expand...
Click to collapse
not entirely. the size is because of XZ compression. but I did remove some of the extra cpu throttling things. like GPS governor or music playing min freq etc since i dont support his app. But other then that yes..

GDofWR420 said:
Any idea on stability with a S5 active sm g870a. And if so will Tegrak overclock run with this kernel.
Sent from my SAMSUNG-SM-G870A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Any one
Sent from my SAMSUNG-SM-G870A using XDA Premium 4 mobile app

GDofWR420 said:
Any one
Sent from my SAMSUNG-SM-G870A using XDA Premium 4 mobile app
Click to expand...
Click to collapse
You are in the galaxy s5 section. It will probably not work for the s5 active

Hellscythe said:
You are in the galaxy s5 section. It will probably not work for the s5 active
Click to expand...
Click to collapse
Reason I ask is I've heard people flashing stuff from your guys section and only losing the active button which other than the fingerprint scanner is really the only big difference and also s5 active doesn't have its own forum so I have to post here with you guys. Hopefully we will have our own forum soon. EDIT: duh locked bootloader here never mind
Sent from my SAMSUNG-SM-G870A using XDA Premium 4 mobile app

albinoman887 - Thank you for this kernel! Only thing missing from Ktoonsez was -fsync support and you rectified the issue.

Update
One issue I have found, flashing the kernel breaks init.d, for some reason it deletes 'system/bin/sysinit'.
Also I guess I wrongly assumed that the HTC fsync was the same as standard -fsync disabling, for one the module isn't there and there is not any bandwidth increase that one would see if -fsync was disabled. Can you add support for it? The issues with it and data loss are greatly exaggerated and it doesn't have to be enabled by default. Thank you, so far the kernel is running great.

Related

[KERNEL][ARC/S] LuPuSv3 [CM9 BASED][LINARO][31-12-2012]

LuPuS Kernel
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LuPuS-ARC/S-STOCK KERNEL HERE!!
LuPuS-JB-CM10/AOKP KERNEL HERE
Hi most of you already know my LuPuS-Stock kernel so thought i'd make one for you all that will work with any
cm9 based roms such as AOKP-by Supervenom and Paranoid Android, and obviously CM9 as well. Just wanna say a
big thanks to FXP - Jerpelea for pointing me in the rite direction for wifi to work
and of course the people who help me test besttt and sinkster for testing on both ARC-S and ARC
What i'm going to do is just update this by the end of the week to add everything else in.
So here is whats added so far but first it has to be done ------------
Disclaimer
Code:
[COLOR="DarkOrchid"]#include[/COLOR] [COLOR="Magenta"][/COLOR]
[COLOR="Blue"]/*
* Your warranty is now void.. LOL I guess you knew it already.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, you getting dumped or you getting fired because your phone
* bootloops and alarm does not go off. Please do some research if you have any
* concerns about features included in my kernel before using it! YOU and only
* YOU are choosing to make these modifications.
*/
[COLOR="Magenta"]#if[/COLOR]
You have a [COLOR="DarkGreen"]question[/COLOR] post it in the [COLOR="DarkRed"]thread[/COLOR],
Instead of [COLOR="DarkGreen"]Pm'ing me[/COLOR], as other users may
experience your [COLOR="DarkRed"]problems[/COLOR]
[COLOR="Magenta"]#endif[/COLOR][/COLOR]
What Works --
Wifi - (flash modules)
Data
Camera
Panorama
Video Recording (720p now works)
Video Playback
Front Camera
Bluetooth
Everything Else that works on FXP
What doesn't work --
Anything that doesn't work on FXP
Included in kernel
[/LIST]
Added Io-schedulers --
- Noop
- Anticipatory
- Deadline
- CFQ
- BFQ
- SIO
Added Governors --
- lagfree
- brazillianwax
- smoothass
- scary
- savagedzen
- smartass
- smartassv2
- interactivex
- minmax
- powersave
- performance
- conservative
- ondemand
- interactive
- userspace
+
Lulzactive - Thanks to Tegrak
Based on Interactive and Smartass. When workload is greater than or equal to 60%, the governor scales up
CPU to next higher step. When workload is less than 60%, governor scales down CPU to next lower step.
When screen is off, frequency is locked to global scaling minimum frequency
Virtuous
Virtuous is a modded smartassV2 which gives even more battery time then smartassV2
Intellidemand - Thanks to faux123
This is an intelligent ondemand that enters browsing mode to limit max frequency when GPU is idling,
and (exits browsing mode) behaves like ondemand when GPU is busy; to deliver performance for gaming and such.
Intellidemand does not jump to highest frequency when screen is off.
Lazy - Thanks to Ezekeel
The Idea here is to eliminate any instabilities caused by fast frequency switching by ondemand.
Lazy governor polls more often than ondemand, but changes frequency only after completing min_time_state
on a step overriding sampling interval.
Lazy also has a screenoff_maxfreq parameter which when enabled will cause the governor to always
select the maximum frequency while the screen is off.
-Ondemandx:
Basically an ondemand with suspend/wake profiles. This governor is supposed to be a battery friendly ondemand. When screen is off, max frequency is capped at 500 mhz. Even though ondemand is the default governor in many kernel and is considered safe/stable, the support for ondemand/ondemandX depends on CPU capability to do fast frequency switching which are very low latency frequency transitions. I have read somewhere that the performance of ondemand/ondemandx were significantly varying for different i/o schedulers. This is not true for most of the other governors. I personally feel ondemand/ondemandx goes best with SIO I/O scheduler.
-Lionheart:
Is a conservative-based governor. The tunables (such as the thresholds and sampling rate) were changed so the governor behaves more like the performance one, at the cost of battery as the scaling is very aggressive.
To 'experience' Lionheart using conservative, try these tweaks:
sampling_rate:10000 or 20000 or 50000, whichever you feel is safer. (transition latency of the CPU is something below 10ms/10,000uS hence using 10,000 might not be safe).
up_threshold:60
down_threshold:30
freq_step:5
Lionheart goes well with deadline i/o scheduler. When it comes to smoothness (not considering battery drain), a tuned conservative delivers more as compared to a tuned ondemand.
BadAss Governor:
Badass removes all of this "fast peaking" to the max frequency. Badass will also take the gpu load into consideration. If the gpu is moderately busy it will bypass the above check and clock the cpu with 1024Mhz. If the gpu is crushed under load, badass will lift the restrictions to the cpu.
Superbad -
A "superbad" super smooth rendition of a highly optimized "smartass" governor!
Darkside -
A "slightly more agressive smart" optimized governor!
What else-----
-SLQB - (SLAB allocator with Queue)-(both)
This memory allocator is designed for small number of CPUs system (such as desktop or smart phone devices). This allocator is design to be simple and it is optimized for using order-0 pages as much as possible (order-0 pages are the simplest therefore quickest type of memory in a Linux system to allocate).
- Added Cleancache
- Supports ext 2,3
- Updated zRam
- Lzo compression/decompression speed has doubled on average.
- Init.d support
- Fudgeswap
- And much more
- O/C and stable upto 2ghz, although I do not recommend O/C to 2ghz for long periods of time, do so at your own risk.
Show your support for the kernel and my work by putting this in your signature, its only a quick one I done up with my limited time
Code:
http://i.imgur.com/xtWNL.png
Downloads in post 2
I would like to say a big thanks to -
FXP - Sources/help with wifi (thanks Jerpelea)
Cyanogenmod - Sources
DooMLoRD - for patches and all the work he has done for Xpeeria's
xeozus
NobodyAtAll
Faux123
Erasmus
Leedroid
Jerpelea
Anyone missing please PM me
Sinkster - Testing for ARC
besttt - testing for ARC-S
tempest918 - For the New Logo
Please Click Thanks :good:
Kernel sources -b ics
https://github.com/garwedgess/LuPuS-CM-iCs
Changelog
*** Previous changelog was messed up so I'll include everything in here ***
Code:
[B][U]v3[/U][/B]
- All previous boot issues / issues fixed
- Improved Battery Life alot :)
- Thumbee support
- EXT 2/3 & 4 supported
- Init.d supported
- Init.d scripts added (run at boot)
- SLQB Memory allocator
- ARM7 optimizations
- Brought OC back down to 1.6 max (no need for it above 1.6 unless u want to kill your device)
- Kernel sources completely reworked started from scratch o Sony xx.587 sources
- Tiny RCU
- Updatedd patched and fixed LZO
- lowered vfs cache pressure
- Increased Wifi- Range and added support for channel 14
- 0 % Battery patch - Thanks @ Bazoocaze
- Better memory copy
- Better memory move
- Deep sleep issue fixed
- LMK Optimizations (LowMemoryKiller)
- VDD support (voltage conrol)
- Linaro Optimzations
- Compaction added
- KSM
- CIFS (improved support)
- NTFS
- Updated to newest SIO Io-Scheduler
- Google Snappy Compress & Decompress
- Added Vibrate To Recovery (Notification to enter CWM)
- Wifi module size drasticly reduced
** Possibly missing a few things **
Downloads
If you like my work please consider buying me a beer or something else
by clicking the DONATE ME button, of course it isn't needed but greatly appreciated and keeps me motivated.
Thank you to members -
~ Frenchdroid
~ [user_99]
For your kind donations
ARC/S CM9 KERNEL
LuPuS-ARC-CM9.img
MD5 = 0638186df6b258457ed440e76991f6fa
Wifi modules in attachments
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Check your MD5 match the above if not re-download
Zram is not enabled by default- to enable it flash the zip below
If for whatever reason you want to disable it after you have flashed the .zip, just go to ect/init.d and delete 00zram :victory:
CIFS
The attached zip for CIFS is not a flashable zip read below
Make sure you download Cifs-v2 if your using v2 of kernel
What is CIFS???
Server Message Block (SMB) or Common Internet File System (CIFS) are normally used to provide shared access to files on a network, mostly involving computers running MS Windows.
It allows you to conveniently mount/unmount your network accessible file resources and access the files transparently via your favourite Android app (playing music / videos, accessing documents etc.) Settings are stored on your SD card with permissions to write also to your SD card.
Instructions
- extract cifsfile.zip from below
- save cifs,ko file to your sdcard
- in terminal emulator
- cd sdcard
- su
- insmod cifs.ko
Now download CifsManager or similar app and configure it
Ooh, was waiting for it. Gonna try that as soon as I get to office (home PC doesn't recognize fastboot mode :-\)
Sent from nowhere
tajimura said:
Ooh, was waiting for it. Gonna try that as soon as I get to office (home PC doesn't recognize fastboot mode :-\)
Sent from nowhere
Click to expand...
Click to collapse
try to install drivers for x10 from drivers folder in flashtool instalation folder.
i gotta try this kernel tomorow
Sent From Xperia Arc - CM10 Using Xda Premium!
Marchello1 said:
try to install drivers for x10 from drivers folder in flashtool instalation folder.
i gotta try this kernel tomorow
Sent From Xperia Arc - CM10 Using Xda Premium!
Click to expand...
Click to collapse
All drivers are in place, and I can use Flash mode, but when I connect in fastboot mode (blue led) Flashtool says "phone connected in flash mode" and fastboot itself complains that there are no connected devices.
Sent from nowhere
tajimura said:
All drivers are in place, and I can use Flash mode, but when I connect in fastboot mode (blue led) Flashtool says "phone connected in flash mode" and fastboot itself complains that there are no connected devices.
Sent from nowhere
Click to expand...
Click to collapse
Reinstalled flashtool recently, got that error, reinstalled the drivers one by one and it worked. For further help (from those that i'm sure know better than me) go to the flashtool sticky thread.
wi fi information
because your rom has the last modules from fxp kernel perhaps the signal is no so good do the follow
go to setings wifi delete from memory the pass and create it again and now wi fi is turbo i get from bencmark quadrand 2340 score with settings sio intelidemand oc min346 oc max 1800
seeing how there's an overwhelming amount of governors and schedulers lol can anyone recommend a combination for bother performance and battery?
btw why is there only 341 MB of ram instead of the usual 360 MB..
h.debnath said:
seeing how there's an overwhelming amount of governors and schedulers lol can anyone recommend a combination for bother performance and battery?
btw why is there only 341 MB of ram instead of the usual 360 MB..
Click to expand...
Click to collapse
Less ram because of 720p recording, was going to remove it but though people would want it, fxp have re-added it to fxp137, I can i Ilsa remove it for next release of people don't want it.
As for governors for performance I recommend intellidemand, superbad, darkside or battery life smartass, smartassv2 or virtuous. And keep SIO as scheduler it default in all my kernels
Sent from my GT-I9300
Left it overnight, 3g on, sync on, bad ass/noop. Battery drained 11% over 10 hours, which is great compared to any cm9 previously.
Someone tried this on Arc S with the cm9 wi-fi problem (getting ip address loop)?
Inviato dal mio Xperia Arc con Tapatalk 2
Disable BT.
Remove the two files from /data/misc/dhcp.
Reboot.
You're done
mekayzer said:
Disable BT.
Remove the two files from /data/misc/dhcp.
Reboot.
You're done
Click to expand...
Click to collapse
I know, but for me never worked, but thank you for your answer.
Xperia Arc S with aokp jb
Then, fix you ip adress and don't use dhcp.
Thank's for the kernel Wedgess, but can you post one based on CM7.2
mekayzer said:
Thank's for the kernel Wedgess, but can you post one based on CM7.2
Click to expand...
Click to collapse
No problem, unfortunately I do not plan on making one for CM7, I've had this request for the play also. CM9 is stable so no need for cm7. I do not have time to maintain any more kernels cm 10 kernel will be out this week and that will take my. Kernels to 10, I simply don't have the time, and besides I'll get in Trouble with the missus.......sorry
Sent from my GT-I9300
Running for approximately 6 hours, great so far. Using Virtuous gov., sio scheduler, 249-1130. Smooth, stable and battery friendly.
However, didn't test Wi-Fi yet.
Sent from nowhere
Just waiting for FXP137 to finish downloading then going to use this. Thanks.
wi fi problems
cm9.1 cm10 roms use kernels from 431 firmware dont use people baseband 77 only 72 with that roms.....if kernel changed we need other baseband

[KERNEL] [GPL] [OTG] [Linaro] [-Ofast] [HOLOYOLO] [17 May 13] Community Kernel

GOAL
The goal of this kernel is to have a central place for developers in the community, who don't want the burden to maintain their own kernel, to have a place to do so. Many times, developers who work on these devices constantly develop issues with others or don't have time to incorporate new features. Our goal is to avoid all that. Anything and everything will be accepted, granted it doesn't break anything. @show-p1984 has been kind enough to not only host the source but grant the use of his buildbot for this project. Every time source is pushed, the bot will start to build the kernel, zip up the package and finally upload it to my goo.im account. If you'd like to become part of this project then go ahead and reach out to me on twitter (@jassycliq) or PM me on here. My short term goal for this kernel is to add all the hotplug drivers available for mako and incorporate them into this one kernel. As it stands we can only use Qcom's binary, show's mpdecision and faux123's intelli-plug as they have switches to turn them off. These can be changed on the fly, as long as the user turns off all the hotplug drivers first then turns on the desired hotplug method. I'd also like to have an app that can control this, well a proper application to be exact.
Features
* CPU OC up to 1.9ghz, Default to 1.5GHz
* CPU UC down to 162mhz
* UV down to 600,000uVolts
* Intelli-plug hotplug driver
* Qualcomm's MPDecision
* MSM MPDecision (kernel based mpdecision)
* Dynamic FSync
* Sweep2Wake
* Snapdragon S4 and Krait optimizations
* 3-Phase Thermal
* GPU OC up to 487mhz
* Faux's Gamma Interface
* Faux Sound/Speaker Control
* Fast Charge
* Schedulers
FIOPS
SIO
NOOP
ROW
CFQ
DEADLINE (tuned for flash devices)
* Governors:
DanceDance
Interactive
Ondemand
Performance
* Advance TCP Congestion Control
Westood+
Reno
Bic
Cubic
Htcp
Veno
* Compiled with gcc 4.7.3 (Linaro 4.7-2013.04)
* -Ofast optimized
* WLAN, TUN and CIFS compiled as modules due to size of kernel from the high amounts of optimizations
* OTG support
* Too much to write!
Choosing between the 3 hotplug drivers
This kernel comes with 3 hotplug drivers (intelli-plug, qcoms mpdecision and kernel based mpdecision) by default only Qualcomm's MPDecision is used. To turn one of the others you must use their respective sysfs interfaces after turning off the one's you're not using. To make it easier for you, I have included a small little application that helps you turn through this. If you'd like to make an init.d script to choose which one you want on boot then use the following commands
For kernel based mpdecision
Code:
echo "0/1" > /sys/kernel/msm_mpdecision/conf/enabled
echo "0/1" > /sys/kernel/msm_mpdecision/conf/scroff_single_core
For Intelli-Plug
Code:
echo "0/1" > /sys/module/intelli_plug/parameters/intelli_plug_active
echo "0/1" > /sys/module/intelli_plug/parameters/eco_mode_active
For Qualcomm's MPDecision
Code:
start mpdecision
stop mpdecision
Downloads
http://goo.im/devs/jassycliq/mako
Why do I have no WLAN?
Due to this kernels very high optimization settings it is too big for our boot.img with WLAN included into the kernel, so it is built as a module. That means it needs to be inserted into the kernel upon boot up, which needs to be automated for maximum comfort = userinit (init.d) support.
The zip adds init.d support to your ramdisk, if that fails for some reason the wlan module cannot be inserted.
if
Code:
adb shell lsmod
doesn't show this:
Code:
tun 14701 0 - Live 0x00000000
cifs 275399 0 - Live 0x00000000
wlan 2964650 0 - Live 0x00000000 (C)
Then init.d support is probably missing.
You can test it by going to /system/etc/init.d/ and executing 00wlan.
Code:
adb shell
su
. /system/etc/init.d/00wlan
Wait a few seconds and try to enable wifi and repeat the above lsmod command (should now show wlan, you can execute 01cifs and 02tun too).
If WLAN now works, init.d support is missing.
You need to have busybox installed in order to be able to get init.d support going, this shouldn't be a problem for most people, since it is usually installed when rooting your phone anyway.
It does not matter if busybox is installed in /system/bin or /system/xbin, my script will detect the location upon flashing and patch the ramdisk accordingly.
If no busybox is found, the script will add init.d support to your ramdisk with the default location: /system/xbin/busybox. All you need to do is install busybox there and reboot your phone.
Changelog:
8 May 2013​
Code:
4c59771 defconfig: Update defconfig.
596b56b cpufreq: Add smartmax. Let's test this, see how it does.
1cb9bb0 msm: cpufreq: Always update frequency limits when core is online
d822b01 msm_mpdecision: boost: detect changed min frequency and update accordingly
213609a msm_mpdecision: tune hotplug values
7 May 2013​
Code:
cfcfcbe4 Revert "msm: kgsl: Add GFP_NORETRY to the page_alloc flags and handle errors"
4750928 defconfig: Update for new touch_boost feature for kernel based mpdecision.
085ba61 msm: kgsl: Reduce cmd buffer size for adreno_iommu_setstate
caed023 msm: kgsl: Fix hang detection to be 50ms or more
bf9a788 msm: kgsl: Add minimum amount of wait in adreno_waittimestamp
28780a3 msm: kgsl: Lower bounds check the number of power levels
3a7120b msm: kgsl: Avoid NULL pointer in adreno setstate functions
5db5ceb msm: kgsl: Fix guilty context logic for GPU hangs
eab59a3 msm: kgsl: Remove an uneeded register write for A3XX GPUs
da07ff9 msm: kgsl: Remove non-critical error messages
f33358f msm: kgsl: unprepare clocks when we move from NAP to SLEEP
3efbea6 msm: kgsl: Do not allocate space in ringbuffer for hung context
f41b6a2 msm: kgsl: Do not save context if it is being destroyed
b1d7357 fix error
d663e19 msm_fb: display: update var in display commit
f2c1e69 msm: display: non-blocking for overlay update
6fe5638 msm: kgsl: Remove extra interrupts when setting MMU state
7e8a134 msm: kgsl: Support user specified timeouts in adreno_waittimestamp
cf18f63 msm: kgsl: Move the adreno WPTR poke logic to the hang detection
6a808d0 msm: kgsl: Invalidate base pointers when tlb is flushed
a8bafcd msm: kgsl: Add GFP_NORETRY to the page_alloc flags and handle errors
cef0287 msm: kgsl: Fix adreno idle detection during hang
29916e4 msm: kgsl: Do not check for hang when graphics core is idle
01c3627 msm_mpdecision: input event boost: fix not resetting boost if cpu was unplugged before
643164e msm_mpdecision: add sysfs interface for input event boost
55f7b76 msm_mpdecision: add input event boost [read more]
5 May 2013​
Code:
6c31838 defconfig: trying -Ofast flag really quick
8684551 workqueue: silence 'warning: array subscript is above array bounds'
832bfbb Makefile: add -Ofast
230f31c Revert "mako LCD: keep RGB custom colors alive after screen off/on"
0a8b0db input: lge: re-work the patches I just reverted to fix a bug that was causing some leaks and some IRQ exceptions during screen on.
2f521e9 Sound Control: Added headphone poweramp controls
b9451d3 af_unix: use freezable blocking calls in read
74e437e sigtimedwait: use freezable blocking call
a479733 nanosleep: use freezable blocking call
b7b7d43 futex: use freezable blocking call
87e9542 select: use freezable blocking call
ce6c00a epoll: use freezable blocking call
abeafac binder: use freezable blocking calls
3995281 freezer: add new freezable helpers using freezer_do_not_count()
ff4bd25 freezer: skip waking up tasks with PF_FREEZER_SKIP set
23f2b45 freezer: shorten freezer sleep time using exponential backoff
6f57272 defconfig: Add new defconfig for test branch. Release 1.
74681b3 mach-msm: msm_mpdecision: default off. We will boot using Qualcomm's binary. Change zip to mirror this.
f063703 defconfig: Lower min clock, enable mpdecision (which I was advised could be turned off with 2 commands) so we will boot up with that as
d413876 auto_hotplug: Prepare for being able to run alongside show-p1984's mpdecision.
0919ae2 defconfig: Turn off auto-hotplug until it can be turned off and compiled alongside the other hotplug drivers.
38bbd31 Restrict slave mountspace so Dalvik apps can mount system-wide volumes
31cbf8b auto_hotplug: rev 4 - let's lean a little more towards performance.
4e4adbb auto_hotplug: stack the deck on auto_hotplug_late_resume to get things moving quickly again
e04373f auto_hotplug: parameter validation for max_online_cpus
751eb27 auto_hotplug: enhancements (rev 3)
9367500 auto_hotplug: enable the min_online_cpus value
689e712 auto_hotplug: enhancements (rev 2)
af7748f auto_hotplug: enhancements
5a17cb6 arm: auto hotplug - wrap all pr_info into the existing debug mode so we don't spam the kernel log
937748e Change dependencies to allow kernel to be built with ARM hotplug, and without MSM_RUN_QUEUE_STATS. These are only needed for proprietary
2527619 arm: Add auto hotplug driver
637ffac mm: vm_swappiness set to 20 (down from the default 60) since we have plenty of RAM on the Nexus 4
1e4db08 ARM: remove NWFPE and VFP emulation code from the kernel
3291b82 usb: otg: Fix? for compiling with OTG. If its wrong, I hope someone can help here.
Big thanks to @show-p1984, he really kick started this project.:highfive: One night I received a PM from him asking if I'd like to take this challenge on. He also helped me out a ton while setting up the repo and build. He really has been a great help.
Others I'd like to thank for their source, commits, hardwork, blood and tears:
@faux123
@francisco.franco
@_motley
@morfic
@Harsh
@r_data
@semaphore (or the creator of it)
@intersectRaven
@mathkid95 sorry for taking so long in adding you
Source
https://github.com/jassycliq/mako/commits/master
{
"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"
}
https://github.com/jassycliq/mako/commits/test
Thanks for starting this, seems a good idea. Question: are these builds tested before they are uploaded?
wow new kernel for mako, will try it man
Goodluck.
gianton said:
Thanks for starting this, seems a good idea. Question: are these builds tested before they are uploaded?
Click to expand...
Click to collapse
No, but as it stands right now nothing has changed that would be broken. In the future the test folder should be treated like a nightly build and the master folder should be treated like a stable build.
BTW I'm running the first one on that folder. The only change the newest one had is that it fixes an error where mpdecision was renamed, but now that we default to that, we don't want that to happen.
Sent from my Nexus 4 using Tapatalk 2
Just a question. I already flashed but does this have any of those modules /drivers that increase touch screen sensitivity? Considering it is compiled from every other kernel I would think so, but I'd just like to make sure
Sent from my Nexus 4 using xda app-developers app
Ranaquajaro said:
Just a question. I already flashed but does this have any of those modules /drivers that increase touch screen sensitivity? Considering it is compiled from every other kernel I would think so, but I'd just like to make sure
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
It has Faux's patch. I will implement Franco's tomorrow or some other day. I'd like to have more than one commit for a change.
jassycliq said:
It has Faux's patch. I will implement Franco's tomorrow or some other day. I'd like to have more than one commit for a change.
Click to expand...
Click to collapse
No worries just wondering. Great work by the way
Sent from my Nexus 4 using xda app-developers app
Any reason why i lost wifi? I flashed coming from franco kernel first i flashed the kernel reset then your kernel no wifi then i flashed your kernel again and no wifi?
NEXUS⁴
casonswag said:
Any reason why i lost wifi? I flashed coming from franco kernel first i flashed the kernel reset then your kernel no wifi then i flashed your kernel again and no wifi?
NEXUS⁴
Click to expand...
Click to collapse
Check OP, it goes over this.
Since the kernel is highly optimized WiFi, TUN, and CIFS need to be built as modules. Because of this, we use init.d scripts to load them at boot, this requires busybox. You can check if it loaded by typing the following in terminal:
lsmod
If it doesn't say WLAN, then the WiFi module needs to be loaded manually by typing this in terminal:
su
./system/etc/init.d/00wlan
If that works then try updating your busybox it might have an issue. Also if you have another init.d that starts with 00 change the wlan to 08wlan
Sent from my Nexus 4 using Tapatalk 2
Is it possible to add a changelog somewhere and add the direct link to it to the first post (like Franco does)?
Would be great, thanks!
jassycliq said:
GOAL
....
Features
....
* OTG support
* Too much to write!
...
Click to expand...
Click to collapse
and OTG would be using Y-Cable only right?
Is it already included or planned feature?
Thanks again for a wonderful combo :good:
SudevG said:
and OTG would be using Y-Cable only right?
Is it already included or planned feature?
Thanks again for a wonderful combo :good:
Click to expand...
Click to collapse
Yes with Y-Cable. Well, unless I missed something the code is there, so it'd be something small like a missing file or something.
Sent from my Nexus 4 using Tapatalk 2
MaluNoPeleke said:
Is it possible to add a changelog somewhere and add the direct link to it to the first post (like Franco does)?
Would be great, thanks!
Click to expand...
Click to collapse
I'd like for people to read the OP. It has important information changelog will come. There was a lot to write considering this kernel has been in the works for a bit.
Sent from my Nexus 4 using Tapatalk 2
How does that differ from your builds in bricked kernel?
sMtt said:
How does that differ from your builds in bricked kernel?
Click to expand...
Click to collapse
Compare the features of the two of them and see . This one seems to be more feature filled while his Bricked builds are more stability.
Also check the git's of both.
Sent from my Nexus 4 using Tapatalk 2
About time you released this Been reading all your tweets lately.
This looks awesome! Just a quick question because I'm a junkie for optimizations:
Will this include the various performance improvements from Franco's Franco Kernel, Morfic's Trinity Kernel, and the super fast CodeFireX MakoKangBang kernel? Also, I myself would recommend compiling it with CodeFireX's 4.8.1 Linaro Tool chain with back ports from the 4.9 Tool chain.
Can't wait to see how this turns out! Keep up the awesome work!
Connor Baker
How often do you plan on making stable releases? Thanks.

[KERNEL] [SM-N915 S-K-L Exynos 5433] [16 August] SkyHigh TW 5.0.1 Kernel [v1.9 FINAL]

[KERNEL] [SM-N915 S-K-L Exynos 5433] [16 August] SkyHigh TW 5.0.1 Kernel [v1.9 - FINAL] [Synapse ++]
WARNING
Code:
[COLOR="Red"]PLEASE SHOW RESPECT TO ACTUALLY [COLOR="PURPLE"][B]READ POSTS #1-3[/B][/COLOR]
[URL="http://forum.xda-developers.com/announcement.php?a=81"][B]XDA RULE #1 "SEARCH BEFORE POSTING"[/B][/URL] (GOOGLE, XDA & THREAD),
IF YOU DON'T LIKE A UP-FRONT "MATTER OF FACT" APPROACH,
[B]THEN DON'T BOTHER POSTING[/B]. [/COLOR]
Code:
[COLOR="Red"]BE WARNED, THOSE WHO [B]KANG[/B] WITHOUT PERMISSION WILL BE REPORTED !!
I WILL LISTEN IF ASKED, BUT NO GUARANTEES !![/COLOR]
FEATURES
Code:
* Based on official Samsung source: [URL="http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=sm-n915s"]SM-N915S_LL_Opensource N915SKSU1BOC1[/URL]
* ramdisk source: N915SKSU1BOH2
* Compiled with [URL="https://android.googlesource.com/platform/prebuilts/gcc/linux-x86/arm/arm-eabi-4.8/"]Google ARM Toolchain GCC 4.8[/URL]
* Linux 3.10.86
* ARM: full neon-vfpv4 support & compile with -mfpu=neon-vfpv4 + optimizations
* [COLOR="Red"]KNOX WARRANTY VOID: 1[/COLOR]
* [COLOR="red"]SELinux PERMISSIVE[/COLOR] (for Titanium Backup and other apps to work correctly)
* adb insecure
* init.d script support (drop in script & set permissions to 755 or 777 and reboot)
* busybox v1.24.1-Dorimanx installed to /sbin
* [URL="https://github.com/Chroma-Aosp/android_vendor_chroma/commit/a8ecd5b2e4724448ccf92b29e08eb1a249e21957"]ART optimization[/URL]
* Possible Screen Mirroring / AllShare Cast fix
* Secure storage = false (should prevent WIFI settings & passwords wiping on flash)
* [B]Synapse app support[/B] for many kernel configurations + more !!
* Many descriptions are in the app ! If you require more info, don't be lazy, please [B]SEARCH[/B] like I did ;)
SYNAPSE FEATURES
ABOUT
PayPal Donation link
SkyHigh kernel thread link
Up time
Total
Sleep
Awake​
A57 CPU
A57 big Cores Frequency Scaling
live frequency
MAX: 2000 MHz (stock/default = 1900 MHz)
MIN: 500 MHz (stock/default = 700 MHz)​
A57 big Cores voltage control
CPU governors
interactive (default)
on-demand
conservative
performance​
CPU governor tunables
A53 CPU
A53 LITTLE Cores Frequency Scaling
live frequency
MAX: 1500 MHz (stock/default = 1300 MHz)
MIN: 200 MHz (stock/default = 400 MHz)​
A53 LITTLE Cores voltage control
CPU governors
interactive (default)
on-demand
conservative
performance​
CPU governor tunables
HMP
Up thresholds
Down thresholds
Migration on A57 big cores
Exynos core control (cores 1-8)
CPU STATS
Sensor temperatures
Time in state
Unused frequencies
INPUT-BOOST
Key boost level
Pen boost level
DEVFREQ (BUSES)
CPU internal freq voltage control
Memory freq voltage control
ISP (Image Signal Processor) voltage control
GPU
GPU stats
Current clock freq
Live Frequency Utilization (load)
Time in state​
GPU power policy control
coarse_demand (default)
demand
always_on​
GPU frequency control
[100-160-266-350-420-500-550-600-667-700-730-800]
Default: 160 - 600 MHz (stock)
Max: 800 MHz (667-800 MHz may not be stable for all devices)
Min : 100 MHz (battery)​
GPU Governor
Default
Interactive (default)
Static
Booster (more graphic and benchmark performance)​
GPU Interactive Governor tunables
highspeed clock
highspeed load
highspeed delay​
GPU VOLT
GPU voltage control
GPU THERMAL
4 level GPU freq throttling control
GPU tripping freq
CORTEX (Dynamic Screen ON/OFF functions)
Cortexbrain-Background-Process control (master switch)
ENABLED: Controls A57 big Cores to prevent kernel PM/DVFS over-ride user settings after display resume
Cortexbrain_background status
[Apply Now] push button​
Power-efficient Workqueues (statically Enabled during screen OFF)
Kernel tweaks
Memory tweaks
System tweaks
Battery tweaks
Network tweaks
Android logger control
Auto = screen ON (enabled) & screen OFF (disabled)
Disabled = screen ON/OFF disabled​logcat​
Kernel logger printk control (dmesg)
Auto = screen ON (enabled) & screen OFF (disabled)
Disabled = screen ON/OFF disabled​dmesg
last_kmsg​
IO
I/O Schedulers
BFQ (default - tweaked for SSD)
DEADLINE (tweaked for SSD)
FIOPS
CFQ (tweaked for SSD)
NOOP
ROW (tweaked)​
Storage read-ahead (1024 KB)
General IO tuneable
Add random
IO stats
Rotational
No merges
RQ Affinity​
I/O scheduler tunables
MEMORY
Memory state
Total
Free​
Ultra Kernel SamePage Merging (UKSM)
UKSM stats
Scan Delay Interval
UKSM Governor
Max CPU consumption​
Dynamic Fsync control (default enabled)
Dynamic management of dirty page writeback
Active
Suspend​
Virtual Memory
Virtual NAND (VNSWAP) control
ZSwap memory pool control
ZSwap max compression ratio
Dirty Background Ratio
Dirty Ratio
Drop caches (Clear VFS cache after boot)
Laptop Mode
Swapiness
Adaptive VFS Cache Pressure on Suspend / Resume​
ADVANCED
Low Memory Killer Profiles
Low
Medium
KitKat
Custom (recommend)
Default (default)
Lollipop
Exterminate​
Low Memory Killer minfree tuning (OOM LMK)
Optimize Recent's Menu & RAM control (default = Note4)
profiles​
Adpative LMK contol
vmpressure_file_min​
Entropy (max 4096)
Gentle Fair Sleepers control (disabled)
Arch Power control (enabled)
randomize_va_space control
POWER SUSPEND
Autosleep_hook
Userspace_trigger
DisplayPanel_trigger
Hybrid_hook (default) uses Autosleep & DisplayPanel​
PowerSuspend State
PowerSuspend version
AUDIO
(WolfsonMicro Sound Control by AndreiLux)
Speaker amplification
Main speaker volume
Earpiece volume
Privacy mode​
SP equalizer settings
SP DSP settings
Headphone amplification
Mono mixer​
SCREEN
LCD reduce power
Sweep2Sleep
LED
LCD brightness
Bright light environment
Low light environment​
LED notification delay
Delay ON
Delay OFF​
Fade in/out (ramp) time period
Ramp control
Fade-in
Fade-out​
Test
Test notification
Stop notification​
NETWORK
TCP congestion control
All available enabled.
Default = westwood+​
Screen mirror/allshare cast fix control (enabled)
Clean WIFI Lease
WiFi Power Mode While Screen-On/Off
Force Off
Off
Fast (default = screen ON)
Max (default = screen OFF)
WiFi DTIM Interval While Screen-On/Off​
RX wakelock timeout control
TCP/IP network security
TCP/IP network speed (enabled)
3G DNS speed & security tweak
Google
OpenDNS
Comodo, Level3
Norton_DNS
Smart_Viper​
IVP6 Optimistic Detection
optimistic_dad (enabled)
use_optimistic (enabled)​
USB
MTP mode
PTP mode
UMS (USB Mass Storage) mode
CD ROM emulation (DriveDroid)
USB_KEYBOARD-MOUSE
SECURITY
KNOX control
NO_ACTION (default)
Disabled
Enabled​
SELinux
Live status​
Force Audit control​
BATTERY
Battery info
Charging controls
HV power supplies
A/C Mains
A/C Mains (screen-on)
Standard downstream port
Dedicated charging port
Charging downstream port
Accessory charging adapter
MHL power
Wireless power​
Battery SCALING calibration (fuel gauge reset)
FS (File System)
Display FS Type
FS Controls
remount System r/w r/o
remount RootFS r/w r/o​
SPI CRC settings control (disabled)
Scrolling cache control
Optimise Databases (SQLite3)
File System Trim
Wipe options
cache reboot
dalvik-cache reboot
cache & dalvik-cache reboot​
Clean up
clipboard cache
/data/tombstones
/data/anr logs
/data/dropbox logs
lost+found​
SYSCTL
FS SYSCTL
Kernel SYSCTL
Net SYSCTL
VM SYSCTL
BACKUP & RESTORE
Name - Restore - Delete - Backup
profiles
kernel image​
REBOOT
Reboot device
Recovery Mode
Download Mode
Power Off
Clear Synapse Data & Reboot
Restart Synapse
INFO
lzo kernel compression
Reduced logging
Various ext4 & mm tweaks
Use faster memcopy & string use glibc version
optimized SLUB memory allocator
HAVE_EFFICIENT_UNALIGNED_ACCESS
Lowmemorykiler (LMK) tuning
F2FS support in source (not working yet)
exFAT FS support
NTFS R/W support with app
CIFS support (not tested)
Frandom
mount partitions NOATIME and NODIRATIME by default
WIFI: filter multicast packages while suspended
CRYPTO: SHA1_ARM_NEON, SHA256, SHA256_ARM, SHA512, SHA512_ARM_NEON
Low Memory Killer tweaks
Entropy tweaks
CLEANCACHE & ZCACHE
Microsoft X-BOX gamepad controller in-built module
Much more - check source commits & Synapse
CREDITS
My family !!
@Chainfaire - root & SuperSU
@AndreiLux - years of support for Exynos development and his various kernel features + Synapse app
@halaszk88 - patches I've adapted to many of my kernel
@dorimanx - BusyBox and various ramdisk tweaks/ideas
@apbaxel - I adapted and used many of the Synapse controls to suit my kernels
XDA
Samsung OSRC
and many others!
check github source credits
IF I'VE FORGOTTON ANYONE, PLEASE DON'T BE SHY AND SPEAK UP, THANKS
XDA:DevDB Information
SkyHigh Note Edge Exynos 5.0.1 Kernel, Kernel for the Galaxy Note Edge
Contributors
UpInTheAir
Source Code: https://github.com/UpInTheAir/SM-N915/commits/SkyHigh-LL
Kernel Special Features: Synapse ++
Version Information
Status: Stable
Current Stable Version: 1.9
Stable Release Date: 2015-08-16
Created 2015-04-21
Last Updated 2015-09-29
Warning - Changelog - Requirements - Installation - Download - Source
** DISCLAIMER : FLASH AT YOUR OWN RISK **
WARNING :
Code:
[COLOR="Red"]* Under-volting can cause instability
* Over-clocking can cause freeze/reboot, heat & damage to CPU, GPU or other hardware
* Any customizations may void warranty
* May not be suitable for your device or customizations
* UpInTheAir is NOT responsible, the person you see in the mirror is !![/COLOR]
CHANGE-LOG
[v1.9] 16th August 2015
RAMDISK:
ramdisk: N915SKSU1BOH2
Synapse: MEMORY: re-work VN swap control + auto set swappiness to 0 on Disable and 130 on Enable.
Synapse: ADVANCED: add 5 profiles for Optimize Recent's Menu & RAM control (default = Note4 profile). Other values from here @mikeyinid
Synapse: ADVANCED: LMK: add Default profile to mirror Optimize Recent's Menu default profile – experimental values for now
Synapse: SECURITY: add Security Policy Update to list of Knox related apps/processs to freeze
Synapse: SECURITY: add SELinux live status
Synapse: HMP: added new tab for HMP and adjust to suit - @halaszk88
Synapse: INPUT-BOOST: add new tab for Key & Pen Boost Level control
default.prop: set Optimize Recent's Menu & RAM to default profile
SkyHigh.sh: re-enable frandom permissions
file_contexts: add frandom @placiano
SOURCE:
zen-tune: Implement zen-tune v3 (experimental)
zen-tune: exclude from compile by default
config: disable ZEN_INTERACTIVE (will test values via sysfs for now)
frandom: clean up
frandom: Clear up checkpatch conflicts
frandom: Dynamically allocate the char device numbers
Linux 3.10.86
kernel/smp.c: free related resources when failure occurs in hotplug_c_cfd()
workqueue: allow rescuer thread to do more work
sched: Update cpu load after task_tick
sched: Consider runnable load average in move_tasks()
sched: Change cfs_rq load avg to unsigned long
sched: Remove one division operation in find_busiest_queue()
sched/fair: Optimize find_busiest_queue()
int_sqrt.c: Correction square root algo with naming
int_sqrt: Improve 3x faster integer sqrt
kthread_work: wake up worker only when the worker is idle
ARM: Mali-T760: disabled min/max lock. TouchWiz use this, so we can use normal DVFS with this patch - @halaszk88
CPUFREQ: EGL: increase booting freq to 1.7 GHz
Dynamic CPU Hotplug: ported exynos-interface from Universal5410 to control min/max online core control - @halaszk88
[v1.8] 10th August 2015
UPDATER-SCRIPT:
Auto clean up: wipe some logs
Auto wipe cache & dalvik-cache directories on flash - required for ART optimization
RAMDISK:
ramdisk update from N915KKTU1BOF1
Synapse: MYABOUT: add push buttons for PayPal Donation and SkyHigh kernel XDA thread links (will open browser)
Synapse: ADVANCED: add Optimize Recent's Menu & RAM control (Disabled by default) - original fix by @mikeyinid
Synapse: ADVANCED: FIX - removed LMK Do-Not-Kill white-list control (caused aggressive launcher re-draw)
Synapse: ADVANCED: added LMK profile "Custom" using @neobuddy89 tuned values. Lollipop profile is default
Synapse: ADVANCED: LMK: some changed merged from @apb_axel
Synapse: GPU: added Frequency Utilization (live frequency load)
Synapse: BATTERY: FIX - fuel gauge reset (directed to wrong action file)
Synapse: REBOOT: FIX - Synapse clear data button (will also reboot device so defaults are loaded)
Synapse: replaced empty SDescriptions with SSpacer format to make spaces (AndreiLux said it would speed up loading Synapse)
Synapse: minor description and styling updates throughout
default.prop: Scrolling cache default changed from (3) to (2)
default.prop: Turn ART optimization to everything - thanks to @sykopompos
SkyHigh.sh: Update SELinux white-list from @neobuddy89
SOURCE:
Update Linux 3.10.82-85
FIX - UNALIGNED_ACCESS not implemented properly :
ARM: enable UNALIGNED_ACCESS​
FIX - Memory management issues and aggressive screen re-draw :
Revert "staging: android: lowmemorykiller: Management of not killable processes"​
staging:android:lmk: Use for_each_thread helper
staging: android: LMK: Tune up
Protect imp apps and services till last breathe
Add minfree values for content provider and empty apps
Fix derps of int/short format specifiers​
LED control: make configurable
block: Make CFQ default to IOPS mode on SSDs
cfq-iosched: fix the setting of IOPS mode on SSDs
powersuspend: add power_suspended boolean for global access
mm: UKSM: fix some issues
Drivers: sensorhub: reduce wakelock time
Optimize copy_page for modern ARM platforms
[v1.7] 30th June 2015
RAMDISK
Moved some defaults to SkyHigh.sh
Set scrolling cache default to 3
Set rq_affinity to aggressive -2 (faster IO )
Changed LMK minfree permission 0644>0666
Round up some battery charge defaults for Synapse control step
Synapse: FS: add scrolling cache control
Synapse: Battery: add new controls for AndreiLux sec-battery charger controls
Synapse: MEMORY: add zSwap max compression ratio
Synapse: IO: change some controls from seekbar to option list.
Synapse: CORTEX: System tweaks - disabled by default
Various style and code improvements
SOURCE
Revert old Forced Fast Charge
battery: Add sec charger controls (AndreiLux Exynos7420 )
battery: sec-charger controls – adjust for Exynos5433
cpufreq: Remember last policy min/max on cluster restart
block: disable I/O stats (Disabling will break I/O monitoring apps but reduce CPU overhead)
cpufreq: Optimize cpufreq_frequency_table_verify()
cpufreq: Break out early if freq equals to target_freq
kernel/sched/fair: reduce latency
cpufreq: add new routine cpufreq_verify_within_cpu_limits()
writeback: fix race that cause writeback hung
fs/super.c: sync ro remount after blocking writers
sched: Set MC (multi-core) sched domain's busy_factor attribute to 1
block: row: add magic values (franciscofranco)
updated Linux 3.10.61-81
[v1.6] 9th May 2015
RAMDISK
Synapse: GPU: added GPU Governor control [Default, Interactive, Static, Booster]
Synapse: GPU: added GPU Interactive Governor tunables
Synapse: FS: Wipe Junk Folders: changed to s single "Clean up Junk" button & added wipe lost+found
SOURCE
Way too many changes, you can view my github source commits for full list
Makefile: compile with ARM 4.8 toolchain
updated Linux 3.10.19-61
GPU: MALI-T7xx: merged and ported DVFS GPU driver from universal7420 kernel to universal5433
FS: EXFAT: merged from G920FXXU1AOCV source
crypto: arm/aes update NEON AES module to latest OpenSSL version
various crypto optimisations
[v1.5] 5th May 2015
RAMDISK
/sbin: SkyHigh.sh: mitigate more SELinux denials
Synapse: INFO: fixed THANKS button echoing the request, now echo "Opening browser..."
Synapse: GPU VOLT: re-added GPU voltage control (forgot in v1.4)
Synapse: CORTEX: remove uneeded descritption from Android & Kernel Loggers (forgot in v1.4 again .......). You don't need to push the button, CORTEX & A57 freq settings are auto applied with Synapse (if cortexbrain is ONLINE).
Synapse: ADVANCED: added Adaptive LMK controls
Synapse: style tidy up
SOURCE
sweep2sleep: adjust for SM-N915 resolution (sweep horizontally any direction at very bottom of screen)
mm: Add notifier framework for showing memory
mm: vmpressure: allow in-kernel clients to subscribe for events
lowmemorykiller: adapt to vmpressure
lowmemorykiller: enable adaptive_lmk by default
slub: fix kmem_cache_shrink return value
mm: slub: fix format mismatches in slab_err() callers
mmc: core: add long read time fixup for certain Samsung eMMC
PM / sleep: unregister wakeup source when disabling device wakeup
Adaptive LMK: set vmpressure_file_min value to 244MB
[v1.4] 3rd May 2015
RAMDISK
Synapse: update to AndreiLux latest coding style for UCI
/sbin: cortexbrain-tune.sh: code clean-up and improvement for cortexbrain functions/features
/sbin/SkyHigh.sh: allow untrusted apps to read from debugfs (mitigate SELinux denials)
/init.rc & /init.universal5433.usb.rc: changed permissions to 0664 for A53 Cores /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
Synapse: CORTEX: removed screen ON/OFF CPU controls (cortexbrain controls A57 Cores to prevent kernel PM/DVFS over-ride user settings after display resume)
Synapse: CORTEX: auto apply tweaks via cortexbrain
Synapse: CORTEX: added Network-Tweaks
Synapse: CORTEX: removed IO-Tweaks (were for zram, not implemented in this kernel)
Synapse: A57: auto apply user set frequencies via cortexbrain
Synapse: A53: fixed no frequency OC to max 1500 MHz (stock/default 1300 MHz)
Synapse: SYSFS: added to list of exclusions to prevent apply/discard bugs during screen on/off of cortexbrain functions
Synapse: general code clean-up and improvement for cortexbrain functions
Synapse: lots of testing !!
[v1.3b] 26th April 2015
SOURCE
cifs: fix use-after-free bug in find_writable_file
futexes: Increase hash table size for better performance
RAMDISK
/sbin: updated to BusyBox v1.24.1-Dorimanx
Synapse: CORTEX: implement base CortexBrain thanks to @dorimanx and @halaszk88
Synapse: CORTEX: adapted a lot for my kernel, including screen ON/OFF CPU functions. Horrible implementation by me, but hey, it works
Synapse: MEMORY: added Virtual NAND (VNSWAP) Swap control
Synapse: ADVANCED: moved Power-efficient WQ contol to CORTEX
Synapse: NETWORK: fixed up RX Wakelock description
Synapse: LOGS: moved LOGS to CORTEX
[v1.2] 22nd April 2015
SOURCE
net: ipv6: make "ip -6 route get mark xyz" work
workqueue: add system wide power_efficient workqueues (battery)
block: remove WQ_POWER_EFFICIENT from kblockd
workqueue: disable PEWQ by default
config: enable CONFIG_WQ_POWER_EFFICIENT_DEFAULT
binfmt_elf.c: use get_random_int() to fix entropy depleting
FAST CHARGE: Allow up to 3.0A/h ac_charge_level & misc fixes
RAMDISK
Synapse: A57: fix apply/discard bug in governor tunables
Synapse: BATTERY: adjust for 3.0A/h max AC charge rate
Synapse: ADVANCED: add Power-efficient WQ contol (battery)
[v1.1] initial Lollipop release, 21st April 2015
Changes from KitKat kernel v2.5 :
SOURCE
built from scratch !!
SM-N915S_LL_Opensource
Makefile: compile with ARM 4.7 toolchain
UKSM 0.1.2.3
bcmdhd: reduce rx wakelock timeout via sysfs node
power: process: decrease time to enter sleep
GPU-MALI-T760: Added GPU THERMAL control interface
GPU: added 800 Hz OC step and other locked GPU freqs
GPU-MALI-T760: make clock control limits to dynamically values
scheduler: update to BFQ-v7r7 for 3.10.8+ [Paolo Valente]
removed adaptive dirty_background_ratio & dirty_ratio. Stock for now.
removed other various config changes and patches not compiling or already implemented in LL source
RAMDISK
N915SKSU1BOC1
init.rc: fix permissions in lowmemorykiller directory (0220 ~ 0664)
/sbin: sqlite3: replace binary with LL version
/sbin: SkyHigh.sh: remove frandom (causing issue with WiFi)
Synapse: CPU: redesign CPU & layout with individual A57 & A53 sections
Synapse: CPU: Add separate A57/A53 CPU governor controls
Synapse: GPU: add GPU Thermal Manager
Synapse: Memory: replace KSM controls with UKSM
Synapse: Synapse: Memory: removed adaptive controls for dirty_background_ratio & dirty_ratio. Stock controls for now
Synapse: Advanced: LMK profiles: remove all profiles and add KK profile with Default
Synapse: Advanced: LMK: adjust for higher stock LL minfree values
Synapse: Audio: remove HP volume & equaliser controls (not working)
Synapse: Security: KNOX: adjust for LL Knox apps & processes. Set auto to "No_Action" after applying Disabled or Enabled.
Synapse: Network: add RX wake-lock time-out control
Synapse: fixed various apply/discard bugs
Synapse: misc fixes and adjustments
REQUIREMENTS
SM-N915 S or K or L Exynos 5433 device
TW 5.0.1 Lollipop
Rooted
CWM recovery
INSTALLATION
Backup your original boot.img [BOOT] in CWM recovery (or better to backup everything)
Uninstall any CPU control apps, tweaks and scripts etc.
Recommend: Disable or remove KNOX (you can disable with Synapse once kernel is flashed)
Install Synapse app from Google Play and rate it ☆☆☆☆☆ !!
Disconnect device from PC USB
Device settings > developer options > enable USB debugging
If flashing from previous SkyHigh kernel > Force Stop Synapse app > clear data
Flash SkyHigh kernel in CWM recovery
NOTE: Updater script will auto wipe cache & dalvik-cache directories on flash - required for ART optimization. Be patient, first boot will take a while.
After boot:
a) wait at least 60-120 secs to stabilize
b) Open Synapse
c) Tap "Understood"
d) Tap the "" to apply new defaults​
DOWNLOADS
[CWM] SkyHigh Kernel v1.9
[CWM] Stock N915SKSU1BOC1
SOURCE
Github
.
Help & FAQ
THREAD RULES & PROTOCOLS FOR THIS DEVELOPMENT THREAD:
BY POSTING YOUR ISSUES IN THIS THREAD, YOU ARE AGREE TO ABIDE BY THE FOLLOWING
Code:
1. DEVICE MODEL
2. ROM and firmware version etc
3. EXACT steps taken to reproduce YOUR isssue
4. Screenshots (if applicable)
5. Did you read Posts #1-3 completely?
6. Did you search the thread, XDA or GOOGLE?
7. Did you follow the install instructions EXACTLY?
8. What was your previous kernel?
9. Do you have any other known kernel tweaking apps, scripts or mods? (remove them)
10. Try older kernel (if available)
11. Try lastest stock firmware (without custom ROM - if you have installed)
12. Delete your ROM BusyBox (kernel uses it's own in /sbin)
ONLY IF YOU HAVE TRIED SUGGESTIONS ABOVE:
Turn on logging in Synapse and save logs AT TIME OF ERROR. AND post together with ALL the above information.
ELSE, DON'T WASTE MY TIME, YOU WILL BE IGNORED AND/OR POST REPORTED !!
THANK YOU :good:
FOR NOW, PLEASE READ HELP / Q&A SECTION OF MY OLD KITKAT KERNEL. I WILL UPDATE THIS IN TIME
BUGS
Synapse - USB - PTP not switching
Device won't mount to PC (not really a Bug, because we are using adbd) You should have read the Installation Instructions in Post #2 !!
a) Disconnect USB cable
b) Device settings > developer options > enable USB de-bugging
c) Restart device
d) Synapse > USB > select MTP and apply
e) Connect device to PC via USB cable and wait for driver install and mount​
.
v1.2 released
SkyHigh Note Edge Exynos LL kernel v1.2 is now publically released.
Please read & follow the INSTALLATION INSTRUCTIONS to ensure a trouble-free kernel !
Cheers,
UITA
On stock LL with the kernel no issues so far.
Something I've noticed though is that overall performance seems better on LL but graphics seems to be suffering since KK.
tospace2006 said:
On stock LL with the kernel no issues so far.
Something I've noticed though is that overall performance seems better on LL but graphics seems to be suffering since KK.
Click to expand...
Click to collapse
I'm assuming your referring to LL kernel in general. Both SkyHigh and stock ?
BTW: Been working on/adapting some more Synapse tweaks and tricks....
UpInTheAir said:
I'm assuming your referring to LL kernel in general. Both SkyHigh and stock ?
BTW: Been working on/adapting some more Synapse tweaks and tricks....
Click to expand...
Click to collapse
Ya, I don't mean your kernel is sluggish in any way.
I've just noticed that LL is overall performing better in day to day tasks, but the graphics performance seems to have dipped significantly since KK and benchmarks definitely reflect it.
I just thought maybe you had an insight as to why that is or if you and other users are having the same observation as I am.
tospace2006 said:
Ya, I don't mean your kernel is sluggish in any way.
I've just noticed that LL is overall performing better in day to day tasks, but the graphics performance seems to have dipped significantly since KK and benchmarks definitely reflect it.
I just thought maybe you had an insight as to why that is or if you and other users are having the same observation as I am.
Click to expand...
Click to collapse
Not really much I can do except for a little refining.
I have been privately told of an effort to port the newer GPU drivers from S6. That might help........... I wish him the best in his effort. Otherwise wait on firmware and source updates (which could be a while).
I haven't benchmarked LL in any format, I'm just enjoying the general UI fluidity that should have been there in KK !!
UpInTheAir said:
Not really much I can do except for a little refining.
I have been privately told of an effort to port the newer GPU drivers from S6. That might help........... I wish him the best in his effort. Otherwise wait on firmware and source updates (which could be a while).
I haven't benchmarked LL in any format, I'm just enjoying the general UI fluidity that should have been there in KK !!
Click to expand...
Click to collapse
thanks UITA ,again for sharing.please excuse me as i am new ,i share the same expereince here that the graphic is very sluggish,to flip between apps is very fast but to open them it is more slow compare with kk, am i rigjt to say its problem with the rom and is there a way to trigger the 64bit in our exynos.thanks
dennis nai said:
thanks UITA ,again for sharing.please excuse me as i am new ,i share the same expereince here that the graphic is very sluggish,to flip between apps is very fast but to open them it is more slow compare with kk, am i rigjt to say its problem with the rom and is there a way to trigger the 64bit in our exynos.thanks
Click to expand...
Click to collapse
Yes, our device is more than capable for 64bit, but in my opinion, Samsung will never do it. Why, because to keep the majority Qualcomm customers happy as SD805 is technically a far INFERIOR SoC.
Our device would require firmware with 64bit libs, bootloader, and kernel. The kernel has an option to compile 64bit, but unfortunately Samsung need to release the firmware. It's a pity they have effectively neutered some potential of our device....
BTW. have you tried disabling force GPU rendering for 2D in Developer options? I just leave mine as is for testing purpose.
Look for a update v1.3_beta tonight.
I just don't have time to refine/test properly before heading away for a bit .........
EDIT: Will be a little longer than expected, just getting my head around cortexbrain, been a couple years
Cant install on n915f? !?!?
Sent from my SM-N915F using XDA Free mobile app
chalie78910 said:
Cant install on n915f? !?!?
Sent from my SM-N915F using XDA Free mobile app
Click to expand...
Click to collapse
I will bubble wrap this reply and try to make it one of my nicer ones. ........
If you could please read Posts #1-3 you will see Exynos S-K-L plastered everywhere, including the thread title, requirements etc etc. If you do flash on anything other than this, you will BRICK your shiny new Note Edge-F !!
v1.3b released
SkyHigh Note Edge Exynos LL kernel v1.3b is now publically released.
Please read & follow the INSTALLATION INSTRUCTIONS to ensure a trouble-free kernel !
** If Synapse gives an "apply/discard" bug after resuming display, then;
press cancel [X] !! (DO NOT APPLY)
close/open Synapse , or
don't leave Synapse displayed (on screen) when screen turns off
* Don't worry, Synapse has just detected some sleep settings (from cortexbrain). Those vaules will change back automatically to screen on values if you follow the advice above !!
Cheers,
UITA
BUG: A53 Cores are limited to stock max freq (1300 MHz). I do know the error, so will fix it on Friday 1st May
HI opp .. I know you don't like to compile for devices you don't have but could you point me in the right direction to compile straight unmodded download of the 915f kernel .. it complains of missing driver file fc???? when I do make clean ..
Thanks in adavance
kfasheldon said:
HI opp .. I know you don't like to compile for devices you don't have but could you point me in the right direction to compile straight unmodded download of the 915f kernel .. it complains of missing driver file fc???? when I do make clean ..
Thanks in adavance
Click to expand...
Click to collapse
This thread might be a more appropriate place to post
http://forum.xda-developers.com/showthread.php?t=1748297
Thanks .. I'll take a look only requested your help as the code base is likely shared across by versions of the phone and hence likely you hit a similar issue .. but the link is welcome cheers
kfasheldon said:
Thanks .. I'll take a look only requested your help as the code base is likely shared across by versions of the phone and hence likely you hit a similar issue .. but the link is welcome cheers
Click to expand...
Click to collapse
No, Exynos source and defconfig are not the same as Qualcomm. Same can be said for setup of our build environments.
v1.4 released
SkyHigh Note Edge Exynos LL kernel v1.4 is now publically released (for my few thankful supporters)
Please read & follow the INSTALLATION INSTRUCTIONS to ensure a trouble-free kernel !
If you are tired of (DVFS or) kernel PM over-riding your synapse A57 frequency settings after your display has resumed, then this version will prevent that using cortexbrain screen on/off functions !!
Cheers,
UITA

[KERNEL][AOSP/CM][7.x] HellSpawn-N4 R05 [2016-12-28]

{
"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"
}
Pure, powerful and fast as hell.
These shall be the characteristics of my HellSpawn kernel for the Nexus 4 (MAKO).
Why another kernel for the Nexus 4?
Answer is simple.. why not! I started to look around for an appropriate kernel which could be an enrichment in my BeanStalk ROM (abbr. BS). One of the fastest candidates has definitely been the hells-Core kernel. But I didn't want to depend on other devs, hence I decided to start my own project based on the awesome work by hellsgod (big thanks to you!).
Your constant feedback is welcome and essential for the further development! Even if I probably cannot fulfil the wishes by everyone, I am trying to consider the most promising features requested. However, I will try to keep the number of new features limited in order to not bloat up the kernel which could easily result in a degradation of its stability.
I am looking forward to fruitful discussions with you and figuring what the hell turn out to be the most suitable kernel features in terms of performance and battery life!
Note: This kernel is compatible with Android 6.0.1 (Marshmallow) and with Android 7.x (Nougat). Please pay attention which build you are downloading. Builds for Android 7.x might be backwards compatible.
Features:
Linux 3.4.112 based on sources of hells-Core N4 kernel b88-M (hats off to hellsgod) and tweaks from other kernels, e.g. Quanta-Mako (thanks zaclimon), TaUrUs_Kernel (thanks txuki2005), Unleashed (thanks ion-storm) and Mirage (thanks mgr666)
Compiled with the latest Cortex-A15 optimized UberTC 5.x with some kernel based optimizations: graphite, NEON
AOSP/BeanStalk/CM compatible
MultiROM compatible (Kexec patch)
Alucard-hotplug (alucard)
AutoSMP-hotplug (Mgr666) set as default
dyn_hotplug (stratosk)
Mako-hotplug (franciscofranco)
msm-sleeper: upgrade to version 2 (thanks flar2)
Zen Decision Hotplug (bbedward)
CPU Governors: hellsactive (default), conservative, ondemand (tweaked by stratosk), interactive (tweaks from neobuddy and franciscofranco), performance, elementalX (flar2), pegasusQ (ByungChang Cha), alucard (alucard), smartmax (maxwen), intelliminmax (faux123)
GPU Governors: ondemand, performance, simple, conservative
GPU Overclocking up to 487.5MHz
Bricked thermal driver (showp1984)
Gamma control by faux123
Userspace Voltage Control (faux123)
Marshmallow: Sound Control (faux123)
USB fast charging (Chad Froebel/faux123)
Doubletap2wake/power suspend support (stratosk) incl. profiles (Center, Full screen, Bottom half, Top half) (savoca )
DT2W: fire a small vibration when device is woken up
Exponential brightness driver (stratosk)
USB-OTG Support (ziddey/faux123)
Marshmallow: Support for android-keyboard-gadget (You can use your device as a keyboard/mouse for your PC) (zaclimon)
Knob for Fsync on/off (franciscofranco)
Knobs for Arch Power and Gentle Fair Sleepers
Knobs for preventing wakeups: bluesleep wakelock, bluedroid_timer wakelock, wlan wakelocks and msm_hsic_host wakelock
Qualcomm Slimbus driver incl. tweaks
Partial-resume framework & quickwakeup driver
No F2FS support (don't ask me for adding it)
Tested on the following ROMs:
* Pure Nexus M/N (AOSP)
* BeanStalk M (CM-13 based)
* Resurrection Remix M (CM-13-based)
* [NMF26O] Fake nexus rom for Nexus 4
* NeXus4ever ROM N (AOSP)
Known issues:
* According to a user report it doesn't appear to work on latest Chroma.
* Changing CPU governors doesn't work in CM-based ROMS
DISCLAMER
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in this Kernel before flashing it! YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
Click to expand...
Click to collapse
Download:
In order to change dt2w profiles (e.g. bottom half, center etc.) you need to install my Kernel Adiutor Mod.
Nougat release for AOSP/CM based ROMs:
HellSpawn-N4-Nougat-R05-AOSP-UBERTC-6.x-CPUSET
HellSpawn-N4-Nougat-R05-AOSP-UBERTC-6.x
HellSpawn-N4-Nougat-R05-CM-UBERTC-6.x
Mirror for nougat releases:
https://www.androidfilehost.com/?w=files&flid=136250
Last release version for Marshmallow:
hellspawn-N4-mm-6.0-r18-AOSP-UBERTC-5.4
hellspawn-N4-mm-6.0-r18-AOSP-UBERTC-7.0
hellspawn-N4-mm-6.0-r18-BS-UBERTC-5.4
hellspawn-N4-mm-6.0-r18-BS-UBERTC-7.0
hellspawn-N4-mm-6.0-r18-CM-UBERTC-5.4
hellspawn-N4-mm-6.0-r18-CM-UBERTC-7.0
Archived marshmallow builds until r13:
>HERE<
Installation:
1. Wipe cache/dalvik cache
2. Flash kernel zip over stock kernel of the ROM
3. Wipe cache/dalvik cache again (optional)
4. Reboot system
IMPORTANT NOTE:
With r05 and higher, you don't have to worry about clean and/or dirty flashing problems. The anykernel installer will reuse the ramdisk of your previous kernel and apply a patch with my HellSpawn Kernel Tweaks.
Credits:
Special thanks to
- AOSP
- hellsgod
- zaclimon
- ganachoco
- txuki2005
- yoinx
- Cl3Kener
- franciscofranco
- faux123
- eng.stk
- stratosk
- show-p1984
- mrg666
- Defconoi
- neobuddy89
- flar2
- CallMeAldy
- AK
- DespairFactor
- Alucard
- mydongistiny
- And anyone I forgot
XDA:DevDB Information
HellSpawn-N4, Kernel for the Google Nexus 4
Contributors
spezi77, jolinnard
Source Code: https://github.com/spezi77/hellspawn-N4
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: R05
Stable Release Date: 2016-12-28
Current Beta Version: r17
Beta Release Date: 2016-08-13
Created 2016-03-30
Last Updated 2016-12-28
Change log Nougat:
R01
* Initial nougat release for AOSP and CM based ROMs
* no longer a separate build variant for BeanStalk
* no longer compiling with TC-7.0 (I never heard by anyone that they felt a difference incl. myself) -> compiled with UBER TC 5.4.1
* no longer franco's gamma control by franco -> faux123 gamma control
* incl. security patches from October 2016 (fix CVE-2016-3857, CVE-2016-5340, etc.)
R02
* Manual rebase of HellSpawn on the basic nougat kernel which is the built-in kernel in my NeXus4ever ROM
* This build allows to switch the SELinux mode between permissive and enforcing (you can do this with Kernel Adiutor)
* Added a new build variant for Fake nexus ROM (incl. cpuset feature) as requested by @xenyz
* Omitted a few unnecessary things, e.g.: toggleable software crc, custom sound control, disable IO stats per default, Lock initial TCP window size to 64k, interactive CPU governor mods, impulse CPU governor, mpdecision based hotplug (Bricked), etc.
* Added the latest security patches from November 2016, e.g.: mm: remove gup_flags FOLL_WRITE games from __get_user_pages()
* Doubletap2wake/power suspend support incl. profiles (Center, Full screen, Bottom half, Top half)
* DT2W: fire a small vibration when device is woken up
R03
* Add franco sound control
* Fix SELinux toggle
* This time we really use sd-card filesystem
* Change max readahead size to 512KB
* Revise GPU normal- & overclock frequencies: ... 400MHz, 487MHz
* Optimize apply_slack() for size and speed -- http://lkml.indiana.edu/hypermail/linux/kernel/1201.3/03172.html
* Add latest fixes from franco's nexus 5 kernel
R03 hotfix: solve battery drain while device is in IDLE
* Revert faulty commits (smpboot) which prevent the device from entering deep sleep
R04
* cpufreq: ondemand: MICRO_FREQUENCY_MIN_SAMPLE_RATE to 10K (return to a more sane default value)
* merged latest updates from security bulletin
* USB: msm_otg: Fix a bug in charger detection procedure
* USB: msm_otg: Fix host mode suspend bug
R05
* Linux 3.4.113
* Switch toolchain to uber/arm-eabi-6.x (more details: https://github.com/spezi77/hellspawn...ba15b6cc23629b)
Change log Marshmallow:
r01
* Initial beta release for CM (based on hells-Core N4 kernel b88-M)
* Add MSM OTG hack (ziddey/Chad Froebel/faux123)
* Use simplified thermal driver (franciscofranco)
* Add gamma control (franciscofranco)
* Add tweaks and optimizations from Quanta-Mako kernel (zaclimon)
* Add support for android-gadget-keyboard (zaclimon)
r02
* Beta Release for AOSP/CM
* Add Qualcomm Slimbus driver and use tweaks (CallMeAldy)
* Add fsync on/off support (franciscofranco)
* Add relaxed power savings from NVIDIA (experimental) (Tk-Glitch/zaclimon)
* Add ElementalX CPU governor (flar2)
r03
* Beta Release for AOSP/CM
* CPU-boost: add wake up boost, input boost and minor improvements (neobuddy89)
* Mako-hotplug: add toggle
r04
* Stable Release for AOSP/CM
* Fix USB problem: copying files via MTP was not working (at least in my device)
* Apply marshmallow patch by Dmitry Grinberg (Updated from flo: partialresume, uid-cputime, kernel wakeup reasons)
* MPDecision disabled per default
* Anykernel: disabled ramdisk patcher for now
r05
* Stable Release for AOSP/CM and each variant compiled with UBER TC 4.9.x and 5.3.x
* Partial revert of marshmallow patch by Dmitry Grinberg
* Remove CPU BOOST (caused battery drain and potential conflicts with mako hotplug)
* Add Simple GPU governor (faux123)
* Anykernel: re-enabled ramdisk patcher
r06
* Stable Release for AOSP/CM and each variant compiled with UBER TC 4.9.x and 5.3.x
* Added bricked hotplug driver as alternative (showp1984)
* Replaced franco's simplified thermal driver with bricked thermal driver (showp1984)
* Added more CPU governors: slim (based a lot on elementalX), badass (power-efficient)
* Anykernel: many improvements
r07
* Stable Release for AOSP/CM and each variant compiled with UBER TC 4.9.x and 5.3.x
* Added AutoSMP hotplug driver
* Added PegasusQ CPU governor and removed Slim governor
* Anykernel: set AutoSMP as default while other hotplug driver remain disabled
r08
* From now on the kernel is also compatible to CM-13.0 based roms (thanks to @redj12 and @MrRisan for making me aware of that)
* In order to reduce build time, future builds will always use UBER TC 5.3.x, and ensure compatiblity with AOSP, BS and CM based roms
* Added upstream fixes from CM-13 to improve compatibility and stability
r09
* In order to offer greater flexibility, future builds will always use UBER TC 5.3.x (stable & battery-friendly) and TC 7.0 (experimental)
* Disable msm_mpdecision/bricked hotplug
* Add Alucard Hotplug & introduce Alucard CPU governor
* Enable 487.5 Mhz GPU Overclocking (experimental)
r10
* Fix video recording feature (Thanks to you for letting me about this issue!)
* Add Zen Decision Hotplug (Details. Thanks bbedward)
* Add Smartmax CPU governor (Based on OnDemand & SmartAss2; Usage scenario: Power-efficiency)
* Add powersuspend: new PM kernel driver for Android w/o early_suspend (Thanks yank555-lu & faux123)
* Add further wakelock knobs (Thanks franciscofranco):
** wakeup: add toggle for bluesleep wakelock
** wakeup: add toggle for bluedroid_timer wakelock
** wakeup: add toggles for wlan wakelocks. They are all enabled by default, it's up to the user to turn them off.
* Add quickwakeup (Thanks txuki2005 for discovery.):
** Allow kernel driver to do periodic jobs without resuming the full
system. This option can increase battery life on android powered
smartphone.
r9.5
* In order to reduce battery drain (introduced in r10) I decided to
** Exclude new PM kernel driver for Android w/o early_suspend
** Exclude zen_decision
* Remove the ultra-low CPU frequencies to prevent bad UX
r11 (official)
* Fixed headset not being recognized
* Reduced logspam (nf: uid field in the msg) (big thanks @ivanich for pointing this out)
* Added quite a few tweaks & performance improvements used in franciscofranco's msm-kernel (flo) and ion-storm's Unleashed-N4 kernel
* Replaced deprecated earlysuspend hooks with lcd notify
* msm-sleeper: upgrade to version 2 (thanks flar2) & change to use lcd-notifier.
* Updates for CPU hotplug drivers
** ALUCARD_HOTPLUG: Implemented use msm rq stats. fixed issue with min. CPUs online.
** zen decision: re-introduce & deactivate battery threshold (like lightning!) (big thanks @txuki2005 for pointing me to a version that has been adapted to 3.4.x branch)
* Updates for CPU governors
** Abandon badass: causes too much UI stuttering/scrolling lags
** Ondemand: use optimizations from Semaphore kernel (credits stratosk)
** Smartmax: update for battery savings. Hotfix NULL pointer dereference.
** Introduce Impulse governor (Experimental) (credits neobuddy89)
** Introduce intelliminmax (credits faux123): intellimm governor is designed to work with the newer SOCs with fixed voltage rails (ie MSM8974+ SOCs). It is designed to work within those fixed voltage ranges in order to maximize battery performance while creating a smooth UI operations.
** Intellimm: fully sync w/dorimanx
** Alucard: tune for performance and to reduce idle drain. enable io is busy on alucard.
** Introduce Interactive: reduce timer with screen off (might be interesting for people who are listening music and experience audio issues due to measures for power saving while screen is off)
r11 dev notes:
I have tried many things & tested a lot of different configurations recently, e.g. to add back cpuboost driver, and also to add msm_limiter (replacement for msm_sleeper). Also worth to mention.. I have stabilized intelli_plug, which was temporarily added into r11-test-builds, but then it turned out that it has had impacts on the overall performance.. all those cool stuff didn't help to further improve this kernel, so I decided to abandon it in the official r11 build.
At this point I would like to thank two awesome guys: @dragos281993 @Cristiano Lira who supported me extremely with testing and help me on the right track! BTW, I am constantly measuring changes with help of Antutu and my own eyes..
Rumors:
Last but not least.. You might be interested in learning about how my "experiments" with lazyplug have went. Well, there is not much to say, except for it didn't work. And hence I decided to give up.
r12
* Fix camera crash (thanks zaclimon).
* Improve battery life and phone sleep state by revert lcd_notify.
* Add system wide Linaro lsk-v3.10 based workqueues aligned towards power saving.
* Patch to Linux 3.4.112
* Add tweaks from mirage kernel (thanks mrg666)
r13 (official)
* Merge UPSTREAM fixes from msm-flo-3.4-mm-mr2
* Add a few performance tweaks from mirage kernel (thanks mrg666)
* Add latest version of dyn_hotplug from stratosk (lollipop branch)
* Switch to latest ubertc 5.4.1
* cpufreq: interactive: Use hellsgod's defaults
* cpufreq: conservative: add back cpufreq_notify_utilization. Required to work with mako_hotplug.
* Remove impulse, thunderX & thunderplug
r14 (official)
* Add interactive updates from myfluxi
* Merge July bulletin fixes (thanks CM & thanks @txuki2005)
r15 (official)
* Fix for deep sleep issue/kernel panic by making a revert of smpboot related commits
* cpufreq: interactive: set timer_rate to 60ms on screen off (previously 50ms) (thanks franco)
* Performance improvements (thanks franco)
* Faster boot up through increased timer frequency (thanks franco)
* Set rate to 250 Hz for mako (thanks zaclimon)
r16 (official)
* Included CPU governor stockdemand
* Added Voltage interface for GPU
* GPU: Add 27MHz GPU idle frequency for battery savings
* Power-efficiency: series of power efficiency patches from NVIDIA
* Many tweaks for stability and to reduce lags/improve battery life
* Enable quickwakeup driver
* AIO: Optimization for SSD-only machines
* Security patches: crypto: arm/aes update NEON AES module to latest OpenSSL version
* RAM optimizations: enable KSM and KSM check page
* Disable OOB interrupt when WLAN is off
* dyn_hotplug: optimize for performance
r17 test (currently only for AOSP and BS ROM)
* Security update: Fix CVE-2016-5340 (Quadrooter Vulnerability)
* A few performance related enhancements (sched_clock, framebuffer imageblit function)
* Add toggle to control software CRC
* Updated the kernel installer script to reduce logcat spam (powerhal) and to disable mpdecision / thermald
r18 (official) CM COMPATIBLE
* Revert: CPU governor stockdemand (not working with CM-based ROMs)
* Revert: updates for kernel installer script (not working with CM-based ROMs)
* Revert: series of power efficiency patches from NVIDIA (has introduced a performance decrease)
* Ondemand patch: update frequency when limits are relaxed (currently ondemand doesn't do that when limits are relaxed, wasting power on systems with relatively low sampling rate.)
* AIO SSD ONLY: enable the SSD-only optimization for the Linux Asynchronous IO
framework.
FAQ:
Pac-Man said:
And... What is the difference between normal and CPUSET?
Click to expand...
Click to collapse
jer_ying_fd said:
It's meant to be used ONLY with fake nexus rom, because it is the only rom with the modifications to use CPUSET properly. As a result, using it with another rom will result in one core being used only.
Click to expand...
Click to collapse
What's the difference between UBERTC-5.x, -6.x and -7.0
Click to expand...
Click to collapse
Tc 5.x and 6.x are the most up-to-date and stable toolchains provided by UBER devs. Tc 7.0 was temporarily in use (experimental).
Why do I need so many different CPU governors and what are they for?
Click to expand...
Click to collapse
1: OnDemand
Ondemand is one of the original and oldest governors available on the linux kernel. When the load placed on your CPU reaches the set threshold, the governor will quickly ramp up to the maximum CPU frequency. It has excellent fluidity because of this high-frequency bias, but it can also have a relatively negative effect on battery life versus other governors. OnDemand was commonly chosen by smartphone manufacturers in the past because it is well-tested and reliable, but it is outdated now and is being replaced by Google's Interactive governor.
2: Performance
The performance governor locks the phone's CPU at maximum frequency.
3: Conservative
This governor biases the phone to prefer the lowest possible clockspeed as often as possible. In other words, a larger and more persistent load must be placed on the CPU before the conservative governor will be prompted to raise the CPU clockspeed. Depending on how the developer has implemented this governor, and the minimum clockspeed chosen by the user, the conservative governor can introduce choppy performance. On the other hand, it can be good for battery life.
The Conservative Governor is also frequently described as a "slow OnDemand". The original and unmodified conservative is slow and inefficient. Newer and modified versions of conservative (from some kernels) are much more responsive and are better all around for almost any use.
4: Interactive
Interactive scales the clockspeed over the course of a timer set by the kernel developer (or user). In other words, if an application demands a ramp to maximum clockspeed (by placing 100% load on the CPU), a user can execute another task before the governor starts reducing CPU frequency. Because of this timer, Interactive is also better prepared to utilize intermediate clockspeeds that fall between the minimum and maximum CPU frequencies. It is significantly more responsive than OnDemand, because it's faster at scaling to maximum frequency.
Interactive also makes the assumption that a user turning the screen on will shortly be followed by the user interacting with some application on their device. Because of this, screen on triggers a ramp to maximum clockspeed, followed by the timer behavior described above.
Interactive is the default governor of choice for today's smartphone and tablet manufacturers.
5: BadAss (has been removed in r11)
Badass removes all of this "fast peaking" to the max frequency. To trigger a frequency increase, the system must run a bit with high load, then the frequency is bumped. If that is still not enough the governor gives you full throttle. (this transition should not take longer than 1-2 seconds, depending on the load your system is experiencing)
Badass will also take the gpu load into consideration. If the gpu is moderately busy it will bypass the above check and clock the cpu to max frequency. If the gpu is crushed under load, badass will lift the restrictions to the cpu.
6: Pegasusq
The Pegasusq is a multi-core based on the Ondemand governor and governor with integrated hot-plugging. It is quite stable and has the same battery life as Ondemand. Ongoing processes in the queue, we know that multiple processes can run simultaneously on. These processes are active in an array, which is a field called "Run Queue" queue that is ongoing, with their priority values ​​arranged (priority will be used by the task scheduler, which then decides which process to run next).
To ensure that each process has its fair share of resources, each will run for a certain period and will eventually stop and then again placed in the queue until it is your turn again. If a program is terminated, so that others can run the program with the highest priority in the current queue is executed.
7: Smartmax
Smartmax is a mix between Ondemand and Smartassv2. It behaves mostly like Smartass with the concept of an "ideal" frequency. By default this is configured for battery saving, so this is NOT a gaming or benchmark governor! Additionally, to make it "snappy", Smartmax has "touch poke". So input events from the touchscreen will boost the cpu for a specific time to a specific frequency. Developed by XDA user Maxwen.
8: IntelliMM
A rewrite of the old Min Max governor and has 3 cpu states: Idle, UI and Max. Intelliminmax (intellimm) governor is designed to work with the newer SOCs with fixed voltage rails (ie MSM8974+ SOCs). It is designed to work within those fixed voltage ranges in order to maximize battery performance while creating a smooth UI operations. It is battery friendly and spends most of the time at lower frequencies.
9: Impulse
An improved version of interactive modified by neobuddy89. Impulse aims to have a balance between battery and performance just like interactive but has some tweaks to save battery.
10: ElementalX
The ElementalX CPU governor has been specifically designed and tuned to get the best balance between battery life and performance. By default, it is more conservative than Ondemand. During routine usage, the CPU frequency does not ramp up very often. If gboost is enabled, during gaming or any other graphics intensive situation, the CPU frequencies boost much easier in order to maintain maximum performance. There is also a built in input boost.
11: Alucard
A favourite choice and one of the original governors that Alucard_24 made. Alucard is based on ondemand but has been heavily tweaked to bring better battery life and performance. It has been known to be battery friendly without sacrificing much performance.
12: Hellsactive
A heavily modified intelliactive governor by hellsgod that has been tweaked to improve battery life. Hellsactive is less aggressive compared to intelliactive so the battery life will be more like the original interactive.
Why do I need so many different GPU governors and what are they for?
Click to expand...
Click to collapse
1: Simple
It's a new governor for the gpu frequency scaling. It will allow a more fine grained control over how the gpu scales up and down then the previous ones. Depending how you tune it, it can be better for battery life or performance.
2: Ondemand
Much like the CPU governor, Ondemand will ramp up the frequency when a load is detected. A good balance between performance and battery savings. This is a widely used governor in qualcomm devices.
3: Powersave
Like the CPU governor, this keeps your GPU running at the lowest possible frequency. Best battery life, extreme lag in games.
4: Conservative
Like the CPU governor, this one is the opposite of Interactive; it is slow to ramp up the frequency, then quickly drops the frequency once the GPU is no longer under a certain threshold of load.
5: Performance
As the name suggests, this keeps your GPU running at the max frequency. This is a governor if you want the best possible experience in games but you don't care about your battery life.
Why do I need so many different CPU Hotplug drivers and what are they for?
Click to expand...
Click to collapse
1: MPDecision (disabled by intension -- do not even think of enabling it)
Qualcomm's default hotplugging driver. One of the most widely used hotplug drivers in all android devices.
2: Alucard-Hotplug
A great hotplugging driver by Alucard. It is known to be very battery friendly on devices.
3: Mako-Hotplug
A new popular hotplugging driver found in Francokernel. This is a highly configurable driver that can be configured to use dual core for light-loads and quad-core for heavy loads.
4: Zen-Decision
ZEN only onlines all cores when screen is on, it also takes thermal events into account and wont online any core back, if you're under 15% battery, or currently have a thermal event because of heat. So in the end it isn't a "real" hotplug driver, because it doesnt have any code for active hot plugging in it. That means you can't change its behavior.
5: Bricked Hotplug (has been temporary added, but then removed again from this kernel)
Conservative hotplug driver by showp1984. It is based on mpdecision but has been optimized for better balance between battery life and performance.
6: msm_sleeper (always on by default)
The main feature with this hotplug is that you can customize the screen off frequency. Two cores are always on, the third and fourth are independent and come online if needed. By default, if the load is over 80 for 400ms another core comes online. The third and/or fourth cores stay online as long as the load demands it or for a minimum of one second. While the screen is off, it goes down to a single core. Created by flar2.
7: AutoSMP
A highly-efficient hotplug driver by mrg666, works in-sync with the CPU governor to enable off-line cpu cores when the the CPU frequency reaches a high threshold and still more compute power is needed. Therefore, touch boost bloat is removed.
What are recommended settings for performance?
Click to expand...
Click to collapse
For a good performance you don't have to tweak anything, but use my defaults (AutoSMP/Hellsactive).
Using ElementalX as CPU governor will apply a GPU boost when GPU is at max power which should have a positive effect on gaming performance.
Using Pegasusq as CPU governor allows you to reach the highest end score in Antutu Benchmark tool.
What are recommended settings for increased battery life?
Click to expand...
Click to collapse
Change CPU hotplug to Alucard and CPU governor to Smartmax or Intellimm.
Partially based on: http://androidmodguide.blogspot.de/p/blog-page.html
Can I use UKM or HKM to control kernel settings?
snacs said:
Can I use UKM or HKM to control kernel settings?
Click to expand...
Click to collapse
HKM should work as this kernel is hells-core based. It seems that HKM is no longer available in Playstore. Do you have a download link?
I don't know about UKM, I personally never used it. Could you give it a shot?
But I can tell you that it works with KernelAdiutor.
Cheers!
Another thing to flash! Really thanks for support. I will try it ASAP and give feedback.
Wysłane z mojego Nexus 4 przy użyciu Tapatalka
spezi77 said:
HKM should work as this kernel is hells-core based. It seems that HKM is no longer available in Playstore. Do you have a download link?
I don't know about UKM, I personally never used it. Could you give it a shot?
But I can tell you that it works with KernelAdiutor.
Cheers!
Click to expand...
Click to collapse
HKM here. Sound control never work for me in KernelAdiutor, and it don't have C-States control too. I'll try UKM and post here later.
Installed, now just testing how it works
snacs said:
HKM here. Sound control never work for me in KernelAdiutor, and it don't have C-States control too. I'll try UKM and post here later.
Click to expand...
Click to collapse
HKM works in general.
You should not enter Display Control, otherwise FC. It's because the kernel has Franco's gamma control instead of the one by faux123.
Btw, I have added performance profiles (francescofranco). But I am not sure how to get them working. But I believe that this can be achieved with Franco's kernel manager..
Kernel is smooth. Working great with cooperation with DU10.0. Elementalx is Nice governor, no random reboots, cold and no glitches here.
Wysłane z mojego Nexus 4 przy użyciu Tapatalka
Working quite nicely with BrokenOS as well. Love the addition of the USB-OTG. Thanks!
str3tch72 said:
Kernel is smooth. Working great with cooperation with DU10.0. Elementalx is Nice governor, no random reboots, cold and no glitches here.
Wysłane z mojego Nexus 4 przy użyciu Tapatalka
Click to expand...
Click to collapse
¿What's DU10.0?
Enviado desde mi Nexus 4 mediante Tapatalk
Dirty Unicorns.
Wysłane z mojego Nexus 4 przy użyciu Tapatalka
r03 is up.
How about adding kexec-hardboot patch into it ?
Lycris11 said:
How about adding kexec-hardboot patch into it ?
Click to expand...
Click to collapse
Already therein, was added by hellsgod.
I gotta say, this kernel is slick as **** man. Kudos to you, @spezi77
Sent from my Nexus 4 using Tapatalk
Best kernel for smoothness and battery life. Definetely. @spezi77 you are a guarantee of high quality work, really. ?
Wysłane z mojego Nexus 4 przy użyciu Tapatalka
Can I dirty flash r3 over r2?
BTW, UKM works very well

[KERNEL][AOSP][7.0] N4-Revival for nougat r02 [2016-10-09]

{
"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"
}
Lean, stable and buttersmooth.
These shall be the characteristics of my REVIVAL kernel for the Nexus 4 (MAKO).
Why should I use this kernel in my Nexus 4?
The "revival" kernel aims at bringing new life into your worn out NEXUS phone and is meant for those who prefer basic tweaking. This kernel will be the more conservative project, as I plan to put only the essential stuff into it like just a few governors and hotplug drivers, gamma control, UV, dt2w and some other basic stuff..
Note: This kernel is made for Android 6.0.1 (Marshmallow) and maybe later versions (who knows).
Features:
Linux 3.4.112 based on the latest sources of Semaphore kernel by Stratos Karafotis (Big thanks)
Removed lots of useless debugging and logs. Added tweaks/optimizations for increased performance. Some of the tweaks were hand-picked from kernels like Quanta-Mako (thanks zaclimon), TaUrUs_Kernel (thanks txuki2005), Unleashed (thanks ion-storm), kernel-Nexus4 (thanks motley-git), thunderzap (varunchitre15) and Mirage (thanks mgr666)
Compiled with the latest Cortex-A15 optimized UberTC 5.4.1 with some kernel based optimizations: graphite, NEON
Compatible to all Android 6.x ROMs based on AOSP and CM (incl. BeanStalk of course)
MultiROM compatible (Kexec patch)
ARM auto_hotplug (thanks thalamus; enhanced by motley) removed in r02
Alucard-hotplug (Alucard24)
AutoSMP-hotplug (Mgr666)
Dyn_hotplug set as default (stratosk)
mako_hotplug (franciscofranco)
msm-sleeper: upgrade to version 2 (flar2): allows to set a max screen off frequency
Linaro power oriented workqueues (thanks mrg666 & franciscofranco)
CPU Governors: ondemand (tweaked by stratosk; default), stockdemand (for those who like it stock and battery-friendly), yankdemand (a more battery-friendly derivative of ondemand), conservative, interactive (tweaked by franciscofranco), performance, userspace, powersave, elementalX (flar2), hellsactive (hellsgod), smartmax (maxwen)
GPU Governors: conservative, ondemand, performance, interactive (franciscofranco), simple (faux123)
GPU Overclocking (up to 487.5MHz) and ultra low IDLE frequency (27MHz)
IO schedulers: cfq, deadline, noop, sio, tripndroid
Customized in-kernel thermal solution smart scaling, dynamic polling, and configurable throttle temp
Gamma control by faux123 (with nougat r02) / gamma control by franciscofranco (marshmallow r03 until r08)
Dynamic management of dirty page writebacks (Christopher83)
Earlysuspend: speedup late resume (faster wakeup of the device)
Relaxed power savings from NVIDIA
Motorola MSM mcmcpy enhancements
Userspace CPU & GPU Voltage Control
Speaker Amp & Sound Control (faux123)
USB force fast charging (Chad Froebel/faux123)
DT2W/power suspend support and Touch wake (stratosk)
Exponential brightness driver (stratosk)
USB-OTG Support (ziddey/faux123)
Knobs for Arch Power and Gentle Fair Sleepers
Knobs for controlling wakeups: bluesleep, bluedroid_timer, wlan, sensor_ind and msm_hsic_host
Qualcomm Slimbus driver incl. tweaks
Partial-resume framework & quickwakeup driver
AIO optimization from Linux 3.8+ (faux123)
Tested on the following ROMs:
* Pure Nexus (AOSP)
* BeanStalk (CM-13 based)
Known issues (marshmallow release):
* Changing CPU governor to yankdemand, stockdemand or hellsactive doesn't work on latest Purity ROM, Resurrection Remix M v5.7.2, CM-13 and possibly on further CM-13 based custom ROMs. Therefore avoid those governors or your phone will freeze-in and then goes into a soft reboot.
DISCLAMER
Your warranty is now void.
I am not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed. Please do some research if you have any concerns about features included in this Kernel before flashing it! YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
Click to expand...
Click to collapse
Download:
Nougat releases (only AOSP for now):
N4-revival-nougat-r01.zip
N4-revival-nougat-r02.zip
Latest release for marshmallow:
N4-revival-marshmallow-r08-AOSP-UBERTC-5.4.zip
N4-revival-marshmallow-r08-CM-UBERTC-5.4.zip
Older releases:
>HERE<
Installation:
1. Wipe cache/dalvik cache
2. Flash kernel zip over stock kernel of the ROM
3. Wipe cache/dalvik cache again (optional)
4. Reboot system
Change Log:
r01 (2016-06-25)
* Initial release
r02 (2016-06-26)
* Replace auto_hotplug with mako_hotplug
* Added extra franco tweaks: use unbound wq, run the main work only once every second if special cases apply, increase the work schedule time when dual-core or quad-core mode is active, from 1 to 2 seconds
* Added 27MHz GPU idle frequency
* Added sensor_ind wakeup knob
r03 (2016-07-10)
* Revert squashed sound control commits and add back faux123 original sound control v3.6
* Add franciscofranco's gamma control
* [backport] Hotplug thread infrastructure
* softirq: Use hotplug thread infrastructure
* rcu: Yield simpler
* rcu: Use smp_hotplug_thread facility for RCUs per-CPU kthread
* Merge July bulletin fixes (thanks @txuki2005)
r04 test build (2016-07-17)
From Franco's release for Hammerhead:
- WiFi driver: improved battery life, performance & security updates
- cpufreq: interactive: set timer_rate to 60ms on screen off (previously 50ms)
- cfq-iosched: improvements
From Franco's release for Flo (thanks zaclimon):
- Performance improvements
- Faster boot up
r05 (2016-08-01)
* Sound: automatic gain control: increase max gain
* Enabled kernel AIO optimization from Linux 3.8+ (faux123)
* Upstream fixes from flo kernel (31st July)
* Reduce log spam messages
* I/O Boost (dorimanx) and optimizations (binder, futex, mutex, rtmutex)
* Added CPU governor stockdemand (unmodified version; for those who like it stock and battery-friendly)
Changes taken over from r04 test build:
* From Franco's release for Hammerhead:
- cpufreq: interactive: set timer_rate to 60ms on screen off (previously 50ms)
- cfq-iosched: improvements
* From Franco's release for Flo (thanks zaclimon):
- Performance improvements
- Faster boot up
r06 test (2016-08-06)
* Power-efficiency: series of power efficiency patches from NVIDIA
* Many tweaks for stability and to reduce lags/improve battery life
* Enable quickwakeup driver
* AIO: Optimization for SSD-only machines
* Security patches: crypto: arm/aes update NEON AES module to latest OpenSSL version
* RAM optimizations: enable KSM and KSM check page
* Disable OOB interrupt when WLAN is off
* dyn_hotplug: optimize it for decreasing lag and better sound quality (Credits @quentin2260)
* Ramdisk: new defaults: enable KSM; Decrease GPU default frequency to 200MHz to save energy (thanks zaclimon); CPU: Disable by default the 3rd and the 4th core; add script to reduce logcat spam: powerhal and disable mpdecision / thermald.
r07 (2016-08-12)
Addresses all of the r06 test (2016-08-06) changes as well as the following:
* Security update: Fix CVE-2016-5340 (Quadrooter Vulnerability)
* Compiled with -03
* Add CPU governor: yankdemand (a more battery-friendly derivative of ondemand)
* Add GPU governor: simple (faux123)
* Updated the kernel installer script to reduce logcat spam (powerhal) and to disable mpdecision / thermald
r08 (2016-08-14)
Addresses all of the r07 changes as well as the following:
* Rebased the kernel in order to leave faulty stuff behind as quite a few changes were in contradiction to battery-life and fluidness
* Added Improved framebuffer imageblit function
* Add toggle to control software CRC
* Here is a quick overview of what has been left behind: Linaro-power efficient wq, timer upstream updates and smp related updates)
r01 for nougat (2016-10-08)
* Initial AOSP compatible release with focus on Android 7.x (even though previous builds already worked in nougat ROMs)
* Remove toggleable software crc (potential reason for data loss and reboots)
* Set default i/o scheduler to NOOP for smoother boot animation and an increased overall performance
* Set max readahead value to 256KB (Fair enough for a bit more performance without sacrificing latency)
* Reintroduce Linaro-power efficient wq from Kernel 3.10 (directly picked from franciscofranco's hammerhead kernel)
* Add Latest Version of Alucard HotPlug (allows for energy savings)
* mako_hotplug: don't use an unbound wq (reverted a few things to better cope with our mako)
* mako_hotplug: use more accurately fitting defaults for mako (default CPU freq unplug limit: 1242MHz / default load_threshold: 70% for a slightly increased performance boost)
* cpufreq: interactive: remove hispeed_freq init restriction. How dare you to force me not to 'disable' hispeed_freq? (Thanks franciscofranco)
* DT2W: fire a small vibration when device is woken up (Ported from franciscofranco's shamu kernel)
r02 for nougat (2016-10-09)
* Replace franco's gamma control with the one by faux123
* Remove CPU governors being incompatible with this kernel (hellsactive, stockdemand, yankdemand)
* Introduce intelliactive CPU governor by faux123
Credits:
Special thanks to
- AOSP
- stratosk
- hellsgod
- zaclimon
- txuki2005
- yoinx
- Cl3Kener
- franciscofranco
- faux123
- eng.stk
- stratosk
- show-p1984
- mrg666
- Defconoi
- neobuddy89
- flar2
- CallMeAldy
- AK
- DespairFactor
- motley
- thalamus
- yank555-lu
- Tk-Glitch
- Christopher83
- yank555-lu
- and anyone else who is not listed here, but deserves my gratitude!
And thank you very much for your donation :good:
- @r4yN
XDA:DevDB Information
Nexus 4 Revival, Kernel for the Google Nexus 4
Contributors
spezi77
Source Code: https://github.com/spezi77/kernel_msm
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: r02
Stable Release Date: 2016-10-09
Current Beta Version: r01
Beta Release Date: 2016-10-08
Created 2016-06-25
Last Updated 2016-10-08
Kernel tweaks illustrated
In order to use the tweaks included into this kernel, you can use:
1. KernelAdiutor-Mod (updated 2016/11/20):
--> My personal build which allows to select the semaphore dt2w profiles (exclusive feature not yet supported in the build by David 617)
--> KA-Mod build by David 617 which will provide the latest updates at some point in time
2. or install Synapse.
@spezi77, can you change min GPU freq to 27MHz and include mako hotplug in next build if it isn't ask much.
Btw, phone is smoother than ever now. Thanks, bro!
Cristiano Lira said:
@spezi77, can you change min GPU freq to 27MHz and include mako hotplug in next build if it isn't ask much.
Btw, phone is smoother than ever now. Thanks, bro!
Click to expand...
Click to collapse
I have expected that you will ask for something like mako hotplug.
I will consider it. Anyway, I have already prepared a few of the cpu governors for being used with it. I have seen quite a few variations of Franco's mako hotplug. Not sure yet, which would be the best choice.
Sent from my mako using XDA Labs
spezi77 said:
I have expected that you will ask for something like mako hotplug.
I will consider it. Anyway, I have already prepared a few of the cpu governors for being used with it. I have seen quite a few variations of Franco's mako hotplug. Not sure yet, which would be the best choice.
Sent from my mako using XDA Labs
Click to expand...
Click to collapse
You know me. I think the one used in Hellspawn is nice. And one thing I would like to report is that min cpu cores online setting from auto hotplug seems to not be working, at least in ka-mod.
Edit: tryed synapse and with it the situation is worse: there is not even a checkbox to activate auto hotplug.
@ spezi77 May I know the reason for another Kernel by you
knm1574 said:
@ spezi77 May I know the reason for another Kernel by you
Click to expand...
Click to collapse
1. Hellspawn is for hardcore tweakers cause it's got an insane amount of features and "Revival" has a limited amount for even better stability.
2. "Hellspawn" is based on "hellscore" while "Revival" is based on "semaphore". So they're 2 different kernels.
If you know that you'll tweak every single value of the kernel, or want to have those options there just in case, then Hellspawn is the kernel you want to use. But if you want to do some basic tweaking, "Revival" is the best for you.
Cheers !
Sent from my Nexus 4 using Tapatalk
Does kernel supported F2FS ?
darkmatterx said:
Does kernel supported F2FS ?
Click to expand...
Click to collapse
No, it doesn't. But don't worry. There's no improvement using f2fs, in any department. It's placebo. The benchmarks may show slightly better results but in real world use, the phone behaves exactly the same, it gives the exact same performance and battery life. That's the reason both Stratosk and Hellsgod didn't even bother adding f2fs to their kernels.
Sent from my Nexus 4 using Tapatalk
Cristiano Lira said:
You know me. I think the one used in Hellspawn is nice. And one thing I would like to report is that min cpu cores online setting from auto hotplug seems to not be working, at least in ka-mod.
Edit: tryed synapse and with it the situation is worse: there is not even a checkbox to activate auto hotplug.
Click to expand...
Click to collapse
Hum, I just had a look into the min/max cpu cores online setting. The problem does not originate from the kernel tweaker app(s). The app just reads and writes values from/into the sysfs path, and I didn't find any logical issues here. So, the min/max online cpus feature seems to be implemented in a slightly hacky way..
As of now, I have no idea how to improve this without getting a big headache.. :silly:
Simplest solution would be to ditch auto_hotplug and replace it with mako hotplug. :angel:
Edit: BTW, I did a fresh build (r02) with mako hotplug and 27MHz idle GPU freq.
Flashed today - everything looks nice and smooth so far. A think that its a little more stable and fast than HellSpawn
However I don't get all those colour profiles - where is my favourite alucard8888 and Mohit Galaxy Kehlu Mod?
I can't find the perfect colour settings
The kernel looks very nice @spezzi77. The only thing that's missing, is the gamma control from Hellspawn. The stock control doesn't really give us any tweaking options. I'm used to "Obsanity Amoled" so I can't really go without it or at least be able to tweak it the way I prefer. I'll be waiting for that to be added. Other than that, you should not add anything else cause everything is nice and stable this way.
Sent from my Nexus 4 using Tapatalk
---------- Post added at 01:24 AM ---------- Previous post was at 01:21 AM ----------
Jakub_Z. said:
Flashed today - everything looks nice and smooth so far. A think that its a little more stable and fast than HellSpawn
However I don't get all those colour profiles - where is my favourite alucard8888 and Mohit Galaxy Kehlu Mod?
I can't find the perfect colour settings
Click to expand...
Click to collapse
At the moment the kernel has Stratosk's gamma control which is very close to the stock one. Franco's control is what we want for us to be able to change profiles or tweak them. I'm sure spezzi will add that in a future build.
Sent from my Nexus 4 using Tapatalk
Glad to hear that!
Oh and one more thing - dunno if anyone else noticed that/has that bug/feature
LED notification sometimes is pulsing with all rainbow colours instead of those that are set in my ROM. I remember that happening on some kernel - but right now I can't remember which one
@spezi77, I'm feeling that battery is worse in r02 in comparison with r01, I was having some good results with r01 despite using ondemand and dyn with 2 cores min but now with r02 it's not that good even using smartmax. Thanks for your commitment.
Kernel Auditor got a new sweet material design update!!! OMGGGG
sidnoit22 said:
Kernel Auditor got a new sweet material design update!!! OMGGGG
Click to expand...
Click to collapse
The beta?
Sent from my Nexus 4 using Tapatalk
dragos281993 said:
The beta?
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
Yeah man the Beta.
Any recommendations for good balance between battery life and performance :
CPU governor
I/O scheduler
GPU governor
Max GPU 487 MHz? Not too much...
Or stay like it is...
Wysłane z mojego Nexus 4 przy użyciu Tapatalka
sidnoit22 said:
Yeah man the Beta.
Click to expand...
Click to collapse
Yeah, it looks nice.
Sent from my Nexus 4 using Tapatalk

Categories

Resources