[KERNEL] [SM-N9005 HLTE] [03 July] SkyHigh TW Kernel [v3.3] - Galaxy Note 3 Original Android Development

[KERNEL] [SM-N9005 HLTE] [03 July] SkyHigh TW Kernel [v3.3]
THIS PROJECT IS NOW ABANDONED DUE TO MY OTHER COMMITMENTS FOR FAMILY, WORK & OTHER DEVICES IN XDA. THERE IS JUST NOT ENOUGH TIME IN THE DAY. SEE YOU ALL AROUND XDA & HAPPY MODDING !!
N9005 HLTE TW supported only. (No S5 ROM port. Newer ROMs based on NFx firmware may not be compatible )
I don't have time to build and debug for other variant devices I can't test or a ROM I don't use - sorry.
Let get it straight, I am not a real Developer, but I am UpInTheAir, former part time kernel “hack” of SGT 7.7 JB & ICS Kernels. I now share with you my first SELinux TW N9005 LTE Kernel compiled from official Samsung sources.
* I don't pretend to know everything, so if you can be constructive and help out this project, please do so. You will find allot of answers by searching gitHub, XDA and SEARCH Just like I do …......
>> SCREENSHOTS << v2.8 (21-June) ONLY A GUIDE - MAY NOT BE ALWAYS UP-TO-DATE
FEATURES
✔ Based on official Samsung source: SM-N9005 KK Opensource Update7
✔ ramdisk source: N9005XXUEND3
✔ Built with Stock ARM Toolchain 4.7
✔ KNOX WARRANTY VOID: 0X1
✔ SELinux PERMISSIVE
✔ adb insecure
✔ init.d script support
✔ busybox v1.22.0-Dream-IRC installed to /sbin
✔ Synapse app support for almost all kernel configurations + more !!
Many descriptions are in the app ! If you require more info, don't be lazy, please SEARCH like I did !
SYNAPSE FEATURES
CPU HARD LIMIT v2.0a
OC to 2880 MHz
Max screen on/off CPU frequency
Min screen on/off CPU frequency
Wake up settings
wake up kick frequency
wake up delay​
Touch boost frequency settings high/low
Userspace DVFS lock
VOLT
Global CPU voltage control (0 > -30 mV)
CPU frequency voltage (adjust individual voltage steps)
GOV
CPU governor
interactive (default)
intelliactive
intellidemand
on-demand
powersave
userspace
conservative
performance​
CPU governor tunables
DRIVERS
Intelli-Hotplug
Profiles: Balanced Performance Conservative Eco-Performance Eco-Conservative
Hysteresis
Screen OFF Max Frequency
Touch boost active​
Dynamic FSYNC
Powersuspend
Hybrid_hook (default)
Userspace_trigger
Autosleep_hook​
CPU_Boost
GPU
GPU governor
msm-adreno-tz (default)
simple_ondemand
performance
Simple GPU Algorithm
Laziness
Ramp up threshold​
GPU max OC freq 587 MHz
Default 462.4 MHz (stock = 450 MHz)
GPU min-initial freq (Default 200 MHz)
GPU idle freq 27 MHz
MEMORY
I/O Schedulers
BFQ v7r4 (default)
CFQ
NOOP
ROW
DEADLINE
FIOPS​
Int & ext storage scheduler
Int & ext storage read-ahead
General I/O
I/O scheduler
Kernel SamePage Merging (KSM)
Pages to Scan
Scan Delay Interval
Deferred Timer​
Dynamic Dirty Page Writeback
Dirty Writeback Active
Dirty Writeback Suspend​
Virtual memory
Adaptive VFS Cache Pressure
BATTERY
Fast Charge v1.2
AC
USB
Wireless (maybe not working?)​
Fuel gauge reset
battery stats
SOUND
Faux Sound v3.2
LED
LED eXtended ConTRoLs v1.2
SCREEN
MDNIe lite control v1.3
TOUCH WAKE
Touch Wake v1.4b (S-PEN working only)
ADVANCED
Low Memory Killer (LMK)
LMK Whitelist
Do-Not-Kill System Processes List
Do-Not-Kill User Processes List​
entropy
sched_mc_power_savings control
performance = 0 (default)
balanced = 1
battery = 2​
Gentle Fair Sleepers
peformance = disabled (default)
battery = enabled​
NETWORK
TCP congestion algorithm
Cubic (default)
Reno
Bic
HTCP
Westwood plus​
TCP security
TCP/IP speed tweak
3G DNS speed & security tweak
Google, OpenDNS, Comodo, Level3, Norton_DNS, Smart_Viper​
GPS Region
Default, Asia, Europe, Oceania, North America, South America, Africa​
SYSCTL
proc.sys.fs
proc.sys.kernel
proc.sys.net
proc.sys.vm
USB
Default
MTP > Media Transfer Protocol
UMS > USB Mass Storage
PTP > Camera
USB Keyboard / Mouse (with USB Keyboard app)
BACKUP & RESTORE
Restore - Delete - Backup
kernel
profile​
REBOOT
Reboot device
Reboot to Recovery
Reboot to Download Mode
LOGS
Android logger_mode toggle (default: off)
logcat
dmesg
last_kmsg
✔ OC BUS (931 > 1000 MHz @ CPU 2.88 GHz)
✔ XZ kernel compression - reduce size during initial builds
✔ Asynchronous Fsync from HTC
✔ Frandom (in-built)
✔ ram console enabled
✔ Reduced logging
✔ Disable GENTLE_FAIR_SLEEPERS - improve UI responsiveness
✔ Mount partitions NOATIME and NODIRATIME by default
✔ exFAT v1.2.8 FS R/W support
✔ F2FS support
✔ NTFS R/W support with app
✔ CIFS support
✔ Slimbus OC mkII (better sound)
✔ 2-way stereo call recording (not tested)
✔ /proc/.config.gz support
✔ glibc memcopy
CREDITS
* My family !!
* civato - many commits and intitial port of synapse config
* Wootever -
* Faux123 - loads
* Yank555.lu - heaps
* myfluxi -
* imoseyon -
* angelom -
* CM -
* AndreiLux - synapse
* apbaxel -
* zeppelinrox - TCP/IP network security & speed values
* dorimanx & pelya - USB keyboard / mouse
* 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 3 Kernel, Kernel for the Samsung Galaxy Note 3
Contributors
UpInTheAir
Kernel Special Features:
Version Information
Status: Abandoned
Current Stable Version: v3.3
Stable Release Date: 2014-07-03
Created 2014-05-20
Last Updated 2014-08-16

Requirements - installation - download
** DISCLAIMER : FLASH AT YOUR OWN RISK **
WARNING :
* 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 !
REQUIREMENTS
N9005 HLTE device
TW Kit Kat 4.4.2
Rooted
Custom recovery installed
CHANGE-LOG
v3.3 [03-July-2014]
ramdisk :
synapse - remove sweep2sleep control
ramdisk: init.rc: ensure post boot defaults are set
kernel :
config: disable sweep2sleep. Causing slow bootup
v3.1 [27-June-2014]
ramdisk :
synapse - KSM Deferred Timer
synapse - CPU OC max 2880 MHz
kernel :
OC bus to 1000 MHz
OC CPU 2.88 GHz step @ 1000 MHz bus
hard limit max freq now 2.88 GHz
ksm: Provide support to use deferred timers for scanner thread
drivers: slimbus: slimbus enhancements mkII (better sound)
v3.0 [25-June-2014]
ramdisk :
sbin: busybox v1.22.0-Dream-IRC (for fix titanium app freeze issue)
synapse - Sweep2Sleep control only (Sweep2Wake not working)
synapse - add stats & clean up
ramdisk: init.rc: stop noop scheduler being set as default scheduler
kernel :
Sweep2Wake: v1.5 & support for powersuspend
v2.9 [24-June-2014]
ramdisk :
sbin: busybox v1.22.1-Stericson + applets
file_contexts: add busybox to file_contexts to allow via SELinux
synapse - USB keyboard control
synapse - tidy up storage
kernel :
various intelli-thermal commits (not yet compiled with kernel as unable to get freq temp control working as it should))
various msm-thermal commits - freq control not actually working, so not implemented synapse control
drivers: usb: Use Android device as USB keyboard/mouse
USB KEYBOARD/MOUSE: Added on/off trigger to driver.
USB KEYBOARD/MOUSE: fix compile error
config: disable FSFS stat
Allow WIFI Driver to use PowerSuspend code, and remove debug
WIFI: much better solution for POWERSUSPEND
cpufreq: ondemand: fix a bug that when a user selected a max frequency
v2.8 [21-June-2014]
ramdisk :
synapse - backup & restore kernel / profiles
synapse - adaptive vfs_cache_pressure
synapse - dynamic dirty page writeback control
synapse - UKSM > KSM. UKSM causing long boot time (+10 sec)
synapse - apply/discard bug. remove another dynamic variable
kernel :
mm: Dynamic management of dirty page writebacks
fs/dcache.c: adaptive vfs_cache_pressure on suspend / resume
config: UKSM > KSM. UKSM causing long boot time (+10 sec)
v2.7 [20-June-2014]
ramdisk :
synapse - LMK do not kill processes control
init.rc/synapse - gentle fair sleepers control & default disabled for performance
kernel :
Revert "kernel/sched: disable GENTLE_FAIR_SLEEPERS - improve UI responsiveness
sched: add sysfs interface for GENTLE_FAIR_SLEEPERS
lowmemorykiller: make default lowmemorykiller debug message useful
staging: android: lowmemorykiller: Management of not killable processes
v2.6 [16-June-2014]
Payload :
Synapse v0.36 > v0.37 [Andrei F - please rate his app ☆☆☆☆☆ in Google Play !]
ramdisk :
init.rd / synapse - KSM > UKSM control & default off
synapse - GPS Time Zone for faster GPS lock
synapse - fuel gauge reset (unsure if actually works)
kernel :
Ultra Kernel Samepage Merging (UKSM) v0.1.2.2
v2.5 [17-June-2014]
ramdisk :
synapse - storage mode control > Default, MTP, UMS (USB Mass Storage) & PTP (camera) modes
kernel :
usb: gadget: mass_storage: added sysfs entry for cdrom to LUNs
v2.4 [16-June-2014]
Payload :
Synapse v0.35 > v0.36 [Andrei F - please rate his app ☆☆☆☆☆ in Google Play !]
ramdisk :
synapse - TCP security options now just one switch!.
TCP/IP speed & 3G DNS tweaks
synapse - add Simple GPU alorithm laziness tunable
synapse - clean up layout (much neater) and add more descriptions etc
kernel :
Asynchronous Fsync: initial extraction of Async Fsync from HTC
2-way stereo call recording patch for msm8974 (not tested on my stock ROM)
v2.3 [14-June-2014]
ramdisk :
synapse - sched_mc_power_savings control (advanced tab) & cleanup
synapse - remove thermal control
kernel :
Revert "MSM thermal sysfs interface (Post #218)
slimbus: initial overclocking of slimbus (better sound)
v2.2 [11-June-2014]
ramdisk :
synapse - touchwake control
synapse - fix apply/discard bug. remove some tunables for now
kernel :
block: deadline: Optimize for non-rotational
AIO: Don't plug the I/O queue in do_io_submit()
add FIOPS I/O scheduler
TouchWake implementation v1.4b (S-PEN working only) [Yank555.lu]
intellidemand governor v5.0 [faux123]
v2.1 [09-June-2014]
kernel :
cpufreq: CPU max. hardlimit v2.0a (wake-up kick freq fixed)
v2.0 [09-June-2014]
ramdisk :
synapse - fast charge wireless control
init.rc/synapse - set some more boot defaults
userspace_dvfs_lock = 1
randomize_va_space = 0​
kernel :
Forced Fast Charge for Samsung Note 3 v1.2 (wireless fast charge).
v1.9 [09-June-2014]
ramdisk :
synapse - CPU max. hardlimit v2.0 control (removed previous controls)
synapse - intelli_plug controls v2.2 > v2.6
synapse - cleanup
kernel :
cpufreq: CPU max. hardlimit v2.0 [Yank555.lu]
intelli_plug: v2.2 > v2.6
fs: mount partitions NOATIME and NODIRATIME by default (may break some apps)
mdnie lite control: small cleanup
v1.8 [06-June-2014]
ramdisk :
synapse - LED eXtended ConTRoLs v1.1 > v1.2
synapse - Simple GPU algorithm driver control
kernel :
LED eXtended ConTRoLs v1.2
v1.7 [05-June-2014]
ramdisk :
init.rc: set some boot defaults
kernel :
FS: import F2FS
f2fs: data: AIO optimization compatibility fixup
config: disable more debugging
fs: exfat: Update to v1.2.8
exfat: AIO Optimization compatibility fixup
config: set interactive CPU governor back as default
add & enable BFQ scheduler v7r4
config: enable BFQ IO scheduler & set as default
GPU: snapdragon 801 values (Max freq 600 >587 MHz - Default: 450 > 462.4 MHz)
Simple GPU Algorithm: Initial coding for devfreq based Adreno Drivers
v1.6 [03-June-2014]
ramdisk :
synapse - remove sysctrl vm.drop_caches for now. Does not reset
kernel :
deadline: Allow 0ms deadline latency, increase the read speed
msm: Fix high load average from uninterruptible waits
cpufreq: ondemand: Set MIN_LATENCY_MULTIPLIER to 20
Clean up compiler warnings in DT
lib/memcopy: use glibc version
lib/string: use glibc version
cpufreq: intelliactive: initial coding and introduction! - patched to latest [faux123]
config: set intelliactive CPU governor as default
v1.5 [01-June-2014]
ramdisk :
synapse - add powersupend options
synapse - lower refresh rate for live values
synapse - add logger_mode toggle
init.rd: logger default OFF
kernel :
kernel/sched: disable GENTLE_FAIR_SLEEPERS - improve UI responsiveness
logger: modify for synapse app compatibility (0 - 1)
GPU: increase Max frequency OC 550 > 600 MHz (default: 450 MHz)
v1.4 [30-May-2014]
ramdisk :
synapse - add descriptions, clean up & corrections etc
synapse - add TCP security
synapse - add sysctl FS tunables
synapse - add sysctl kernel tunables
synapse - add sysctl net tunables
synapse - add sysctl VM tunables
synapse - add I/O tunables [apbaxel]
synapse - add further CPU governor tunables
v1.3 [26-May-2014]
ramdisk :
synapse - add advanced tab: tuneable low memory killer (LMK), entropy & tweaks etc
synapse - moved battery info to fast charge
synapse - reboot options: reboot, recovery, download mode
synapse - logs: logcat, dmesg, last_kmsg
kernel :
add frandom [Eli Billauer]
v1.2 [25-May-2014]
ramdisk :
add KSM tuning variables to synapse
remove max limit on boot, now set in config
kernel :
enable kernel level CPU throttling
reduce logspam [imoseyon]
PowerSuspend driver v1.2 > v1.5
deadline scheduler tweak
calculate load based on current freq limit
make scheduler aware of cpu frequency state
do not detect faults when GPU core is idle
v1.1 [22-May-2014]
ramdisk :
voltage control for individual CPU frequencies in synapse
VFS_cache_pressure control in synapse
CPU governor tuning in synapse
remove custom governor tweak values for now - possibly causing some synapse instabilty on boot
move synapse CPU governor from CPU > CPU GOV tab
v1.0 Initial release
INSTALLATION
Uninstall any CPU control apps, tweaks and scripts etc.
- synapse app will be installed on flash and other apps may conflict !
Uninstall your current busybox with https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
Flash .zip package in custom recovery
Re-boot
Any issues, please check Post #3 and search the thread BEFORE posting
DOWNLOAD
Mod Edit: Links Removed
SOURCE
>> github <<
.

