[KERNEL] [Jan 28] [Sense][GPE] Hypernova_2.0.3-Mallow - One (M8) Android Development

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
HTC One M8 Kernel - Sense and GPE
(All Variants)
This kernel has been
MassStashed​
Kernel Features
FEATURES - Hypernova
Latest Pre-Release optimized -O3 linaro 4.9.3 toolchain
Everything from flar2's amazing kernel (Gboost removed in favor of interactive and hotplug cpu control. Not necessary with this setup)
Easy installation with Aroma installer - Special thanks to flar2
overclocking
gboost for enhanced gaming performance
choose voltage profile in installer
full user voltage control
underclock CPU or GPU
i/o schedulers: FIOPS, SIO, CFQ, NOOP, ROW, deadline
optional sweep2sleep
Optional custom wake gestures (no motion required!)
Optional pocket detection (with custom wake gestures)
Option to disable volume button wakes camera (with custom wake gestures)
High Definition Audio capability
Optional USB fastcharge
Option to reduce vibration strength
Remove /system write protection
NTFS r/w, CIFS, exFAT support
Option to disable fsync
Option to disable magnetic cover
/dev/frandom support
Color control
DriveDroid support
Stereo call recording
Lz4 compression for faster boot
Unified dtb's to make work with all variants (Thanks captain_throwback)
Franco's mako_hotplug
*cpu-boost* (Removed currently)
Franco's enhanced interactive governor set to default (Tweaked settings thanks to Dan)
NTFS support
F2FS
INSTALLATION
1. Install zip from recovery
2. Follow the instructions, if you don't know what to do, use the pre-selected options
3. Wipe cache/dalvik cache
4. Reboot
It is recommended to disable or increase the screen timeout in TWRP recovery. If the screen timeout is enabled in TWRP, there may be a black screen after exiting the Aroma installer. This is nothing to worry about. Simply hold power and volume down and volume up buttons until it reboots. The installation will be fine. If things get stuck in aroma, simply do this reboot method and immediately hold down to get to bootloader mode, then select recovery and start from the beginning.
Donate to franciscofranco!
A lot of this is thanks to franciscofranco’s commits, so donate to him!
Donate to Flar2!
A lot of this is thanks to flar2’s commits, so donate to him!
Here’s mine if you would like to donate to me specifically
DOWNLOADS
Sense 5.0.1 & 5.0.2
GPE 6.0
NOTES AND OTHER IMPORTANT STUFF YOU SHOULD KNOW!!!
Please refer to flar2's thread as this is based off his work, then added to. All of his writings under this title in his thread are what apply here with very little difference. Thank you a million times to flar2 for all his hard work.
SOURCE
https://github.com/MassStash
https://github.com/flar2
https://github.com/franciscofranco
..........................................................................................
XDA: DevDB Information
MassStashed-m8whl, Kernel for the HTC One (M8WHL)
Contributors
franciscofranco
flar2
Evolutionmods
MassStash
Version Information for Hypernova (mako_hotplug)
Status: Solid as ****
Current Stable Version: 2.0.3
Stable Release Date: 01-28-2016
Created 06-20-2014
Last Updated 01-28-2016

Zee Changelog
CHANGELOG (Cliff-Notes) Here's a GDoc for Latest
If this is first time flashing these updated packaged kernels, please dirty or full wipe flash the rom you’re on, let it boot to system, then reboot to twrp and flash one of these kernels. Also recommneded to flash ROM’s boot.img or just dirty flash if switching between these kernels.
May 30, 2015
Hypernova 1.5.1
GPE 5.1 & Sense 5.0.2
Add f2fs support …
Add support for M8TL
arm: crypto: Add optimized SHA-256/224 …
fs/namei.c: fix potential memory leak in path_lookupat …
sched/nohz: Fix rq->cpu_load[] calculations …
sched/fair: Let minimally loaded cpu balance the group …
input: touchboost: conservative samples every 10ms, no point in limit… …
ASoC: msm: Correct RTAC mutex lock …
cpuidle: remove cross-cpu IPI by new latency request. …
cpufreq: Break out early if freq equals to target_freq …
cpufreq: conservative: don't tear up sysfs and governor dirs to preve…
cpufreq: conservative: make the code a little bit prettier …
cpufreq: conservative: add input_boost_freq and input_boost_duration …
cpufreq: conservative: how did this end up here?
cpufreq: conservative: add sane input_boost and duration values …
cpufreq: conservative: notify the policy of the current load …
cpufreq: conservative: add micro idle accounting and touch boost support …
Update lz4 …
msm: slimbus: use interruptible wait to reduce system's load average …
ASoC: msm: audio-effects: Check for array index …
ARM: arch_timer: add support to configure and enable event stream …
ARM/ARM64: arch_timer: add macros for bits in control register …
tick: don't update idle time if cpu offline …
mako_hotplug: don't use PAGE_SIZE for snprintf …
mako_hotplug: don't offline cores if the load at that sample is above… …
arm: msm8974: enable Motorola's enhanced memory routines …
Update to dev branch of lz4 …
Update to vzw lolli dts …
Update dts for m8 to 5.0.1. DUG and WL still 4.4.4. …
Mar 06, 2015 - Lollipop
Hypernova
GPE & Sense - 1.4.5
Bump version to scripts and defconfig
msm: kgsl: Wake up snoozing threads on marker expiry …
usb: dwc3: gadget: Ignore L1 RESUME events …
USB: msm_otg: Configure HV DPSE/DMSE pin interrupt bits of PHY register …
ARM: dts: msm: Change WCN PA rail LDO number msm8974 …
msm: Add timeout to read APR responses
mako_hotplug: if the nr of runnable threads is high, online all cores…
arm: use -mtune=cortex-a15 for Krait targets
msm: memutils: 8084: memcpy, memmove optimization
msm: memutils: memcpy, memmove optimization
net: rps: fix cpu unplug
ASoC: msm-lsm-client: Use freezable wait for EVENT_STATUS ioctl
netfilter: nf_conntrack_dccp: fix skb_header_pointer API usages
Feb 27, 2015 - Lollipop
All compiled with latest linaro 4.9.3 prerelease toolchain and are all also packaged with anykernel method to allow for zImage and dt.img injection into rom’s stock boot.img, thus keeping ramdisk with any specific optimizations made for that exact rom. Also anykernel script now used to inject kernel settings script, formerly referred to as init script, into ramdisk to be loaded without need for init.d, and thus no need for setting selinux to permissive (Thanks Flar2).
Flar-Port
GPE - 3.04
Flar’s ElementalX updates
Sense - 4.04
All previously commits in changelog ported to new 5.0.1 base
selinux: Report permissive mode in avc: denied messages
KCAL update
Hypernova
GPE - 1.4.3
Based on flar2’s GPE
Added all commit’s from sense hypernova to date (see directly below)
Sense - 1.4.3
All 5.0.1 updates from elementalx
SoC: msm: Add Buffer overflow check
KEYS: close race between key lookup and freeing
msm: pm: Notify secure code of L2 power mode from last core only
sched: Implement smarter wake-affine logic
Fix nr_exclusive tasks which lead to ... Avoid spurious wakeup IPIs
sched: Fix inaccurate accounting for real-time task
arm: lib: Fix makefile bug
msm: memutils: memcpy, memmove, copy_page optimization
selinux: conditionally reschedule in hashtab_insert while loading sel…
selinux: conditionally reschedule in mls_convert_context while loadin…
selinux: no recursive read_lock of policy_rwlock in security_genfs_sid()
selinux: fix a possible memory leak in cond_read_node()
selinux: simple cleanup for cond_read_node()
selinux: fix inode security list corruption
qseecom: Save appname in qseecom when loading app by kernel client
arm: arch_timer: add arch_counter_set_user_access
mako_hotplug: remove screen off frequency cap and other optimizations
sched, smp: Correctly deal with nested sleeps
smpboot: Add missing get_online_cpus() … in sysfs
cpufreq: let's remove cpu-boost for now
input: add a generic touch input notifier
EXPERIMENTAL: mako_hotplug: make cpu2 and cpu3 less nervous
Dec 17, 2014
Added some awesome updates to hotplug and interactive from franco
Dec 15, 2014
All compiled with latest linaro 4.9.3 prerelease toolchain and are all also packaged with anykernel method to allow for zImage and dt.img injection into rom’s stock boot.img, thus keeping ramdisk with any specific optimizations made for that exact rom.
Flar-Port
GPE
Add all variant dtb’s from capt
Add NTFS
Sense
Added high perf audio and set to default on
Add all variant dtb’s from capt
NTFS support
Couple lz4 compression updates
Hypernova
GPE
Based on flar2’s GPE
Added all commit’s from sense hypernova to date (see directly below)
Sense
Couple updates to mako_hotplug, cpu-boost, and interactive governor
Couple lz4 compression updates
Enhance power efficiency patches
Fix bad hashing of dentries
Add support to validate pixel extension calculations
New relation for freq selection
Nov 17, 2014
Flar-Port
Port all commit’s from flar2’s 4.4.4 ElementalX kernel to make new 4.4.4 MassStashed Flar Port
Hypernova
Started with 4.4.4 Flar Port and then ported all commit’s I got from Franco’s One Plus One kernel to new 4.4.4 Hypernova kernel.
Added prima wlan module to compile with kernel from lypota, from htc source
Updates to wlan module
Updates to mako_hotplug
Added unified DTB from captain_throwback for vzw and gsm/intl support build in one zImage. Still need proper zip because I chose to use repack each with their specific ramdisk as opposed to using anyernel for now. Will look into anykernel at a later date for a one zip for all solution. Thank you captain for introducing me to anykernel method.
Added NTFS support
Oct 10, 2014
Enable compatibility with all M8 variants
wcd9320: Enable class AB mode, AKA high perf audio headset mode, be d…
high perf audio - fixed m8 incompatible
sound high perf - clean code
Update defconfig with version number
added high perfomance sound
wake_gestures: re-enable proximity sensor after phone call end and sc…
backlight_dimmer: give two dimmer options and create sysfs node
Revert "i2c: reduce remaining clocks"
i2c: reduce remaining clocks
Revert "Add backlight dimmer option"
Sep 15, 2014
Update aroma for brightness compatibility
Sep 14, 2014
Add backlight dimmer option
Sound Control: add line gain to cached and register lock …
Sep 12, 2014
kexec-hardboot: based on @Tasssadar
msm-sleeper: add ex_max_freq interface
Bump scripts for building with 2014.08 linaro 4.9.2
Aug 26, 2014
msm: Fix high load average from uninterruptible waits
GPU: start at 200MHz instead of 320MHz
Net/l2tp: don't fall back on UDP [get|set]sockopt
Update defconfig
MHL adapter fix from HTC
Charger updates from HTC
Aug 10, 2014
Update to Venom Int Ramdisk for packaging kernels to not break root and init.d on int based ROM
Aug 01, 2014
Update Stockish to 4.4.3 source
Update FlarPort to latest 1.0.0 ElementalX 4.4.3 | Most everything from 4.4.2 has been brought over
Jun 24, 2014
Fix touch in aroma installer - Gigantic thanks to badseed team for the fixed binary, and capt for bringing this to my attention
Jun 21, 2014 - MassStashedX_v0.19.1
Fix implicit declaration of function ‘wait_for_completion_io_timeout’… …
Switch baconMaker to elementalx_defconfig
Jun 20, 2014
Revert "cpuidle: Quickly notice prediction failure in general case" …
Revert "cpuidle: Get typical recent sleep interval" …
Revert "cpuidle: Fix finding state with min power_usage" …
Revert "cpuidle: remove the power_specified field in the driver" …
media-device: fix infoleak in ioctl media_enum_entities() …
futex: Make lookup_pi_state more robust …
futex: Always cleanup owner tid in unlock_pi …
futex: Validate atomic acquisition in futex_lock_pi_atomic() …
futex-prevent-requeue-pi-on-same-futex.patch futex: Forbid uaddr == u… …
futex: Add another early deadlock detection check …
futex: Prevent attaching to kernel threads …
Update cwmcusensor
Wake Gestures: fix dot view mode
stereo call recording support …
msm: kgsl: Fix nice level for higher priority GPU start thread …
arm: lz4: faster boot-up process. …
lz4: fix compression/decompression signedness mismatch …
lib/lz4: correct the LZ4 license …
crypto: add lz4 Cryptographic API …
lib: add lz4 compressor module …
arm: add support for LZ4-compressed kernel …
lib: add support for LZ4-compressed kernel …
decompressor: add LZ4 decompressor module …
DRIVERS: SLIMBUS: some more tweaks, which is double what we had befor… …
Wake Gestures: add proximity enabled flag
Wake Gestures: debugging messages
Wake Gestures: increase boot delay, add timeout to sweeps, fix irq en… …
Wake Gestures: add boot time delay for proper initialization of sensors
Wake Gestures: option to disable volume buttons launch camera in land… …
Jun 20, 2014
Wake Gestures: fix typo
Wake Gestures: more fixes for pocket detection, mcu initialization an… …
Wake Gestures: fix custom gestures in dot view mode
Wake Gestures: various improvements and fixes
DRIVERS: SLIMBUS: slimbus enhancements mkII …
Wake Gestures: Allow customization of the screen wake gestures on HTC… …
Downgrade CIFS …
GCC 4.9.1: fix compile warnings
GCC 4.9: fix compile warning …
cpufreq: interactive: fix compiling warnings …
Adjust some voltages
Set up underclocking and overclocking
Disable magnetic cover event
Change auto undervolting to use min freq only and adjust oc voltages …
Adjust min and max voltage limits …
msm: clock-krait-8974: User voltage control for msm-cpufreq device …
Add gboost
Bump overclocking voltages a bit
[qpnp-vibrator] sysfs interface from GPE source
Sound Control 3.x: adaptation for HTC One (M8) …
sound control: add register cache …
Sound Control: (OPTIONAL) add power amp registers access control as well …
Sound Control: (Optional) work around for Nexus 4/5 audio issues …
sound control: WCD9320: update speaker gain control for Z1 …
Jun 20, 2014
sound control 3.x: Initial GPL release for WCD9320 Audio Codec …
Sound Control: WCD9320: expose additional controls …
Add option to lower vibration
Overclocking: fix and add more steps
msm: cpufreq: Add API to allow limiting of min and max cpu frequencies …
msm-sleeper: limit max freq when screen is off
Show pvs in sysfs
Revert "sched: Micro-optimize the smart wake-affine logic" …
Revert "sync: don't block the flusher thread waiting on IO" …
Revert "FS: import F2FS" …
Revert "exFAT support" …
Revert "sched: add wait_for_completion_io[_timeout]" …
Revert "block: account iowait time when waiting for completion of IO … …
Disable HTC /system write protection …
Overclocking and undervolting options
Jun 10, 2014
Fastcharge for HTC One m8
LCD_KCAL Colour Control for m8
SELinux: Fix memory leak upon loading policy …
Jun 10, 2014
block: account iowait time when waiting for completion of IO request …
sched: add wait_for_completion_io[_timeout] …
deadline: Allow 0ms deadline latency, increase the read speed …
exFAT support …
Add fsync option
Add sweep2sleep …
FS: import F2FS …
ARM CPU Topology and cpu_power driver …
softirq: reduce latencies …
nohz: Reduce overhead under high-freq idling patterns …
ext4: fix memory leak in xattr …
cpuidle: Get typical recent sleep interval …
cpuidle: Quickly notice prediction failure in general case …
cpuidle: Quickly notice prediction failure for repeat mode …
cpuidle: move field disable from per-driver to per-cpu …
AIO: Don't plug the I/O queue in do_io_submit() …
Add SIO and FIOPS i/o schedulers …
Jun 09, 2014
warning: argument to 'sizeof' in 'memcpy' call is the same pointer ty… …
Add built crap and touch on cook script
warning: operation on 'ret' may be undefined [-Wsequence-point] …
dtb: binary to bring out dt.img …
Add cook my bacon script
Double flip a switch + setup ignores
May 08, 2014
initial switch flip

