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

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

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][TW] ChronicKernel - (UV/GPU/CPU-OC/linaro) [07/30/2014]

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.

[TW][Emotion Kernel][SM-N915-F-G-P-T][21-Sep-2016][6.0.1]Emotroid Team

{
"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"
}
- Emotion nightly Kernel Note Edge -
-SM-N915F SM-N915G SM-N915P SM-N915T-​
Developed by Placiano and Pafcholini
More stable, more performance, more of everything!​
Introduction
Introducing the Emotion Revolution Roms & Kernels for Android Devices.
Emotion Rom/Kernel is a modified, aftermarket firmware/Kernel distribution few Android devices (Note 2, Note 4, HTC M7, Newman N2). Based on the Android Open Source Project , Emotion Rom & Kernel is intended to increase performance and stability over Android-based Devices released by sellers, for example, Samsung, HTC and so forth. Emotroid additionally offers a mixed bag of features & improvements that are not presently found in stock variants of Android.​​
*** Disclamer***
Your warranty is now void.
We are not responsible for any damage or problems you may have!
YOU are choosing to make these modifications.
Click to expand...
Click to collapse
Thread IndeX
POST 1: Kernel Information, Changelog, Credits,Screenshots
POST 2: Synapse, Recommended settings, FAQ, etc.
POST 3: Know/Reported issues
Request new features here
Features:
Kernel compatible with SM-N915F SM-N915G SM-N915P SM-N915T "Note Edge" SM-N910F SM-N910G SM-N910P SM-N910T SM-N910V "Note 4"
Based on Samsung Open Source Code
Compiled with UBERTC Toolchain Linaro GCC 5.2 Cortex A15
Linux version 3.10.84
CPU OC/UC -> 3072MHz / 268MHz
GPU OC/UC -> 800MHz / 166MHz
PowerSuspend Driver
Intelli-Plug V4.0
MSM Zen Decision
KSM enabled
Sweep2wake & Sweep2Sleep
Adreno idler Algorithm
Simple GPU Algorithm
Voltage Control
Intelli-Thermal
KCAL - Advanced color control
Led Control / Fading
CRC Settings
Advanced TCP control
S-View flip cover hack
Selinux Permissive
CIFS Support
NTFS Support
LZ4 compression algorithm
Kali NetHunter Support
Reduced wakelocks
Frandom number generator
Synapse full support
Governors: Barry-Allen, interactive_pro, intelliactive, bluactive, conservativex, alucard,darkness, nightmare, smartassV2, ondemandplus, umbrella_core, yankactive, dancedance, bioshock, lionhearth, conservative, interactive, ondemand,powersave, userspace, performance, impulse, zzmoove
I/O Scheldures: bfq, vr, fiops, zen, fifo, sio, test-ioshed, cfq, row, deadline, noop
Click to expand...
Click to collapse
LZ4 compression algorithm
LZ4 is a lossless data compression algorithm that is focused on compression and decompression speed.
The algorithm gives a slightly worse compression ratio than algorithms like gzip. However, compression speeds are several times faster than gzip while decompression speeds can be significantly faster than LZO.
The LZ4 algorithm represents the data as a series of sequences. Each sequence begins with a one byte token that is broken into two 4 bit fields. The first field represents the number of literal bytes that are to be copied to the output. The second field represents the number of bytes to copy from the already decoded output buffer (with 0 representing the minimum match length of 4 bytes). A value of 15 in either of the bitfields indicates that the length is larger and there is an extra byte of data that is to be added to the length. A value of 255 in these extra bytes indicates that yet another byte to be added. Hence arbitrary lengths are represented by a series of extra bytes containing the value 255. The string of literals comes after the token and any extra bytes needed to indicate string length. This is followed by an offset that indicates how far back in the output buffer to begin copying. The extra bytes (if any) of the match-length come at the end of the sequence.
Compression can be carried out in a stream or in blocks. Higher compression ratios can be achieved by investing more effort in finding the best matches. This results in both a smaller file and a faster decompression.
Click to expand...
Click to collapse
Jule- 28 -2015 nightly r18
-Linux 3.10.84
-Compiled with UBERTC Toolchain 5.2
-Source and ramfs updated to POF2
-Speed up console framebuffer imageblit function
-Fixed ZeroLemon Fuel Gauge (Thanks to TheLoneWolf20)
-Reverted some commits from r17
-Fix stuck CPU frequencies (Thanks to gekkehenkie11)
-qseecom: updates
-msm_hsic_host: reduce wakelock
-Crypto: updates and fixes
-dm: updates and fixes
-Added PFT (Per-File-Encryption)
-inr_sqrt: improved 3x faster integer sqrt and correction square root algo with naming
-mhi: fixed building of mhi driver
-Reverted Kali NetHunter (For now)
-Interactive: updates
-Added impulse governor and changed part of the code by neobuddy89
-Added zzmoove governor
-Added lcd_notify
-Sweep2wake: added s2s_only and sweep from left to right
-Row I/O: added magic values by Franco
-Synapse: updates, fixes and added Adreno idler
-For more info and changes check out our github
June- 28 -2015 nightly r17
-Linux 3.10.81
-Kernel compiled with Linaro Toolchain 5.1
-Added adreno idler algorithm by Arter97
-Sweep2wake works (Now we have sweep2wake and sweep2sleep)
-Hardlimit 2.2 Emotion Edition for Note 4 (Cleaned to be pure hardlimit)
-Google play services wakelock fixed
-bluesleep: reduced wakelock
-pinctrl: msm: Enabled irqs on resume
-wireless: dhd: Enable standby ARP and multicast packet filters
-Allow untrusted apps to read from debugfs
-input: keyboard: qpnp-keypad: register private data in SPMI dev
-mhi: core: Fix double increment on event counter and removed useless atomic variables
-Swap up to 1.5GB
-Add some tweaks for performance from LSpeed Mod
-net: wireless: bcmdhd4358: Fixed failure to enter PS
-frandom: Dynamically allocate the char device numbers and clear up checkpatch conflicts
-msm: mdss: update and fixes from codeaurora patches
-binder: Quiet Binder and Ratelimit binder debug messages
-ARM: convert all "mov.* pc, reg" to "bx reg" for ARMv6+
-block: BFQ updated to V7r8 for 3.10.X
-USB: android: Fix memory leak in mass_storage_function_init()
-cpuidle: updates and fixes from Linaro patches
-Fast charge adapted and fixed for Note 4 (Thanks to yank555.lu and ktoonsez for the initial code)
-cpufreq: Prevent mpdecision changing scaling freq
-qcom-cpufreq: updates and fixes
-Barry Allen updated to 1.0
-PM: devfreq: Fix show available freqs
-msm:kgsl: fixes
-msm: vidc: updates and fixes from codeaurora patches
-Added msm zen decision (replacement for MPDecision)
-force -Os -std=gnu89 and don't use GCC wrapper for GCC 5.1+
-Makefile: Additional Optimizations
-gpio_keys: force sync on KEY_POWER, KEY_HOME press (This should help in situations when the device or the OS is stalled but the kernel is alive and running.)
-arm: added arm optimized memcmp and Krait optimized strcmp
-readahead: make context readahead more conservative
-dtsi: fixed 268MHz frequency
-mm: zswap: fixes
-Synapse: clean up and fixes
-For more details check out our source code
June- 2 -2015 nightly r16
-Linux updated to 3.10.79
-Added LED Control/fading available in Synapse (Thanks to @UpInTheAir and halaszk)
-SM-N910F kernel is compatible with SM-N910G variant (BOE1+ firmware)
-SM-N915P (Note edge sprint variant) compatible
-Fix screen brightness issues: workaround for KK bootloaders not reporting the panel name (SM-N910V kernel)
-arm: vfpmodule: Fixed warning procfs vfp_bounce reporting failed
-dts: msm: disabled support of 50MHz for i2c for apq8084
-GPU Overclock and Underclock to 800MHz/166MHz
-GPU reduced frequency on boot from 300MHz to 266MHz
-msm: kgsl: show current power level
-suspend: Return error when pending wakeup source is found
-Barry Allen governor updated to 0.7
-mmc: sdhci-msm: Added Samsung 64G search after tune quirk
-Compile with -O3 flag
-KCAL updated (Fixed some issues)
-kernel/smp.c: fixed memory leak
-Default to NOATIME and NODIRATIME for FS performance improvement
-Optimized copy_page for modern ARM platforms
-cpufreq: Added stop CPU callback to cpufreq_driver interface
-PM: Introduce suspend state PM_SUSPEND_FREEZE
-PM / suspend: Make cpuidle work in the "freeze" state
-power: Adds functionality to log the last suspend abort reason
-ACPI / PM: Hold ACPI scan lock over the "freeze" sleep state
-power: catch wake-up requests in suspend_again
-PM / sleep: fix freeze_ops NULL pointer dereferences
-dm-req-crypt: Free resources in destructor
-qce50: Update clock vote for improved performance
-Optimized kernel size
-scheduler: update to BFQ-v7r7 for 3.10.8+
-Interactive: changed CPUFREQ_RELATION_C to CPUFREQ_RELATION_L
-DEFAULT_GO_HISPEED_LOAD to 90
-DEFAULT_TARGET_LOAD to 90
-DEFAULT_MIN_SAMPLE_TIME to 40
-suspend: Return error when pending wakeup source is found
-msm: kgsl: Add check to protect against operating on NULL pointer
-msm: kgsl: Avoid a possible NULL reference in kgsl_ioctl_helper
-futex: Add another early deadlock detection check
-Synapse added in the zip
May- 18 -2015 nightly r15
-Linux updated to 3.10.78
-Added compatibility to SM-N915-F-G-T (Note Edge)
-Added SWAP to 1.4gb
-Added support to Kali NetHunter (Thanks to FutureBSD and thehacker911)
-cpufreq: Added if cpu is online check in show
-cpufreq: Protect against hotplug in cpufreq_register_driver()
-cpufreq: Fixed timer/workqueue corruption by protecting reading governor_enabled
-Revert "cpufreq: make the "scaling_cur_freq" sysfs entry pollable"
-cpufreq: Use correct locking for cpufreq_cpu_data
-cpufreq: Return directly in __cpufreq_get if policy is NULL
-cpufreq: governor: Be friendly towards latency-sensitive bursty workloads
-cpufreq: governor: removed copy_prev_load from 'struct cpu_dbs_common_info'
-cpufreq: removed race while accessing cur_policy
-DriveDroid support (DEFAULT, MTP, PTP, UMS)
-Increased swappiness from 60 to 70
-Improved performance
-NTFS fixed
-Updated Ramfs to BOD2
-Added USB mode in Synapse
-Profiles updated in Synapse
-Fixed gamma and lmk profiles
-Added stock profile in Synapse
-Another minor changes and fixes
May- 11 -2015 nightly r14
-Linux updated to 3.10.77
-Selinux back to full permissive (Fixed gear vr compatibility, etc.)
-WIFI optimized (Thanks to @javilonas)
-Fixed T-Mobile Synapse compatibility
-Crypto: Updated to armv7-a Neon
-Busybox updated to 1.23.2 to fix some issues with Synapse
-Fixed all known bugs from r12+1
-Fixed some minor bugs in the ramfs
-Another minor fixes
May- 8 -2015 nightly r13
-Linux updated to 3.10.76
-Kernel compatible with SM-N910T
-Reverted "power: make sync on suspend optional"
-KCAL updated
-The kernel boot on Selinux enforcing but you can change the status from Synapse
-qcom-cpufreq: Removed save/restore of scheduling policy
-cpufreq_interactive: updated again from Shamu source
-cpufreq: stats: Don't update cpufreq_stats_table if it's NULL
-cpufreq: Break out early when frequency equals target_freq
-msm: lpm-levels: add suspend_again handler
-msm: Fix high load average from uninterruptible waits
-qcom: mpm-of: fix bug in finding the pending interrupts
-Added new governor Barry-Allen by Javilonas
-CIFS and NTFS built in the kernel
-Ramfs optimized (New tweaks,etc. thanks to Javilonas for some scripts)
-Synapse support KCAL control
-Added profiles in Synapse
-Added profiles for LMK in Synapse
-Added global voltage control in Synapse
-Change Selinux status from Synapse>MISC
-Fixed some bugs in Synapse
April- 23 -2015 nightly r12
-Kernel compatible with SM-N910F SM-N910G SM-N910P SM-N910V
-Based on BOC3
-Linux updated to 3.10.75
-Fixed random reboots for some users
-Added crypto optimized SHA-256/224
-percpu: implemented generic percpu refcounting
-mm: disabled zone_reclaim_mode by default
-mm: reordered can_do_mlock to fix audit denial
-Enabled Zram with lz4 compression by default (Synapse>Kernel Tweaks)
April- 18 -2015 nightly r11
-binfmt_elf.c: use get_random_int() to fix entropy depleting
-Reverted "sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire" (Thanks to andip71 to report the lag)
-arm/kernel/irq.c: removed irq affinity warnings
-Restored CPU frequency during resume
-Silenced some annoying last_kmsg
-futexes: Increase hash table size for better performance
-Improved/fixed some typos in the ramfs
April- 15 -2015 nightly r10
-Compiled with Linaro GCC 4.9 2015.03 Cortex A15
-Linux updated from 3.10.40 to 3.10.74
-Compression changed to LZ4
-Power: made sync on suspend optional
April- 12 -2015 nightly r9
-Back to Linux 3.10.40 (For now, we are working to bring stable 3.10.73)
-Added Intelli-thermal v3.0
-bcmdhd4358: filter multicast packages while suspended
-fs/namei.c: fix potential memory leak in path_lookupat
-pinctrl: msm: fixed potential NULL pointer dereference
-usb: ks_bridge: by default debugging is disabled
-slub: fix kmem_cache_shrink return value
-mm: slub: fixed format mismatches in slab_err() callers
-power:Enable/Disable power collapse after camera open
-Implemented CPU Core Control by andip71
-tick: don't update idle time if cpu offline
-msm: kgsl: Only wake GPU on multitouch events
-Interactive: don't boost cpu if already boosted
-rtc: qpnp-rtc: Sets RTC time correctly
-rtc: qpnp-rtc: Set alarm control register properly
-Added Mobile Storage Analyzer
-soc: mbhc: Fix ID Tech card reader detection
-power: catch wake-up requests in suspend_again
-pinctrl: msm: prevent bogus wake up from suspend
-asoc: wcd9xxx: Improved headset detection
-Implemented Motorola MSM memcpy enhancements "memutils" (Faster memcpy performance for Krait)
-Improved Memutils
-Added CIFS as module
-Adde NTFS as module
-ASoC: msm: qdp6v2: handle proxy read failure
-ASoC: msm: qdsp6v2: Fix timestamp query during gapless transition
-mmc: core: Update PON (Power Off Notification) based on the system state
-mm: Fix NULL pointer dereference in madvise(MADV_WILLNEED) support
-netfilter: IDLETIMER: fix invalid deference of timer
-Fixes and improvements in Synapse
-Added CPU Binning (pvs information) Synapse> CPU VOLTAGE
-Added CPU core control in Synapse> CPU DRIVERS
-For more info check our Github
March- 27 -2015 nightly r8
-Linux update to 3.10.71
-Powesuspend updated to 1.7
-Intelli-plug updated to 4.0
-OC/UC -> 3072MHz / 268MHz
-Added Hardlimit Control
-Added new governors
-Addeded new scheldures
-Added memcopy & string use glibc version
-Added quickwakeup driver (improve battery life)
-Optimized Kernel Samepage Merging (KSM)
-deadline: Optimized for non-rotational
-mm: Clear page active before releasing pages
-ARM: 8119/1: crypto: sha1: add ARM NEON implementation
-ARM: 8120/1: crypto: sha512: add ARM NEON implementation
-ARM: crypto: add NEON accelerated XOR implementation
-ARM: add support for kernel mode NEON and only allow kernel mode neon with AEABI
-Fixed failure to enter PS mode while roaming
-Sched: Set MC (multi-core) sched domain's busy_factor attribute to 1
-Disabled add_random for more performance on SSD's
-tcp: enabled tcp fast open functionality (franciscofranco)
-For more info check our Github
March- 5 -2015 nightly r7
-Added KCAL - Advanced color control (Thanks to @savoca for his great job) check this thread for more info
March- 3 -2015 nightly r6
-Based on XXU1ANK4 (KitKat version) and compatible with "F,G,T,V,W8"
-Based on XXU1BOB4 (Lollipop version) and compatible with "F"
-Lollipop version has all the features except mdnie control and S-View hack
-Kernel compiled with Linaro Toolchain 4.9.3 2015-02
-FauxSound updated to 3.6
-Fixed some issues in FauxSound and Synapse
-cpufreq: Introduced new relation for freq selection Introduce CPUFREQ_RELATION_C
-Interactive Governor: Use CPUFREQ_RELATION_C
-Added Gentle fair sleepers (Synapse -> KERNEL TWEAKS)
-Enabled Kernel SamePage Merging (KSM) (Synapse -> KSM)
-Added key disabler (Synapse-> SCREEN/MISC)
-Added userspace vibration strength control (Synapse-> SCREEN/MISC)
-Changed some stuff in Synapse
-Reverted some commits
-Another minor changes
January- 27 -2015 nightly beta r5
-FauxSound implemented
-FauxSound in Synapse
-Added high performance mode in Synapse->Sound
-Fixed battery drain on wifi (My fault)
-Reverted another commits
January- 16 -2015 nightly r4
-Fixed cpu voltage control (No more 0MHz frequency in cpu voltage table)
-ASoC: wcd9xxx: use hwdep node for codec calibration
-ASoC: wcd9320: use hwdep nodes to get calibration
-ASoC: wcd9xxx: Changes for High performance mode
-ASoC: wcd9xxx: Change PA on and VDDIO switch sequence
-ASoC: wcd9xxx: Avoid micbias glitches during audio playback
-In conclusion better quality sound on headsets
-Sched/fair: reduced latency
-Decreased DHD_PACKET_TIMEOUT_MS to 250 ms (Before 500ms)
-Drecreased time to enter sleep
-Net: wireless: Increased scan entry expiration to fit new scan time
-PM: devfreq: Use high priority workqueue
-Msm: kgsl: Report correct GPU frequency in sysfs
-Some minor changes
January- 11 -2015 nightly r3
-Added Frandom as module and set by default (Synapse>I/O>Frandom) "For more info check this"
-Network speed tweak
-Reduced wakelocks "wlan_rx_wake" and "wlan_ctrl_wake"
-dtsi: realigned voltages with userspace values (Thanks to twistedumbrella)
-cpu-boost more performance (Thanks to franciscofranco)
-sched: LOAD_FREQ (4*HZ+61) "For more info check this"
-Interactive governor imported from the Nexus 6 (No more lag on interactive)
-Added bluactive and interactive_pro governors
-Reverted some changes that made the kernel laggy in some cases.
-Selinux set to permissive by default
-Gpu: msm: for higher priority you want to use nice level of -7
-Now you can change the governor tunables from Synapse (Issue fixed) (Thanks for the tip to AndreiLux)
-Synapse shows all the available gpu governors (Thanks to my friend Friedrich!)
-Cleaned some things in Synapse
-Other minor changes
January- 4 -2015 nightly r2
-Fixed Ondemand governor
-mm: slub: Default slub_max_order to 0 (Improved performance)
-Increased io performance
-writeback: fix occasional slow sync
-Fixed min frequency (Finally!)
-msm: Fix high load average from uninterruptible waits
-Cpu boost sysfs to enable/disable it (Synapse>cpu drivers)
-S-View hack (Twistedumbrella) enable/disable (Synapse>miscellaneous)
-Minor fixes
January- 1 -2015 nightly r1
-Based on Samsung Open Source N910FXXU1ANIE
-Compiled with Toolchain Linaro GCC 4.9.3 2014.12 Cortex A15
-PowerSuspend Driver
-Intelli-Plug V3.9
-Stereo Call Recording Support
-cpufreq_limit: don't override cpu min frequency
-Fast Charge V1.2
-Sweep2wake
-Simple GPU Algorithm
-Sysfs interface to Enable/Disable Logger Android (Default disable)
-Voltage Control
-Intelli-Thermal V1
-mDNIe Hijack control
-Advanced TCP control (westwood default)
-Sysfs interface to Enable/Disable CRC
-Dynamic Fsync Control V1.5
-Added Intelliactive, Smartmax and SmartassV2 governors
-Led Control
-Panel Color Control
-mDnie mode adapter for Synapse
-Selinux Enforcing/Permissive
-Synapse Support
Click to expand...
Click to collapse
Installation instructions
You need to have TWPR, CWM o Philz Recovery.
Download the last kernel
Reboot in recovery mode
Make backup (recommended)
Flash the zip
Don't be shy / lazy leave your feedback!​
Click to expand...
Click to collapse
Downloads
Strictly No Mirrors Please. In the event that you need to make one ask us first with purpose behind what valid reason.
Current Version
Emotion Kernel SM-N915 Downloads
Click to expand...
Click to collapse
Source code:
Emotion kernel Github
Thanks To/Credits
Andip71, AndreiLux, apb_axel, Arter97, Civato, Christopher83, Codeaurora, DerTeufel, Faux123, Ffolkes, Flar2, Franciscofranco, Franlov, Friedrich420, Gokhanmoral, Imoseyon, Infernum, Javilonas, ktoonsez, Linaro, LoungeKatt (TwistedUmbrella), myfluxi, neobuddy89, savoca, _Sofos_, UpInTheAir, Vanito, Yank555.lu, ZaneZam.
Thanks to @myaslioglu @Jdidtht @aloom @moe67er to test the Note edge beta releases!
Also thanks to @anthony92170 @ronnie498 @blacklabel2020 @ravenseb for testing the T-mobile kernel!
And all users that support the thread and the kernel!
I hope I have not forgotten anyone!
Hit the "thanks" button if you like our work.
You can follow new updates here (Spanish)
Original thread here
XDA:DevDB Information
Emotion Kernel, Kernel for the Galaxy Note Edge
Contributors
Pafcholini, aukhan, placiano
Source Code: https://github.com/Emotroid-Team
Kernel Special Features:
Version Information
Status: Nightly
Current Stable Version: Emotion nightly r26
Stable Release Date: 2016-09-22
Created 2015-05-18
Last Updated 2016-10-18
Recommended settings & FAQ
Synapse Profiles
Go to Synapse
Profile
Choice the profile that you want
Apply it
Then Reset Selected Profile
Synapse will get FC (Don't worry)
Just reboot your device. DONE
How to backup profiles
Synapse and all available options:
- LIVE STATISTICS: Time in states, Uptime,etc.
- CPU - GOV: cpu scaling, cpu governor and governor tunables.
- CPU voltage: separate frequency voltage.
- GPU: GPU scaling min/max frequency, GPU governor, Simple GPU Algorithm.
- I/O: schedulers, internal storage read-ahead, externalSD read-ahead, Frandom Module, Scheldure Tunables Internal/External
- CPU DRIVERS: PowerSuspend and Intelli-Plug
- THERMAL: Intelli-Thermal Control
- MISCELLANEOUS: Dynamic FSYNC Driver, Logger Mode, CRC Settings, S-View bypass, Selinux Status, Optimize Database.
- BATTERY: Live Statistics and Fast Charge
- MDNIE/SCREEN: Panel Control, mDNIe Mode and mDNIe Mode Hijack
- LED: Led Control
- SCREEN WAKE CONTROL: Sweep2Wake Control
- KERNEL TWEAKS: low memory killer, kernel entropy, panic and panic on oops.
- NETWORK: tcp congestion control, hardering the TCP/IP stack to SYN attack,ignore pings,etc.
- VM-FS: dirty radio, swappiness,etc.
- BUILD.PROP: Build.prop Tweaks
- LOGS: Clearn Synapse, Logcat and Dmseg
- INFO-REBOOT: info about the kernel, reboots,etc.
Click to expand...
Click to collapse
Balance between performance and battery
Above is what I use personally. MAY NOT be optimal for all. Share your settings.
CPU frequency: 2649MHz/268MHz
Hardlimit Max Screen ON: 2649MHz
CPU governor: Interactive or Umbrella_core
CPU voltage: -25mV
GPU: msm_adreno or simple_ondemand
I/O schedulers: row or zen
I/O Readahead: 1024 for both
PowerSuspend: DisplayPanel_hook
KSM: disabled
MPDECISION: enabled
Intelli-Thermal: enabled
MISCELLANEOUS: fsync enabled, logger mode disabled, crc disabled
TCP: westwood
Click to expand...
Click to collapse
Performance configuration
CPU frequency: 2918MHz/268MHz
Hardlimit Max Screen ON: 2918MHz
CPU governor: Interactive_pro or Bluactive
CPU voltage: ----
GPU: performance or simple_ondemand
I/O schedulers: deadline
I/O Readahead: 1024 for both
PowerSuspend: DisplayPanel_hook
KSM: enabled
MPDECISION: enabled
Intelli-Thermal: enabled
MISCELLANEOUS: fsync enabled, logger mode disabled, crc disabled
TCP: westwood
Click to expand...
Click to collapse
Aukhan recommended settings
F.A.Q
Can I flash this kernel on Note 4 SM-N910C or other variant?
No, you can not. This kernel is only for SM-N910F, SM-N910G, SM-N910P and SM-N910V.
When I switch to Ondemand governor I noticed that cpu-boost is disabled.
Exactly, Ondemand and cpu-boost doesn't work well together. When you switch to Ondemand governor cpu-boost will be disabled automatically. Don't re-enable cpu-boost if you are using Ondemand governor. (Synapse>CPU DRIVERS)
Which app can control this kernel?
By default, the kernel is controlled by Synapse, but you can use the app that you like (Trickster Mod, Kernel Tweaker, etc.).
I flashed the kernel and Synapse says: "No support UCI detected".
Reflash the kernel, since it was a bad installation and Synapse does not detect the scripts.
After flashing the kernel lost root what to do?
In case you loose root just flash SuperSU
Any recommended settings to follow using Synapse?
At the beginning of the second post.
After flash the kernel some apks give me FC.
Go to Google Play Store and reinstall those apks.
From where can I remove int.d script?
Go to /system/etc/init.d using any root based file manager and delete.
Note: There is an important one related to superSU and if you remove it by mistake you're gonna have trouble with root permissions.
My device doesn't show any reaction to undervolting (battery life is same as before) or gets unstable even on light undervolting?
Use DVFS disabler Module(standalone) (dynamic voltage and frequency scaling), this feature was kept in touchwiz for benchmark boosting purposes and will conflict with any undervolting and custom governors because it scales the voltages and frequency on regular intervals and is framework integrated, so gets a higher priority than kernel based voltage and scaling controls.
For people who don't know what is DVFS please refer Wikipedia.
Min/Max frequency don't stick?
If your frequency settings don’t stick, it's because on certain Qualcomm devices, there are certain system services (thermald/mpdecision/project butter) or kernel service that rewrite frequency settings based on current thermal status and/or touch input.
I made a logcat but my file is empty. How I can "fix" it?
By default Android logger is disable. Go to Synapse > MISCELLANEOUS and enable Logger Mode.
What is it PowerSuspend?
This new powersuspend PM kernel driver is a replacement for it and existing early_suspend drivers. It should give better battery life.
What is it Intelli-Plug?
Intelliplug is a replacement for mp decision. Intelli-Plug is Faux123 open source solution to Qualcomm's closed source mpdecision. Intelli-Plug is disable by default. It conflicts with mpdecsion, so is HIGHLY recommend turning off mpdecision when using intelli-plug! (If you use Synapse the change is automatic. If you enable Intelli-plug mpdecision will turn off).
What is it Intelli-Thermal?
an intelligent MSM thermal throttling kernel driver designed to replace the
closed sourced thermald(aemon) from Qualcomm.
What is it Frandom?
Frandom is a kernel random number generator, which is 10-50 times faster than what you get from /dev/urandom. And it uses very little (/dev/frandom) or none (/dev/erandom) of the kernel's entropy pool, so it is very useful for applications that require a handy source for lots of random data.
What is it CRC?
CRC is a mechanism aiming to prevent data corruption when is enabled (reduce the performance around 30%). So if you disable it improve the performance but your data can be corrupted. Use it at your risk.
/sys/module/mmc_core/parameters/crc
Do you have issues in Synapse?
Go to the Play store and install busybox on rails.
Ve a la play store e instala busybox on rails, eso arreglará cualquier fallo en Synapse.
Shealt doesn't work (FC's)
Clear data of Shealt
How to use NTFS OTG?
Install USB OTG Helper . Connect your ntfs otg then open USB OTG Helper apk click on "mount". That's it. Use your favorite xplorer to open the OTG.
Know/Reported/Fixed issues
Know issues
1. Synapse doesn't show CPU governor tunables.
I'm trying to fix it. FIXED
2. Sometimes Synapse (and others kernel control apks) show that the min frequency is 1190MHz (or other frequency).
Just cancel it. FIXED
3. Ondemand doesn't work well. FIXED
Thanks for the report @Vangelis13
4. The OTG doesn't work in r8. FIXED
Great work mate! I am sure many custom roms will use it by default!
Most value adding kernel I have ever used...
Sent from my SM-N915F using XDA Free mobile app
Thank you very very much.
5CV15343YV6584512
Anybody on sm-n915p get their data running if I can't figure this out I'm about to just clean install ROM or Odin lollipop update and flash but major thanks for this wonderful creation
Thanks so much!
One zip file covers all those models of the Edge? Nice work.
dinaps86 said:
Anybody on sm-n915p get their data running if I can't figure this out I'm about to just clean install ROM or Odin lollipop update and flash but major thanks for this wonderful creation
Click to expand...
Click to collapse
I can't even get it to boot. It show's the splash screen, then a quick glimpse of something down both sides of the screen, then goes black. It never boots. My ROM is stock with Knox and it's on removed by me with Titanium Backup, and SuperSU Beta V2.49
I can't think of any other changes.
I flashed the zip, wiped cache and dalvik and rebooted. It did not boot. So I installed the zip again, and wiped same. No go again. So then I factory reset, and tried to reboot. Nothing still. What else can I try? The instructions are pretty basic. I"m not doing anything wrong here am I? Lol
---------- Post added at 12:58 AM ---------- Previous post was at 12:49 AM ----------
Nevermind. I was flashing 910 not 915. I was not paying attention. I thought the whole site was dedicated to our beloved Edge. My bad.
It has booted. I will play with it tonight and post my findings tomorrow. Thank you Gentlemen for your work here. I am really excited about having a permissive SELinux Kernel.
---------- Post added at 01:10 AM ---------- Previous post was at 12:58 AM ----------
dinaps86 said:
Anybody on sm-n915p get their data running if I can't figure this out I'm about to just clean install ROM or Odin lollipop update and flash but major thanks for this wonderful creation
Click to expand...
Click to collapse
My data is boinked too.
A big thank you.. Looks good now let's play..
Guys, the kernel was tested on F, G and T variant and I supposed that it's compatible with P but as I see is not.
Next is now. Powered by ET!
All running very nice.. 915f .. Thanks again ..
Pafcholini said:
Guys, the kernel was tested on F, G and T variant and I supposed that it's compatible with P but as I see is not.
Next is now. Powered by ET!
Click to expand...
Click to collapse
Yeap we could not find any P tester. Better delete it from the list until you get solid feedback.
Sent from my SM-N915F using XDA Free mobile app
Very nice kernel. Flashed 4 hours ago. Using it on 915G and the ROM is very responsive plus very good battery life. Thanks for long awaited custom kernel which can be tweaked by synapse.
Sent from my SM-N915G using XDA Free mobile app
myaslioglu said:
Yeap we could not find any P tester. Better delete it from the list until you get solid feedback.
Sent from my SM-N915F using XDA Free mobile app
Click to expand...
Click to collapse
I'll test it out and see what wrong with the data
Sleepycloud said:
I can't even get it to boot. It show's the splash screen, then a quick glimpse of something down both sides of the screen, then goes black. It never boots. My ROM is stock with Knox and it's on removed by me with Titanium Backup, and SuperSU Beta V2.49
I can't think of any other changes.
I flashed the zip, wiped cache and dalvik and rebooted. It did not boot. So I installed the zip again, and wiped same. No go again. So then I factory reset, and tried to reboot. Nothing still. What else can I try? The instructions are pretty basic. I"m not doing anything wrong here am I? Lol
---------- Post added at 12:58 AM ---------- Previous post was at 12:49 AM ----------
Nevermind. I was flashing 910 not 915. I was not paying attention. I thought the whole site was dedicated to our beloved Edge. My bad.
It has booted. I will play with it tonight and post my findings tomorrow. Thank you Gentlemen for your work here. I am really excited about having a permissive SELinux Kernel.
---------- Post added at 01:10 AM ---------- Previous post was at 12:58 AM ----------
My data is boinked too.
Click to expand...
Click to collapse
Our device isn't supported I know a little about developing but not much, do you? If dev doesn't mind maybe we can mess with it bc I'm probably gonna just launch the device out my window at this point I got v4a to work though bud without selinux being set to permissive there's a zip on the main v4a thread go a few pages back i don't know how to post a file on here otherwise I'd just post it if u need me to pm u the file you do need init.d support (just use tx_dbs deodexed rom)
dinaps86 said:
Our device isn't supported I know a little about developing but not much, do you? If dev doesn't mind maybe we can mess with it bc I'm probably gonna just launch the device out my window at this point I got v4a to work though bud without selinux being set to permissive there's a zip on the main v4a thread go a few pages back i don't know how to post a file on here otherwise I'd just post it if u need me to pm u the file you do need init.d support (just use tx_dbs deodexed rom)
Click to expand...
Click to collapse
I didnt get ur point mate. Maybe wrong thread?
Sent from my SM-N915F using XDA Free mobile app
This only for LolliPop and above?
I tried flashing the 915T on my stock deodexed Tmo Edge and it booted but with a black screen. Waited a few and could hear the unlocking sound when I swiped the screen but couldn't see squat. Weird.
Lolipop or kk?