HELP & FAQ
HELP & FAQ
"SYNAPSE BOOT CANCELLED"
Wait for the kernel to stabilize and device to cool
Open synapse app
Synapse app menu > select all globally > undo > apply ✔
Re-boot
If still issues > try again after #1
Still issues > Manually set config after boot (open synapse app > syanapse app menu > settings > disable apply on boot)
ISSUES
Uninstall any CPU control apps, tweaks and scripts etc.
Uninstall your current busybox with https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
Reboot recovery
Flash kernel
Boot and allow things to stabilize
Open Synapse & tap :
"understood" message about unstable boot
"select all globally"
"undo" button
"apply" ✔
Reboot and ensure "synapse boot completed" toast message
You should be good to go
BOOT-LOOP
Power off & let device cool
Wipe cache & dalvik-cache in recovery
Re-flash kernel
Re-boot
Let things stabilize and cool before touching anything
S5 ROM PORT / NFx BASED ROMs
Not supported
I will only build using the latest official N9005 HLTE (international) source fully compatible with firmware I'm currently using on my own device
"WHAT ARE THE BEST SETTINGS FOR BATTERY LIFE"
There are no best settings. User "habit" is #1 cause of battery drain, followed by screen, ROM & apps, modem etc
This kernel is built to be balanced with a good mix of battery whilst keeping performance
Some extra tips to increase battery life without UV:
Synapse:
- Max screen OFF scaling freqency = 652 MHz
- Touch boost high freq = 1574 MHz
- Touch boost low freq = 960 MHz
- Intelli-Hotplug = enable
- Intelli-Hotplug Profile = Eco-Conservative > Eco-Performance > Conservative > Balanced > Performance
- Intelli-Hotplug Touch Boost = Disabled (may cause slight lag if disabled)
- sched_mc_power_savings = 2:Aggressive
- Gentle fair sleepers = enabled
Decrease screen brightness
Use dark wallpapers and app themes
Check your wakelocks with better battery stats app & use Greenify app to stop unwanted apps self starting and running in the background
INTELLI_PLUG PROFILES
Max cores in use:
Eco-Conservative = 2
Eco-Performance = 2
Conservative = 4
Balanced = 4
Performance = 4​
CAN I USE OTHER KERNEL CONTROL APPS
No, many features and options won't be available.
This is due to the implementation of the CPU HARD LIMIT Userspace DVFS lock.
Synapse is the recommended and has everything you need
WHAT IS THE USERSPACE DVFS LOCK
If set to 1 or 2, userspace_dvfs_lock will prevent userspace (ROM as well as any APP, including CPU controlling apps) to change CPU min/max, that is normal and intended !.
* 0 = allow changes to scaling min/max.
* 1 = ignore (don't apply, but don't return an error).
* 2 = refuse (don't apply, return EINVAL).
Post # 192
RANDOM REBOOT
Don't UV
If using custom CPU governor > set Userspace DVFS lock to 0
Use SkyHigh defaults
DOWNLOAD LINK NOT WORKING
I want to keep this project all in one place (Thanks to XDA) - ☆☆ NO MIRRORS ☆☆
Please try again in a few minutes
POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE
Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE
TCP/IP NETWORK SECURITY
Hardening the TCP/IP stack to SYN attack
Bump up tw_buckets in case we get DoS'd
Ignore pings
Don't cache connection metrics from previous connection
Don't pass traffic between networks or act as a router
Enable spoofing protection (turn on reverse packet filtering)
Don't accept source routing
Don't accept redirects
- Further reading:
http://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening
http://www.symantec.com/connect/articles/hardening-tcpip-stack-syn-attacks
AnTuTu CRASHES WITH CPU OC
If OC CPU > set Userspace DVFS lock to 0
Don't OC too much
Don't UV
Try increase voltage to higher frequencies
DO NOT KILL PROCESSES
This feature allows the user to define processes and system processes white-lists filled with the preferred process names and to not be killed by lowmemorykiller, unless it is absolutely necessary.
When a the lowmemorykiller needs to free ram, it will first kill the processes not included inside the two process name lists chosen by the user.
If there are no more standard killable processes, then it will be necessary to kill one of the processes included inside one of the two white-lists, to prevent system hangs, slowdowns, etc.
You can find the [Synapse] folder on your internal sdcard and add one process name per line. Lists updated on reboot.
Max 25 processes
Example only:
Code:
com.ea.games_r3_row
com.quoord.tapatalkxda.pre.activity
BACKUP & RESTORE
If the backup isn't visible, reboot device and ensure for have "synapse boot completed" message. Otherwise synapse won't read the file.
Reboot after applying your new settings
Read "ISSUES" & "SYNAPSE BOOT CANCELLED" above
SEGMENTATION FAULT
I don't believe it's kernel related, but rather busybox
Try uninstall your ROM busybox with this app. https://play.google.com/store/apps/details?id=stericson.busybox and reboot.
Re-flash kernel
Use the busybox that comes with the kernel located in /sbin
Also try to update your SuperSu and su binary if it asks and reboot.
USB KEYBOARD / MOUSE
Base project: https://github.com/pelya/android-keyboard-gadget
Required app: USB KEYBOARD
For best results, enable & use Hacker's Keyboard
Steps:
Ensure device USB debugging
Connect device to system via USB cable
Enable in Synapse > USB > USB Keyboard / Mouse >> Enable & apply
Start USB KEYBOARD app
..

Great. Another kernel is coming to note 3

Good! I attended the link of download!
Thanks so much! !
Inviato dal mio SM-N9005 utilizzando Tapatalk

Great
Sent from my SM-G900T using XDA Premium 4 mobile app

v1.0 is released. Please read Posts #1-3 before flashing.
I'll post initial changelog somewhere in due course, but time to get working on v1.1
Reminds me, I'll post a disclaimer...........
Edit: I'll upload a flashable stock boot.img

finally after your awesome kernel back then in 7.7...congrat and tq for this kernel

arinsms said:
finally after your awesome kernel back then in 7.7...congrat and tq for this kernel
Click to expand...
Click to collapse
Your welcome. :good:
Big thanks to the real devs here and hard-working forum members that also contribute to the various features and commits etc !
More to come of this simple kernel yet But don't expect it to be full works. I can only do my best with my limited knowledge and the time I can afford. I just see it as a challenge and share accordingly. Also big thanks to @civato with many of his initial commits and base synapse config.
Cheers,
UITA

Screenshots
Added some screenshots :good:
Doesn't cover all options, but users should get the idea
Next release, user will be able to set CPU voltage for individual frequency (as in screenshot). I've kept the Global CPU voltage control in case user prefer that.
Baby steps...........

GPU oc doesnt work properly
Sent from my SM-N9005 using XDA Premium 4 mobile app

alexander1995 said:
GPU oc doesnt work properly
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
If you're going to post in development section with a percieved "bug", please in future give full details allowing to replicate.
Reflashed v1.0 & tested with Antutu GPU test. GPU OC - works fine. It scales to 550 MHz if load requires. If you want to lock the frequency, set the min to the same as max.
Edit: I use cool tool app to observe "live" frequencies during testing etc
Edit 2: I believe (could be wrong. Need time to study code) that the GPU may have thermal limiting, reducing frequency under high temp, just like the CPU. This would also be normal.
Sent from my SM-N9005 using XDA Premium 4 mobile app

v1.1 released
v1.1 is now released
Change-log in Post #2.
Seems to be a lot more stable for synapse boot (under SkyHigh default conditions).
Enjoy :good:
Cheers,
UITA

Update to v1.2 sometime today or tonight. I'm really busy, so no time for release. .....
Sent from my SM-N9005 using XDA Premium 4 mobile app

v1.2 released
v1.2 is now released
Change-log in Post #2.
Enjoy :good:
Cheers,
UITA
edit: just updated the download link for anyone who might have DL v1.1 instead ........
.

u have another mirror ??
currently its not working
503 Service Temporarily Unavailable

xinfinityoO said:
u have another mirror ??
currently its not working
503 Service Temporarily Unavailable
Click to expand...
Click to collapse
I just checked and all is good.
I like to keep this project in one place. Great idea by XDA.
Please try again, sometimes the XDA is a little "finicky" to UL, so maybe same for DL too. Refresh your page and try again :good:
I have to go away for a few days, I have plenty of ideas and additions for next release. Until return......
Cheers,
UITA

v1.3 released
v1.3 is now released
Change-log in Post #2.
Enjoy :good:
Cheers,
UITA
.

Hey buddy. Gr8 Job mate..
I have V1.3 on my device since dis mornin, and I can say it's gr8....!!!! Thx
I just need some info about the settings in wifi & Advanced section in Synapse. It would be so cool If u could explain more about diz parts.... :good:

msa_6292 said:
Hey buddy. Gr8 Job mate..
I have V1.3 on my device since dis mornin, and I can say it's gr8....!!!! Thx
I just need some info about the settings in wifi & Advanced section in Synapse. It would be so cool If u could explain more about diz parts.... :good:
Click to expand...
Click to collapse
Thanks. The kernel is still a "work in progress", and trying to keep it stable but with a number of mods and exposed configurable options.
I'm still not sure if I'll add any custom governors or schedulers, easy to do but the stability of stock is great. Maybe intellidemand though?
I'm away for a few days, so I will try and add some info into post 3 and synapse as I progress with further builds when I return home.
Wifi - use cubic or Westwood plus. Edit: Maybe I'll look at adding option to use Google dns server, tcp speed tweaks etc from V6SuperCharger.
Personally, I haven't yet had to tweak the LMK minfree values on Note 3 (unlike my Galaxy Tab 7.7 with 1GB RAM and multi-window mod). It's just got so much RAM and great multi-tasker. I haven't got around to playing with entropy values either. A lot of tunable values are just exposed so if user "wants" or "needs" to tweak, it's there anyway.
There is a lot of info on the Internet that can explain things better than I ever will or pretend to understand. In that case 99/100 times I leave the values at stock.
My personal value for randomize VA space =0. Supposedly helps with GUI smoothness. ..... Somethings are hard to tell or placebo.
I've got lots of things on the "to do list", Enjoy v1.3 and beyond
Sent from my SM-N9005 using XDA Premium 4 mobile app

Related

[KERNEL][ALL MDPI][JB 4.1 & 4.2] LuPuS-jBv8 [LINARO 4.7.3][06-06-13]

LuPuS-JB-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"
}
Built with Linaro
This kernel can be used on any JB CM BASED JB 4.1 or 4.2
Disclaimer
Code:
[COLOR="DarkOrchid"]#include[/COLOR] [COLOR="Magenta"]<std_disclaimer.h>[/COLOR]
[COLOR="Blue"]/*
* Your warranty is now void.. LOL I guess you knew it already.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, you getting dumped or you getting fired because your phone
* bootloops and alarm does not go off. Please do some research if you have any
* concerns about features included in my kernel before using it! YOU and only
* YOU are choosing to make these modifications.
*/[/COLOR]
[COLOR="Magenta"]#ifdef[/COLOR]
You have a [COLOR="DarkGreen"]question[/COLOR] post it in the [COLOR="DarkRed"]thread[/COLOR],
Instead of [COLOR="DarkGreen"]Pm'ing me[/COLOR], as other users may
experience you [COLOR="DarkRed"]problems[/COLOR]
[COLOR="Magenta"]#endif[/COLOR]
What Works --
Wifi - (flash modules)
Data
Everything Else that works on FXP
What doesn't work --
Anything that doesn't work on FXP
Whats Included in kernel ------------
Added Governors --
brazillianwax
smartass
Smartassv2
Savagedzen
Smoothass
Scary
InteractiveX
Minmax
Userspace
Intellidemand - Thanks to faux123
This is an intelligent ondemand that enters browsing mode to limit max frequency when GPU is idling,
and (exits browsing mode) behaves like ondemand when GPU is busy; to deliver performance for gaming and such.
Intellidemand does not jump to highest frequency when screen is off.
Lazy - Thanks to Ezekeel
The Idea here is to eliminate any instabilities caused by fast frequency switching by ondemand.
Lazy governor polls more often than ondemand, but changes frequency only after completing min_time_state
on a step overriding sampling interval.
Lazy also has a screenoff_maxfreq parameter which when enabled will cause the governor to always
select the maximum frequency while the screen is off.
Lulzactive - Thanks to Tegrak
Based on Interactive and Smartass. When workload is greater than or equal to 60%, the governor scales up
CPU to next higher step. When workload is less than 60%, governor scales down CPU to next lower step.
When screen is off, frequency is locked to global scaling minimum frequency
- Superbad
- a "superbad" super smooth rendition of a highly optimized "smartass" governor!
- Darkside
- a "slightly more agressive smart" optimized governor!
-Ondemandx:
Basically an ondemand with suspend/wake profiles. This governor is supposed to be a battery friendly ondemand. When screen is off, max frequency is capped at 500 mhz. Even though ondemand is the default governor in many kernel and is considered safe/stable, the support for ondemand/ondemandX depends on CPU capability to do fast frequency switching which are very low latency frequency transitions. I have read somewhere that the performance of ondemand/ondemandx were significantly varying for different i/o schedulers. This is not true for most of the other governors. I personally feel ondemand/ondemandx goes best with SIO I/O scheduler.
-Lionheart:
Is a conservative-based governor. The tunables (such as the thresholds and sampling rate) were changed so the governor behaves more like the performance one, at the cost of battery as the scaling is very aggressive.
To 'experience' Lionheart using conservative, try these tweaks:
sampling_rate:10000 or 20000 or 50000, whichever you feel is safer. (transition latency of the CPU is something below 10ms/10,000uS hence using 10,000 might not be safe).
up_threshold:60
down_threshold:30
freq_step:5
Lionheart goes well with deadline i/o scheduler. When it comes to smoothness (not considering battery drain), a tuned conservative delivers more as compared to a tuned ondemand.
BadAss Governor:
Badass removes all of this "fast peaking" to the max frequency. Badass will also take the gpu load into consideration. If the gpu is moderately busy it will bypass the above check and clock the cpu with 1024Mhz. If the gpu is crushed under load, badass will lift the restrictions to the cpu.
-Virtuous
Virtuous is a modded smartassV2 which gives even more battery time then smartassV2
Added Io-scheduler --
VR io-scheduler - Unlike other schedulers, synchronous and asynchronous requests are not treated separately,
instead a deadline is imposed for fairness. The next request to be served is based on it's distance from last request.
- SIO - Simple IO-Scheduler-
SIO is the default scheduler in this kernel. It is widely-regarded as the best all-round performing IO scheduler for android. It is low on CPU usage and optimized for flash-based storage. From the creator - "Based on Noop, Deadline and V(R) IO schedulers. This algorithm does not do any kind of sorting, as it is aimed for aleatory access devices, but it does some basic merging. We try to keep minimum overhead to achieve low latencies. Asynchronous and synchronous requests are not treated separately, but we rely on deadlines to ensure fairness."
- BFQ - Budget Fair Queueing IO-Scheduler-
From Creators
* Copyright (C) 2008 Fabio Checconi
* Paolo Valente
*
* Licensed under the GPL-2 as detailed in the accompanying COPYING.BFQ file.
*
* BFQ is a proportional share disk scheduling algorithm based on the
* slice-by-slice service scheme of CFQ. But BFQ assigns budgets,
* measured in number of sectors, to tasks instead of time slices.
* The disk is not granted to the active task for a given time slice,
* but until it has exahusted its assigned budget. This change from
* the time to the service domain allows BFQ to distribute the disk
* bandwidth among tasks as desired, without any distortion due to
* ZBR, workload fluctuations or other factors. BFQ uses an ad hoc
* internal scheduler, called B-WF2Q+, to schedule tasks according to
* their budgets. Thanks to this accurate scheduler, BFQ can afford
* to assign high budgets to disk-bound non-seeky tasks (to boost the
* throughput), and yet guarantee low latencies to interactive and
* soft real-time applications.
Click to expand...
Click to collapse
I would like to say a big thanks to -
FXP / Cyanogenmod - Sources
tempest918 - For the New Logo
DooMLoRD - for patches and all the work he has done for Xpeeria's
xeozus
NobodyAtAll
Faux123
Erasmus
Leedroid
Jerpelea
Phil3759
CTCaer
Anyone missing please PM me
Kernel sources -b jellybean
https://github.com/garwedgess/semc-kernel-msm7x30
CWM source -- https://github.com/garwedgess/android_bootable_recovery -b lupus-cwm
Changelog
Code:
[hide]
[LIST]
[*]- All above Governors
- All above Io-Schedulers
- Cleancache
- KSM
- CIFS
- USB-OTG
- NTFS
- ext 2/3/4
- VDD ( Custom voltage control )
- Tiny RCU
- SLQB Memory Allocator
- Increased VM max readahead
- Wifi problem fixed
- Fixed Battery drain ( Tester lost 0.2% overnigh with wifi on ) :victory:
- CWM fixed thanks @ Scritch007
- Built with Linaro 4.7
- Optimized for Linaro
- Thumbee
- OC upto 1.6
- Lzo updated & patched
- Use Google Snappy Compression / Decompression
- Added TINY RCU
- Uses uncompressed Image {why .img size is bigger)
- Custom improvements for overall smoother performance
*** Probably a whole lot more i'm missing ***
[B][U]v2[/U][/B]
- built with latest linaro 4.7.3 (02-01-2013) - Thanks @ ChainFirex
- Added memcopy
- Added compaction
- Lowered vfs_cache_pressure
- LMK (lowmemorykiller) optimizations
- Improved CIFS support
- Enabled USB tether
- Disabled gentle_fair_sleepers
- Updated video drivers
- Clean up on wifi config
- Back-ported binder changes
- Dual recovery thanks @ singh_dd93
- TWRP recovery - thanks @ championswimmer & TWRP team
- reverted back to compressed zImage
[B][U]v3[/U][/B]
- Built with Linaro 4.7.3 (02-01-2013)
- Free'd RAM (disabled 720p) now 381mb - Thanks at Paul678
- Makefile optimisations (snapdragon & neon) - Thanks at Paul678
- Tweaked permormance on interactive governor - Thanks at Paul678
- Tweaked SIO io sched - Thanks at Paul678
- USB Tether support
- Free'd some RAM from loggers
- Buggy ALS Disabled at kernel level
- Reduce swappiness
- Fix PageHead
- Fix binder. use of uninitialized variable.
- Fix kernel/net Memory Leaks
- Eliminate kstrdup memory leak
- ipv4: force_igmp_version ignored when a IGMPv3 query received
- Fix Entropy Depleting (no more depleting) - Thanks @ Kees Cook
- enable ipsec tunnel support in kernel (Latest FXP Change)
- ARM7 optimsations + more in config
- TWRP v2.4 - Thanks @ Championswimmer, TWRP Team and Wechy 77 for parts of his LuPuS theme
[B]v4[/B]
- Supports both 4.1 & 4.2 JB
- New IIO Scheduler ZEN thanks @[URL="http://forum.xda-developers.com/member.php?u=2632235"]bbedward[/URL]
- New Governor smartassH3 thanks @[URL="http://forum.xda-developers.com/member.php?u=3057569"]Hero[/URL]
- Tweaked Deadline IO scheduler
- Tweaked smartassv2
- Frandom
- SFB Net scheduler
- OC up to 1804.8MHz
- Logger backported from CAF
- Free RAM from logger
- LMK updated and optimized + various LMK tweaks
- Various ARM & RAM changes
- TinyRCU optimizations
- Optimized crc32 lib
- various VM changes
- Improved cleancache
- Undervolt LCD display, touch sensor proximity sensor & Wi-Fi thanks @ M66B
- Entropy tweaks
- Try fix for CRT animation @[URL="http://forum.xda-developers.com/member.php?u=4266283"]paul678[/URL]
- TWRP & CWM
- LuPuS Menu
- Auto Loading wifi
- Performance governor tweak
- All modules and init.d's included No need to flash anything after kernel
Plus alot more changes see [URL="https://github.com/garwedgess/semc-kernel-msm7x30/commits/jellybean"] for full list of credits and patches used[/URL]
[/LIST]
[B]v5[/B]
- Latest changes to ALS and Button Backlight -- Thanks @ FXP
- Lowered OC to 1612.8Mhz
- Remove ALS and Button Backlight option from LuPuS Menu (no longer needed)
- Random reboots should be fixed ( for those who where having such issues )
[B]v6[/B]
- Fixed 3D from hanging under high intensity
- Fix pmem for HDPI Mike NG (no more reboots??)
- CWM Recovery = VOLUME DOWN
- TWRP Recovery = VOLUME UP
- Clean up on LuPuS Menu
- Better wifi check
- KEY RESET ( Menu and POWER)
- Tuned Smartassv3 and SmartassH3 @[URL="http://forum.xda-developers.com/member.php?u=2799345"]M66B[/URL]
[B]v7[/B]
- Compatable with MIUI5
---- Custom CWM
- Clean-up of menu
- Added own wipe options menu -- with extra options
- Aroma File Manager from CWM --- Must have aroma ([COLOR=Red]aromafm.zip) placed on root of sdcard[/COLOR])
- Multi zip installer
- Reboot options - Power off re-added under this menu
- Pointless but people keep asking me for it so re-added wipe battery stats also.
- LuPuS themed...
[/hide]
[B]v8[/B]
- Added option to enable Quick Key Reset (enable / disable via LuPuS Menu)
- Tuned Governors
* superbad
* lionheart
* virtuous
* darkside
* conservative
* smartassH3
- Really use google snappy zRam (improves zRam)
- Added zCache
- Removed persistent RAM
- Removed some more kernel debugging
- uninterruptible sleep
- Update SIO & CFQ
- Added Ultra-KSM
- Removed optimized AES & SHA1 routines
- Updated TWRP to 2.4.4
*Fixed Mount USB Storage in TWRP
- Updated CWM to latest Official CWM source
*Removed reboot options
*Re-added power off and reboot system now to main menu
- Improved wifi-loading scripts
- Clean up of lupus menu
- Fixed root issue on some devices
- Reworked kernel logs (can be found in /data/local/tmp)
- Boot.d - If phone is taking a long time to start move suspicious init.d scripts to /system/etc/boot.d
They will be run in background and won't affect boot time.
LuPuS MENU
You can run lupus menu from terminal or scriptmanager or similar, you must run as root or script will exit with a message
in terminal
Code:
su
lupus
* information is in lupus menu
1/ CIFS Menu *
Enable
Disable
2/ zRam Menu *
Enable
Disable
Set zRam size ( default is 60)
3/ Frandom Menu *
Enable
Disable
4/ USB OTG *
Enable
Disable
5/ ALS & Button Backlight *
Enable
Disable
- BOTH
5/ Clean and Remove tweaks
Remove init.d's
6/ Tweak Menu
Note all tweaks are preset from here and option to set as init.d's
Clean all temp files
SQLITE optimizations
LMK Optimizations
Network optimizations
Defend against ARP spoofing
Remove android logger
SDcard speed tweak
Flag blocks as non-rotational
7/ Performance Menu
Note all options are se by user input from here and option to set as init.d's
Set CPU frequencies
Set Governor
Set IO-Scheduler
Voltage Control
VM tweaks (explained below)
VM Tweaks
dirty ratio and dirty background ratio 1 & 2
This controls how often the kernel writes data to "disk" (in our case the internal microSD system card, not the removable microSD card). When your apps write data to disk, Linux actually doesn't write the data out to the disk right away, it actually writes the stuff to system memory and the kernel handles when and how the data is actually going to be flushed to the disk. These values represent a percentage, the higher the percentage, the longer it waits to flush, the lower the percentage, the more often flushes will occur. Now remember, we are dealing with solid state storage, not the traditional disk platter and spindle. So we are actually able to delay flushes a little longer with solid state versus a traditional hard drive disk.
dirty_expire_centisecs
How old "dirty" data should be before the kernel considers it old enough to be written to disk. It is expressed in 100ths of a second.
dirty_writeback_centisecs
This is the interval of when the writeback daemons periodically wake up and write "old" data out to disk. It is expressed in 100ths of a second.
min free kbytes
This is used to force the Linux VM to keep a minimum number of kilobytes free. The VM uses this number to compute a pages_min value for each lowmem zone in the system. Each lowmem zone gets a number of reserved free pages based proportionally on its size. Default is 2048kb.
overcommit_memory
This controls overcommit of system memory, possibly allowing processes to allocate (but not use) more memory than is actually available.
0 - Heuristic overcommit handling. Obvious overcommits of address space are refused. Used for a typical system. It ensures a seriously wild allocation fails while allowing overcommit to reduce swap usage. root is allowed to allocate slighly more memory in this mode. This is the default.
1 - Always overcommit. Appropriate for some scientific applications.
2 - Don't overcommit. The total address space commit for the system is not permitted to exceed swap plus a configurable percentage (default is 50) of physical RAM. Depending on the percentage you use, in most situations this means a process will not be killed while attempting to use already-allocated memory but will receive errors on memory allocation as appropriate.
Swappiness
A property for the Linux kernel that changes the balance between swapping out runtime memory, as opposed to dropping pages from the system page cache. Swappiness can be set to values between 0 and 100 inclusive. A low value means the kernel will try to avoid swapping as much as possible where a higher value instead will make the kernel aggressively try to use swap space.
VFS Cache Pressure
File system cache (dentry/inode) is really more important than the block cache above in dirty ratio and dirty background ratio, so we really want the kernel to use up much more of the RAM for file system cache, this will increas the performance of the system without sacrificing performance at the application level. The default value is 100, as a percentage, and what you want to do is lower the value to tell the kernel to favor the file system cache and not drop them aggressively.
Downloads
If you like my work please consider buying me a beer or something else
by clicking the DONATE ME button, of course it isn't needed but greatly appreciated and keeps me motivated.
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
LuPuS-jB Kernel Downloads
480p
LuPuS_coconut_jBv8-ram.img
md5 = 9d3e68a798a5c1cd27fc878fcfbf3bb9
LuPuS_mango_jBv8-ram.img
md5 = 393cddbadc066bf8a001f9ccbbd1d4e0
LuPuS_satsuma_jBv8-ram.img
md5 = 26af5b64810ef5206ba475eddcf74f13
LuPuS_smultron_jBv8-ram.img
md5 = e569c6a20e82f627290907abf605664d
720p
LuPuS_coconut_jBv8-full.img
md5 = 9d384782278e4f87bee1d4f4a02d5dce
LuPuS_mango_jBv8-full.img
md5 = d76c866a8014c286a923f736fabf2d32
LuPuS_satsuma_jBv8-full.img
md5 = 2275a655cf0f0f4a0da145ff3682e3c3
LuPuS_smultron_jBv8-full.img
md5 = cd7429c95ea930379d94f89cbd58fef9
Wifi is built in to kernels ramdisk NO MODULES NEEDED
LuPuS Kernel folder
http://goo.im/devs/wedgess
DO NOT MIRROR MY DOWNLOADS
- zRam is not enabled by default unless on CM10 ROM, for AOKP to enable it flash the wedgess-zram-enabler.zip in CWM
- If for whatever reason you want to disable Zram after you have flashed the .zip, just go to ect/init.d and delete 00zram
People will ask so i'll just post it here---------to check if zRam is enabled go to terminal emulator or similar and type
Code:
free
or alternatively
Code:
cat /proc/swaps
Also added CIFS support....
What is CIFS???
Server Message Block (SMB) or Common Internet File System (CIFS) are normally used to provide shared access to files on a network, mostly involving computers running MS Windows.
It allows you to conveniently mount/unmount your network accessible file resources and access the files transparently via your favourite Android app (playing music / videos, accessing documents etc.) Settings are stored on your SD card with permissions to write also to your SD card.
Now download CifsManager or similar app and configure it
Please Click Thanks :good:
Phone wont even show the boot logo after flashing this kernel.
Phone wont even boot up.
Hold the power button,phone vibrates (normal) and after 5 seconds,i hold the power button and it vibrates again .
Whyyyyyyy? :crying:
shadik555 said:
Phone wont even show the boot logo after flashing this kernel.
Phone wont even boot up.
Hold the power button,phone vibrates (normal) and after 5 seconds,i hold the power button and it vibrates again .
Whyyyyyyy? :crying:
Click to expand...
Click to collapse
Probably because it's only been tested on mango as I couldnt fnd tseters for all devices, so if it doesnt work post ur device and ill re upload
EDIT - Oh wait you are using mango, does your md5 match the one in post #2
can I enable z ram on cm10 by going to setting/performance/ z ram on this kernel?
How is the kernel act on gaming(3d performance)?
Sent from my Xperia Mini using Tapatalk 2
I am using this kernel on PA and its too good. I would say a lot better than PA Kernel
Loving your work wedgess. THANKS ALOT
Sent from my Xperia Mini Pro using xda app-developers app
wedgess said:
Probably because it's only been tested on mango as I couldnt fnd tseters for all devices, so if it doesnt work post ur device and ill re upload
EDIT - Oh wait you are using mango, does your md5 match the one in post #2
Click to expand...
Click to collapse
Xperia mini st15i
scorpion 13 said:
can I enable z ram on cm10 by going to setting/performance/ z ram on this kernel?
How is the kernel act on gaming(3d performance)?
Sent from my Xperia Mini using Tapatalk 2
Click to expand...
Click to collapse
Ye most ROMs it should be grand with but some you may need to flash the .zip, just a back up type thingy
singh_dd93 said:
I am using this kernel on PA and its too good. I would say a lot better than PA Kernel
Loving your work wedgess. THANKS ALOT
Sent from my Xperia Mini Pro using xda app-developers app
Click to expand...
Click to collapse
Thanks glad you like and thanks for testing it out :good:
shadik555 said:
Xperia mini st15i
Click to expand...
Click to collapse
singh_dd93 tested MANGO and said all is fine, did u check the md5 it could of been a bad download
^^^^^^^^^^^^^^^^^^ Post of shame only know them by code name...............ooopppps
==========================================================================
AND PEOPLE PLEASE POST IF YOUR DEVICE BOOTED SO I CAN
________________________REMOVE UN-TESTED FROM OP____________________________​​
All kernels now booting​
wedgess said:
Ye most ROMs it should be grand with but some you may need to flash the .zip, just a back up type thingy
Thanks glad you like and thanks for testing it out :good:
singh_dd93 tested MANGO and said all is fine, did u check the md5 it could of been a bad download
Click to expand...
Click to collapse
@wedgess
Mango is SK17i
Xperia Mini ST15i is smultron
Sent from my Xperia Mini Pro using xda app-developers app
My device is smultron,not mango
thank you so much wedgess!!!!:thumbup:
Sent from my ST15i using xda premium
Phone doesn't boot, with M66B cm10 xtended rom for smultron.
mauam said:
Phone doesn't boot, with M66B cm10 xtended rom for smultron.
Click to expand...
Click to collapse
He is working on them atm. Fixed uploads will be available soon
Sent from my Xperia Mini Pro using xda app-developers app
All Kernels fixed, booting and links updated in OP
Thanks to the testers :highfive:
it's just awesome
tnx a lot wedgess
Ok, am trying it, the performance is 5% smaller than that of M66B kernel, battery life need to test further, will see tomorrow and post results. Thanks a lot to wedges and welcome to the forum .
One request i would have though: Could you add the 24 MHz frequency its wonderful for battery life, and in combination with smartassV2 it doesn't compromise performance at all.
Long rebooting (stuck) from Power Menus, I need to press Camera Key to continue
Normally reboot if I execute it from Terminal
^^^ that is a known bug.
The performance (on gaming)is lower than Fxp kernel (only a bit)
But battery saving is very good.
Sent from my Xperia mini on Jellybean
scorpion 13 said:
The performance (on gaming)is lower than Fxp kernel (only a bit)
But battery saving is very good.
Sent from my Xperia mini on Jellybean
Click to expand...
Click to collapse
Please Note this version is to see how many people will be using it ect. Next release has more improvements. What governors ect u use. Even though I dont go by antutu score mines above fxps, using intellidemand2
Sent from my GT-I9300 On Official JB