Great info to actually read and know!
Hypernova version has all kinds of stuff that's been added from the good @franciscofranco, and the most important and amazing, IMHO, is the mako_hotplug_driver. With this, we have eliminated most governors, and now exclusively run interactive. We now also have some extra options with this interactive governor that we can set to customize the user experience smoothness, and battery life. Down below is how to work init.d scripts, which is suggested as a great set it and forget it method, but if you are trying to mess with things quickly and in user land with an app, you will have to use francos. Unfortunately, our phone is only supported by the paid version also, so looks like it's time to open the wallets and show your appreciation! Bought this personally as soon as I got the hotplug up and running. 100% worth it.
Advanced Interactive Governor Tweaks; Buttery smooth and insane battery life!
Here's some info on the pieces used from his kernel, and the app, and the guy himself it seems.
Code:
Information about the kernel
People generally change kernels for battery savings and to add features the stock one doesn't offer.
Franco's kernel has several advantages over the stock one in terms of battery saving saving features,
one of my favourite being the removal of MPdecision which in lay-mans terms changes the min and
maximum speed the CPU can run at based upon live battery temperature checks. Franco's hot plug
driver always keeps 2 cores online and always them to scale from 300mhz to 2.3ghz and based upon
load conditions will online cores 3 and 4 if required. When you touch the screen the screen the CPU
speed is boosted to approximately 1.5ghz for just over a quarter of a second and when load is reduced
the CPU speed is able to lower quickly back to lower speeds thanks to his tuned interactive
governor. Franco has created a governor for the GPU named interactive which works very much like
how the CPU equivilant does. Franco has added some newer drivers for WiFi which also helps reduce
idle battery drain while your on a busy WiFi network. Franco has also added an interface where you
can boost microphone, speaker and headphone gain levels for audio enthusiasts as well as an
interface to allow screen calibration and load pre set profiles to improve your experience with how
your display looks! There's clock speed control, voltage control, governor control, hot plug control.
You get the idea its full of cool features which can be controlled with the paid Franco.Kernel
Application (see later in the thread)
[img]http://img.tapatalk.com/d/14/02/23/5y7egebu.jpg[/img]
Here are some lines I've found around the interwebs as a reference for myself for some time now. All of this is set, but hey, it never hurts to learn how it all works behind the scenes.
This is not a shell script, and cannot be run as one as-is; it's just a bunch of commands. UV should never be set with init.d in case they are unstable.
These are old values, some may be good, some may not. Please ask, or do some research on what is suggested for current cpu and phones.
Code:
# CPU Clock
echo 1228800 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 384000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 537600 > /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq
# UV
echo "1450 1425 1400 1375 1350 1250 1225 1200 1050 900 850 800" > /sys/class/misc/customvoltage/mpu_voltages
echo "1375 1291 1140 950" > /sys/class/misc/customvoltage/iva_voltages
echo "1150 1050 950" > /sys/class/misc/customvoltage/core_voltages
# SR
echo 1 > /sys/kernel/debug/smartreflex/sr_mpu/autocomp
echo 1 > /sys/kernel/debug/smartreflex/sr_iva/autocomp
echo 1 > /sys/kernel/debug/smartreflex/sr_core/autocomp # CORE no longer SR calibrated on FK
# Governor
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 15000 > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay
echo 0 > /sys/devices/system/cpu/cpufreq/interactive/boost
echo 80000 > /sys/devices/system/cpu/cpufreq/interactive/boostpulse_duration
echo 95 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
echo 729600 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
echo 45000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
echo 85 > /sys/devices/system/cpu/cpufreq/interactive/target_loads
echo 15000 > /sys/devices/system/cpu/cpufreq/interactive/timer_rate
echo 80000 > /sys/devices/system/cpu/cpufreq/interactive/timer_slack
# I/O Scheduler
echo 1024 > /sys/block/mmcblk0/queue/read_ahead_kb
echo "deadline" > /sys/block/mmcblk0/queue/scheduler
echo 500 > /sys/block/mmcblk0/queue/iosched/read_expire
echo 5000 > /sys/block/mmcblk0/queue/iosched/write_expire
echo 4 > /sys/block/mmcblk0/queue/iosched/writes_starved
echo 0 > /sys/block/mmcblk0/queue/iosched/front_merges
echo 1 > /sys/block/mmcblk0/queue/iosched/fifo_batch
echo "row" > /sys/block/mmcblk0/queue/scheduler
echo 100 > /sys/block/mmcblk0/queue/iosched/hp_read_quantum
echo 100 > /sys/block/mmcblk0/queue/iosched/rp_read_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/lp_read_quantum
echo 2 > /sys/block/mmcblk0/queue/iosched/hp_swrite_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/lp_swrite_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/rp_swrite_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/rp_write_quantum
echo 10 > /sys/block/mmcblk0/queue/iosched/read_idle
echo 20 > /sys/block/mmcblk0/queue/iosched/read_idle_freq
echo "cfq" > /sys/block/mmcblk0/queue/scheduler
echo 8 > /sys/block/mmcblk0/queue/iosched/quantum
echo 125 > /sys/block/mmcblk0/queue/iosched/fifo_expire_sync
echo 250 > /sys/block/mmcblk0/queue/iosched/fifo_expire_async
echo 16384 > /sys/block/mmcblk0/queue/iosched/back_seek_max
echo 2 > /sys/block/mmcblk0/queue/iosched/back_seek_penalty
echo 93 > /sys/block/mmcblk0/queue/iosched/slice_sync
echo 39 > /sys/block/mmcblk0/queue/iosched/slice_async
echo 2 > /sys/block/mmcblk0/queue/iosched/slice_async_rq
echo 7 > /sys/block/mmcblk0/queue/iosched/slice_idle
echo 0 > /sys/block/mmcblk0/queue/iosched/group_idle
echo 1 > /sys/block/mmcblk0/queue/iosched/low_latency
echo "bfq" > /sys/block/mmcblk0/queue/scheduler
echo 4 > /sys/block/mmcblk0/queue/iosched/quantum
echo 125 > /sys/block/mmcblk0/queue/iosched/fifo_expire_sync
echo 250 > /sys/block/mmcblk0/queue/iosched/fifo_expire_async
echo 16384 > /sys/block/mmcblk0/queue/iosched/back_seek_max
echo 2 > /sys/block/mmcblk0/queue/iosched/back_seek_penalty
echo 7 > /sys/block/mmcblk0/queue/iosched/slice_idle
echo 0 > /sys/block/mmcblk0/queue/iosched/max_budget
echo 4 > /sys/block/mmcblk0/queue/iosched/max_budget_async_rq
echo 125 > /sys/block/mmcblk0/queue/iosched/timeout_sync
echo 39 > /sys/block/mmcblk0/queue/iosched/timeout_async
echo 1 > /sys/block/mmcblk0/queue/iosched/low_latency
echo 20 > /sys/block/mmcblk0/queue/iosched/raising_coeff
echo 256 > /sys/block/mmcblk0/queue/iosched/raising_max_time
echo 7000 > /sys/block/mmcblk0/queue/iosched/raising_max_softrt_rate
echo 304 > /sys/block/mmcblk0/queue/iosched/raising_rt_max_time
echo 2000 > /sys/block/mmcblk0/queue/iosched/raising_min_idle_time
echo 500 > /sys/block/mmcblk0/queue/iosched/raising_min_inter_arr_async
echo "" > /sys/block/mmcblk0/queue/iosched/weights
# CAB
echo 1 > /sys/class/backlight/s6e8aa0/acl_set
# TCP Congestion Avoidance Algorithm
echo "westwood" > /proc/sys/net/ipv4/tcp_congestion_control;
# N7-specific
echo 500 > /sys/devices/system/cpu/cpu0/cpufreq/cpu_lp_max # LP core no longer used on FK
echo "1125 1100 1075 1050 1025 1000 975 950 925 900 875 850 825" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
echo 2 > /sys/class/misc/tegra_hotplug_control/cores_on_touch
echo 60 > /sys/class/misc/tegra_hotplug_control/first_level
echo 50 > /sys/class/misc/tegra_hotplug_control/second_level # No longer used in newer driver in FK
echo 25 > /sys/class/misc/tegra_hotplug_control/third_level # No longer used in newer driver in FK
echo 0 > /sys/devices/tegradc.0/smartdimmer/enable
Here's an awesome breakdown and research page for voltages most importantly pertaining to PVS values and overclocking.
Code:
download link:
PVS Research.xls (http://forum.xda-developers.com/attachment.php?attachmentid=2836827&stc=1&d=1404681790)
best max frequency (sweet performance/power spot):
MSM8974AB 2.3ghz - 1.34ghz
MSM8974AC 2.5ghz - 1.57ghz
MSM8974v2 2.2ghz - 1.34ghz
APQ8064 1.7ghz - 1.24ghz
APQ8064T 1.9ghz - 1.35ghz
best screen-off frequency (this varies if you try higher pvs settings):
Snapdragon 801 2.3ghz MSM8974AB - One M8
MSM8974AB 2.3ghz PVS 0 - 300mhz
MSM8974AB 2.3ghz PVS 1 - 346mhz
MSM8974AB 2.3ghz PVS 2 - 422mhz
MSM8974AB 2.3ghz PVS 3 - 499mhz
MSM8974AB 2.3ghz PVS 4 - 576mhz
MSM8974AB 2.3ghz PVS 5 - 652mhz
MSM8974AB 2.3ghz PVS 6 - 499mhz
MSM8974AB 2.3ghz PVS 7 - 576mhz
MSM8974AB 2.3ghz PVS 8 - 652mhz
MSM8974AB 2.3ghz PVS 9 - 729mhz
MSM8974AB 2.3ghz PVS 10 - 806mhz
MSM8974AB 2.3ghz PVS 11 - 883mhz
MSM8974AB 2.3ghz PVS 12 - 960mhz
MSM8974AB 2.3ghz PVS 13 - 1036mhz
MSM8974AB 2.3ghz PVS 14 - 960mhz
MSM8974AB 2.3ghz PVS 15 - 1036mhz
Snapdragon 801 2.5ghz MSM8974AC - Galaxy S5
MSM8974AC 2.5ghz PVS 0 - 422mhz
MSM8974AC 2.5ghz PVS 1 - 499mhz
MSM8974AC 2.5ghz PVS 2 - 576mhz
MSM8974AC 2.5ghz PVS 3 - 652mhz
MSM8974AC 2.5ghz PVS 4 - 729mhz
MSM8974AC 2.5ghz PVS 5 - 806mhz
MSM8974AC 2.5ghz PVS 6 - 652mhz
MSM8974AC 2.5ghz PVS 7 - 729mhz
MSM8974AC 2.5ghz PVS 8 - 806mhz
MSM8974AC 2.5ghz PVS 9 - 883mhz
MSM8974AC 2.5ghz PVS 10 - 960mhz
MSM8974AC 2.5ghz PVS 11 - 1036mhz
MSM8974AC 2.5ghz PVS 12 - 1113mhz
MSM8974AC 2.5ghz PVS 13 - 1190mhz
MSM8974AC 2.5ghz PVS 14 - 1113mhz
MSM8974AC 2.5ghz PVS 15 - 1190mhz
Snapdragon 800v2 2.2ghz MSM8974v2
MSM8974v2 2.2ghz PVS 0 - 345mhz
MSM8974v2 2.2ghz PVS 1 - 499mhz
MSM8974v2 2.2ghz PVS 2 - 422mhz
MSM8974v2 2.2ghz PVS 3 - 499mhz
MSM8974v2 2.2ghz PVS 4 - 576mhz
MSM8974v2 2.2ghz PVS 5 - 499mhz
MSM8974v2 2.2ghz PVS 6 - 576mhz
Snapdragon 600 1.7ghz APQ8064 - One M7
APQ8064 1.7ghz PVS 0 - 594mhz
APQ8064 1.7ghz PVS 1 - 594mhz
APQ8064 1.7ghz PVS 2 - 702mhz
APQ8064 1.7ghz PVS 3 - 810mhz
APQ8064 1.7ghz PVS 4 - 702mhz
APQ8064 1.7ghz PVS 5 - 810mhz
APQ8064 1.7ghz PVS 6 - 702mhz
Snapdragon 600 1.9ghz APQ8064T - Galaxy S4
APQ8064T 1.9ghz PVS 0 - 702mhz
APQ8064T 1.9ghz PVS 1 - 702mhz
APQ8064T 1.9ghz PVS 2 - 702mhz
APQ8064T 1.9ghz PVS 3 - 810mhz
APQ8064T 1.9ghz PVS 4 - 702mhz
APQ8064T 1.9ghz PVS 5 - 702mhz
APQ8064T 1.9ghz PVS 6 - 702mhz
best min frequency:
lowest possible setting (300mhz in case of MSM8974)
i highly recommend to run those values (exept if you are actually playing demanding 3d games).
use trickster mod frequency lock feature to do so. you will experience amazing battery life.
how to get the maximum battery life:
if you have a MSM8974AB pvs 6 for example, try the following steps:
try the next higher pvs levels (pvs7). don't try AC pvs values on AB chips.
AB chips are binned for lower frequencies while AC are binned for higher frequencies (duh).
so if you have a AB chip, work your way up the AB pvs values until you have freezes or similar and move back.
if you have a AC chip, work your way up the AC pvs values etc...
if you found highest setting that does not cause any problems after intensive testing and usage:
congratulations, you did it.
how to get the maximum frequency:
first try higher than stock maximum clock and see how it behaves.
if you don't reach your desired clockspeed, try the next lower pvs setting of your chip. yes, i said LOWER.
this gives the processor more voltage to reach higher overclocks.
i don't recommend it tho since we all want our phones to last as long as possible usually.
Thank you very much to @flar2 for all his work, and assisting people like me to port it to a device that otherwise would have no such love!
Gigantic thanks to @franciscofranco for his additions, fixes, and mako_hotplug!
Thank you to @Evolutionmods for helping me get this started, and for crucial fixes I would have no idea how to fix!
Thank you to @NineInchNails
@Captain_Throwback
@Vinchenzop
@Dubbsy
@Grommish
@Treken
These guys all have helped in very pivotal ways ,and I would not be at the understanding of android that I am today without them. Truly, thank you for being awesome helpful people!
Last but not least, thanks to these doods for helping test before release!
@kaosb0x
@shadowxaero
@stovo06
@dandan2980
Good one on mpdecision among other good stuff
Governors and schedulers explained:
http://forum.xda-developers.com/showthread.php?t=1687578
http://forum.xda-developers.com/galaxy-s2/general/ref-kernel-governors-modules-o-t1369817
http://tinzdroid.blogspot.com/2012/07/android-kernel-governors-modules-io.html
http://forum.xda-developers.com/showpost.php?p=21638852&postcount=56
PVS explained:
https://developer.qualcomm.com/forum/qdn-forums/general-discussion/27244
http://forum.xda-developers.com/showthread.php?t=2228246
http://www.oppoforums.com/threads/qualcomm-cpu-binning-is-yours-slow-nominal-fast-or-faster.2842/

Awesome! Another kernel that looks amazing! And mako_hotplugging... Winner right here
Sent from my XT1097 using Tapatalk

Oh Snap, what is going on Mass, Glad to see your kernel all over the place. Thought I was in the Sprint forums for a sec.

About time we got a new kernel.
Thanks a lot @MassStash. Will report in a bit. Gonna flash now.

skulldreamz said:
Awesome! Another kernel that looks amazing! And mako_hotplugging... Winner right here
Sent from my XT1097 using Tapatalk
Click to expand...
Click to collapse
Holy crap that was fast! thank goodness I nabbed those first three like right a-friggin-way hahahaha. Thanks man, flash and see what happens!?
dandan2980 said:
Oh Snap, what is going on Mass, Glad to see your kernel all over the place. Thought I was in the Sprint forums for a sec.
Click to expand...
Click to collapse
Dan, how the hell you find this so fast!? lolol Thanks man, super stoked to post this one as it's such a larger footprint to see be a part of. Excited to see how much people hate it lol
PSA: this current version is made with venom ramdisk and is flashing a full boot.img with it. Because I'm old school still, spr and vzw have seen some issues with txt and calls. Pretty sure it's that, so I'm looking into using anykernel like asap so that the zImage is simply injected into which ever rom you are on. Also, when I do this, I will be able to use one download link for all variants because it is already the same exact zImage and dt.img being used as I have the unified dtb's from capt's brilliant brain. Everything should work great, just wanted to make sure I gave everyone a heads up before the complaints. Thanks a million to anyone that joins in here, and happy thanksgivin to the USA peeps!

skulldreamz said:
Awesome! Another kernel that looks amazing! And mako_hotplugging... Winner right here
Sent from my XT1097 using Tapatalk
Click to expand...
Click to collapse
Just a heads up dunno if it still exists but after you flash the kernel changing the frequency caused the CPU freq to stick at 300mhz not sure if Mass has worked this out or not.
So just make sure not to change freq in an app just reflash kernel and do it with in the aroma if changing causes lag this is why other than that this kernel is freaking beast

dandan2980 said:
Just a heads up dunno if it still exists but after you flash the kernel changing the frequency caused the CPU freq to stick at 300mhz not sure if Mass has worked this out or not.
So just make sure not to change freq in an app just reflash kernel and do it with in the aroma if changing causes lag this is why other than that this kernel is freaking beast
Click to expand...
Click to collapse
There ya to again @dandan2980 stealing my THUUUNDAAAAAA again.
At least you didn't write up a 2,000 word essay this time to simply say "don't change the frequencies or you'll have to reflash" :thumbup:
???
Don't forget the thanks button for EVERYONE that has helped you.

stovo06 said:
There ya to again @dandan2980 stealing my thunder again.
At least you didn't write up a 2,000 word essay this time to simply say "don't change the frequencies it you'll have to reflash" :thumbup:
???
Don't forget the thanks button for EVERYONE that has helped you.
Click to expand...
Click to collapse
lol that's awesome. Glad to see my only 2 groupies have showed to show their blessings! These guys have been running this for a while on spr variant, and very knowledgeable so feel free to ask questions and one of us three will do our best to get at ya with useful response. These guy's responses are usually more useful than mine haha

After flashing, I changed a few things in fauxclock and phone was extremely laggy. However, after a full reboot, everything is running buttery smooth. Will report on battery life later. Thanks again. ?

TheKnux said:
After flashing, I changed a few things in fauxclock and phone was extremely laggy. However, after a full reboot, everything is running buttery smooth. Will report on battery life later. Thanks again. ?
Click to expand...
Click to collapse
Reflash kernel and don't change the cpu freq at all in a cpu app you can only change freq in the aroma installer a little bug that needs to be worked out

Very good kernel

So far so good
Thanx for the great job

This kernel is great so far awesome work dev.

MultiRom support?

HC4Life said:
MultiRom support?
Click to expand...
Click to collapse
Well it's based on flar's kernel so I'd imagine yeah...correct me if I'm wrong tho
Sent from my iPhone using Tapatalk

ssojyeti2 said:
Well it's based on flar's kernel so I'd imagine yeah...correct me if I'm wrong tho
Sent from my iPhone using Tapatalk
Click to expand...
Click to collapse
I will try. Thx

I got distorted sound during phone calls with this kernel (same as with lyapota's one). How to solve it?

lulonen said:
I got distorted sound during phone calls with this kernel (same as with lyapota's one). How to solve it?
Click to expand...
Click to collapse
On your end or other users? Just spoke to my mother and she sounded clear, but said it sounded statically.
Sent From My HTC One (M8)

Related

[KERNEL] [xx/xx] [3.4.62] ★ AK ★ [v.0xx]

{
"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"
}
​I am not responsible for any damage to your phone.
Read before downloading or posting in the thread:
Proceed with caution if you have no experience.
[4.3] STABLE KERNELS
NB: NEW ANYKERNEL FORMAT:
- Flash base Kernel of your rom before using this new version!
STOCK
stock Kernel: JSS
stock Kernel: JWR
JWR ED.
ak kernel: AK.JWR.25+
Features: Link
Github Kernel: Link
JSS ED.
ak kernel: AK.JSS.25+
Features: Link
Github Kernel: Link
[4.3] EXPERIMENTAL KERNELS
JWR ED.
ak kernel:
Github Kernel:
JSS ED.
ak kernel:
Github Kernel:
THANKS:
Faux
Stratosk
Mathkid
Francisco
Morfic
RamGear
BytecodeMe
Eng.stk
Jlink38
Boype
Thracemerin
Motley-git
Showp1984
Myfluxy
Androlinroot
Hellsgod
Zyonee
All RC, RD and RT
DON'T FORGET THANKS, RATE AND DONATE BUTTON:
Kernel Features
AK FEATURES
* Baseline:
4.3 JWR and JSS
Linux 3.4.62+
Compiled with Latest Linaro 4.8.2 Toolchain
-O3 Optimizations
SELinux Security Inside
* Wifi Drivers:
New Prima wlan drivers: v3.2.3.92a
* Governors:
Ondemand (Default)
Ondemandplus
Interactive
Conservative
Intellidemand
Wheatley
Hyper
Smartmax
* Hotplug Governors:
Mpdecision (Default)
auto hotplug:
2 core min online with screen on
1 core online with screen off
720mhz max freq screen off - 384mhz mix screen off
boosted and married with interactive
intelli plug
* Schedulers:
deadline (Default)
cfq
noop
sio
bfqv2r6
Fiops
Row
* Read Ahead Buffer Size:
256/32 (Default)
* Cpu Freqs Range:
270Mhz
378Mhz
384Mhz
486Mhz
594Mhz
702Mhz
810Mhz
918Mhz
1026Mhz
1134Mhz
1242Mhz
1350Mhz
1458Mhz
1512Mhz
* Gpu Freqs with Boost Support:
Boost:
128Mhz
200Mhz
320Mhz (Default)
400Mhz
487Mhz
533Mhz
Freqs:
128Mhz
200Mhz
320Mhz
400Mhz
487Mhz
533Mhz (Default)
* Gpu Governors with min power enabled when into deep sleep:
Ondemand (Default)
Simple
Performance
* Thermal Drivers:
Qualcomm thermal (Default)
Faux Intelli thermal
* Sweep on phone:
sweep2wake, sweep2slip
* TCP Congestion:
Westwood (Default)
Cubic
Bic
Htcp
Hstcp
Hybla
Vegas
Scalable
Lp
Veno
Yeah
Illinois
Reno
* Others Features:
Fully merged with cm10.2
OTG support
A lot of Cpu IDLE patches
Enhanced squre root algorithm
Asyn IO latency optimized
LZ4 Compressor/Decompressor for ZRAM
Random and Entropy fixes
CGROUP Timer slack
PA Halfbreed color by defaultStrips a lot of debugsDisabled CRC software control
New Codel NetScheduler
Topology Features
Scheduler Power SavingBattery life Extender (BLX)
Added SQLB Allocator
Optimized ARM RWSEM
Optimized Lib string and memcop
Added optimized AES and SHA1 routines
Hotplug Control
Touch Filter Control
Led triggers Control
SAI Control
Wakelock Stats enhanced
Fast Charger
Eco Mode (2 core only)
Snake Charmer (Freq capped)
C0,C1,C2,C3 Deep sleep State Control
Dynamic Fsync
Vibration control
Faux Gamma control
Faux Sound control v3
Stratosk Voltage control
Temperature Toggle
Added Charger Notify
Other Features
AK OPTIMAL SETTINGS:
CPU Control
Min clock = 270 MHhz
Max clock = 1.512 GHz
CPU Governor = Hyper
Mpdecision = Off
Auto Hotplug = On
1 core min - 2 core max
screen off max 702Mhz
screen off min 270Mhz
I/O Scheduler = noop
SOC Control
C0 - On
C1 - On
C2 - On
C3 - On
NB:
(Note: N4 AP modem is very sensitive to some of the deeper sleep states,
if you experienced Green/Yellow AP Modem Watchdog Bark screens,
I recommend disabling C2/C3 states).
Voltage Control
Boost Voltages = Off
Undervolt based on CPU type (slow, normal, fast or fastest)
GPU Control
GPU Governor = Simple
GPU Clock = 400 MHz
GPU Vsync Toggle = On
Misc Control
Dynamic File Sync = On
TCP Congestion Control = Westwood
Vibration Control = 70
Screen Color
Factory Presets - LG Presets
Color Adjustments - R, G, B 255, 250, 245
Gamma Amp Adjust 0 - R, G, B 13, 20, 22
Gamma Amp Adjust 1 - R, G, B 0, 2, 3
Z-Control
Set On Boot - On for both
ZRAM Disk size - 150~200 Megabytes (or 50 MB when disabled)
ZRAM Enable/Disable - Enable if you mult-task often
Clear VFS Cache After Boot - On
Auto FS Writeback Delay Mode - On
Swappiness - 100% if ZRAM enabled, 0% if disabled
VFS Cache Pressure - 100% if ZRAM enabled, 150% if disabled
Dirty Ratio - 20% for both
Dirty Background Ratio - 5% for both
HOW POST PROBLEMS BY FAUX
1. To report all random reboots with associated /proc/last_kmsg
2. To provide feedback on errors or bugs with detail phone information such as ROM, kernel version, and apps
3. Participate in Forum discussions (all is beta here) with others without FLAMING or post useless information such as:
a) Phone doesn't boot (without providing any additional information, ROM versions etc)
B) phone is too hot (without providing any additional information, ie OC freq, UV etc)
AK SUPPORT FAUXCLOCK:
you can view chagelog directly from APP
you can download official and beta releases
Thanks a lot to Faux who created this great application!
THE OPEN BETA
The Open Beta system is designed to have the community help each other and the developers.
This way, all potential bugs are flushed out so the final released version will be stable and error free.
The more actively you participate in Beta Testing the better the final product will be
(you are really helping yourself to create a better community software).
Faux123​
Techincal infos
* PLEASE NB:
Many of the documents and informations are taken by other threads,
so to prevent someone PM me with ...., I want to avoid saying:
"all credit to the authors".
Thanks a lot.​
C STATE POWER CONTROL
DOCs:
Faux123 - Manual for SOC power Control
Faux123 - SOC C-States demystified
Bigeyes0x0 - About C State
C0 (WFI) - Shallowest Sleep (default enabled)
enable: echo 1 > /sys/module/pm_8x60/modes/cpu0/wfi/idle_enabled
disable: echo 0 > /sys/module/pm_8x60/modes/cpu0/wfi/idle_enabled
C1 (Retention) - slightly deeper sleep
enable: echo 1 > /sys/module/pm_8x60/modes/cpu0/retention/idle_enabled
disable: echo 0 > /sys/module/pm_8x60/modes/cpu0/retention/idle_enabled
C2 (Stand Alone Power Collapse) - deeper sleep
enable: echo 1 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/idle_enabled
disable: echo 0 > /sys/module/pm_8x60/modes/cpu0/standalone_power_collapse/idle_enabled
C3 (Power Collapse) - deepest sleep
enable: echo 1 > /sys/module/pm_8x60/modes/cpu0/power_collapse/idle_enabled
disable: echo 0 > /sys/module/pm_8x60/modes/cpu0/power_collapse/idle_enabled
​UNDERVOLTING USERSPACE
DOCs:
Stratosk - About Undervolting
Stock kernel uses a paramater boost_uV.
By default, is added in voltages but it can be disabled.
The value of boost_uV is 0 for Slow bin chips and 25000 uV = 25 mV
for Nominal, Fast and Faster.
The boost_uV may be disabled using this command:
(= undervolting by 25000 uV in Nominal, Fast and Faster)
echo n > /sys/module/acpuclock_krait/parameters/boost
3 more paramater that handle undervolting:
- lower_uV: undervolting value for lower frequencies
- higher_uV: undervolting value for higher frequencies
- higher_khz_thres: above this frequency (default 1350000KHz) higher_uV will be used.
Else lower_uV will be used.
Undervolting value is subtracted from stock voltage. The final voltage for each frequency is calulated:
Vdd(final) = Vdd(core) + boost_uV - uV
So, to undervolt frequencies 384000-1242000 by 25mV and the other frequencies by 12.5mV use these command:
echo 25000 > /sys/module/acpuclock_krait/parameters/lower_uV
echo 12500 > /sys/module/acpuclock_krait/parameters/higher_uV
The higher_khz_thres maybe changed using this command (for example to use higher_uV from 981000KHz):
echo 918000 > /sys/module/acpuclock_krait/parameters/higher_khz_thres
Debugfs file (acpuclk/acpu_table) to show the acpu table frequencies and voltages.
For example to get the information about the current status use this command:
cat /sys/kernel/debug/acpuclk/acpu_table
CPU PVS: Fast
Boost uV: 25000
Boost uV enabled: No
Higher KHZ threshold: 1350000
Lower under uV: 37500
Higher under uV: 25000
CPU KHz VDD(stock) VDD(final) Difference
384000 875000 812500 -62500
486000 900000 837500 -62500
594000 925000 862500 -62500
702000 950000 887500 -62500
810000 1000000 937500 -62500
918000 1025000 962500 -62500
1026000 1050000 987500 -62500
1134000 1100000 1037500 -62500
1242000 1125000 1062500 -62500
1350000 1150000 1100000 -50000
1458000 1162500 1112500 -50000
1512000 1175000 1125000 -50000​
Nice. Gonna try it soon.
Yesssss
Sent from my Nexus 4 using Tapatalk 4
Word
Sent from my Nexus 4 using xda premium
So the party begins :fingers-crossed:
Fantastic
Sent from my Nexus 4
hell yeah! flashing now. it'll charge tonight, and I'll report back tomorrow with performance
Man this kernel is nice. Pretty smooth.
Sent from my Nexus 4 using Tapatalk 4
deleted
And the party started :thumbup::thumbup::thumbup: rated 5 stars as always
"using the search button won't get you killed"
w00t :victory:
ranasrule said:
TricksterMod is still the preferred app for changing kernel settings/parameters ?
Click to expand...
Click to collapse
Would like to know also. I prefer faux, but don't know if it will play nice.
Sent from my Nexus 4 using Tapatalk 4
Was waiting this kernel for my 4.3 baby....Thanks AK !
Whats is the difference between intelli hotplug and dynamic? Which is better?
TricksterMod is the preferred way to change kernel settings/parameters ?
Yes, it's in my eyes the best mod for kernel tweaks
GT-I9505 / Nexus⁴ Tapatalk
Just installed! Will come back with results as soon as I get them.

[Kernel]-Ultimate Hells-Core-[JSS15J][05/09/13]BETA 2//

{
"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"
}
Welcome to my Kernel Thread !
This Kernel is based on Hells-Core !
Latest Build: Beta 2 (B2)
my github​​
Donations I got
*MallardDuck
XDA:DevDB Information
UltimateHellsCore_Development, a Kernel for the Google Nexus 4
Contributors
AndrolinRoot, hellsgod
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: Beta 2
Beta Release Date: 2013-09-06
Created 2013-09-06
Last Updated 2013-09-07
Features of this Kernel​
Code:
:::4.3 starts from::::
<<Main Features from 4.2 which are mostly also in 4.3>>
ROW Scheduler (default)
SIO
Color profiles
ARM Auto Hotplug
Scheduler-optimizing
-100MV undervolt
UV Interface
288mhz as "low freq"
some not used freq. are removed
faux Sound Control
faux Speaker Amp Control
faux Gamma Control with motley's tweak to get it working with trickstermod
dynamic fsync
USB Force Fast Charging
mako_hotplug 2 (thx myfluxi, franciscofranco)
Scheduling Patches
rq Patches
lmk Patches
pm Patches
S2W Fix (thx myfluxi)
GPU Patches
Charger / Battery Patches
HSIC Patches
O2 optim.
O3 optim.
workqueue Patches
<<I dont remember all>>
(b30)
Rebase to 4.3 source
Alle main features from 4.2
(b31)
Makefile: Compile Optimization Part 2
Use pgprot_writecombine in ion_system_heap_map_kernel for optimization (IntersectRaven)
(b32)
Async I/O latency to a ssd greatly increased, 34% gain (Creds: kleikamp)
mm: writeback: every 500ms the writeback daemon kicks in and flushes the dirty pages into disk (franco)
Revert "block: row: fix one of the magic values.
Revert "block: row: hardcode magic values
block: row-iosched idling triggered by readahead pages (Lee Susman)
mm: change initial readahead window size calculation (Lee Susman)
mm: pass readahead info down to the i/o scheduler (Lee Susman)
thermal: tsens8960: Increase the polling rate (Siddartha Mohanadoss)
cgroups: timer_slack: forward port timer_slack to 3.4 (franco)
msm_fb: Set RR sched policy for Glupdator thread (Kalyan Thota)
msm: don't compile MSM_RUN_QUEUE_STATS (franco)
ARM: 7493/1: use generic unaligned.h (faux123)
lib: Sparc's strncpy_from_user is generic enough, move under lib/ (faux123)
lib: add generic strnlen_user() function (torvalds)
lib: Fix generic strnlen_user for 32-bit big-endian machines (paulusmack)
ARM: use generic strnlen_user and strncpy_from_user functions (faux123)
kernel: Move REPEAT_BYTE definition into linux/kernel.h (faux123)
word-at-a-time: make the interfaces truly generic (torvalds)
arch/arm/Kconfig: enable unaligned capability for ARM (faux123)
ARM: dcache: select DCACHE_WORD_ACCESS for little-endian ARMv6+ CPUs (Will Deacon)
ARM: 7492/1: add strstr declaration for decompressors (Rob Herring)
ARM: 7592/1: nommu: prevent generation of kernel unaligned memory accses (Will Deacon)
ARM: 7593/1: nommu: do not enable DCACHE_WORD_ACCESS when !CONFIG_MMU (faux123)
(b33)
lib/scatterlist: do not re-write gfp_flags in __sg_alloc_table()
switch the protection of percpu_counter list to spinlock
lib/vsprintf.c: "%#o",0 becomes '0' instead of '00'
vsprintf: correctly handle width when '#' flag used in %#p format
vsprintf: further optimize decimal conversion
vsprintf: add %pMR for Bluetooth MAC address
lib/vsprintf.c: remind people to update Documentation/printk-formats
lib/vsprintf.c: kptr_restrict: fix pK-error in SysRq show-all-timers(Q)
vsprintf: add support of '%*ph[CDN]'
lib: vsprintf: optimize division by 10 for small integers
lib: vsprintf: optimize division by 10000
lib: vsprintf: optimize put_dec_trunc8()
lib: vsprintf: fix broken comments
lib/vsprintf: update documentation to cover all of %p[Mm][FR]
lib/vsprintf.c: improve standard conformance of sscanf()
scatterlist: add sg_alloc_table_from_pages function
scatterlist: atomic sg_mapping_iter() no longer needs disabled IRQs
tmpfs: fix mempolicy object leaks
Make sure PWMs are running in sync
lm3530: Add a toggle for the CABC PWM
msm: pm-8x60: Setup memory for save/restore cpu registers early
msm: hotplug: wait for hotplug completion event from secondary core
msm: pm-8x60: Use relative time for events
msm: pm: send notification only for SPC and PC
msm_fb: display: fix iommu page fault when iommu buffer freed
msm: avs: Restore core voltage when disabling AVS
msm: spm: set vdd directly for current cpu
msm: pm: Add support for retention on each core
msm: pm: add failed stats
msm: rpm: add debug msg for rpm outstanding req
Staging: android: binder: Fix memory leak on thread/process exit
msm: display: Add DSI clock control for MDP GDHS power collapse
mako: Add DSI clock control for MDP GDHS power collapse
msm: Fix race condition in domain lookup
mmc: core: Allow changing bus frequency for SD/eMMC cards in runtime
mmc: core: Fix some driver hangs when dealing with broken devices
mmc: core: Add load based clock scaling support
mmc: core: Add sysfs entries for dynamic control of clock scaling
mmc: core: claim mmc host while enabling clock scaling from userspace
mmc: core: run clock scaling only in valid card state
mmc: core: Log MMC clock frequency transitions
mmc: core: Add support for notifying host driver while scaling clocks
mmc: msm_sdcc: Add support for dynamic bus clock vote
mmc: msm_sdcc: fix a type mismatch in msmsdccc_config_dma()
mmc: msm_sdcc: Enable clock scaling capability
mmc: core: remove the polling for BKOPS completion
msm: msm_bus: Fix the 64-bit division during interleaving
msm: msm_bus: Change MDP port interleaved setting
msm: msm_bus: Add NULL pointer checks
msm: msm_bus: Explicitly clear client requests before removal
msm: msm_bus: Correct the return value from register-client
msm: pm-data: Enable powercollapse/suspend_enabled for non-boot cpus
sched: Reset rq->next_interval before going idle
hrtimer: Prevent hrtimer_enqueue_reprogram race
sched: fix reference to wrong cfs_rq
sched: Convert BUG_ON()s in try_to_wake_up_local() to WARN_ON_ONCE()s
sched: change WARN_ON_ONCE to WARN_ON in try_to_wake_up_local()
msm: move printk out of spin lock low_water_lock
msm: pm: Add support to query cpu status
mako: Add support to query cpu status
mmc: Urgent request support
msm_fb: hdmi: Resolution modes on HDMI
remove compilation error by changing int to uint32_t
video: msm: external: Limit HDMI to standard resolutions
# VM-Tweaks
echo "4096" > /proc/sys/vm/min_free_kbytes;
echo "0" > /proc/sys/vm/oom_kill_allocating_task;
echo "0" > /proc/sys/vm/panic_on_oom;
echo "0" > /proc/sys/vm/laptop_mode;
echo "0" > /proc/sys/vm/swappiness;
echo "50" > /proc/sys/vm/vfs_cache_pressure;
echo "90" > /proc/sys/vm/dirty_ratio;
echo "1" > /proc/sys/vm/overcommit_memory;
echo "4" > /proc/sys/vm/min_free_order_shift;
echo "1" > /proc/sys/vm/oom_dump_tasks;
echo "0" > /proc/sys/vm/swappiness
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs;
echo "500" > /proc/sys/vm/dirty_expire_centisecs;
echo "8" > /proc/sys/vm/page-cluster;
echo "3" > /proc/sys/vm/drop_caches
# File-System
echo "10" > /proc/sys/fs/lease-break-time;
echo "32000" > /proc/sys/fs/inotify/max_queued_events;
echo "524288" > /proc/sys/fs/file-max;
echo "256" > /proc/sys/fs/inotify/max_user_instances;
echo "10240" > /proc/sys/fs/inotify/max_user_watches;
# Kernel-Tweaks
echo "1000000" > /proc/sys/kernel/sched_min_granularity_ns;
echo "18000000" > /proc/sys/kernel/sched_latency_ns;
echo "3000000" > /proc/sys/kernel/sched_wakeup_granularity_ns;
echo "0" > /proc/sys/kernel/panic;
echo "1" > /proc/sys/kernel/panic_on_oops;
echo "64000" > /proc/sys/kernel/msgmni;
echo "64000" > /proc/sys/kernel/msgmax;
echo "4096" > /proc/sys/kernel/shmmni;
echo "2097152" > /proc/sys/kernel/shmall;
echo "536870912" > /proc/sys/kernel/shmmax;
echo "524288" > /proc/sys/kernel/threads-max;
echo "500 512000 64 2048" > /proc/sys/kernel/sem;
echo "0" > /proc/sys/kernel/sched_child_runs_first;
# Network Tweaks
echo "524288" > /proc/sys/net/core/rmem_max;
echo "524288" > /proc/sys/net/core/wmem_max;
echo "6144 87380 524288" > /proc/sys/net/ipv4/tcp_rmem;
echo "1" > /proc/sys/net/ipv4/tcp_tw_recycle;echo "6144 87380 524288" > /proc/sys/net/ipv4/tcp_wmem;
fs/sync: Make sync() satisfy many requests with one invocation
Revert "input: lge: use the old 100px finger movement code for CPU frequency”
Revert "drivers: input: disable onlining the second core on screen touch”
Revert "drivers: input: clean up the boospulse call detection funtion."
Revert "drivers: input: instead of calling boostpulse every touch input...”
lge_touch_core: Simpler method of boosting the cpu frequency on touch
intellidemand: Activate Touch Boost
ondemand: Set boosfreq to 1242mhz (for Touch Boost)
cpufreq: intellidemand: Change optimal_freq to 1242mhz
cpufreq: ondemand: Set optimal_freq to 864mhz and sync_freq to 1350mhz
intellidemand: Tweak some values
delete ("/system/lib/hw/power.msm8960.so"); (im UpdaterScript)
msm_fb: display: fix the hang issue caused by solidfill pipe
msm_fb: display: add mfd null pointer and mfd panel_power_on checks
msm: mdp: Do not wait for vsync for command mode panel
msm_fb: Set timeline threshold for command mode to 2
Revert "msm: mdp: Update sync pt. behaviour"
msm: display: command mode panel release fence
msm: mdp: Update sync pt. behaviour
msm: mdp: Change msmfb kworker to kthread
intellidemand: Set Optimal-Freq back to 1242mhz (testing)
ondemand: Set boostfreq to 1026mhz (1242mhz is maybe to high)
intellidemand: Set Sync_Freq backt to 702mhz
acpuclock: Deactivate 864mhz
Revert "cpufreq: smartmax: Test ideal freq 864mhz (we don't need 1026…
ondemand: Set Sync_Freq back to 702mhzsound/soc/codecs/wcd9310.c: expose additional controls
cpufreq: conservative: Enable load tuning (thx myfluxi) (reverted
Revert "arm: mako_hotplug: Add intermediate load level"
Revert "mako_hotplug: Pull check routine optimizations from franco git"
Revert "mako_hotplug: Pull Chalhoubs circular buffer from franco git"
Revert "mako_hotplug: Properly set cpu freq policy on suspend/resume"
cpufreq: Introduce governor load tuning
Revert "mako_hotplug: Resume late from early suspend"
Revert "mako-hotplug: Fixup funtion declaration"
Revert "arm: mako_hotplug: Stop spamming the kernel log buffer"
Revert "arm: mako_hotplug: Unify drivers, Lindent, cleanup interface"
Revert "arm: mako_hotplug: Fix section mismatch"
Revert "arm: mako_hotplug: Import from francoKernel"
ARM: add auto hotplug driver
arm: auto hotplug - wrap all pr_info into the existing debug mode so we
auto_hotplug: enhancements
auto_hotplug: enhancements (rev 2)
auto_hotplug: enable the min_online_cpus value
auto_hotplug: enhancements (rev 3)
auto_hotplug: parameter validation for max_online_cpus
auto_hotplug: stack the deck on auto_hotplug_late_resume to get things
auto_hotplug: rev 4 - let's lean a little more towards performance.
auto_hotplug: Set min cores online to "2" and onlining all cores usin…
Revert "cpufreq: interactive: Enable userspace control for load tuning"
cpufreq: ondemand: Enable userspace control for load tuning
Revert "cpufreq: boost the sampling rate on touch event"
cpufreq: boost the sampling rate on touch event
config: Activate auto_hotplug
Revert "mako: Add support to query cpu status"
Revert "msm: pm: Add support to query cpu status"
Revert "msm: pm-data: Enable powercollapse/suspend_enabled for non-bo…
Revert "msm: pm: Add support for retention on each core"
Revert "msm: hotplug: wait for hotplug completion event from secondar…
Revert "msm: spm: set vdd directly for current cpu"
auto_hotplug: Add suspend_freq
auto_hotplug: Tweaks for battery / Allow higher enable_load_threshold…
cpufreq: ondemand: Fix the boostpulse interface (again)
lge_touch_core: Do not boost touch while suspended
Revert "touch_synaptics: Loop until i2c is awake (thx myfluxi)"
Revert "touch_synaptics: Add delay to init function"
Revert "touch_synaptics: i2c read delay is only needed while suspended"
Revert "touch_synaptics: Give i2c a little time to wakeup, fix sweep2…
touch_synaptics: Loop until i2c is awake
sweep2wake: Cleanup (thx myfluxi)
sweep2wake: disable as default for now
kernel: cgroup_timer_slack: Adaptations for 3.4 kernel
writeback: Fix occasional slow sync(1)
binfmt_elf.c: use get_random_int() to fix entropy depleting
mmc: msm_sdcc: check for pending_resume in SDCC system suspend
sound control 3.x: Initial GPL release for WCD9310 Audio Codec
config: Use XZ instead of GZIP
freezer: set PF_SUSPEND_TASK flag on tasks that call freeze_processes
block: cfq: merge tweaked tunables.
cpufreq: interactive: Set hispeed_freq to 1026mhz
mach-msm: subsystem_restart: Fix CPU detection
board_mako: Adjust throttle temp
touchscreen: tweak some initialization parameters for better UI response
Accuracy Filter Control: export accuracy filter items to userspace
input: touchscreen: change filter parameters courtesy of viking37.
---><-----><------><------><------><------><-------><-----><
-------------------------------------------------------------------------
<<Ultimate Hells Core Development starts now>>
Build Number : v37t1
Added GPU OC to 487Mhz and tweaked it (credits to faux)
---------------------------------------------------------------------------
New Build Numbers : Beta 1
Added reworked blx (credits mathkid95)
Added new build flags
Added/ build with own tool chain
----------------------------------------------------------------------------
New Build Number : Beta 2
-Fixed acpuclock-8064.c (aznrice2k4 )
-New GPU OC config
-CPU OC to 1823MHz (parts used from engstk)
-Max normal freq is 1500mhz
-Fixed blx
-Other minor tweaks and fixes
Downloads​
Flash at your own risk !
--------------------------------------------------------------------------------------
-- First Release -- v37
Build by hells, next builds will be build by me
DOWNLOAD THE BEAST
JSS is stable / JWR has Screen tearing​-----------------------------------------------------------------------------------------
Hey, so here is a build which was compiled by me !
Its now Beta 1 !
DOWNLOAD NEW BEAST​
Code:
Changelog:
New Build Numbers : Beta 1
Added reworked blx (credits mathkid95)
Added new build flags
Added/ build with own tool chain
-----------------------------------------------------------------------------------------
Hey , so finally with the help of my good old friend aznrice2k4 I got it to compile
No testers needed, I tested it
Build Number : Beta 2 (stable)
Changelog:
-Fixed acpuclock-8064.c (aznrice2k4 )
-New GPU OC config
-CPU OC to 1823MHz (parts used from engstk)
-Max normal freq is 1500mhz
-Fixed blx
-Other minor tweaks and fixes
Download new Beast​
Thanks to hellsgod for the kernel base and the help !
Also thanks to him for this build , since I had some errors with my build server !
Credits:
>>hellsgod
>>faux123
>>morfic
>>franciscofranco
>>engstk
>>mathkid95
>>aznrice2k4
>>molesarecoming for color profiles
>>Birdman and Goo.im for Buildserver
>>One2thTEXAN for banners
>>BytecodeMe for helping
>>cpu999 for helping
>>Oblikas for helping​
If someone feels bad because I forgot him ->PM me
​
Here are 2 bootanimations made for this kernel by One2thTEXAN
Download
Use this Banner made by One2thTEXAN to show support
Or use mine from #1 post
[/CENTER]
What? Hellscore is here.. Wowww :thumbup:
Sent from my Nexus 4 using Tapatalk 4
Nice man ! So many toys to play...this why I love nexus !!!:thumbup::thumbup:
welcome! really good kernel.
No download links?
TrOjAn
AndrolinRoot said:
Features of this Kernel​
Code:
:::4.3 starts from::::
<<Main Features from 4.2 which are mostly also in 4.3>>
ROW Scheduler (default)
SIO
Color profiles
ARM Auto Hotplug
Scheduler-optimizing
-100MV undervolt
UV Interface
288mhz as "low freq"
some not used freq. are removed
faux Sound Control
faux Speaker Amp Control
faux Gamma Control with motley's tweak to get it working with trickstermod
dynamic fsync
USB Force Fast Charging
mako_hotplug 2 (thx myfluxi, franciscofranco)
Scheduling Patches
rq Patches
lmk Patches
pm Patches
S2W Fix (thx myfluxi)
GPU Patches
Charger / Battery Patches
HSIC Patches
O2 optim.
O3 optim.
workqueue Patches
<<I dont remember all>>
<<Ultimate Hells Core Development starts now>>
Added GPU OC to 487Mhz and tweaked it (credits to faux)
What comes next / feature requests
>>BLX from Matrix<<​
Click to expand...
Click to collapse
What changes are done in Sleep to wake
& where is the download link
Here comes another toy. =w= Devil snickers~
Hell yeah, had to use google translate every version lool..
thanks for this amazing kernel
Download the beast !
Download hells porn
How's the battery life?
I always wanted to do that.... lol
playya said:
How's the battery life?
I always wanted to do that.... lol
Click to expand...
Click to collapse
If you dont set your min freq. to 1512mhz its super
Finally no more speaking german on the original thread Thnx for bringing hells core tot xda!!!!
Verstuurd vanaf mijn Nexus 4 met Tapatalk 4
AndrolinRoot said:
If you dont set your min freq. to 1512mhz its super
Click to expand...
Click to collapse
Ahhh sooky sooky now gonna test this puppy now...lol damn and I was hoping I could set to 1512... Lol
Serious note good stuff and Thx for the contribution
So far so good...
Tested Touch Control & it works :victory:
Performance is good..Now to test the battery life
Glad to this kernel in the N4 XDA section! Cool
Guys you should know I use his kernel as base and dont maintain it !
If you want features write them here and I will look into them
Nice, testing now

[KERNEL] [Jan 28] [Sense][GPE] Hypernova_2.0.3-Mallow && Flar-Port_6.03.3-Mallow

[KERNEL] [Jan 28] [Sense][GPE] Hypernova_2.0.3-Mallow && Flar-Port_6.03.3-Mallow
{
"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"
}
HTC One M8_WHL Sense Kernel
(All Variants)
This kernel has been
MassStashed​
Kernel Features
FEATURES - FlarPort
Latest Pre-Release optimized -O3 linaro 4.9.3 toolchain
Easy installation with Aroma installer - Special thanks to flar2
overclocking
gboost for enhanced gaming performance
choose voltage profile in installer
full user voltage control
underclock CPU or GPU
i/o schedulers: FIOPS, SIO, CFQ, NOOP, ROW, deadline
optional sweep2sleep
Optional custom wake gestures (no motion required!)
Optional pocket detection (with custom wake gestures)
Option to disable volume button wakes camera (with custom wake gestures)
High Definition Audio capability
Optional USB fastcharge
Option to reduce vibration strength
Remove /system write protection
NTFS r/w, CIFS, exFAT support
Option to disable fsync
Option to disable magnetic cover
/dev/frandom support
Color control
DriveDroid support
Stereo call recording
Unified dtb's to make work with all variants (Thanks captain_throwback)
Kernel Features
FEATURES - Hypernova
Latest Pre-Release optimized -O3 linaro 4.9.3 toolchain
Everything from flar2's amazing kernel (Gboost removed in favor of interactive and hotplug cpu control. Not necessary with this setup)
Franco's mako_hotplug
*cpu-boost* (Removed currently)
Franco's enhanced interactive governor set to default (Tweaked settings thanks to Dan)
NTFS support
Many other enhancements not normally added to sense kernels that I've seen
F2FS
INSTALLATION
1. Install zip from recovery
2. Follow the instructions, if you don't know what to do, use the pre-selected options
3. Wipe cache/dalvik cache
4. Reboot
It is recommended to disable or increase the screen timeout in TWRP recovery. If the screen timeout is enabled in TWRP, there may be a black screen after exiting the Aroma installer. This is nothing to worry about. Simply hold power and volume down and volume up buttons until it reboots. The installation will be fine. If things get stuck in aroma, simply do this reboot method and immediately hold down to get to bootloader mode, then select recovery and start from the beginning.
Donate to franciscofranco!
A lot of this is thanks to franciscofranco’s commits, so donate to him!
Donate to Flar2!
A lot of this is thanks to flar2’s commits, so donate to him!
Here’s mine if you would like to donate to me specifically
DOWNLOADS
Sense 5.0.1 & 5.0.2
GPE 6.0
NOTES AND OTHER IMPORTANT STUFF YOU SHOULD KNOW!!!
ElementalX Configuration File
Your choices in the Aroma installer are used to build a configuration file. The config file is located at /etc/elementalx.conf. You can edit this file to change kernel settings. Whatever is set in this file will take effect when the device is booted (unless other scripts or apps interfere!)
If settings are not sticking:
[*]Make sure you have busybox installed correctly and updated to the latest version
[*]Make sure the file permissions for /etc/init.d/99elementalx or 99msx are set to execute.
[*]Check to see if any /etc/init.d scripts or apps (such as Kernel Tuner or TricksterMod) are interfering with your settings.
ElementalX Log File
Every boot, a log file is created at /data/local/tmp/elementalx-kernel.log or msx-kernel.log. This file shows the date and time and all settings that have been applied. Use this to verify and troubleshoot configuration options. Also, in this file is your devices PVS number. Please refer to the links down below as to what the heck the PVS means. Helps with troubleshooting OC/voltage related reboots device specific. Not all devices were created equal!
Overclocking
Overclocking is optional. The installer lets you choose the maximum frequency. Whatever frequencies you chose in the installer will be set at boot for each CPU. Not all devices can handle overclocking. I don't recommend overclocking, this device is fast enough. If you overclock, the CPU frequency will likely be throttled due to heat. I recommend the stock frequencies, as this device is plenty fast.
CPU voltages
The installer allows you to choose from several undervolting options: stock, -15mV, -30mV, or -45mV. This only undervolts the lowest frequency, which happens to be the frequency used the most, and this is safer. Be careful, lowering voltages can cause instability.
gboost
gboost enhances gaming performance by giving a slight boost to cpu frequencies when the graphics load is high (e.g. while gaming). It should have no effect on battery life during regular usage, so it's safe to leave it enabled all the time.
fsync
fsync can be disabled if you're looking for the last ounce of performance. I recommend leaving it enabled as there is a slight risk of data loss if your phone shuts off unexpectedly before filesystems are synced.
Installing a new ROM
If you install a new ROM, it will probably replace this with the stock kernel and will definitely overwrite /etc/init.d/99elementalx and /etc/elementalx.conf so you will lose your settings and certain features. So always reinstall the kernel after installing a ROM.
Sweep2sleep
Sweep2sleep allows you to put your device to sleep by swiping right to left across the bottom of the screen where the back, home, recent buttons are. I find this useful since the stock motion gestures do not provide a good way to turn off the screen.
/sys/android_touch/sweep2wake
0= disabled
1= sweep2sleep right enabled
2= sweep2sleep left enabled
3= sweep2sleep left and right enabled
USB fastcharge
USB fastcharge is optional. This will allow you to charge at a faster rate when connected to a USB port. The default limit for USB ports is 500ma, this increases it to 1100ma. Be sure that the computer/laptop/whatever you are plugged into can handle it. Some will automatically cap it at 500ma. Please note that this does not force AC charge mode like previous implementations of force fastcharge. Your battery setting will still say USB mode. You can edit /etc/elementalx.conf to change the setting on boot.
Wake Gestures
There are three modes
Mode 1: Stock Motion Launch Gestures
For stock motion launch gestures, /sys/android_touch/wake_gestures, /sys/android_touch/sweep2wake and /sys/android_touch/doubletap2wake must all be set to 0. Enabling any of these overrides the stock gestures. Obviously Motion Launch Gestures must be enabled in the system settings.
Mode 2: Remove motion requirement
For this, you must set /sys/android_touch/wake_gestures to 1 and enable at least one gesture in /sys/android_touch/sweep2wake or /sys/android_touch/doubletap2wake and Motion Launch Gestures must be enabled in system settings. In this mode, when you sweep or doubletap, the appropriate input events are generated and acted upon the EasyAccessService (i.e., the system app that handles gesture actions).
Mode 3: Traditional S2W/DT2W
In this mode, wake gestures and actions are handled entirely by the kernel. The gestures will turn on the screen and that's it. For this, you must set /sys/android_touch/wake_gestures to 0 and enable at least one gesture in /sys/android_touch/sweep2wake or /sys/android_touch/doubletap2wake. It doesn't matter if Motion Launch Gestures is enabled or disabled in system settings, the gestures don't interact with it in this mode.
Options
For modes 2 and 3, there are several options.
Sweep2Wake
Gesture........Value
Sweep right......1
Sweep left........2
Sweep up.........4
Sweep down.....8
Add up the values for each gesture you want to enable and put the total in /sys/android_touch/sweep2wake. For example, to enable all gestures, the value is 15 (1+2+4+8). To enable sweep right, sweep left and sweep up, the value is 7 (1+2+4)
DoubleTap2wake
Set /sys/android_touch/doubletap2wake to 1 to enable DT2W, and set to 0 to disable it.
Pocket Detection
Set /sys/android_touch/pocket_detect to 1 to enable pocket detection, and set to 0 to disable it. Pocket detection is experimental right now, I'd say it's about 90% functional, but there is an occasional bug where it either doesn't work or works too well.
Vibration Strength
Haptic feedback can be enabled for the wake gestures in /sys/android_touch/vib_strength. This setting takes a number between 0 and 60. Default is 20, which is the same vibration as the stock gestures. Setting this to 0 disables haptic feedback.
SOURCE
https://github.com/MassStash
https://github.com/flar2
https://github.com/franciscofranco
................................................................................................
XDA: DevDB Information
MassStashed-m8whl, Kernel for the HTC One (M8WHL)
Contributors
franciscofranco
flar2
Evolutionmods
MassStash
Version Information for FlarPort
Status: Solid as ****
Current Stable Version: 6.03.3 & 4.04 & 3.04
Stable Release Date: 01-28-2016
Version Information for Hypernova (mako_hotplug)
Status: Solid as ****
Current Stable Version: 2.0.3
Stable Release Date: 01-28-2016
Created 06-20-2014
Last Updated 01-28-2016
Changelog
CHANGELOG (Cliff-Notes) Here's a GDoc for Latest
If this is first time flashing these updated packaged kernels, please dirty or full wipe flash the rom you’re on, let it boot to system, then reboot to twrp and flash one of these kernels. Also recommneded to flash ROM’s boot.img or just dirty flash if switching between these kernels.
Feb 27, 2015 - Lollipop
All compiled with latest linaro 4.9.3 prerelease toolchain and are all also packaged with anykernel method to allow for zImage and dt.img injection into rom’s stock boot.img, thus keeping ramdisk with any specific optimizations made for that exact rom. Also anykernel script now used to inject kernel settings script, formerly referred to as init script, into ramdisk to be loaded without need for init.d, and thus no need for setting selinux to permissive (Thanks Flar2).
May 30, 2015
Hypernova 1.5.1
GPE 5.1 & Sense 5.0.2
Add f2fs support …
Add support for M8TL
arm: crypto: Add optimized SHA-256/224 …
fs/namei.c: fix potential memory leak in path_lookupat …
sched/nohz: Fix rq->cpu_load[] calculations …
sched/fair: Let minimally loaded cpu balance the group …
input: touchboost: conservative samples every 10ms, no point in limit… …
ASoC: msm: Correct RTAC mutex lock …
cpuidle: remove cross-cpu IPI by new latency request. …
cpufreq: Break out early if freq equals to target_freq …
cpufreq: conservative: don't tear up sysfs and governor dirs to preve…
cpufreq: conservative: make the code a little bit prettier …
cpufreq: conservative: add input_boost_freq and input_boost_duration …
cpufreq: conservative: how did this end up here?
cpufreq: conservative: add sane input_boost and duration values …
cpufreq: conservative: notify the policy of the current load …
cpufreq: conservative: add micro idle accounting and touch boost support …
Update lz4 …
msm: slimbus: use interruptible wait to reduce system's load average …
ASoC: msm: audio-effects: Check for array index …
ARM: arch_timer: add support to configure and enable event stream …
ARM/ARM64: arch_timer: add macros for bits in control register …
tick: don't update idle time if cpu offline …
mako_hotplug: don't use PAGE_SIZE for snprintf …
mako_hotplug: don't offline cores if the load at that sample is above… …
arm: msm8974: enable Motorola's enhanced memory routines …
Update to dev branch of lz4 …
Update to vzw lolli dts …
Update dts for m8 to 5.0.1. DUG and WL still 4.4.4. …
Flar-Port
GPE - 3.04
Flar’s ElementalX updates
Sense - 4.04
All previously commits in changelog ported to new 5.0.1 base
selinux: Report permissive mode in avc: denied messages
KCAL update
Hypernova
GPE - 1.4.3
Based on flar2’s GPE
Added all commit’s from sense hypernova to date (see directly below)
Sense - 1.4.3
All 5.0.1 updates from elementalx
SoC: msm: Add Buffer overflow check
KEYS: close race between key lookup and freeing
msm: pm: Notify secure code of L2 power mode from last core only
sched: Implement smarter wake-affine logic
Fix nr_exclusive tasks which lead to ... Avoid spurious wakeup IPIs
sched: Fix inaccurate accounting for real-time task
arm: lib: Fix makefile bug
msm: memutils: memcpy, memmove, copy_page optimization
selinux: conditionally reschedule in hashtab_insert while loading sel…
selinux: conditionally reschedule in mls_convert_context while loadin…
selinux: no recursive read_lock of policy_rwlock in security_genfs_sid()
selinux: fix a possible memory leak in cond_read_node()
selinux: simple cleanup for cond_read_node()
selinux: fix inode security list corruption
qseecom: Save appname in qseecom when loading app by kernel client
arm: arch_timer: add arch_counter_set_user_access
mako_hotplug: remove screen off frequency cap and other optimizations
sched, smp: Correctly deal with nested sleeps
smpboot: Add missing get_online_cpus() … in sysfs
cpufreq: let's remove cpu-boost for now
input: add a generic touch input notifier
EXPERIMENTAL: mako_hotplug: make cpu2 and cpu3 less nervous
Dec 17, 2014
Added some awesome updates to hotplug and interactive from franco
Dec 15, 2014
All compiled with latest linaro 4.9.3 prerelease toolchain and are all also packaged with anykernel method to allow for zImage and dt.img injection into rom’s stock boot.img, thus keeping ramdisk with any specific optimizations made for that exact rom.
Flar-Port
GPE
Add all variant dtb’s from capt
Add NTFS
Sense
Added high perf audio and set to default on
Add all variant dtb’s from capt
NTFS support
Couple lz4 compression updates
Hypernova
GPE
Based on flar2’s GPE
Added all commit’s from sense hypernova to date (see directly below)
Sense
Couple updates to mako_hotplug, cpu-boost, and interactive governor
Couple lz4 compression updates
Enhance power efficiency patches
Fix bad hashing of dentries
Add support to validate pixel extension calculations
New relation for freq selection
Nov 17, 2014
Flar-Port
Port all commit’s from flar2’s 4.4.4 ElementalX kernel to make new 4.4.4 MassStashed Flar Port
Hypernova
Started with 4.4.4 Flar Port and then ported all commit’s I got from Franco’s One Plus One kernel to new 4.4.4 Hypernova kernel.
Added prima wlan module to compile with kernel from lypota, from htc source
Updates to wlan module
Updates to mako_hotplug
Added unified DTB from captain_throwback for vzw and gsm/intl support build in one zImage. Still need proper zip because I chose to use repack each with their specific ramdisk as opposed to using anyernel for now. Will look into anykernel at a later date for a one zip for all solution. Thank you captain for introducing me to anykernel method.
Added NTFS support
Oct 10, 2014
Enable compatibility with all M8 variants
wcd9320: Enable class AB mode, AKA high perf audio headset mode, be d…
high perf audio - fixed m8 incompatible
sound high perf - clean code
Update defconfig with version number
added high perfomance sound
wake_gestures: re-enable proximity sensor after phone call end and sc…
backlight_dimmer: give two dimmer options and create sysfs node
Revert "i2c: reduce remaining clocks"
i2c: reduce remaining clocks
Revert "Add backlight dimmer option"
Sep 15, 2014
Update aroma for brightness compatibility
Sep 14, 2014
Add backlight dimmer option
Sound Control: add line gain to cached and register lock …
Sep 12, 2014
kexec-hardboot: based on @Tasssadar
msm-sleeper: add ex_max_freq interface
Bump scripts for building with 2014.08 linaro 4.9.2
Aug 26, 2014
msm: Fix high load average from uninterruptible waits
GPU: start at 200MHz instead of 320MHz
Net/l2tp: don't fall back on UDP [get|set]sockopt
Update defconfig
MHL adapter fix from HTC
Charger updates from HTC
Aug 10, 2014
Update to Venom Int Ramdisk for packaging kernels to not break root and init.d on int based ROM
Aug 01, 2014
Update Stockish to 4.4.3 source
Update FlarPort to latest 1.0.0 ElementalX 4.4.3 | Most everything from 4.4.2 has been brought over
Jun 24, 2014
Fix touch in aroma installer - Gigantic thanks to badseed team for the fixed binary, and capt for bringing this to my attention
Jun 21, 2014 - MassStashedX_v0.19.1
Fix implicit declaration of function ‘wait_for_completion_io_timeout’… …
Switch baconMaker to elementalx_defconfig
Jun 20, 2014
Revert "cpuidle: Quickly notice prediction failure in general case" …
Revert "cpuidle: Get typical recent sleep interval" …
Revert "cpuidle: Fix finding state with min power_usage" …
Revert "cpuidle: remove the power_specified field in the driver" …
media-device: fix infoleak in ioctl media_enum_entities() …
futex: Make lookup_pi_state more robust …
futex: Always cleanup owner tid in unlock_pi …
futex: Validate atomic acquisition in futex_lock_pi_atomic() …
futex-prevent-requeue-pi-on-same-futex.patch futex: Forbid uaddr == u… …
futex: Add another early deadlock detection check …
futex: Prevent attaching to kernel threads …
Update cwmcusensor
Wake Gestures: fix dot view mode
stereo call recording support …
msm: kgsl: Fix nice level for higher priority GPU start thread …
arm: lz4: faster boot-up process. …
lz4: fix compression/decompression signedness mismatch …
lib/lz4: correct the LZ4 license …
crypto: add lz4 Cryptographic API …
lib: add lz4 compressor module …
arm: add support for LZ4-compressed kernel …
lib: add support for LZ4-compressed kernel …
decompressor: add LZ4 decompressor module …
DRIVERS: SLIMBUS: some more tweaks, which is double what we had befor… …
Wake Gestures: add proximity enabled flag
Wake Gestures: debugging messages
Wake Gestures: increase boot delay, add timeout to sweeps, fix irq en… …
Wake Gestures: add boot time delay for proper initialization of sensors
Wake Gestures: option to disable volume buttons launch camera in land… …
Jun 20, 2014
Wake Gestures: fix typo
Wake Gestures: more fixes for pocket detection, mcu initialization an… …
Wake Gestures: fix custom gestures in dot view mode
Wake Gestures: various improvements and fixes
DRIVERS: SLIMBUS: slimbus enhancements mkII …
Wake Gestures: Allow customization of the screen wake gestures on HTC… …
Downgrade CIFS …
GCC 4.9.1: fix compile warnings
GCC 4.9: fix compile warning …
cpufreq: interactive: fix compiling warnings …
Adjust some voltages
Set up underclocking and overclocking
Disable magnetic cover event
Change auto undervolting to use min freq only and adjust oc voltages …
Adjust min and max voltage limits …
msm: clock-krait-8974: User voltage control for msm-cpufreq device …
Add gboost
Bump overclocking voltages a bit
[qpnp-vibrator] sysfs interface from GPE source
Sound Control 3.x: adaptation for HTC One (M8) …
sound control: add register cache …
Sound Control: (OPTIONAL) add power amp registers access control as well …
Sound Control: (Optional) work around for Nexus 4/5 audio issues …
sound control: WCD9320: update speaker gain control for Z1 …
Jun 20, 2014
sound control 3.x: Initial GPL release for WCD9320 Audio Codec …
Sound Control: WCD9320: expose additional controls …
Add option to lower vibration
Overclocking: fix and add more steps
msm: cpufreq: Add API to allow limiting of min and max cpu frequencies …
msm-sleeper: limit max freq when screen is off
Show pvs in sysfs
Revert "sched: Micro-optimize the smart wake-affine logic" …
Revert "sync: don't block the flusher thread waiting on IO" …
Revert "FS: import F2FS" …
Revert "exFAT support" …
Revert "sched: add wait_for_completion_io[_timeout]" …
Revert "block: account iowait time when waiting for completion of IO … …
Disable HTC /system write protection …
Overclocking and undervolting options
Jun 10, 2014
Fastcharge for HTC One m8
LCD_KCAL Colour Control for m8
SELinux: Fix memory leak upon loading policy …
Jun 10, 2014
block: account iowait time when waiting for completion of IO request …
sched: add wait_for_completion_io[_timeout] …
deadline: Allow 0ms deadline latency, increase the read speed …
exFAT support …
Add fsync option
Add sweep2sleep …
FS: import F2FS …
ARM CPU Topology and cpu_power driver …
softirq: reduce latencies …
nohz: Reduce overhead under high-freq idling patterns …
ext4: fix memory leak in xattr …
cpuidle: Get typical recent sleep interval …
cpuidle: Quickly notice prediction failure in general case …
cpuidle: Quickly notice prediction failure for repeat mode …
cpuidle: move field disable from per-driver to per-cpu …
AIO: Don't plug the I/O queue in do_io_submit() …
Add SIO and FIOPS i/o schedulers …
Jun 09, 2014
warning: argument to 'sizeof' in 'memcpy' call is the same pointer ty… …
Add built crap and touch on cook script
warning: operation on 'ret' may be undefined [-Wsequence-point] …
dtb: binary to bring out dt.img …
Add cook my bacon script
Double flip a switch + setup ignores
May 08, 2014
initial switch flip
Infoz
Hypernova version has all kinds of stuff that's been added from the good @franciscofranco, and the most important and amazing, IMHO, is the mako_hotplug_driver. With this, we have eliminated most governors, and now exclusively run interactive. We now also have some extra options with this interactive governor that we can set to customize the user experience smoothness, and battery life. Down below is how to work init.d scripts, which is suggested as a great set it and forget it method, but if you are trying to mess with things quickly and in user land with an app, you will have to use francos. Unfortunately, our phone is only supported by the paid version also, so looks like it's time to open the wallets and show your appreciation! Bought this personally as soon as I got the hotplug up and running. 100% worth it.
Advanced Interactive Governor Tweaks; Buttery smooth and insane battery life!
Here's some info on the pieces used from his kernel, and the app, and the guy himself it seems.
Code:
Information about the kernel
People generally change kernels for battery savings and to add features the stock one doesn't offer.
Franco's kernel has several advantages over the stock one in terms of battery saving saving features,
one of my favourite being the removal of MPdecision which in lay-mans terms changes the min and
maximum speed the CPU can run at based upon live battery temperature checks. Franco's hot plug
driver always keeps 2 cores online and always them to scale from 300mhz to 2.3ghz and based upon
load conditions will online cores 3 and 4 if required. When you touch the screen the screen the CPU
speed is boosted to approximately 1.5ghz for just over a quarter of a second and when load is reduced
the CPU speed is able to lower quickly back to lower speeds thanks to his tuned interactive
governor. Franco has created a governor for the GPU named interactive which works very much like
how the CPU equivilant does. Franco has added some newer drivers for WiFi which also helps reduce
idle battery drain while your on a busy WiFi network. Franco has also added an interface where you
can boost microphone, speaker and headphone gain levels for audio enthusiasts as well as an
interface to allow screen calibration and load pre set profiles to improve your experience with how
your display looks! There's clock speed control, voltage control, governor control, hot plug control.
You get the idea its full of cool features which can be controlled with the paid Franco.Kernel
Application (see later in the thread)
[img]http://img.tapatalk.com/d/14/02/23/5y7egebu.jpg[/img]
Here are some lines I've found around the interwebs as a reference for myself for some time now. All of this is set, but hey, it never hurts to learn how it all works behind the scenes.
This is not a shell script, and cannot be run as one as-is; it's just a bunch of commands. UV should never be set with init.d in case they are unstable.
These are old values, some may be good, some may not. Please ask, or do some research on what is suggested for current cpu and phones.
Code:
# CPU Clock
echo 1228800 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
echo 384000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq
echo 537600 > /sys/devices/system/cpu/cpu0/cpufreq/screen_off_max_freq
# UV
echo "1450 1425 1400 1375 1350 1250 1225 1200 1050 900 850 800" > /sys/class/misc/customvoltage/mpu_voltages
echo "1375 1291 1140 950" > /sys/class/misc/customvoltage/iva_voltages
echo "1150 1050 950" > /sys/class/misc/customvoltage/core_voltages
# SR
echo 1 > /sys/kernel/debug/smartreflex/sr_mpu/autocomp
echo 1 > /sys/kernel/debug/smartreflex/sr_iva/autocomp
echo 1 > /sys/kernel/debug/smartreflex/sr_core/autocomp # CORE no longer SR calibrated on FK
# Governor
echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 15000 > /sys/devices/system/cpu/cpufreq/interactive/above_hispeed_delay
echo 0 > /sys/devices/system/cpu/cpufreq/interactive/boost
echo 80000 > /sys/devices/system/cpu/cpufreq/interactive/boostpulse_duration
echo 95 > /sys/devices/system/cpu/cpufreq/interactive/go_hispeed_load
echo 729600 > /sys/devices/system/cpu/cpufreq/interactive/hispeed_freq
echo 45000 > /sys/devices/system/cpu/cpufreq/interactive/min_sample_time
echo 85 > /sys/devices/system/cpu/cpufreq/interactive/target_loads
echo 15000 > /sys/devices/system/cpu/cpufreq/interactive/timer_rate
echo 80000 > /sys/devices/system/cpu/cpufreq/interactive/timer_slack
# I/O Scheduler
echo 1024 > /sys/block/mmcblk0/queue/read_ahead_kb
echo "deadline" > /sys/block/mmcblk0/queue/scheduler
echo 500 > /sys/block/mmcblk0/queue/iosched/read_expire
echo 5000 > /sys/block/mmcblk0/queue/iosched/write_expire
echo 4 > /sys/block/mmcblk0/queue/iosched/writes_starved
echo 0 > /sys/block/mmcblk0/queue/iosched/front_merges
echo 1 > /sys/block/mmcblk0/queue/iosched/fifo_batch
echo "row" > /sys/block/mmcblk0/queue/scheduler
echo 100 > /sys/block/mmcblk0/queue/iosched/hp_read_quantum
echo 100 > /sys/block/mmcblk0/queue/iosched/rp_read_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/lp_read_quantum
echo 2 > /sys/block/mmcblk0/queue/iosched/hp_swrite_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/lp_swrite_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/rp_swrite_quantum
echo 1 > /sys/block/mmcblk0/queue/iosched/rp_write_quantum
echo 10 > /sys/block/mmcblk0/queue/iosched/read_idle
echo 20 > /sys/block/mmcblk0/queue/iosched/read_idle_freq
echo "cfq" > /sys/block/mmcblk0/queue/scheduler
echo 8 > /sys/block/mmcblk0/queue/iosched/quantum
echo 125 > /sys/block/mmcblk0/queue/iosched/fifo_expire_sync
echo 250 > /sys/block/mmcblk0/queue/iosched/fifo_expire_async
echo 16384 > /sys/block/mmcblk0/queue/iosched/back_seek_max
echo 2 > /sys/block/mmcblk0/queue/iosched/back_seek_penalty
echo 93 > /sys/block/mmcblk0/queue/iosched/slice_sync
echo 39 > /sys/block/mmcblk0/queue/iosched/slice_async
echo 2 > /sys/block/mmcblk0/queue/iosched/slice_async_rq
echo 7 > /sys/block/mmcblk0/queue/iosched/slice_idle
echo 0 > /sys/block/mmcblk0/queue/iosched/group_idle
echo 1 > /sys/block/mmcblk0/queue/iosched/low_latency
echo "bfq" > /sys/block/mmcblk0/queue/scheduler
echo 4 > /sys/block/mmcblk0/queue/iosched/quantum
echo 125 > /sys/block/mmcblk0/queue/iosched/fifo_expire_sync
echo 250 > /sys/block/mmcblk0/queue/iosched/fifo_expire_async
echo 16384 > /sys/block/mmcblk0/queue/iosched/back_seek_max
echo 2 > /sys/block/mmcblk0/queue/iosched/back_seek_penalty
echo 7 > /sys/block/mmcblk0/queue/iosched/slice_idle
echo 0 > /sys/block/mmcblk0/queue/iosched/max_budget
echo 4 > /sys/block/mmcblk0/queue/iosched/max_budget_async_rq
echo 125 > /sys/block/mmcblk0/queue/iosched/timeout_sync
echo 39 > /sys/block/mmcblk0/queue/iosched/timeout_async
echo 1 > /sys/block/mmcblk0/queue/iosched/low_latency
echo 20 > /sys/block/mmcblk0/queue/iosched/raising_coeff
echo 256 > /sys/block/mmcblk0/queue/iosched/raising_max_time
echo 7000 > /sys/block/mmcblk0/queue/iosched/raising_max_softrt_rate
echo 304 > /sys/block/mmcblk0/queue/iosched/raising_rt_max_time
echo 2000 > /sys/block/mmcblk0/queue/iosched/raising_min_idle_time
echo 500 > /sys/block/mmcblk0/queue/iosched/raising_min_inter_arr_async
echo "" > /sys/block/mmcblk0/queue/iosched/weights
# CAB
echo 1 > /sys/class/backlight/s6e8aa0/acl_set
# TCP Congestion Avoidance Algorithm
echo "westwood" > /proc/sys/net/ipv4/tcp_congestion_control;
# N7-specific
echo 500 > /sys/devices/system/cpu/cpu0/cpufreq/cpu_lp_max # LP core no longer used on FK
echo "1125 1100 1075 1050 1025 1000 975 950 925 900 875 850 825" > /sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table
echo 2 > /sys/class/misc/tegra_hotplug_control/cores_on_touch
echo 60 > /sys/class/misc/tegra_hotplug_control/first_level
echo 50 > /sys/class/misc/tegra_hotplug_control/second_level # No longer used in newer driver in FK
echo 25 > /sys/class/misc/tegra_hotplug_control/third_level # No longer used in newer driver in FK
echo 0 > /sys/devices/tegradc.0/smartdimmer/enable
Here's an awesome breakdown and research page for voltages most importantly pertaining to PVS values and overclocking.
Code:
download link:
PVS Research.xls (http://forum.xda-developers.com/attachment.php?attachmentid=2836827&stc=1&d=1404681790)
best max frequency (sweet performance/power spot):
MSM8974AB 2.3ghz - 1.34ghz
MSM8974AC 2.5ghz - 1.57ghz
MSM8974v2 2.2ghz - 1.34ghz
APQ8064 1.7ghz - 1.24ghz
APQ8064T 1.9ghz - 1.35ghz
best screen-off frequency (this varies if you try higher pvs settings):
Snapdragon 801 2.3ghz MSM8974AB - One M8
MSM8974AB 2.3ghz PVS 0 - 300mhz
MSM8974AB 2.3ghz PVS 1 - 346mhz
MSM8974AB 2.3ghz PVS 2 - 422mhz
MSM8974AB 2.3ghz PVS 3 - 499mhz
MSM8974AB 2.3ghz PVS 4 - 576mhz
MSM8974AB 2.3ghz PVS 5 - 652mhz
MSM8974AB 2.3ghz PVS 6 - 499mhz
MSM8974AB 2.3ghz PVS 7 - 576mhz
MSM8974AB 2.3ghz PVS 8 - 652mhz
MSM8974AB 2.3ghz PVS 9 - 729mhz
MSM8974AB 2.3ghz PVS 10 - 806mhz
MSM8974AB 2.3ghz PVS 11 - 883mhz
MSM8974AB 2.3ghz PVS 12 - 960mhz
MSM8974AB 2.3ghz PVS 13 - 1036mhz
MSM8974AB 2.3ghz PVS 14 - 960mhz
MSM8974AB 2.3ghz PVS 15 - 1036mhz
Snapdragon 801 2.5ghz MSM8974AC - Galaxy S5
MSM8974AC 2.5ghz PVS 0 - 422mhz
MSM8974AC 2.5ghz PVS 1 - 499mhz
MSM8974AC 2.5ghz PVS 2 - 576mhz
MSM8974AC 2.5ghz PVS 3 - 652mhz
MSM8974AC 2.5ghz PVS 4 - 729mhz
MSM8974AC 2.5ghz PVS 5 - 806mhz
MSM8974AC 2.5ghz PVS 6 - 652mhz
MSM8974AC 2.5ghz PVS 7 - 729mhz
MSM8974AC 2.5ghz PVS 8 - 806mhz
MSM8974AC 2.5ghz PVS 9 - 883mhz
MSM8974AC 2.5ghz PVS 10 - 960mhz
MSM8974AC 2.5ghz PVS 11 - 1036mhz
MSM8974AC 2.5ghz PVS 12 - 1113mhz
MSM8974AC 2.5ghz PVS 13 - 1190mhz
MSM8974AC 2.5ghz PVS 14 - 1113mhz
MSM8974AC 2.5ghz PVS 15 - 1190mhz
Snapdragon 800v2 2.2ghz MSM8974v2
MSM8974v2 2.2ghz PVS 0 - 345mhz
MSM8974v2 2.2ghz PVS 1 - 499mhz
MSM8974v2 2.2ghz PVS 2 - 422mhz
MSM8974v2 2.2ghz PVS 3 - 499mhz
MSM8974v2 2.2ghz PVS 4 - 576mhz
MSM8974v2 2.2ghz PVS 5 - 499mhz
MSM8974v2 2.2ghz PVS 6 - 576mhz
Snapdragon 600 1.7ghz APQ8064 - One M7
APQ8064 1.7ghz PVS 0 - 594mhz
APQ8064 1.7ghz PVS 1 - 594mhz
APQ8064 1.7ghz PVS 2 - 702mhz
APQ8064 1.7ghz PVS 3 - 810mhz
APQ8064 1.7ghz PVS 4 - 702mhz
APQ8064 1.7ghz PVS 5 - 810mhz
APQ8064 1.7ghz PVS 6 - 702mhz
Snapdragon 600 1.9ghz APQ8064T - Galaxy S4
APQ8064T 1.9ghz PVS 0 - 702mhz
APQ8064T 1.9ghz PVS 1 - 702mhz
APQ8064T 1.9ghz PVS 2 - 702mhz
APQ8064T 1.9ghz PVS 3 - 810mhz
APQ8064T 1.9ghz PVS 4 - 702mhz
APQ8064T 1.9ghz PVS 5 - 702mhz
APQ8064T 1.9ghz PVS 6 - 702mhz
best min frequency:
lowest possible setting (300mhz in case of MSM8974)
i highly recommend to run those values (exept if you are actually playing demanding 3d games).
use trickster mod frequency lock feature to do so. you will experience amazing battery life.
how to get the maximum battery life:
if you have a MSM8974AB pvs 6 for example, try the following steps:
try the next higher pvs levels (pvs7). don't try AC pvs values on AB chips.
AB chips are binned for lower frequencies while AC are binned for higher frequencies (duh).
so if you have a AB chip, work your way up the AB pvs values until you have freezes or similar and move back.
if you have a AC chip, work your way up the AC pvs values etc...
if you found highest setting that does not cause any problems after intensive testing and usage:
congratulations, you did it.
how to get the maximum frequency:
first try higher than stock maximum clock and see how it behaves.
if you don't reach your desired clockspeed, try the next lower pvs setting of your chip. yes, i said LOWER.
this gives the processor more voltage to reach higher overclocks.
i don't recommend it tho since we all want our phones to last as long as possible usually.
Thank you very much to @flar2 for all his work, and assisting people like me to port it to a device that otherwise would have no such love!
Gigantic thanks to @franciscofranco for his additions, fixes, and mako_hotplug!
Thank you to @Evolutionmods for helping me get this started, and for crucial fixes I would have no idea how to fix!
Thank you to @NineInchNails
@Captain_Throwback
@Vinchenzop
@Dubbsy
@Grommish
@Treken
These guys all have helped in very pivotal ways ,and I would not be at the understanding of android that I am today without them. Truly, thank you for being awesome helpful people!
Last but not least, thanks to these doods for helping test before release!
@kaosb0x
@shadowxaero
@stovo06
@dandan2980
Good one on mpdecision among other good stuff
Governors and schedulers explained:
http://forum.xda-developers.com/showthread.php?t=1687578
http://forum.xda-developers.com/galaxy-s2/general/ref-kernel-governors-modules-o-t1369817
http://tinzdroid.blogspot.com/2012/07/android-kernel-governors-modules-io.html
http://forum.xda-developers.com/showpost.php?p=21638852&postcount=56
PVS explained:
https://developer.qualcomm.com/forum/qdn-forums/general-discussion/27244
http://forum.xda-developers.com/showthread.php?t=2228246
http://www.oppoforums.com/threads/qualcomm-cpu-binning-is-yours-slow-nominal-fast-or-faster.2842/
MassStash said:
Placeholder
Click to expand...
Click to collapse
Reserved
Is AROMA fully functional?
Tired of waiting!
Don't forget the thanks button!
Teestes teestes 123 one hell of a kernel fellas good job
Sent from my 831C using Tapatalk
---------- Post added at 03:07 PM ---------- Previous post was at 03:06 PM ----------
I'm on official twrp still wonky not sure about yours captain
Sent from my 831C using Tapatalk
Captain_Throwback said:
Is AROMA fully functional?
Click to expand...
Click to collapse
holy jeebus you're fast as ****. Fully functional in the sense of using two thumbs where the second has a roll then flick up technique yes. Work like twrp recovery does, no unfortunately....
MassStash said:
holy jeebus you're fast as ****. Fully functional in the sense of using two thumbs where the second has a roll then flick up technique yes. Work like twrp recovery does, no unfortunately....
Click to expand...
Click to collapse
Ah, so not fully functional like on BadSeed's ROM. Got it. Thanks for the kernel and the hard work on it!
Wow praise from the Captain!
He really has been working hard on this. I don't know sh*t compared to you guys but I appreciate the contributions on here.
Don't forget the thanks button!
Finally Sprint has a custom kernel Balls to the Walls Very smooth,Stable and battery friendly plus the screen control and sound control make it all that much better
Sent from my 831C using Tapatalk
Thank you so much for your contribution!
@MassStash
I pulled the working AROMA update-binary from BadSeed's ROM so you can add to your installer for working touch.
Thanks to BadSeed team for finding a working binary!
EDIT: Attached file.
the Min CPU always jump from 300000 to 1728000 after few mins
Working great here @MassStash :good:
nemoftw said:
the Min CPU always jump from 300000 to 1728000 after few mins
Click to expand...
Click to collapse
I have never seen that been running this for days now
Sent from my 831C using Tapatalk
My only real issue is that the Motion Gestures always default to the custom settings, even if I chose the option for stock motion gestures.
On a reboot, the stock gesture behavior would work within the first minute, then default to swiping left to sleep & wake.
Other than that...this is a solid kernel.
AarSyl said:
My only real issue is that the Motion Gestures always default to the custom settings, even if I chose the option for stock motion gestures.
On a reboot, the stock gesture behavior would work within the first minute, then default to swiping left to sleep & wake.
Other than that...this is a solid kernel.
Click to expand...
Click to collapse
What rom are you on? I nor testers have experienced this to my knowledge
~m8whl on the Always Solid ViperOneM8 Latest
2.265 Max ¦ 300 Min
ondemand
row
Great work MassStash, good to see you bro
Sent from my 831C using XDA Premium 4 mobile app
MassStash said:
What rom are you on? I nor testers have experienced this to my knowledge
~m8whl on the Always Solid ViperOneM8 Latest
2.265 Max ¦ 300 Min
ondemand
row
Click to expand...
Click to collapse
Stock rooted, actually...I'm S-On, for what it's worth, but I doubt that the stock rom of all things would change anything, but I could he wrong.
What info would you need from me?

[KERNEL] [SM-T700 WIFI & T705 LTE] [12 Mar] SkyHigh TW KK Kernel [v3.3] [Synapse ++]

[KERNEL] [SM-T700 WIFI & T705 LTE] [12 Mar] SkyHigh TW KK Kernel [v3.3 FINAL] [Synapse ++]
I DO NOT SUPPORT THIS KERNEL OR THREAD ANY LONGER, SO PLEASE FLASH AT YOUR OWN RISK AND DO NOT PM FOR HELP or Q&A. ANY USER or DEV KANG THIS KERNEL WITHOUT PERMISSION WILL BE REPORTED
Click to expand...
Click to collapse
8.4" SM-T700 WIFI & T705 LTE TW 4.4.2 Exynos 5420 supported in thread only !!
PLEASE POST QUESTIONS THAT ARE NOT DEVELOPMENT RELATED IN Q&A HERE. THIS WILL HELP KEEP THINGS TIDY
BEFORE POSTING, ENSURE YOU READ POSTS #1-3 AND SEARCH THREAD FOR INFO FIRST. THANK YOU FOR YOUR ASSISTANCE
THREAD RULES & PROTOCOLS FOR THIS DEVELOPMENT THREAD:
BY POSTING YOUR ISSUES IN THIS THREAD, YOU ARE AGREE TO ABIDE BY THE FOLLOWING
DEVICE MODEL
ROM and firmware version etc
EXACT steps taken to reproduce YOUR isssue
Screenshots (if applicable)
Did you read Posts #1-3 completely?
Did you search the thread, XDA or GOOGLE?
Did you follow the install instructions EXACTLY?
What was your previous kernel?
Do you have any other known kernel tweaking apps, scripts or mods? (remove them)
Try older kernel (don't not flash anything older than v0.9 )
Try lastest stock firmware (without custom ROM - if you have installed)
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:
I don't have time to build for any more devices I can't personally test & debug - sorry.
Let get it straight, I am not a real Developer, but I am UpInTheAir, former part time kernel “hack” of SM-N915S/T800/T805/N9005 LTE, SGT 7.7 JB & ICS Kernels. I now share with you my Exynos5 TW SM-T700 WIFI & SM-T705 LTE kernels compiled from official Samsung sources.
* I don't pretend to know everything, so if you can be constructive and help out this project, please do so. You will find allot of answers by searching gitHub, XDA and SEARCH Just like I do …......
>> SCREENSHOTS << from v0.5 : might not be always up-to-date !
FEATURES
* Based on official Samsung source: T705WVLU1ANJ5
* ramdisk source: T700XXU1ANL2 & T705XXU1AOA1
* Built with Stock ARM Toolchain 4.7 (proven stabilty + efficiency + performance)
* Compiled with KERNEL_MODE_NEON & -mfpu=neon-vfpv4 + optimizations
* ARM: UNALIGNED_ACCESS
* KNOX WARRANTY VOID: 1
* SELinux PERMISSIVE or Enforcing
* adb insecure
* ROM Knox disable/freeze via Synapse control
* init.d script support (drop in script & set permissions to 755 or 777 and reboot)
* busybox v1.22.0-Dream-IRC installed to /sbin
* Will NOT delete your WIFI settings & passwords
* Possible Screen Mirroring / AllShare Cast fix
* Synapse app support for almost all kernel configurations + more !!
Many descriptions are in the app ! If you require more info, don't be lazy, please SEARCH like I did !
SYNAPSE FEATURES
CPU FREQ
A15 big Cores
Max: 2100 MHz (stock/default = 1900 MHz)
Min: 800 MHz (stock/default)​
A7 LITTLE Cores
Max: 1300 MHz (stock/default)
Min: 200 MHz (stock/default = 500 MHz)​
A15 big & A7 LITTLE Cores time in state
CPU MULTICORE
Mult-core Hotplug Management
Screen OFF mode (fixed default)​Exynos Dynamic CPU Hotplug Freq (A7 cores)
Hotplug CPU UP load
Hotplug CPU UP boost
Hotplug CPU DOWN hysteresis​
Multi-core power saving control (sched_mc_power_savings)
Power-efficient Workqueues control
CPU VOLT
Voltage control for:
big cores
LITTLE cores​
CPU GOV
CPU governor
interactive (default)
on-demand (tweaked to use power efficient workqueues)
conservative​
CPU governor tunables
DEVFREQ
CPU internal frequency voltage control (Stock 133-600 MHz)
83-133 - 222 - 333 - 400 - 440 - 460 - 480 - 500 - 600​
Memory frequency voltage control (stock 160-733 MHz)
133-160 - 200 - 266 - 400 - 533 - 667 - 733 (1.9 GHz) - 800 (2.0 GHz) - 933 (2.1 GHz)​
GPU
Midgard GPU power policy control
coarse_demand (default)
demand (stock)
always_on​
Midgard GPU power policy threshold control (profiles)
Battery (default)
On-demand
Peformance​
GPU max frequency = 667 MHz (stock/default = 480 MHz)
GPU min frequency = 100 MHz (stock/default = 177 MHz)
GPU voltage control
GPU freq time in state
GPU QoS
MScaling settings for:
MIF
INT
CPU​
IO
I/O Schedulers
BFQ (default - tweaked for SSD)
DEADLINE (tweaked for SSD)
CFQ
NOOP
FIOPS
SIO
ZEN​
Int storage scheduler
Int storage read-ahead (512 KB for 16 GB partition)
General IO tuneables
I/O scheduler tunables
MEMORY
Ultra Kernel SamePage Merging (UKSM)
UKSM stats
Scan delay interval
UKSM CPU governor (profiles)
Max CPU consumption (use with FULL governor)​
Dynamic Fsync control (default enabled)
Dynamic management of dirty page writebacks
Active
Suspend​
Virtual Memory
VNSWAP control
ZSwap memory pool control
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​
POWER SUSPEND
PowerSuspend
Autosleep_hook
Userspace_trigger
DisplayPanel_hook
Hybrid_hook (default)​
PowerSuspend State (only with Userspace_trigger)
ADVANCED
Low Menory Killer Profiles
Low
Medium
Default
Agressive
Exterminate​
Low Memory Killer minfree tuning (OOM LMK)
Management of not killable processes whitelist
system apps
user apps​
Entropy
Gentle Fair Sleepers control
Arch Power control (enabled)
randomize_va_space control
Dynamic management of minimal timer slack value (active & suspend)
Generic and core apps/processes
Apps/processes in foreground
Apps/processes in background and non interactive​
THERMAL
CPU thermal control
GPU thermal control
Memory interface thermal control
AUDIO
* WolfsonMicro Sound Control by AndreiLux
* parametric equalizer presets & tuning by heyjoe66
Mono mixer
Speaker amplification
Left channel volume
Right channel volume
Earpiece volume
Privacy mode​
SP equalizer control
HP equalizer control
BATTERY
Battery info
Unstable power detection
AC mains
Standard downstream port
Dedicated charging port
Charging downstream port
Accessory charger adapter
Miscellaneous charging
MHL power
Battery Scaling Calibration (fuel-gauge chip reset)
NETWORK
TCP congestion control
All available enabled.
Default = westwood+​
Screen mirror/allshare cast fix control (default = enabled)
Clean WIFI Lease
WiFi Power Mode While Screen-On/Off
Force Off
Off
Fast (default = screen ON)
Max (default = screen OFF)​
WiFi DTIM Interval While Screen-On/Off
tcp_default_init_rwnd
TCP/IP network security
TCP/IP network speed (default = enabled)
3G DNS speed & security tweak
Google, OpenDNS, Comodo, Level3, Norton_DNS, Smart_Viper​
GPS region TEMPORARY REMOVED IN v2.0.0
Default, Asia, Europe, Oceania, North America, South America, Africa​
IVP6 Optimistic Detection
optimistic_dad (enabled)
use_optimistic (enabled)​
USB TEMPORARY REMOVED IN v2.0.0
UMS (USB Mass Storage) mode
MTP mode
USB Keyboard / Mouse (with USB Keyboard app)
SECURITY
KNOX control (default "NO_ACTION")
SELinux status control
Permissive (default)
Enforcing​
SYSCTL
FS SYSCTL
Kernel SYSCTL
Net SYSCTL
VM SYSCTL
FS (File System)
Display FS Type
FS Controls
remount System r/w r/o
remount RootFS r/w r/o​
SPI CRC settings control (disabled)
Optimise Databases (SQLite3)
File System Trim
Wipe Options
cache reboot
dalvik-cache reboot
cache & dalvik-cache reboot
clipboard cache
tombstones​
BACKUP & RESTORE
Name - Restore - Delete - Backup
profiles
kernel image​
REBOOT
Reboot device
Recovery Mode
Download Mode
Power Off
Clear Synapse Data
Restart Synapse
LOGS
Android logger control (disabled)
logcat
Kernel logger printk control (dmesg)
dmesg
last_kmsg
INFO
* xz kernel compression
* Reduced logging
* enable ARCH_POWER
* use WQ_POWER_EFFICIENT
* optimized SLUB memory allocator
* Frandom
* mount partitions NOATIME and NODIRATIME by default
* FIDTRIM
* F2FS support in source and ramdisk (not tested)
* exFAT FS support
* NTFS R/W support with app
* CIFS support
* Asynchronous Fsync
* WIFI: filter multicast packages while suspended
* /proc/.config.gz support
* CRYPTO_SHA1_ARM_NEON, CRYPTO_SHA512 & CRYPTO_SHA512_ARM_NEON
* NVIDIA power efficiency patches
* Low Memory Killer tweaks
* Microsoft X-BOX gamepad controller in-built module
* And lots lots more ...................
CREDITS
* My family !!
* BeansTown106 & Chainfaire for bringing root
* halaszk88 - initial sysnapse layout & many source commits
* AndreiLux - many many contributions to Exynos kernel development & Synapse app
* apbaxel - various synapse controls I've adapted
* Christopher83 - all things dynamic !
* faux123 - various patches
* Yank555 - various patches
* heyjoe66 - Wolfson parametric equalizer presets & tuning. Also Dynamic Hotplug implementation
* XDA
* Samsung OSRC
* and many others!
* check github source credits
* IF I'VE FORGOTTON ANYONE, PLEASE DON'T BE SHY AND SPEAK UP, THANKS
XDA:DevDB Information
SM-T700 WIFI & T705 LTE TW Kernel, Kernel for the Samsung Galaxy Tab S
Contributors
UpInTheAir
Source Code: https://github.com/UpInTheAir/Galaxy-Tab-S-Kernel/commits/SkyHigh
Kernel Special Features: Synapse ++ Read OP
Version Information
Status: Abandoned
Current Stable Version: v3.3 FINAL
Stable Release Date: 2015-03-12
Created 2014-07-06
Last Updated 2015-04-14
Requirements - installation & download
** DISCLAIMER : FLASH AT YOUR OWN RISK **
WARNING :
* Under-volting can cause instability
* Over-clocking can cause freeze/reboot, heat & damage to CPU, GPU or other hardware
* Any customizations may void warranty
* May not be suitable for your device or customizations
* UpInTheAir is NOT responsible, the person you see in the mirror is !
REQUIREMENTS
Watch >> THIS <<
SM-T700 WIFI or T705 LTE Exynos device
TW Kit Kat 4.4.2
Rooted
TWRP Recovery
CHANGE-LOG
v3.3 [12-March-2015]
kernel :
Revert "net: wireless: bcmdhd4354: Fixed failure to enter PS mode while roaming in suspend" (reverting fixes reported issue of "slow & laggy" connection on 5GHz WIFI)
v3.2 [12-March-2015]
ramdisk :
Synapse: FS: remove "Wipe Cache" and "Wipe Dalvik-Cache" options (may cause user app issue who forget to reboot)
Synapse: FS: add "Wipe Cache & Dalvik-Cache Reboot" option
kernel :
Revert "ipv4: try to cache dst_entries which would cause a redirect" (reverting fixes reported issue of "slow & laggy" connection on 5GHz WIFI)
v3.1 [11-March-2015]
ramdisk :
init.rc: remove some boot defaults (set in source)
Synapse: GPU QoS: FIX GPU CPU QoS display correct CPU (A7) freq, ie CPU freq 250 is now displayed as 500 MHz for GPU 177 MHz, and so on
Synapse: FS: add Wipe tombstones option
Synapse: MEMORY: change dirty_ratio & dirty_background_ratio to Adaptive and update descriptions.
kernel :
mm/page-writeback.c: enabled Dynamic Dirty Writeback by default
mm: Implement Adaptive Dirty Background Ratio & Dirty Ratio for suspend/resume [by UpInTheAir]
config: enable ADAPTIVE_DIRTY_BACKGROUND_RATIO & ADAPTIVE_VM_DIRTY_RATIO
mm: adjust dirty_background ratio to mirror ramdisk init.rc value
mm: adjust swappiness value to mirror ramdisk
fs: make ADAPTIVE_VFS_CACHE_PRESSURE compile optional [by UpInTheAir]
config: enable ADAPTIVE_VFS_CACHE_PRESSURE
v3.0 [09-March-2015]
ramdisk :
Synapse: FS: add FSTrim push button
Synapse: FS: add Wipe Options - Wipe Cache, Wipe Cache Reboot, Wipe Dalvik-Cache, Wipe Dalvik-Cache Reboot, Wipe Clipboard Cache
Synapse: BACKUP RESTORE: FIX backups not being restored
Synapse: BACKUP RESTORE: rework and now able to add names to Profile and Kernel Backups !!
kernel :
Samsung DYNAMIC Hotplug control: hotplug_cpu_up_boost_value 90 > 0 (better UI performance with all cores on like stock. Battery nuts can set to 30%)
timer: optimize apply_slack()
kernel/timer.c: Optimize apply_slack() for size and speed
block: recursive merge requests
ipv4: try to cache dst_entries which would cause a redirect
net: wireless: bcmdhd4354: Fixed failure to enter PS mode while roaming in suspend
v2.9 [05-March-2015]
ramdisk :
sbin: SkyHigh.sh: Do not kill system and user app processes enabled by default
sbin: SkyHigh.sh: added some default processes
init.rc: set SELinux Permissive by default on boot
init.rc: add support for timer slack values and defaults
Synapse: CPU MULTICORE: remove Hotplug mode control (Hotplug screen on & off mode is default permanent). Screen off mode is just too buggy, there is a work-around which I'll add to Post #3 PERFORMANCE section
Synapse: CPU GOV: FIX seekbar (replace it) not setting sampling rate when changing to conservative gov
Synapse: ADVANCED: add Dynamic timer slack controls & default values for battery savings ( thanks to Christopher83 )
Synapse: SECURITY: add SELinux Status control (toggle between Enforcing & Permissive)
Synapse: FS: add SPI CRC Settings control (already disabled by default in source)
Synapse: LOGS: add printk (kernel dmesg) control
Synapse: tidy up & a few other minor things
kernel :
Revert "SELinux: set permissive in source instead of ramdisk
SELinux: permit Enforcing > Permissive changes in ROM
drivers/mmc: spi CRC configurable
cpufreq: interactive: don't schedule timer on offline cpu
cpufreq: interactive: delete timers for GOV_START
cpufreq: conservative: adjust freq dn threshold so hotplug cores lower to A7 values at low load
mm: remove compressed copy from zram in-memory
Samsung DYNAMIC Hotplug control: sync with oloendithas
Makefile: fix DYNAMIC Hotplug control compile warnings
tick: Upstream fixes
kthread_work: wake up worker only when the worker is idle
config: enable DEBUG_HOTPLUG
cgroups: Introduce timer slack controller
kernel: cgroup_timer_slack: Adaptations for 3.4 kernel
config: enable CGROUP_TIMER_SLACK
kernel: cgroup_timer_slack: Dynamic management of timer slack
kernel: cgroup_timer_slack: Dynamic management of timer slack - adapt for PowerSuspend driver
config: CGROUP_DYNAMIC_TIMER_SLACK
sched: Set MC (multi-core) sched domain's busy_factor attribute to 1
Makefile: Turn off -Wmaybe-uninitialized when building with -Os
CPU hotplug, writeback: Don't call writeback_set_ratelimit() too often during hotplug
printk: Add sys kernel interface to configure linux printk logging
printk: make sysfs kernel interface compatible with Synapse app
scripts: gcc-wrapper: Use wrapper to check compiler warnings
Makefile: implement CCACHE properly
Makefile: Fix gcc-4.9.0 miscompilation of load_balance() in scheduler
Makefile: optimize flags
Samsung DYNAMIC Hotplug control: screen on & off mode set default
WLAN subsystem: Sysctl support for key TCP/IP parameters
v2.8 [28-February-2015]
ramdisk :
init.rc: set Wolfson speaker equalizer switch off by default
synapse: add CPU MULTICORE tab: add Holtplug controls for screen off & on/off modes
synapse: CPU FREQ: move CPU multi-core power saving & Power Efficient WQ controls to CPU MULTICORE
synapse: MEMORY: remove KSM & add UKSM controls
synapse: SYSCTL KERNEL: fix apply/discard bug
kernel :
Samsung DYNAMIC Hotplug control
Hotplug: set to Screen OFF mode by default
scheduler: update BFQ-v7r4 to BFQ-v7r7 for 3.4.0
UKSM v1.2.2
UKSM: fix compile warnings
config: enable UKSM
Hotplug: prevent changes to user set scaling_min_freq_gpu
v2.7 [02-February-2015]
ramdisk :
init.rc: set optimistic DAD enabled
synapse: SYSCTL: add separate FS-KERNEL-NET-VM (if you don't understand what each does, don't touch)
synapse: ADVANCED: add Arch Power control (enabled)
synapse: NETWORK: add IVP6 Optimistic Detection (enabled)
kernel :
net: wireless: bcmdhd4358: reduce kernel logging
page_alloc: Make watermarks tunable separately
powersuspend: various patches/fixes
usb: gadget: check for accessory device before disconnecting HIDs
ipv6: clean up anycast when an interface is destroyed
xt_qtaguid: Use sk_callback_lock read locks before reading sk->sk_socket
ARM: compile KERNEL_MODE_NEON with -mfpu=neon-vfpv4
Makefile: various (experimental) kernel build optimizations
sched: Add controls for sched features
ARM: compile vfp with softfp
v2.6.0 [30-Jan-2015]
ramdisk :
synapse: NETWORK: FIX apply/discard bug for TCP speed/security & 3G DNS tweaks
synapse: NETWORK: add Screen mirror/allshare cast fix control
Synapse: NETWORK: add Clean WIFI Lease
synapse: NETWORK: set TCP/IP Network Speed tweak "Enabled" by default
Synapse: ADVANCED: add LMK profiles
Synapse: MEMORY: add KSM stats
Synapse: MEMORY: add Drop caches (default enabled)
Synapse: BATTERY: add battery scaling re-calibration instructions
kernel :
arch: arm: lib: optimize memcpy for cortex-A15
config: enable ARM_PLD_64BYTE & USE_LDRDSTRD_OVER_LDMSTM
Revert "BCMDHD4354: WIFI: POWERSUSPEND support (not using with panel on/off powersuspend hooks)
v2.5.0 [23-Jan-2015]
ramdisk :
T700XXU1ANL2 & T705XXU1AOA1 ramdisk
synapse: GPU QoS: add GPU QoS controls for: MIF, INT, CPU
synapse: AUDIO: add controls for speaker amplification & equalizer
ramdisk: /sbin/SkyHigh.sh: add Wolfson sound defaults (parametric equalizer presets & tuning by heyjoe66)
kernel :
sched: Implement smarter wake-affine logic
cpufreq: interactive: decrease timer_slack to 70ms
kernel/power/powersuspend: add display panel hooks for powersuspend
kernel/power/powersuspend: add missing version numbers
wolfson sound control: Fixed stereo EQ and DRC for headphones and speakers
byteorder: allow arch to opt to use GCC intrinsics for byteswapping
CPU unaligned access path
ARM: enable UNALIGNED_ACCESS
Makefile: enable unaligned access
config: enable HAVE_EFFICIENT_UNALIGNED_ACCESS
fs/dcache.c: Fix the too small buffer for dname
GPU: add interface to modify GPU governor scaling table for MIF/INT/CPU QoS freq
Makefile: fix compile error
devfreq: INT: unlock 83 MHz min freq
devfreq: MIF: unlock 133 MHz min freq
v2.4.0 [17-Jan-2015]
ramdisk :
synapse: GPU: FIX GPU governor not setting on reboot
synapse: MEMORY: update Dynamic Dirty Page Writeback description
kernel :
cpufreq: interactive: use new CPUFREQ_RELATION_C
fs: vfat: reduce the worst case latencies
config: enable XPAD support (Microsoft X-BOX gamepad)
mm: pass readahead info down to the i/o scheduler
v2.3.0 [12-Jan-2015]
ramdisk :
/sbin/SkyHigh.sh: add NTFS r/o mounting (/mnt/ntfs/). For r/w, use paragon app.
kernel :
block: sysfs: allow non superusers to change I/O scheduler
Fix dynamic read-ahead
binfmt_elf.c: use get_random_int() to fix entropy depleting (max = 4096)
android: lowmemorykiller: add lmk parameters tunning code
lowmemorykiller: Account for highmem during kswapd reclaim
cpufreq: interactive: don't skip waking up speedchange_task if target_freq > policy->cur
omdemand: lower down_step_level to 100 (aka 200) MHz
cpufreq: Introduce new relation for freq selection
Squash 'enhance power efficiency' patches
vfs: fix bad hashing of dentries
selinux: whitelist f2fs
SELinux: Fix memory leak upon loading policy
selinux: just shut up
selinux: fix inode security list corruption
fs: Add a missing permission check to do_umount
kernel: add support for gcc 5
crypto: create generic version of ablk_helper
ARM: pull in <asm/simd.h> from asm-generic
crypto: sha1: add ARM NEON implementation
config: CRYPTO_SHA1_ARM_NEON
crypto: ablk_helper - Replace memcpy with struct assignment
crypto: add crypto_[un]register_shashes for [un]registering multiple shash entries at once
crypto: sha256 - Expose SHA256 generic routine to be callable externally
crypto: sha512 - Expose generic sha512 routine to be callable from other modules
ARM: 8120/1: crypto: sha512: add ARM NEON implementation
config: enable CRYPTO_SHA512 & CRYPTO_SHA512_ARM_NEON
ARM: 7723/1: crypto: sha1-armv4-large.S: fix SP handling
board-lt03-battery: Longer battery polling interval
v2.2.0 [24-Dec-2014]
ramdisk :
init.rc: set GPU governor course_demand (set as default)
Synapse: GPU: add Midgard GPU power policy control
Synapse: GPU: add Midgard GPU power policy threshold control (set default profile "Battery")
Synapse: NETWORK: add 3G DNS speed & security tweak
Synapse: Some more clean up
kernel :
usb: gadget: mass_storage: added sysfs entry for cdrom to LUNs
Mali: proper GOV table on init; code cleanup
v2.1.0 [21-Dec-2014]
ramdisk :
FIXED CIFS: init.rc: Create mountpoint so Dalvik can mark as slave in zygotes to allow CIFS mounting and other app databases (forgot to include when updated ramdisk)
FIXED slow Synapse load on boot: KNOX: please set to "NO_ACTION" after set Disabled or Enabled. Knox will still be enabled or disabled.
Synapse: Lots of clean up of code and remnants of old files
Synapse: Tidy up of layout, added/remove/move tabs and features about
Synapse: CPU: added big.LITTLE CPU freq time in state
Synapse: GPU: added GPU freq time in state
Synapse: IO: added IO scheduler tunables
Synapse: BATTERY: added more info
Synapse: REBOOT: added Restart Synapse button
Synapse: INFO: added asv_group
Synapse: NETWORK: add TCP security
Synapse: NETWORK: add TCP speed
v2.0.0 [27-Nov-2014]
updater-script :
Removed ROM KNOX removal code (Synapse freeze/disable in Synapse control added)
ramdisk :
ramdisks from T700XXU1ANJ4 & T705XXU1ANJ3
init.rc/default.prop: removed SELinux permissive hack, now set in source
Synapse: Security: add KNOX enable/disable (freeze) control
Synapse: CPU: Power-efficient Workqueues control (default enabled)
Synapse: USB: remove storage options (temporary until fixed)
Synapse: Network: remove GPS tweak options - slowing down boot (temporary until fixed)
Synapse: various small tidy up and additions
kernel :
source update: T705WVLU1ANJ5
SELinux: set permissive in source instead of ramdisk
v1.9.1 [07-Oct-2014]
ramdisk :
synapse: FS: bug fix - Optimise Databases error if no sdcard/SkyHigh/Log folder not present
v1.9 [06-Oct-2014]
ramdisk :
init.rc: remove Gentle Fair Sleepers boot default - now disabled by default in source
synapse: Backup Restore: fixed bug not backing up & restore current kernel
synapse: FS: add push button to Optimise Databases (SQLite3)
kernel :
xz: tweaking kernel compression
af_unix: speedup /proc/net/unix
sched: disable GENTLE_FAIR_SLEEPERS by default
mm: don't wait for congestion when mem is high
block: disable add_random for more performance on SSD's
fs/dyn_sync_cntrl: on by default if enabled in defconfig
mmc: disable CRC check for better performance
mm: optimize Kernel Samepage Merging (KSM)
Input: send events one packet at a time
lib/int_sqrt.c: optimize square root algorithm
readahead: make context readahead more conservative
gpu: ion: system_heap: add support for 2MB allocations
CHROMIUM: clocksource: allow clocksources to be selected earlier during boot
v1.8 [30-Sept-2014]
ramdisk :
init.rc: Create mountpoint so Dalvik can mark as slave in zygotes to allow CIFS mounting and other app databases.
synapse: USB: add MTP mount option (if is doesn't mount storage properly on PC, just toggle between Default > MTP )
synapse: INT/MIF voltage control
kernel :
EXYNOS5420 MIF: unlock MIF 933 MHz & set for CPU 2.0+ GHz freq
opp: De-obscurify OPP structs and disclose find_device_opp
devfreq: add Exynos 5420 MIF voltage control
devfreq: add Exynos 5420 INT voltage control
MIF / INT fix
MIF / INT: allow 6250 mV increments
EXYNOS5420 MIF: set 800 MHz for CPU 2.0 GHz freq
workqueue: fix permission for power_efficient
v1.7 [21-Sept-2014]
kernel :
arch/arm/Makefile: adaptation to full neon-vfpv4 support
sched: GENTLE_FAIR_SLEEPERS fix unused cpu var
drivers/staging: configurable android log buffer sizes
config: set LOGCAT_SIZE=256
ext4: Speedup WB_SYNC_ALL pass called from sync(2)
bfq-iosched: tuning for SSD
ksm: check and skip page, if it is already scanned
config: enable KSM_CHECK_PAGE
config: enable Conservative & disable Userspace governor
v1.6 [17-Sept-2014]
ramdisk :
init.rc: set defaults: removed KSM deferred_timer as now set enabled in source
synapse: Network: tcp_default_init_rwnd (not sure how to tune the value yet)
synapse: Reboot: added Power Off option
kernel :
cifs: enable mounting cifs drives visible to all apps
config: enable CIFS RESTRICT_ROOTFS_SLAVE
block: Reserve only one queue tag for sync IO if only 3 tags are available
setlocalversion: do not append -dirty when there are un-committed changes
kswapd: reduce time spent in congestion_wait
workqueue: add system wide power_efficient workqueues (battery)
config: enable WQ_POWER_EFFICIENT (battery)
CPUFREQ: ondemand: use power efficient wq (battery)
mutex: Make more scalable by doing less atomic operations
mutex: Queue mutex spinners with MCS lock to reduce cacheline contention
writeback: fix writeback cache thrashing
sched: Make scheduler aware of cpu frequency state
bcmdhd4354: filter multicast packages while suspended (battery)
tcp: add a sysctl to config the tcp_default_init_rwnd
net: tcp: optimization with rcv_wnd
vfp/Makefile: compile with -mfpu=neon-vfpv4 & hard float
slub: optimized SLUB memory allocator
net: loopback: set default mtu to 64K
ksm: enable deferred_timer by default to prevent the CPU to be wakened for ksm activities
ext4: add support for FIDTRIM, a best-effort ioctl for deep discard trim (no idea if it's working)
Report permissive mode in avc: denied messages
config: disable mutex debugging
v1.5 [10-Sept-2014]
ramdisk :
init.rc: set defaults: Dynamic FSync enabled
kernel :
ARM: implement KERNEL_MODE_NEON
config: enable KERNEL_MODE_NEON
Makefile: added ccache for speed up kernel compile
sync: don't block the flusher thread waiting on IO
staging: android: lowmemorykiller: select a new task to kill
SELinux: Reduce overhead of mls_level_isvalid() function call
SELinux: Fix kernel BUG on empty security contexts
fix compile warning for Async Fsync
arm/crypto: add optimized AES and SHA1 routines
config: enable CRYPTO_SHA1_ARM & CRYPTO_AES_ARM
softirq: reduce latencies
ext4: speed up truncate/unlink by not using bforget() unless needed
mm: Clear page active before releasing pages
v1.4 [07-Sept-2014]
ramdisk :
synapse: Memory: VNSWAP control (1>1024 MB - Unable to disable (reset) / set size to 0 yet)
synapse: Memory: ZSwap memory pool control
synapse: Memory: Deferred Timer control
synapse: minor typo, cleanup & corrections to general layout and descriptions
kernel :
ksm: Provide support to use deferred timers for scanner thread
sched: LOAD_FREQ (4*HZ+122) avoids loadavg Moire
staging: android: lowmemorykiller: implement task's adj rbtree
config: enable ANDROID_LMK_ADJ_RBTREE
cpufreq: tidy up
block: add SIO I/O scheduler
block: add ZEN I/O scheduler
config: enable SIO & ZEN I/O schedulers
v1.3 [03-Sept-2014]
ramdisk :
synapse: Reboot: added Reboot to Download Mode
synapse: USB: USB Mouse / Keyboard control
ramdisk: file_contexts: add busybox to file_contexts to allow via SELinux
kernel :
cpufreq: Fake the IKS specific frequency table to stock values (fixes: corrects to stock CPU touch boost frequencies & CPU freq in Power Saving Mode)
lib: memcopy & string use glibc version
scheduler: update BFQ-v7r4 to BFQ-v7r5 for 3.4.0
drivers: usb: Use Android device as USB keyboard/mouse
USB KEYBOARD/MOUSE: added on/off trigger to driver
v1.2 [01-Sept-2014]
ramdisk :
synapse: Network: WiFi Power Mode controls
kernel :
BCMDHD4354: WIFI PM support for KitKat driver
BCMDHD4354: WIFI: POWERSUSPEND support
sched: cpu_power: enable ARCH_POWER
v1.1 [31-August-2014]
ramdisk :
init.rc: added some more boot defaults
synapse: new PowerSuspend controls: (enabled Hybrid as default)
kernel :
kernel/power/powersuspend: cumulative update to version 1.5
kernel/power/powersuspend: LCD screen on/off hooks
v1.0 [27-August-2014]
ramdisk :
default.prop: Possible Screen Mirroring / AllShare Cast fix (please give FULL report !!)
init.rc: added some more boot defaults
synapse: added to descriptions & general clean up
synapse: PowerSuspend: (enabled by default)
added dynamic Fsync control (disabled by default)
moved Dynamic Dirty Page Writeback controls
added Adaptive VFS Cache Pressure on Suspend / Resume​
synapse: Battery: added Battery Scaling Calibration (fuel-gauge chip reset)
synapse: Reboot: added Clear Synapse Data button
kernel :
fs/dyn_sync_cntrl: dynamic Fsync control v1.5
fs/dcache.c: adaptive vfs_cache_pressure on suspend / resume
fs/aio.c: Asynchronous I/O latency to a solid-state disk greatly increased
enabled AIO
kernel: sched: LOAD_FREQ (4*HZ+61) avoids loadavg Moire
config: set default TCP Westwood+ -- remembered at last
Dynamic read-ahead (1024 kB for 16 GB partition)
block: add FIOPS I/O scheduler
block: deadline: tweaks
Optimize for non-rotational
allow 0ms deadline latency, increase the read speed​
v0.9 [22-August-2014]
updater-script :
Knox removal
ramdisk :
T700: new T700KXU1ANG1 ramdisk (thanks @stitoo )
init.rc: added some more boot defaults
synapse: Audio: removed Main Speaker amplification & equalizer (only top speaker was boosted)
synapse: Drivers: added PowerSuspend control
synapse: Memory: added Dynamic Dirty Page Writeback controls
synapse: Advanced: added LMK Whitelist control for Do-Not-Kill Processes
synapse: various small cleanups
init.universal5420.rc: mount F2FS
kernel :
Completely rebuilt on newer T700OPU1ANG2 source
removed GPU 733 MHz freq step. Max now at 667 MHz (optional)
kernel/power/powersuspend: new PM kernel driver for Android w/o earlysuspend v1.2
staging: android: lowmemorykiller: Management of not killable processes (read Post #3 )
mm: Dynamic management of dirty page writebacks
config: enable LAST_KMSG
Asynchronous Fsync: initial extraction of Async Fsync from HTC
FS: import F2FS
v0.7 [16-August-2014]
ramdisk :
T700: new ramdisk from T700XXU1ANF9 (thanks @mitchellvii )
T705: new ramdisk from T705XXU1ANG2 (thanks @edan1979 )
synapse: Reboot: added reboot & recovery options
synapse: removed Audio checkboxes to enable speaker & headphone equalizer settings (enabled by default)
kernel :
Completely rebuilt on newer T700XXU1ANF7 source
added GPU 733 MHz freq step (optional) will decrease benchmark due to thermal throttle, but what the heck !
MALI_DVFS-START FEQ set to 100 MHz (will allow launcher to idel lower & use loads more of user set min GPU freq )
Kernel compression mode changed to XZ (smaller zImage & stops kernel flash damaging the Recovery partition )
removed useless CPU Performance governor
v0.6 [12-July-2014]
ramdisk :
synapse: Network: TCP/IP network security
synapse: Network: TCP/IP network speed
synapse: Network: GPS region
synapse: USB: UMS (USB Mass Storage) mode
v0.5 [11-July-2014]
ramdisk :
init.rc: set some Synapse boot defaults
synapse: adjustments to various layout options and info
synapse: audio controls (some omitted for now)
kernel :
WolfsonMicro WM5102 sound control by AndreiLux
v0.4 [10-July-2014]
ramdisk :
init.rc: set some Synapse boot defaults
synapse: adjustments to various layout options and info
synapse: CPU: multi-core power saving control (sched_mc_power_savings)
synapse: Advanced: randomize_va_space control
/sbin/SkyHigh.sh: enable frandom & fix init.d
kernel :
add frandom
fs: mount partitions NOATIME and NODIRATIME by default
BFQ-v7r4 IO scheduler & set as default)
config: enable sched_mc_power_savings for sysfs
v0.3 [09-July-2014]
ramdisk :
init.rc: set some Synapse boot defaults
synapse: add various layout options and info
synapse: CPU general IO tuneable
synapse: Virtual memory tuneable
synapse: Gentle fair sleepers control (disabled to improve UI performance)
synapse: TCP congestion control
synapse: Android logger control (disabled)
synapse: logs - last_kmsg
kernel :
logger: modify for Synapse app checkbox compatibility
add sysfs interface for GENTLE_FAIR_SLEEPERS
v0.2 [07-July-2014]
ramdisk :
init.rc: set some Synapse boot defaults
synapse: add GPU, battery & thermal controls
kernel :
cpufreq: allow A15's to 2.1 GHz and A7's to 200 MHz
config: enable TCP congestion control & all available algorithms
logger: add sysfs interface to enable / disable Android Logger
battery: add MAX77803/UNIVERSAL5420 charger control
battery: add unstable power detection switch to charger controls
battery: properly populate current now, avg, and max output properties
battery: expose all MHL currents in charger controls
Mali GPU: OC to 677 & UC to 100 MHz
Mali GPU: clock & governor control
Mali GPU: voltage control
mach-exynos: lower regulator buck min voltages
exynos_tmu: add configurable interface
Initial Release v0.1 [06-July-2014]
ramdisk :
default.prop/init.rc: adb insecure, wifi fix & SELinux permissive
add synapse support (initial files ported from halask88 & moddified to suit)
kernel :
config: enable /proc/.config.gz support
config: enable KSM support
config: enable performance CPU governor
config: enable USB OTG support
config: enable NTFS RW support
config: enable CIFS support
config: disable DEBUG_INFO
add sysfs helpers
cpufreq: add Exynos 5420 voltage control
INSTALLATION
Watch >> THIS <<
Uninstall any CPU control apps, tweaks and scripts etc.
Recommend: Install Wanam DVFS disabler for greater kernel control
Recommend: Backup your current kernel with TWRP Recovery
Recommend: Install Synapse app from Google Play and rate it ☆☆☆☆☆ !!
If Synapse app is installed and using with any current kernel: device settings > applications > synapse > FORCE STOP & CLEAR DATA
Flash SKyHigh kernel with CWM or TWRP Recovery
After boot (wait at least 60-120 secs)
Open Synapse
Tap "Understood"
Make any change, and tap the "" to apply new defaults
After setting and applying any GPU freq changes, don't forget to tap [Apply GPU Governor Settings] in Synapse GPU section
Any issues, please check Posts #1-3 and search the thread BEFORE posting
DOWNLOAD
8.4" TF700 WIFI EXYNOS
>> WIFI SkyHigh T700 WIFI kernel <<
STOCK T700 WIFI T700XXU1ANJ4 kernel (Flashing Stock will wipe your WiFi settings !)
---------------------------------------------------------------------------------------------------
8.4" TF705 LTE EXYNOS
>> LTE SkyHigh T705 LTE kernel <<
STOCK T705 LTE T705XXU1ANJ3 kernel (Flashing Stock will wipe your WiFi settings !)
SOURCE
>> github <<
.
HELP & FAQ
HELP & FAQ
PLEASE POST QUESTIONS THAT ARE NOT DEVELOPMENT RELATED IN Q&A HERE. THIS WILL HELP KEEP THINGS TIDY
BEFORE POSTING, ENSURE YOU READ POSTS #1-3 AND SEARCH THREAD FOR INFO FIRST. THANK YOU FOR YOUR ASSISTANCE
BUGS
[Q] Duplicate proc/last_kmsg files
[A] Doesn't appear to affect anything, looking into it - apparently only from v0.8 and up
[Q] Synapse: AUDIO: HP equalizer does not work
[A] Toggle the control switch off > apply > on > apply >then it works
[Q] GPU Qos has this error:
[A] Don't worry, it wont hurt, and will only show if GPU freq 100 MHz is not in use. If you set 100 MHz and restart synapse, control will be available without error.
{
"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"
}
AUDIO
If you don't like the sound:
open synapse app
AUDIO: set all SP equalizer settings to zero
disable SP equalizer
apply
"SYNAPSE BOOT CANCELLED"
Wait for the kernel to stabilize and device to cool
Open synapse app
Synapse app menu > select all globally > undo > apply
Re-boot
If still issues > try again after #1
Still issues > Manually set config after boot (open synapse app > syanapse app menu > settings > disable apply on boot)
ISSUES
DO NOT POST ANY BUG REPORTS REGARDING SOD, FREEZE or REBOOT WHERE YOU (USER) HAS CHANGED ANY VOLTAGE OR FREQUENCY FROM DEFAULT !!
Uninstall any CPU control apps, tweaks and scripts etc.
Install Wanam DVFS disabler for greater kernel control
Flash kernel
Boot and allow things to stabilize
Open Synapse & tap :
"understood" message about unstable boot
"select all globally"
"undo" button
"apply"
make any change
"apply"
Reboot and ensure "synapse boot completed" toast message
You should be good to go
BOOT-LOOP
Power off & let device cool
Wipe cache & dalvik-cache in recovery (if custom recovery)
Re-flash kernel
Re-boot
Let things stabilize and cool before touching anything
BETTER BATTERY LIFE
There are no best settings. User "HABIT" is #1 cause of battery drain, followed by screen, ROM & apps, modem etc
This kernel is built to be balanced with a good mix of battery whilst keeping performance
Decrease screen brightness
Use dark wallpapers and app themes
Check your wakelocks with better battery stats app & use Greenify app to stop unwanted apps self starting and running in the background
Suggest:
CPU GOV: governor = ondemand (tweaked for power efficient workqueues)
CPU FREQ: 200 > 1900 MHz (-25 mV for all)
Synapse: CPU MULTICORE: Hotplug CPU UP boost = 30 %
GPU: 100 > 480 MHz (-50 mV for all) (100 MHz may induce some GUI sluggishness)
GPU: Midgard Power policy control = coarse_demand
GPU: Midgard Power policy threshold control = Battery (may induce some GUI sluggishness)
PowerSuspend Driver = Enable
MEMORY: Dynamic FSync = Enable
MEMORY: Dirty Page Writeback = Enable
CPU Multicore Power Saving = (2) Agressive
BETTER PERFORMANCE
DO NOT POST ANY BUG REPORTS REGARDING SOD, FREEZE or REBOOT WHERE YOU (USER) HAS CHANGED ANY VOLATGE OR FREQUENCY FROM DEFAULT !!
Disable DVFS with [APP][Android 4.0+][DVFS Disabler]
Warmer device under heavy load, but within the safe CPU temp of 95 degC
Synapse: CPU FREQ: 500 > 2000 MHz (2100 not stable for some devices)
Synapse: CPU MULTICORE: Power Efficient WQ = disabled
Synapse: CPU GOV: use Interactve governor
Synapse: GPU: set Midgard Power policy threshold profile to Ondemand or Performance. This will scale your GPU up/down faster at the expensive of battery life compared to Battery profile.
Synapse: GPU: GPU max freq = 533 MHz (more if your device is stable)
Synapse: MEMORY: UKSM = enabled
Synapse: ADVANCED: LMK profile = aggressive
GPU THESHOLD CONTROL
Set Midgard Power policy threshold profile (This determine how your GPU freq scales up/down):
Battery = battery friendly
Ondemand = Good all-round mix
Performance = A little agressive
Method:
Ensure you apply [] any changes to MIN / MAX GPU freq or GPU GOV Threshold profile
PRESS THE "Apply GPU GOV SETTINGS" button !!
Settings will be applied immediately and auto set on every boot.
HOW TO BACKUP YOUR STOCK KERNEL BEFORE FLASHING SkyHigh KERNEL
Boot into TWRP Recovery
Select Backup
Select "[X] Boot" only (boot.img/kernel)
Select Storage > Micro SD (if external sdcard installed) > OK
Swipe to backup
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
HOW TO MONITOR LIVE CPU & GPU VALUES
CPU load & freq - available RAM - GPU freq - CPU temp - most resource intensive process
[APP][2.1+] Cool Tool
Download my personal cooltool_presets > unzip & copy folder to INTERNAL sdcard. If you have cool tool app already running, you must disable > overwrite existing folder > enable
LITTLE CORE CPU FREQUENCY
Real frequency is apparently double that reported by other apps
Example: min 200 MHz (real) in Synapse is reported as 100 MHz in SetCPU
RANDOM REBOOT
Don't UV or UC CPU or GPU
Use SkyHigh defaults
DOWNLOAD LINK NOT WORKING
I want to keep this project all in one place (Thanks to XDA) - ☆☆ NO MIRRORS ☆☆
Please try again in a few minutes
POOR CPU/GPU BENCHMARK or GRAPHICS PERFORMANCE
Allow the device to cool. Repetitive testing will heat the device hardware and invoke thermal throttling and lead to decreased benchmark.
HIGH CPU/GPU OC >> excessive heat >> thermal throttling >> reduced clock frequency >> DECREASE PERFORMANCE
DO NOT KILL PROCESSES
This feature allows the user to define processes and system processes white-lists filled with the preferred process names and to not be killed by lowmemorykiller, unless it is absolutely necessary.
When a the lowmemorykiller needs to free ram, it will first kill the processes not included inside the two process name lists chosen by the user.
If there are no more standard killable processes, then it will be necessary to kill one of the processes included inside one of the two white-lists, to prevent system hangs, slowdowns, etc.
You can find the [SkyHigh/Synapse] folder on your internal sdcard and add one process name per line. Lists updated on reboot.
Max 25 processes
Example only:
Code:
com.ea.games_r3_row
com.quoord.tapatalkxdapre.activity
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
BACKUP & RESTORE
If the backup isn't visible, reboot device and ensure for have "synapse boot completed" message. Otherwise synapse won't read the file.
Reboot after applying your new settings
Read "ISSUES" & "SYNAPSE BOOT CANCELLED" above
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
SEGMENTATION FAULT
I don't believe it's kernel related, but rather busybox
Try uninstall your ROM busybox with this app. https://play.google.com/store/apps/details?id=stericson.busybox and reboot.
Re-flash kernel
Use the busybox that comes with the kernel located in /sbin
Also try to update your SuperSu and su binary if it asks and reboot.
USB KEYBOARD / MOUSE
Base project: https://github.com/pelya/android-keyboard-gadget
Required app: USB KEYBOARD
For best results, enable & use Hacker's Keyboard
Steps:
Ensure device USB debugging
Connect device to system via USB cable
Enable in Synapse > USB > USB Keyboard / Mouse >> Enable & apply
Start USB KEYBOARD app
BATTERY SCALING CALIBRATION - FUEL GAUGE RESET
Tap [Fuel-Gauge reset] in synapse BATTERY section
Reboot device
Battery % "reporting" calibration (digital)
a) Deplete battery to 5-10% (NOT ZERO)
b) Charge UNINTERUPTED until FULL (don't touch)
c) Unplug and then use normally. Device should then re-calibrate itself
..
v0.1 released
v0.1 is now released
Change-log in Post #2.
NOTE: commit credits are in source.
Further instructions in Synapse app & Posts #1-3
Enjoy :good:
Cheers,
UITA
.
It would appear most persons here have the sm-t800, the 10.5 with exynox cpu. Sorry I can't test your kernel though, wish I had synapse to configure my display.
Sent from my SM-T800 using Tapatalk
toyanucci said:
It would appear most persons here have the sm-t800, the 10.5 with exynox cpu. Sorry I can't test your kernel though, wish I had synapse to configure my display.
Sent from my SM-T800 using Tapatalk
Click to expand...
Click to collapse
True. Another tab s 10.5 here. Hope to see the 10.5 one soon.
Have CPU OC to 2.1 GHz & UC to 200 MHz (read as 100 in most CPU control apps) working for next release.
Sent from my SM-N9005 using XDA Premium 4 mobile app
I recommend that you put THIS IS FOR THE LTE MODEL ONLY! in flaming giant red letters to save the flash happy noobs from causing themselves trouble. You mentioned it but you know these guys never read the OP. ☺
mitchellvii said:
I recommend that you put THIS IS FOR THE LTE MODEL ONLY! in flaming giant red letters to save the flash happy noobs from causing themselves trouble. You mentioned it but you know these guys never read the OP. ☺
Click to expand...
Click to collapse
You're probably right. Will do later, but they'll still miss it. ......
Sent from my SM-N9005 using XDA Premium 4 mobile app
I thought the lte model uses the snapdragon processor
Sent from my SM-T700 using XDA Premium 4 mobile app
will6316 said:
I thought the lte model uses the snapdragon processor
Sent from my SM-T700 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
There may be a snapdragon variant, but my T705 LTE uses Exynos 5420
Sent from my SM-N9005 using XDA Premium 4 mobile app
v0.2 released
v0.2 is now released
HUGE update !! Check out the OP, screenshots & Change-log in Post #2
NOTE: commit credits are in source.
Further instructions in Synapse app & Posts #1-3
Enjoy :good:
Cheers,
UITA
.
UpInTheAir said:
There may be a snapdragon variant, but my T705 LTE uses Exynos 5420
Sent from my SM-N9005 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Hey, where did you get it!?
I'm just sitting tiggt and waiting for it to be released, and you building kernels for it already.
I want it badly.
heyjoe66 said:
Hey, where did you get it!?
I'm just sitting tiggt and waiting for it to be released, and you building kernels for it already.
I want it badly.
Click to expand...
Click to collapse
Are you referring to my device model or source code?
Sent from my SM-T705 using XDA Premium 4 mobile app
UpInTheAir said:
Are you referring to my device model or source code?
Sent from my SM-T705 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Oh, the device model. I'm waiting for LTE version, but now I can see, it's been released in Europe.
Actually, I was expecting it will come with new Wolfson DAC 5110, but it seems to have the previous one - 5102, same as SGS4. Still not bad.
heyjoe66 said:
Oh, the device model. I'm waiting for LTE version, but now I can see, it's been released in Europe.
Actually, I was expecting it will come with new Wolfson DAC 5110, but it seems to have the previous one - 5102, same as SGS4. Still not bad.
Click to expand...
Click to collapse
Was released here in
Phuket, Thailand last Thursday. Was hoping for a snapdragon 32GB but ended up with a 16 GB Exynos. A snapdragon 805 would have been sweet, but i think they might release with the 800........ A few other things they could have updated too. But for the most, i really like it.
Sent from my SM-T705 using XDA Premium 4 mobile app
I don't see why people pay a premium for an LTE MODEL when you can just tether it to the LTE on your phone without an extra contract?
mitchellvii said:
I don't see why people pay a premium for an LTE MODEL when you can just tether it to the LTE on your phone without an extra contract?
Click to expand...
Click to collapse
For me, As a backup when traveling international. Everyone has different reasons.
Edit: Not everyone has contracts, I bought mine outright, same as a lot of the world.
Sent from my SM-T705 using XDA Premium 4 mobile app
v0.3 released
v0.3 is now released
Now support T700 WIFI Exynos model !
Change-log is in Post #2.
Ensure you flash the kernel for your device model !!
NOTE: commit credits are in source.
Further instructions in Synapse app & Posts #1-3
Thanks to @will6316 for testing the T700 WIFI release and @mitchellvii for supplying the boot.img (so I could extract the ramdisk).
Enjoy :good:
Cheers,
UITA
.
I was think if you can make up kernels you have the skills handy to build CWM right.
Nexus 5 via Tapatalk

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

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

Categories

Resources