FAQs:
1. My device rebooted or crashed, how can I help?
A: Get me /proc/last_kmsg on pastie.org.
2. Battery sucks, my device is not entering deep sleep. FIX PLOX!
A: Get the name of kernel (parital) wakelock that's keeping your device awake
4. Do I need to wipe anything when flashing this kernel?
A: No
5. Does this kernel has X or Y mod?
A: Learn to read, everything you need to know is in the features list, changelog or public repo.
downloads: mediafire
latest mirrors: d-h.st | mediafire
latest version: CodyKernel-Revamped
The zip's are named in the following fashion:
Code:
cody_kernel-sprout_<date>_<month>_<year>.zip
source:
cody_kernel_sprout/cm13.0
credits:
@varun.chitre15, @intersectRaven and @thewisenerd for base kernel works
kernel changelog:
http://forum.xda-developers.com/showpost.php?p=61201097&postcount=3
XDA:DevDB Information
CodyKernel for Sprout, Kernel for the OEM Cross Device Development
Contributors
Agaphetos, thewisenerd, varun.chitre15, intersectRaven
Source Code: https://github.com/agaphetos/cody_kernel_sprout
Kernel Special Features:
- based on 'stock' google sources: android-mediatek-sprout-3.10-marshmallow
- upstream patched up to 3.10.96
- compiled using UBER Linaro GCC 6.0-2015.10 (6.0) (thanks @Cl3Kener for his toolchain)
- supports all android-5.1 and android-6.0 ROMs
- UKSM (Ultra Kernel Samepage Merging)
- Dynamic Fsync Control (credits to faux123)
- Asynchronous Fsync from HTC (credits to imoseyon)
- sweep2wake+sweep2sleep + doubletap2wake. (disabled by default)
- pocket_mod prox hax!
- flashable zip created via AnyKernel2 (credits to osm0sis)
- Wifi Power Management Control (credits to varunchitre15)
- ThunderZap Features: (credits to varunchitre15)
* ThunderQuake Engine
* thunderplug
* thunderX cpu_governor
* thundercharge
Version Information
Status: Stable
Created 2015-06-06
Last Updated 2016-02-07
features
Terminal commands for some of the options in this kernel:
==================================================
WAKEMODS
==================================================
sweep2wake
--------------------------------------------------
toggle
Code:
echo [mode] > /sys/android_touch/sweep2wake
modes available:
0 - disable *default*
1 - enable
--------------------------------------------------
sweep2sleep_only
Code:
echo [mode] > /sys/android_touch/s2w_s2sonly
modes available:
0 - disable *default*
1 - enable
==================================================
doubletap2wake
--------------------------------------------------
toggle
Code:
echo [mode] > /sys/android_touch/doubletap2wake
modes available:
0 - disable *default*
1 - enable
==================================================
pocketmod
--------------------------------------------------
toggle
Code:
echo [mode] > /sys/pocket_mod/enable
modes available:
0 - disable
1 - enable *default*
--------------------------------------------------
pocket_mod_timeout
Code:
echo [value] > /sys/pocket_mod/timeout
values available:
0 - disable
k ms - valid value (600 - *default*)
==================================================
THUNDERZAP FEATURES
==================================================
ThunderQuake Engine
--------------------------------------------------
toggle
Code:
echo [level] > /sys/kernel/thunderquake_engine/level
levels available:
0-7 - Intensity Level (0 for lowest and 7 for highest)
==================================================
ThunderCharge
--------------------------------------------------
toggle
Code:
echo [mode] > /sys/kernel/thundercharge_control/enabled
modes available:
0 - disable *default*
1 - enable
--------------------------------------------------
Custom AC Current
toggle
Code:
echo [level] > /sys/kernel/thundercharge_control/custom_ac_current
levels available:
100-1000 - mA valid values
600 - mA *default*
--------------------------------------------------
Custom USB Current
toggle
Code:
echo [level] > /sys/kernel/thundercharge_control/custom_usb_current
levels available:
100-1000 - mA valid values
450 - mA *default*
==================================================
MISC
==================================================
Wifi PM
--------------------------------------------------
toggle
Code:
echo [mode] > /sys/kernel/mt_wifi/pm_mode
modes available:
0 - disable
1 - normal
2 - power-saving *default*
==================================================
SELinux status
--------------------------------------------------
toggle
Code:
setenforce [mode]
modes available:
0 - permissive
1 - enforcing
==================================================
features and changelog
features
- based on 'stock' google sources: android-mediatek-sprout-3.10-marshmallow
- upstream patched up to 3.10.96
- compiled using UBER Linaro GCC 6.0-2015.10 (6.0) (thanks @Cl3Kener for his toolchain)
- supports all android-5.1 and android-6.0 ROMs
- UKSM (Ultra Kernel Samepage Merging)
- Dynamic Fsync Control (credits to faux123)
- Asynchronous Fsync from HTC (credits to imoseyon)
- sweep2wake+sweep2sleep + doubletap2wake. (disabled by default )
- pocket_mod prox hax!
- flashable zip created via AnyKernel2 (credits to osm0sis)
- Wifi Power Management Control (credits to varunchitre15)
- ThunderZap Features: (credits to varunchitre15)
* ThunderQuake Engine
* thunderplug
* thunderX cpu_governor
* thundercharge
changelog
15Nov2015 - CodyKernel-Revamped
- Updated to Linux 3.10.96
- Updated to android-6.0.1_r0.16
- mediatek: mt_wifi: refine p2p earlysuspend registrations (credits to varunchitre15)
- fs/buffer.c: increase the buffer-head per-CPU LRU size (credits to sebastienbuisson)
- mm/slub: don't wait for high-order page allocation (credits to JoonsooKim)
- sched/fair: Stop searching for tasks in newidle balance if there are runnable tasks (credits to francisofranco)
- mediatek: wlan power saver mode control (credits to varunchitre15)
- Added ThunderZap Features: (credits to varunchitre15)
* thunderplug
* thunderX cpu_governor
* thundercharge
older:
15Nov2015 - CodyKernel-Revamped
- Updated to Linux 3.10.93
- pocket_mod_timeout: bringup! in collaboration with @thewisenerd
- flashable zip created via AnyKernel2 by @osm0sis
17Oct2015 - CodyKernel-Revamped
- CodyKernel-Revamped
- based on 'stock' google sources: android-mediatek-sprout-3.10-marshmallow
- upstream patched up to Linux 3.10.90
- compatible for both android-5.1(Lollipop) and android-6.0(Marshmallow)
- compiled using UBERTC-6.0
- bring up pocket_mod for sprout!
- use stock cpufreq-scheduler and iosched-governor (hotplug+bfq) *change it using any kernel control app*
06Sep2015 - CodyKernel-8.0
- Updated to Linux 3.10.87
- Total fix of wake delays (commit 8cc8fefb and 2da8f2d4<credits to @W4TCH0UT>)
- couple of patches to ARM, cpuidle, nohz, block, net, mm, sched, proc, fs, mmc, slub, slab, PM, QoS, pkt_sched (see github for whole changelog)
16Aug2015 - CodyKernel-7.1
- Updated to Linux 3.10.86
- Updated to android-5.1.1_r0.16
- Fixed wake delays (commit e9f38c28)
- SELinux to Permissive
09Aug2015 - CodyKernel-7.0
- Updated to Linux 3.10.85
- fs: fsync: add a toggle to enable or disable fsync() operations (credits to franciscofranco)
- PM / sleep: unregister wakeup source when disabling device wakeup (credits to zhang-rui)
- couple of patches to SELinux (credits to namhyung, Mark Salyzyn, longman88, pcmoore and kernelslacker)
- sched, smp: Correctly deal with nested sleeps (credits to Peter Zijlstra)
- tcp: we can enable tcp fast open functionality by default (credits to franciscofranco)
- tick: don't update idle time if cpu offline (credits to franciscofranco)
- sched/balancing: Prevent the reselection of a previous env.dst_cpu (credits to Vladimir Davydov)
- couple of patches to hwrang (credits to William Clark and bebarino)
13Jul2015 - CodyKernel-6.1
- added new IO Schedulers (VR, sio, zen, fifo, bfq, fiops)
- mm: push readahead to 1024kB
- set SIO as default IO Scheduler
12Jul2015 - CodyKernel-6.0
- Updated to Linux 3.10.84
- Added new cpu governors (smartmax, wheatley, alucard)
05Jul2015 - CodyKernel-5.0
- Updated to Linux 3.10.82
- Added powersuspend PM driver (credits to faux123 and yank555-lu)
- Added intelliactive governor (credits to faux123)
27Jun2015 - CodyKernel-4.0
- Updated to Linux 3.10.81
- Added cpu-boost driver (credits to Saravana Kannan)
- Added ThunderQuake Engine (credits to varuntchitre15)
- patches to rtmutex (credits to Thomas Gleixner)
- ARM: only allow kernel mode neon with AEABI (credits to Russell King)
- patches to Power,PM/QoS (credits to Alex Frid, Antti P Miettinen, Gaurav Sarode, Li Li, terjebergstrom and Puneet Saxena)
- cpu: Implement cpu core control (credits to andip71)
- ARM: make kernel oops easier to read (credits to Russell King)
- patches to cpufreq (credits to Saravana Kannan, Rohit Gupta, Swetha Chikkaboraiah, Srivatsa Vaddagiri and Patrick Cain)
- patches to sched (credits to Tk-Glitch, anarkia1976 and Steve Muckle)
- drivers/misc: remove battery logs (credits to varunchitre15)
21Jun2015 - CodyKernel-3.1
- fixed deep sleep issue
- updated UKSM from 0.1.2.2 to 0.1.2.3
- added Asynchronous Fsync (credits to imoseyon)
couple of patches to the following:
- cpuidle (credits to Tuukka Tikkanen, colincross, Daniel Lezcano, Viresh Kumar, paulburton, Chander Kashyap, amluto, ao2, imeraj, Mel Gorman, Christoph Lameter, Villemoes
- ARM (credits to Rob Herring
- power (credits to jinqian, Ruchi Kandoi, Joe Swantek
- memblock (credits to fnst-lrt, Yinghai Lu)
- workqueue (credits to Li Bin, Thomas Gleixner, fabianfrederick, laijs, utrace, valdisk,
- mm (credits to laijs, fabianfrederick, rashika, JoonsooKim, Davidlohr Bueso, torvalds, bbedward, Catalin Marinas)
- kmemleak (credits to lizf-git)
- readahead (credits hellsgod)
- block (credits to myfluxi, Dave Chinner, jankara, Tanya Brokhman)
- sched (credits to Michael Wang, Peter Zijlstra, Matt Wagantall)
- writeback (credits to Namjae Jeon, Junxiao Bi)
- fuse (credits xemul, andrewjcg, Maxim Patlasov, Rajat Jain
- int_sqrt (credits ramgear)
- PM: devfreq (credits to myfluxi)
(credits to franciscofranco for the following)
- Enable pipe flag.
- mm: push readahead to 512kB
- block: row: add magic values.
- audit: kiss goodbye you stupid piece of crap logging messages.
(credits to faux123 for the following)
- page_alloc: Make watermarks tunable separately
- android: binder: use GPF_HIGHUSER flag since binder is designed for u…
(credits to imoseyon for the following)
- mmc: core: Expose use_spi_crc module parameter in sysfs
- random: remove warning
- random: prevent add_input from doing anything
- fs: sync: Asynchronous Fsync from HTC
- fs/super.c: sync ro remount after blocking writers (credits to aeruder)
- cpufreq: Optimize cpufreq_frequency_table_verify() (credits to Viresh Kumar)
- timer: make deferrable cpu unbound timers really not bound to a cpu (credits to Joonwoo Park)
- wakeup: Add last wake up source logging for suspend abort reason (credits to Ruchi Kandoi)
- kthread_work: wake up worker only when the worker is idle (credits to laijs)
- futex: Add another early deadlock detection check (credits to Thomas Gleixner)
14Jun2015 - CodyKernel-2.2
- Set INTERACTIVE Governor and ROW Scheduler as default
- Enable UKSM (Ultra Kernel Samepage Merging)
- Dynamic Fsync Control (credits to faux123)
- Set SELinux to Enforcing (set it to Permissive at your own risk )
- add uksm 0.1.2.2 for v3.0 .ge.84.patch
- Added ROW I/O scheduler (credits to intersectRaven)
- power: make sync on suspend optional (credits to rknize)
- aio: Skip timer for io_getevents if timeout=0 (credits to famz)
- workqueue: allow rescuer thread to do more work. (credits to neilbrown)
- cpufreq: Introduce new relation for freq selection (credits to Stratos Karafotis)
- couple patches for block and fs improvement (credits to intersectRaven and Tatyana Brokhman)
- touches to hotplug, writeback: increase bdi_min_ratio to 5 (credits to intersectRaven)
- patches for lib/string and lib/memcopy (credits to DooMLoRD and faux123)
- patches to nohz_full (credits to paulmck and khilman)on of all-idle
- couple of ARM patches (credits wildea01, hglm, khilman, kimphill and Russell King)
- patches for task's adj rbtree (credits to Yi-wei Zhao)
- mm patches (credits to JoonsooKim, Lee Susman and Christoph Lameter)
- couple of patches to io sched/idle (credits to Peter Zijlstra, Tim Chen, Davidlohr Bueso, hofrat, Chinmay V S)
- Enhance power efficiency: Series of patches from NVIDIA (credits to Klozz)
- Added optimized ARM RWSEM algorithm. (credits to Ezekeel)
- cpuidle: remove cross-cpu IPI by new latency request. (credits to Guojian Chen)
- staging: binder: Change binder mutex to rtmutex. (credits to Riley Andrews)
- jiffies conversions: Use compile time constants when possible (credits to Joe Perches)
13Jun2015 - CodyKernel-2.0
- Updated kernel to v3.10.80
- Added more cpu governors
(Credits to broonie for the following)
- ASoC: compress: Use power efficient workqueue …
- ASoC: jack: Use power efficient workqueue …
- regulator: core: Use the power efficient workqueue for delayed powerdown …
- ASoC: pcm: Use the power efficient workqueue for delayed powerdown …
(credits to Viresh Kumar for the following)
- fbcon: queue work on power efficient wq …
- block: queue work on power efficient wq …
- PHYLIB: queue work on system_power_efficient_wq …
- workqueue: Add system wide power_efficient workqueues …
- workqueues: Introduce new flag WQ_POWER_EFFICIENT for power oriented … …
(credits to Varun Chitre for the following)
- mediatek: cpufreq: add more governor checks …
- mediatek: hotplug: improve current governor checks …
- sprout : back to enforcing
- mediatek : fix kernel panic on non-hotplug governors …
- mmc: disable crc check for 30% extra performance
07Jun2015 - CodyKernel-1.1
- DISABLED S2W AND DT2W BY DEFAULT. (as it drains battery fast. enable it at your own risk. )
(Credits to Varun Chitre for the following)
- defconfig: enable multicore scheduler.
- mali: reduce gpu utilization timeout.
- mali: disable state tracking.
- mali: increase l2 cache max read size.
- mali: increase kernel memory buffer size.
- Disabled GFS and enabled ARCH_POWER.
06Jun2015 - INITIAL RELEASE
- Remove the '+' sign on the kernel local version. (credits to franciscofranco)
- bringup s2w/d2w for sprout! (credits to thewisenerd)
- Fix kernel ooops upon changing CPU governor. (credits to Raymond Golo (intersectRaven))
- defconfig : enable selinux and set to permissive (credits to Varun Chitre)
- mediatek: fixup section mismatches (credits to Varun Chitre)
- ARM: try fixing commit fe9c7cb6 (credits to thewisenerd)
- ARM: fix commit aff6af4d based off b4ef696d (credits to thewisenerd)
Available CPUFreq Governors and I/O Schedulers
==================================================
Available CPUFreq governors:
--------------------------------------------------
- performance
- powersave
- userspace
- ondemand
- interactiveplus
- interactive *default*
- conservative
- hotplug
- intelliactive
- smartmax
- wheatley
- alucard
==================================================
Available I/O schedulers:
--------------------------------------------------
- ROW
- CFQ
- V(R)
- Simple I/O (SIO)
- Zen
- Fifo
- BFQ *default*
- FIOPS
==================================================
FIRST of all thank you sir for this awesome kernel and I have a dumb question I can't get sweep to sleep or sweep 2 wake TO work can you tell me how to do it??
SENT FROM MY PIECE OF GLOWING GLASS MADE BY MICROMAX
HIT THANKS IF I HELPED
nap533 said:
FIRST of all thank you sir for this awesome kernel and I have a dumb question I can't get sweep to sleep or sweep 2 wake TO work can you tell me how to do it??
SENT FROM MY PIECE OF GLOWING GLASS MADE BY MICROMAX
HIT THANKS IF I HELPED
Click to expand...
Click to collapse
We've tested it on 3 of the 5 different panels used by the sprout family. You are perhaps using one of the remaining two. Please contact OP @Agaphetos for more details on how you can help us fix this.
thewisenerd said:
We've tested it on 3 of the 5 different panels used by the sprout family. You are perhaps using one of the remaining two. Please contact OP @Agaphetos for more details on how you can help us fix this.
Click to expand...
Click to collapse
for your information I'm using micromax canvas a1 model no: AQ4501 and I can't help you I'm not a DEV sir could you please look into it??
SENT FROM MY PIECE OF GLOWING GLASS MADE BY MICROMAX
HIT THANKS IF I HELPED
nap533 said:
for your information I'm using micromax canvas a1 model no: AQ4501 and I can't help you I'm not a DEV sir could you please look into it??
Click to expand...
Click to collapse
in which case you can't take ADB logs; you can always send me your device, and I assure you it'll be fixed, ASAP.
Anyone else with AQ4501 willing to provide a few logs for the sake of bringup?
P.S. And oh, i'll send you back your device safe and sound.
I have an AQ4501, ,I added the Wakemods to my own kernel, thanks @thewisenerd
I can confirm that dt2w works flawlessly. S2w takes a bit of time, need to swipe the full screen, a couple of times, then it works
What logs do you need???
Sent from my A0001 using XDA Free mobile app
I've figured out how to use sw2 only thanks to you I can use my device without mashing power button and one bug sweep to sleep doesn't work if you deactivate sweep to wake is it a prob?? and to use sw2s swipe on the nav bar from left to right and again left it works flawless for me thank you for the kernel again and I request you to optimize the kernel sir performance is on par when compared to black box is 2.5k lesser in antutu your kernel got 19381 in antutu and bb got 22356 so all the best for future
SENT FROM MY PIECE OF GLOWING GLASS MADE BY MICROMAX
HIT THANKS IF I HELPED
another doubt sir we have set echo on every boot?? it seems it's not working for me until I do echo after reboot can I fix it anyway??
SENT FROM MY PIECE OF GLOWING GLASS MADE BY MICROMAX
HIT THANKS IF I HELPED
13Jun2015 - CodyKernel-2.0
Download Links: d-h.st | mediafire
Changelog:
- Updated kernel to v3.10.80
- Added more cpu governors
(Credits to broonie for the following)
- ASoC: compress: Use power efficient workqueue …
- ASoC: jack: Use power efficient workqueue …
- regulator: core: Use the power efficient workqueue for delayed powerdown …
- ASoC: pcm: Use the power efficient workqueue for delayed powerdown …
(credits to Viresh Kumar for the following)
- fbcon: queue work on power efficient wq …
- block: queue work on power efficient wq …
- PHYLIB: queue work on system_power_efficient_wq …
- workqueue: Add system wide power_efficient workqueues …
- workqueues: Introduce new flag WQ_POWER_EFFICIENT for power oriented … …
(credits to Varun Chitre for the following)
- mediatek: cpufreq: add more governor checks …
- mediatek: hotplug: improve current governor checks …
- sprout : back to enforcing
- mediatek : fix kernel panic on non-hotplug governors …
- mmc: disable crc check for 30% extra performance
14Jun2015 - CodyKernel-2.2
14Jun2015 - CodyKernel-2.2
Download Links: d-h.st | mediafire
Changelog:
- Set INTERACTIVE Governor and ROW Scheduler as default
- Enable UKSM (Ultra Kernel Samepage Merging)
- Dynamic Fsync Control (credits to faux123)
- Set SELinux to Enforcing (set it to Permissive at your own risk )
- add uksm 0.1.2.2 for v3.0 .ge.84.patch
- Added ROW I/O scheduler (credits to intersectRaven)
- power: make sync on suspend optional (credits to rknize)
- aio: Skip timer for io_getevents if timeout=0 (credits to famz)
- workqueue: allow rescuer thread to do more work. (credits to neilbrown)
- cpufreq: Introduce new relation for freq selection (credits to Stratos Karafotis)
- couple patches for block and fs improvement (credits to intersectRaven and Tatyana Brokhman)
- touches to hotplug, writeback: increase bdi_min_ratio to 5 (credits to intersectRaven)
- patches for lib/string and lib/memcopy (credits to DooMLoRD and faux123)
- patches to nohz_full (credits to paulmck and khilman)on of all-idle
- couple of ARM patches (credits wildea01, hglm, khilman, kimphill and Russell King)
- patches for task's adj rbtree (credits to Yi-wei Zhao)
- mm patches (credits to JoonsooKim, Lee Susman and Christoph Lameter)
- couple of patches to io sched/idle (credits to Peter Zijlstra, Tim Chen, Davidlohr Bueso, hofrat, Chinmay V S)
- Enhance power efficiency: Series of patches from NVIDIA (credits to Klozz)
- Added optimized ARM RWSEM algorithm. (credits to Ezekeel)
- cpuidle: remove cross-cpu IPI by new latency request. (credits to Guojian Chen)
- staging: binder: Change binder mutex to rtmutex. (credits to Riley Andrews)
- jiffies conversions: Use compile time constants when possible (credits to Joe Perches)
nap533 said:
I've figured out how to use sw2 only thanks to you I can use my device without mashing power button and one bug sweep to sleep doesn't work if you deactivate sweep to wake is it a prob?? and to use sw2s swipe on the nav bar from left to right and again left it works flawless for me thank you for the kernel again and I request you to optimize the kernel sir performance is on par when compared to black box is 2.5k lesser in antutu your kernel got 19381 in antutu and bb got 22356 so all the best for future
SENT FROM MY PIECE OF GLOWING GLASS MADE BY MICROMAX
HIT THANKS IF I HELPED
Click to expand...
Click to collapse
21Jun2015 - CodyKernel-3.1
Download Links: d-h.st | mediafire
Changelog:
- fixed deep sleep issue
- updated UKSM from 0.1.2.2 to 0.1.2.3
- added Asynchronous Fsync (credits to imoseyon)
couple of patches to the following:
- cpuidle (credits to Tuukka Tikkanen, colincross, Daniel Lezcano, Viresh Kumar, paulburton, Chander Kashyap, amluto, ao2, imeraj, Mel Gorman, Christoph Lameter, Villemoes
- ARM (credits to Rob Herring
- power (credits to jinqian, Ruchi Kandoi, Joe Swantek
- memblock (credits to fnst-lrt, Yinghai Lu)
- workqueue (credits to Li Bin, Thomas Gleixner, fabianfrederick, laijs, utrace, valdisk,
- mm (credits to laijs, fabianfrederick, rashika, JoonsooKim, Davidlohr Bueso, torvalds, bbedward, Catalin Marinas)
- kmemleak (credits to lizf-git)
- readahead (credits hellsgod)
- block (credits to myfluxi, Dave Chinner, jankara, Tanya Brokhman)
- sched (credits to Michael Wang, Peter Zijlstra, Matt Wagantall)
- writeback (credits to Namjae Jeon, Junxiao Bi)
- fuse (credits xemul, andrewjcg, Maxim Patlasov, Rajat Jain
- int_sqrt (credits ramgear)
- PM: devfreq (credits to myfluxi)
(credits to franciscofranco for the following)
- Enable pipe flag.
- mm: push readahead to 512kB
- block: row: add magic values.
- audit: kiss goodbye you stupid piece of crap logging messages.
(credits to faux123 for the following)
- page_alloc: Make watermarks tunable separately
- android: binder: use GPF_HIGHUSER flag since binder is designed for u…
(credits to imoseyon for the following)
- mmc: core: Expose use_spi_crc module parameter in sysfs
- random: remove warning
- random: prevent add_input from doing anything
- fs: sync: Asynchronous Fsync from HTC
- fs/super.c: sync ro remount after blocking writers (credits to aeruder)
- cpufreq: Optimize cpufreq_frequency_table_verify() (credits to Viresh Kumar)
- timer: make deferrable cpu unbound timers really not bound to a cpu (credits to Joonwoo Park)
- wakeup: Add last wake up source logging for suspend abort reason (credits to Ruchi Kandoi)
- kthread_work: wake up worker only when the worker is idle (credits to laijs)
- futex: Add another early deadlock detection check (credits to Thomas Gleixner)
awesome kernel thanks for optimizing so fast thank you sir can you add otg support?? is it possible ?? if not why it isn't possible??
Sent from my Micromax AQ4501 using XDA Forums PRO
27Jun2015 - CodyKernel-4.0
27Jun2015 - CodyKernel-4.0
Download Links: d-h.st | mediafire
Changelog:
- Updated to Linux 3.10.81
- Added cpu-boost driver (credits to Saravana Kannan)
- Added ThunderQuake Engine (credits to varuntchitre15)
- patches to rtmutex (credits to Thomas Gleixner)
- ARM: only allow kernel mode neon with AEABI (credits to Russell King)
- patches to Power,PM/QoS (credits to Alex Frid, Antti P Miettinen, Gaurav Sarode, Li Li, terjebergstrom and Puneet Saxena)
- cpu: Implement cpu core control (credits to andip71)
- ARM: make kernel oops easier to read (credits to Russell King)
- patches to cpufreq (credits to Saravana Kannan, Rohit Gupta, Swetha Chikkaboraiah, Srivatsa Vaddagiri and Patrick Cain)
- patches to sched (credits to Tk-Glitch, anarkia1976 and Steve Muckle)
- drivers/misc: remove battery logs (credits to varunchitre15)
IjazCI said:
Can you add this to your kernel.
"ThunderQuake Engine by varun chitre"
Click to expand...
Click to collapse
new update is out.
I added ThunderQuake Engine.
check post: CodyKernel-4.0
05Jul2015 - CodyKernel-5.0
05Jul2015 - CodyKernel-5.0
Download Links: d-h.st | mediafire
Changelog:
- Updated to Linux 3.10.82
- Added powersuspend PM driver (credits to faux123 and yank555-lu)
- Added intelliactive governor (credits to faux123)
My phone keeps crashing and rebooting. I already changed from interactive to hotplug. The following is my pastie. Hope it helps.
http://pastie.org/10284531
Related
[KERNEL] [☆MIUI☆] [3.4.49+] [4.2.2] [4.8.1☆O3] [★v.035.M★] [13/06] ☆ AK ☆
{
"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.
If you appreciate my work and that of the guys who work with me donate $ 1 no more.
This money will be used to help maintain and all that is needed to continue the development of the AK kernel.
Are not used for me but will be donated to turn to those who contribute.
[4.2.x] AK MIUI
dev-host: ak.035.m.zip
Differential Changelog: Link
Features: Link
Github Kernel: Link
Github Ramdisk: Link
[HOSTING SERVERS] FOR ALL VERSIONS
Old Kernel version download (androidfilehost): Link
Old Kernel version download (dev-host): Link
Don't forget to press Thanks and Rating button!
renaud, faux123, franco
ezekeel, stratosk, mathkid
... and all others ...
Kernel Features
FEATURES
* Works on:
4.2.2
MIUI ROMs
Linux 3.4.49+
Based on Aosp Stock Kernel
Compiled with New Linaro 4.8.1
-O3 Optimizations
* Governors:
Interactive (Default) Patched to last from Common Branch
Conservative
Ondemand
Performance
Powersave
Userspace
* auto_hotplug:
2 core always online
* Schedulers:
Sio (Default and Optimized)
cfq, deadline, noop
+ scheduler autogroup
* Multicore Powersaving:
set to 1 by default (0,1,2)
* Read Ahead Buffer Size:
512/16
* Cpu Freqs:
384Mhz (Default Min)
1512Mhz (Default Max)
* Gpu Freqs:
400Mhz (Default Max)
* TCP Congestion:
Westwood (Default)
Cubic, Bic, Westwood, Htcp, Hstcp, Hybla, Vegas, Scalable, Lp, Veno, Yeah, Illinois, Reno
* Others Features:
AK color palette - Thanks CR88XZ Compression
mpdecision off at boot
HZ=250
auto hotplug by Thalamus
vibration value 80
gamma control by Franco
sound control by Faux
voltage control by Stratosk
SweeptoWake
SweeptoSLeep
FQ Codel Netscheduler
* Ramdisk Features:
Optimized EXT4 mount flags
Optimized Debug messages
Optimized Systemui Renice (-17)
Lmk withelist for common launcher (no redraw)
set to 1 by default at boot
Init.d Script for tuning Scheduler
Scripts present into --- /data/ak/ ---:
--- create_bugreport.sh ---
All thanks to Lioux
If you lunch this script you can collect all the infos for trouble problems with kernel:
last_kmsg
logcat
uname
dumpsys
ecc ...
Kernel Changelog
CHANGELOG
Project name: AK KERNEL
•anarkia1976 - Kernel Version: AK.035.M
•anarkia1976 - gamma_control.c: Add AK color Profile IIII
•Greg Kroah-Hartman - Linux 3.4.49
•Steven Rostedt - ftrace: Move ftrace_filter_lseek out of CONFIG_DYNAMIC_FTRACE section
•Namhyung Kim - tracing: Fix possible NULL pointer dereferences
•Patrik Jakobsson - drm/gma500: Increase max resolution for mode setting
•Ying Xue - USB: ftdi_sio: Quiet sparse noise about using plain integer was NULL pointer
•Jan Beulich - xen-pciback: rate limit error messages from xen_pcibk_enable_msi{,x}()
•Ben Mesman - drm/i915: no lvds quirk for hp t5740
•Egbert Eich - drm/i915/sdvo: Use &intel_sdvo->ddc instead of intel_sdvo->i2c for DDC.
•Huacai Chen - drm: fix a use-after-free when GPU acceleration disabled
•Guenter Roeck - hwmon: (adm1021) Strengthen chip detection for ADM1021, LM84 and MAX1617
•Alex Deucher - drm/radeon: don't allow audio on DCE6
•Adis Hamzić - radeon: Fix system hang issue when using KMS with older cards
•Gavin Shan - powerpc/eeh: Don't check RTAS token to get PE addr
•Ash Willis - ACPI / video: ignore BIOS initial backlight value for HP Pavilion g6
•Alex Hung - ACPI / video: ignore BIOS initial backlight value for HP m4
•Johan Hovold - USB: mos7720: fix hardware flow control
•Johan Hovold - USB: mos7720: fix message timeouts
•Johan Hovold - USB: mos7720: fix DMA to stack
•Alan Stern - USB: revert periodic scheduling bugfix
•Johan Hovold - USB: serial: fix Treo/Kyocera interrrupt-in urb context
•Johan Hovold - USB: whiteheat: fix broken port configuration
•Robert Butora - USB: Serial: cypress_M8: Enable FRWD Dongle hidcom device
•Johan Hovold - USB: visor: fix initialisation of Treo/Kyocera devices
•Johan Hovold - USB: ark3116: fix control-message timeout
•Johan Hovold - USB: keyspan: fix bogus array index
•Johan Hovold - USB: iuu_phoenix: fix bulk-message timeout
•Takashi Iwai - ALSA: usb-audio - Fix invalid volume resolution on Logitech HD webcam c270
•Takashi Iwai - ALSA: usb-audio - Apply Logitech QuickCam Pro 9000 quirk only to audio iface
•Clemens Ladisch - ALSA: usb-audio: fix Roland/Cakewalk UM-3G support
•Vladimir Murzin - xhci: fix list access before init
•Sergio Aguirre - xhci-mem: init list heads at the beginning of init
•Tony Camuso - xhci - correct comp_mode_recovery_timer on return from hibernate
•Bjørn Mork - USB: option: blacklist network interface on Huawei E1820
•anarkia1976 - Kernel Version: AK.033.S
•Danny Baumann - Make sure PWMs are running in sync.
•anarkia1976 - Kernel Version: AK.032.S
•anarkia1976 - gamma_control.c: Add AK color Profile III
•anarkia1976 - Enable SWEEP2WAKE
•faux123 - sweep2wake: release all touch events before enable irq in early suspend
•faux123 - sweep2wake: another attempt to re-init the touch driver
•faux123 - sweep2wake: add more debugging and re-organized reset code when lock up
•faux123 - sweep2wake: force reinit upon detection of lock up
•faux123 - sweep2wake: add lock up detection and re-init if detected
•faux123 - sweep2wake: disable debugging
•faux123 - sweep2wake: make tunables accessible via sysfs interface
•faux123 - lge_touch_core: sweep2wake: use more standard sysfs store method
•Dennis Rassmann - drivers/touchscreen: add lge_touch android_touch kobject to fix s2w in one position across devices
•Dennis Rassmann - drivers/touchscreen: add pmops and allow i2c to wake the device (even w/o ES/LR)
•Dennis Rassmann - sweep2wake: fix last touch not being released
•Dennis Rassmann - drivers/touchscreen: add sweep2wake
•Mahesh Sivasubramanian - msm: cpuidle: Remove preprocessor check for CONFIG_CPU_PM
•Anji Jonnala - msm: cpuidle: Update C state time stats in the cpu idle device.
•Stephen Boyd - msm: cpuidle: Don't disable irqs again
•anarkia1976 - Kernel Version: AK.031.S
•Namjae Jeon - writeback: fix writeback cache thrashing
•Colin Cross - hardlockup: detect hard lockups without NMIs using secondary cpus
•Henrik Rydberg - Input: Send events one packet at a time
•Minsung Kim - cpufreq: interactive: avoid underflow on active time calculation
•Todd Poynor - cpufreq: interactive: reduce chance of zero time delta on load eval
•Todd Poynor - cpufreq: interactive: handle errors from cpufreq_frequency_table_target
•anarkia1976 - Kernel Version: AK.030.S
•anarkia1976 - mako_ak_defconfig: Enable RCU_BOOST
•anarkia1976 - mako_ak_defconfig: Enable SHA1 and AES
•faux123 - arm/crypto: Add optimized AES and SHA1 routines
•anarkia1976 - mako_ak_defconfig: Enable SET_MIN_MAX, Add FREQ_DEBUG
•anarkia1976 - Kernel Version: AK.030.S
•anarkia1976 - mako_ak_defconfig: Enable SHA1 and AES
•faux123 - arm/crypto: Add optimized AES and SHA1 routines
•anarkia1976 - mako_ak_defconfig: Enable NTFS, Disable some Points
•anarkia1976 - mako_ak_defconfig: Enable SET_MIN_MAX, Add FREQ_DEBUG
•anarkia1976 - mako_ak_defconfig: Enable RCU_FAST_NO_HZ and Tuning
•anarkia1976 - configs: Cleaning
•anarkia1976 - Kernel Version: AK.026
•anarkia1976 - ak-mako-build.sh: Add Ramdisk XZ Compression
•anarkia1976 - mako_ak_defconfig: Add XZ Compression, UNALIGNED_ACCESS Support
•faux123 - decompress_unlzo: fix compilation error
•Markus F.X.J. Oberhumer - lib/lzo: Optimize code for CPUs with inefficient unaligned access
•Markus F.X.J. Oberhumer - lib/lzo: Rename lzo1x_decompress.c to lzo1x_decompress_safe.c
•faux123 - arch/arm/Kconfig: enable unaligned capability for ARM
•Dave Martin - ARM: 7583/1: decompressor: Enable unaligned memory access for v6 and above
•Markus F.X.J. Oberhumer - lib/lzo: Update LZO compression to current upstream version
•anarkia1976 - mako_ak_defconfig: Enable CODEL Net Scheduler
•Eric Dumazet - fq_codel: dont reinit flow state
•Eric Dumazet - codel: refine one condition to avoid a nul rec_inv_sqrt
•Eric Dumazet - fq_codel: should use qdisc backlog as threshold
•Eric Dumazet - codel: use u16 field instead of 31bits for rec_inv_sqrt
•Geert Uytterhoeven - net/codel: Add missing #include <linux/prefetch.h>
•Eric Dumazet - codel: use Newton method instead of sqrt() and divides
•Eric Dumazet - fq_codel: Fair Queue Codel AQM
•Eric Dumazet - codel: Controlled Delay AQM
•anarkia1976 - Kernel Version: AK.025
•anarkia1976 - mako_ak_defconfig: Set CONFIG_HZ=250
•anarkia1976 - sched.h: Fix load average calculation for HZ=250
•anarkia1976 - mako_ak_defconfig: Enable SCHED_AUTOGROUP
•Lance Poore - SCHEDULER: Autogroup patch group by current user android UID instead of task ID
•anarkia1976 - timer: optimize apply_slack()
•anarkia1976 - core.c: Disable Software CRC check
•anarkia1976 - mako_ak_defconfig: Enable SCHED_MC
•anarkia1976 - gamma_control.c: Add AK color Profile II - Thanks Obsanity
Kernel How-to
UNDERVOLTING
The undervolting part of Kernel is based on Semaphore ideas.
You can use this guide directly from Statosk Thread.
Example and Link:
Link to Undervolting Infos
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
Yay thanks for making it available for miui users!
Thanks for the kernel OP.
Damn really?! I just flashed back to AXI0M from miui just to use your aosp kernel -.- lol oh well now I can have the best of both worlds miui + ak = WIN!
Sent from my Nexus 4 using xda premium
wow nice
time to swap the kernel
thanks!
Thanks for not abandoning the N⁴!
Sent from my Nexus 4 using Tapatalk 2
aaronrw said:
Thanks for not abandoning the N⁴!
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
De Nada ....
Sent from my Nexus 4 using Tapatalk 2
First time I test miui on my n4 and can use my favorite kernel, good
Tapatalk Nexus 4
You made alot of users happy with this ! You are a true developer and gentleman :thumbup:
Thanks a lot u making great kernel...:laugh::laugh::laugh:
I love my Nexus 4... So many amazing DEV..
Tylog said:
First time I test miui on my n4 and can use my favorite kernel, good
Tapatalk Nexus 4
Click to expand...
Click to collapse
Miui is a breath of fresh air in the aosp world to me my friend..... IOS is far from anything it brings to the table..... Try the theme mixing you'll love it! Sorry AK for the OT post
Sent from my Nexus 4 using Tapatalk 2
Downloading now!
Sent from my Nexus 4 using Tapatalk 4 Beta
anarkia1976 said:
De Nada ....
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Nice move... Its good to know that XDA did not loose a great developer.
Keep up the good work man! :thumbup:
Sent from my Nexus 4 using xda premium
ciprianruse88 said:
You made alot of users happy with this ! You are a true developer and gentleman :thumbup:
Click to expand...
Click to collapse
Thanks CR.
I just think it will be difficult to do better than what they did others developers ... why try to do something for the community.
I believe that original from now on will not be anyone because what we can invent.
Added changelog, features and infos into OP.
Good to see you here. Working great so far on Miui android. Will post screens once settled.
Sent from my Nexus 4 using xda premium
JediDru said:
Good to see you here. Working great so far on Miui android. Will post screens once settled.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
Thanks man
My next OS will be ChOS (chameleonos).
http://www.chameleonos.org/
Kernel AOSP & CM11
- AOSP+CM11 kitkat-3.4-mr2 + 3.4.104
- Screen Wake: Sweep2Wake + Sweep2Sleep, Sweep2Sleep Only, DoubleTap2Wake, PowerKey suspend
- Controls: Gamma, Sound (by faux123), MP-Decision (by show-p1984), Thermal (by show-p1984), Touch Filter, Voltage
- TCP Congestion: westwood, reno, cubic
- I/O Scheduler: row, noop, deadline, cfq, bfq, fiops, sio
- CPU Frequency: 94MHz, 189MHz
- CPU Governor: Intelli-Demand (by faux123), Intelli-Active (by faux123), Preservative (by bedalus), Ondemand, Interactive, Userspace, Powersave, Performance, Wheatley
- GPU Governor: Interactive (by franciscofranco), Ondemand, Performance
- Hot Plug: MP-Decision (by show-p1984), Intelli-Plug (by faux123 & dorimanx)
- Battery: Fast USB Charge (by faux123), Battery Life eXtender (by mathkid95)
- Other: OTG (by ziddey), Dynamic FSync, Touch Boost (on Ondemand, Intelli-Demand, Intelli-Active), Linaro 4.9.2
Download
Yandex.Disk Kernel | Android File Host
Thanx to
show-p1984
faux123
mrg666
myfluxi
franciscofranco
ak
mathkid95
stratosk
bedalus
ziddey
dorimanx
XDA:DevDB Information
kernel-dimfish-mako, Kernel for the Google Nexus 4
Contributors
dimfish
Kernel Special Features:
Version Information
Status: Stable
Created 2014-01-10
Last Updated 2014-10-01
Settings
All settings are comatible with [ZIP] Synapse + Script => Universal Kernel Manager v3.0
Almost all settings are TricksterMod compatible:
PowerKey Suspend
Off
Code:
echo N > /sys/module/input_core/parameters/pwrkey_suspend
On
Code:
echo Y > /sys/module/input_core/parameters/pwrkey_suspend
OTG
On
Code:
echo 1 > /sys/module/msm_otg/parameters/otg_hack_enable
Off
Code:
echo 0 > /sys/module/msm_otg/parameters/otg_hack_enable
autosmp
Code:
echo Y> /sys/module/autosmp/parameters/enabled
options:
Code:
ls /sys/kernel/autosmp/conf/
cpufreq_down
cpufreq_up
cycle_down
cycle_up
delay
max_cpus
min_cpus
scroff_single_core
hotplug
Code:
echo 1> /sys/module/msm_hotplug/msm_enabled
options:
Code:
ls /sys/module/msm_hotplug/
boost_lock_duration
cpus_boosted
current_load
down_lock_duration
fast_lane_load
history_size
load_levels
max_cpus_online
min_cpus_online
offline_load
parameters
uevent
update_rate
Change Log
- 20131126 Sweep2Wake
- 20131127 kitkat-3.4-mr0
- 20131203 Gamma Control
- 20131205 Westwood
- 20131207 kitkat-3.4-mr1
- 20131208 Sweep2Wake, DoubleTap2Wake from Nexus 5
- 20131211 189MHz, Voltage Control, xz Kernel
- 20131218 Intellidemand, Intelli-plug, ROW, lib imrovements, CFLAGS Krait
- 20131220 Sweep2Sleep Only TricksterMod
- 20131223 Faux Sound
- 20131225 Simple GPU, Intelli-plug min 2 cores (not Eco mode)
- 20131226 Dynamic FSync, Fast USB Charge, BLX
- 20131230 Touch Boost, fix UnderVolt, MSM:Thermal
- 20140103 Kernel Modules, PowerKey Suspend
- 20140104 MSM:Thermal by showp1984. Improve Power Key suspend 2w
- 20140106 MP-Decision by showp1984, remove cpuinit
- 20140108 Fast USB Charge by faux123, LoUIS API
- 20140109 Conservative Governor
- 20140113 mm:vmalloc improvements
- 20140115 bfq-v6r2
- 20140120 timer improvements
- 20140121 Wheatley governor
- 20140205 Preservative governor
- 20140206 Interactive GPU by Franco, Fix MP Decision, KGSL improvements, extend Itelli-plug for Preservative
- 20140213 otg, bfq-v7r1, mm: slub optimizations
- 20140217 Intelli-Active, ext4 fixes, futex, neon kernel mode
- 20140219 AOSP Kernel, Touch boost for Intelli-Active
- 20140220 CM11 Kernel on linaro 4.7.4
- 20140221 Fix Undervolt
- 20140225 bfq-v7r2
- 20140327 Intelli-Plug 2.2, touch boost for Intelli-plug (non Eco Mode), touch boost for Intelli-Demand customizable (1350 by default)
- 20140328 Linux 3.4.84
- 20140331 Linux 3.4.85, FIOPS iosheduler, SIO iosheduler, memutils optimizations
- 20140408 Linux 3.4.86, GCC 4.7, 4.8 fixes, msm: kgsl: Fixes, fs/block-dev, ext4: optimize, writeback: fix writeback cache thrashing, intelliplug: Dorimanx version 3.2, mm, oom: optimize, F2FS
- 20140411 F2FS
- 20140414 Linux 3.4.87
- 20140416 kexec-hardboot
- 20140418 F2FS TWRP
- 20140421 kgsl, cpufreq fixes
- 20140429 Linux 3.4.88
- 20140506 Linux 3.4.89
- 20140515 Linux 3.4.90, fixes
- 20140520 Linaro 4.9.1
- 20140521 Linux 3.4.91
- 20140606 kernel kitkat-3.4-mr2
- 20140610 Linux 3.4.92
- 20140616 Linux 3.4.93
- 20140618 Linux 3.4.94
- 20140625 msm kgsl improvement
- 20140729 94Mhz, Ondemand by Stratos Karafotis, Linux 3.4.100, Updated Linaro 4.9.1
- 20140805 new faux Sound, msm_hotplug by myfluxi, msm_autosmp by mrg666
- 20140806 Linux 3.4.102
- 20140811 Linux 3.4.103
- 20140819 Franco fixes
- 20140820 Faux Sound fix
- 20140911 Linaro 4.9.2; Small fixes.
- 20140915 Faux Speaker support
- 20140930 Linux 3.4.104, memcpy cortex-a15
FAQ
What's the power consumption of Sweep2Wake, DoubleTap2Wake? - 1% per hour. (Disabled by default)
What's PowerKey Suspend? - s2w and dt2w operations are suspended when turned off by power key. (Enabled by default)
thanks friend, when I test target looks good CM
Thanks great kernel :good:
tested it on crdroid rom build 6 only got 18210 on antutu. what settings did you use to get 20k + on antutu?
Nickjg11 said:
tested it on crdroid rom build 6 only got 18210 on antutu. what settings did you use to get 20k + on antutu
Click to expand...
Click to collapse
To get >21K you need to turn off MPDecision, Intelli-Plug, Thermal Throttle and switch to Performance governors CPU and GPU
dimfish said:
To get >21K you need to turn off MPDecision, Intelli-Plug, Thermal Throttle and switch to Performance governors CPU and GPU
Click to expand...
Click to collapse
thank you,
On today's build with bfq i/o - I've got 21412 in antutu
Awesome kernel. Any chance we may get wheatley governor on this?
IndDoc said:
Awesome kernel. Any chance we may get wheatley governor on this?
Click to expand...
Click to collapse
OK I'll think about it => Done
New Preservative CPU and Interactive GPU governors
Some suggested settings? Thx
vanahaim said:
Some suggested settings? Thx
Click to expand...
Click to collapse
Already here - see 2'nd post. There are TricksterMod screenshots with my settings.
dimfish said:
Already here - see 2'nd post. There are TricksterMod screenshots with my settings.
Click to expand...
Click to collapse
Thanks - my inattention. BTW - in my opinion this kernel has the best battery/performance ratio.
Now kernel is also AOSP compatible (2 versions available)
Looks rather interesting, Thank you
Sent from my Nexus 4 using Tapatalk
Forgot to mention about OTG - see 2'nd post how to enable
What should I do to enable DT2W? Even if option is checked, it's not working.
[KERNEL] [SM-T800 WIFI & T805 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
10.5" SM-T800 WIFI & T805 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, part time kernel “hack” of SM-T700/705, SM-N9005 LTE, SGT 7.7 JB & ICS Kernels. I now share with you my Exynos5 TW SM-T800 WIFI & SM-T805 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 T705 v0.5 : might not be always up-to-date !
FEATURES
* Based on official Samsung source: T705WVLU1ANJ5
* ramdisk source: T800XXU1ANJ6 & T805XXU1AOA1
* 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
CPU max frequency A15 cores = 2100 MHz (stock/default = 1900 MHz)
CPU min frequency A7 cores = 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-T800 WIFI & T805 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-08-22
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-T800 WIFI or T805 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
Samsung DYNAMIC Hotplug control: hotplug_cpu_up_boost_value 90 > 30
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 [24-Jan-2015]
ramdisk :
T805XXU1AOA1 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 T800XXU1ANJ6 & T805XXU1ANJ5
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 [07-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
Initial v0.9 release [22-August-2014]
All source and ramdisk mods synced with T700/705 build
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 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
10.5" TF800 WIFI EXYNOS
>> WIFI SkyHigh T800 WIFI kernel <<
STOCK T800 WIFI T800ZSU1ANL1 kernel (Flashing Stock will wipe your WiFi setings !)
---------------------------------------------------------------------------------------------------
10.5" TF805 LTE EXYNOS
>> LTE SkyHigh T805 LTE kernel <<
STOCK T805 LTE T805XXU1AOA1 kernel (Flashing Stock will wipe your WiFi setings !)
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.9 release
Initial T805 LTE kernel v0.9 is officially released !!
Thanks to @619619 for the test :good:
Please read carefully Posts #1-3 BEFORE doing anything. A lot of additional info can can found by searching
T800 WIFI Users:
I would like to build your kernel using T800ZCU1ANG2 ramdisk. I require the stock boot.img from this firmware. Without it, I won't biuld it.
Cheers,
UITA
.
UpInTheAir said:
Initial T805 LTE kernel v0.9 is officially released !!
Thanks to @619619 for the test :good:
Please read carefully Posts #1-3 BEFORE doing anything. A lot of additional info can can found by searching
T800 WIFI Users:
I would like to build your kernel using T800ZCU1ANG2 ramdisk. I require the stock boot.img from this firmware. Without it, I won't biuld it.
Cheers,
UITA
.
Click to expand...
Click to collapse
PFA the stock NG2 kernel for the 10.5 WIFI
UpInTheAir said:
Initial T805 LTE kernel v0.9 is officially released !!
Thanks to @619619 for the test :good:
Please read carefully Posts #1-3 BEFORE doing anything. A lot of additional info can can found by searching
T800 WIFI Users:
I would like to build your kernel using T800ZCU1ANG2 ramdisk. I require the stock boot.img from this firmware. Without it, I won't biuld it.
Cheers,
UITA
.
Click to expand...
Click to collapse
Cheers
Inviato dal mio SM-N9005 utilizzando Tapatalk
** T805 kernel RECALL **
Please wait for re-upload, minor error in init.rc
v0.9 released for all models & re-uploaded T805 kernel
R3_v0.9 kernel is now released for supported 10.5" models
* re-uploaded T805 LTE kernel - fixed minor mistake
* T800 WIFI R3_v0.9 is untested. Please let me know how it goes........ I have added flashable Stock kernels in the Download section (if required).
For those on older ROM firmware, please upgrade or you might have issues that we can't reproduce. Otherwsie, stay with stock.
Ensure you flash the kernel for your device model !!
NOTE: commit credits are in source.
Further instructions in Synapse app & Posts #1-3
Enjoy :good:
Cheers,
UITA
.
thank you very much, I'm going to try it immediately
UpInTheAir said:
R3_v0.9 kernel is now released for supported 10.5" models
* re-uploaded T805 LTE kernel - fixed minor mistake
* T800 WIFI R3_v0.9 is untested. Please let me know how it goes........ I have added flashable Stock kernels in the Download section (if required).
For those on older ROM firmware, please upgrade or you might have issues that we can't reproduce. Otherwsie, stay with stock.
Ensure you flash the kernel for your device model !!
NOTE: commit credits are in source.
Further instructions in Synapse app & Posts #1-3
Enjoy :good:
Cheers,
UITA
.
Click to expand...
Click to collapse
Hi @UpInTheAir
I just had a small question you firmware is based on the ANG2. (CHN) right I had the ANFB. On a T800 wifi with stock rom I didn't like the other roms so far but I want to try your firmware not sure if flashing yours can break my tab . Do you had any subjections?
Thanks for sharing your work
WarLion said:
Hi @UpInTheAir
I just had a small question you firmware is based on the ANG2. (CHN) right I had the ANFB. On a T800 wifi with stock rom I didn't like the other roms so far but I want to try your firmware not sure if flashing yours can break my tab . Do you had any subjections?
Thanks for sharing your work
Click to expand...
Click to collapse
No, source is Japan.
The ramdisk is ANG2 from China.
I don't have a 10.5" device so can't really comment except try for yourself. If you're worried, just back up your data (titanium backup app) before hand along with boot.img for your device (TWRP) to exSdCard. The kernel may or may not work properly on older firmware such as FB etc. Up to user to try for yourself.
UpInTheAir said:
No, source is Japan.
The ramdisk is ANG2 from China.
I don't have a 10.5" device so can't really comment except try for yourself. If you're worried, just back up your data (titanium backup app) before hand along with boot.img for your device (TWRP) to exSdCard. The kernel may or may not work properly on older firmware such as FB etc. Up to user to try for yourself.
Click to expand...
Click to collapse
Thanks mate I will try tomorrow morning thanks
Hi
I tried it, and to be honest, I don't feel any improvement currently, I guess I need to use it some days to check.
I tried Antutu Benchmark, just to see... No matter settings I try in Synapse, default, or boosted CPU/GPU, results are lower with SkyHigh kernel.
~34500 with Stock Kernel
~33000/33500 with SkyHigh Kernel
Thank you
Orphee said:
Hi
I tried it, and to be honest, I don't feel any improvement currently, I guess I need to use it some days to check.
I tried Antutu Benchmark, just to see... No matter settings I try in Synapse, default, or boosted CPU/GPU, results are lower with SkyHigh kernel.
~34500 with Stock Kernel
~33000/33500 with SkyHigh Kernel
Thank you
Click to expand...
Click to collapse
You might need to read Post #3 again, and the last few pages of the 8.4" kernel thread regarding heat and throttling.
I have said before that we might need newer source and I can't do magic with that. My older firmware + SkyHigh kernel (older source) scored 36200 standard AnTuTu (edit: just with GPU OC) but I don't really care. I don't live for the benchmark, and I certainly don't see any negative impact on general use
There are other features to the kernel, and if they don't suit user needs, I've included the stock kernel for download
Other than that, we just need to wait to better firmware and source.
I did read the #3 post, don't worry I was not trashtalking
Of course I see there is other interesting features
Again, thank you for your work
Orphee said:
I did read the #3 post, don't worry I was not trashtalking
Of course I see there is other interesting features
Again, thank you for your work
Click to expand...
Click to collapse
I realize that, no worries Just edited previous post.....
This newer firmware just runs hotter with older & newer kernel source. Throttling is induced earlier > decreased benchmark performance. Maybe a newer ROM or kernel source will help, time will tell.
UpInTheAir said:
[KERNEL] [SM-T800 WIFI & T805 LTE] [22 August] SkyHigh TW Kernel [R3_v0.9] [Synapse ++]
10.5" SM-T800 WIFI & T805 LTE TW Exynos 5420 supported in thread only !!
I don't have time to build for any more devices I can't personally test & debug - sorry.
Click to expand...
Click to collapse
can you please port this kernel to SM T520 Tab pro 10.1? they are pretty similar in hardware.
CodeIndia said:
can you please port this kernel to SM T520 Tab pro 10.1? they are pretty similar in hardware.
Click to expand...
Click to collapse
I don't have the time or desire to expand on the commitments I have already (particularly for yet another device I don't use). There is no "porting", but would need complete build and patch from source for your own hardware .......
Using this kernel with ThunderRom800. Antutu of 34907 without doing any tweaking!
Subsonic44 said:
Using this kernel with ThunderRom800. Antutu of 34907 without doing any tweaking!
Click to expand...
Click to collapse
Might be an update towards end of week. Just testing ATM and trying to get final Synapse controls just right.
Code:
*** Disclaimer
[B]Your warranty is now void.[/B]
We are not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed.
Please do some research if you have any concerns about features included in this ROM before flashing it!
YOU are choosing to make these modifications, and if you point the finger at us for messing up your device, we will laugh at you.
Introduction
In this thread you may find the stock CM kernel 3.4 for MM-6.0 rom (CM 13.0 and derivatives) which include unmerged CAF Patches for testing purposes.
Of course, your feedback, as always, are welcome and certainly valuable.
- When reporting bugs please mention which CM/Kernel version you're running. (About Phone -> kernel version [Should begin with [email protected]])
- Also make sure to mention which device you test it on: d802, d800 etc.
- If you notice improved behavior also be sure to write a review as well, this helps me in figuring out the exact improvements done by the patches.
Unsupported Roms:
- Resurrection Remix
- Blisspop
- Broken OS/Rom
What NOT to expect:
Don't expect this kernel to fix anything related to RIL (Invalid Number/Preferred network selection etc.) these are problems which reside in the LG binary/library blobs and not the kernel. Whenever the kernel fixes something major I'll make sure to mention it in this post. Builds get tested by me first so I'll try to make sure it doesn't brick your device.
What to expect:
- Currently it appears that there seems some improvement with screen rotation, it seems to fix the pixels showing on rotation bug [Please verify this yourself as well and report back]
- CM Team warned me about one of the patches which might cause your headset buttons not to function with this kernel [If you have a headset please test if it functions correctly with this kernel, make sure all the buttons work!]
Click to expand...
Click to collapse
Installation instructions
Back-up your current kernel so you can always go back
- Boot to Recovery
- Choose backup and untick System and Data (if you only want to backup kernel otherwise just leave it as it is)
- Swipe to Backup and you're done
Return to main menu by pressing the back button and proceed with installation steps below:
1) Download the preferred kernel zip file to sdcard or external sdcard
2) Reboot to recovery mode
3) Flash the kernel zip file
4) Reboot the system
Important: As long as you'll participate in testing when, updating CM OTA you'll have to reapply the kernel zip file. (CM OTA overwrites boot partition)!
Click to expand...
Click to collapse
Changelog
Code:
[B]05/02/2016 - Stock CM Kernel 3.4 v1.0 for MM-6.0 + Unmerged CAF Patches[/B]
- msm: vidc: replace resurrect_fw with unload_fw (credits to Ashray Kulkarni)
- msm: vidc: Error handling when core is in bad state (credits to Praneeth Paladugu)
- msm: mdss: remove unnecessary lock in checking DSI status (credits to Ray Zhang)
- qseecom: add mutex protection for unloading app in qseecom_release (credits to Zhen Kong)
- spi: spi_qsd: Add multi-ee support (credits to Dan Sneddon)
- qseecom: Change pr_info messages to pr_debug (credits to AnilKumar Chimata)
- msm: mdss: update panel info node with dynamic fps parameters (credits to Jeevan Shriram)
- spi_qsd: Fix DMA errors (credits to Dan Sneddon)
- rtac: Check active asm clients before removing adm device (credits to Ramjee Singh)
- msm: kgsl: check for NULL pointer access (credits to Anupam Sakargayan)
- msm: mdss: Unmap only when buffer was mapped (credits to Jayant Shekhar)
- scm-mpu: Add additional memory protection options (credits to Patrick Daly)
- msm: mdss: Grouping enable and prepare calls for dsi link clocks (credits to raghavendra ambadas)
- msm: mdss: Fix Iommu page fault for splash logo enabled feature (credits to raghavendra ambadas)
- msm: mdss: fix underrun seen with HDMI connected as external (credits to Vineet Bajaj)
- msm: mdss: handle secure display state for MDP (credits to Dhaval Patel)
- net: ipc_router: Disable using SMEM Logs by default (credits to Karthikeyan Ramasubramanian)
- net: inet_diag: zero out uninitialized idiag_{src,dst} fields (credits to Daniel Borkmann)
- UPSTREAM: memcg: Only free spare array when readers are done (credits to Martijn Coenen)
- UPSTREAM: include/linux/poison.h: fix LIST_POISON{1,2} offset (credits to Vasily Kulikov)
- UPSTREAM: proc: actually make proc_fd_permission() thread-friendly (credits to Oleg Nesterov)
- UPSTREAM: proc: make proc_fd_permission() thread-friendly (credits to Oleg Nesterov)
- fs/dcache.c: Fix the too small buffer for dname (credits to Devin Kim)
- All previous unmerged commits
[B]Older Releases:[/B]
[HIDE]
[B]30/01/2016 - Stock CM Kernel 3.4 v1.0 for MM-6.0 + Unmerged CAF Patches[/B]
- ASoC: wcd9xxx: Handle fake mechanical interrupt (credits to Sudheer Papothi)
- msm:camera:isp: vfe num input validation during reset (credits to VijayaKumar T M)
- msm: camera: check size of allocated buffer to prevent overflow (credits to Vasko Kalanoski)
- cpufreq: ondemand: Resolve deadlock when waking up dbs sync thread (credits to Swetha Chikkaboraiah)
- mdss: dsi: Fix null dereferences (credits to Charles Bin)
- msm: mdss: check for validity of ESD thread before scheduling it (credits to Padmanabhan Komanduru)
- ARM: dts: msm: Update the vifeed back routing (credits to Gopikrishnaiah Anandan)
- msm: mdss: Update ad_bl_level on first set backlight call (credits to Ping Li)
- msm: mdss: add init and deinit calls to notify update ioctl (credits to Krishna Chaitanya Parimi)
- mmc: core: update host->card after getting RCA for SD card (credits to Sahitya Tummala)
- msm: camera: fix write sensor settings issue (credits to Vasko Kalanoski)
- msm: cpp: Ignore hardware interrupt when timer expires (credits to VijayaKumar T M)
- msm: camera2: cpp: Enhance timeout handler for multi-frame processing (credits to Krishna VijayaKumar T M)
- msm: mdss: isolate cleanup of pipes within kickoff (credits to Adrian Salido-Moreno)
- dt: introduce for_each_available_child_of_node, (credits to Timur Tabi)
- msm: mdss: Allow DMA pipe sharing only on WB mixer (credits to Sree Sesha Aravind Vadrevu)
- usb: dwc3: Improve erratic errors events handling (credits to Manu Gautam)
- ARM: dts: msm: Remove fb memory allocation (credits to Jeevan Shriram)
- ARM: dts: msm: camera: Update generic cam entries (credits to VijayaKumar T M)
[B]30/01/2016 - Stock CM Kernel 3.4 v1.0 for MM-6.0 + Unmerged CAF Patches[/B]
- qseecom: avoid buffer over-write when copying app_name (credits to William Clark)
- ASoC: wcd9xxx: Handle fake mechanical interrupt (credits to Sudheer Papothi)
- qcedev: msm: Remove gating of zero length packets for authentication (credits to Mallikarjuna Reddy Amireddy)
- ARM: dts: msm: Fix ROI alignment for CMD mode panel (credits to Baldev Kumar Sahu)
- msm: thermal: Add RT priority to kernel thermal threads (credits to Shiju Mathew)
- msm: thermal: Add RT priority to kernel hotplug thread (credits to Shiju Mathew)
- msm:camera:isp: vfe num input validation during reset (credits to VijayaKumar T M)
- cpufreq: cpu-boost: Resolve deadlock when waking up sync thread (credits to Swetha Chikkaboraiah)
- msm: vidc: Add support to read venus version through debugfs (credits to Praneeth Paladugu)
- kernel: Restrict permissions of /proc/iomem. (credits to Biswajit Paul)
- mmc: core: Fix mmc clk scale down during writes. (credits to Ritesh Harjani)
[B]18/01/2016 - Stock CM Kernel 3.4 v1.0 for MM-6.0 + Unmerged CAF Patches[/B]
- ASoC: wcd9xxx: Do not recalibrate DCE_Z in the middle of mic voltage (credits to Phani Kumar Uppalapati)
- net: rps: fix cpu unplug (credits to Eric Dumazet)
- msm: mdss: Extend GC programming to writeback mixers in pp (credits to Krishna Chaitanya Parimi)
- msm: mdss: Program linear GC LUT as default for rounding (credits to Krishna Chaitanya Parimi)
- diag: Make fixes to diag_switch_logging (credits to Ravi Aravamudhan)
- mmc: core: Update PON based on the system state (credits to Sahitya Tummala)
- msm: kgsl: Wake up snoozing threads on marker expiry (credits to Anupam Sakargayan)
- msm: isp: validate vfe_intf max params (credits to Suman Mukherjee)
- msm: vidc: Cancel pending power collapse works in core_release (credits to Deva Ramasubramanian)
- USB: msm_otg: Configure HV DPSE/DMSE pin interrupt bits of PHY register (credits to Guoping Yu)
- Revert "ASoC: compr: Disable soft-pause for compress playback" (credits to wjiang)
- msm: Add timeout to read APR responses (credits to Karthik Reddy Katta)
- diag: Release wakeup sources properly (credits to Ravi Aravamudhan)
- msm: vidc: Handle power collapse cancel properly (credits to Praneeth Paladugu)
- prctl: make PR_SET_TIMERSLACK_PID pid namespace aware (credits to Micha Kalfon)
- ARM/ARM64: arch_timer: add macros for bits in control register (credits to Sudeep KarkadaNagesha)
- ARM: arch_timer: add support to configure and enable event stream (credits to Sudeep KarkadaNagesha)
- drivers: clocksource: add CPU PM notifier for ARM architected timer (credits to Sudeep KarkadaNagesha)
- msm: isp: Fix bus halt acknowledgement. (credits to Vijaya Kumar T M)
- msm:pproc: CPP freed pointer in error case (credits to Vijaya Kumar T M)
- ASoC: msm: audio-effects: Check for array index (credits to Weiyin Jiang)
- ARM: msm: Clean up sensor ADSP driver; OCMEM is no longer used (credits to Satya Durga Srinivasu Prabhala)
- diag: dci: Send mode reset command to the apps processor (credits to Katish Paran)
- msm: rpc: Fix uninitialized union in rpc router code (credits to FNU Ramendra)
- msm: rpc: Fix uninitialized union in rpc router close function (credits to FNU Ramendra)
- ASoC: Change to correctly set the BTSCO Sample Rate (credits to Shreyas Nagasandra Chandrasekhar)
- msm: vidc: Update the clock state variable before unprepare clocks (credits to Praneeth Paladugu)
- msm: mdss: un map dsi transmit buffer properly (credits to Kuogee Hsieh)
- msm: mdss: Prevent backlight update during continuous splash (credits to Jayant Shekhar)
- msm: mdss: Fix check for backlight update during continuous splash (credits to Jayant Shekhar)
- msm: mdss: Notify AD only when brightness changes (credits to Ping Li)
- diag: Make DCI change not to access info from a dangling pointer (credits to Dixon Peterson)
- msm:camera:isp: Fix array index bound checks (credits to Suman Mukherjee)
- msm: mdss: rotator: replace work_pending with work_busy (credits to Ujwal Patel)
- msm: camera: validate user space parameter for max and min value (credits to Vasko Kalanoski)
- soc: qcom: bam_dmux: Sync SSR with disconnect/reconnect (credits to Jeff Hugo)
- msm: camera: isp: fix for avtimer power collapse (credits to Senthil Kumar Rajagopal)
- msm_fb: display: validate input args of mdp4_argc_process_write_req (credits to raghavendra ambadas)
- ASoC: msm: Correct RTAC mutex lock (credits to Ben Romberger)
[B]16/01/2016 - Stock CM Kernel 3.4 v1.0 for MM-6.0 + Unmerged CAF Patches[/B]
- ASoC: wcd9xxx: Do not recalibrate DCE_Z in the middle of mic voltage (credits to Phani Kumar Uppalapati)
- net: rps: fix cpu unplug (credits to Eric Dumazet)
- msm: mdss: Extend GC programming to writeback mixers in pp (credits to Krishna Chaitanya Parimi)
- msm: mdss: Program linear GC LUT as default for rounding (credits to Krishna Chaitanya Parimi)
- diag: Make fixes to diag_switch_logging (credits to Ravi Aravamudhan)
- mmc: core: Update PON based on the system state (credits to Sahitya Tummala)
- msm: kgsl: Wake up snoozing threads on marker expiry (credits to Anupam Sakargayan)
- msm: isp: validate vfe_intf max params (credits to Suman Mukherjee)
- msm: vidc: Cancel pending power collapse works in core_release (credits to Deva Ramasubramanian)
- USB: msm_otg: Configure HV DPSE/DMSE pin interrupt bits of PHY register (credits to Guoping Yu)
- Revert "ASoC: compr: Disable soft-pause for compress playback" (credits to wjiang)
- msm: Add timeout to read APR responses (credits to Karthik Reddy Katta)
- diag: Release wakeup sources properly (credits to Ravi Aravamudhan)
- msm: vidc: Handle power collapse cancel properly (credits to Praneeth Paladugu)
[B]11/01/2016 - Stock CM Kernel 3.4 v1.0 for MM-6.0 + Unmerged CAF Patches[/B]
- ASoC: wcd9xxx: Do not recalibrate DCE_Z in the middle of mic voltage (credits to Phani Kumar Uppalapati)
- msm: mdss: fix issue in calculating decimated dimensions (credits to Jeevan Shriram)
- msm: mdss: fix pixel extension validation on decimation (credits to Adrian Salido-Moreno)
- msm: vidc: release sync_lock before waiting on command response (credits to Maheshwar Ajja)
- msm:pproc:Freed the vpe prameters to avoid memleak (credits to Vijaya Kumar T M)
- ASoC: wcd9320: avoid wrong free of resource while enabling ANC (credits to Shreyas Nagasandra Chandrasekhar)
- msm: vidc: Clean up properly when instance exits at MSM_VIDC_INIT state (credits to c_sridur)
- net: rps: fix cpu unplug (credits to Eric Dumazet)
- msm: mdss: fix rotator failures when pixel format changes (credits to Ingrid Gallardo)
- msm: mdss: ensure rotator work is done before reconfiguring session (credits to Adrian Salido-Moreno)
- msm: mdss: Upgrade and fix AD implementation (credits to Ping Li)
[/HIDE]
Click to expand...
Click to collapse
Downloads
Download:
Stock CM Kernel + CAF Patches MM-6.0 AndroidFileHost Folder
(D800) Direct Download Beta Kernel (05/02/2016) md5: 9f0ebcf59148430cd5ff9e02f71ecb4c
(D801) Direct Download Beta Kernel (05/02/2016) md5: e4a66a2a168f4ec7d550d94f6a96f197
(D802) Direct Download Beta Kernel (05/02/2016) md5: 89a7f9722aa490ba876519fcbacc930c
(VS980) Direct Download Beta Kernel (05/02/2016) md5: 03430e606956d2ccc1ebed72fef6483d
Sources:
Development branch of Stock CM Kernel
Click to expand...
Click to collapse
Thanks To/Credits
Code:
[B]LG-Devs[/B], [B]Rashed97[/B], [B]Intervigil[/B], [B]Invisiblek[/B], and other devs I'm surely missing
[B]CyanogenMod[/B], [B]Kernel.org[/B], [B]Code Aurora Forum[/B], [B]Google developers[/B]
XDA:DevDB Information
[KERNEL][3.4][MM-6.0][BETA] Stock CM13.0-kernel + Unmerged CAF patches [05/02/2016], Kernel for the LG G2
Contributors
PsychoGame
Source Code: http://review.cyanogenmod.org/#/q/project:CyanogenMod/android_kernel_lge_msm8974
Kernel Special Features: Stock CM kernel with unmerged CAF patches for MM 6.0 rom (CM 13.0 and derivatives)
Version Information
Status: Beta
Current Beta Version: 6.0
Created 2016-01-12
Last Updated 2016-02-05
Reserved first post for future additions
Booted OK i think this fixed small pixels when phone is rotated. Anything to test?
Sent from my LG-D802 using Tapatalk
Just to add my own experience. I've been running the d800 20160111 kernel for many hours now and it has been very stable. I'm not sure what the small pixels problem was, but considering how many of the fixes are for the video subsystem, I wanted to mention that I've been successfully playing Badlands through parts of the day, quite successfully.
Except for the part where I can't make it through the game level without dying. That kinda sucks, but I'm working on it.
mujka said:
Booted OK i think this fixed small pixels when phone is rotated. Anything to test?
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
If you have a headset for you're phone please test if all the buttons work okay.
In this kernel there's a patch included in which CM-Team encountered problems with it in the past.
Other then that there's nothing specific to test atm. just run the kernel for a few days and report if you encounter any strange things or notice any improvements to the kernel which CM is shipping with their OTA.
I tested buttons in youtube app all working. I think kernel is a bit smoother. On balanced profile in battery settings phone achieved 51k in antutu.
Sent from my LG-D802 using Tapatalk
Currently I'm also benchmarking CM-13 build 12/01/2016 for D802 with Antutu and GFXBench.
It's very difficult to base any conclusions on these scores because it's very difficult to always have the phone in exactly the same condition as the previous test.
But I'll also run multiple tests with Antutu to check if there's a steady improvement or regression.
I think GFXBench will have most impact given the fact there are multiple vidc and mdss patches inside.
I'll report back with my findings after a few tests so anybody can compare their findings to mine.
Update 1:
After finishing extensive benchmarking in almost the same conditions (Airplane Mode), Balanced battery profile, reboot after each benchmark I come to the following conclusion:
There seems a small, almost neglect-able improvement in performance. Of course every improvement is good because that's what we're aiming for of course. Benchmarking results with patched kernel seem to be a little bit less jumpy in score though. At least stress testing through multiple runs doesn't result in any strange kernel behavior so that's nice to notice as well.
I'm not sure if this has any place here...
First off thanks @PsychoGame for this! We are well on our way to a great C13 experience!
Also, regarding the WiFi issues:
https://code.google.com/p/android/issues/detail?id=170078#c56
jl10101 said:
I'm not sure if this has any place here...
First off thanks @PsychoGame for this! We are well on our way to a great C13 experience!
Also, regarding the WiFi issues:
https://code.google.com/p/android/issues/detail?id=170078#c56
Click to expand...
Click to collapse
Hello @jl10101,
I'm aware some people have problems with wifi losing it's signal while phone is in deep sleep.
On my phone (d802) in my case I don't encounter this issue to be honest so I'm not able to debug this myself.
My first focus is to get kernel up-to-date with latest msm8974 drop from CAF.
After this, if some patch didn't magically fix it already , I'll try to look into any known bugs.
Tried your kernel on Jan 12 build. The pixel problem is solved . I tested the headset buttons with Poweramp its working fine.
Sent from my LG-D802 using Tapatalk
latsest RR didnt booted with this kenel
Bliss did not boot with this kernel either but aicp mm did
Hello @syrkles and @vrwmiaris1
I'm not familiar with RR or Bliss at all.
Are these Roms directly based/build from CM kernel and device source tree?
If not this kernel is not meant for the rom in question.
Also can you tell me which devices you have?
Nice to hear AICP MM is booting, I'm guessing this rom source is directly based of CM sourcetree
Greetings PsychoGame
Before using this kernel, i am facing some extreme lag from time to time even after clean install, but this kernel seems to solve this issue, great work!
Sent from my LG-D802 using Tapatalk
@PsychoGame
Both are based on cm. Probably some issues in their ramdisk
Hello @Lawlrus,
Thank you for your explanation, I'm not familiar with these roms but indeed if something in ramdisk is different from CM ramdisk indeed it's giving problems booting.
Good point and didn't think of it yet, al least I'll post it in the OP that RR and Bliss do not work with this kernel to make sure that's clear to everybody who wants to try the kernel.
Greetings PsychoGame
It seems that those change in your kernel will be included in the next nighty?
Sent from my LG-D802 using Tapatalk
ansontyl96 said:
It seems that those change in your kernel will be included in the next nighty?
Sent from my LG-D802 using Tapatalk
Click to expand...
Click to collapse
Hello @ansontyl96,
Indeed, the next nightly includes a big part of the changes included in this kernel.
I have used this kernel for over a week and so far haven't encountered any negative side effects.
Based on the fact the kernel had been downloaded multiple times for different device models (d800, d802, vs980 and l01f) but I haven't received much to nothing at all negative comments so we went ahead and merged it.
Next kernel beta release is in the pipeline at the moment and will probably be posted tomorrow.
Greetings PsychoGame
PsychoGame said:
Hello @ansontyl96,
Indeed, the next nightly includes a big part of the changes included in this kernel.
I have used this kernel for over a week and so far haven't encountered any negative side effects.
Based on the fact the kernel had been downloaded multiple times for different device models (d800, d802, vs980 and l01f) but I haven't received much to nothing at all negative comments so we went ahead and merged it.
Next kernel beta release is in the pipeline at the moment and will probably be posted tomorrow.
Greetings PsychoGame
Click to expand...
Click to collapse
Cheers mate, I can't wait to test it as the kernal I am using now already solved many lag issues for some reasons,before this kernal i always face some extreme lag from time to time probably because of cpu, but just wanna ask will there be any chance that we can fix the speaker's low volume issues?
Anyway great jobs
Sent from my LG-D802 using Tapatalk
This kernel also works on the latest vanir nightly
DISCLAIMER
I will not be held responsible for anything that happens to your device after flashing this kernel. If you don't know how to bring your dead device back to life please don't make any modifications and stay with stock MIUI. This is only meant for advanced users.
Features :
-Compiled with GNU 6.3.1 TC-
-Based on Official Cm-14.x source-
-Intelli Hotplug Driver-
-CPU U.V-
-Savoca KCAL-
-Quick Charge 2.0-
-Flar2 Wake Gestures-
-Chill/Cafactive Cpu Gov-
-Zen /FIOPS/Maple I/O-
-Frandom-
-Adrenoboost-
-Show CPU Voltages via sysfs -
-Franco Sound Contol-
-Vibration Control Intensity-
-ExFat/NTFS Support-
-Dynamic Fsync v2.0-
-Toggleable Software CRC-
-TCP congestion Algorithms-
-Misc Changes-
Installation:
-Boot Into Recovery-
-Flash Kernel-
-Wipe Cache and Dalvik (Optional)-
-Reboot!-
* if you want to use msm_hotplug ( its disabled by default on v1.0 - v1.3 ) , use EXKM app.*
Download:
https://www.mediafire.com/folder/c22dzuoiwm2zb/CM_N
Credits:
@TheStrix @Umang96 @nathanchance @frap129 @Yank555-lu @MOVZX
@flar2 @ak @franciscofranco @Grarak @arter97 @myfluxi @neobuddy89 @jollaman999
Contributors:
MEGAX91
Source Code:
http://uploadboy.me/xel8nch0m0u2/NGB-GUYVER10-02-2017.zip.html
Changelog:
v1.6.1:
1-merged caf branch LA.BR.1.3.6_rb1.13
2-updated prima drivers to LA.BR.1.3.6_rb1.13
3-chill: Fix down_threshold_suspended sysfs input
4-relaxed: Fix down_threshold_suspended sysfs input
5-cpufreq: cpu-boost: don't boost if input_boost_ms is <= 0
v1.6:
1- Q.C 3.0
2-added blu_active governor
3-added tripndroid io scheduler
4-bfq-sched: Forcefully lookup entities when the cache is inconsistent
5- lot of memory optimizations
6-Flar2 USB fastcharge
7-add CDG congestion control
8- lot of bug fixes
9-block/bl-throttle: merged updates from linux-3.18 for faster emmc
10-Merged arm64/crypto updates from mainline linux
11-lib/vsprintf: merged upstream from mainline linux
12-lib/bitmap: merged upstream from mainline linux
v1.5 :
1-Merged latest caf changes LA.BR.1.3.6_rb1.12
2-Prima wlan driver updated to LA.BR.1.3.6_rb1.12
3-Camera actuator: use correct park lens step values
4- Adjust charge throttling ( reduced charge time )
5-Update Intelli Hotplug Driver
6- silence some spam logs
7- reduced some wakelocks
8- added CRYPTO_CRC32_ARM64_CE
9- Added impulse & ironactive & smartass2 governors ( with tweaks )
v1.4 :
removed msm_hotplug
added Intelli Hotplug
removed lot of spam logs
reduced wakelocks
add support for LZ4-compressed kernel
LZ4 UPSTREAM changes
Updated CPUBW Governors
Added Relaxed Atomic Read
Update GCC Optimizations
Updated F2FS
v1.3:
random: Backport driver from Linux Kernel 4.1.31
Fixed HALL sensor driver
added zswap
updated LMK ( lowmemorykiller )
updated noop i/o scheduler
Switch to Custom 6.3.1 Toolchain
v1.2:
added CPU patches
updated cpu-boost
updated adreno_idler ( reduced overhead on adreno_idler )
improved cpu idle
Reduced WakeLocks
v1.1 :
Enabled lz4 compression for zram
fingerprint: boost cpufreq on unlock
fingerprint: boost tasks to the big cores when the F.P scanner is used
added backlight dimmer option
added toggles for wakelocks
added binder patches
Reduce swappiness
added frandom compatibility
added Maple I/O Scheduler
removed powersuspend
Added state notifier driver
never post problems without full details of what setup you are using, it's not possible to help that way.
Provide me some logs:
- ADB logcat dump
- /sys/fs/pstore contents
- dmesg dump
Settings - Developer Options - Root access - choose: "Apps and ADB"
Kernel Log:
Code:
adb shell su -c dmesg > dmesg.log
Last_kmsg:
Code:
adb shell su -c "cat /proc/last_kmsg" > last_kmsg.log
or use syslog app :
https://play.google.com/store/apps/details?id=com.tortel.syslog&hl=en
-----------------------------------------------------------------------------------------------------------
For adrenoboost :
use terminal :
echo 1 > /sys/class/kgsl/kgsl-3d0/devfreq/adrenoboost
* 0 for off , 1 for low , 2 for medium , 3 for high *
-----------------------------------------------------------------------------------------------------------
Recommended Settings for battery saving :
CPU : Intelli Hotplug ( conservative profile ) max core = 3 , min core = 1
Governor : Chill on Big Cluster & Relaxed on Little Cluster
Touch Boost = off
I/O scheduler: noop @512
GPU : adreno idler : on
Entropy : 512&256
ZRAM : 0MB
ZWAP : off
Arch Power : on
Dynamic Fsync : off
----------------------------------------------------------------------------------------------------------
Recommended Settings for daily usage :
CPU : Intelli Hotplug ( balance profile ) max core = 5 , min core = 2
Governor : impulse
Touch Boost = on ( for smother experience )
I/O scheduler: Maple @1024
GPU : adreno idler : on
Entropy : 512&256
Swappiness = 0~10 for 3GB ram , 20~30 for 2GB ram
ZRAM : 520MB
ZSWAP: on
Arch Power : off
Dynamic Fsync : on
----------------------------------------------------------------------------------------------------------
Recommended Settings for Gaming :
CPU : Intelli Hotplug ( performance profile ) max core = 6 , min core = 4
Governor : ironactive
Touch Boost = off
I/O scheduler: Fiops @1024
GPU : adrenoboost @high / adreno idler : off
Entropy : 512&256
Swappiness = 0~10 for 3GB ram , 20~30 for 2GB ram
ZRAM : 720MB
ZSWAP: on
Arch Power : off
Dynamic Fsync : on
-----------------------------------------------------------------------------------------
for enchanced colors use kcal :
saturation intensity = 50
Screen Value = 118
Screen Contrast = 140
Woah what a weird name for kernel ?
Sent from my Redmi Note 3 using Tapatalk
@MEGAX91
Kernel name is from ushio to tora?
Have been using on miui mm very quite stable nearly to stock with performance.now trying kernel on n with official rr.
Also are u watching naruto SD looks like your fan of nagato ( judged from name)
VaibhavKumar07 said:
Woah what a weird name for kernel
Sent from my Redmi Note 3 using Tapatalk
Click to expand...
Click to collapse
http://ushioandtora.wikia.com/wiki/Tora
noloukos said:
@MEGAX91
Kernel name is from ushio to tora?
Click to expand...
Click to collapse
yes , also I read manga before i watched anime.
[email protected] said:
Have been using on miui mm very quite stable nearly to stock with performance.now trying kernel on n with official rr.
Also are u watching naruto SD looks like your fan of nagato ( judged from name)
Click to expand...
Click to collapse
i never watched naruto!
Nice work sir. Great kernel. Hope you can add more options and settings in this kernel like your guyver MM kernel. Thankss
Nagatobimaru ? , I have to try this !! :v
Sent from my Redmi Note 3 using Tapatalk
QC 2.0? so your kernel goes up to 18 watts?
will try
Gonna watch Naruto
Hope you like it
evoGage said:
QC 2.0? so your kernel goes up to 18 watts?
Click to expand...
Click to collapse
No , total power is about 15W
Testing , performance is excellent but FPC Fingerprint Scanner not working for me on RR 5.8.0 Official , tried installing goodix libs , still same issue
aaz03 said:
Testing , performance is excellent but FPC Fingerprint Scanner not working for me on RR 5.8.0 Official , tried installing goodix libs , still same issue
Click to expand...
Click to collapse
Works fine for me.
Finally you made it public, congrats mate!
@MEGAX91
Wanna try this! What rom do u use?
Thanks!
MOVZX said:
Finally you made it public, congrats mate!
Click to expand...
Click to collapse
how about yours? will you publish your kernel here?
Star_king12 said:
Works fine for me.
Click to expand...
Click to collapse
Flash agni, flash stock boot.img from ROM, flash other kernel to get fp working. Also, you can make a zip with only libs like I did.