[KERNEL] [SM-G93XF/FD] [3.18.44] [30.10] [4.2] VoLTaqe 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"
}
Features:
- Built from Samsung's latest G935FXXU1BPJ7 Kernel Source
- Linux kernel version update to 3.18.44
- Built with Uber 5.3
- A72 Freq Control
- A72 Overclock to 2808 Mhz
- A72 Underclock to 208 MHz
- A72 Voltage Control
- A53 Freq Control
- A53 Overclock to 1794 MHz
- A53 Underclock to 130 MHz
- A53 Voltage Control
- A53, A57 Governor Profiles
- Dvfs Control
- Gpu Freq Control
- Gpu Voltage Control
- Gpu Overclock Control
- Gpu Governor Control
- MIF Voltage Control
- INT Voltage Control
- ISP Voltage Control
- I/O Scheduler Control
- Samsung SPCM Control
- Uksm Control
- Dynamic FSYNC
- Dynamic Dirty Page-Writeback
- Swap Control
- Zram Control
- Entropy Control
- Gentle Fair Sleepers Control
- Wakelock Controls
- Google Play Services systemupdateservice reciever wakelock fix
- Led Control
- Various Screen Controls
- Dns Control
- Gps Region Control for faster GPS
- IPv6 Control
- Selinux set to Permissive
- KNOX disabling script for stock rom users
- Fstrim, database optimize scripts
- Cortexbrain Controls which changing values on sleep mode
- Crontabs for control some settings
- USB Mode Controls
- Logger Controls ( Default : Disabled )
- Frandom Support
- Backup/Restore Settings with Synapse
- Full Synapse Support
- Init.d Support
- Governors: ondemand_x, electrodemand, smartmax_eps, yankactive, intellimm, pegasusq, barry_allen, preservative, intelliactive, conservativex, alucard, darkness, nightmare, smartassV2, ondemandplus, dancedance, bluactive, conservative, ondemand, userspace, interactive_pro, electroactive, hyper, wheatley, wave, bioshock, lionheart, interactive, performance.
-About governors you can read this : http://ajgupta.github.io/android/2015/01/28/CPU-and-GPU-governors/
- I/O Schedulers: noop, deadline, row, cfq, bfq, fiops, sio, sioplus, fifo, zen, tripndroid, vr.
Many more...
How to Correct Installation:
Make sure you have on latest bootloader.
1 - Place kernel zip to externalsd
2 - Reboot into recovery and flash the zip
3 - Reboot to system
4 - (Optional) Wipe dalvik, cache.
5 - (Optional) Open synapse and tweak with your desire.
6 - Done.
Download: VoLTaqe-Kernel-v4.2.zip
Dont worry. No need to look your phone version. Just download and flash it. Kernel script recognise what phone you have.
Support me with your thanks or Paypal Donations
You can control all kernel features with Synapse app. Download from Google Play Store.
Bugs: Report if you find.
Thanks to:
AndreiLux (Synapse, some commits and many years support),
jesec (Fingerprint fix),
faux123,
lyapota,
arter97,
devriesL,
halaszk88.
If i forget you, please tell me and i will add.
Another BIG Thanks to my Donators : @ch4qr1 , @ChAoSWK , @funiewski
Contributors
VoLTaqe
Source Code: KERNEL SOURCE
Contributors
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.18.x
Version Information
Status: Stable
Changelog 4.2
- Fixed lags
Changelog 4.1
- Samsung source updated to G935FXXU1BPJ7
- Kernel base updated to 3.18.44
- Wifi hotspot fixed for everyone
- Improved deep sleep behaviours and cpu settings
- Reverted back to s7 camera firmware version
- Touchboost reduced to half
Changelog 4.0
- Fixed vulkan api support
- Fixed wifi tethering ( i used all day with good connection )
- Screen off controls deleted
- Interactive governor profiles added again
- Better deep sleep settings
Changelog 3.9
- Added option to control screen off max a72 freq
- Added option to control screen off max a53 freq
- Added a few wakelock controls
- Revert back to original samsung interactive governor settings
- Attempt to increase battery life
- Disabled a few debug option for decrease kernel load
- Deleted interactive governor profiles. Because they dont give real performance or battery. We need work on it.
- Uksm enabled by default
Changelog 3.8
- Disabled ssp wakelocks
- Added wakelock tabs back (will improve later)
- Attempt to increase boot speed
Changelog 3.7
- Disabled 2 cores like stock kernel
- Added option to force 8 cores online ( dvfs tab )
- Added my busybox 1.26.0
- Fixed interactive governor sticking only one freq
Changelog 3.6
- Fixed A53 synapse script for correctly show
Changelog 3.5
- Forced 8 cores online when screen on
- Fixed volte for n7 rom users
- Fixed battery drain because of radio
- Improved sched policy behaviours
- Fixed chmod errors on a72 max, min freqs
- Added dvfs control ( thanks to devriesL )
- All base updated to n7 source
- Linux base updated to 3.18.41
Changelog 3.4
- Added gpu libs from latest n7 rom ( no need flash anyother thing other than kernel itself )
- Fixed big cores not sticking after deep sleep problem ( it can be show chmod error on synapse ignore it. Only close synapse and open again )
- Fixed not booting problems
- Fixed slow booting
- Fixed Volte and Voip kernel side for both s7 and n7 roms
- Fixed vibration on booting ( if vibrate on boot after flash 3.4, need to fresh rom install )
- Tweaked interactive for better battery compability
- Boosted overal performance
- SOURCE LINK EDITED AFTER THREAD REVERT TO DEVDB
- Many more.
Changelog 3.3
- Fixed n7 port roms camera modes
- Fixed wrong showing asv_level
- Added new gpu driver vendor for fix infinity reboots
Changelog 1.4 to 3.2
- Linux base updated to 3.18.40
- Merged samsung's G935FXXU1BPH6 kernel tree
- Merged only needed note 7 sources ( torch, screen resolutions and night mode )
- A few script for working kernel with n7 and s7 roms same time
- Sched policy updated from n7 sources
- Designed cpu cores background and foreground jobs
- Disabled big cores on deep sleep
- Disabled nearly all wakelocks for better sleep
- Disabled interactive governor tunables changes on better sleep
- As possible increased speed up on synapse opening
- Gpu driver updated
- This list can go to all down but you can try and see yourself
Changelog 1.4
- Fixed governor not enabling problem
- Tune up for better performance
Changelog 1.3
- Updated base to G935FXXU1APF2
- Led driver fixed for synapse
- Boot problem fixed for some users with stock clocks
- Drains fixed on 1.2
- Hotplug control deleted (eas coming)
- Improved crontab tasks
Changelog 1.2
- Deleted asv check for big cores
- Userspace A57 overclock
- Fixed memory leak which causing high ram usage
- Fixed synapse not sticking problem
- Added exynos hotplug on/off control
Changelog 1.1
- Underclocked A57 to 208MHz
- Underclocked A53 to 130MHz
- Removed red line which contain enforce check on boot
- Fixed row scheduler causing freeze on synapse
- Activated all cpu cores
Changelog 1.0 ( Initial Version )
- Built from Samsung's latest G935FXXU1APE9 Kernel Source
- Linux kernel version update to 3.18.35
- Built with Uber 5.3
- Disabled android logger as a default setting
- Cpu Voltaqe Control
- Cpu Big/Little Underclock
- Cpu Big/Little Overclock
- Gpu Voltage Control
- Gpu min/max Value Control
- Screen Control
- Led Control
- Touchkey Control
- Input-Booster Control
- Frandom Support
- Zram Control
- MIF Voltage Control
- INT Voltage Control
- ISP Voltage Control
- PowerSuspend Driver Control
- Ability to monitor cpu stats
- Synapse Support
- Init.d Support
- Selinux set to Permissive
mine 2
mine 3
look like very nice kernal
is it compatible with Superman rom based on APER ?
Saif96 said:
look like very nice kernal
is it compatible with Superman rom based on APER ?
Click to expand...
Click to collapse
Yes compatible but i dont have edge device try and report back.
Device booting after flash ?
Any error on Synapse with red text or not ?
Thanks
Very nice, new kernels always a great welcome ?
VoLTaqe said:
Yes compatible but i dont have edge device try and report back.
Device booting after flash ?
Any error on Synapse with red text or not ?
Thanks
Click to expand...
Click to collapse
Working here on the edge. No error on synapse as well.
Great job!
Interesting for a new kernel, already tried undervolting my S7E by 25mV for everything and using battery mode for most of the stuff, very stable indeed. ASV average value of 9 over here.
Since S7E's default performance was already pretty good, so I didn't adjust the clock speed but played around with the governors and such. Still smooth performance throughout with no stutters.
I've attached my profile over here, just for those who want to try out.
Code:
[B][U]BatteryMaxV1[/U][/B] 13-6-2016
- Everything undervolt by 25mV (not sure will it reflect in the Synapse settings but please do a backup of your stock before applying.)
- Interactive with Battery Profile
- I/O 2048kb, ROW scheduler
- Enabled Gentle Fair Sleepers
- Lowered all wakelocks to 1, especially on Wlan_rx & Wlan_ctrl
- Disabled SensorHub and SSP wakelock (If you use S Health and Google Fit, turn SensorHub back on)
- Input-Booster to Battery Profile
- TCP Multi-Path Enabled, TCP Congestion to cubic, Google DNS
Other stuffs such as CPU Clock speed and stuff are basically untouched as I feel there isn't a need to really adjust it to make the phone suffer from performance issue while giving it a slight battery boost.
Code:
[B][U]BatteryMaxV2[/U][/B] (Testing phase, please report back if any errors occurs) 14-6-2016
[B] [Removed due to many complains in regards to governor causing high frequencies or lag][/B]
*TAKE NOTE! If your keyboard is crashing, use the 25mV version that I've attached below.*
- A53 4x @ 1.5GHz (smartmax), A57 4x @1.8GHz (smartmax), Exynos Hotplug Control removed.
- Undervolted everything for CPU and GPU by 50mV, others by 25mV
-UKSM Governor to low, CPU Consumption to 10%
- Disabled Gentle Fair Sleepers
- Disabled Google Play Service Fix (doesn't fix it for me, still causing drain so I turned it off, turn it on if you think there's drain for it)
- Disabled Screen Mirroring Fix (I don't use it, turn it on if you need)
- GPS Region to ASIA (remember to change to your own region)
How to use the profile?
Copy the attached file into your internal storage with a folder called "volt" and redirect to Synapse > saved_configs . Place the attached file inside and restart your Synapse. You should be able to head to your Backup/Restore tab and select it from "Selected Profile".
Feel free to tell me if anything would be better to change for the setup
Will update once kernel gets updated.
Always welcome a new kernel, will try it soon
So far so smooth and stable with minor undervolt settings, but default cpu governor is a bit hot. Great job bro!
Great work..
Will try soon..
Sent from my Samsung Galaxy S7 Edge using XDA Labs
Can I flash via flashfire ?
Sent from my SM-G935F using XDA-Developers mobile app
---------- Post added at 04:15 AM ---------- Previous post was at 04:14 AM ----------
Can I flash via flashfire
Sent from my SM-G935F using XDA-Developers mobile app
Does this kernel has dt2w option Enabled?
coctailxmolotow said:
Can I flash via flashfire ?
Sent from my SM-G935F using XDA-Developers mobile app
---------- Post added at 04:15 AM ---------- Previous post was at 04:14 AM ----------
Can I flash via flashfire
Sent from my SM-G935F using XDA-Developers mobile app
Click to expand...
Click to collapse
Done working now it's time to test it
Sent from my SM-G935F using XDA-Developers mobile app
re: DTW2
betovanbuuren said:
Does this kernel has dt2w option Enabled?
Click to expand...
Click to collapse
No this kernel like all the other S7 Edge kernels do
not have a working double tap to wake feature.
Good luck,
Have a great day!
just a quick check with those who installed: how is battery or SOT? Is it better than stock?
What are the screen tweaks ? Doe it have gamma and contrast control ???
Does it have csc software disabled?
Misterjunky said:
No this kernel like all the other S7 Edge kernels do
not have a working double tap to wake feature.
Good luck,
Have a great day!
Click to expand...
Click to collapse
For now
truemagic said:
just a quick check with those who installed: how is battery or SOT? Is it better than stock?
Click to expand...
Click to collapse
Yes better than stock kernel about performance and battery
hardik190 said:
What are the screen tweaks ? Doe it have gamma and contrast control ???
Click to expand...
Click to collapse
Nope only information and auto brightness changes
Derpling said:
Does it have csc software disabled?
Click to expand...
Click to collapse
This is kernel not manipulate rom files.

[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