[Nexus 7 (2013) Original Android Development] Tk-Glitch:
These kernels are provided as-is without warranty. I'm not responsible for any problem you may encounter with your phone or tablet or if your cat suddenly dies.

Although, don't expect support even if I will eventually help because I love cats.

​

Overview & features :

"With great power comes great responsibility". Don't go crazy with overclocking, only the best devices will be able to get 2.3 GHz stable or even bootable, though heat will be your main issue.

- Based on Google AOSP 3.4.0 and LineageOS's kernel sources for MSM devices

- CPU OC up to 2.3Ghz with OV/UV support / minimum frequency down to 81 MHz (configurable)

- L2/bus speed OC up to 1.49GHz / 4.8GBPS

- GPU OC up to 627 MHz with OV/UV support

- CPU governors : Faux's intellidemand, interactive, ondemand, smartmax, intelliactive, conservative, elementalx

- I/O schedulers: noop, deadline, cfq, fiops, sio, BFQ, zen

- Kernel based intelli-thermal driver by Faux123

- Kernel based msm hotplug driver by Fluxi

- tni.andro's battery life extender support

- Magnetic on/off setting

- USB fast charge support

- USB OTG charge hack support by flar2

- FauxSound support

- LineageOS's PCC color tweaking

- Fsync switch on/off

- Touchscreen patches by Showp1984

- Touchscreen wake/sleep gestures by flar2

- Kali Pwn Pad experimental support

- Optimized algorithms and libraries

- Various performance and power saving tweaks

- NTFS, NFS and exFAT support

- F2FS support up to all-F2FS with automatic ramdisk patching at flash time (reflash if you change partition format !)

- Kexec-hardboot support for Multirom compatibility

- Full package comes with Aroma installer to set core features at flash time (L2 OC level, CPU OC, etc.)

- Pure package will restore Aroma settings backup if present, or else will offer you a balanced preset for day to day usage

- Custom Synapse support with various settings and core features tweaks

- Compiled with Linaro 6.1.3 toolchain with various optimizations

- SELinux Permissive patch (Disabled by default, can be enabled in Aroma)

- Wifi firmware overrider to fix wifi on 4.4.3 & lower or on roms using old wifi firmware (up to r226 - Kitkat only)

CHANGELOGS IN #2 POST

You can tweak multiple options of this kernel with TricksterMod, FauxClock, Kernel Adiutor, Synapse(r500 and up, definitely recommended to get the most available options) or similar apps. (They are all available on the PlayStore)

Note to MultiROM users : don't use the kernel sharing feature. Flash the kernel on each rom instead. Also, it may take more time booting on secondary roms when using F2FS. Don't worry and wait for a bit ;)
​

Downloads (all kernels are compatible with both flo and deb)

Grab your build from here :

Glitch kernel r574 download - For AOSP 6.0.1/7.x.x and LineageOS 14.1​

Mirror + older builds : Mediafire​

FAQ :

What are the differences between "Full" and "Pure" builds ?

The "Full" builds are using Aroma Installer so you can tweak various options at flash time. At the end of the process, a file containing your settings will be created (/sdcard/glitch-settings.conf). The "full" builds are also able to restore your settings from Aroma after a rom flash or wipe for example.

On the other hand, "Pure" builds aren't coming with Aroma and will try to restore your settings from your SDcard, or use a default profile if none is found. Both Full and Pure builds are coming with a custom Synapse support to let you tweak all the core options on the fly once booted.

If you flash a "Pure" build without a profile, the default preset will be applied. It's been tweaked for a good balance between performance, power consumption, stability and functionality for day to day usage. The default settings applied are as follow :

- 1.7GHz max CPU freq (from 1.5GHz stock) / 1GHz max CPU freq when the screen is off / "Balanced" L2 OC

- msm_hotplug driver in place of msm_mpdecision

- 450MHz max GPU freq (inline with other Snapdragon 600 devices - from 400MHz stock)

- Safe CPU and GPU undervolting for lower heat and power consumption

- Deadline I/O sched / Interactive CPU governor

- Doubletap to wake and fastcharge enabled (Doubletap to wake will slowly drain power during suspend, so disable it if not used)

- Everything else is kept stock

What do I have to do to use F2FS on one (or more) of my partitions ?

First, BACKUP your data if needed, especially if you're planning to use F2FS on DATA partition, as changing filesystem will wipe the partition. Change partition formats as needed in your recovery. It is NOT recommended to convert system partition as F2FS as it'll be slower than EXT4 to begin with (as the partition is mostly read only) and will alter compatibility with many roms (especially CM/LineageOS based). The last thing to do is to flash any Glitch kernel with a revision number past r150. You can restore your settings from SDcard if any, the install process will detect the partitions and modify the ramdisk accordingly so you can finally boot and use your fresh FS.

What L2/cache OC setting should I use ?

This setting will overclock bus speed and RAM so it's a bit delicate to tweak, yet it can give a nice "free" global performance boost. A simple test to check for stability is to run the camera app 3 or 4 times in a row while waiting for 10 seconds between each launch. If your device freezes, it's unstable ! It's also the only setting you can't change on the fly once booted, either from Synapse or sysfs, and requiring a reflash (using Aroma or changing the value in /sdcard/glitch-settings.conf).

Let me give you some details about the available settings so you can choose wisely :

Stock (1.13GHz-4.26GBps) is the regular, out of the box, non OC setting.

Improved (1.19GHz-4.26GBps) is the same as "ElementalX" setting in Flar2's kernel.

Balanced (1.22GHz-4.66GBps) is the same as "Ultra" setting in Flar2's kernel.

Fast (1.35GHz-4.66GBps) is a nice jump over "Balanced", yet stable for most devices. A kind of sweet spot.

Extreme (1.43GHz-4.80GBps) is were most users will start to get issues. Provides a great boost if stable.

Glitchy (1.49GHz-4.80GBps) pushes your hardware to the limits. Will be unstable for most devices.
​

Thanks to everyone helping me to debug and find new useful things to integrate !

Without all of you, this kernel wouldn't be !​

XDA:DevDB Information

Glitch kernel for Flo, Kernel for the Nexus 7 (2013)

Contributors

Tk-Glitch, Google, animania260, CyanogenMod, TeamDouche, flar2, Faux123, franciscofranco, Showp1984, Team-Hydra, sixstringsg, Poondog, ZeroInfinity, Fluxi, arter97, neobuddy89, alesaiko, 228aye, AndreiLux, amarullz ,followmsi, and all my community

Source Code: https://github.com/Tk-Glitch/Flo_AOSP

Kernel Special Features: CPU OC/UV 2.3 GHz, GPU OC/UV 627MHz, FauxSound, S2W/S2S/DT2W, Bus speed OC

Version Information

Status: Stable

Created 2013-09-19

Last Updated 2017-09-13