[TouchPad Development] shumash:
Here's a custom kernel for you all to try out. It should work with the Dirty Unicorns ROM. Not tested with other ROM's.

This kernel must be flashed from recovery (DO NOT USE TP TOOLKIT!) No need to clear caches, format system, or any other preparation. Flash and boot. I highly recommend Kernel Adiutor for detailed and granular control of settings. If you don't like it, recover by reflashing your base DU ROM.

Here's a few facts:

CPU Overclockable to 1890KHz

Level 2 frequency boost to 1890KHz

Stepped 2D & 3D GPU OC up to 267 MHz and 320 Mhz, respectively

Additional governors and schedulers

Use Kernel Adiutor for tuneable parameters in the kernel

READ HERE FOR INFORMATION ABOUT GOVERNORS AND SCHEDULERS: Guide Link

NOTE!: The kernel has stability up to 1836 KHz, so if you decide to try the higher frequencies or change the cpu voltages, be sure and UNSET THE 'APPLY AT BOOT' option in your kernel tuner app. If your tablet can't handle the higher frequencies or voltages, it will either freeze or reboot. If it freezes, you will have to do a hard boot (hold power and HOME key simultaneously until it reboots). It should revert back to the default frequency of 1512 KHz max, 384 KHz min., but if it doesn't, Kernel Adiutor (KA) has a delay in setting the options. Get into KA as soon as you can after it reboots and set the CPU options to a stable setting.

Download links. No system/full wipes or cache clearing required.

Primary

GPL Compliance: Kernel Source

CHANGELOG

->12MAR18
-Merge upstream

->12MAR18
-config: restore sociopath tcp congestion
-Speedup early suspend execution

->21FEB18
-Welcome Dirty Unicorns

->01DEC17
-Revert "fs/exec: fix use after free in execve"
-Revert "kernel: Only expose su when daemon is running"
-userns: Use cred->user_ns instead of cred->user->user_ns
-sdcardfs: limit stacking depth
-fs: fuse: Add replacment for CMA pages into the LRU cache
-sdcardfs: fix space leak
-sdcardfs: minor fixes
-ANDROID: sdcardfs: Call lower fs's revalidate
-media: info leak in __media_device_enum_links()
-mmc: core: Fix possible memory leak
-tracing: do not leak kernel addresses

->17NOV17
- msm_mpdecision: Add in-kernel CPU hotplug management
- Voltage interface for GPU

->30OCT17
- Get rid of some kernel console debugging output to speed up boot
- Restore SKZ boot splash

->25OCT17
- Restore missing ioschedulers

->20OCT17
- Merge LineageOS (Invisiblek) commits to fix wpa2 exploit (KRACK)

->05SEP17
- proc: much faster /proc/vmstat
- sched/balancing: Reduce the rate of needless idle load balancing
- [TCP] Enlarge upload window size 50%

->31AUG17
- rfkill: prevent unnecessary event generation
- mm: decrease vm_swappiness to 15
- PM / devfreq: Add an interface to boost devices when the screen is awoken.
- iosched_switcher: Use power efficient workqueues
- block: I/O scheduler driver mod - delay setting noop when screen goes off.

->13AUG17
- Merge upstream
- video: Optimized Console FrameBuffer for up to 70% increase in Performance

->02AUG17
- security : Boot with permissive kernel
- gpu: (power tweak) Set default powerlevel to minimum

->30JUL17
- merge upstream
- cpufreq: Manage only online cpus

-> 21JUL17
- merge upstream
- Add zen scheduler

-> 14JUL17
- tcp: do not lock listener to process SYN packets
- tcp: avoid infinite loop in tcp_splice_read()
- msm: acpuclock: Add a null check for acpuclk_data
- Add slim governor

-> 04JUL17
- Introduce Intelliactive governor

-> 27JUN17
- Merge upstream
- cpuinit: get rid of __cpuinit and all variants
- revert hacks for the previous misuse of __cpuinit for hotplug only functions
- kbuild: drop cpuinit/cpuexit checks in modpost
- msm_dcvs: remove no longer existing trace events
- msm: rq_stats: Use cpufreq API to get the current frequency

-> 22 JUN17
- Always set noatime no diratime on all partitions! I/O Boost
- PM / Wakeup: Use rcu callbacks for better performance
- net: Performance fix for process_backlog
- Input: Send events one packet at a time
- PM: Enable asynchronous noirq resume threads to save the resuming time

-> 16JUN17
- Adapted from APQ8064: Improve GPU response when waking from sleep

-> 14JUN17
- Ported from board-8960: Increase MM ION heap to 60MB
- defconfig: Enable arm neon optimized crypto

-> 12JUN17
- Fix defconfig DERPs in merge
- tcp: add sociopath congestion control
- Hack __pm_wakeup_event to reduce wakelocks

-> 07JUN17
- Merge upstream

