[Kernel][osprey] SomeFeaK for Moto G 2015 (3rd gen.) - Moto G 2015 Android Development

This is SomeFeaK kernel, based on Squid2's kernel for device codename "osprey".
This is the first time I build a kernel, also, the first time I post something in DevDB. Hope you like this kernel and please expect many releases.
The kernel should work in stock and custom ROMs, with any variant. Tested and working in XT1601 (LATAM).
Disclamier:
Code:
[COLOR="red"]* Include <std_disclaimer.h>
* 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 ROM
* 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.
*[/COLOR]
Features:
From squid2's r19 build:
Moderately undervolted
Updated to Linux 3.10.104
Synced with latest CodeAurora changes
Improved memory management
Improved memory caching backported from Linux 3.15
Improved storage performance
Optimized ARM crypto routines
Updated f2fs and WiFi drivers
FIOPS and BFQ I/O schedulers
Lionfish CPU governor
IntelliPlug CPU hotplug (by faux123)
KCAL MDP5 colour control (by savoca)
Improved zRAM backported from Linux 4.9
Vibration intensity control
Compiled with Linaro GCC 6.2 and optimized for Cortex A53
Stripped down and optimized configuration
Added by me:
Governors: impulse and elementalX, yankactive, zzmoove, darkness and bioshock.
Double tap to wake (DT2W).
Permanently fixed screen flickering: SELinux works fine in permissive or enforcing mode.
Enabled advanced TCP congestion managers: veno, westwood, vegas, illinois, and more.
Drastically improved CPU thermal control: should react approximately from 40°C and end if lower than 35°C are reached. Otherwise it'll keep trying to cool the device, protecting, mainly, the battery.
Automatic thermal throttling and CPU cooling driver added and enabled.
Enabled CPU current throttling driver.
Use the hidden LED as a notification light.
Enabled forced consistency checks for F2FS (/data).
Multi-Cluster Power Management (less CPU battery drain).
KSM (Kernel Samepage Merging).
Advanced Power Management (emulated).
SMT (Simultaneous Multi-Threading).
Fixed temperature handling.
Dev info:
In order to make use of the new hidden LED's available behavior, it's needed that some Java developer (not me, I don't know a thing about Java) to develop an application. Here I'll give you a sort of "API" that you should use to wake up the required triggers for "if there's a notification or not".
To turn on the LED set trigger to default-on:
Code:
su -c "echo default-on > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/trigger"
To turn off the LED set trigger to none:
Code:
su -c "echo none > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/trigger"
I've also added the required modules for the LED to be able to process a hold on during "x" milliseconds and keep off during "x" milliseconds. To set it do it like as follows.
Switch trigger to timer:
Code:
su -c "echo timer > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/trigger"
Now, set time on during 0,5 seconds (500 milliseconds):
Code:
su -c "echo 500 > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/delay_on"
Now, set time off during 1 second (1000 milliseconds):
Code:
su -c "echo 1000 > /sys/devices/soc.0/leds-atc-e3be1600/leds/charging/delay_off"
For now, you must have a charger connected. It seems to be a hardware issue but I'll try to investigate it anyways.
Click to expand...
Click to collapse
Release history:
Code:
4.25 (stable): June 13, 2017:
Kernel changes:
- ksm: updated code and better management, enabled checking before swapping pages, reduce cpu
- swap: updated code, got better management by adding some compression drivers.
- input/soc: added powersuspend driver, this will help DT2W work better.
- random: added frandom support, decrease CPU load for entropy generation.
- mem: enabled memory changes tracking.
- sched: added tripndroid, vr, zen.
- usb: enabled fast charge by default.
Other changes: no tool required to setup anymore, default setup won't overheat your device nor damage it; due to recently added support for surnia, every new release will be respectively named with a suffix like '-harpia' or '-surnia'; new project logo (for DevDB), thanks to @lecron89 .
4.18 (stable): June 12, 2017
- cpu: rolled back extreme overclock, new max clock: 1593 MHz.
- gpu: rolled back extreme overclock, new max clock: 465 MHz.
- cpufreq: fix build for 'darkness' governor.
- cpufreq: added new CPU governors: yankactive, zzmoove, darkness and bioshock.
4.00 (stable): June 9, 2017
- cpu: undervolted and overclocked, max freq. 1785 MHz (recommended: 1593Mhz).
- gpu: overcloked, max freq. 650 MHz.
- flashing: fixed bug where the touchscreen would become unresponsive after any kernel update.
3.90 (stable): June 8, 2017
- usb: use your device as an USB gadget, including keyboard and mouse.
- general: updated defconfig for harpia at source to match new features.
3.81 (stable): June 7, 2017
- wlan: updated drivers, solved remaining crashes and battery drain.
- prima: updated drivers.
- usb: added support for xpad joysticks (XBOX).
- cpu: fixed hotplugging driver "thunderplug", used to crash the device while allowing the user to pick "octa-core mode" when it's a quad-core device.
- cpu: hotplugging driver "alucard", default minimum of 1 (one) cpu online.
- general: performance improvements for touchscreen, GPU and variables definition.
3.61 (stable): June 4, 2017
- Added S2S (Sweep to Sleep): swipe from the navbar from right to left or from left to right to make the device go to sleep.
3.60 (stable): June 4, 2017
- In the stock ROM, the audio won't skip anymore (tested).
- The wlan driver shouldn't crash again (updated with Heliox sources).
- Re-added missing Adreno Idler driver.
3.52 (stable): June 1, 2017
- Hotfix: DT2W won't freeze the screen anymore.
3.51 (stable): May 31, 2017
- Hotfix: re-added missing hotplug driver (thunderplug).
3.5 (stable): May 31, 2017
- Reverted patches for sdcardfs (they broke the media scanner).
- USB fast charge.
- FauxSound gain control.
3.11 (stable): May 29, 2017
- Patches for sdcardfs.
- Patches for wlan.
- Patches for less power consumption.
- Re-added missing features: KSM (Kernel Samepage Merging) and TCP congestion control algorithms (veno, illinois, westwood and vegas).
3.0 (stable): May 29, 2017
- Added governors: impulse and elementalX.
- DT2W (Double tap to wake).
- Adreno Idler (reduce GPU frequency and resources if inactive).
- Added hotplug drivers: allucard and thunderplug CPU.
2.1 (stable): Februrary 8, 2017
- Rolled back to default SELinux setup.
- Switched default GPU governor from "msm-adreno-tz" to "simple_ondemand" for better battery and performance balancing.
- Fixed screen flickering bug by disabling debugging in graphics card. (SELinux socket overflow).
- Fixed noisy output if using audio MODs by disabling aggressive debugging for sound card. (SELinux socket overflow).
2.0 (stable): February 5, 2017
- Permanently fixed the screen flickering: you won't see any flickers while running SELinux in permissive or enforcing mode. This is going to work even if you build the kernel from source.
1.3 (stable): January 31, 2017
- Enabled advanced TCP congestion managers: veno, westwood, vegas, illinois, and more.
- Set default TCP congestion manager to "veno" for lesser lags while heavily loading the networking area.
1.2 (beta): January 29, 2017
- Fixed SELinux: permissive mode works again.
- Decreased SELinux activity (even more).
1.1 (beta): January 29, 2017
- Restored previous setup for audio amplifier DAC: switched input gain from 4 to 5. Reason: the output felt like if it is cropping some frequencies.
- Modified CPU cooling driver to get more sensitivity as when to react and how far the temperatures should reach. (experimental, please report if horribly lags)
1.0 (beta): January 27, 2017
- Automatic thermal throttling and CPU cooling driver added and enabled.
- Enabled CPU current throttling driver.
- Decreased audio amplifier DAC input gain to 4 from 5 (solves distorted output while using audio mods like [B]Dolby Atmos[/B])
0.3 (experimental): January 26, 2017
- Added available triggers for LED to: show cpu usage by core, blink like heartbeat, blink with interval and full on.
- Disabled swap pages caching (frontswap).
0.2 (experimental): January 25, 2017
- Enabled swap pages compression.
- Enabled swap pages caching (frontswap): better RAM management.
- Enabled cleancache for faster swap handling.
- Decreased SELinux activity and removed almost every security check.
- Enabled F2FS forced consistency checks.
- Enabled Multi-cluster power management (even better power management and less temperature).
0.1 (experimental): January 24, 2017
- Initial release.
Downloads:
Click here or go to Downloads tab at the top of the thread.
NEW! Now, if something goes wrong with the XDA download server or you simply want to download from somewhere else, I've been approved as developer at AFH. All downloads will also be posted here.
Code:
[B]Experimental builds: [/B][URL]comingsoon[/URL]
NEW! Ask for features, report bugs, get help with installation, usage and everything else. Join us at Telegram: t.me/somefeak
Bugs:
SELinux avc is not working as expected, coming from squid2 sources.* Fixed
Screen might flicker sometimes in harpia LATAM variant, this is also a SELinux related problem.* Fixed
Advanced Power Management might let the device reach higher temperatures sometimes, it isn't on me and must be fixed in mainstream.
Bugs marked with a "*" will be fixed in the next release.
Testing: (by users and me)
Lineage OS (latest build): No bugs found.
crDroid: working flawlessly, little lags due to UI bugs.
OCT-OS: No bugs found.
AOSPExtended: No bugs found.
Mokee OS: long boot times, no lags so far. UI might feel unresponsive sometimes if too many tasks at same time (wrongly set build.prop?). Screen flickers sometimes
Resurrection Remix (by @jasonmerc): No bugs found.
XDA:DevDB Information
SomeFeaK Kernel for Moto G 2015 (3rd gen.), Kernel for the Moto G 2015
Contributors
facuarmo, chijure, Dark98, squid2, TeamMex
Source Code: https://github.com/FacuM/android_kernel_motorola_msm8916
Kernel Special Features: The kernel features: everything from r19 Squid2's build, KSM (Kernel Samepage Merging), SMT (Simultaneous Multi-Threading), Advanced Power Management (emulated), advanced LED contro, DT2W and impulse and elementalX governors.
Version Information
Status: Stable
Created 2017-06-15
Last Updated 2017-06-14

Good work mate

rahul9999 said:
Good work mate
Click to expand...
Click to collapse
No problem, will post first release from today in some minutes to tomorrow at night.

facuarmo said:
No problem, will post first release from today in some minutes to tomorrow at night.
Click to expand...
Click to collapse
No Problem.. take your time

Wow. From what I read in the OP, this sounds great. Really looking forward for the first build. Hope you continue this.

facuarmo said:
No problem, will post first release from today in some minutes to tomorrow at night.
Click to expand...
Click to collapse
Can u please build this kernel for merlin

farhan ansari said:
Can u please build this kernel for merlin
Click to expand...
Click to collapse
I'll think about it, I've been having problems right now maintaining for harpia and surnia at same time. Now, I'm trying to get it to work on osprey for a harpia user request who liked the harpia version and wanted one for his G3.

Thread closed pending d/l link.
Placeholders not allowed...

Related

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

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

[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][AOSP/CM][7.x] HellSpawn-N4 R05 [2016-12-28]

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

[KERNEL] [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