[KERNEL][RAY] LuPuSv8 [LINARO 4.7.3][STOCK-ICS][LINAR0][UPDATED 19-06-13]

LuPuS Kernel Stock
{
"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"
}
Disclaimer
Code:
[COLOR="DarkOrchid"]#include[/COLOR] [COLOR="Magenta"]std.h[/COLOR]
[COLOR="Blue"]/*
* Your warranty is now void.. LOL I guess you knew it already.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, you getting dumped or you getting fired because your phone*
* bootloops and alarm does not go off. Please do some research if you have any *
* concerns about features included in my kernel before using it! YOU and only*
* YOU are choosing to make these modifications.
*/
[COLOR="Magenta"]#ifdef[/COLOR]
You have a [COLOR="DarkGreen"]question[/COLOR] post it in the [COLOR="DarkRed"]thread[/COLOR],
Instead of [COLOR="DarkGreen"]Pm'ing me[/COLOR], as other users may
experience your [COLOR="DarkRed"]problems[/COLOR]
[COLOR="Magenta"]#endif[/COLOR][/COLOR]
Included in kernel
[/LIST]
Added Io-schedulers --
- Noop
- Anticipatory
- Deadline
- CFQ
- BFQ
- SIO
- ZEN
Added Governors --
- lagfree
- brazillianwax
- smoothass
- scary
- savagedzen
- smartass
- smartassv2
- smartassH3
- interactivex
- minmax
- powersave
- performance
- conservative
- ondemand
- interactive
- userspace
+
Lulzactive - Thanks to Tegrak
Based on Interactive and Smartass. When workload is greater than or equal to 60%, the governor scales up
CPU to next higher step. When workload is less than 60%, governor scales down CPU to next lower step.
When screen is off, frequency is locked to global scaling minimum frequency
Virtuous
Virtuous is a modded smartassV2 which gives even more battery time then smartassV2
Intellidemand - Thanks to faux123
This is an intelligent ondemand that enters browsing mode to limit max frequency when GPU is idling,
and (exits browsing mode) behaves like ondemand when GPU is busy; to deliver performance for gaming and such.
Intellidemand does not jump to highest frequency when screen is off.
Lazy - Thanks to Ezekeel
The Idea here is to eliminate any instabilities caused by fast frequency switching by ondemand.
Lazy governor polls more often than ondemand, but changes frequency only after completing min_time_state
on a step overriding sampling interval.
Lazy also has a screenoff_maxfreq parameter which when enabled will cause the governor to always
select the maximum frequency while the screen is off.
-Ondemandx:
Basically an ondemand with suspend/wake profiles. This governor is supposed to be a battery friendly ondemand. When screen is off, max frequency is capped at 500 mhz. Even though ondemand is the default governor in many kernel and is considered safe/stable, the support for ondemand/ondemandX depends on CPU capability to do fast frequency switching which are very low latency frequency transitions. I have read somewhere that the performance of ondemand/ondemandx were significantly varying for different i/o schedulers. This is not true for most of the other governors. I personally feel ondemand/ondemandx goes best with SIO I/O scheduler.
-Lionheart:
Is a conservative-based governor. The tunables (such as the thresholds and sampling rate) were changed so the governor behaves more like the performance one, at the cost of battery as the scaling is very aggressive.
To 'experience' Lionheart using conservative, try these tweaks:
sampling_rate:10000 or 20000 or 50000, whichever you feel is safer. (transition latency of the CPU is something below 10ms/10,000uS hence using 10,000 might not be safe).
up_threshold:60
down_threshold:30
freq_step:5
Lionheart goes well with deadline i/o scheduler. When it comes to smoothness (not considering battery drain), a tuned conservative delivers more as compared to a tuned ondemand.
BadAss Governor:
Badass removes all of this "fast peaking" to the max frequency. Badass will also take the gpu load into consideration. If the gpu is moderately busy it will bypass the above check and clock the cpu with 1024Mhz. If the gpu is crushed under load, badass will lift the restrictions to the cpu.
Superbad -
A "superbad" super smooth rendition of a highly optimized "smartass" governor!
Darkside -
A "slightly more agressive smart" optimized governor!
What else-----
-SLQB - (SLAB allocator with Queue)-(both)
This memory allocator is designed for small number of CPUs system (such as desktop or smart phone devices). This allocator is design to be simple and it is optimized for using order-0 pages as much as possible (order-0 pages are the simplest therefore quickest type of memory in a Linux system to allocate).
- Added Cleancache
- Supports ext 2,3
- Updated zRam
- Lzo compression/decompression speed has doubled on average.
- Init.d support
- Fudgeswap
- And much more
- O/C and stable upto 2ghz, although I do not recommend O/C to 2ghz for long periods of time, do so at your own risk.
LuPuS MENU
To Run LuPuS Menu use either ScriptManager get it HERE on google playstore
Or
Use Terminal Emulator get it HERE on google playstore.
Code:
su
lupus
* information is in lupus menu
1/ CIFS Menu *
Enable
Disable
2/ zRam Menu *
Enable
Disable
Set zRam size ( default is 60)
3/ Frandom Menu *
Enable
Disable
4/ USB OTG *
Enable
Disable
5/ Clean and Remove tweaks
Remove init.d's
6/ Tweak Menu
Note all tweaks are preset from here and option to set as init.d's
Clean all temp files
SQLITE optimizations
LMK Optimizations
Network optimizations
Defend against ARP spoofing
Remove android logger
SDcard speed tweak
Flag blocks as non-rotational
7/ Performance Menu
Note all options are se by user input from here and option to set as init.d's
Set CPU frequencies
Set Governor
Set IO-Scheduler
Voltage Control
VM tweaks (explained below)
VM Tweaks
dirty ratio and dirty background ratio 1 & 2
This controls how often the kernel writes data to "disk" (in our case the internal microSD system card, not the removable microSD card). When your apps write data to disk, Linux actually doesn't write the data out to the disk right away, it actually writes the stuff to system memory and the kernel handles when and how the data is actually going to be flushed to the disk. These values represent a percentage, the higher the percentage, the longer it waits to flush, the lower the percentage, the more often flushes will occur. Now remember, we are dealing with solid state storage, not the traditional disk platter and spindle. So we are actually able to delay flushes a little longer with solid state versus a traditional hard drive disk.
dirty_expire_centisecs
How old "dirty" data should be before the kernel considers it old enough to be written to disk. It is expressed in 100ths of a second.
dirty_writeback_centisecs
This is the interval of when the writeback daemons periodically wake up and write "old" data out to disk. It is expressed in 100ths of a second.
min free kbytes
This is used to force the Linux VM to keep a minimum number of kilobytes free. The VM uses this number to compute a pages_min value for each lowmem zone in the system. Each lowmem zone gets a number of reserved free pages based proportionally on its size. Default is 2048kb.
overcommit_memory
This controls overcommit of system memory, possibly allowing processes to allocate (but not use) more memory than is actually available.
0 - Heuristic overcommit handling. Obvious overcommits of address space are refused. Used for a typical system. It ensures a seriously wild allocation fails while allowing overcommit to reduce swap usage. root is allowed to allocate slighly more memory in this mode. This is the default.
1 - Always overcommit. Appropriate for some scientific applications.
2 - Don't overcommit. The total address space commit for the system is not permitted to exceed swap plus a configurable percentage (default is 50) of physical RAM. Depending on the percentage you use, in most situations this means a process will not be killed while attempting to use already-allocated memory but will receive errors on memory allocation as appropriate.
Swappiness
A property for the Linux kernel that changes the balance between swapping out runtime memory, as opposed to dropping pages from the system page cache. Swappiness can be set to values between 0 and 100 inclusive. A low value means the kernel will try to avoid swapping as much as possible where a higher value instead will make the kernel aggressively try to use swap space.
VFS Cache Pressure
File system cache (dentry/inode) is really more important than the block cache above in dirty ratio and dirty background ratio, so we really want the kernel to use up much more of the RAM for file system cache, this will increas the performance of the system without sacrificing performance at the application level. The default value is 100, as a percentage, and what you want to do is lower the value to tell the kernel to favor the file system cache and not drop them aggressively.
8/ Enable / Disable Quick Key Reset
- Reboot device quickly by Holding HOME and POWER Key (Disabled by default)
- Enable
- Disable
9/ Vendor Options
- Fix for Anzu and Hallon Vendor problem
- Mount
- Unmount
- Backup
- Restore
Credits
gu5t3r
DooMLoRD
xeozus
NobodyAtAll
Faux123
Erasmus
Leedroid
FXP Team
Jerpelea
Phil3759
CTCaer
Anyone missing please PM me
Show your support for the kernel and my work by putting this in your signature, its only a quick one I done up with my limited time
Code:
http://i.imgur.com/xtWNL.png
Downloads in post 2
Kernel source --- -branch master
https://github.com/garwedgess/LuPuS-STOCK-ICS-Xperia2011
CWM source -- https://github.com/garwedgess/android_bootable_recovery -b lupus-cwm
Changelog:
Code:
[B]Previous Releases[/B]
[hide]
[B][U]Initial Release[/U][/B]
[list] -built with linaro
- ext 2/3/4
- Tweaks to wifi
- Init.d tweaks
- Linaro Optimizations
- Improved Battery Life alot :)
- Thumbee support
- All governors from OP
- All Io-Schedulers from OP
- ARM7 optimizations
- Brought OC back down to 1.6 max (no need for it above 1.6 unless u want to kill your device)
- Tiny RCU
- Upddatedd patched and fixed LZO
- lowered vfs cache pressure
- Increased Wifi- Range and added support for channel 14
- 0 % Battery patch - Thanks @ Bazoocaze
- Better memory copy
- Better memory move
- LMK Optimizations (LowMemoryKiller)
- VDD support (voltage conrol)
- Cleancache
- Compaction added
- KSM
- CIFS (improved support)
- NTFS
- USB OTG
- Updated to newest SIO Io-Scheduler
- Google Snappy Compress & Decompress
- Added Vibrate To Recovery (Notification to enter CWM)
[B][U]v2[/U][/B]
- Built with Linaro 4.7.3 (02-01-13)
- Reworked Ramdisk, uses new method
- Auto Root updated to SuperSU, only roots device if Superuser.apk or SuperSU.apk dont already exist
- New LuPuS menu - check in post #1 on how to use it
- Build in wifi modules ( if wifi modules don't work on first install reboot)
- Built in CIFS & USB OTG (from lupus menu)
- Built in zRam, you can also change zRam size (from LuPuS menu)
- TWRP and latest CWM Recovery {change default in LuPuS Menu)
- Supports Gb and ICS (GB has wifi broken ATM)
- Tweaks menu from LuPuS menu script
- Free'd 11mb RAM
- cgroup scheduling
- binder changes from 2.6.32.60
- binder: Fix use of uninitialized variable.
- net sched: fix some kernel memory leaks
- net/ipv4: Eliminate kstrdup memory leak
- ipv4: force_igmp_version ignored when a IGMPv3 query received
- pids: Fix a race in pid generation that causes pids to be reused immediately
- smart toggle overclock upto 2ghz
- changed RD compression to LZMA
- enable group scheduling
- removed some debugging
- cleaned up config
- USB tether
- enable ipsec tunnel support in kernel
- SQLITE3 DB vacumming
- Further compressed ramdisk
- disabled cuse, enabled md4 + nls_utf8 as modules
*** Probably missing a few here ***
[B]-v3[/B]
- [COLOR="Red"]Updated kernel to 2.6.32.60[/COLOR]
- CWM = volume down
- TWRP = volume up
- Complete clean up and new improved LuPuS Menu
- Free's more RAM 360mb RAM in total now
- Fixed AROMA
- Backport Binder from CAF 3.4.0
- Triple Buffer
- Frandom
- Tweaked deadline
- Tweaked SmartassV2
- New governor SmartassH3
- New IO-Scheduler ZEN
- Patch so entropy no longer depletes
- Zcache
- ARM optimizations
- Genlock backported from CAF
- Replaced old compaction with newer/better version
- Backported logger from CAF and free'd RAM from logger
- Updated improved LMK
- Removed fudgeswap
- Updated crc32 lib from 3.3 kernel
- New net scheduler Stochastic Fair Blue (SFB)
- Optimized Tiny RCU
- CFS tweaks
- Quick keyboard reset (hold HOME + POWER)
- Timed_gpio backported from CAF
- Snapdragon optiizations
- Improved boot time
- Improved wifi to load at first boot
- Removed Autoroot feature
[URL="https://github.com/garwedgess/LuPuS-STOCK-ICS-Xperia2011/commits/2.6.32.x"]** Plus more see here for all patches and credits**
Also Thanks at gu5t3r and [NUT][/URL]
[B]v4[/B]
- Fixed HDMI
- Fixed Video playback/recording
- Reverted back to linux kernel 2.6.32.9
- Removed triple buffer (caused some lag)
- Fixed problem with root @ gu5t3r
- LuPuS Script now runs properly from Terminal Emulator @ gu5t3r
- Free RAM = 355mb and is stable
- Added fool-proof to ramdisk -- if non-supported Android version is found (not ICS or GB) Kernel will boot into CWM
- Reduced size of kernel
[B]v5[/B]
- Fixed CPU Governor and Frequencies not sticking at boot -- thanks [user=4665716]@gu5t3r[/user]
---- Custom CWM
- Clean-up of menu
- Added own wipe options menu -- with extra options
- Aroma File Manager from CWM --- Must have aroma ([COLOR=Red]aromafm.zip) placed on root of sdcard[/COLOR])
- Multi zip installer
- Reboot options - Power off re-added under this menu
- Pointless but people keep asking me for it so re-added wipe battery stats also.
- LuPuS themed..
[B]v6[/B]
- Fixed Camera Key
- Removed persistent RAM
- Remove other errors from dmesg
- Improved wifi loading
- Disabled Key Reset (can be enbled in LuPuS Menu)
---- CWM updated to 6.0.3.2
- Fixed Advanced restore
- Fixed busybox symlinks generation (aka) fixed CWM backup not working
- Fixed install from sideload being mixed up with toggle signature
- Remove confirmation from install from sideload as it can be cancelled at anytime.
- Reworked booting
- Supports m2sd and other ap2sd scripts
- Fixed Reboot To Recovery
- Improved init.d
- lupus menu clean up
[B]v7[/B]
- Added Ultra-KSM
- Tuned Governors
* superbad
* lionheart
* virtuous
* darkside
* conservative
* smartassH3
- Really use google snappy zRam (improves zRam)
- Fix nasty sigreturn bug
- Fix compiler warnings
- Do uninteruptible sleep
- Other various fixes
- Removed GB & CM9 support
- Updated TWRP - Mounting Mass Storage should be fixed
- Updated LuPuS CWM to latest Official CWM changes
* Fixed advanced restore
* Removed Reboot Options
* Brough Reboot System Now back to Main Menu
* Brought Power Off back to Main Menu
* After install of zip dont return to main menu
* Minor UI changes[/hide]
[B]v8[/B]
- Fix some lag in gaming
- Set default swappiness to 20
- Removed fsync
- Removed Cleancache
- Removed zCache
- Removed WasActive page flag
- Removed Zen IO-Scheduler
- Fixed issue with some devices booting into CWM
- Fixed CWM install options order
- Fixed TWRP adb and mounting USB storage
- Fixed PATH for LuPuS Menu
- Added UKSM options to LuPuS-Menu
[/list]
Downloads
If you like my work please consider buying me a beer or something else
by clicking the DONATE ME button, of course it isn't needed but greatly appreciated and keeps me motivated.
===================== L U P U S - S T O C K - D O W N L O A D S ===================
CWM = VOLUME DOWN
TWRP = VOLUME UP
If you need root for STOCK ROM
Code:
[COLOR="Purple"]Root[/COLOR] : ( Flashable via recovery )
* SuperSU : [URL="http://download.chainfire.eu/204/SuperSU/"][COLOR="Green"][U]Download[/U][/COLOR][/URL]
* Superuser : [URL="http://androidsu.com/superuser/"][COLOR="Green"][U]Download[/U][/COLOR][/URL]
LuPuS_urushi_Stock-iCsv8-full.img
md5 = 3565f8ac1b8228042a7c74788e0fca16
Wifi modules are built in
Check your MD5 match the above if not re-download
Mirrors - and all other releases
http://www.goo.im/devs/wedgess
===========================================================================
First, thanks for your work,
but kernel seems not to boot?
(Tried it 2 times, md5 matches.)
Ok re-uploaded see how this one goes
8f86TcLjmt said:
First, thanks for your work,
but kernel seems not to boot?
(Tried it 2 times, md5 matches.)
Click to expand...
Click to collapse
Thanks to 8f86TcLjmt Kernel link fixed and now booting
Kernel now boots and wifi works Thanks @ Mr.Tapa for testing it and letting me knw
@op,can you make kernel like this for gb..
Doomlord kernel have wifi problem in my ray..
Sent from my POWER'ED Ray
ezr said:
@op,can you make kernel like this for gb..
Doomlord kernel have wifi problem in my ray..
Sent from my POWER'ED Ray
Click to expand...
Click to collapse
+1
Thanks that you did it. You can try to enable V-Sync in kernel and see if uers are happy. I did it on sirkays kernel and some games become fc. But it depends on many things. So make a version with Vsync enabled.(VERTICAL Sync. Thats teh main thing that Project butter uses among with egl confings and gpu cpy hardware syncs)
This thing uses what recovery?
Sent from my ST18i using Tapatalk 2
YeoZy96 said:
This thing uses what recovery?
Sent from my ST18i using Tapatalk 2
Click to expand...
Click to collapse
Doomlord recovery. (5.0.2.7)
Which schedulers and Governors should i choose for battery life?:laugh:
Can you atlease make this kernel atlease 1.7Ghz I'll accept the risk
this kernel is great i test with antutu score 4935 with no OC
I wish I could be TWRP as Recovery haha
Sent from my ST18i using Tapatalk 2
why not add VR to IO-schedulers.........
@wedgess
Great kernel
One request, can you please include pre-rooting for ics .587 in your next version ?
what is the best setting of governor and IO-scheduler to get better life battery on this kernel ?
what about voltages? have undervolt in the kernel?

			
				