-> 05JUN17
- rwsem: Optimized ARM RWSEM algorithm
- net: Controlled Delay AQM (CODEL)

-> 30MAY17
- Merge upstream
- Reduce zramdisksize to 268MB

-> 25MAY17
- int_sqrt: 3x faster integer sqrt

-> 16MAY17
- Merge upstream
- defconfig: Enable QUICK_WAKEUP and FRANDOM
- lowmemorykiller: numerous patches to improve performance
including adaptive LMK
-> 10MAY17
- block: Add driver to change the I/O scheduler when the screen turns off

-> 03MAY17
- Add more processes to power efficient workqueue
- workqueue: Provide destroy_delayed_work_on_stack()
- workqueue: use schedule_timeout_interruptible() instead of open code
- Remove WQ_POWER_EFFICIENT from kblockd
- Add frandom and quickwakeup drivers
- cpufreq: Notify governors when cpus are hot-[un]plugged
- cpu: Abort suspend when hotplug is already in progress

-> 01MAY17
- Reduce boot splash size

-> 30APR17
- add several more processes to the power efficient workqueue
- SKZ-ify the boot splash

-> 25APR17
- sched: cpu_power: enable ARCH_POWER
- splice: introduce FMODE_SPLICE_READ and FMODE_SPLICE_WRITE
- binfmt_elf.c: use get_random_int() to fix entropy depleting
- CHROMIUM: mm: Fix calculation of dirtyable memory
- writeback: increase bdi_min_ratio to 5
- power: msm_battery: increase battery check interval from 5 to 15 seconds
- scsi: Remove scsi_wait_scan
- kernel: Reduce latency

-> 24APR17
- Revert undervolt the lower frequencies a bit more

-> 15APR17
- Undervolt the lower frequencies a bit more
- hrtimer: enhance power efficiency
- cpu: enhance power efficiency
- sched: Trying to reduce power usage
- changes for relaxed functions

-> 07APR17
- Misc. code improvements

-> 05APR17
- Build for 4g

-> 03APR17
- Undervolt

-> 27MAR17
- Adjust overclock and voltage settings

-> 27FEB17
- Revert tenderloin: disable CONFIG_MSM_CPU_FREQ_SET_MIN_MAX

-> 22FEB17
- Add darkness governor

-> 14FEB17
- merge upstream. LZ4 and zram restored

-> 09FEB17
- Revert all ev lz4 and zram commits

-> 08FEB17
- Remove medusa governor (for now)
- cpufreq: Optimize cpufreq_frequency_table_verify()
- msm: kgsl: fix sync file error handling

-> 27JAN17
- Fix medusa governor freezes by locking cpu_up/down

-> 26JAN17
- Revert clean up medusa governor min frequency code
- Revert merge upstream

-> 25JAN17
- Merge upstream
- Clean up medusa governor min frequency code and set some tuneables

-> 23JAN17
- fix medusa governor freezes
- fix SECTION_MISMATCH errors during compile

-> 20JAN17
- Add new original medusa governor
- Add lionheart governor

-> 11JAN17
- Revert 'Move wireless regulator timeout to power efficient workqueue' & 'Fix PCC disablement' and rebase
- Merge upstream
- Update smartmax governor

-> 05JAN17
- Move wireless regulator timeout to power efficient workqueue
- Add Link Time Optimization support
- Fix PCC disablement
- Distinguish skz kernel localversion from ev stock

-> 04JAN17
- Add optimized SHA256 arm crypto routines (improves encryption performance by up to 20%)
- Add voltage interface

-> 03JAN17
- Merge upstream
- Compile with O3 optimizations
- Restructure 3d_pdata to improve graphic performance

-> 02JAN17
- Set boot frequency to 1728 KHz
- Enable gpu 2d frequency to 267 MHz

-> 28DEC16
- Merge upstream
- Add invisiblek's enable CONFIG_UID_CPUTIME commit
- Match smartmax and smartmax_EPS get_cpu_idle_time function code

-> 19DEC16
- Add tripndroid scheduler
- Clean up governor code
- Regen defconfig

-> 15DEC16
- Remove maple io-scheduler
- Add dynamic interactive and alucard governors

-> 13DEC16
- REALLY remove divide-by-zero errors in kernel
- Add maple io-scheduler

-> 11DEC16
- Merge upstream
- Remove divide-by-zero errors in kernel
- Tune hyper governor

-> 09DEC16
- Tuned Smartmax_EPS governor for improved Touchpad performance
- Added dancedance governor (very smooth and fast with good battery performance. I love it!)
- Added hyper governor (based on conservative with some smartass features)

-> 05DEC16 Initial upload
- CPU Overclock to 1836 MHz
- L2 OC to 1836 MHz
- 2D GPU OC to 228 MHz
- 3D GPU OC to 320 MHz
- Add Smartmax_EPS governor