{
"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"
}
Join KudKernel's Hangouts group for tests builds and previews before every new release.
Click here to join.
NOTE: Thread as per v4.1 and may or may not available on last build.
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point your finger at me for messing up your device, I will laugh at you.
*/
FeaturesMain features
Built using I9500XXUHPB3 kernel source
[TW] Built using modified I9500UBUHPG1 ramdisk
[CM] Using AnyKernel2 template for unified support
Compiled using Hyper Toolchain 6.1.x, SaberMod with Uber dependencies
Using -Ofast flag for speed
Full ARM and VFPv4 optimizations
Updated OSRC to version 3.4.5 (proper implementation)
XZ kernel compression
[TW] GZIP ramdisk compression
Included Stericson's latest BusyBox 1.24.2
[TW] SELinux is forced permissive
[CM] SELinux disabled
A7 frequencies unlocked
Kernel debloated from useless features
Optimized and patched kernel source
Key features
Ultra Kernel Samepage Merging (UKSM) support (default: Disabled)
mDNIe screen, CPU voltage, and Wolfson sound control support
Synapse support for screen and audio
Using ARM-optimized SHA-1 and AES crypto routines
HTC's Asynchronous File Sync (Async Fsync)
Init.d support
USB-OTG support
CIFS, NFS support
[CM] F2FS support
L2TP, PPP support
Selectable CPU governors:
ondemand (default), interactive, conservative, performance, alucard, darkness, intelliactive, lionheart, zzmoove
Selectable I/O schedulers:
noop (default), row, cfq, deadline, bfq, fiops, sioplus, tripndroid, zen
Selectable TCP congestion algorithms:
westwood (default), cubic, bic, reno, htcp, highspeed, hybla, vegas, scalable, lp, veno, yeah, illinois
Downloads
v4.0 and newer on AndroidFileHost
Test builds on Dropbox
Installation instructions
Make sure you've the latest version of TWRP or GearCM Recovery.
Reboot to Recovery mode by combination of Power+Home+Vol(+) buttons.
Select Install from TWRP screen.
Select KudKernel .zip file.
Swipe Flash button.
Finally wipe cache and dalvik. (optional)
Reboot to system.
Known issuesDon't report issues that are already listed here.
Kernel status changed from beta to experimental due to some unexpected behavior (continuous FCs, random reboots, etc.). Testers required to test every changes into kernel.
Sometimes, CPU will only bump itself up to 1200-1400 MHz. A normal reboot would fix this.
This kernel will negate any benchmarking app, since most debugging features have been disabled for best user experience.
More to know...
Bug reports without good explanation or logs are ignored.
Request for feature(s) that could break stability aren't accepted.
You're not allowed to include my kernel as your work's default kernel. Instead, please include KudKernel Lite. (coming soon)
Special thanks
Samsung OSRC Team
UBER TOOLCHAINS, SaberMod Team
Linaro Team
CodeAurora Team
@frap129 - Hyper Toolchains
@osm0sis - AnyKernel2 template
@VoLTaqe - Some help
@AndreiLux
@maxfu
@Alberto96
@asad007
XDA:DevDB Information
KudKernel [i9500], Kernel for the Samsung Galaxy S4
Contributors
krasCGQ, asad007
Source Code: https://github.com/krasCGQ/KudKernel-universal5410
Kernel Special Features: See above.
Version Information
Status: No Longer Updated
Current Stable Version: v3.3
Stable Release Date: 2016-07-07
Current Beta Version: v5.0_b2
Beta Release Date: 2016-10-11
Created 2016-06-03
Last Updated 2016-11-07
Status & known issues
Totally rebased from a clean source.
Compiled using Linaro GCC 6.1.1 instead of Hyper 6.1.x SMxU which I used before on my v1.0-v4.1 kernel releases.
Synapse support is removed from the kernel. Use this script by @vishal thakar from now and so on. All bugs and issues regarding Synapse (except for errors due to unimplemented features) should be reported on that thread.
Negative Toggle seems do nothing when triggered. (probably won't be fixed)
[SRTIKE]Kernel booted, but would freeze in a minute or so, probably something went wrong with my new commits...[/STRIKE] | Fixed in v5.0_b2
Update logsLast release:
v5.0_b2 (see some latest pages)
Older releases:
v4.1 [29-08-2016]
Would be written later. (couldn't remember...)
v4.0 [25-08-2016]
Rebased using I9500XXUHPB3 kernel sources
Using full ARM, VFPv4, and NEON optimizations
Included Stericson's latest BusyBox 1.24.2
Reverted kernel version to 3.4.5
Added new CPU governors: darkness, lionheart, zzmoove
Added new I/O schedulers: bfq, row
Added I/O read ahead and swappiness tweaks (might be overridden by kernel tuning app)
Added Wolfson sound control
Fixed init.d again
(Finally) Fixed Private Mode again
Disabled Android Logger
Disabled WiFi scanning on boot
Disabled UKSM by default
Disabled useless stuffs
Disabled some more debugging stuffs
Removed sio I/O scheduler
Tweaked UKSM to be more quiet
Optimized kernel, check GitHub repo for changes.
v3.3 [07-07-2016]
Re-enable all TCP congestion algorhythms
v3.2 [07-07-2016]
Patch again the kernel to 3.4.10
Compiled with NEON optimization
Added tripndroid I/O scheduler (a bit unstable)
Added Async Fsync from HTC
v3.1 [06-07-2016]
Reverted kernel patch to 3.4.5
Added sioplus I/O scheduler
Set noop as default I/O scheduler
Some ramdisk tweaks:
- Threw away Knox related commands
- Deleted 'force-set' cfq as default I/O scheduler
- Put KudScripts execution command into init.rc instead of init.extra.rc (but KudScripts.sh itself is on /sbin)
v3.0 [05-07-2016]
Added mDNIe screen control support
Added CPU Voltage control support
Fixed ext4 issues
Fixed init.d support (it was broken on all versions before)
Disabled "Add Random" and "I/O Stats"
Disabled almost all debugging stuffs to improve performance
Disabled powersave and userspace CPU governors (useless)
Tweaked UKSM (using init script inside ramdisk) to use lower CPU resources (20%)
Changed ramdisk compression to LZO
v2.1m [27-06-2016]
Kernel compiled using Hyper Toolchain 6.1.x, SaberMod with Uber dependencies
Enforce the permissive SELinux (unchangeable anymore!)
Removed -fgraphite flag (it's useless I think)
v2.0 [19-06-2016]
Unlocked all lower A7 frequencies
Added UKSM support (using version 0.1.2.3)
Added alucard and intelliactive CPU governors
Added fiops, sio, and zen I/O schedulers
v1.1 [05-06-2016]
Fixed Private Mode
Enabled USB-OTG support
v1.0 [03-06-2016]
Initial release.
Configuring KudKernel
The latest version of Kernel Adiutor-Mod by @Yoinx is recommended.
If you don't know what would you use when tweaking the kernel features, this guide by @gsstudios will help you much, thanks to the detailed information available.
Note:
If you proceed to keep use the original Kernel Adiutor, some of these informations aren't available or may be different because all informations I write are for KA-Mod app. | No longer applicable as the latest version of the official KA has most KAM features implemented, except SELinux things and Android logger.
CPU
CPU frequencies selection are combined, means that it would applies to either A7 or A15 cores. If power saving mode is on, maximum frequency is limited up to 1200 MHz whatever value greater than 1200 MHz is set.
CPUFreq policy for A7 cores:
100 = 200 MHz
150 = 300 MHz
200 = 400 MHz
250 = 500 MHz
300 = 600 MHz
350 = 700 MHz
400 = 800 MHz
450 = 900 MHz
500 = 1.0 GHz
550 = 1.1 GHz
600 = 1.2 GHz
650 = 1.3 GHz (not enabled)
If you prefer some performance boosts, interactive and intelliactive governors are recommended, where intelliactive governor could drain your battery life more due to more performance bias.
Alucard governor might be better for our CPU as a battery saving governor, either this is bug or not, CPU could only use A7 cores - up to 1.2 GHz - (any CPU monitor would read this as 600 MHz). But, to be honest, alucard governor is working correctly on my ZenFone 2 ZE551ML.
If you prefer the balance between performance and battery life, leaving ondemand as default governor is enough. If you're careless, then try to adjust interactive governor to make the governor more balanced. If you're success, post your value and I'd add it here.
CPU Voltage
This is a dangerous feature. Don't tweak the voltage 'as you like'! Instead, use Global Offset and lower the voltage by (up to) 50 mV. Too low or too high voltage will render your device unusable.
Screen
You could only tweak mDNIe global controls to enable Register Hook and/or Master Sequence.
I/O Scheduler
I'd only tell about read-ahead value. For me, 128 kB is recommended for stability. 1024-2048 kB could be used on most common phones and SD cards, but beware that not all SD cards support high read-ahead value and could damage the SD cards themselves! Be sure that you've a good-quality SD card. Rest of the menus are understandable by yourself.
Kernel Samepage Merging
On my kernel KSM has been replaced by UKSM, which is an improvement over KSM. UKSM is enabled by default here. Sleep between scans will tell KSM to give a time delay before the next scan is performed. This value could be set between 0 ms (no delay) and 5000 ms (5s). Higher the value, less scans are performed, but I don't recommend to set it to 0 ms. The default is 100 ms.
Another value is the maximum CPU usage that would be used by UKSM to perform scans. Most users should set this value to 5-20% (default: 20%) unless you're know what are you doing.
Low Memory Killer
As the name suggests, this would tell Android to kill apps when the device's RAM is low. Leaving this setting on it's default parameters is more than enough, unless you're know what are you doing here because there is a risk if you set it to nearly zero that it would call Out of Memory killer instead that would possibly crash your device.
Virtual Memory
Won't say much, as it's already explained on the kernel app itself. But, I should give you a note, that disabling Dirty Ratio would decrease your battery life a lot, since your CPU will be mostly bumped at the highest frequency!
(Kernel) Entropy
This Wikipedia article would tell you much.
Misc Controls
Please be noted that I forced this kernel to running over Permissive SELinux, so Toggle SELinux button will never work. Android logging could be disabled also via this option, but only applies on current session even after Apply on Boot is enabled.
zzmoove Predefined ProfilesI take these profiles list directly from cpufreq_zzmoove_profiles.h, but I clean it up to save some space.
Code:
currently available profiles by ZaneZam and Yank555:
(1)'def' -> Default -> will set governor defaults
(2)'ybat -> Yank Battery -> a very good battery/performance balanced setting
DEV-NOTE: highly recommended!
(3)'ybatext'-> Yank Battery Extreme -> like yank battery but focus on battery saving
(4)'zzbat' -> ZaneZam Battery -> a more 'harsh' setting strictly focused on battery saving
DEV-NOTE: might give some lags!
(5)'zzbatp' -> ZaneZam Battery Plus -> NEW! reworked 'faster' battery setting
DEV-NOTE: recommended too!:)
(6)'zzopt' -> ZaneZam Optimized -> balanced setting with no focus in any direction
DEV-NOTE: relict from back in the days, even though some people still like it!
(7)'zzmod' -> ZaneZam Moderate -> NEW! setting based on 'zzopt' which has mainly (but not strictly only!) 2 cores online
(8)'zzperf' -> ZaneZam Performance -> all you can get from zzmoove in terms of performance but still has the fast
down scaling/hotplugging behaving
(9)'zzinz' -> ZaneZam InZane -> NEW! based on performance with new insane scaling active. a new experience!
(10)'zzgame' -> ZaneZam Gaming -> NEW! based on performance with scaling block enabled to avoid cpu overheating during gameplay
(11)'zzrelax'-> ZaneZam Relax -> NEW! based on moderate (except hotplug settings) with relaxed sleep settings
NOTE: be aware when setting tuneables which have a 'should' in comments below that giving
them 'wrong' values can lead to odd hotplug behaving!
Script tweaksUntil Synapse support is available, all tweaks to some features will be done via init.d script instead.
Code:
#!/system/bin/sh
# KudKernel script tweaks
# by krasCGQ @ xda-developers
##################################################
# Set environment variables
SND=/sys/class/misc/wolfson_control/
SCR=/sys/class/misc/mdnie/
##################################################
# Wolfson sound control
# Headphone amplification
# Left / Right channel volume
# Minimum: 80dB; Maximum: 150dB; Default: 64
echo 64 > ${SND}headphone_left
echo 64 > ${SND}headphone_right
# Mono output
# Values: 0 (Disabled), 1 (Enabled); Default: 0
echo 0 > ${SND}switch_hp_mono
# Speaker amplification
# Main speaker volume
# Minimum: -8dB; Maximum: 16dB; Default: 0.5
echo 0.5 > ${SND}speaker_volume
# Earpiece volume
# Minimum: -8dB; Maximum: 16dB; Default: 0
echo 0 > ${SND}earpiece_volume
# Privacy mode
# Values: 0 (Disabled), 1 (Enabled); Default: 0
echo 0 > ${SND}switch_sp_privacy
# Headphone equalizer settings
# Master switch
# Values: 0 (Disabled), 1 (Enabled); Default: 0
echo 0 > ${SND}switch_eq_headphone
# Band 1 / 2 / 3 / 4 / 5 gain
# Minimum: -12dB; Maximum: 12dB; Default: 0
echo 0 > ${SND}eq_hp_gain_1
echo 0 > ${SND}eq_hp_gain_2
echo 0 > ${SND}eq_hp_gain_3
echo 0 > ${SND}eq_hp_gain_4
echo 0 > ${SND}eq_hp_gain_5
# Speaker equalizer settings
# Master switch
# Values: 0 (Disabled), 1 (Enabled); Default: 1
echo 1 > ${SND}switch_eq_speaker
# Band gains
# Minimum: -12dB; Maximum: 12dB
# Band 1 gain
# Default: 11
echo 11 > ${SND}eq_sp_gain_1
# Band 2 gain
# Default: -7
echo -7 > ${SND}eq_sp_gain_2
# Band 3 gain
# Default: 4
echo 4 > ${SND}eq_sp_gain_3
# Band 4 gain
# Default: -10
echo -10 > ${SND}eq_sp_gain_4
# Band 5 gain
# Default: 0
echo 0 > ${SND}eq_sp_gain_5
##################################################
# Screen controls
# Negative toggle
# Values: 0 (Disabled), 1 (Enabled); Default: 0
echo 0 > /sys/module/cypress_touchkey/parameters/mdnie_shortcut_enabled
# Smearing fix
# Minimum: 0; Maximum: 5; Default: 0
echo 0 > ${SCR}black_increase_value
# Brightness reduction
# Minimum: 0; Maximum: 128; Default: 75
echo 75 > ${SCR}brightness_reduction
# Brightness takeover point
# Minimum: 0; Maximum: 64; Default: 30
echo 30 > ${SCR}brightness_takeover_point
# Auto-brightness input delta
# Minimum: 0; Maximum: 64; Default: 20
echo 20 > ${SCR}brightness_input_delta
# Edge enhancement
# Master control
# Values: 0 (Disabled), 1 (Enabled); Default: 0
echo 0 > ${SCR}hook_control/s_edge_enhancement
# Enhancement control (Amount / Radius / Threshold)
# Minimum: -128; Maximum: 128; Default: 0
echo 0 > ${SCR}hook_control/de_positive_e
echo 0 > ${SCR}hook_control/de_positive_f
echo 0 > ${SCR}hook_control/de_positive_b
# Chroma saturation weight
# Minimum: 0; Maximum: 40; Default: 9
echo 9 > ${SCR}hook_control/cs_weight
# Red / Green / Blue / Yellow / Cyan / Magenta gains
# Minimum: 0; Maximum: 20
# Red gain
# Default: 18
echo 18 > ${SCR}hook_control/cs_red
# Green gain
# Default: 14
echo 14 > ${SCR}hook_control/cs_green
# Blue gain
# Default: 16
echo 16 > ${SCR}hook_control/cs_blue
# Yellow gain
# Default: 19
echo 19 > ${SCR}hook_control/cs_yellow
# Cyan gain
# Default: 10
echo 10 > ${SCR}hook_control/cs_cyan
# Magenta gain
# Default: 16
echo 16 > ${SCR}hook_control/cs_magenta
You could modify it if you want. Save as 01-kudscript.sh and put it on /system/etc/init.d/.
Thanks! Will test!
@krasCGQ Woh! if u fix private mode work on this kernel and add USM USB mode, ill use this kernel.
This will certainly be the best kernel for i9500 (tw).
As you did to update the kernel without errors? just edit some zip if you want to make a flasheable later.
robsonsilva said:
This will certainly be the best kernel for i9500 (tw).
As you did to update the kernel without errors? just edit some zip if you want to make a flasheable later.
Click to expand...
Click to collapse
I've done about 30+ builds before I managed to release v1.0. I got some boot problems before.
I wanted to set interactive as the default governor but after the screen is off I can't turn it back on (it rebooted instead) so I revert it back to ondemand. Applying it via KA doesn't affect either.
I think I would keep it as a solid .img instead because I'm sure most of users are using TWRP now.
PS: I've even ignored my kernel update for j2lte just to release the i9500 version one. My brother is also got mad to me because I used the shared computer for a prolonged time in 3 days and use my phone (that he often use too) just to doing here and there to release this kernel.
----
Anyone who could tell me how to fix the Private mode could PM me. Thanks in advance.
Sent from my ASUS_Z00A using XDA Labs
krasCGQ said:
I've done about 30+ builds before I managed to release v1.0. I got some boot problems before.
I wanted to set interactive as the default governor but after the screen is off I can't turn it back on (it rebooted instead) so I revert it back to ondemand. Applying it via KA doesn't affect either.
I think I would keep it as a solid .img instead because I'm sure most of users are using TWRP now.
PS: I've even ignored my kernel update for j2lte just to release the i9500 version one. My brother is also got mad to me because I used the shared computer for a prolonged time in 3 days and use my phone (that he often use too) just to doing here and there to release this kernel.
----
Anyone who could tell me how to fix the Private mode could PM me. Thanks in advance.
Sent from my ASUS_Z00A using XDA Labs
Click to expand...
Click to collapse
nice to see u here after so many helpful posts at s4 forums.
all the best:good:
and for private mode contact @VoLTaqe , if he has enough time to reply you he will surely help you.
Wow! Glad to see you participate on S4 development party. Hope great features comes very soon to your kernel.
Good luck bro
Sent from my Galaxy S4
You will find plenty to add to the kernel here. Good luck.
https://github.com/maxfu/android_kernel_samsung_exynos5410/commits/master
Is it possible to add Synapse support?
Aakash Kaushal said:
Is it possible to add Synapse support?
Click to expand...
Click to collapse
If I could, I'll add. Reading Synapse wiki makes me more confused.
Sent from my ASUS_Z00A using XDA Labs
krasCGQ said:
If I could, I'll add. Reading Synapse wiki makes me more confused.
Sent from my ASUS_Z00A using XDA Labs
Click to expand...
Click to collapse
Maybe voltaqe will help you in this issue bcz he is the only one,who knows about synapse scripts.
Change init.container.rc from my ramdisk and it will fix your private mode problem. About default governor do not change from default governor parameter .defconfig change with .sh and it will set some needed parameter with ondemand and change with interactive. Good luck
VoLTaqe said:
Change init.container.rc from my ramdisk and it will fix your private mode problem. About default governor do not change from default governor parameter .defconfig change with .sh and it will set some needed parameter with ondemand and change with interactive. Good luck
Click to expand...
Click to collapse
Wow, you come on the right time!
About the default governor, I think I won't change it anymore. Tweaking with KA is more than enough.
Thanks, Volt!
Sent from my ASUS_Z00A using XDA Labs
someone can make this fllashable for recoverys ,or can i convert to tar file to install via odin?
Ngadhnjim said:
someone can make this fllashable for recoverys ,or can i convert to tar file to install via odin?
Click to expand...
Click to collapse
Use flashify man
Sent from my SM-A710F using XDA-Developers mobile app
kios19 said:
Use flashify man
Sent from my SM-A710F using XDA-Developers mobile app
Click to expand...
Click to collapse
yeah everything is good i use img to tar converter and installation on kernel is ok thenks man
Hi, folks!
You may have noticed that I've uploaded v1.0 and v1.1 on DevDB downloads section.
v1.1 is actually released yesterday, but for some reason I upload it today. For now, v1.1 is only available on DevDB downloads section. There are two files: .img and .zip. I want to monitor what would you like to prefer by viewing download counts on both versions.
My job is done here for now. I'd switch to j2lte development or j2lte people will get mad at me!
Enjoy!
Related
{
"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"
}
banner by jonas2295
==[ncx_3.14_AOSP]==
==[ncx_3.14_SENSE]==
Based on HTC Source: 3.14.401.27
HOWTO REPORT ERRORS -> THE RIGHT WAY
-) YOU need to provide me the following information, otherwise I´m not able to help:
-) On wich ROM you are
-) Wich Kernel and wich modules did you flash
-) ALWAYS provide a last_kmsg AND a logcat (you dont know how to do that ? Use google or search here in this forum, its posted nearly everywhere)
-) posts like "XYZ feature on ROM XYZ does not work" will be ignored (what should i do with that information ???)
CHANGELOG (old versions) & KERNEL FEATURES
Code:
[B]ncx-314_v1[/B]
-initial release
[B]ncx_314_v3[/B]
-attempt to fix sound and bluetooth
[B]ncx_314_v4[/B]
- fixed audio
[B]ncx_314_v5[/B]
-fixed hotplugging (all governors should work now, all CPUS came online @ bench)
-added VOLUME WAKE (be sure to enable it in ROM too)
-fixed multitouch
[B]ncx_314_v6[/B]
-fixed cpu governor change issue
-all cpus use now the same governoDONT FLASH ON SENSEr
-added USB fastcharge
[B]ncx_314_v7[/B]
-added Voltage control
-GPU now @ 520 MHZ (please test), Also 484MHz and stock is added in code so i can compile in no time (plan to provide 3 versions)
-some compiler cleanups (only important for me, user aren´t affected from this)
[B]ncx_314_v8[/B]
- fixed GPU scaling, sorry guys now it scales up to 520 :) just tested
[B]ncx_314_v9[/B]
- raised gpu low freq to 250MHz
- enjoy a new level of UI smoothness :)
[B]ncx_314_v11_b[/B]
- added bfq I/O sched
- set bfq to default sched
- added cfq I/O sched
- added deadline I/O sched
- tweaked deadline
[B]ncx_314_v13[/B]
- fixed setting ondemand and bfq on boot
- patchset to fix light sensor issues on AOSP (thx Thömy)
- integrated s2w -> finally :p
[B]ncx_314_v13_c[/B]
- fixed starting apps and not booting issue
[B]ncx_314_v14[/B]
- enabled KSM
- AUDIO FM FIX from tbladen
- tweaked deadline more
- tweaked lowmemory killer
[B]ncx_314_v15[/B]
- fix button backlight lag (thx tbalden)
- UMS read-only mode fixed to Read-Write (Usb mass storage works correctly now, also here -> thx tbalden
[B]ncx_314_v16[/B]
- disabled interactive on early suspend (solves the issue that 2 different govs are used on resume)
- added n3ocold governor (peqasusq port)
[B]ncx_314_v16c[/B]
-solved reboot issue when switching to n30c0ld governor (thx max for teaching :) ) -> Attention: its still buggy, it stays on the freq thats online when switching (no up down scaling) [B]DONT SWITCH TO IT, ITS ONLY FOR ME AND MAX FOR DEBUGGING
-added smartmax governor from maxwen :)[/B]
[B]ncx_314_v16d[/B]
- fix to get cpu out of g mode in LP mode (thx for pm max)
- sound cleanups
[B]ncx_314_v17b[/B]
- replaced nv hotplugging with mpdecision (thx, showp-1984, maxwen)
- Disable OS check for the mass storage gadget, thx at thömy :)
[B]ncx_314_v18[/B]
- MERGE a pull request by LorD ClockaN:
- tegra_pcm -> supports audio up to 32 bit
- Spirit FM fix (untested)
- added smartdimmer (Tripnraver)
- updated graphics driver (Tripnraver)
- set core to 0,95V on LP1 (Tripnraver)
- added a GPU OC Interface (you are now able to choose ur GPU speed on your own)
- standard GPU clock is still 520 MHz (info how to change will be available in 3rd Post of this Thread)
[B]ncx_314_v20c_AOSP AND SENSE[/B]
-added SIO IO sched
-added ROW IO sched and set default (great perfromance)
-updated maxwens smartmax-gov to latest version
-UV´ed core_vdd (GPU,EMC,AVP, LP) -50mV by default as I did in old base
[B]ncx_314_v21_AOSP AND SENSE[/B]
- Added and enabled JRCU
- latest interactive governor from XMISTER (3.4 baseline + optimizations from XMISTER -> great Job, awesome dude :) )
- set smartmax a bit more aggressive (but still the best for battery)
- no more replug of fastcharge needed (thx maxwen)
- battery life should improove with this version while containing power also
- SENSE Ramdisk from latest RENOVATE ROM, AOSP RAMDISK from latest CM10.1 (every AOSP build use this atm)
[B]ncx_314_v21b_AOSP AND SENSE[/B]
- hopefully freezes and bootloops are gone
[B]ncx_314_v22_AOSP AND SENSE[/B]
- added CPU HARDCAP (seting freq with every app works now), thx to maxwen, xmister, nik3r, kozmikkick, showp-1948, faux, TripnRaver
- added ZRAM
- removed buggy governors perfromance and powersave
- switch from KSM to UKSM
- slow button backlight notification patch from tbalden and thoemy out of gerrit :)
[B]ncx_314_v23_AOSP AND SENSE[/B]
-set bootup freq to 1300 MHZ (best for smoothness and power)
-switched to CPUQUIET hotplugging
-enabled SWAP and ZRAM (double checked both now)
- be sure to run this script for working SWAP and ZRAM (thx again Kozmikkick): [url]http://d-h.st/tIH[/url] place it in etc/init.d folder or run it manually
[B]ncx_314_v24b_AOSP AND SENSE[/B]
-updated wifi drivers to 03.SP3 (thx TI :p, and kozmickkick for finding out )
-added touchdemand governor
-added intellidemand governor
-gave a bit more responsivness to intellidemand
-added sysfs interface for changin min audio freq while screen on (for the stutter guys) (thx maxwen)
-cpuquiet: added LP hysteresis and logging (thx maxwen)
-cpuquiet: LP hysteresis update (thx maxwen)
- fixed missing I/O Scheds
[B]ncx_314_v25c_AOSP[/B]
- added batterymax governor (smartmax governor with xtreme battery settings)
- dont excpect huge perfromance from batterymax its only for battery
- patched to 3.18 source (still need feedback about WIFI on sense)
special thanks here to maxwen... OneX wouldnt be that way without this guy !
[B]ncx_314_v26_AOSP and SENSE[/B]
- updated video drivers from Tegra Reference (thx for commits xmister and maxwen), should fix video on SENSE
- entropy tweaks :D
- some stability fixes
- try to fix the very rare spinlock bug
[B]n3okernel_v29_AOSP and SENSE[/B]
- audio bt freq boost to 204 MHz
- audio 2 bt sysfs interface (ported from maxwen bcm chip)
- more responsivenes for batterymax
- reduced Qos freq from 910 to 500
- reduced balance level from 60 to 55 (needs testing)
- more aggressive tresholds for EMC (MEM controller) and AVP (Audio Video Processor)
- added early suspend driver to ondemand governor (original implementation by showp-1984)
- fixed min audio sysfs interface for SENSE users
- revert to older wifi drivers for SENSE users (AOSP still has newer :p)
- removed pegasusq governor until debugged
- add and use gmode force (cpuquiet)
- balance play arounds as Tun reported audio lags to me
- renamed kernel to n3okernel instead of ncx_314
- page writback: patch disables the writeback function on screen is on, back when the screen is off to flush all the dirty pages.
- added sysfs interface to choose max LP core freq
- bunch of cleanups, cleanups and even more cleanups
[B]n3okernel_v31d_AOSP and SENSE[/B]
- set readahead to 128kb (better performance)
- button backlight sysfs interface from XMISTER (thx man)
- smartmax updates
- touchdemand updates
- builded with linaro toolchain and its optimizations
- performance and smoothness updates (thx xmister for the reworked dvfs tables, they work better on lower freqs we feel)
- BLN fix
[B]n3okernel_v33_AOSP and SENSE[/B]
- backlight: enable hidden sysfs for color enhance
- Set BLN max value to obey button brightness value
- led: limit BLN brightness to button brightness
- leds:add custom option if slow blink brightness should be limited to button brightness - default is true
- making touchpoke working :) thx maxwen
- smartmax updates
[B]n3okernel_v34_AOSP and SENSE[/B]
- updated smartmax to latest version and all its features :) thx maxwen
- Sense has new Wifi drivers now (report back, if its not working again i revert)
- updates to staging / android
[B]n3okernel_v35_AOSP and SENSE[/B]
- updated bfq sched to v6
- new hashtable from maxwen
- SENSE: BLN should be fixed now, please report back
[B]n3okernel_v36_AOSP and SENSE[/B]
-reverted some spinlock stuff
-proper fastcharge fix (maxwen)
[B]n3okernel_v37_AOSP and SENSE[/B]
- fastcharge fixed (thx maxwen)
- SENSE: reverted multitouch fix, so no more incoming call freeze
[B]n3okernel_v37_SENSE_CALIBRATION_FIX[/B]
-use xmisters synaptics_3200.c with sysfs control from maxwen, thanks buddys :)
[B]ncx_314_v38_AOSP AND SENSE[/B]
- added Double TAP to wake (double tap screen anywhere 2 times to wake device, works only on screen off... lol)
- unfortunatley AOSP only . I hope i get it working on SENSE the next days
[B]ncx_314_v39_AOSP AND SENSE[/B]
-fixup s2w
-revert JRCU (shoud fix deadlocks)
CHANGELOG LATEST VERSION:
ncx_314_v40_AOSP AND SENSE
-leds: fix currents interface
-block: BFQ update to v6r1
-leds: added lux interface and cleanup
-tegra: baseband: added missing mutex_unlock for error cases
-lowmemorykiller: use version from grouper
-touchpad: remove psensor usage if not needed (this probably fixes sense call freeze issues)
-AUTO-BLN should be fixed now... really
ncx_314_v41_AOSP AND SENSE
-fixed f*** wifi
ncx_314_v42_AOSP AND SENSE
-reverted psensor patch
-AOSP ramdisk updated
ncx_314_v44_AOSP AND SENSE
-import of franciscofrancos hotplug control with some small adjustments
Known issues:
nothing reported
Download Kernel & Modules
=====================================================================================================================
=====================================================================================================================
AOSP (CM, AOKP, PA,...) DOWNLOAD LINKS
n3okernel_v44 BOOT.IMG
n3okernel_v44: MODULES
DONT repack kernel, u will loose stuff necessary for DT2W to work The RAMDISK should boot on every AOSP based ROM in our section
=====================================================================================================================
=====================================================================================================================
SENSE DOWNLOAD LINKS
n3okernel_v44_FIX BOOT.IMG
n3okernel_v44: MODULES
=====================================================================================================================
=====================================================================================================================
Repack needed ?
I always recommend to repack Kernel to the ROM you are using. Dont know how to repack ? There is an online repacker in ONE X Android Development Section!
Or (even is easier) go to TheDroidfanatic´s ncx repack Thread (Big THX) : LINK
Howto install:
-) boot into bootloader
-) fastboot erase cache
-) fastboot flash boot boot.img
-) fastboot erase cache
-) boot into recovery
-) wipe cache, dalvik and battery stats
-) flash modules from .zip
-) reboot into system[/SIZE][/FONT]
Github, GPL, XDA RULES
To be FULLY on the safe side now, full GPL and XDA compliance
LINK TO THE REPO USED FOR COMPILING
LINK TO GLOBAL GITHUB/USER IN CASE SOMEONE WILL HAVE A LOOK ON MY OTHER REPOS
clicking is way easier then deleting a few chars out of the url bar.. isnt it ??
Toolchain used: arm-a9-eabi, self made (maxwen)
Defconfig to use: ap33_android_cpuquiet_defconfig
branch: master
Disclaimer
-) I am not responsible for bricked devices
-) you do this on your own will
-) If you flash this, your warranty will be void
CREDITS
Code:
[B]maxwen [/B]for changing governor solution, sound fix, s2w port, fast charge and great support (awesome buddy)
[B]nik3r [/B]for s2w port
[B]tripnraver [/B]for volume fix
[B]faux123 [/B]for voltage control
[B]Xmister [/B]for pointing me in right direction for hotplug solution, s2w commit
[B]whole ICJ Team[/B] which support me where they can, you guys rock
[B]pabx [/B]from AOSP ROM, [B]tbalden [/B]from CM10.1 ROM (great guys, help where they can)
[B]showp-1984[/B] for great support, s2w and getting me started on Github
[B]franciscofranco [/B]for GPU OC interface of old base
[B]TUN_SD[/B] for providing our awesome Server
[B]Everyone [/B]whos helping in an other way (contributors, Thread residents)
DONT flash kernel, before reading stuff mentioned below:
-) THIS is not chic IPHONE stuff, you should have some basic knowledge on how to do some things on ANDROID.
-) You encounter an error ? Ok, i will look into it, but you have to follow the rules:
-) ALWAYS tell me following stuff: wich ROM ?, wich KERNEL, UNDERVOLTED ? , wich GOVERNOR used ?
-) You should also provide following stuff so i can look into the issue further:
-) last_kmsg, logcat (you dont know how to get thos files or dont even know what this is ? Ok i will tell you:
-) last_kmsg: connect phone with usb, open up a shell in linux or a CMD in windows, cd to your adb directory and write this: cat /proc/last_ksmg > /sdcard/last_ksmg.log
-) grab the file from your sdcard and provide it to me
-) logcat: This is easier for lazy people, download alogcat app from playstore, fire it up, and extract out the log. Also provide this to me.
-) repack kernel for your ROM with the following online repacker: www.nibble.cc/repack
-) posts like "I had a reboot" or "phone crashed" without proper information will be ignored
Frequently asked questions, answered here:
Q: My music slows down on AOSP builds with ncx Kernel, what can i do ?
A: Switch to interactive governor, known issue on AOSP JB and ICS builds
Q: My freqs reseted back after screen off, I´m on a JB build, what can I do ?
A: Delete the following file out of your ROM: system/lib/hw/power.endeavoru.so. Then reboot ! Done -> they will not go back
Q: Where is sweep2wake ? Is it integrated ? Is it planned ?
A: I think about it, when i did all other stuff thats more important to me !
Q: My phone freezes, what should I do ?
A: Dont undervolt that much. To be sure, provide me last_kmsg and logcat
Q: I had a random hot reboot on JB builds, why this ?
A: All JB builds suffer from it with every Kernel ! Wait until JB is stable, flash ICS or Sense, or buy an Iphone and be a subuser on your own system
Q: When I set freq to 51MHz it jumps back to 102 ? WTH ?
A: Set it to 51MHz in SETCPU, it will jump back to 102MHz -> Thats right, it will use 51MHz when Screen OFF, I want it that way !
Q: WICH app for udnervolting ? WICH app for setting CPU freqs ?
A: Undervolting: SYS TUNER ; CPU Freq setting: SETCPU
Be advised, if you ignore the FAQ, you ignore me, and this will result in ignoring you
so please always provide me necessary information if you want to get your
problem fixed
TUTORIAL FOR UPGRADING HBOOT
LINK
TUTORIAL CHANGING GPU CLOCKS
echo 520 520 520 520 484 400 304 247 > sys/devices/system/cpu/cpu0/cpufreq/gpu_oc (this is default in my kernel)
replace the 520 520 520 520 AND the 484 for example with 416 (if u ar a non gamer). so it would go like this:
echo 416 416 416 416 416 400 304 247 > sys/devices/system/cpu/cpu0/cpufreq/gpu_oc
ATTENTION: the 5th freq is 484 so this has to be changed also into 416 (as it would be higher than max freq set to 416
More examples:
echo 484 484 484 484 484 400 304 247 > sys/devices/system/cpu/cpu0/cpufreq/gpu_oc (this changes it to max 484Mhz)
echo 416 416 416 416 416 400 304 247 > sys/devices/system/cpu/cpu0/cpufreq/gpu_oc (this changes it to max 416Mhz)
The desired max freq MUST be written 4 times, dont ask why.
===========================================================
Or if u want to change the lowest freq:
echo 416 416 416 416 416 400 304 247 > sys/devices/system/cpu/cpu0/cpufreq/gpu_oc
echo 416 416 416 416 416 400 304 304 > sys/devices/system/cpu/cpu0/cpufreq/gpu_oc
this will make the UI probalbly smoother as u set the lowest freq to 304 instead of 247
TUTORIAL USING SMARTDIMMER
- default it´s disabled
- enable: echo "1" > /sys/devices/tegradc.0/smartdimmer/enable
- disable: echo "0" > /sys/devices/tegradc.0/smartdimmer/enable
- changing aggressiveness: echo "#" > /sys/devices/tegradc.0/smartdimmer/aggressiveness
TUTORIAL FOR STICKY FREQS
(maxwen told me yesterday, many thanks to my austrian friend )
If u want to limit your cores to lets say for example 1200 MHZ u can do the following
echo "1200000" > /sys/module/cpu_tegra/parameters/cpu_user_cap
or edit the file manually (root explorer or similar) I tested that and it works. maxwen wants to tell me today more on
this because there is an other way also. All i can say now is that governor settings will always be overwritten
and thats the reason why the freqs wont stick. With that way freqs stick
QUESTION ABOUT WAKELOCKS ?
http://forum.xda-developers.com/showthread.php?t=2167001
SPIRIT FM, HOW IT WORKS
After installing ICJ 2.3_test with your kernel 77, I got spirit fm working by choosing OneX phone type in spirit fm settings. Also unchecked the power restart mediaserver option under its debug settings as there is no need now.
The option is one x/x+ intl, and just to be clear. And it's under settings, method.
CHANGING AUDIO MIN FREQ IF U ENCOUNTER STUTTERS WHILE MUSIC
I quote maxwen here:
echo "640000" > /sys/module/cpu_tegra/parameters/suspend_cap_freq
Attention: this will disable "automatic" LP lock during screen off
so think if you really need it
-configurable min audio frequency limit if you have problems with default 102Mhz
echo 204000 > /sys/module/snd_soc_tlv320aic3008/parameters/audio_min_freq
Re: [PREVIEW_KERNEL]ncx_3.14_JB Kernel_3.1.10 for AOSP & SENSE
first
Can't wait to see what you dev up
Re: [PREVIEW_KERNEL]ncx_3.14_JB Kernel_3.1.10 for AOSP & SENSE
So nice
Sent from my HTC One X using Tapatalk 2
Re: [PREVIEW_KERNEL]ncx_3.14_JB Kernel_3.1.10 for AOSP & SENSE
Waiting for the release
Sent from my HTC One X using xda premium
Re: [PREVIEW_KERNEL]ncx_3.14_JB Kernel_3.1.10 for AOSP & SENSE
You don't waste no time !
I'm looking forward to this next stage on the one x development
Sent from a Blunt smoker
Let the games begin:victory: and let the freaking testing begin to....now i am actually glad i am not working so i can test i know stupid but this makes up for it
Re: [PREVIEW_KERNEL]ncx_3.14_JB Kernel_3.1.10 for AOSP & SENSE
Goku80 said:
Let the games begin:victory: and let the freaking testing begin to....now i am actually glad i am not working so i can test i know stupid but this makes up for it
Click to expand...
Click to collapse
Agreed
Sent from my One X
Goku80 said:
Let the games begin:victory: and let the freaking testing begin to....now i am actually glad i am not working so i can test i know stupid but this makes up for it
Click to expand...
Click to collapse
as said... dont expect anything... I try to provide a testversion on evening but it wont have any features...or maybe... 1 or 2... dont know what my time allows
n3ocort3x said:
as said... dont expect anything... I try to provide a testversion on evening but it wont have any features...or maybe... 1 or 2... dont know what my time allows
Click to expand...
Click to collapse
Neo mate..Take your time....no rush my friend..anyways gtalk is on my sig add me again cause it looks like my gtalk got messed up...
Run Forrest RUN !!!
Let the fun begin
You can't expect the wonders, If you don't dream about them
Re: [PREVIEW_KERNEL]ncx_3.14_JB Kernel_3.1.10 for AOSP & SENSE
Can't wait for this, very exciting
Sent from my HTC One X using xda app-developers app
tomascus said:
Can't wait for this, very exciting
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
i know more testing for me and i can try all the different kernels now for my thread as well....let see if this will beat stock
Cooool!It's time to talk about schedule. What will you do first? OC/UV/governor/GCC 4.7?Can't wait to s..t on my 1x!
JohnYang1997 said:
Cooool!It's time to talk about schedule. What will you do first? OC/UV/governor/GCC 4.7?Can't wait to s..t on my 1x!
Click to expand...
Click to collapse
I talk when i want to ...What i do first: see if it compiles without errors...I have no shed
Mr_S said:
You don't waste no time !
I'm looking forward to this next stage on the one x development
Sent from a Blunt smoker
Click to expand...
Click to collapse
but what we gonna do (with our lives) once we have a perfect phone :laugh:
Take your time,dude. You cool,always!
Re: [PREVIEW_KERNEL]ncx_3.14_JB Kernel_3.1.10 for AOSP & SENSE
Ready ta test here an all mate
Sent from my HTC One X using Tapatalk 2
Now that the kernel source has been released for the latest base, I can't wait for my HOX to return from the repair center. <3
CM10.1 Section
I'm not a developer, im taking effort to put more choices of kernel for our community
There are 2 version v1.1 ( only added governors + vdd interface - voltage adjustable ) and v2.0 ( added with additional features )
Disclaimer
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Features
List of Governors Available :-
- Lulzactive
- Powersave
- SmartAssV2
- interactive
- interactiveX
- conservative
- ondemand
- performance
IO Scheduler
- noop
- deadline
- row
- cfq
- bfq
- sio
- vr
Additional Features
- Compiled with Linaro GCC 4.7.3-2013.09 toolchain optimized for Cortex-A8 cpu with Neon technology support
- CPU voltage control VDD sys interface (voltage adjustable)
- Overclock support
- Added NEON compilation flag to VFP module
- SnapDragon Optimization
- dynamic read-ahead
- frandom
- Lowered display panel voltage
- Lowered wifi voltage
- Increase audio loudness
- Dynamic management of dirty page writebacks credit to Christopher83
- Dynamic Fsync
- Fixed 100% battery notification after charger unplug credits to Christopher83
- LowMemoryKiller management of not killable processes - credits to christopher
- Asynchronous I/O latency to a solid-state disk greatly increased
- CK3 tweaks (Credits to Con Kolivas) - adapted by Christopher
- Snappy Google Zram
- Added 61Mhz and 518Mhz
- Random Tweaks
- Reduce WIFI wakelocks - credits to DerTeufel
- Implement Suspend Freeze (more battery friendly)
- Allowed IPv6 over WIFI in general, we control it in ROM, + no wakelock! (reduce battery consumption)
Explanation of Android Governors
My GitHub
Installation Guide:
1. Reboot To Recovery Mode
2. Wipe Cache & Dalvik Cache
3. Flash the kernel
4. Fix Permissions
5. Reboot (normal boot)
6. Reboot to recovery again
7. Fix permissions again
8. Reboot (normal boot)
Code:
[I]Credit to :-[/I]
- Our Master [URL="http://forum.xda-developers.com/member.php?u=3044346"][B]Arco[/B][/URL] for his kernel source ([I] go press thanks for any posted by arco :D without he, this kernel wont existed[/I] )
- educk for his tutorial and governors
- biagio7xD for extra governors and SnapDragon Optimization
- Christopher83 that helping me teach how to correct the error and advising me and thanks for his new linaro :)
- Xistance for his teaching
- CastagnaIT for his useful sources
- CyanogenMod developers that developing our CM
- Linaro GCC developers let me using this powerful compiler
- hadidjapri hadiconfig (more RAM)
- keff for governors code fixes
- FelixMG for youtube video
- xda-developers.com for all the teaching and members
XDA:DevDB Information
[Kernel][CM10.1][3.4.66] HurtSky's Kernel REV 5 + BFS version 18/10/2013, a Kernel for the Samsung Galaxy W I8150
Contributors
hurtsky
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: REV5
Stable Release Date: 2013-10-18
Created 2013-09-29
Last Updated 2013-10-18
Reserved
DOWNLOAD LINK >>> CLICK HERE !
Changelogs
REV5 BFS 18/10/2013
- add BFS version - Brain F*ck Scheduler
Detail About BFS
The goal of the Brain **** Scheduler, referred to as BFS from here on, is to
completely do away with the complex designs of the past for the cpu process
scheduler and instead implement one that is very simple in basic design.
The main focus of BFS is to achieve excellent desktop interactivity and
responsiveness without heuristics and tuning knobs that are difficult to
understand, impossible to model and predict the effect of, and when tuned to
one workload cause massive detriment to another
- add FIOPS scheduler
REV 5 16/10/2013
- enable unaligned access for LZO
- minor updates
REV 4 15/10/2013
- sync with arco sources and kernel 3.4.66
- revert Add zRAM for Android paging, swap and LMK optimizations
- revert Upstream zsmalloc and zram to 3.9
- update to upstream zcache
- disable Qcache
- enable Zcache
REV 3 14/10/2013
- disable compaction
- use snapdragon optimization
- Compiled with latest Linaro GCC 4.7.3-2013.09 toolchain optimized for Cortex-A8 cpu with Neon technology support
REV 2 13/10/2013
- enable voltage VDD level interface
- enable compaction
- enable Qcache
- Upstream zsmalloc and zram to 3.9
- Add zRAM for Android paging, swap and LMK optimizations
REV 1 12/10/2013
- start from arco latest sources
- redo and remove some commits
- squashed kernel version to 3.4.65[/B]
Old Changelogs
Arco kernel + More Governors + VDD Interface ( Voltage Adjustable )
Code:
[B][I]V1.2[/I][/B]
- sync with arco latest changes
[B][I]V1.1 - Only added with Governors and VDD Interface ( Voltage Adjustable )[/I][/B]
- Lulzactive
- SmartAssV2
- interactiveX
- Hyper Governor
- CPU voltage control VDD sys interface
Added with Additional Features (Main post)
Code:
[B][I]V2.7[/I][/B] 31/8/2013
- squashed update to 3.4.60
- Added Snappy Google Compression Zram
- Some Update From Android Common Sources
- Add 61Mhz and 518Mhz
- Add Random Tweaks
[B][I]V2.6[/I][/B] 7/8/2013
- squashed update to 3.4.56
- Block: ROW i/o updates
- Implement Suspend Freeze (more battery friendly)
- Reduce WIFI wakelocks - credits to DerTeufel
- Add Revert LCD commit
- Updated RAMDISK scripts - credits to Christopher83
[B][I]V2.5 [/I][/B]24/7/2013
- start from scratch due to accidentally delete repo
- squashed update 3.4.54
- Built with latest custom Linaro 4.7.4-2013.07 toolchain optimized for Cortex-A8
- implement Dynamic management of timer slack - credits to christopher
- implement LowMemoryKiller management of not killable processes - credits to christopher
- Asynchronous I/O latency to a solid-state disk greatly increased
- CK3 tweaks (Credits to Con Kolivas)
- updated power management sources
- updated voltage regulation
- revert to normal RAM size
- frandom fix again
[B][I]V2.4 [/I][/B]25/6/2013
- sync with arco latest repo 3.4.50
- frandom fix - credits to keff
[B][I]V2.3[/I][/B] 15/6/2013
- sync with arco latest repo 3.4.49
- Added Dynamic management of dirty page writebacks credit to Christopher83
- Added Dynamic Fsync from erik96
- fix Frandom
- RWSEM optimizations from faux123 - credit to eriks96
- Optimized SLUB memory allocator
- Fixed 100% battery notification after charger unplug credits to Christopher83
[B][I]V2.2[/I][/B] [B]normal and big mem[/B] 29/5/2013
- sync with arco latest kernel 3.4.47
- based on CM10.1 alpha 6
- using hadi config 378 and normal RAM
- Revert Old audio loudness into Increased audio loudness (from Skywalker) (rev 2)
[B][I]V2.1[/I][/B]
- sync with arco latest updates
[B][I]V2.0[/I][/B]
- Added CPU voltage control VDD sys interface
- OverClock Support
- Sync with arco latest kernel's updates
[I][B]V1[/B][/I]
- Sync with latest arco's kernel version (3.4.43)
- SnapDragon Optimization
- 370mb Ram
- dynamic read-ahead
- frandom
- Added NEON compilation flag to VFP module
- Lowered display panel voltage
- Lowered wifi voltage
- Increase Audio Loudness
- Added Extra Governors ( Lulzactive, SmartAssV2, Hyper, InteractiveX )
- Added I/O Scheduler ( SIO & VR )
- dynamic read-ahead
All start on boot default for - Dynamic management of timer slack , LowMemoryKiller management of not killable processes Already been removed !
- USE PERFORMANCE CONTROL to enable it > http://forum.xda-developers.com/showthread.php?t=2401988
Settings of The Available Features
partly been taken from Christopher explanation thread - http://forum.xda-developers.com/showthread.php?t=2172148 all credit go to Christopher83 please thank he for prepare this detail of function
LowMemoryKiller management of not killable processes
This feature allows 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.
This feature exposes four new lowmemorykiller parameters:
- donotkill_proc, is the flag to enable / disable this feature for the processes chosen by the user
- donotkill_sysproc, is the flag to enable / disable this feature for the system processes chosen by the user
- donotkill_proc_names, is the list of process names (comma separated) chosen by the user to be preserved from killing
- donotkill_sysproc_names, is the list of user system process names (comma separated) chosen by the user to be preserved from killing
When 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.
How to customize the white lists of processes to preserve from killing:
On HurtSky's Kernel the feature is enabled by default and the provided processes white lists are the following:
- donotkill_proc_names = "com.cyanogenmod.trebuchet,com,android.inputmethod.latin"
this means that Trebuchet Launcher,stock keyboard will be preserved from killing
- donotkill_sysproc_names = "android.process.acore,com.android.phone,com."
this means that the system process, the phone process will be preserved from killing
1) By using a customized init.d script (the custom value will be always restored after a reboot, if you don't format the system partition)
- Download the script named 80dnkp
- If the file has been saved with .txt extension (stock browser), rename it by removing the .txt extension
- Edit the file by setting your preferred status and processes list
- Copy the new file inside /etc/init.d
- Give the rwxr-xr-x permissions to the file (read, write, execution for owner, read and execution for group users, read and execution for others)
- Reboot
2) By directly editing the files inside /sys/module/lowmemorykiller/parameters (note that set values will be lost after a reboot/shutdown)
3) By using Terminal Emulator (note that set values will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run these commands if you want to enable the feature
Code:
# To enable this feature for the processes chosen by the user
echo 1 > /sys/module/lowmemorykiller/parameters/donotkill_proc
# To enable this feature for the system processes chosen by the user
echo 1 > /sys/module/lowmemorykiller/parameters/donotkill_sysproc
- Run these commands if you want to disable the feature
Code:
# To disable this feature for the processes chosen by the user
echo 0 > /sys/module/lowmemorykiller/parameters/donotkill_proc
# To disable this feature for the system processes chosen by the user
echo 0 > /sys/module/lowmemorykiller/parameters/donotkill_sysproc
- Run this command if you want to add, for example, Trebuchet Launcher (CM default launcher) and the default keyboard to the processes white list
Code:
echo "com.cyanogenmod.trebuchet,android.inputmethod.latin" > /sys/module/lowmemorykiller/parameters/donotkill_proc_names
- Run this command if you want to add, for example, the system process, the phone process and DSP Manager to the system processes white list
Code:
echo "android.process.acore,com.android.phone,com.bel.android.dspmanager" > /sys/module/lowmemorykiller/parameters/donotkill_sysproc_names
Click to expand...
Click to collapse
FEEDBACK from users
LeroViten said:
Well, as Mr @hurtsky once asked, I tried the kernel and now I'm back to report about the battery consumption.
First of all, I'm overexcited to announce that the performance is great! Music is loud and without any lag.
I used my Wonder a lot with WiFi and GPS enabled while on Maps and navigation. I surfed the net a lot especially XDA Forum via Tapatalk and listened to music for about 2.5 hours. I don't have Greenify or DSBS installed. I didn't turn off sync of Twitter, Facebook and Instagram accounts.
And my battery consumption is:
{
"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"
}
All I can say:
Holly sh*t..!!! :thumbup:
Thanks you @hurtsky for your reborn kernel. :beer:
Sent via my Reanimated Wonder using Tapatalk 4
Click to expand...
Click to collapse
Click to expand...
Click to collapse
BUGS ?
Some users reported that incoming call abit slower to wake
- this just because updated of suspended , it make the wake up abit slow but it help reducing power consumption
Audio lag ?
- change your governors from lulzactive to another governors - if you want hear song while screen off change the governors only during screen of
- use third application, change the frequency table to more higher and change also the screen_off_min_step = 5 and do restart.. this will cost you more battery..
Click to expand...
Click to collapse
first..
im waiting you bro
thanks
abeeennng said:
first..
im waiting you bro
thanks
Click to expand...
Click to collapse
thanks you can try it now
@hurtsky can you add arco pure kernel + more governors + CPU voltage control VDD sys interface, just like you do in cm10.1 kernel before?
jiunks said:
@hurtsky can you add arco pure kernel + more governors + CPU voltage control VDD sys interface, just like you do in cm10.1 kernel before?
Click to expand...
Click to collapse
i will try
hurtsky said:
Changelogs
Code:
[I][B]V1[/B][/I]
- Sync with latest arco's kernel version (3.4.43)
- SnapDragon Optimization
- 370mb Ram
- dynamic read-ahead
- frandom
- Added NEON compilation flag to VFP module
- Lowered display panel voltage
- Lowered wifi voltage
- Increase Audio Loudness
- Added Extra Governors ( Lulzactive, SmartAssV2, Hyper, InteractiveX )
- Added I/O Scheduler ( SIO & VR )
- dynamic read-ahead
Click to expand...
Click to collapse
btw what the governors recommend??
Sent from my GT-I8150 using xda premium
thnks
hurtsky said:
i will try
Click to expand...
Click to collapse
Thanks alot hurtsky
Sent from my GT-I8150 using Tapatalk 2
Does this kernel support OC and UV using IncrediControl ???
Sent from my GT-S6500 using xda app-developers app
TiTAN-O-One said:
Does this kernel support OC and UV using IncrediControl ???
Sent from my GT-S6500 using xda app-developers app
Click to expand...
Click to collapse
It's not OV'ed yet! I guess mister HurtSky is planning this, right?
LeroViten said:
It's not OV'ed yet! I guess mister HurtSky is planning this, right?
Click to expand...
Click to collapse
yup not yet OV and UV still in testing that both features
sagaracipta said:
btw what the governors recommend??
Sent from my GT-I8150 using xda premium
Click to expand...
Click to collapse
yes same question.
what governors and i/o recommended?
mohdezwandy said:
yes same question.
what governors and i/o recommended?
Click to expand...
Click to collapse
Hmm, Lulzactive and row for me... Dunno bout u, just sharing
Sent from my GT-S6500 using xda app-developers app
TiTAN-O-One said:
Hmm, Lulzactive and row for me... Dunno bout u, just sharing
Sent from my GT-S6500 using xda app-developers app
Click to expand...
Click to collapse
for now i'm using hyper and row.
just want to know the recommend.
sorry to ask, but what's the advantage of a 3.4 kernel? Is it much faster?
speedfreak007 said:
sorry to ask, but what's the advantage of a 3.4 kernel? Is it much faster?
Click to expand...
Click to collapse
Kernel 3.4 is a default kernel of JB just like 2.6 for GB and 3.0 for ICS. So to say, we put thing where they belong to...
Sent from my GT-I8150 using xda premium
Updated to new version + added kernel with only governors + vdd interface.
hurtsky said:
Updated to new version + added kernel with only governors + vdd interface.
Click to expand...
Click to collapse
What is VDD interface?
Sent Via MONSTER V8
Hi man, I present you a new kernel based on Titanium-Kiss and sync with arco's ics sources of linux 3.0.101.There are many new features.
(Because of my poor English,So I just used some describtions from K^Kernel [KERNEL][3.0.99][ICS] K^Kernel 3.0.99 v2.6 for ICS [10/10/2013])
Thanks For:
- maxwen,used his Titanium-Kiss as based
- Acro,Thanks for his sources for msm7x30 ics 3.0
- Christopher83,I learn a lot from His thread and souces.
Attension:
It's For Sense Now.Will Support CM10 in the future.
Advanced-3.0.101 is based on GoogleSouce(Here) and Acro's ICS 3.0 source (Here) and more experimental features.
Stable-3.0.16 is based on Titanium-Kiss (Here,almost htc stock sources) with stable features
The main features are the following:
Kernel 3.0.x sources synched with ics-3.0 repo of Arco68(Here)
Built with my custom Linaro 4.7.4-2013.09 toolchain optimized for Cortex-A8
Built with Cortex-A8 and NEON VFP optimization flags (both kernel and modules)
Built with -O2 optimization flag for kernel image and -O3 optimization flag for modules
CPU overclockable up to 2048 MHz
CPU frequencies undervolted (UV version)
CPU voltage control VDD sys interface
376MB(Advanced)/356MB(Stable) of free RAM
Init.d support
Fast Charge support (default disabled)
Ram Console support (click for more details)
USB OTG support (if also implemented on rom side)
Increased CPU frequency during boot
Optimized AES and SHA1 routines for ARM cpu architecture
Optimized SLUB memory allocator
Optimized ARM RWSEM (read/write semaphore) algorithm
Optimized asynchronous I/O latency on solid state disks
Optimized string and memcopy libs
Filesystem dynamic read-ahead (based on disk size)
CIFS support
Fast Random generator (frandom) support (click for more details)
Dynamic FSync v1.2 (click for more details)
Dynamic dirty page writebacks (click for more details)
VM tweaks for performance and less battery consumption
Revised LowMemoryKiller parameters for better performance (click for more details)
Dynamic management of the minimal timer slack value during suspend/resume (click for more details)
LowMemoryKiller management of not killable processes (click for more details)
Sweep2Wake(S2W),DoubleTap2Wake(DT2W)Support for One V(Thanks to Maxwen)
Timer Slack From Linux 3.4 And Dynamic management of Timer Slack
Port LZ4 compression from 3.9 and make it work for zram and kernel Compression(More Fast than Snappy && Lzo)
Port zram ,zcache and zsmalloc from 3.9 and replace xvmalloc
Ultra KSM 0.12.2 ,more fast than KSM to free your memory.(see more here)
Available CPU governors:
- BrazilianWax
- Conservative
- Intellidemand(default)
- Interactive
- LionHeart
- OnDemand
- IntelliDemand
- Performance
- SmartAssV2
- SmartMax(From maxwen)
- Hyper
- Lulzactive
Available I/O schedulers:
- BFQ
- CFQ
- Deadline
- Noop
- ROW (default)
- Sio
- Sioplus
Dowload Link:
Click Here To MediaFire.com
The scripts of these features can also be found in the scripts folder.
Sources Link:
My Github
ChangeLog:
2014.01.07
1.Added CM10 Version
2.Some fix for permission error
3.more info see my github log
4.Strip the lib file to decrease the size
2013.11.02
1.Squashed update of kernel from 3.0.100 to 3.0.101
2.Fix cgroup error,Now you wont see error in logcat
3.SCHEDULER: Autogroup patch group by current user android UID instead of task ID
4.Rebuild with new source tree with acro,seems more stable and performance
5.CK3 tweaks (Credits to Con Kolivas)
6.Disable Cleancache that seems unstable now
7.Replace LZ4 with new module for zram.More performance Now
8.Only update Advanced version,the stalbe and cm10 version comes later.
2013.10.20
1.Squashed update of kernel from 3.0.99 to 3.0.100
2.Tuned Lulzactive governor for better battery saving
3.Added Hyper CPU Governor
4.Some optimizations to Hyper CPU Governor
5.Some fix about intellidemand
6.Only apply driver limits for scaling_min/max_freq writes
7.add SIOplus i/o scheduler
8.cfq, deadline, row tweaks (credits to Franco Dev Team)
9.Upstream Zram,ZSmalloc,Zcache to Linux 3.9 sources.
10.Try to enalbe cleancache and zcache.
11.Added OC version for Overclock,and normal version in my mediafire folder
(Guys you should give me some feedback.)
2013.10.18
1.Increased Pmem Value.And now everthings works well
2.Advanced Version Now have 376M Mem
3.Stable Version Now have 356M Mem just like stock and kiss does.
4.Add UKSM 0.12.2 to replace Ksm.(Disable as default)
(see more about UKSM here)
2013.10.16
1.Increased Pmem Adsp
2.Add BrazilianWax(Set to default) and Intellidemand governor
3.Add ROW I/O Sched and set to default
4.Add LZ4 Compression support
5.replace Snappy with LZ4 for zram,almost the best compression
5.Backport Timer Slack from Linux 3.4
6.Add The Dynamic management of Timer Slack
6.Backport Zcache and Zsmalloc fron Linux 3.4
2013.10.15
1.Pmem remapping again,fix hd camcoder problem
2.Add Frandom,Almost 10~20 faster than stock urandom.
3.Optimizised zram and lzo code ,update lzo to latesd version
4.Add advanced Version for 3.0.99,Stable Version for 3.0.16
5.Enable overclock to 2.0Ghz
6.Stable Version added Lagfree Governor
7.Patched up CRC32 Libraries (+Performance)
8.Some Arm feature added
9.Replace Xvmalloc with Zsmalloc for better performance
2013.10.07
1.Pmem Remapping,more mem for you guys
2.Add Dynamic Sync Control
3.Add Dynamic management of dirty page writebacks
2013.09.29
1.Add Google Snappy compression for zram (1.5~2x faster than lzo)
2.Revised LowmemeryKiller Valued
3.Build with custom Linaro 4.7.4-2013.09 toolchain optimized for Cortex-A8
4.Add LowmemeryKiller Whitelist support
XDA:DevDB Information
[KERNEL][3.0.101][LZ4][ZRAM][UKSM]Charm-Kiss For Sense (20131102) , a Kernel for the HTC One V
Contributors
coldsorrow, maxwen, Adi_Pat
Kernel Special Features: LZ4,ZRAM,3.0.101
Version Information
Status: Stable
Current Stable Version: Build #20131102
Stable Release Date: 2013-11-02
Created 2013-10-17
Last Updated 2014-01-10
can i use this with http://forum.xda-developers.com/showthread.php?t=2400633 ?
Special features and sysfs settings:
You can find the useful scripts in my mediafire.com.Or you can use Performance Controller App(click here for more).Th Trickster Mod which can be installed from Google Play is also works fine.
CPU voltage control VDD sys interface
This feature allows to customize the voltage assumed by each cpu scaling frequency.
It could be useful if you'd like to decrease one or more voltages for battery saving purposes (undervolting), or to increase/adjust them to prevent phone freezes (overvolting).
How to customize the voltages:
1) By downloading and using Trickster MOD or IncrediControl and changing the voltages table inside the SVS tab
2) By using customized init.d scripts (the custom values will be always restored after a reboot, if you don't format the system partition)
- Download one of the script named 01vdd_levels*
- If the file has been saved with .txt extension (stock browser), rename it by removing the .txt extension
- Edit the file by setting your customized voltages, where each line has this syntax
Code:
Code:
echo "cpu_freq_HZ mV" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
cpu_freq_HZ is the cpu frequency in Hz you'd like to change
mV is the voltage you want to set
For example, the following line means that when the cpu frequency is 1516800 Hz = 1516 MHz, the voltage used will be 1175 mV
Code:
Code:
echo "1516800 1175" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
- Copy the new file inside /etc/init.d
- Give the rwxr-xr-x permissions to the file (read, write, execution for owner, read and execution for group users, read and execution for others)
- Reboot
3) By using Terminal Emulator (note that the values you set will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run these commands
Code:
Code:
su
# Run a command for each cpu frequency voltage you'd like to change
echo "cpu_freq_HZ mV" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
cpu_freq_HZ is the cpu frequency in Hz you'd like to change
mV is the voltage you want to set
For example, the following line means that when the cpu frequency is 1516800 Hz = 1516 MHz, the voltage used will be 1175 mV
Code:
Code:
echo "1516800 1175" > /sys/devices/system/cpu/cpu0/cpufreq/vdd_levels
Force Fast Charge
This feature allows you to force AC charging for any charger that is detected as USB (eg. PC USB ports, USB Car Chargers) and pull the full current the charger can support, in such a way as to speed up the time required for a complete battery recharge.
By enabling this feature, the USB / ADB data transfers will be disabled (security limitation to protect your data).
How to enable/disable the Force Fast Charge:
1) By directly editing the file /sys/kernel/fast_charge/force_fast_charge and setting 1 to enable the force charge, 0 to disable it (note that set value will be lost after a reboot/shutdown)
2) By using Terminal Emulator (note that set value will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run this command to enable the force fast charge feature
Code:
Code:
su
echo 1 > /sys/kernel/fast_charge/force_fast_charge
- Then, when you want to restore the normal status, run this command to disable the force fast charge feature
Code:
Code:
su
echo 0 > /sys/kernel/fast_charge/force_fast_charge
4) By using a customized init.d script, but I don't recommend it because you have to remember to disable the feature every time you want to connect your device to a pc for data transfering after every reboot
LowMemoryKiller
The LowMemoryKiller driver is used to kill a selected process and free the memory when it is under one of the defined thresholds.
The tuning of the driver could be achieved by means of two parameters exposed by the kernel module via sysfs interface:
- /sys/module/lowmemorykiller/parameters/minfree
This file includes a comma separated array of the threshold numbers for minfree memory size (in page units).
The parameter value set for Charm-Kiss is "2048,3584,19200,23040,24320,32000".
- /sys/module/lowmemorykiller/parameters/adj
This file includes the comma separated array of oomadj factors, if the corresponding minfree threshold has been reached, one of the process with an oomadj greater than this number will be killed.
The oomadj factor is a property associated to each process, its value is in a range from -17 to +15, the processes with a higher oom_adj factor will be the first to be killed when a specific minfree threshold has been reached.
And when you type your value in,the system wll auto turn it to oom_score_adj which is from 0 to 1000.
The parameter value set for Charm-Kiss is "0,176,352,588,705,1000".
Frandom - Fast Random Generator
As Eli Billauer (the creator of this module) said, Frandom is a Linux kernel random number generator, which is 10-50 times faster than what you get from Linux built-in /dev/urandom. And it uses very little (/dev/frandom) or none (/dev/erandom) of the kernel's entropy pool, so it is very useful for applications that require a handy source for lots of random data.
RAM Console
This feature is useful expecially for development and debugging purposes, when occurs kernel panic / unexpected shutdowns or reboots. Pratically, the kernel messages are also stored inside a little RAM portion and restored during reboot after a kernel panic, inside the file /proc/last_kmsg.
Dynamic FSync
This feature has been developed by Faux123 and allows to dynamically manage the synchronous writes performed on file system (FSync).
It uses asynchronous writes when the screen is on, instead of synchronous writes, to have better performance and a slightly lower battery drain, while when the screen is off the synchronous writes are re-enabled to flush all the outstanding writes and prevent possible data loss.
How to enable/disable the Dynamic FSync (default enabled):
1) By downloading and using Trickster MOD
2) By directly editing the file /sys/kernel/dyn_fsync/Dyn_fsync_active and setting 1 to enable the dynamic fsync, 0 to disable it (note that set value will be lost after a reboot/shutdown)
3) By using Terminal Emulator (note that set value will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run this command to disable the dynamic fsync feature
Code:
Code:
su
echo 0 > /sys/kernel/dyn_fsync/Dyn_fsync_active
- Or run this command to re-enable the dynamic fsync feature
Code:
Code:
su
echo 1 > /sys/kernel/dyn_fsync/Dyn_fsync_active
Dynamic dirty page writebacks
This feature has been developed by me and allows to dynamically manage the dirty page writebacks with two different intervals, one when the screen is on and another when the screen is off.
It is based on a commit of Francisco Franco, but instead of using hard coded values and of disabling at all the dirty page writebacks while the screen is on (possibility of data loss), I preferred to use a customizable higher dirty page writebacks interval (15 seconds) than the default one (5 seconds) while the screen is on and a customizable default interval (5 seconds) when the screen is off.
By using a higher interval we have better performance and less battery consumption, with a very low risk of data loss.
How to customize the dynamic dirty page writebacks feature (default enabled):
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), the default value is 1500 centisecs (15 seconds)
- dirty_writeback_suspend_centisecs is the interval for the dirty page writebacks when the system is suspended (screen off), the default value is 500 centisecs (5 seconds)
In my kernel builds, during boot, I set other customized values:
- an interval of 25 seconds while the screen is on
- an interval of 15 seconds when the screen is off
1) By directly editing one of the file written above inside /proc/sys/vm and setting the preferred value (note that set value will be lost after a reboot/shutdown)
2) By using Terminal Emulator (note that set value will be lost after a reboot/shutdown)
- Open Terminal Emulator
- Run this command to disable the dynamic dirty page writebacks feature
Code:
Code:
su
echo 0 > /proc/sys/vm/dynamic_dirty_writeback
- Or run this command to re-enable the dynamic dirty page writebacks feature
Code:
Code:
su
echo 1 > /proc/sys/vm/dynamic_dirty_writeback
- Run this command to set customize the two intervals (30 seconds while the screen is on, 10 seconds when the screen is off)
Code:
Code:
su
echo "2500" > /proc/sys/vm/dirty_writeback_active_centisecs
echo "500" > /proc/sys/vm/dirty_writeback_suspend_centisecs
Ultra-Kernel Samepage Merging(UKSM)
UKSM is more optimized and also working for single core systems. using this should give much better ram usage, but at the cost of more cpu usage.
After you reboot with our uksm enabled kernel, uksm works as a system daemon "uksmd". The main interfaces for uksmd are under
Code:
/sys/kernel/mm/uksm
How to use it ?
Uksm is smart. For most of the time, you only need to adjust cpu_governorand max_cpu_percentage for cpu consumption control.
The meaning of each file in this directory is as below:
user controllable interfaces:
run : The main control interface to stop/run.
Code:
su
echo 1 > /sys/kernel/mm/uksm/run
sleep_millisecs: how long will uksmd sleep before it wakes up and does its work.
cpu_governor: The macro governors for controlling how aggressively the uksmd uses CPU. You can do cat cpu_governor to find out the available governors and which is currently active.
Code:
[full] medium low quiet
shows that currently it works at full speed. These governors roughly stand for 90%, 50%, 20%, <1% of max CPU consumption and some pre-setting of micro-control parameters.
(NOTE: for max it means only when uksmd is working at memory areas with many many redundancy pages. For most of the time uksmd is very quiet)
max_cpu_percentage: The max CPU consumption you can further specify under some cpu governor. It's used when you are not happy with the preset values.
read-only interfaces:
<ul>
<li>full_scans: how many times uksmd sampling has covered all of your memory areas.</li>
<li>hash_strength: the current hash strength for adaptive-random-sampling hashing algorithm. The lower the faster uksmd gonna merge pages. Its range is 1 ~ 1034.</li>
<li>pages_scanned: how many pages has been scanned.</li>
<li>pages_shared: how many pages has been mapped by different page table entries, i.e. shared by different processes.</li>
<li>pages_sharing: this is roughly the number of redundant pages you have saved, with uksm.</li>
<li>sleep_times: how many times uksmd has waken up and then got sleep.</li>
<li>Since version of 0.1.1,the pages with full zeros will considered specially and seperately. You can get the information for uksmd merged zero pages by
Code:
cat /proc/meminfo | grep KsmZeroPages
</li>
Wow awesome!! Can I use this as default for HTCdroid?
what difference between advanced, stable, etc.?
MameTozhio said:
Wow awesome!! Can I use this as default for HTCdroid?
Click to expand...
Click to collapse
Yep....You can use it for any rom as default.I dont own it :victory:
tonyskyfall said:
what difference between advanced, stable, etc.?
Click to expand...
Click to collapse
advanced = linux 3.0.99
stable = linux 3.0.16
tonyskyfall said:
what difference between advanced, stable, etc.?
Click to expand...
Click to collapse
Advanced is based on Googlesouces 3.0.72 and Acro Souces 3.0.99 and more experimental feature.
Stable is based on Titanium-Kiss with stable feature.
Can anyone tell me how to make first post and second post for me ?
I just wanna add some feature describtions.But you guys just used it...
WTF,the damned network
Sorry Guys,my network is too bad to update.
Will update the informations in the nights.
If you wanna see more,just click http://blog.leoysen.tk/charm-kiss/
And features infromations.
I'm using it almost ten days and so fast and smooth for me.
Charm-Kiss-20131017-Advanced-3.0.99.img
I use this kernel with Ignorance v3 ... works well.
But something wrong with wifi, connected but not received like no internet, browser, playstore...
when i reflash TK kernel wifi is nomal
thanhi said:
Charm-Kiss-20131017-Advanced-3.0.99.img
I use this kernel with Ignorance v3 ... works well.
But something wrong with wifi, connected but not received like no internet, browser, playstore...
when i reflash TK kernel wifi is nomal
Click to expand...
Click to collapse
I will test,just wait
Sent from my HTC One V using xda app-developers app
thanhi said:
Charm-Kiss-20131017-Advanced-3.0.99.img
I use this kernel with Ignorance v3 ... works well.
But something wrong with wifi, connected but not received like no internet, browser, playstore...
when i reflash TK kernel wifi is nomal
Click to expand...
Click to collapse
I just tested and everything works fine for me.Try to delete system/lib/modules/bcmdhd.ko and reboot?
Sent from my HTC One V using xda app-developers app
I'm having no issues with WiFi with advanced kernel.
Sent from my HTC One V using xda app-developers app
A new kernel after such a long long time ... Flashing right away ... Please don't stop developing for one v like others did
Thanks a lot ..... Just in time for the new ignorance rom update Will be perfect with tonyskyfall's v4
anirudhnyg said:
A new kernel after such a long long time ... Flashing right away ... Please don't stop developing for one v like others did
Thanks a lot ..... Just in time for the new ignorance rom update Will be perfect with tonyskyfall's v4
Click to expand...
Click to collapse
indeed ... ima waiting v4 too :good:
i want to download too, but link is not working... it loads and loads but no downloading possible
can you upload it somewhere else?
thx
Hundekittel said:
i want to download too, but link is not working... it loads and loads but no downloading possible
can you upload it somewhere else?
thx
Click to expand...
Click to collapse
Already upload to mediafire.com.
Click the download link:cyclops:
coldsorrow said:
Already upload to mediafire.com.
Click the download link:cyclops:
Click to expand...
Click to collapse
The Scripts in the Mediafire folder are init.d scripts ?
anirudhnyg said:
The Scripts in the Mediafire folder are init.d scripts ?
Click to expand...
Click to collapse
Yes, It's to enable those features
Wont work with shpongle ?
Right ?
EDIT: yes It wont..Read the OP Now
[KERNEL] [ROOT] [SM-G928C / F / G / I / 7C Exynos 7420] [19 February] SkyHigh TW 5.1.1 Kernel [ v4.5 ] [Synapse ++]
**** Development & support is 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][B]G928F[/B]XXU2APA3[/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
PerformanceTurbo 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_sensorhubSSP
sig_motion_sensor
pickup_gesture
grip_sensor
tilt_detector
proximity_sensorbcm4773
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+foundOptimize 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 S6 Edge+ Exynos 7420 Kernel, Kernel for the Samsung Galaxy S6 Edge+
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-12-01
Last Updated 2016-03-05
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-G928C / F /G / I / C7
Watch >>> THIS <<<
IF YOU WISH TO BUG REPORT: Stock UNMODIFIED TouchWiz (TW) 5.1.1 ROM (I DO NOT HAVE YOUR DEVICE !! )
Custom recovery i.e.. TWRP or Philz
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 previous SkyHigh kernel > Device settings > Applications > Synapse > Force Stop > clear data
If not installed > Install SuperSU from Google Play:
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 & 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
.
Here you are... Thank you for coming man.
Note: (G928C) This kernel is amazing. I have been using for long time. 95K antutu 6b5 score, 75k antutu 5.7.1 score, 6H sot with non-stop usage And see my other other comments, post #352 in:
http://forum.xda-developers.com/tmo...ernel-skyhigh-tw-5-1-1-kernel-t3217967/page36
First of all, astonishing description and presentation of "how to"
Feedbacks later [emoji106]
Sent from my Darkside of Edge plus
Tried after one day. The kernel is amazing, have a lot of features and the Battery was good.
I got more than 4 hrs sot, 3 hrs of gaming and still have 22% left
{
"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"
}
dkido said:
Tried after one day. The kernel is amazing, have a lot of features and the Battery was good.
I got more than 4 hrs sot, 3 hrs of gaming and still have 22% left
View attachment 3562581
Click to expand...
Click to collapse
What is you versione? F C etc..
sartan said:
What is you versione? F C etc..
Click to expand...
Click to collapse
I think it works with C -which is my current- and F, I, G. Back up and have an another kernel in ur phone then give a try man. What was yours?
Konsstantine34 said:
I think it works with C -which is my current- and F, I, G. Back up and have an another kernel in ur phone then give a try man. What was yours?
Click to expand...
Click to collapse
Mine is F version.. As soon as i try this kernel i'll give a review..
sartan said:
Mine is F version.. As soon as i try this kernel i'll give a review..
Click to expand...
Click to collapse
Did it work on your F mate?
Sent from my SM-G928F using Tapatalk
Installed on G-928F With kossiewossie's excellent Rom.
n33 said:
Installed on G-928F With kossiewossie's excellent Rom.
Click to expand...
Click to collapse
@sartan @tatoo069sv thats it.
n33 said:
Installed on G-928F With kossiewossie's excellent Rom.
Click to expand...
Click to collapse
I will give it a wirl then lol. Cheers
Sent from my SM-G928F using Tapatalk
tatoo069sv said:
Did it work on your F mate?
Sent from my SM-G928F using Tapatalk
Click to expand...
Click to collapse
Didn't tried yet..
sartan said:
Didn't tried yet..
Click to expand...
Click to collapse
I have flashed it on my F and it's great
Sent from my SM-G928F using Tapatalk
tatoo069sv said:
Did it work on your F mate?
Sent from my SM-G928F using Tapatalk
Click to expand...
Click to collapse
928F, it works perfect mate
Anyone know if this would work on G9287?
pmorales said:
Anyone know if this would work on G9287?
Click to expand...
Click to collapse
On the second post there is a change log spoiler, you can see that there's support for the F C G I variants only, nothing mentioned about T or 7, most probably won't work as these are quite different
-=-=-
The kernel performs perfectly, I'm not keen to adjust any of the settings in synapse for now, default is rock stable and smooth, battery drainage looks great as well
Sent from my Darkside of Edge plus
v2.5 released
v2.5 update for SM-G928-C / F / G / I device variants
Check out the change-log in Post #2.
NOT TESTED. I DO NOT HAVE YOU DEVICE !
XDA RULE #1 'SEARCH BEFORE POSTING". Please READ Posts #1-3 BEFORE flashing !!
Please CLEAR SYNAPSE DATA before flash: device settings > Applications > Application manager > Synapse > force stop > clear data
Have fun
Cheers
UITA
Works great on my 928F
Gesendet von meinem SM-G928F mit Tapatalk
[KERNEL] [ROOT] [SM-G928P] Exynos 7420] [19 February] SkyHigh TW 5.1.1 Kernel [ v4.5 ] [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: [URL="http://opensource.samsung.com/reception/receptionSub.do?method=sub&sub=F&searchValue=n920"]Samsung OSRC[/URL]
* ramdisk source: [B]G928P[/B]VPS2AOK3
* 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
PerformanceTurbo 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_sensorhubSSP
sig_motion_sensor
pickup_gesture
grip_sensor
tilt_detector
proximity_sensorbcm4773
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+foundOptimize 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 S6 Edge+ Sprint Exynos 7420 Kernel, Kernel for the Sprint Samsung Galaxy Note5
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 2016-01-31
Last Updated 2016-02-19
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-G928P
Watch >>> THIS <<<
IF YOU WISH TO BUG REPORT: Stock UNMODIFIED TouchWiz (TW) 5.1.1 ROM (I DO NOT HAVE YOUR DEVICE !! )
Custom recovery ( i.e.. TWRP or Philz )
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 previous SkyHigh kernel > Device settings > Applications > Synapse > Force Stop > clear data
If not installed > Install SuperSU from Google Play:
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
SM-G928P [ v4.5 ]
________________________________________________________________________
SM-G928C / F / G / I thread > HERE
________________________________________________________________________
SM-G928T / W8 thread > HERE
SOURCE
ALL KERNELS COMPILED WITH SAME SkyHigh SOURCE !!
Github
.
Help & 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
.
Intitial release v3.9+ beta
Intitial release v3.9+ beta for SM-G928-P device
Check out the gitHub Change-log (link in Post #2).
Not personally tested > I have a SM-N920C
(If installed) Please CLEAR SYNAPSE DATA before flash: device settings > Applications > Application manager > Synapse > force stop > clear data
DO NOT restore profiles from older versions or other kernels !
XDA RULE #1 'SEARCH BEFORE POSTING". Please READ Posts #1-3 BEFORE flashing !!
BUGS:
Disabling "Turbo Mode" will screw up frequency scaling. So if you have disabled any time, you need to REBOOT !!
Changing Interactive governor profiles when Interactive is not used, will result in Synapse display errors. Nothing to worry, no need to change the profile if Interactive it not used !
Have fun
Cheers
UITA
http://forum.xda-developers.com/spr...nt/kernel-skyhigh-tw-5-1-1-kernel-t3305173got it working.
Boots and working perfectly for me, thank you for this
Also been on it since early this morning, all so far working proper. Thank you for this @UpInTheAir
Beandip-Javier said:
Also been on it since early this morning, all so far working proper. Thank you for this @UpInTheAir
Click to expand...
Click to collapse
Same here, battery seems a little better and phone seems snappier.
This kernel is legit i likes it thanks for your support
tjw62091 said:
Boots and working perfectly for me, thank you for this
Click to expand...
Click to collapse
Beandip-Javier said:
Also been on it since early this morning, all so far working proper. Thank you for this @UpInTheAir
Click to expand...
Click to collapse
GamerOnOne said:
Same here, battery seems a little better and phone seems snappier.
Click to expand...
Click to collapse
aznxstylez said:
This kernel is legit i likes it thanks for your support
Click to expand...
Click to collapse
Thanks for reporting boot ok first go.
You know where that "button" is.
Works great thank you for support
Finally an Original Development, it must be Legit
v4.0.1 released
release v4.0.1 for SM-G928-P device
Check out the gitHub Change-log (link in Post #2).
Not personally tested > I have a SM-N920C
(If installed) Please CLEAR SYNAPSE DATA before flash: device settings > Applications > Application manager > Synapse > force stop > clear data
DO NOT restore profiles from older versions or other kernels !
XDA RULE #1 'SEARCH BEFORE POSTING". Please READ Posts #1-3 BEFORE flashing !!
BUGS:
Disabling "Turbo Mode" will screw up frequency scaling. So if you have disabled any time, you need to REBOOT !!
Changing Interactive governor profiles when Interactive is not used, will result in Synapse display errors. Nothing to worry, no need to change the profile if Interactive it not used !
Have fun
Cheers
UITA
This is even better. Alot more snappier
Thank you so much for this @UpInTheAir this has got my phone running sooooooooooo much smoother and better!!!!! I love it!!!!
v4.2 released
release v4.2 for SM-G928-P device
Check out the gitHub Change-log (link in Post #2). I did not release v4.1_BETA for your device, so you might wish to check that Change-log too !
Not personally tested > I have a SM-N920C
(If installed) Please CLEAR SYNAPSE DATA before flash: device settings > Applications > Application manager > Synapse > force stop > clear data
DO NOT restore profiles from older versions or other kernels !
XDA RULE #1 'SEARCH BEFORE POSTING". Please READ Posts #1-3 BEFORE flashing !!
BUGS:
Disabling "Turbo Mode" will screw up frequency scaling. So if you have disabled any time, you need to REBOOT !!
Changing Interactive governor profiles when Interactive is not used, will result in Synapse display errors. Nothing to worry, no need to change the profile if Interactive it not used !
Have fun
Cheers
UITA
Has anybody tried with Gear VR? Does it work???
Athossss said:
Has anybody tried with Gear VR? Does it work???
Click to expand...
Click to collapse
I have not personally tried it but i have read in a couple areas that it has worked. Do a little digging and you should find some answers
Hi, I found some comments, but with other ROMs, not this one. Could you let me know who said it? I would like to contact them..
Thanks!!
Athossss said:
Hi, I found some comments, but with other ROMs, not this one. Could you let me know who said it? I would like to contact them..
Thanks!!
Click to expand...
Click to collapse
This isn't a ROM. Or was that a typo