cifs can not supprort utf8
Sent from my ST18i
Everything's good xcept the Boot Splash image, I miss da old Sony Image
Sent from my ST18i using Tapatalk 2

[NEO-L][KERNEL] LuPuS v2 [STOCK ICS/GB][LINARO 4.7.3][14-06-13]

LuPuS STOCK GB/ICS​
{
"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"
}
Based off SONY ICS latest sources 4.1.B.0.587 / 4.1.B.1.13​
Disclaimer
Code:
[COLOR="DarkOrchid"]#include[/COLOR] [COLOR="Magenta"]std.h[/COLOR]
[COLOR="Blue"]/*
* Your warranty is now void.. LOL I guess you knew it already.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, you getting dumped or you getting fired because your phone*
* bootloops and alarm does not go off. Please do some research if you have any *
* concerns about features included in my kernel before using it! YOU and only*
* YOU are choosing to make these modifications.
*/
[COLOR="Magenta"]#ifdef[/COLOR]
You have a [COLOR="DarkGreen"]question[/COLOR] post it in the [COLOR="DarkRed"]thread[/COLOR],
Instead of [COLOR="DarkGreen"]Pm'ing me[/COLOR], as other users may
experience your [COLOR="DarkRed"]problems[/COLOR]
[COLOR="Magenta"]#endif[/COLOR][/COLOR]
Included in kernel
Added Io-schedulers --
- Noop
- Anticipatory
- Deadline
- CFQ
- BFQ
- SIO
- ZEN
Added Governors --
- lagfree
- brazillianwax
- smoothass
- scary
- savagedzen
- smartass
- smartassv2
- smartassH3
- interactivex
- minmax
- powersave
- performance
- conservative
- ondemand
- interactive
- userspace
+
Lulzactive - Thanks to Tegrak
Based on Interactive and Smartass. When workload is greater than or equal to 60%, the governor scales up
CPU to next higher step. When workload is less than 60%, governor scales down CPU to next lower step.
When screen is off, frequency is locked to global scaling minimum frequency
Virtuous
Virtuous is a modded smartassV2 which gives even more battery time then smartassV2
Intellidemand - Thanks to faux123
This is an intelligent ondemand that enters browsing mode to limit max frequency when GPU is idling,
and (exits browsing mode) behaves like ondemand when GPU is busy; to deliver performance for gaming and such.
Intellidemand does not jump to highest frequency when screen is off.
Lazy - Thanks to Ezekeel
The Idea here is to eliminate any instabilities caused by fast frequency switching by ondemand.
Lazy governor polls more often than ondemand, but changes frequency only after completing min_time_state
on a step overriding sampling interval.
Lazy also has a screenoff_maxfreq parameter which when enabled will cause the governor to always
select the maximum frequency while the screen is off.
-Ondemandx:
Basically an ondemand with suspend/wake profiles. This governor is supposed to be a battery friendly ondemand. When screen is off, max frequency is capped at 500 mhz. Even though ondemand is the default governor in many kernel and is considered safe/stable, the support for ondemand/ondemandX depends on CPU capability to do fast frequency switching which are very low latency frequency transitions. I have read somewhere that the performance of ondemand/ondemandx were significantly varying for different i/o schedulers. This is not true for most of the other governors. I personally feel ondemand/ondemandx goes best with SIO I/O scheduler.
-Lionheart:
Is a conservative-based governor. The tunables (such as the thresholds and sampling rate) were changed so the governor behaves more like the performance one, at the cost of battery as the scaling is very aggressive.
To 'experience' Lionheart using conservative, try these tweaks:
sampling_rate:10000 or 20000 or 50000, whichever you feel is safer. (transition latency of the CPU is something below 10ms/10,000uS hence using 10,000 might not be safe).
up_threshold:60
down_threshold:30
freq_step:5
Lionheart goes well with deadline i/o scheduler. When it comes to smoothness (not considering battery drain), a tuned conservative delivers more as compared to a tuned ondemand.
BadAss Governor:
Badass removes all of this "fast peaking" to the max frequency. Badass will also take the gpu load into consideration. If the gpu is moderately busy it will bypass the above check and clock the cpu with 1024Mhz. If the gpu is crushed under load, badass will lift the restrictions to the cpu.
Superbad -
A "superbad" super smooth rendition of a highly optimized "smartass" governor!
Darkside -
A "slightly more agressive smart" optimized governor!
What else-----
-SLQB - (SLAB allocator with Queue)-(both)
This memory allocator is designed for small number of CPUs system (such as desktop or smart phone devices). This allocator is design to be simple and it is optimized for using order-0 pages as much as possible (order-0 pages are the simplest therefore quickest type of memory in a Linux system to allocate).
- Added Cleancache
- Supports ext 2,3
- Updated zRam
- Lzo compression/decompression speed has doubled on average.
- Init.d support
- Fudgeswap
- And much more see changelog in post #2
LuPuS MENU
To Run LuPuS Menu use either ScriptManager get it HERE on google playstore
Or
Use Terminal Emulator get it HERE on google playstore.
Code:
su
lupus
* information is in lupus menu
1/ CIFS Menu *
Enable
Disable
2/ zRam Menu *
Enable
Disable
Set zRam size ( default is 60)
3/ Frandom Menu *
Enable
Disable
4/ Clean and Remove tweaks
Remove init.d's
5/ Tweak Menu
Note all tweaks are preset from here and option to set as init.d's
Clean all temp files
SQLITE optimizations
LMK Optimizations
Network optimizations
Defend against ARP spoofing
Remove android logger
SDcard speed tweak
Flag blocks as non-rotational
6/ Performance Menu
Note all options are se by user input from here and option to set as init.d's
Set CPU frequencies
Set Governor
Set IO-Scheduler
Voltage Control
VM tweaks (explained below)
VM Tweaks
dirty ratio and dirty background ratio 1 & 2
This controls how often the kernel writes data to "disk" (in our case the internal microSD system card, not the removable microSD card). When your apps write data to disk, Linux actually doesn't write the data out to the disk right away, it actually writes the stuff to system memory and the kernel handles when and how the data is actually going to be flushed to the disk. These values represent a percentage, the higher the percentage, the longer it waits to flush, the lower the percentage, the more often flushes will occur. Now remember, we are dealing with solid state storage, not the traditional disk platter and spindle. So we are actually able to delay flushes a little longer with solid state versus a traditional hard drive disk.
dirty_expire_centisecs
How old "dirty" data should be before the kernel considers it old enough to be written to disk. It is expressed in 100ths of a second.
dirty_writeback_centisecs
This is the interval of when the writeback daemons periodically wake up and write "old" data out to disk. It is expressed in 100ths of a second.
min free kbytes
This is used to force the Linux VM to keep a minimum number of kilobytes free. The VM uses this number to compute a pages_min value for each lowmem zone in the system. Each lowmem zone gets a number of reserved free pages based proportionally on its size. Default is 2048kb.
overcommit_memory
This controls overcommit of system memory, possibly allowing processes to allocate (but not use) more memory than is actually available.
0 - Heuristic overcommit handling. Obvious overcommits of address space are refused. Used for a typical system. It ensures a seriously wild allocation fails while allowing overcommit to reduce swap usage. root is allowed to allocate slighly more memory in this mode. This is the default.
1 - Always overcommit. Appropriate for some scientific applications.
2 - Don't overcommit. The total address space commit for the system is not permitted to exceed swap plus a configurable percentage (default is 50) of physical RAM. Depending on the percentage you use, in most situations this means a process will not be killed while attempting to use already-allocated memory but will receive errors on memory allocation as appropriate.
Swappiness
A property for the Linux kernel that changes the balance between swapping out runtime memory, as opposed to dropping pages from the system page cache. Swappiness can be set to values between 0 and 100 inclusive. A low value means the kernel will try to avoid swapping as much as possible where a higher value instead will make the kernel aggressively try to use swap space.
VFS Cache Pressure
File system cache (dentry/inode) is really more important than the block cache above in dirty ratio and dirty background ratio, so we really want the kernel to use up much more of the RAM for file system cache, this will increas the performance of the system without sacrificing performance at the application level. The default value is 100, as a percentage, and what you want to do is lower the value to tell the kernel to favor the file system cache and not drop them aggressively.
Show your support for the kernel and my work by putting this in your signature, its only a quick one I done up with my limited time
Code:
http://i.imgur.com/xtWNL.png
A big thanks to -
gu5t3r
CosmicDan
DooMLoRD
FXP
CJ360
Nickholtus
SONY
xeozus
NobodyAtAll
Faux123
Erasmus
Leedroid
FXP Team
Jerpelea
Phil3759
Anyone missing please PM me
Downloads in post 2
Kernel source --- -b master
https://github.com/garwedgess/LuPuS-STOCK-ICS-Xperia2011
CWM source -- https://github.com/garwedgess/android_bootable_recovery -b lupus-cwm
Changelog:
Code:
[B]
Previous Releases From Xperia PLAY[/B]
[hide]
[B][U]Initial Release[/U][/B] PLAY
[list] -built with linaro
- ext 2/3/4
- Tweaks to wifi
- Init.d tweaks
- Linaro Optimizations
- Improved Battery Life alot :)
- Thumbee support
- All governors from OP
- All Io-Schedulers from OP
- ARM7 optimizations
- cgroup scheduling
- Brought OC back down to 1.6 max (no need for it above 1.6 unless u want to kill your device)
- Tiny RCU
- Upddatedd patched and fixed LZO
- lowered vfs cache pressure
- Increased Wifi- Range and added support for channel 14
- 0 % Battery patch - Thanks @ Bazoocaze
- Better memory copy
- Better memory move
- LMK Optimizations (LowMemoryKiller)
- VDD support (voltage conrol)
- Cleancache
- Compaction added
- KSM
- CIFS (improved support)
- Updated to newest SIO Io-Scheduler
- Google Snappy Compress & Decompress
- Added Vibrate To Recovery (Notification to enter CWM)
- Built with Linaro 4.7.3 (02-01-13)
- Reworked Ramdisk, uses new method
- Auto Root updated to SuperSU, only roots device if Superuser.apk or SuperSU.apk dont already exist
- New LuPuS menu - check in post #1 on how to use it
- Build in wifi modules ( if wifi modules don't work on first install reboot)
- Built in CIFS & USB OTG (from lupus menu)
- Built in zRam, you can also change zRam size (from LuPuS menu)
- TWRP and latest CWM Recovery {change default in LuPuS Menu)
- Supports Gb and ICS (GB has wifi broken ATM)
- Custom partitions - Thanks @ CosmicDan
- Tweaks menu from LuPuS menu script
- Free'd 11mb RAM
- binder changes from 2.6.32.60
- binder: Fix use of uninitialized variable.
- net sched: fix some kernel memory leaks
- net/ipv4: Eliminate kstrdup memory leak
- ipv4: force_igmp_version ignored when a IGMPv3 query received
- pids: Fix a race in pid generation that causes pids to be reused immediately
- smart toggle overclock upto 2ghz
- changed RD compression to LZMA
- enable group scheduling
- removed some debugging
- cleaned up config
- USB tether
- enable ipsec tunnel support in kernel
- SQLITE3 DB vacumming
- Further compressed ramdisk
- disabled cuse, enabled md4 + nls_utf8 as modules
*** Probably missing a few here ***
[B]-v2[/B] PLAY
- [COLOR="Red"]Updated kernel to 2.6.32.60[/COLOR]
- CWM = volume down
- TWRP = volume up
- Fixed Problem with PLAY store
- Added fool-proof to ramdisk,( if android version is unsupported device will boot CWM)
- Gave 30MB more space to system to avoid certain ROMs not booting
- Complete clean up and new improved LuPuS Menu
- Fixed AROMA
- Backport Binder from CAF 3.4.0
- Triple Buffer
- Frandom
- Tweaked deadline
- Tweaked performance governor
- Tweaked SmartassV2
- New governor SmartassH3
- New IO-Scheduler ZEN
- Patch so entropy no longer depletes
- Zcache
- Minor update to touchpads
- ARM optimizations
- Genlock backported from CAF
- Replaced old compaction with newer/better version
- Backported logger from CAF and free'd RAM from logger
- Updated improved LMK
- Removed fudgeswap
- Updated crc32 lib from 3.3 kernel
- New net scheduler Stochastic Fair Blue (SFB)
- Optimized Tiny RCU
- CFS tweaks
- Quick keyboard reset (hold HOME + POWER)
- Timed_gpio backported from CAF
- Snapdragon optiizations
- Improved boot time
- Improved wifi to load at first boot
- Removed Autoroot feature
[URL="https://github.com/garwedgess/LuPuS-STOCK-ICS-Xperia2011/commits/2.6.32.x"]** Plus more see here for all patches and credits**
Also Thanks at gu5t3r and [NUT][/URL]
[B]v3[/B] PLAY
- Fixed Video playback/recording
- Reverted back to linux kernel 2.6.32.9
- Removed triple buffer (caused some lag)
- Fixed problem with root @ gu5t3r
- LuPuS Script now runs properly from Terminal Emulator @ gu5t3r
- Added fool-proof to ramdisk -- if non-supported Android version is found (not ICS or GB) Kernel will boot into CWM
- Reduced size of kernel
- CWM fixed
[/list]
[B]v4[/B] PLAY
- Fixed CPU Governor and Frequencies not sticking at boot -- thanks [user=4665716]@gu5t3r[/user]
---- Custom CWM
- Clean-up of menu
- Added own wipe options menu -- with extra options
- Aroma File Manager from CWM --- Must have aroma ([COLOR=Red]aromafm.zip) placed on root of sdcard[/COLOR])
- Multi zip installer
- Reboot options - Power off re-added under this menu
- Pointless but people keep asking me for it so re-added wipe battery stats also.
- LuPuS themed..
[B]v1[/B]
- Fixed Camera Key
- Removed persistent RAM
- Remove other errors from dmesg
- Improved wifi loading
- Disabled Key Reset (can be enbled in LuPuS Menu)
---- CWM updated to 6.0.3.2
- Fixed Advanced restore
- Fixed busybox symlinks generation (aka) fixed CWM backup not working
- Fixed install from sideload being mixed up with toggle signature
- Remove confirmation from install from sideload as it can be cancelled at anytime.
---- Complete Ramdisk Clean up & Improvment
- Reworked booting
- Supports m2sd and other ap2sd scripts
- Force booting -After 2 Vibrations Hold Home for ICS
-Hold Home and press VolDown for CM9
-Hold Home and press VolUp for GB
- Fixed Reboot To Recovery (It reboots to last one used IF you don't have scripts that wipe /cache on boot)
- Reworked Kernel logs, they are located at /cache/recovery/ and /data/local/tmp/
- Improved init.d
- lupus menu clean up
- Added Vendor fix from Hallon & Anzu
- option to mount / unmount
- Backup / Restore /system/vendor
- Boot.d - If phone is taking a long time to start move suspicious init.d scripts to /system/etc/boot.d
They will be run in background and won't affect boot time.
[B]v2[/B]
- Fixed device being stuck in Landscape
- Added Ultra-KSM
- Tuned Governors
* superbad
* lionheart
* virtuous
* darkside
* conservative
* smartassH3
- Really use google snappy zRam (improves zRam)
- Fix nasty sigreturn bug
- Fix compiler warnings
- Do uninteruptible sleep
- Other various fixes
- Added support for CM9
- Other various ramdisk improvments
- Updated TWRP
* Mounting Mass Storage in recovery fixed
- Updated LuPuS CWM to latest Official CWM changes
* Fixed advanced restore
* Removed Reboot Options
* Brough Reboot System Now back to Main Menu
* Brought Power Off back to Main Menu
* After install of zip dont return to main menu
* Minor UI changes[/hide]
[B]v3[/B]
- Fix some lag in gaming
- Set default swappiness to 20
- Removed fsync
- Removed Cleancache
- Removed zCache
- Removed WasActive page flag
- Removed Zen IO-Scheduler
- Fixed issue with some devices booting into CWM
- Fixed CWM install options order
- Fixed TWRP adb and mounting USB storage
- Fixed PATH for LuPuS Menu
- Added UKSM options to LuPuS-Menu
Downloads
If you like my work please consider buying me a beer or something else
by clicking the DONATE ME button, of course it isn't needed but greatly appreciated and keeps me motivated.
===================== L U P U S - S T O C K - D O W N L O A D S ===================
CWM = VOLUME DOWN
TWRP = VOLUME UP
If you need root for STOCK ROM
Code:
[COLOR="Purple"]Root[/COLOR] : ( Flashable via recovery )
* SuperSU : [URL="http://download.chainfire.eu/204/SuperSU/"][COLOR="Green"][U]Download[/U][/COLOR][/URL]
* Superuser : [URL="http://androidsu.com/superuser/"][COLOR="Green"][U]Download[/U][/COLOR][/URL]
480p
LuPuS_phoenix_Stock-gB+iCsv3-ram.img
md5 = 9caa6dd4f29785b90aa4d4923eabcf5f
720p
LuPuS_phoenix_Stock-gB+iCsv3-full.img
md5 = df50d9280ecc650bfa808039aac57030
Check your MD5 match the above if not re-download
===========================================================================
Tested! Play GB Rom booting fine, but it stuck on landscape
GSM Working, Wifi working fine! Camera working (720p working)
Sound is fine
So. everything is perfect, just now it is fixed to landscape mode
@wedgess
May u put this code in defconfig to fix landscape and display problem
Below codes taken from CosmicDan , He succeed in this way too ,
Hurrah , wait for next build
Code:
# CosmicDan - kernel console display
#CONFIG_CMDLINE="console=tty0,115200 fbcon=rotate:1 fbcon=font:VGA8x16 androidboot.hardware=semc mtdparts=msm_nand:[email protected](system),[email protected](userdata),[email protected](cache),[email protected](boot)"
#CONFIG_CMDLINE_FORCE=y
#CONFIG_VT=y
#CONFIG_DUMMY_CONSOLE=y
#CONFIG_FRAMEBUFFER_CONSOLE=y
#CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
#CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
#CONFIG_FONTS=y
#CONFIG_LOGO=n
#CONFIG_VGA_CONSOLE=n
#CONFIG_FONT_8x16=y
#CONFIG_LOGO=y
#CONFIG_LOGO_LINUX_MONO=y
#CONFIG_LOGO_LINUX_VGA16=n
#CONFIG_LOGO_LINUX_CLUT224=n
#CONFIG_FONT_MINI_4x6=y
#CONFIG_FONT_8x8=y
* The CMDLine partition is not ok , you must make your own size ,
Thank , Hope you make it
Atlast got gb kernel for Neo L...philip i guess nw your work is half done ...thanx to wedgess
Sent from my MT25i using xda premium
This is new
What GB rom of play can i use this kernel? If someone tested it on any gb rom and worked great, tell me :good:
joshua10796 said:
This is new
What GB rom of play can i use this kernel? If someone tested it on any gb rom and worked great, tell me :good:
Click to expand...
Click to collapse
Tested nearly all play gb Rom. All,working perfectly, just its fixed to landscape
Sent from my MT25i using xda app-developers app
TakuyaZ said:
Tested nearly all play gb Rom. All,working perfectly, just its fixed to landscape
Sent from my MT25i using xda app-developers app
Click to expand...
Click to collapse
Is this landscape problem is solved in kernel or i need to add that code to buildprop manually???
pranav_cool said:
Is this landscape problem is solved in kernel or i need to add that code to buildprop manually???
Click to expand...
Click to collapse
The above codes you see is use to build kernel not for build.prop
Wait for next version ,
pranav_cool said:
Is this landscape problem is solved in kernel or i need to add that code to buildprop manually???
Click to expand...
Click to collapse
In kernel level
You can use a app to force it to portrait tho
Sent from my MT25i using xda app-developers app
Phillip Wu said:
The above codes you see is use to build kernel not for build.prop
Wait for next version ,
Click to expand...
Click to collapse
Ok thanx very much...
and waiting....
Dear Dev @wedges Thank you so much, It's a good news for us (Neo L Users), I hope Landscape problem will fix soon.
Great Job Dev.
Best Regards for our brother @Phillip Wu and @TakuyaZ.
Phillip Wu said:
@wedgess
May u put this code in defconfig to fix landscape and display problem
Below codes taken from CosmicDan , He succeed in this way too ,
Hurrah , wait for next build
Code:
# CosmicDan - kernel console display
#CONFIG_CMDLINE="console=tty0,115200 fbcon=rotate:1 fbcon=font:VGA8x16 androidboot.hardware=semc mtdparts=msm_nand:[email protected](system),[email protected](userdata),[email protected](cache),[email protected](boot)"
#CONFIG_CMDLINE_FORCE=y
#CONFIG_VT=y
#CONFIG_DUMMY_CONSOLE=y
#CONFIG_FRAMEBUFFER_CONSOLE=y
#CONFIG_FRAMEBUFFER_CONSOLE_DETECT_PRIMARY=y
#CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
#CONFIG_FONTS=y
#CONFIG_LOGO=n
#CONFIG_VGA_CONSOLE=n
#CONFIG_FONT_8x16=y
#CONFIG_LOGO=y
#CONFIG_LOGO_LINUX_MONO=y
#CONFIG_LOGO_LINUX_VGA16=n
#CONFIG_LOGO_LINUX_CLUT224=n
#CONFIG_FONT_MINI_4x6=y
#CONFIG_FONT_8x8=y
* The CMDLine partition is not ok , you must make your own size ,
Thank , Hope you make it
Click to expand...
Click to collapse
Thanks but unfortunately the above is no use as it display kernel console message. Only needed for testing before boot. Think I may have fixed it. Will post a test under this post when ready.
If it works I'll fix up 480p version and few other changes. Then add to OP so quicker the better for you guys
Edit -
LuPuS- Test-Phoenix.img
md5 = 20daf4621e839415b27b5ddb3edbec2a
wedgess said:
Thanks but unfortunately the above is no use as it display kernel console message. Only needed for testing before boot. Think I may have fixed it. Will post a test under this post when ready.
If it works I'll fix up 480p version and few other changes. Then add to OP so quicker the better for you guys
Edit -
LuPuS- Test-Phoenix.img
md5 = 20daf4621e839415b27b5ddb3edbec2a
Click to expand...
Click to collapse
How about ghosts key tag ?
Ok I'll test
Sent from Sony Xperia™ neo L
Tested, Still its stuck in landscape mode
TakuyaZ said:
Tested, Still its stuck in landscape mode
Click to expand...
Click to collapse
Maybe one of you could add me on gtalk / Skype to fix it (send me pm). Better then posting versions with the same problem here
Can Neo users use this kernel for GB couse other version for Neo/V have no working wifi(for GB)
sorry for my bad English!
To the above question NO.
Test 2
http://www.mediafire.com/?qzo26f2yzseo4j6
md5 = a90dc808b5e2aed0d236851eb402b6c2
wedgess said:
To the above question NO.
Test 2
http://www.mediafire.com/?qzo26f2yzseo4j6
md5 = a90dc808b5e2aed0d236851eb402b6c2
Click to expand...
Click to collapse
Downloading Test 2 now!!
Will try it after the download!!
''EDIT!!''
Roms I tried:
Gin2Jellybean(Still in landscape mode)
Auroraplay(Still in landscape mode)
Now trying Stock XPlay rom(Still no luck :| )
Test 2 still in Landscape mode...
Wedgess , you might remove joystick stuffs and enable ghostskey
Sent from Sony Xperia™ neo L

[KERNEL] [ROOT] [SM-N920* Exynos 7420] [19 Feb] SkyHigh TW 5.1.1 Kernel [v4.5]

[KERNEL] [ROOT] [SM-N920* Exynos 7420] [19 February] SkyHigh TW 5.1.1 Kernel [ v4.5 ] [Synapse ++]
*** DEVELOPMENT & SUPPORT CEASED FOR 5.1.1 ***
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]
FEATURES
Code:
* Based on official Samsung source: [URL="http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=n920"]Samsung OSRC[/URL]
* ramdisk source:
[INDENT][COLOR="red"]N920C/CD/I/G[/COLOR] XXU2APA2
[COLOR="red"]N9200[/COLOR] ZCU2AOL2
[COLOR="red"]N9208[/COLOR] XXU2AOL1[/INDENT]
* Compiled with Linaro gcc-linaro-4.9-2015.02-3-x86_64_aarch64-linux-gnu
* Linux 3.10.96
* [COLOR="red"]AUTO-ROOT binary v2.52[/COLOR] & Install busybox v1.24.1-Dorimanx
* [COLOR="Red"]KNOX WARRANTY VOID: 1[/COLOR]
* [COLOR="red"]SELinux PERMISSIVE[/COLOR] (for Titanium Backup and other apps to work correctly)
* adb insecure
* stock dt.img
* init.d script support (drop in script & set permissions to 755 or 777 and reboot)
* [COLOR="red"]DEEP SLEEP FIX[/COLOR]
* [COLOR="red"]IN-CALL REBOOT BUG "FIX"[/COLOR]
* Possible Screen Mirroring / AllShare Cast fix
* Secure storage = false (should prevent WIFI settings & passwords wiping on reboots)
* RAM management tweaks
* GearVR [U]reported[/U] working (depends on ROM/firmware version installed)
* [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: 2400 MHz (stock 2100 MHz is default)
MIN: 500 MHz (stock 800 MHz is default)​
A57 VOLT
HPM voltage control
A57 big Cores voltage control
A53 CPU
A53 LITTLE Cores Frequency Scaling
live frequency
MAX: 1600 MHz (stock 1500 MHz is default)
MIN: 200 MHz (stock 400 MHz is default)​
A53 VOLT
HPM voltage control
A53 LITTLE Cores voltage control
CPU GOV
CPU governors
interactive (default)
on-demand
conservative
ktoonservative (hotplug)
userspace
performance​
Interactive governor live load at current frequency (A57+A53)
Interactive governor tuning (profiles)
Default
Battery
Performance​Turbo Mode​
A57 GOV
A57 governor tunables
A53 GOV
A53 CPU governor tunables
MULTICORE
HMP threshold tuning profiles
Default
Performance
Battery​
HMP threshold controls for up/down migration
Power Aware Scheduling control
HMP LITTLE Packing
PEWQ (Power-efficient Workqueues) control
Exynos Core Control Interface (choose 5 > 8 cores online)
CPU STATS
CPU0 time in state
CPU4 time in state
BOOST
Input-Booster profiles
key
touchkey​
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 scaling
Max freq control to 852 MHz (700 MHz is default)
Min freq control to 100 MHz (stock 266 MHz is default)​
GPU Governor
Default
Interactive (default)
Static
Booster (more graphic and benchmark performance)​
GPU Interactive Governor tunables
highspeed clock
highspeed load
highspeed delay​
GPU VOLT
HPM voltage control
GPU voltage control
THERMAL
Sensor temperatures
A57
A53
GPU
ISP​
CPU thermal control
normal temp
critical temp​
GPU thermal control
On/Off thermal manager
temp levels 1 > 5
throttling freq levels​
Memory thermal control
normal temp
critical temp​
ISP (Image Signal Processor) thermal control
temp levels 1 > 5​
BUS
Memory Bus HPM voltage control
Memory Bus voltage control
Internal Bus voltage control
ISP (Image Signal Processor) voltage control
IO
I/O Schedulers
BFQ (tweaked for SSD)
DEADLINE (tweaked for SSD)
FIOPS
CFQ = default (tweaked for SSD)
NOOP
ROW (tweaked)​
Storage read-ahead (256 KB)
General IO tuneable
Add random
IO stats
Rotational
No merges
RQ Affinity
NR requests​
I/O scheduler tunables
MEMORY
Memory state
Total
Free​
Low Memory Killer Profiles
Low
Medium
Custom (recommend)
Default (default)
Aggressive
Exterminate​
Low Memory Killer minfree tuning (OOM LMK)
Adaptive Low Memory Killer
vmpressure_file_min​
Samsung SPCM Service control (Enabled = default/stock)
Ultra Kernel SamePage Merging (UKSM)
UKSM stats
Scan Delay Interval
UKSM Governor
Max CPU consumption​
Dynamic FSYNC control (enabled)
Dynamic dirty page writeback control (enabled)
Dirty writeback active
Dirty writeback suspend​
Virtual Memory
Virtual NAND Swap control (VNSwap)
ZSwap memory pool
Adaptive Dirty Background Ratio on suspend / resume
Adaptive Dirty Ratio on suspend / resume
Drop caches (Clear VFS cache after boot)
Laptop Mode
Swapiness
Adaptive vfs_cache_pressure on suspend / resume​
ADVANCED
Entropy (max 4096)
Gentle Fair Sleepers control (disabled)
Arch Power control (enabled)
randomize_va_space control
pm_freeze_timeout control
Google Play Services Battery Drain Fix
Driver wakelock controls
SensorHub
ssp_sensorhub​SSP
sig_motion_sensor
pickup_gesture
grip_sensor
tilt_detector
proximity_sensor​bcm4773
bcm4773_gps​
POWER SUSPEND
Modes:
Autosleep
Userspace
Display Panel
Hybrid (Autosleep + Display Panel) = default​
PowerSuspend State (enable only with Userspace mode set)
Version push button
AUDIO
(Sound Control by AndreiLux)
Jack media volume control
L/R channel volume
mono mixer​
Speaker volume control
Earpiece volume​
Main Equalizer
Advanced Stereo Equalizer
SCREEN
Live panel brightness
sweep2sleep control
NETWORK
TCP congestion control
All available enabled.
Default = westwood+​
Screen mirror/allshare cast fix control (enabled)
Clean WIFI Lease
WIFI Passwords
Save
Restore​
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
3G DNS speed & security tweak
Google
OpenDNS
Comodo, Level3
Norton_DNS
Smart_Viper​
GPS time-zone
Original
Asia
Europe
Oceania
North America
South America
Africa​
IPV6-protocol
IPv6 Test push button
IPv6 enable / disable
optimistic detection​
SECURITY
KNOX control
NO_ACTION (default)
Disabled
Enabled​
SELinux
Live status​
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​
Store Mode
enable / disable (master control)
Store Mode Maximum
Store Mode Minimum​
Battery SCALING calibration (fuel gauge reset)
LED
LED disable control
LED Fade-in/out Time Period
LED Fade control
Fade-in
Fade-out​
Test notification push button
Stop notification push button
FS (File System)
Display FS Type
FS Controls
remount System r/w r/o
remount RootFS r/w r/o​
Scrolling cache control
Optimise Databases (SQLite3)
FSTrim lagfix
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​
CORTEXBRAIN
Live status
Cortexbrain-Background-Process (Master Switch)
CortexBrain Functions
WiFi Auto
Media Manager
System-Tweaks
Kernel-Tweaks
nmi_watchdog​
CRONTAB
Live status
CronTask (Master Switch)
Cron Tasks
Clean RAM cache (every hour)
Google Service restart (every 3 hours)
Clean app cache & junk (every day at 4:30AM UTC)
clipboard cache
/data/tombstones
/data/anr logs
/data/dropbox logs
lost+found​Optimize databases (every day at 4:40AM UTC)
File system trim (every day at 4:50AM UTC)
Battery scaling calibration (every Sunday at 5:00AM UTC)​
Test Cron Task jobs
USB
USB status
USB mode selection
MTP
PTP
CD_ROM (drivedroid support)
USB_Keyboard-Mouse​
MODULES
CIFS
NTFS
ISO9660_FS
UDF
XPAD
BACKUP & RESTORE
Name - Restore - Delete - Backup
profiles
kernel image​
LOGS
Android Logger control (enabled)
LogCat​
Kernel Logger control (enabled)
dmesg
last_kmsg​
REBOOT
Reboot device
Recovery Mode
Download Mode
Power Off
Clear Synapse Data & Reboot
Restart Synapse
INFO
Reduced logging
exFAT FS support
NTFS R/W support with app
CIFS support (not tested)
ISO 9660 CDROM & UDF FS support
Frandom
mount partitions NOATIME and NODIRATIME by default
FSTrim on boot (ensure consistent IO throughput)
Entropy tweaks
Increased boot frequency
Power-efficient workqueue (PEWQ) efficiency patches
CLEANCACHE & ZCACHE
Microsoft X-BOX gamepad controller module (updated)
LZO de/compression algorithm
Slub tweaked
Much more - check source commits & Synapse
CREDITS
My family !!
@Chainfire - root & SuperSU / @Manh_IT - auto-root method
@AndreiLux - years of support for Exynos development and his various kernel features + Synapse app and UCI code
@halaszk88 - patches and Synapse code I adapted to many of my kernels
@dorimanx - BusyBox and various ramdisk tweaks/ideas
@apb_axel - I adapted and used many of the Synapse controls to suit my kernels
@arter97 - various source fixes/patches
@ktoonsez - ktoonservative hotplug governor
@LuigiBull23 - ktoonservative profiles I've adapted
XDA
Samsung OSRC
and many others!
check github source credits
IF I'VE FORGOTTEN ANYONE, PLEASE DON'T BE SHY AND SPEAK UP, THANKS
XDA:DevDB Information
SkyHigh Note 5 Exynos 7420 Kernel, Kernel for the Samsung Galaxy Note 5
Contributors
UpInTheAir
Source Code: https://github.com/UpInTheAir/SM-N920
Kernel Special Features: Synapse ++ | EXT4 | exFAT | NTFS | CIFS
Version Information
Status: Stable
Current Stable Version: 4.5
Stable Release Date: 2016-02-19
Created 2015-08-29
Last Updated 2016-03-04
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
Open GitHub Change-Logs
Tap/click "Full Change log" under the latest version (i.e. v4.5)
Example: ALL commits (changes) for v4.4 > v4.5 are visible at the top section
Tap/click any commit and will display all comments in the top section and code changes in the bottom section for particular commit
REQUIREMENTS
Variant support for:
SM-N920C / CD / G / I
SM-N9200
SM-N9208_SEA (SM-N9208_TW reported to work, but no official support)​
Watch >>> THIS <<<
FOR BUG REPORTING: Stock UNMODIFIED TouchWiz (TW) 5.1.1 ROM (this means no Xposed or tweaks etc)
Custom recovery i.e.. TWRP
INSTALLATION
If you have systemless root installed, then you must REMOVE it as this kernel will auto-root a proven and stable 2.52 binary into system.
Open SuperSU app
Select "Full unroot" option
Reboot (or flash kernel)
Re-install SuperSU app​
Uninstall any CPU control apps, tweaks and init.d 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 ☆☆☆☆☆ !!
Device Settings:
Enable Developer Options > OEM UNLOCK
If flashing from any custom kernel with Synapse app > Device settings > Applications > Synapse > Force Stop > clear data​
If not installed > Install SuperSU from Google Play:
N9200/N9208: unlock your bootloader >> Install and run CROM service unlock app from Galaxy App Store (this will probably wipe your accounts). If you have problems with CROM, try without it !
Boot into custom recovery and flash SkyHigh_kernel____.zip FOR YOUR DEVICE and reboot
After boot:
a) wait at least 120 secs to stabilize
b) Open Synapse
c) Tap "Understood"
d) DO this step so some defaults are set !!
1. tap the square menu button top right hand corner
2. tap the three dots button
3. "select all globally"
4. tap the back button next to it
5. apply​
DOWNLOADS
Mod Edit: Links Removed
SOURCE
ALL KERNELS COMPILED WITH SAME SkyHigh SOURCE !!
Github
.
Help and FAQ
THREAD RULES & PROTOCOLS FOR THIS DEVELOPMENT THREAD:
I might not have your device variant and or able to reproduce your "issue". With this in mind, without providing as much information as possible, and resetting your device to a stable unmodified baseline, any potential troubleshooting or logs could be meaningless. So please follow the guidelines set out below. Thanks
BY POSTING YOUR ISSUES IN THIS THREAD, YOU ARE AGREE TO HELP YOURSELF FIRST BY PROVIDING INFO REGARDING:
Code:
1. DEVICE MODEL ?
2. ROM and firmware version (build number, boot-loader etc) ?
3. EXACT steps taken to reproduce YOUR issue
4. Screen-shots (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? ([B]remove them[/B]). [COLOR="Red"]This includes Xposed etc[/COLOR]
10. Try older kernel (if available)
11. Factory reset ?
12. Try latest stock [B]UNMODIFIED[/B] firmware (without custom ROM - if you have installed) and factory reset
13. 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:
NO FAST CHARGE
If using the pathetic original cable, try disconnect and reconnect the USB cable whilst power is still turned on to the charger
Use a thicker / better cable, will work every time (ie. Note4 OEM cable)
CAN I BUILD A KERNEL FOR YOUR __XX DEVICE ?
I will not build for any device that I can not compile using SAME source, personally test method or debug. Some device variants can compile with same source.
Sorry. I don't have the spare time for any more variant support.
"NO UCI SUPPORT"
It's a ROM busybox compatibility issue
Three choices:
Device > settings > applications > Synapse > force close & wipe data and REBOOT
OR
Remove your ROM busybox from /system xbin and /system/bin (Synapse will use the kernel busybox in /sbin).
Force stop Synapse and delete app data (device settings > applications)
Re-flash kernel as per Installation Instructions
OR
Try install a different busybox
Force stop Synapse and delete app data (device settings > applications)
Re-flash kernel as per Installation Instructions
Synapse or BACKUP/RESTORE ISSUES
It's a ROM busybox or sqlite3 compatibility issue
Remove both your ROM busybox & sqlite3 from /system xbin and /system/bin (Synapse will use it's own from kernel /sbin).
Device > settings > applications > Synapse > force close & wipe data
Reboot or re-flash kernel as per Installation Instructions
BACKUP & RESTORE
DO NOT restore profiles from different kernel version
Refer to THIS post for "how-to" screen-shots
Refer to THIS post for a "how-to" video (thanks @aldoblaga )
LOADABLE MODULES AREN'T WORKING
Check your /system/lib/modules directory. Are any ____.ko present?
Did you flash a ROM or wipe the system partition at any point? Doing this will remove them !
Re-flash the kernel will install the modules.
If modules aren't installed after flash, then re-flash and manually mount system in recovery first.
You can check running modules in terminal with:
Code:
lsmod
KTOONSERVATIVE GOVERNOR
Some info from the author: http://forum.xda-developers.com/showpost.php?p=60223338&postcount=3
DT2W & COLOUR CONTROL
No, I cannot make it work properly with single source for all supported variants
CPU POWER CONSUMPTION
The Samsung Exynos 7420 Deep Dive - Inside A Modern 14nm SoC (by ANANDTECH - Andrei)
F2FS SUPPORT
It's not needed. You wouldn't see any difference or measure much, if anything. Not worth the potential trade-off. This is not eMMC anymore
http://bgr.com/2015/03/17/galaxy-s6-storage-benchmarks/
STUCK ON SAMSUNG BOOT LOGO AFTER FLASH
Ensure you flashed the correct kernel for your device model
Ensure your download is not corrupted. Check MD5 hash or re-download
Your current base firmware (ROM, boot-loader version etc.) may be incompatible - UPDATE to latest with Odin and try again.
CM SUPPORT
Read Post #12
"Unauthorized actions have been detected, reboot to undo changes"
As it's a common warning found with all KNOX enabled android devices, you would have found the answer by Google search and also that it is actually unrelated to kernel and also unrelated to this kernel development..............
It is caused by the process of rooting/modifying your device. Unless you use KNOX, don't worry.
[Q] How to disable
[A] Freeze or delete your KNOX & Security related apps/processes manually (using root explorer or titanium backup (pro) or use Synapse > Security > disable KNOX
CAN I USE OTHER KERNEL CONTROL APPS
No, many features and options won't be available. Remove all other control apps to avoid conflicts !
Synapse is the recommended and has everything you need
BATTERY TIPS
Try some (or combination) of the CPU MULTICORE features in Synapse:
HMP profile = Battery
Power Aware Scheduling (slight performance cost) = Enabled
HMP LITTLE Packing (slight performance cost) = Enabled
PEWQ (power-efficient workqueue) (slight performance cost) = Enabled​
Set A57 & A53 Interactive governor profile = Battery
Set Input-Booster for key/touchkey profile = Battery
Multi-tasking: enable UKSM & "low" or "quiet" profile (slight performance/battery cost)
Set all Advanced wake-lock controls to 1, except GPS. Set it to 4
Set WiFi wakelock control to 2 or 3
PERFORMANCE TIPS
Set A57 & A53 Interactive governor profile = Performance
Set A57 & A53 Interactive governor = Turbo Mode (battery cost)
Once in a while:
Optimize Databases
FSTrim​
RANDOM REBOOT
Don't UV or UC CPU or GPU
Use SkyHigh defaults
Use a stock UNMODIFIED ROM for your device variant
No tweaks, Xposed or other CPU control apps installed
ASV_GROUP (ALL DEVICES ARE NOT CREATED EQUAL)
This is an example from my Exynos5420 source. Similar idea for Exynos420
http://forum.xda-developers.com/showpost.php?p=61579949&postcount=202
CAN I INCLUDE SkyHigh KERNEL IN MY ROM
Although I do appreciate your contribution here, if you could please do not include my kernel in any ROM package etc. This policy goes for anyone.
Having my kernel distributed outside my development thread just removes a lot of credit and more importantly, constructive user feedback that could be helpful to my development or user issue.
DOWNLOAD LINK NOT WORKING
I want to keep this project all in one place - ☆☆ NO MIRRORS ☆☆
Please try again in a few minutes
POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE
Disable any CPU MULTICORE options in Synapse
Disable any Battery profiles in Synapse. Set to default or Performance.
Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE
DYNAMIC MANAGEMENT OF DIRTY PAGE WRITEBACKS
* [Christopher83]
This feature allows to have two different intervals for dirty page
writebacks and to dynamically manage them when the system has been
resumed (it's active) or when has been suspended.
Three new procfs parameters are exposed inside /proc/sys/vm path:
- dynamic_dirty_writeback is the activation status of this feature,
set 1 to enable it, set 0 to disable it and use the standard behaviour
- dirty_writeback_active_centisecs is the interval for the dirty page
writebacks when the system is active (screen on)
- dirty_writeback_suspend_centisecs is the interval for the dirty page
writebacks when the system is suspended (screen off)
This feature is in part inspired on Francisco Franco's patch:
https://github.com/franciscofranco/mako/commit/34d79548cf16b69c7d0154836018e7f258a22947
Click to expand...
Click to collapse
TCP/IP NETWORK SECURITY
* Thanks to zeppelinrox & V6SuperCharger
Hardening the TCP/IP stack to SYN attack
Bump up tw_buckets in case we get DoS'd
Ignore pings
Don't cache connection metrics from previous connection
Don't pass traffic between networks or act as a router
Enable spoofing protection (turn on reverse packet filtering)
Don't accept source routing
Don't accept redirects
- Further reading:
http://www.cyberciti.biz/faq/linux-kernel-etcsysctl-conf-security-hardening
http://www.symantec.com/connect/articles/hardening-tcpip-stack-syn-attacks
CHROMECAST - STREAMING PROBLEMS
* Thanks to @AtLmd Post
Lock screen MUST be enabled (simple screen lock swipe) I don't know why but it breaks the chromecast app's ability to resume smoothly if switched off
Synapse > Network > DTIM (both screen ON & OFF) = 1
Synapse > Network > WIFI Power Mode (screen OFF) = FAST
.
Thank you
Does it also work on N920I?
Any download link for testing?
bill340 said:
Does it also work on N920I?
Any download link for testing?
Click to expand...
Click to collapse
Currently only SM-N920C - my device
Just in the final stages of cleanup >> update Posts #2 & 3 >> release soon.
Other variants :
users will require to post here the latest boot.img for their device and from which firmware build you extracted from.
download from sammobile.com or samsung-updates.com (1.5+ GB)
WARNING :
If your device is bootloader locked or similar restrictions, this kernel will not help and most likely end in BRICK
Warranty most likely voided as KNOX 1 flag is tripped.
Mine device is SM-N920C (Thailand) too. I've got it rooted from the thread of Manh_IT and it's randomly reboot 3/4 times a day. Will the issue solved when flash your kernel when it's available. Thanks for your time UpinTheAir!
Lo Xa said:
Mine device is SM-N920C (Thailand) too. I've got it rooted from the thread of Manh_IT and it's randomly reboot 3/4 times a day. Will the issue solved when flash your kernel when it's available. Thanks for your time UpinTheAir!
Click to expand...
Click to collapse
I would not know about random reboot on your device. I would suggest to factory reset and immediately flashing stock ROM firmware to make sure your device is clean. After setup, flash SkyHigh kernel with Odin (FOLLOW INSTALLATION INSTRUCTIONS). Test first before making any modifications / tweaks and also before TWRP etc !!
I have no problems yet
v1.0 SM-N920C Initial release
v1.0 initial release for SM-N920-C device
Tested by UpInTheAir with :
SM-N920-C 32GB device
stock N920CXXU1AOH4 firmware
no Xposed etc
no tweaks etc
no TWRP
XDA RULE #1 'SEARCH BEFORE POSTING". Please READ Posts #1-3 BEFORE flashing !!
Have fun
Cheers
UITA
UpInTheAir said:
[KERNEL] [ROOT] [SM-N920 Exynos 7420] [29 August] SkyHigh TW 5.1.1 Kernel [v1.0] [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]
FEATURES
Code:
* Based on official Samsung source:
* ramdisk source:
* Compiled with Google ARM Toolchain GCC 4.9
* Linux 3.10.61
* [COLOR="red"]AUTO-ROOT[/COLOR] & Install busybox v1.24.1-Dorimanx
* [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)
* 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
CPU temperature
A57 big Cores Frequency Scaling
live frequency
MAX: 2100 MHz (stock/default)
MIN: 800 MHz (stock/default)​
HPM voltage control
A57 big Cores voltage control
CPU governors
interactive (default)
on-demand
conservative
userspace
performance​
CPU governor tunables
A53 CPU
A53 LITTLE Cores Frequency Scaling
live frequency
MAX: 1500 MHz (stock/default)
MIN: 400 MHz (stock/default)​
HPM voltage control
A53 LITTLE Cores voltage control
CPU governors
interactive (default)
on-demand
conservative
userspace
performance​
CPU governor tunables
HMP
Up thresholds
Down thresholds
GPU
GPU stats
Current clock freq
Live Frequency Utilization (load)
Time in state​
GPU power policy control
coarse_demand (default)
demand
always_on​
GPU Governor
Default
Interactive (default)
Static
Booster (more graphic and benchmark performance)​
GPU Interactive Governor tunables
highspeed clock
highspeed load
highspeed delay​
HPM voltage control margin
GPU voltage control
BUS
Memory Bus HPM voltage control
Memory Bus voltage control
Internal Bus voltage control
ISP (Image Signal Processor) voltage control
IO
I/O Schedulers
DEADLINE
CFQ
NOOP​
Storage read-ahead (256 KB)
General IO tuneable
Add random
IO stats
Rotational
No merges
RQ Affinity​
I/O scheduler tunables
MEMORY
Memory state
Total
Free​
Low Memory Killer Profiles
Low
Medium
Custom (recommend)
Default (default)
Aggressive
Exterminate​
Low Memory Killer minfree tuning (OOM LMK)
Kernel SamePage Merging (KSM)
KSM stats
Pages to scan
Deferred timer​
Virtual Memory
Dirty Background Ratio
Dirty Ratio
Drop caches (Clear VFS cache after boot)
Laptop Mode
Swapiness​
ADVANCED
Entropy (max 4096)
Gentle Fair Sleepers control (disabled)
Arch Power control (enabled)
randomize_va_space control
AUDIO
(Sound Control by AndreiLux)
Jack media volume control
L/R channel volume
mono mixer​
Speaker volume control
Earpiece volume​
Main Equalizer
Advanced Stereo Equalizer
NETWORK
TCP congestion control
All available enabled.
Default = westwood+​
Screen mirror/allshare cast fix control (enabled)
Clean WIFI Lease
TCP/IP network security
3G DNS speed & security tweak
Google
OpenDNS
Comodo, Level3
Norton_DNS
Smart_Viper​
SECURITY
KNOX control
NO_ACTION (default)
Disabled
Enabled​
SELinux
Live status​
BATTERY
Battery info
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​
Scrolling cache control
Optimise Databases (SQLite3)
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​
BACKUP & RESTORE
Name - Restore - Delete - Backup
profiles
kernel image​
LOGS
LogCat
dmesg
last_kmsg
REBOOT
Reboot device
Recovery Mode
Download Mode
Power Off
Clear Synapse Data & Reboot
Restart Synapse
INFO
Reduced logging
exFAT FS support
NTFS R/W support with app
CIFS support (not tested)
Frandom
mount partitions NOATIME and NODIRATIME by default
Entropy tweaks
CLEANCACHE & ZCACHE
Microsoft X-BOX gamepad controller in-built module
Much more - check source commits & Synapse
CREDITS
My family !!
@chainfaire - root & SuperSU / @Manh_IT - auto-root method
@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
@apb_axel - 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 5 Exynos 7420 Kernel, Kernel for the Samsung Galaxy Note 5
Contributors
UpInTheAir
Source Code: https://github.com/UpInTheAir/SM-N915
Kernel Special Features: Synapse ++ | EXT4 | exFAT | NTFS | CIFS
Version Information
Status: Beta
Current Beta Version: 1.0
Beta Release Date: 2015-08-29
Created 2015-08-29
Last Updated 2015-08-29
Click to expand...
Click to collapse
https://drive.google.com/file/d/0B2YU1VP-Wj-pRE14YmJJdldSTHc/view?usp=docslist_api
N920TUVU1AOGE_N920TTMB1AOGE_TMB.
Ok, I flashed on my N920I for testing.
It works without any problems! No reboots during phonecalls at all! With all kernels I tried before, I had them, but not with this one!
Thanks for that great work!!!!
You can definitly use this for N920I also!
jpeps3 said:
https://drive.google.com/file/d/0B2YU1VP-Wj-pRE14YmJJdldSTHc/view?usp=docslist_api
N920TUVU1AOGE_N920TTMB1AOGE_TMB.
Click to expand...
Click to collapse
Please never quote the full OP ......
Anyway, thanks for posting your boot.img. Maybe you (or someone else wishes to "test" the kernel with your T model ? Just have full firmware ready if it boot loops or lose baseband etc.
If no good, I will then look at a separate kernel (time permitting)
bill340 said:
Ok, I flashed on my N920I for testing.
It works without any problems! No reboots during phonecalls at all! With all kernels I tried before, I had them, but not with this one!
Thanks for that great work!!!!
You can definitly use this for N920I also!
Click to expand...
Click to collapse
Please let me know of any kernel driver problems, WIFI, BT, 3G/4G etc (if any). Hopefully the kernel can be partly/fully universal
UpInTheAir said:
Please let me know of any kernel driver problems, WIFI, BT, 3G/4G etc (if any). Hopefully the kernel can be partly/fully universal
Click to expand...
Click to collapse
WIFI, BT, 2G, 3G, 4G, works fine!
Good job, I am compile a Kernel with many errors, I need to learn a lot from you :good: @UpInTheAir
Manh_IT said:
Good job, I need to learn a lot from you :good:
Click to expand...
Click to collapse
Hey, no problem. Thanks again for the root scripts, although Andrei's method worked too, just saved a little time with Synapse UCI support.
Have still got loads more to do, but I'm running out of time before heading away for the next month ..........
I only have so much "free" time away from family and work
edit: ran out of "thanks" today, 8 is the limit, how stupid !!
Hey. I tested in note 5 tmobile and baseband is unknown thank you for your work tho!.
Sunderwear said:
Hey. I tested in note 5 tmobile and baseband is unknown thank you for your work tho!.
Click to expand...
Click to collapse
OK, thanks for the report. I will have to study the source and determine if modem drivers are different or just require some ramdisk adjustments or T-Mobile ramdisk.
Give me a bit and I'll see what I can do
Will you make this for SM-N920P please???!!!
Sent from my SM-N920P using Tapatalk
ebs512 said:
Will you make this for SM-N920P please???!!!
Sent from my SM-N920P using Tapatalk
Click to expand...
Click to collapse
Please check to see if the SM-N920C kernel boots for you and drivers - baseband etc are working. If not, please send me your boot.img. Instructions I gave a few posts ago. Just make sure you have the full firmware package toy flash if it goes wrong.
Amazing
I tested it on my SM-N920I too. No Problems so far. No reboots during calls any more. Anything seems to work. Couldn't find any bugs yet.
Thank you so much for your perfect work.

[KERNEL] Phantom Kernel for N950 - F/FD/N (for Samsung PIE and OREO ROMs)

Your warranty is now void. Knox 0x1.
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 the features included in this kernel.
PHANTOM KERNEL​by 6h0st ​
​
Special thanks to:
(Product evaluation, support & donors)
@ANDROIDXFOREVER
@ammisr
@Logel
@Sean_FD2R
@corsicanu
@Voytec83
@Bud Horn
@blinkt88
@rico13
@NoXXX
@Kiid
... and to all other developers for their indirect contribution (ideas, commits, public open source code, etc).
* Brief ideology of this kernel *
This kernel, if you plan on using it out-of-the-box it is battery life oriented, but also with a few tweaks to be fast and stable, just to give best daily usage results. The best part of it is that you can tweak it how you please depending on how far you want to go. You can choose over clocking CPU or/and GPU to get really good benchmark results, apply tweaks to get the best battery life/performance with low-end and high-end gaming or just to save even more battery, your choice. All this by using simple applications like Spectrum, a bit more complex ones, like Synapse or choose an even more advance way with shell scripts / terminal.
As the project evolves more features will be added, even as requests if properly motivated.
Before releasing an update, i'll make sure that it's properly tested so that you wont get bricked devices. This usually takes a lot of time, so please be patient. If some features are considered unstable they will be marked as experimental.
* * * Version 2.11.6 PIE official * * *
- SAMSUNG Open Source for PIE kernel (N950FXXUDDTH1);
- ramdisk updated to N950FXXSBDTED;
- Compiled with Toolchain UBERTC 6.4.1 + GRAPHITE optimizations;
- updated to Linux 4.4.201 - (only available for version 2.10.1);
- ramdisk updated to N950FXXS7DSI3 - (available only in version 2.10.1);
- Cortex and Exynos compiler optimizations;
- performance and battery life adjustments to BUS/GPU/CPU;
- Available CPU governors: cultivation, blu_active, impulse, interactive, conservative, ondemand, performance, powersave, darkness, schedutil, bioshock, blu_schedutil, helix_schedutil, darkutil, electroutil and pwrutilx - (some are available only in version 2.10.1);
- Available I/O Schedulers: anxiety, noop, deadline,cfq, bfq, maple, vr, zen, tripndroid, sio, sioplus, fiops and fifo;
- added Synapse support (with more optinons then MTweaks / if you use spectrum profiles some sections will be disabled for compatibility issues);
- Spectrum Support with 4 profiles (disabled on boot);
- MTweaks compatible but with missing features, use Synapse for better compatibility;
- maximum overclock CPU frequency of CPU little cluster 1898 Mhz;
- maximum overclock CPU frequency of CPU Big cluster 2704 Mhz;
- added frequency limits while Screen is off;
- added minimum throttling frequency limit scaling for Exynos;
- maximum overclock GPU frequency of 572 Mhz;
- SELinux permissive/enforcing depending on Magisk;
- Enabled Kernel Loadable Module support;
- added LKM: superuser (KernelSU project) if root accesss is needed without Magisk - disabled (to get root access you need to create an empty file into /sdcard/Phantom-Kernel/ folder with the name "PK.su" and reboot. Remove the file and reboot to revoke root access. NOT all apps will work with it. This also has no app that control access so don't leave it always enabled!);
- Memory Management and utilities optimizations;
- added switch to enable/disable of FSync or use Dynamic FSync;
- Morosound mod for Madera/CS47L92;
- init.d support;
- all Samsung security related configs disabled (as KNOX, TIMA, Rooting restriction, etc.);
- Disabled Secure Storage. You'll need to refresh (remove/forget and connect/store connection again) Wifi/Bluetooth connections if you have conection issues!);
- dm-verifiy and forced encryption disabled;
- LED blink/fade control (fade enabled by default);
- changed LED to red/blue fading when booting;
- Wireguard support;
- CRC checks disabled on boot for better performance;
- added UKSM 0.1.2.6 - (available only in version 2.10.1);
- VM, I/O sceduler and ZRAM tweaks - (available only in version 2.10.1);
- Entropy optimizations - (available only in version 2.10.1);
- added SysFS control for logging;
- disabled unnecesary logging, debugging and tracing;
- added automount FS Manager 4 support;
- added NTFS/ISO9660/UDF FS Support ;
- added ZRAM support - (available only in version 2.10.1);
- updated LZ4 kernel modules - (available only in version 2.10.1);
- added more TCP congestion algorithms (bic, reno, cubic, westwood, highspeed, hybla, htcp, wvegas, vegas, scalable, lp, yeah, veno,lia, olia, illinois, balia);
- added Smart Screen Dimming (for SSD kernel version only!);
- added CPU boost;
- added devfreq boost;
- added Kernel support for MISC binaries - (available only in version 2.10.1);
- added support for DriveDroid app;
- ramdisk optimizations and patched SEpolicy;
- disabled some unneeded tracing, logging and debugging;
- init.d optimization scripts, available in /=Phantom Scripts= folder, if you want to use them:
* 90agressive_doze: enable agressive doze script;
* 98sqlie: optimize DB;
* 98zipalign: zipalign apks;
* 99maid: a cleaning temporary files script;
* 99killer: battery saver by killing a couple draining services.
* * * Version 1.9.3 Oreo official * * *
- Compiled with UBERTC 6.4.1 + GRAPHITE optimizations;
- Updated to Samsung Open Source N950FXXU5CRK2;
- Updated to Linux 4.4.169;
- added Synapse support (with a lot of optinons, a lot);
- Spectrum Support with 4 Profiles;
- SElinux permissive;
- Support for Private Mode;
- Init.d support;
- All Samsung security related configs disabled (as knox, tima, restrict rooting);
- Added Boeffla wakelock Blocker;
- Led fade/blink control;
- Wireguard support;
- Available CPU governors: cultivation, blu_active, zzmoove, impulse, interactive, schedutil, conservative, ondemand, userspace, performance, powersave, darkness and bioshock;
- Available I/O Schedulers: noop, deadline,cfq, bfq, maple, vr, zen, tripndroid, sio, sioplus, row and fifo;
- Performance and Battery life tweaks;
- N950FXXU5CRK2 ramdisk update;
- added UKSM 0.1.2.6;
- Possible max CPU OC frequency set to 2704 Mhz;
- added max GPU frequency of 572 mhz;
- Some GPU optimizations (slightly a bit more battery life and more performance);
- Set Spectrum balance profile max GPU speed of 455 mhz on boot (better battery life);
- disabled some logging, debugging and tracing;
- added NTFS/ISO9660/UDF FS Support;
- added Automount FS Manager 4 support;
- multipath TCP support;
- added more TCP congestion algorithms (bic, reno, cubic, westwood, highspeed, hybla, htcp, wvegas, vegas, scalable, lp, yeah, veno,lia, olia, illinois, balia);
- added 99killer, 98zipalign and 98sqlite optimization scripts to /=Phantom Scripts= folder to be available in case of need (just copy+paste to init.d);
- fixed Spectrum and Mtweaks incompatibility when using both apps;
- added SysFS control for kernel logger;
- updated LZ4 kernel module to LZ4 v1.7.3;
- a lot of ramdisk fixes and optimizations;
- set voLTE enabled props from ramdisk (just in case...)
- removed SEC_SELINUX;
- added a more efficient RMM lock patch;
- added fake FLAGS to help Magisk;
- added Smart Screen Dimming;
- CPU Samsungplug optimizations and CPU core control;
- enabled schedule workqueues on awake CPUs as default;
- 100% compatibility with Spectrum and Synapse, with MTweaks not so much.
* NFS VERSION HAS THE SAME SAFE PARAMETERS AS THE NON-EXPERIMENTAL VERSION ON BOOT, but probably will generate more heat *
Differences between the NFS version and the regular version (Experimental):
- CPU OC possibility to 2.8 Ghz (2808000 mhz)
- GPU OC possibility to 683 mhz
- GPU OC without CPU frequency restrictions
- Spectrum profile "Gaming" OC-ed at 2.7Ghz / 572 mhz
(No support will be given if something goes wrong while using the NFS versions! AND don't blame me if you burn something.)
Mod edit: links removed
XDA:DevDB Information
Phantom Kernel, Kernel for the Samsung Galaxy Note 8 (2017 Phone)
Contributors
6h0st
Kernel Special Features: STABLE | FAST | SOLID-BATTERY-LIFE
Versions Information:
Status: Stable P
Current Stable Version: 2.11.6
Last Updated 2020-12-21
Unstable Version: 2.10.1
Last Updated 2020-05-03
Status: Stable O
Current Stable Version: 1.9.3 (EOL)
Created 2018-08-05
Last Updated 2019-01-01
FAQ:
Q: How to flash kernel?
A: Download (download link in first post) and flash the zip file from TWRP Recovery. Wiping dalvik cache and cache when coming from other kernels is highly recommended.
Q: Phone is stuck with a black screen after I wiped dalvik cache and/or cache. After I waited a while it just rebooted. Is that a bug?
A: This is not a bug it's actually a feature. This is normal because the kernel startup script checks the dalvik cache to be created correctly. If it wasn't created correctly it checks again after 1 min, just to be sure, this is why you have a black screen. Don't force reboot, just wait! If Dalvik cache isn't still created correctly after 1 min, it will reboot and create Dalvik again, it will keep doing this until everything is ok. This can happen even 3 times upon boot. If more than 3 reboots happen then you have a ROM issue.
Q: How to configure the Kernel?
A: Easy way is with Spectrum app from Google Play Store. Synapse for more advanced users. Init.d scripts or Terminal/SManager or similar apps, for experts.
Q: I have issues with notifications, slow notifications while screen is off?
A: Disable battery app optimization for Google Play Services.
Q: YouTube videos are not playing, why? / Why am I getting random reboots (if using 99killer script)?
A: Remove the /system/etc/init.d/99killer script and reboot.
Q: Why not start with version 1.0 ?!
A: Because versions 1.0-1.3 were not released to the public and were tested in private by a group of dedicated people.
Q: What is NFS version?
A: Need for Speed version of the Phantom Kernel - higher and unsafe OC of CPU & GPU possibility. Only for Oreo versions.
Q:What is Smart Screen Dimming - SSD version?
A:It's a slightly modified version of this:
https://forum.xda-developers.com/s7-edge/development/amoled-pwm-s7-edge-t3517739
Q: I had a freeze/random reboot after I changed settings in Synapse, what can be the cause?
A: It can be a lot of things, but mostly an incompatibility in your chosen settings, if it's kernel related at all. The most known common things that are the cause of this can be Exynos-CPU-hotpluger (disable it), LMK parameters for Oreo version only (reset to defaults) or Doze settings (use stock). If any of these doesn't get rid of the reboots try resetting Synapse and wipe cache and dalvik cache. You can always post logs or details of your issue, to get help.
Q: After each boot i get my screen locked after a brief moment of using my phone and my phone vibrates 3 times, is this a bug?
A: This isn't a bug. The locking of the screen it's a workaround i added, to eliminate a bug where GPU utilization get's stuck. This will remain until i find a better way to solve this. There 3 vibrations is from the PK boot script telling you it has finished execution.
Q: Bixbi button remapper isn't working with Bixby button, how can I fix it?
A: Install Synapse and enable Android logging. (Thanks to @AiRMaX-360 for finding this fix).
Q: What is KernelSU - superuser module and how to get root access without Magisk?
A: Here you can find KernelSU project. This module can be used if root access is needed without Magisk. To get root access you need to create an empty file into /sdcard/Phantom-Kernel/ folder with the name "PK.su" and reboot. Remove the file and reboot to revoke root access.
PS:
* NOT all apps will work with it.
** This also has no app that control access so don't leave it always enabled!
*** If Magisk or other su is found, then that root access method will be used.
Ver. 2.11.6 Changelog:
- optimizations for better battery life;
- bug fixes;
- added throttling frequency limit for mali driver;
- updated the frequency limits while screen-off module;
- switched back ext4 encryption (EXPERIMENTAL);
- updated 00modules script;
* Special HID drivers available as kernel modules only if needed (copy 00modules to init.d folder to enable modules);
* Joystick XPAD available as module only if needed (copy 00modules to init.d folder to enable module);
- added 99pkhosts script - adblocker script with update on boot (copy script to init.d folder to enable).
Ver. 2.11.5 Changelog:
- updated to Samsung Open Source N950FXXUDDTH1;
- added support for more Input Device Drivers, Special HID drivers, IEEE 1394 (FireWire) and VR;
- disabled some unneeded debugging;
- removed some deprecated code;
- performance optimizations and bug fixes.
Ver. 2.11.4 Changelog:
- merged Samsung open source N950FXXSDDTG5;
- ramdisk updated to N950FXXSBDTED;
- other bug fixes and optimizations.
Ver. 2.11.3 Changelog:
- SELinux permissive/enforcing depending on Magisk;
- changes for some ROMs (e.g. DeluxeROM) that need SELinux permissive at boot (Magisk is detected by some banking apps so a complete uninstall is needed for these apps to work);
- enabled Kernel Loadable Module support;
- added LKM: superuser (KernelSU project) if root accesss is needed without Magisk - disabled (to get root access you need to create an empty file into /sdcard/Phantom-Kernel/ folder with the name "PK.su" and reboot. Remove the file and reboot to revoke root access. NOT all apps will work with it. This also has no app that control access so don't leave it always enabled!);
- CPU optimizations and bug fixes;
- added maximum overclock CPU frequency of CPU little cluster 1898 Mhz (generates lots of heat if OC-ed);
- added frequency limits while Screen is off;
- added minimum throttling frequency limit scaling for Exynos (may cause reboots, or even burn your phone, if enabled and is set to high);
- added frequency limits while screen-off and set 455-1248 | 741-1469 mhz as default;
- HMP optimizations;
- adjusted thermal limits a bit;
- android binder optimizations;
- Synapse update;
- minor PK boot script changes;
- other bug fixes in CPU, BT, abox and more...
Ver. 2.11.2 Changelog:
- bug fixes;
- moved PK dalvik protection and made it as an optional script found in =Phantom Scripts= folder for a better compatibility;
- disabled some more unneeded logging.
Ver. 2.11.1 Changelog:
- added enable/disable control of DVFS in sysfs for Exynos;
- updated Synapse (advanced tab);
- other bug fixes in CPU.
Ver. 2.11 Changelog:
- Samsung Open Source base N950FXXS8DSL3 (started from scratch) ;
- ramdisk updated to N950FXXSADTC4 and optimized;
- Linux version 2.2.111 (No more Linux updates);
- disabled unnecessary logging, tracing and debugging;
- added back goodies from 2.10.1, minus:
* STUNE and Stune Boost;
* Linux streams updates;
* UKMS and ZRAM;
* schedutil based govs: helix-util, blu-util, dark-util, pwxutil, electric-util;
- overall optimizations and tweaks;
- Synapse bug fixes;
- Spectrum profile bug fixes;
... and some other things (to many to add here).
Ver. 2.10.1 Changelog:
- bug fixes for GPU to avoid ramdom freezes;
[last update]
Ver. 2.10 Changelog:
- updated to Linux 4.4.201;
- set bic as default TCP congestion alogarithm;
- set cfq as defualt internal SD I/O scheduler.
- fixed GPU utilization stuck at 80% bug after first boot (screen won't turn off anymore upon the 3 vrations);
- fstab changes with noatime;
- Synapse update and bug fixes;
- Spectrum profiles update (cpuset optimization; Balanced profile: CPU.Big cores set at 2314000 mhz - stock freq)
- default CPU.Big core cluster set to 2314000 mhz;
- updated Simple LMK;
- switched to Simple LMK from Android LMK;
- zram misc fixes;
- memory compactation and page allocation optimization;
- PK boost script optimization (takes longer to finish, but uses less CPU and reduces boot lag);
- android binder optimizations;
- touchscreen optimizations;
- updated GMS patch script;
- removed /etc/sysconfig/google.xml overwrite upon flashing kernel (restore and use original ROM file to fix slow notifications);
... other bug fixes and improvements.
Ver. 2.9 Changelog:
- source updated to N950FXXU7DSJ1;
- ramdisk updated to N950FXXS7DSI3;
- updated to Linux 4.4.198;
- better compiler optimizations;
- security improvements;
- devfreq optimizations and possible some random issues fixed;
- binder optimizations;
- debugfs: Always compile core debugfs driver for Android kernels;
- Android sync performance improvement;
- FS: Reverted to original mbcache from mbcache2;
- FS: ext4 optimizations;
- Spectrum profiles update;
...some other bug fixes.
Ver. 2.8.2 Changelog:
- binder reverted to N950FXXS7DSH1;
- disabled debugging of binder and made some minor stability changes;
- Spectrum battery profile update.
Ver. 2.8.1 Changelog:
- updated to Linux 4.4.196;
- Mass Storage USB Composite fixes;
- DriveDroid support fixes.
Ver. 2.8 Changelog:
- updated to Linux 4.4.194
- interactive; schedutil, blu_schedutil, darkutil, helix_schedutil, electroutil and pwrutilx CPU governors changes;
- device tree changes - more battery friendly on low usage;
- anxiety I/O scheduler tunnig;
- I/O tuning;
- set deadline as default scheduler for external sdcard;
- removed Boeffla Wakelock Blocker;
- devfreq wake boost interval added in sysfs and in Synapse;
- kernel preemption optimization;
- Spectrum profiles updates and bug fixes;
- Synapse updates and bug fixes;
- added back exynos hot-plug sysfs on/off control (Mtweaks only);
- Synapse updates and bug fixes;
- disabled Simple LMK and enabled Android LMK;
- enabled Samsung's SPCM service;
- ramdisk changes;
- disabled Android logger after boot;
... other bug fixes (LightROM stuck on reboot/shutdown fix included).
Ver. 2.7.2 Changelog:
- removed GPU excessive debug messages;
- more HID bug fixes;
Ver. 2.7.1 Changelog:
- DS4 HID controllers bug fix;
Ver. 2.7 Changelog:
- updated to Linux 4.4.191;
- ramdisk update to N950FXXS7DSH1;
- merged N950FXXU6DSF6 source;
- SAMSUNG EXYNOS8895 SoC device tree changes;
- applied latest RT-186 patch;
- PK boost script update;
- CPU frequency scaling possible bug fix and a few optimizations;
- added back helix_schedutil, darkutil;
- bug fixes, optimizations and tunning for the following CPU governors: interactive, conservative, darkness, helix_schedutil, darkutil (updated), electroutil;
- CFS stune bug fixes;
- State Notifier driver implementation bug fixes.
- changed CPU input boost and devfreq boost drivers to work only with State Notifier;
- synced Panel/Dual Penel with DPU and State notifier;
- added CGROUP_SCHEDTUNE support;
- ramdisk changes to work with CGROUP_SCHEDTUNE;
- merged DYNAMIC STUNE BOOST with CPU INPUT BOOST and removed double driver;
- added memory compaction to all zones when suspended - disabled by default;
- devfreq boost driver fixes;
- CFS tasks boosting and CFS tasks boosting group subsystem fixes and tuning;
- CPU scheduler tuning (for more balance);
- tuned CPU and devfreq boosts;
- CPU and devfreq boosts uses GPU utilization to select between med and max step;
- GPU optimized for always on when screen is on and off while screen suspended;
- GPU control optimization - less debugging;
- Optimized Integer SQRT. for up to 3x faster operation;
- Disabled VNSwap / ZSwap;
- added ZRam tweaks and made some changes for better performance;
- ramdisk update for Simple LMK changes and better/faster ZRAM creation on boot.
- added a workaround to prevent race of lmkd and Simple LMK;
- Android binder driver optimizations;
- updated Synapse and Spectrum profiles;
- added GMS Doze patch and Cleaning scripts to Synapse;
- CPU input and devfreq boosts disabled as default;
- HMP boost fix for input events;
- Android ION driver optimizations - removed debugging and tracing;
- introduced anxiety I/O scheduler, improves reads over writes - default;
- reimplement mbcache and speed up cache entry creation;
- added back disable FSync;
- FS Sync optimizations;
- updated Boeffla WL driver and wakelocks list;
- Dynamic sync updated to v.2.0 (thx andip71);
- removed some more unneeded tracing and debugging;
- removed Debug FS and applied fixes because of it in various drivers;
- added timekeeping: keep suspend time logging when debugfs is disabled;
- moved /d/wakeup_sources to /proc/wakelocks if debugfs is disabled;
- reverted old DEX patch;
- used the stock config for /proc/config.gz;
... some other bug fixes and optimizations.
Ver. 2.6.1 Changelog:
- bug fixes:
* voLTE and voWifi not working on some devices;
* OEM unlock show correct status;
* SELinux show correct status;
* prevent CPU from entering deep sleep while handling touch interrupts;
* eliminated Android errors on missing parameters of Simple Android LMK;
* eliminated Android errors on missing input_boost files;
* ... and a few other bugs in FS, Crypto and Net;
- added ZRAM support;
- added zstd compression algorithm support (for ZRAM);
- Synapse update for ZRAM control;
- compiler and ION optimizations.
Ver. 2.6 Changelog:
- updated to Linux 4.4.182;
- added RMM State Remover for Samsung Devices
(Original idea by @BlackMesa123, updated by @_alexndr to add support modern Samsung devices with separate /vendor partition. Furtherly updated and adapted by @corsicanu for Pie support and new RMM(KG));
- Removed Boeffla Wakelock blocker;
- updated CPU boost driver and devfreq boost driver to be controlled from sysfs;
- stop cpuidle from beeing disabled when entering suspend;
- CPU boost and devfreq boost driver set to disabled on boot;
- added dynamic stune boost;
- ajusted CPU input boost for dynamic stune boost - frequency can't be controlled from sysfs.
- updated CPU boost driver:
* added new medium boost step;
* uses state_notifier to double check screen state and make sure no boosting is done when screen is off;
* checks if input frequency is disabled (0) before boosting and not execute boost of 0 mhz;
- re-done GPU boost with medium boost instead of maximum;
- updated devfreq boost driver to use state_notifier to double check screen state and make sure no boosting is done when screen is off;
- more battery optimizations Bluetooth and WiFi driver;
- interactive set as default CPU governor for balanced profile;
- blu_active CPU governor update;
- Spectrum profiles updated;
- Synapse updated with new options.
Ver. 2.5 Changelog:
- updated source to N950FXXU6DSD5;
- updated ramdisk to N950FXXU6DSD5;
- ramdisk changes - Deluxe ROM compatibility;
- updated to Linux 4.4.180 and made specific PK fixes;
- new compiler optimizations;
- morosound mod update (working with speaker and headpiece) and fixes;
- added back schedutil CPU governor and updated it;
- added new governors based on schedutil: blu_schedutil, helix_schedutil, darkutil, electroutil, pwrutilx governors;
- added energy cost bindings for Energy Aware Scheduling in Device Tree and Fair Schedule energy params for schedutil based governors possible usage;
- set blu_active/blu_schedutil governor as default;
- maple i/o scheduler optimizations;
- Spectrum profiles update;
- Synapse update and bug fixes;
- Phantom Kernel boot script updates and optimizations in execution after boot to eliminate lag;
- changed some PK tweaks for better stability;
- reduced max_pool_size of zswap from 50 to 20;
- updated CPU and BUS boost drivers;
- replaced Android Low Memory Killer with Simple Android Low Memory Killer;
- disabled core control and removed sysfs of CPU hotplugger;
- updated LZ4 compressor/decompressor modules;
- optimizations CPU, GPU, BUS, I/O, HMP, thermal and many more;
- bug fixes;
- removed unneeded logging, tracking and debugging for better battery savings;
- tuned CPU and BUS boost duration for better smoothness;
- some other adjustments to eliminate lag.
Ver. 2.4 Changelog:
- merged NFS version into regular version;
- CPU OC possibility of 2808 Mhz;
- updated to Linux 4.4.179;
- CPU, HMP, GPU, BUS and memory manager optimizations;
- ISP, CPU, GPU thermal ajustments;
- blu_active governor adjustments;
- enabled swap back (zswap,vnswap);
- ramdisk bug fixes;
- Phantom Kernel boot script update;
- PK boot script vibrates three times on complete;
- Synapse updates and bug fixes;
- Spectrum profiles updated and vibrate once on apply;
- Gaming Spectrum profile is safely OC-ed now, CPU at 2496 Mhz and GPU at 572 Mhz;
- disabled Dynamic FSync on boot - can be enabled after if needed for extra performance;
- Enabled software CRCs on the data blocks can be up to a significant 30% performance cost, but can be disabled for extra performance;
- enabled nmi_watchdog - can be enabled after if needed for extra performance;
- Entropy adjustments and optimization;
- Boeffla Wakelock blocker's wakelock list updated;
- LMK tweak removed - stock values used;
- enabled back Samsung SPCM service;
- Synapse updated for LMK - Custom profile has the removed LMK tweak values in case you need it;
- compiler performance optimizations and warnings fixes;
- added support for DriveDroid app;
- added CIFS support;
- set tweaked maple as default I/O scheduler;
- UKSM disabled on boot;
... and other bug fixes and optimizations.
Ver. 2.3 and NFS Changelog:
- updated installer script and added clean of BusyBox from ZIP installer script;
- Phantom Kernel's boot script update: tweaks and fixes;
- added devfreq boost and event-based CPU boosting drivers (by Sultan Alsawaf );
- added CPU boost on some events (credits to: @remilia15):
* Boost CPU for app launches and app transitions;
* Boost CPU to the max for 50 ms when userspace launches an app;
* Boost when memory pressure becomes high;
- set minimum GPU frequency to 260 Mhz on boot;
- some parameters of SAMSUNG EXYNOS8895 SoC device tree reverted to stock to eliminate lag;
- Synapase fixes;
- Spectrum profiles updated;
- ... and some other adjustments, fixes and tweaks for a better balanced experience.
Ver. 2.2 and NFS Changelog:
- updated to Linux 4.4.178;
- ramdisk updated to N950FXXS5DSC5l;
- enabled CPU Core control;
- performance and battery life adjustments to BUS/GPU/CPU;
- optimized CPU, GPU and thermal;
- CPU DVFS disabled on boot;
- minor CPU blu_active governor tweaks;
- GPU OC possibility to 572 mhz.
- set 338 Mhz as default minimum GPU frequency;
- other GPU/CPU optimizations;
- added Dynamic FSync;
- optimized the ext4 fsync;
- VM tweaks for better smoothness;
- disabled some more unneeded tracing, logging and debugging;
- disabled swap (zswap,vnswap);
- enabled UKSM as default;
- Memory Management and utilities optimizations;
- PK boot script adjustments;
- added CPU Input Boost on touch events;
(This will make min CPU frequeuncy jump in Synapse. Set it to Disable if it's annoying you, or tune it for more performance/battery. I recommend to leave it like this for now.)
- removed zzmoove governor (causes random reboots);
- added Morosound mod for Madera/CS47L92;
- int. and ext. I/O schedulers set to tweaked deadline;
- enable optimized cryptographic algorithms;
- Magisk 19 compatibility fixes and optimizations;
- Boeffla wakelock blocker wakelocks list updated;
- updated Synapse and Spectrum profiles;
- Synapse fixes (clear Synapse data after flashing kernel).
Ver. 2.1 and NFS Changelog:
- removed SEC_SELINUX_PORTING_COMMON;
- added override RGB in sysfs;
- disabled some unneaded loging, tracing and debugging;
- deadline set as default I/O scheduler for internal and external storage
- TWRP zip installer updated:
* added safety feature to flash on N950 device only;
* small fixes when patching ROM files;
* faster script execution;
* double compressed ZIP/TAR.xz combo for boot.img and patched libs (overall smaller size for better distibution);
* Script face-lift.
- disabled SELinux forced enforcing and some security patches;
- disabled schedutil governor and FREQVAR_SCHEDTUNE until;
- Spectrum battery profile corrected;
- ramdisk cleanup;
- ramdisk fixes for Magisk 18.2 compatibillity;
- ramdisk tweaks and other minor adjustments;
- added UFS/NTFS/ISO9660/JOLIET/ZISO/UDF/UDF_NLS;
- disabled CONFIG_LOD_SEC (Linux on dex security);
- Boeffla Wakelock blocker wakelock list updated;
- fixed BOEFFLA_WL_BLOCKER blocking "OK Google!" on some devices;
- and a few other minor adjustments...
Ver. 2.0 and NFS Changelog:
- initial upload. Enjoy!
Ver. 1.9.3 and NFS Changelog:
- Removed all LED tweaks except fade control (because of compatibility issues)
- Spectrum battery profile correction
- Synapse LED options and HMP profiles updated.
* There is a Smart Screen Dimming and a non-Smart Screen Dimming version of the kernel available for download.
Ver. 1.9.2 and NFS Changelog:
- ramdisk optimizations
- updated net drivers (Wifi + Bluetooth)
- added binfmt_misc support
- Phantom scripts update
- DraStic fixed (and probably dome other apps)
- other bug fixes...
Ver. 1.9.1 and NFS Changelog:
- bug fixes (LED, UFS)
- Phantom Kernel boot scripts update
- re-enabled some of the disabled logging for Magisk compatibility
- disabled /data temp files cleaning and fstrim when charging starts
- added 99maid.sh to /=Phantom Scripts= folder to be available in case of need (just copy+paste to init.d)
Ver. 1.9 and NFS Changelog:
- Compiled with Toolchain UBERTC 6.4.1 + GRAPHITE optimizations
- Updated to Samsung Open Source N950FXXU5CRK2
- Updated to Linux 4.4.169
- used net (Wifi + Bluetooth) from stock N950FXXU5CRK2 (better stability overall)
- added Synapse support (with a lot of optinons, a lot)
- added Spectrum profiles to Synapse
- clean-up some Synapse action scripts
- added clean Synapse data from kernel .zip on flash
- zip flashing script fixes
- added /data temp files cleaning and fstrim when charging starts
- added patches and fixes for compatibility with Synapse to various drivers (hotpluger, logger, s.o)
- added ROW and FIFO I/O Schedulers
- various ramdisk fixes
- Phantom ramdisk scripts updated
- ramdisk changes, added some more tweaks and optimizations
- reverted some old VM tweaks for better battrey life
- set voLTE enabled props from ramdisk (just in case...)
- Spectrum profiles updated and bugs fixes
- made Spectrum profile to reset on boot for Synapse compatibility
- added zipalign and sqlite optimization scripts to /=Phantom Scripts= folder to be available in case of need (just copy+paste to init.d)
- CPU Samsungplug optimizations and CPU core control
- Spectrum profiles updated (added core control)
- enabled schedule workqueues on awake CPUs as default
- Boeffla wakelock blocker wakelocks tunning
- GPU.mali tuning
- LED voltage ajustments and intensity control updated/fixed (use this with Synapse for better compatibility)
- Smart Screen Dimming optimizations (when brightness hits 0 gamma starts increasing)
- added multipath TCP
- multipath TCP added to Synapse
- added back TCP congestion: lia, olia, wvegas, balia (MPTCP linked)
- disabled Kernel logging on boot as default
- 100% compatibility with Spectrum and Synapse, with Mtweaks not so much.
Ver 1.8.1 and 1.8.1 NFS Changelog:
- merged/used ELS source tree updated to Linux 4.4.163
- SELinux quick fix for deodexed ROMs
- added ramdisk patch for SELinux to always permissive.
Ver 1.8 and 1.8 NFS Changelog:
- compiled with UBERTC 5.4.1 + GRAPHITE optimizations
- merged/used ELS source three updated to Linux 4.4.162
- added Smart Screen Dimming
- panel optimizations and mdnie override RGB posibility
- added mega SeLinux patch (thanks to @corsicanu)
- boot SeLinux FLAGS set to always permissive and fake enforced
- Spectrum profiles updated
- wifi drivers updated from N950FXXU5CRHA (blobs removed)
- battery_v2 drivers update (N950FXXU5CRHA)
- other updates from N950FXXU5CRHA
- removed TCP congestion algorithms: LIA, OLIA,WVEGAS,BALIA
- removed MPTCP (old Samsung driver - compatibility issue)
- added ODM workaround to ramdisk
- GPU and CPU performance optimizations
- HMP improvements
- updated GMS Doze .xml
- default TCP congestion algorithm is westwood
- ...other small bug fixes and tweaks
Ver 1.8 NFS Changelog:
* all of ver.1.8 changes and:
- increased Voltage for 683 mhz step by 50 (max possible to be safe)
- Spectrum profiles updated to get more performance compared to ver. 1.8
Ver 1.7 and 1.7-NFS Changelog:
- update to Linux 4.4.161
- merged/used ELS Project source tree updated to Linux 4.4.160
- schedutil governor fix (reverted to old code because new code caused random reboots)
- optimized interactive governor set as default on boot and for balanced profile
- All Spectrum profiles updated with optimizations, some changes and fixes.
- WireGuard updated to latest
- added CPU Touch boost extended with scheduler tune based on top apps (disabled as default).
- security patch fix for SELinux always to permissive mode (to fix FCs of LockScreen/Settings on Deluxe ROM and other)
- led (fade) control update. Now it's more than fade.
- RGB Leds brighness/timing tweaks.
- ramdisk fixes
- added swap support back
- disabled UKMS to run on boot
Ver 1.6 Changelog:
- Updated to Samsung Open Source N950FXXU5CRHA
- Updated ramdisk to N950FXXU5CRHA
- updated to Linux 4.4.159
- introduce Exynos dtbtool to the Linux build system (Credits & Thanks: @farovitus & @corsicanu)
- build from dts rev7 (Credits & Thanks: @farovitus & @corsicanu)
- 99killer script update
- phantom ramdisk scripts update
- added 4 more boeffla wakeloks to block
- Phantom customizations fixes
- Spectrum battery, balanced profiles changes to use schedutil governor
- minor CPU scaling method update
- CPU.little default governor set to schedutil
- schedutil governor updated and tweaked for better performance and battery life
- schedutil governor changes to use different rate limit when in suspend/active
Ver 1.6 NFS Changelog (EXPERIMENTAL):
* NFS VERSION HAS THE SAME SAFE PARAMETERS AS THE NON-EXPERIMENTAL VERSION ON BOOT, but probably will generate more heat *
- Same changes as ver. 1.6
- CPU OC possibility to 2.8 Ghz (2808000 mhz)
- GPU OC possibility to 683 mhz
- GPU OC without CPU frequency restrictions
- Spectrum profile "Gaming" OC-ed at 2.7Ghz / 572 mhz
(No support will be given if something goes wrong while using the NFS version! AND don't blame me if you burn something.)
Ver 1.5 Changelog
- updated to Linux 4.4.153
- CRGA ramdisk update
- added UKSM 0.1.2.6
- Possible max CPU OC frequency set to 2704 Mhz
- added darkness and bioshock governors
- added max GPU frequency of 572 mhz
- Some GPU optimizations (slightly a bit more battery life and more performance)
- Set Spectrum balance profile max GPU speed of 455 mhz on boot (better battery life)
- disabled some logging, debugging and tracing
- added NTFS/ISO9660/UDF FS Support
- added Automount FS Manager 4 support
- added more TCP congestion algorithms (bic, reno, cubic, westwood, highspeed, hybla, htcp, wvegas, vegas, scalable, lp, yeah, veno,lia, olia, illinois, balia)
- moved 99killer script to /.phantom folder (in case you need it)
- fixed Spectrum and Mtweaks incompatibility when using both apps
- added SysFS control for printk logger
- updated LZ4 kernel module to LZ4 v1.7.3
- a lot of ramdisk fixes and optimizations
- removed SEC_SELINUX
- added a more efficient RMM lock patch
- added fake FLAGS to help Magisk
- update the installer script from kernel .zip file
... and some other stuff that i don't recall.
seems nice, gonna try after i find a new rom
Did you took it off. It says file not found
Phantom Kernel v.1.4 is up and available for download.
Enjoy!
works pretty well with magisk 16.7
Thx so much for the kernel work
what aout gpu oc?
Motawa88 said:
what aout gpu oc?
Click to expand...
Click to collapse
Maybe, in the next update. If it's stable in testing. No promises.
Sent from my SM-N950F using Tapatalk
very great kernel bro as in the time of note 3
Wifi ist Not working
Benny100 said:
Wifi ist Not working
Click to expand...
Click to collapse
try this e report thanks
ammisr said:
what does it do?
Sent from my SM-N950F using Tapatalk
Click to expand...
Click to collapse
Flash
Wifi fix is working Big THX!
Benny100 said:
Wifi fix is working Big THX!
Click to expand...
Click to collapse
[emoji6][emoji106] WELCOME
Inviato dal mio SM-N950F utilizzando Tapatalk
6h0st kernel for N8. Nice! Used your Know N3 kernel.
TurricanM3 said:
6h0st kernel for N8. Nice! Used your Know N3 kernel.
Click to expand...
Click to collapse
welcome :good:
ammisr said:
This was taken when using v1.4, best SOT i have ever had. almost 7 hours
Sent from my SM-N950F using Tapatalk
Click to expand...
Click to collapse
how long SOT
nevermind didnt see the edit
Battery life test graph:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my SM-N950F using Tapatalk

Categories

Resources