[CLOSED][KERNEL] [LE.UM.3.2.2.r1.1] [CLANG / LTO] Pendulum Kernel for Poco F1 [06-10-2019] - Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other

DISCLAIMER
Code:
[B][SIZE="3"]Your warranty is now void.
I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed. Please
do some research if you have any concerns about features included in this KERNEL
before flashing it! YOU are choosing to make these modifications, and if
you point the finger at me for messing up your device, I will laugh at you.
Please read completely this thread before using for minimize FAQ.
If you coming from other custom kernel, please restore to stock boot.img or dirty flash your rom before flash this!
[/SIZE][/B]
Requirements
BACKUP your Boot.img and ROM Before flash this Kernel.
Unlock Bootloader as well
Latest TWRP
No need Wipe dalvik/art cache
Main Features
Kernel based on LE.UM.3.2.2.r1 CAF tags.
Kernel compiled with Polly, Full LTO, Control Flow Integrity (CFI) and Shadow Call Stack (SCS) enabled.
KCAL and K-Lapse supported.
Sound Control supported.
F2FS supported.
Latest stable upstreamed F2FS.
Dynamic Stune Boost support.
Vmalloc performance improved.
Scheduler performances improved from k4.14.
Simple Low Memory Killer (SLMK) included in favor of stock LMK.
Network Signal Guru app compatible.
{*}TTL support for Russian users.
Eliminate ESD checks for both NVT and FTS panels.
Updated NVT firmware from MIUI Global Stable 10.3.6.0.
Updated FTS panel from MIUI Global Stable 10.3.6.0.
Compiled with -O3 optimizations.
There is so many, you can check more at my Git.
F.A.Q:
* What is Polly?
- Polly is a high-level loop and data-locality optimizer and optimization infrastructure for LLVM. It uses an abstract mathematical representation based on integer polyhedra to analyze and optimize the memory access pattern of a program. Refer to this LINK.
* What is LTO?
- The LLVM Link Time Optimizer provides complete transparency, while doing intermodular optimization, in the compiler tool chain. Its main goal is to let the developer take advantage of intermodular optimizations without making any significant changes to the developer’s makefiles or build system. This is achieved through tight integration with the linker. Refer to this LINK.
* What is CFI?
- Control flow integrity (CFI) is a security mechanism that disallows changes to the original control flow graph of a compiled binary, making it significantly harder to perform such attacks. Refer to this LINK.
* What is Shadow Call Stack (SCS)?
- ShadowCallStack is an instrumentation pass, currently only implemented for aarch64, that protects programs against return address overwrites (e.g. stack buffer overflows.). Refer to this LINK.
CHECK 2nd POST FOR UPDATED CHANGELOG!
NOTE: Fast charging is enabled by default, to disable it copy paste this on terminal and then enter echo "N" > /sys/module/smb_lib/parameters/skip_thermal
Many thanks to:
Nathan Chancellor for maintaining android-linux-stable.
Park Ju Hyung
Francisco Franco
Sultan Alsawaf
Danny Lin
All of developers contributions which i picked from.
Downloads
Google Drive (Kernel Folders)
XDA:DevDB Information
Pendulum Kernel, Kernel for the Xiaomi Poco F1
Contributors
Yousef Algadri
Source Code: https://github.com/Haseo97/kernel_xiaomi_sdm845
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 202
Stable Release Date: 2019-10-06
Created 2019-06-12
Last Updated 2019-10-05

Reserved
Changes for #111:
- Rebased source to the new ALS base.
- Enabled RCU Boost (test)
- Should fixed idle reboot.
- F2FS upstreamed.
NOTE: Some features is missing due to rebase, but will add again later.
Changes for #121:
- Merged in linux-stable v4.9.182.
- Reverted schedutil backport.
- Use wait_event_interruptible for qseecom.
- Don't allocate memory dynamically for drawobj sync structs.
- Avoid dynamic memory allocation for small context buffers.
Changes for #122:
- Merged in linux-stable v4.9.183.
- Enabled back DisplayPort.
- Killed most of DEBUG_FS usage.
- Don't boost DSB on suspend.
- Brickported scheduler improvements from k4.14.
- Picked EAS changes from RenderZenith.
- Backport new vmalloc for "large performance benefits".
- Don't allocate memory dynamically for temp command buffers.
- Mark goodix/fpc IRQ as performance critical.
- Add and Report the REAL_CAPACITY.
- Reduce kgsl worker thread priority to 6 .
- Cleaned up some code style for nt36xxx and sched.
Changes for #123:
- Merged in linux-stable v4.9.184.
- Updated FTS touchscreen firmware from MIUI 9.6.20 (should fix freezes for FTS).
- Re-enable DEBUGFS usage.
- Reworked thermal stuff.
- Fixed many of dmesg warnings.
- Lot and a lotttt of scheduler improvements picked from k4.14.
- Remove earlysuspend for NVT.
- Eliminate ESD checking for NVT.
- Integer overflow fix in refcount of map.
- Check git for more.
Changes for #155:
- Kernel rebased again to clean ALS (android-linux-stable).
- Kernel compiled with Polly, ThinLTO and Shadow Call Stack (SCS) enabled.
- Merged in linux-stable v4.9.187-rc1.
- Merged in CAF "LA.UM.7.3.r1-07900-sdm845.0".
- Import minimal LE.UM.2.3.2-07700-SDX24 changes.
- KCAL and K-Lapse supported.
- Sound Control supported.
- F2FS supported.
- Optimize for Kryo 385/ARMv8.2.
- Upstreamed F2FS.
- Removed Dynamic Stune Boost support.
- Improved vmalloc performance.
- Treewide dynamic allocation avoidance.
- Use kmem_cache for multiple drivers.
- Improve ION/Scatterlist allocation.
- Improved scheduler performances.
- Improved sched boost.
- Eliminate ESD checks
- Disabled sched autogroup.
- Implement cluster min & max information monitor.
- SLMK fixes.
- Enable thermal mitigation support in WLAN.
- Extract Novatek firmware from MIUI Global Stable 10.3.6.0.
Changes for #156:
- Merged in linux-stable v4.9.187.
- Updated tianma nt36672a panel from MIUI Global Stable 10.3.6.0.
- Initialize up/down rate limits to 0 for schedutil.
- Enabled MM Event Stat tracking.
Changes for #157:
- Merged in linux-stable v4.9.188.
- Enabled back Shadow Call Stack (SCS).
- Don't build unnecessary device tree blobs (reduced kernel size a lot).
- Added accelerated crc32 routines.
- Improved MM Event Stat.
Changes for #161:
- Merged in limux-stable v4.9.189.
- Backport and enable Clang's stack initialization.
- Optimized string routines for AArch64.
- Use 300Hz timer for kernel.
- Much faster /proc backported from mainline.
- Use -O3 LTO optimization level.
- Enable EXP Pass Manager for ld.gold.
Changes for #195:
- Kernel rebased to 'LE.UM.3.2.2.r1-01900-sdm845.0' CAF tags.
- Merged in linux-stable v4.9.192 to rel/rebirth-4.9.
- Merged in google-common to rel/rebirth-4.9.
- Updated and cleanup FTS drivers (panel was updated from MIUI Global Stable 10.3.6.0).
- Disabled bunch of tracing and debugging to avoid any overhead.
- Also disabled DEBUG_KERNEL and DEBUG_FS usage.
- Update fixes for Simple Low Memory Killer (SLMK).
- Change readahead size to 64 KiB.
- Use full LTO instead of ThinLTO.
Changes for #198:
- Merged in 'LE.UM.3.2.2.r1-02000-sdm845.0' CAF tags.
- Optimizations for sdm845 chip.
- Updated clang to 15-09-2019.
- Implemented sched boost improvements taken from k4.14
- Schedutil gov improved for iowait boost.
- Removed LLD linker support (we are using GOLD linker).
- Fixup F2FS mismerge during google-common merging.
- Schedulers improvements.
- Enabled back MODULES support.
- Enabled CFI Clang support for better kernel security.
Changes for #200:
- Merged in linux-stable v4.9.194.
- Merged in CAF 'LA.UM.8.3.r1-05800-sdm845.0' tags.
- Merged in CAF 'LE.UM.3.2.2.r1-02000-sdm845.0' to wlan drivers.
- Again enabled support Clang Polly optimization.
- Schedtune boosted placement optimized.
- Upstreamed and implemented F2FS Rapid GC.
- Backported RCU's from k4.14.
- Dynamic allocation avoidance of multiple drivers.
- Use kmem_cache for multiple of drivers.
- Switched sdFAT to exFAT from arter97.
- Disabled back MODULES support.
- Removed CAF garbages in schedutil.
- Enabled TTL support.
- Added support for Network Signal Guru app.
Changes for #202:
- Merged in linux-stable v4.9.195.
- Merged in android-4.9-q from google.
- Merged 'LA.UM.8.3.r1-06100-sdm845.0' CAF tags.
- Merged in 'LE.UM.2.3.2-08300-SDX24'.
- Merged in latest stable F2FS upstream.
- Fixed deep sleep issues.
- Fixed HDR.
- Disable profiling for android.
- Reworked cpu-boost scheduling setup using kthread.
- Backported fast refcount checking from mainline.
- Emulate Privileged Access Never using TTBR0_EL1 switching.
- Convert multiple of drivers to hotplug state machine.
- And many more.

Reserved
Reserved

kernel is very smooth

:good::good::good:

Shreyash01 said:
After flashed.
kernel is very smooth but sim network is not working
Click to expand...
Click to collapse
Thats nothing to do with kernel
Sent from my POCO F1 using Tapatalk

Everything looks great, I found 1 issue.
It heats up a lot when plugged in for charging.. please have a look very carefully into your code and upload a newer version ASAP. because this might damage the battery or the phone itself.
---------- Post added at 09:27 AM ---------- Previous post was at 09:22 AM ----------
More details about this issue. hope it helps you. My phone charging at 2750mA. 12.0 V, 46-degree Celsius. currently, it has 66% charge. which never happened with other kernels. It was near or less than 1800mA when I use other kernels.

nhossainbd said:
Everything looks great, I found 1 issue.
It heats up a lot when plugged in for charging.. please have a look very carefully into your code and upload a newer version ASAP. because this might damage the battery or the phone itself.
---------- Post added at 09:27 AM ---------- Previous post was at 09:22 AM ----------
More details about this issue. hope it helps you. My phone charging at 2750mA. 12.0 V, 46-degree Celsius. currently, it has 66% charge. which never happened with other kernels. It was near or less than 1800mA when I use other kernels.
Click to expand...
Click to collapse
Its a feature, forgot to mention
Open terminal apps and copy paste this
echo "N" > /sys/module/smb_lib/parameters/skip_thermal
Then enter.
Sent from my POCO F1 using Tapatalk

Yousef Algadri said:
Its a feature, forgot to mention
Open terminal apps and copy paste this
echo "N" > /sys/module/smb_lib/parameters/skip_thermal
Then enter.
Sent from my POCO F1 using Tapatalk
Click to expand...
Click to collapse
Thanks a lot bro.

Kernel updated!
Previous one was reported has a bug, now fixed and can be downloaded in the OP! Enjoy!

Best kernel..
No screen freezes no lag in gaming..
Thanks for wonderful kernel:angel:

Shreyash01 said:
Best kernel..
No screen freezes no lag in gaming..
Thanks for wonderful kernel:angel:
Click to expand...
Click to collapse
Have u had screen freezes / ghost touches previously?

droidjunky90 said:
Have u had screen freezes / ghost touches previously?
Click to expand...
Click to collapse
Yes..

Shreyash01 said:
Yes..but this is best kernel I ever used
Click to expand...
Click to collapse
Wait is your screen Fts_ts or NVT?
---------- Post added at 09:37 PM ---------- Previous post was at 09:33 PM ----------
droidjunky90 said:
Wait is your screen Fts_ts or NVT?
Click to expand...
Click to collapse
Cuz soke of Fts_ts panels, have screen freezes and ghost touches and they are not solved till now or at least its Minimized when using the global miui kernel.

droidjunky90 said:
Wait is your screen Fts_ts or NVT?
---------- Post added at 09:37 PM ---------- Previous post was at 09:33 PM ----------
Cuz soke of Fts_ts panels, have screen freezes and ghost touches and they are not solved till now or at least its Minimized when using the global miui kernel.
Click to expand...
Click to collapse
Fts

good kernel. just tested it and it awesome on idle. add controller support for ps4

Hi! Where are tunables for dynamic stune boost?
The kernel uses too much of the max. freq. at the big cluster (it constantly jumps like min-max-min-max etc., even with zero cpu load)

roninspin said:
Hi! Where are tunables for dynamic stune boost?
The kernel uses too much of the max. freq. at the big cluster (it constantly jumps like min-max-min-max etc., even with zero cpu load)
Click to expand...
Click to collapse
Not sure what you've faced, its normal on my side.
{
"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"
}
Sent from my POCO F1 using Tapatalk

Yousef Algadri said:
Not sure what you've faced, its normal on my side.View attachment 4776563View attachment 4776564
Sent from my POCO F1 using Tapatalk
Click to expand...
Click to collapse
And what about the tunables?

roninspin said:
And what about the tunables?
Click to expand...
Click to collapse
/sys/module/dsboost/parameters/
Sent from my POCO F1 using Tapatalk

Related

[KERNEL][ALL ROMS][SEP 14] Glitch for Flo/Deb - r574

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.
{
"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"
}
​
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
logs
Git commits for nerdz & lolcats​
Latest release's changelog with words for humans :
14/09/2017 - r574 :
- Synced with latest LineageOS 14.1;
- Updated toolchain to Linaro GCC 7.1.1-2017.08;
- Added touchscreen-calibration fix patch by parrotgeek1;
Previous changes below :
17/07/2017 - r572 :
- Synced with latest LineageOS 14.1;
11/07/2017 - r571 :
- Synced with latest LineageOS 14.1;
29/06/2017 - r570 :
- Synced with latest LineageOS 14.1;
- Updated toolchain to Linaro GCC 7.1.1-2017.05.
03/06/2017 - r566 :
- Synced with latest LineageOS 14.1;
- Changed the behaviour of the permissive/not permissive switch to either force permissive or keep rom default (instead of forcing enforcing before) to prevent issues with some implementations;
- Added a service that restarts GMS (Google Mobile Services) post boot to fix memory leak/battery drain linked to them - Curently working in permissive mode only (like init.d and some advanced Synapse settings);
- Updated toolchain to Linaro GCC 6.3.1-2017.05.
07/05/2017 - r565 :
- Synced with latest LineageOS 14.1;
- Added a simple check for the MPDecision service starting mechanism used by your rom : If it's using the same trigger as LineageOS (init.flo.power.rc), you'll be able to enable/disable the service at will after boot. If it's using a different trigger, the binary will be nuked the old way (renamed to mpdecision_bck) if you're using the in-kernel msm_hotplug driver (effectively preventing you to play with it after boot). It's not a solution that pleases me, but it will fix cases of both hotplug drivers loaded at the same time on non-LOS-based roms, and that's all that counts for now.
14/04/2017 - r564 :
- Synced with latest LineageOS 14.1;
- Corrected HZ reference in touchscreen driver.
30/03/2017 - r563 :
- Fix potential touchscreen inconsistencies on some panel revisions
- Fix gesture switch (S2S/S2W/timeout)
27/03/2017 - r561 :
- Synced with latest LineageOS 14.1;
- Backported high-resolution support for sched-clock;
- Fixed CPU detection on subsystem_restart;
- Make rpm clocks sleeping clocks;
- Pushed updates from franco kernel regarding GPU, CPU freq and video;
- Added Zen I/O scheduler (pretty nice sched to say the least);
- Enabled I/O is busy flag for msm_hotplug driver by default (boosts CPU freq during heavy I/O load -> big smoothness gains in many apps and games);
- Added compiler fixes and optimizations from alesaiko (breakfast kernel);
- Moved to latest Linaro GCC 6.3.1 compiler (as the changes above fixed high power consumption issues on GCC5+);
- Consolidated Synapse support. The path of the generated config file is now /data/synapse instead of ramdisk to keep it safe during rom upgrades and reboots. If you get a "No UCI support" message on first Synapse launch, just kill the app and relaunch it. It'll not happen again after that unless you wipe data or I'm forcing a regen in a future update.
- Fixed init.d injection not using the correct path for busybox since a few releases and updated the execution process to N standards;
- Changed the way we get rid of mpdecision to prevent the service from starting in the init process instead of renaming the binary. This enables the possibility to enable or disable mpdecision on the fly after boot, even if using msm_hotplug as default hotplug driver.
- Fixed missing options in Synapse;
- Added various smaller performance patches and optimizations as well as a few more variables to play with for nerdz and lolcats (see github commits);
- Tweaked debugging config;
12/03/2017 - r544 :
- Sync with latest LineageOS 14.1
- Disabled backlight dimmer by default - Added a note to Aroma installer about potential issues with some panel revisions
23/12/2016 - r543 :
- Sync with latest CM14.1
18/12/2016 - r542 :
- Enable RPFILTER (CM14.1 tethering fix)
05/12/2016 - r541 :
- SElinux switch now works on boot without needing root access. As a result, also removed related post-boot script hooks
- Added prebuilt config file for Synapse for faster launch and fix possible error on first launch (clear Synapse data if you get issues)
04/12/2016 - r540 :
Due to some of the changes in this build, restoring settings from sdcard backup (by flashing Pure Edition or restoring through Aroma) may lead to different settings being applied depending on what you set before. It is strongly suggested to use the Full installation at least once to update your settings or delete glitch-settings.conf on the root of your sdcard before flash to use the default preset.
- Post CM14.1 merge cleanup pass. It was definitely needed ! Including, but not limited to :
- Removed Lazyplug and Intelliplug hotplug drivers (due to conflicts leading to performance issues)
- Removed Dynamic Fsync / Added switch to disable Fsync (after corrupting ~15 installations with DynFsync, I don't feel like it's worth the slight I/O perf boost)
- Replaced Showp1984's DT2W by flar2's S2W/S2S/DT2W (the touchscreen issues I faced with it aren't reproducible anymore)
- Removed LZ4 and use XZ compression instead
- Removed WQ_POWER_EFFICIENT (couldn't see a measurable gain with it enabled)
- Removed ROW ioshed
- Rollback'd to older Intellidemand governor​- Reworked settings application and restoration system to work with CM14.1/without SuperSU and load it early during boot by init hooking (CM14.1 PCC livedisplay related race condition "fix" included). Note : MultiROM users, you may want to disable MultiROM menu if you have it enabled to further reduce the chances to trigger the issue (completely fixed it on my side). Feel free to report your findings on the matter.
- Added flar2's ElementalX governor
- Updated default profile (the one you get while flashing Pure package or using restoration option in Aroma without sdcard backup)
- Updated thermal profiles
- Updated available options in Aroma
- Updated busybox to 1.25.1 YDS and moved from /sbin to the more convenient and standard /system/xbin
- Updated Selinux switches to work with more roms (now working on CM14.1)
- Moved Synapse files from /data/synapse to /res/synapse in ramdisk
- Updated Synapse presets
- Updated Synapse settings (Aroma installer will give more gestures-related options though, at least for now)
29/11/2016 - r534 :
This kernel will only work with AOSP 7.x and latest CyanogenMod 14.1 based roms. If you get incorrect colors and slow UI, rollback to r533 CM.
- Rebased using CM14.1 tree
- Updated color controls to mimic CM's PCC implementation (Thanks @flar2)
07/11/2016 - r533 :
- Added SDCardFS support
- Fix for CVE-2016-3903
- Fix for CVE-2016-3934
- Fix for CVE-2016-7117
- Added LazyPlug switch and settings to Synapse (hotplug tab)
- Added DT2W switch to Synapse (misc tab)
- Fix GPU voltage range formatting in Synapse
- Fixes regarding power efficiency
- Contextual fixes and speedups
- Now building CM variant of the Nougat kernel too. AICP is the first N rom on this device to require a CM compatible kernel.
14/09/2016 - r530 :
- Modified rom injection/flash time mods logic to be more robust and universal. Fixes inconsistent boot or even bootlooping on hybrid F2FS roms like CyanogenMod or PureNexus THIS CHANGE MAY FORCE YOU TO REFLASH YOUR ROM TO BE ABLE TO BOOT (even on a non-hybrid rom - no wipe required)
- Fixed settings not applying after setting them through Aroma/glitch-settings.conf
- Security patch to avoid invalid access to ashmem area
- Security patch for vulnerability CVE-2016-2059
- Removed deprecated binary injection code
- Default thermal presets calibrated for better efficiency and performance (they were too aggressive in r520)
- Little naming change for the builds. Full is still "Full", but "Restore" is now "Pure". Pure edition is now fully standalone and doesn't require a previously generated profile from Full edition (but will gladly restore it as before if found during install). It can be fully tweaked through config file and/or Synapse like Full edition.
- Nougat build "Full edition" now has a Nougat themed splash screen for Aroma
- Synapse presets are now working. Make sure to press apply when Synapse comes back if you want to keep it ! (Make sure to clear Synapse data after first boot to force a regeneration !)
- Small things you won't notice
24/08/2016 - r520 :
- Rebase from latest AOSP sources
- Synapse support with many more features and personnalization available than ever before ! Aroma settings are a joke compared to what you'll have in Synapse. Don't flash UKM on top by the way, and make sure to clear Synapse data if you've flashed one of the previews. Even more to come soon.
- Updated Neobuddy89's msm_limiter driver to latest from Nexus 6
- Updated Neobuddy89's state_notifier driver to latest from Nexus 6
- Moved to Faux123's Intelli-thermal driver
- Added some memutils optimizations and more for performance
- Updated Xbox One gamepad driver
- Removed loads of dead code and buggy merges
- Switched to Linaro 4.9.4 toolchain - After weeks of testing, my tab runs cooler, stabler, and longer than with 5.x for an invisible performance difference. Worth it !
10/08/2016 - Preview r516 is available here. More options available in Synapse which is now also enabled with the "full" build, merged android-6.0.1_r0.105, and various other tweaks for speed and power savings. Full changelog here.
04/08/2016 - A preview (r513) is available here. Synapse part still needs some work. Notably, some hotplug drivers options are missing and you can't apply presets. The kernel itself should be stable enough for day to day usage.
12/07/2016 - r499 :
- Fix for glitch settings not applying if the rom doesn't use the init.trace.rc file (Dirty Unicorns is one of them)
- Sync fstab with latest cm13 (may fix usb otg on cm13 based roms in some specific configurations)
11/07/2016 - r478 r498 :
- Synced source up to android-6.0.1_r0.98 changes (latest)
- Getting ready for rebase and Synapse-compatible release
- Removed deprecated libs from r478 installer (fixes setperm errors on some custom/recent roms)
- Fixed CM compatibility
10/12/2015 - r412 :
- Merged with android-6.0.1_r0.1 changes
- PowerHAL patch to fully disable touchboost calls when Qualcomm MPdecision isn't used. This gets rid of the touchboost log spam and (small) overhead.
- Updated F2FS
- Installer scripts fixes and cleanups
- Added back CM build - untested
02/12/2015 - r410 :
- Updated base to linux 3.4.110
- Merged with android-6.0.0_r0.1 changes
- Added Neobuddy89's MSM Limiter driver, enabling max/min/suspend frequencies tweaking on the fly. No more need to reflash for that (/sys/kernel/msm_limiter/ for who's interested). Also added his state notifier driver for further tweaking.
- Removed MSM Sleeper as it's covered by MSM Limiter already
- Changed how settings are applied (moved from init.d script to service) to prevent permission denied issues (Thx Flar2). Due to changes to the way your settings are handled, it's recommended to make a full installation. Settings aren't retrocompatible with previous Glitch kernels !
- Performance and stability improvements by removing coresight from Adreno drivers and better CPU management/scaling through MSM Limiter
- Aroma slight changes to reflect internal changes (note : CPU uV is now applied for both 384MHz step and lower ones)
15/09/2015 - r361 :
- Fixed no mobile network issue on DEB
- Disabled unnecessary debugging
13/09/2015 - r360 :
- Merged with android-5.1.1_r0.17 changes
- Added Lazyplug hotplug driver by Arter97 (you may need to make a full installation if you want to switch to this driver)
- Updated F2FS
- Updated BFQ to v7r8
- Added experimental Nvidia relaxed power savings
- More fixes and various optimizations regarding performance and efficiency
09/09/2015 - r353 :
Note : CM related issues some are encountering aren't adressed with this update. CM team is breaking more and more stuff while using AOSP bases for the kernel and I won't make a CAF based version again. The updated toolchain and added fixes in this release may or may not help, but I won't provide support for CM related issues anymore. Sorry for the inconvenience.
- Fixed SELinux switches (You'll need to use the restore function in full package or just the restore package to switch between permissive and enforcing modes. Enabling it in glitch-settings.conf isn't enough for it to work.)
- Disabled Android Logger by default for less overhead
- Updated toolchain to Linaro GCC 5.2.0 with LTO support
- Tiny fixes
02/07/2015 - r350 :
- Merged with android-5.1.1_r0.13 changes
- Fixed missing governors from previous release
- Added native support for Xbox One controller from Linux 3.17
- Fixed a potential instability case in idle state
- Updated base to linux 3.4.108
- Under the hood fixes
- CM and AOSP kernels are now sharing the exact same base for better stability and maintenance
08/05/2015 - Hotfix - r344 :
- Rolled back various GPU driver patches to fix some Chrome scrolling lockups and possible RR linked to the underlying bug linked to them
- Send enforcing=0 to kernel command line if you're using the permissive ramdisk mode (may fix boot on some non-standard roms - AICP still not booting for me though.. If you know why I'm all ears)
- Modify fstab.flo file in ramdisk even when using CM kernel (enables some non-standard CAF based roms with no "multi-mount fstab" support to boot - it mustn't exist, but better safe than sorry)
08/05/2015 - r343 :
- Merged with android-5.1.1_r0.10 changes
- Removed UKSM
- Disabled KSM
- Removed transparent compression support
- Replaced Flar2's S2W/DT2W by showp1984's DT2W
- Various F2FS changes from arter97 and Jaegeuk Kim
- Various backported drivers from arter97
- Updated Intelli-Plug
- Cleaned up base and bumped back to latest 3.4.y (3.4.107 atm)
- Enabled back kernel mode NEON
- Removed PIE bypass patch from Aroma
- Added Motorola's Qualcomm optimized memutils
- Added BFQ v7r7 ioshed
- Updated Intelliactive governor
- Fstab patching changes to fix boot on some non-standard roms
- Updated Random
- Updated toolchain to Linaro GCC 5.1.0 with LTO support
- Added LTO optimizations
19/04/2015 - r330 :
After breaking my partitions while attempting to improve F2FS mounting time, I was forced to format everything. After my backup restoration and system reinstallation, r327 F2FS implementation is now booting faster than EXT4 on my tab (with mounting times of ~5sec versus 30+ before). So I've then decided to revert the planned F2FS changes for r330 (which made it 1sec faster before formatting, but much slower after) as it didn't make sense. If F2FS mounting time is bothering you, fully formatting your partitions and restoring your data will give you a nice performance reward in return.
- Added flush_merge to F2FS mount options for faster flushing
- Added "transparent compression" support (CM sync)
- Added back optimized ARM RWSEM algorithm
- Enabled back unaligned memory access
- Switched to SIO ioshed (from ROW) at boot time as well as others small tweaks for possible further boot time improvements and smaller file size
16/04/2015 - r327 :
- Merged with android-5.1.0_r0.10 changes
- Updated F2FS implementation using Motorola's sources
- Cleaned up permissive ramdisk patches (fixed related SODs with it enabled)
- Introducing "restore" builds. You can now update your Glitch setup without Aroma using these builds. Your settings will be restored from the SDcard backup made by a previous Glitch installation, so if you don't have a "glitch-settings.conf" file in the root of your SDcard, please use a full build first to generate it ! The "full" builds are using Aroma as before.
- Updated toolchain to Cortex A15 optimized Linaro GCC 4.9.3-2015.03
07/03/2015 - r320 :
THIS UPDATE WILL NEED YOU TO REINSTALL YOUR ROM AND TO MAKE A FULL INSTALLATION OF THE KERNEL IF YOU'RE COMING FROM A PREVIOUS GLITCH RELEASE
- Updated F2FS implementation and bumped to latest
- Various scheduler optimizations - Better hardware use means potentially lower max OC !
- Improved boot times (At least with EXT4. F2FS mounting time feels a bit longer with the updated F2FS implementation)
- Reverted Slimbus OC as some users got issues with it
- Removed some ramdisk mods interfering with permissions
- F2FS/EXT4 detection script rewrite to preserve rom's fstab structure
- Added another permissive switch to disable SELinux enforcing (it will be enabled if you tick the permissive patch in aroma)
- Removed wifi patch from Aroma as it's now useless with lollipop
- Added some security patches from CM source
- CM kernel rebased on Glitch AOSP (again) - Looks good after a few days of intensive use
- A few little glitchy tweaks
- Updated toolchain to Cortex A15 optimized Linaro GCC 4.9.3-2015.02
16/01/2015 - r307 :
- Disable wake gestures by default
- Fix for a little color tweaking bug
- Updated CAF variant for CM12 support & sync with Glitch AOSP r307
Note : r307-CM is NOT compatible with CM11. It must be used with CM12 only.
12/12/2014 - r306 :
- Added vmalloc setting to command line to fix some video playback issues. Thanks to @szale9001 for pointing this out !
16/11/2014 - r303 :
- Added Chainfire's partial root ramdisk patch by default
- Added cernekee's PIE patch to Aroma (allows third party native executables to run, lowering security. Fixes various apps)
- Added SELinux permissive + sepolicy ramdisk patch to Aroma (enables full root access but lowers security. Fixes various apps)
15/11/2014 - r300 :
- Updated AOSP kernel with lollipop-release - BREAKS COMPATIBILITY WITH 4.4.x due to GPU driver changes !
- Removed interactive GPU governor
- Merged GPU patches from codeaurora & franciscofranco for better responsiveness and battery life
- Cleanups
26/09/2014 - r226-disabledAVS :
- r226 variant with disabled AVS for users with recurrent instability issues. Higher power consumption than standard build when used without uV.
Follow up to this post : http://forum.xda-developers.com/showpost.php?p=55566837&postcount=1943
22/09/2014 - r226 :
- Added experimental support for Kali Pwn Pad (as it was requested by some - Thanks for the list Flar2 )
- Disabled compaction (a little higher RAM consumption for higher performances - Doesn't seem to affect multi-tasking in a negative way)
- Disabled MSM hardware adaptive voltage scaling (should fix the last remnants of SoDs/RR happening for some even on other kernels - May lead to higher power consumption) I will make a test build with it disabled for who wants to try in the next days
- Updated Faux Sound to 3.6
- Enabled more TCP congestion-avoidance algorithms
- Enabled NFS support
- Moved exfat to built-in instead of module
- Added black magic
17/09/2014 - r223 :
- Better hotplug driver settings in 99glitchsetup script / Fix Qualcomm MPDEC activation
- Lowered "Glitchy" L2/bus settings to make it usable by more users
- Enabled various compiler optimizations (like some GCC graphite optimizations)
- Updated toolchain to Cortex-A15 optimized Linaro 4.9.2 2014.09
- Echo touch firmware version to logfile (/data/local/tmp/glitch-kernel.log)
10/09/2014 - r220 :
AOSP kernel only (CAF kernel will follow as soon as possible) :
- Rebase using latest Google source (fixing various bugs like SoD, random shutdown, slowdowns etc.) and staying on 3.4.0 base for now to prevent issues til I'm able to fix them all with latest Linux upstream
- Aroma Installer rework for less pages on fresh installation mode, similar to Flar2's presentation
- Added new options to Aroma installer
- Updated Flar2's S2W/DT2W system, enabling gesture support
- Replaced Showp1984's MPDecision by Fluxi's MSM Hotplug driver - new default
- Updated Faux123's Intelliplug hotplug driver as well as intellidemand & Intelliactive governors
- Updated/fixed Smartmax and Smartmax EPS (extreme power saving) governors
- Updated FauxSound
- Updated Flar2's msm_sleeper
- Added a backlight dimmer function
- Cleaned up/removed a vast amount of old patches
- Added release number to internal kernel naming so you know what version you're on
- Added a wlan firmware override setting in Aroma. This is basically the same as using 4.4.4 PRIMAtor to enable 4.4.3 or lower support or to fix wifi on a few roms that are using older wifi blobs
- Slight tweaking here and there
- Removed kernel-based NEON support - Needs more testing
- Switched to LZ4 kernel compression - Higher kernel size but faster boot times
- Updated toolchain to Cortex-A15 optimized Linaro 4.9.2 2014.08
05/07/2014 - r151 :
AOSP kernel only :
- Base update from Linux 3.4.86 to 3.4.96
- Removed some unnecessary Aroma pages for faster navigation
- Removed Qualcomm-Optimized Dalvik/Bionic from Aroma to prevent users from softbricks when used on incompatible ROM
- Added F2FS support
- Added F2FS partition detection script to modify ramdisk accordingly at flash time. You will need to launch Aroma installer each time you change FS on supported partitions (DATA, CACHE & SYSTEM) to refresh the ramdisk configuration (you can restore your glitch settings to do that btw, no need to clean install). You can use all of them as F2FS, or just one, you decide.
- Enabled Intelliactive governor
- Added CTCaer's patch to restore forced TS firmware update sysfs
05/06/2014 - r147 :
AOSP kernel only :
- Merged with 4.4.3
- Base update from Linux 3.4.82 to 3.4.86
- Switch to Cortex-A15 optimized Linaro 4.9.1 toolchain
25/02/2014 - r142 :
- Base update from Linux 3.4.79 to 3.4.82
- Added 81 MHz CPU frequency
- Updated ondemand governor
- Switch to Cortex-A15 optimized Linaro 4.8.3 toolchain
- Disable input-boost by default in Aroma
07/02/2014 - r140 :
- Update to Linux 3.4.79
- Switch to XZ compression
- Add kernel mode NEON support as well as NEON accelerated AES & XOR implementations
- Fix CPU load miscalculation
- jbd2 and ext4 optimizations
- Add max screen off frequency support - Thanks to Flar2 (if disabled in Aroma, changing frequency in apps won't have any effect)
- Add UKSM 0.1.2.2 support
- Add dynamic management of dirty page writebacks
- Enable Wiimote HID support
- Enable USB printer support
- Bugfixes
Aroma installer overhaul :
- Reworked installation process to be clearer and more customizable
- Added an automatic backup of your settings to the root of your internal SDcard
- Added a restoration mode to get your settings from internal SDcard backup back on any rom (cross-compatible with Glitch kernel variants)
- Renamed /system/etc/settings.conf to glitch-settings.conf to make it more obviously glitchy
- Removed the need to set CPU OC, L2/cache OC and auto-uV again when keeping previous settings (now reading it from your settings at flash time. Note : editing this part in /system/etc/glitch-settings.conf requires a reflash using the "already glitched" option)
- Added Qualcomm optimized Dalvik/Bionic libraries into the installer (bionic only on CM variant) so you can install/restore them with the kernel
- Added I/O scheduler, CPU governor, read-ahead buffer size, fast charge, max screen off frequency and maximum multi-core power savings to available settings
- Fixed how the min CPU clock is applied to make it more robust and work better with governors
- Fixed how the min CPU freq uV is applied to make it work independently of the min freq (by subtracting the uV amount to the original voltage instead of forcing plain values) - Also, make it capable of setting uV for all freqs for future use.
- Changed the auto-uV menu to reflect the internal changes
- Fixed some permissions issues
- Added hotplug driver check so it's possible to restore it as well from settings without interference
- Change theme
25/01/2014 - r132 :
Performance and stability improvements :
- Enhanced memory management
- Lower CPU overhead
- Improved I/O speed in many cases
- Improved ondemand governor behavior
- Fix a memory leak
- Fix some msm_bus bugs
- Fix a false error report in Aroma log
CM kernel only :
- Fixed the "black caterpillar" bug
- Improved GPU performance consistency
23/01/2014 - r130 :
- Faux123's LCD color control driver updated to Flo version (thanks to him to make it opensource), adding gamma control. (You'll need FauxClock to tweak it - color is still available from TricksterMod)
- Some GPU driver related bugfixes
- Implemented LoUIS API for cache maintenance operations
- Update base to Linux 3.4.77
- Revert some CAF updates (fixes some L2 corruption that could lead to random reboots / black screens)
- Battery life improvements
- Some cleaning
CM kernel only :
- Fixed color control
- Fixed random heavy GPU performance drop
- Changed memory allocation to be in line with CM
- Changed naming in Aroma to differentiate from "pure" AOSP
Older changelogs are available here
Looks like a nice kernel that will really show what this device can do
Sent from my Nexus 4 using Tapatalk 4
Thanks.
That's what I'm trying to make. And I *think* (may be wrong though) I'm the only one yet using a fully working GPU OC implementation on flo kernel. It's an adaptation of Galaxy S IV's (i9505) GPU OC code from Team Hydra.
It seems 627 MHz is around the max possible with stock voltage, probably even 600 MHz for many. I'll see what it can do with a bit more juice.
Other things to do : add more frequency steps for the CPU, lock the default freq, and make the L2/bus speed configurable.
After that I think we'll be able to push the thing to the limits if we want to.
Thanks for your hard work I'm going to try it on pacman ROM I'll let you know how it goes
Sent from my Nexus 7 using XDA Premium 4 mobile app
Thank you, I'm curious to know what results you'll get
Awesome so far .WOW
Sent from my Nexus 7 using XDA Premium 4 mobile app
---------- Post added at 12:20 AM ---------- Previous post was at 12:18 AM ----------
I wanna show u my settings, I use trickster, so sound and faux kernel app to get the results I need was going to show you pictures but all the sudden XDA premium has no picture button I'm a little lost their. Touch responses phenomenal and just like faux kernel the sound is this did really well I can finally listened stock sound sucks on this product even know what has supposedly way better speakers, thanks to people like you I can actually hear the videos I watch without headphones now. Thank you very much I've been using it for about 5 minutes swimming around on everything and everything smooth as hell
Sent from my Nexus 7 using XDA Premium 4 mobile app
---------- Post added at 12:21 AM ---------- Previous post was at 12:20 AM ----------
Add me on gtalk. [email protected]
Sent from my Nexus 7 using XDA Premium 4 mobile app
---------- Post added at 12:24 AM ---------- Previous post was at 12:21 AM ----------
I'm kinda pissed,paid XDA apk all of a sudden has no way to show pictures. Argggg
Sent from my Nexus 7 using XDA Premium 4 mobile app
The problem exists on the free app as well ^^
Try scrolling up and down away from the images and back on them, it'll eventually show up at some point.
Thanks for your work. I'll give this kernel a try.
Coming from N4 motley kernel I'll love to use init.d scripts to set up color "calibration", sleep states, etc. What do you think about implementing / documenting such features for your kernel?
Otherwise, let me see if I need something. Hm, what about USB OTG and ntfs/f2fs support?
USB OTG is working out of the box. NTFS/F2FS support isn't. I'll look into adding them =)
Your idea is nice, I'll think about it.
Thanks =)
Do you plan on adding Faux's color mod? I will give this kernel a shot and report back.
cyberprodigy said:
Do you plan on adding Faux's color mod? I will give this kernel a shot and report back.
Click to expand...
Click to collapse
When there will be some source, yeah why not =)
Tk-Glitch said:
When there will be some source, yeah why not =)
Click to expand...
Click to collapse
I am running the kernel right now. All I can say is "wow".
You did a fantastic job cherry-picking the best features from various kernels. I notice a slight increase in smoothness compared to Faux's kernel plus D2W and all the other great features you added so I think this may be my new main kernel.
I will use it over the next few days and report any issues I find and how the stability is. Thanks a lot for your work.
Edit: Also, I am running CleanROM and everything seems fine.
Thank you, so it may work with any rom then ! Good to know CM didn't break too much stuff leaving AOSP base.
sleep to wake, doubletap to wake disabled by default? don´t need it xD
need a fast stable kernel and especially want to disable fsynch. if u run a stable rom it justs takes useless power xD
i´m pretty new to the nexus7 like the most of us . is that kernel stable?
atm i´m using faux´s, also used franco. i dunno, but on franco´s i couldnt change gpu govenor and the 3dmark benchmark was about 3000points, stock is about 6000-7000. pretty strange.
i am a pretty minimalistic user, want best batterylife/performance ratio. only using psx, best rom for me
i think i´ll try that kernel
edit: what does "Snake Charmer" do?
edit2: read s2w stuff enabled by default, can it be disabled via trickster?
My N7 is running great with your kernel. Let's see what about perfomance and stability in two or three days. After checking and playing with trickster I miss a kind of dynamic fsync and a color calibration interface - compared to N4 m+ (motley) kernel.
Perhaps you can implement some upstream changes / patches directly from CAF or newer kernels.
It would be nice if you post some information about L2 speed hack, etc. So that everyone can see what this hacks do.
Which file are we supposed to use, they are all dated 20130919. I'm guessing the. 904.
airmaxx23 said:
Which file are we supposed to use, they are all dated 20130919. I'm guessing the. 904.
Click to expand...
Click to collapse
CM10.2-flo-Glitch-20130919.0904
2013 /09 /19/09:04
Year/Month/Day/time
dunno if latest point is time in this case when you compare it to upload date. but yes it seems to be latest. upload time and build date can be different, so i think it´s the time.
L-ViZ said:
CM10.2-flo-Glitch-20130919.0904
2013 /09 /19/09:04
Year/Month/Day/time
dunno if latest point is time in this case when you compare it to upload date. but yes it seems to be latest. upload time and build date can be different, so i think it´s the time.
Click to expand...
Click to collapse
Probably when it was compiled.
cyberprodigy said:
Probably when it was compiled.
Click to expand...
Click to collapse
Just a heads up for those who want to disable swipe2wake or doubletap2wake, you can turn them off with the Trickster app but I did not find a setting in the FauxClock app.

[Kernel][UB-5.2][CM/AOSP][5.1.X] MeGaByTe_Kernel_r4 [Colour Calibration][7/11/15]

{
"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"
}
MeGaByTe Kernel​Attention
/*
I'm not a developer, im taking effort to put more choices of kernel for our community.
This kernel is tweaked for my own taste.
Please do not request for more features because i want to ensure the stability of the kernel first.
And thank you for using this kernel.
*/
Disclaimer
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this Kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Features
- Compiled with latest Built with latest custom Uber 5.2
- Updated Kernel Base With CM
- Bioshock governer
- Mako hotplug
- MSM hotplug
- O3 flag
- graphite flag
- dev/frandom
- fiops IO schedulers
- vibration strength control ( sysfs set to /sys/vibrator/pwmvalue for compatibility with Trickster )
- Bricked hotplug
- Init.d Colour Calibration at bootup thanks to @Gustavo_s
- Faux Sound Control
- ZEN, SIO, FIOPS, VR IO schedulers
- Intelli Demand governor
- intelli Active governor
- Intelli Hotplug
- Intelli Thermal V2
- yankactive governor
- impluse governor
- smartmax governer
- adreno_idler driver
- enable zswap,frontswap ,vnswap
- usb fast charge added
- cpu voltage control added
- merged f2fs from motorola
- added Fsync from hTc
- added simple governer for gpu
- Enabled all kind Advance TCP
- MSM_Limiter by @neobuddy89 - More like a Swiss army knife! adds Per-Core Functionality!
- Linux 3.14 rc1 lockless ZRAM backported!
- crypto lib optimization
- ARM Cortex-A15 specific optimization
- exFAT support (for OTG)
- patches to reduce kernel latencies for network, fs
- selinux update
- VFAT, MM tweaks
- over 350+ patches!
- added core scheduler update
- backported 3.12+ kernel scheduler features
- fixed old cpufreq bug
- added LZ4 compression (faster than LZO)
- added various minor kernel bug fixes from CAF/kernel.org
- more accurate load calculations (better battery/performance)
- added mutex optimization (better multi-tasking)
- scheduler optimization (smoother multi-tasking)
- SELinux optimization (faster SELinux!)
- enabled XZ compression (reduce kernel size)
- UV control
- ARM unaligned access enabled
- updated LZO algorithms (used by many including crypto, zram/zcache etc)
- updated libraries with optimized kernel functions
- built-in snakecharmer (cpu limit from boot)
- optimized KSM
- oom updated to linux 3.14+
- lowmemorykiller optimization
- core sched optimization
- kswapd patch from mainline
- tuned kernel page_alloc for better multitasking
​
Pls Read This before flashing:
You need ROM's default kernel before flashing this as this kernel makes use of AnyKernel 2 by @osm0sis. Make sure you have it otherwise clean flash the kernel with the rom to avoid any issues.(At least dirty flash rom+kernel) Credits to @attack11 for some part of install script.Read FAQ's and changelogs in 2nd post. THIS KERNEL COMES FINE TUNED OUT OF THE BOX.
How to Flash:
1. Download the kernel and place it into your phone storage
2. Reboot into recovery
3. Install the kernel
4. (optional) Wipe Dalvik/ART Cache and Cache partitions
5. Reboot and enjoy!
PLS DON'T MIRROR THE LINKS
Recommended app:
Kernel Adiutor
I would like to say thanks to @Gustavo_s I used his kernel source as my base Thanks Mate @faux123 @RenderBroken @arter97
@franciscofranco @hurtsky for his commits
@Flashhhh @DC07 @zwliew @neobuddy89 @smartAgent47 for poster and many more ..last but not the least Cyanogen Team
XDA:DevDB Information
[Kernel][SM-4.9][CM/AOSP][5.1.X] MeGaBYTe_Kernel_r1 [Colour Calibration] [16/10/15], Kernel for the Moto X
Contributors
Megatron007
Source Code: https://github.com/Megatron007/ghost
Kernel Special Features:
Version Information
Status: Beta
Created 2015-10-16
Last Updated 2015-10-16
Download:
https://renderserver.net/browse?path=Megatron007/Megabyte/ghost
Looking for changelogs??
https://github.com/Megatron007/ghost/commits/mega-new Here they are!!!
F.A.Q. - Read this before complaining!
1. My phone exploded, HELP!
A: I don't answer to problems without a log. The log file is in /proc/last_kmsg. Paste it on pastie.org and link it on your post. Logcats are useless for Kernel purposes, don't bother posting them.
2. This kernel works on Y or X rom?
A: Works on all CM12/12.1 and AOSP roms. Not for stock roms!!
3. OMG BATTERY SUCKZ, ITZ DEAD IN 45 MINUTES, HELP!
A: As you can imagine I don't build kernels to decrease battery life. All the battery life problems come from your apps, either Facebook, or Maps, or some Location Service being enabled etc etc. Check your damn wakelocks and fix them, the kernel is not responsible for them.
4. How do I flash this?
A: Read the OP, theres a reason why I added instructions on it.
5. What is a data loss? Did I just had one?
A: Data loss is simply having the connection cut for X periods of time, usually few seconds. Grey bars means the device is not connected to Google services for some weird reason, but you'll still have internet connection.
6. OP is arrogant, I'm gonna call the Internet Police?
A: Deal with it.
Changelogs -
7/11/15
MeGaByTe_Kernel_r4
-Fixed Colour calibration reset issue
- Compiled with Lz4 compression and thanks to @tycoo for lz4 updates
29/10/15
MeGaByTe_Kernel_r3(Based on faux kernel)
- MSM_Limiter by @neobuddy89 - More like a Swiss army knife! adds Per-Core Functionality!
- Linux 3.14 rc1 lockless ZRAM backported!
- crypto lib optimization
- ARM Cortex-A15 specific optimization
- exFAT support (for OTG)
- patches to reduce kernel latencies for network, fs
- selinux update
- VFAT, MM tweaks
- over 350+ patches!
- added core scheduler update
- backported 3.12+ kernel scheduler features
- fixed old cpufreq bug
- added LZ4 compression (faster than LZO)
- added various minor kernel bug fixes from CAF/kernel.org
- more accurate load calculations (better battery/performance)
- added mutex optimization (better multi-tasking)
- scheduler optimization (smoother multi-tasking)
- SELinux optimization (faster SELinux!)
- enabled XZ compression (reduce kernel size)
- UV control
- ARM unaligned access enabled
- updated LZO algorithms (used by many including crypto, zram/zcache etc)
- updated libraries with optimized kernel functions
- built-in snakecharmer (cpu limit from boot)
- optimized KSM
- oom updated to linux 3.14+
- lowmemorykiller optimization
- core sched optimization
- kswapd patch from mainline
- tuned kernel page_alloc for better multitasking
24/10/15
MeGaByTe_Kernel_r2
- Compiled using Uber 5.2
- Updated base from CM
- Bioshock governer
- Mako hotplug
- MSM hotplug
- O3 flag
- graphite flag
- dev/frandom
- fiops IO schedulers
- vibration strength control ( sysfs set to /sys/vibrator/pwmvalue for compatibility with Trickster )
- Bricked hotplug
16/10/15
MeGaByTe_Kernel_r1
- Compiled with latest Built with latest custom Sabermod 4.9
- Init.d Colour Calibration at bootup thanks to @Gustavo_s
- Faux Sound Control
- ZEN, SIO, FIOPS, VR IO schedulers
- Intelli Demand governor
- intelli Active governor
- Intelli Hotplug
- Intelli Thermal V2
- yankactive governor
- impluse governor
- smartmax governer
- adreno_idler driver
- enable zswap,frontswap ,vnswap
- touch improved
- usb fast charge added
- cpu voltage control added
- merged f2fs from motorola
- added Fsync from hTc
- added simple governer for gpu
- Enabled all kind Advance TCP
Cant wait to dig through your source and check it out! Looks good so far!. Keep it up.
RenderBroken said:
Cant wait to dig through your source and check it out! Looks good so far!. Keep it up.
Click to expand...
Click to collapse
Thanks a lot Need to Improve this kernel more and more in Future Releases
Can you make one for stock rom too if possible?:fingers-crossed:
DaRkRhiNe said:
Can you make one for stock rom too if possible?:fingers-crossed:
Click to expand...
Click to collapse
I dont use stock rom , So i dont
Download and flash, thanks @Megatron007 suport of ghost
@Megatron007 you rock bro'!
Thanks for the effort! I'm gonna probe right now!
The selinux is permissive?
julianenciso93 said:
The selinux is permissive?
Click to expand...
Click to collapse
Enforcing
@Megatron007 excuseme but i see in kernel adiutor with your RR ROM that the kernel doesn't have any customization that you recommended in you BLISSPOP ROM... that's ok? :/
Thanks for your support!
CsR0501 said:
@Megatron007 excuseme but i see in kernel adiutor with your RR ROM that the kernel doesn't have any customization that you recommended in you BLISSPOP ROM... that's ok? :/
Thanks for your support!
Click to expand...
Click to collapse
can u ellobrate it ? i didnt get it
@Megatron007 this is awesome kernel!! The colour calibration is perfect to screen burn-in, really really thanks bro is very smooth and battery is good!!
PD: i not touch nothing in kernel auditor
Megatron007 said:
can u ellobrate it ? i didnt get it
Click to expand...
Click to collapse
Excuse me... I don't speak (write) english very well
You commented a type of configuration for kernel in your BLISSPOP ROM thread (http://forum.xda-developers.com/showpost.php?p=63212087&postcount=41)... but in MeGaByTe kernel i don't see that configuration... Is this ok?
CsR0501 said:
Excuse me... I don't speak (write) english very well
You commented a type of configuration for kernel in your BLISSPOP ROM thread (http://forum.xda-developers.com/showpost.php?p=63212087&postcount=41)... but in MeGaByTe kernel i don't see that configuration... Is this ok?
Click to expand...
Click to collapse
Its there in this kernel too + extra governers and i/o
CsR0501 said:
Excuse me... I don't speak (write) english very well
You commented a type of configuration for kernel in your BLISSPOP ROM thread (http://forum.xda-developers.com/showpost.php?p=63212087&postcount=41)... but in MeGaByTe kernel i don't see that configuration... Is this ok?
Click to expand...
Click to collapse
kernel settings are already set as default, I have not touched anything and everything is going great
julianenciso93 said:
kernel settings are already set as default, I have not touched anything and everything is going great
Click to expand...
Click to collapse
After flashing i don't see any configuration in kernel adiutor... do you?
CsR0501 said:
After flashing i don't see any configuration in kernel adiutor... do you?
Click to expand...
Click to collapse
Send me ss of it
Megatron007 said:
Send me ss of it
Click to expand...
Click to collapse
Same happened to me. Re-flashed Blisspop ROM + Kernel as per OP instructions. There is nothing new within kernel auditor options, in fact very basic options and no color calibration script under init.d. TIA
Sent from my Moto XT1053 powered by Tapatalk

[Kernel][surnia][6.0.X][CM/AOSP/STOCK] X-Infinity Kernel For Moto E 2015 LTE

{
"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"
}
This is my new X-Infinity Kernel for the 2015 Moto E LTE. It's based off the CyanogenMod kernel available on GitHub. Flash it using TWRP. Bug reports and contributions are welcome.​
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Governos
PERFORMANCE
POWERSAVE
USERSPACE
ONDEMAND
INTERACTIVE
CONSERVATIVE
IMPULSE
LIONFISH
I/O schedulers
NOOP
DEADLINE
ROW
CFQ
FIOPS
BFQ
ZEN
SIOPLUS
TRIPNDROID
Special Feactures
Double Tap Wake (DT2W) Add in the next build
More Feactures
Powered by Ubuntu 15.04 x86_64
LED notification support
Moderately undervolted
Updated to Linux 3.10.94
Synced with latest CodeAurora changes
Improved memory caching backported from Linux 3.15
Improved storage performance
Optimized ARM crypto routines
Updated f2fs and WiFi drivers
KCAL MDP5 colour control (by savoca)
Improved zRAM backported from Linux 4.1
Compiled with Linaro GCC 4.9 and optimized for Cortex A53
Stripped down and optimized configuration
Network speedup tweak
Reduce swappiness to 30
Optimized SLUB
Asynchronous I/O latency to a solid-state disk greatly increased
Disabled MMC CRC check
Compatible with Kernel Adiutor, Universal Kernel Manage and others
And More
X-Infinity For The Moto E 2015 LTE​
Old versions
X-Infinity R03 For surnia
X-Infinity R02 For surnia
X-Infinity R01 For surnia
Installation Instructions​
My suggested install procedure:
Boot into TWRP (make sure you have a suitable ROM installed)
Flash my kernel zip.
Reboot into Android.
@squid2
@casper1982 thanks for banner desing
@Tutodio thanks for testing
@Savoca
@faux123
@xperiafan13
@Flashhhh
@Christopher83
@eng.stk​
Screenshots​
XDA:DevDB Information
X-Infinity Kernel, Kernel for the Moto E 2015
Contributors
Carlos Arriaga
Source Code: https://github.com/KernelXInfinity/android_kernel_motorola_msm8916
Kernel Special Features:
Version Information
Status: Stable
Created 2016-01-08
Last Updated 2016-04-04
- changelog -
Code:
[B][SIZE="4"][COLOR="Purple"]X-Infinity R16 / 2016-04-4[/COLOR]
- Merged CM changes
- Added lionfish governor by squid2
- Added system wide power efficient workqueues
- sched/fair: Implement fast idling of CPUs when the system is partially loaded
- block: bfq: set IOPS mode by default with slice_idle set to 0
- lib/memcopy: use glibc version
- Optimized Square root algorithm
- Fixed low/poor call audio
- Security fix for CVE-2016-0728
- Optimize apply_slack() for size and speed --thanks to varunchitre15
- Enabled pipe flag
- Makefile : use std=gnu89
- block/deadline: tweaked for better performance
-Merged CM changes
- Added Impulse governor(fine tuned for osprey)
- arm/dt: msm8916: Schedule mmcqd on idle CPU
- arm/dts: msm8916: enable bam_dmax fast shutdown
- mmc: clk_scaling: set scale_down_in_low_wr_load to 1 by default for more performance
- Added toggle for crc check
- Optimized slub & zlib changes
- cpufreq: Ondemand: eliminate the deadband effect
- Cpufreq & devfreq patches
- Updated to Motorola Marshmallow sources
- Updates from CAF LA.BR.1.2.7_rb1.1
- Security and bug fixes from Linux 3.12.52
- Compatible with Marshmallow stock ROM
- More than a dozen CAF security fixes
- Miscellaneous bug fixes
- Somewhat smoother animations
- Added Intelliplug v4.0 by faux123
- Add Intelliactive & Bluactive governor
- block: Make CFQ default to IOPS mode on SSDs
- Added toggles to disable wlan wakelocks
- Makefile: optimize & cleanup
- Makefile: tell gcc optimizer to never introduce new data races
- Added Powersuspend v1.5 driver
- msm: mdss: add powersuspend hooks
- Dynamic Fsync 2.0 support for 3.10 kernels
- sched: enable HMP-aware task placement logic
- Disable more debug features
- Added adreno idler v1.1
- Merged updates from CM
- ARM: convert all "mov.* pc, reg" to "bx reg" for ARMv6+
- rcu: squashed updates from CAF
- Makefile: improve decompress performance during boot up process
[/SIZE][/B]
[B][SIZE="4"][COLOR="Purple"]X-Infinity R04 / 2016-01-27[/COLOR]
Add Governos
- Darkness
- zzmoove
- impulse
- intellidemand
Add Hotplugs
- Zen Decision
- ASMP
- MSM[/SIZE][/B]
[B][SIZE="4"][COLOR="Purple"]X-Infinity R03 / 2016-01-25[/COLOR]
Fixed low/poor call audio
Security fix for CVE-2016-0728
Add IOSHED thanks @Flashhhh
- ZEN
- SIO
- SIOPLUS
- TRIPNDROID
SELinux Update 3.10.95[/SIZE][/B]
[B][SIZE="4"][COLOR="Purple"]X-Infinity R02 / 2016-01-23[/COLOR]
merlin: test#1
osprey: test#1
surnia: Test #1
merlin: enable governors …
Optimize apply_slack() for size and speed --thanks to varunchitre15
Added frandom 3/3 …
Added frandom 2/3 …
Added frandom 1/3 …
Revert "Initial port fastchanger 3/5 "
Revert "Initial port fastchanger 2/5 "
Revert "Initial port fastchanger 1/5 "
Initial port fastchanger 3/5
Initial port fastchanger 2/5
Initial port fastchanger 1/5
fixed dt2w
Enabled pipe flag
Makefile : use std=gnu89
block/deadline: tweaked for better performance
merlin: add local version
Fix name
Enabled tcp fast open functionality
Reduce swappiness to 40
XZ: Optimize Sfck Compression 2/2
XZ: Optimize Sfck Compression 1/2
selinuxfs.c: SELinux permissive mode 2/2
hooks.c: SELinux permissive mode 1/2
merlin: enable DT2W
defconfig: new defconfig merlin
MARSHMALLOW ONLY
Updated to Motorola Marshmallow sources
Updates from CAF LA.BR.1.2.7_rb1.1
Security and bug fixes from Linux 3.12.52
Compatible with Marshmallow stock ROM
More than a dozen CAF security fixes
Miscellaneous bug fixes
Somewhat smoother animations
Experimental support for merlin[/SIZE][/B]
[B][SIZE="4"][COLOR="Purple"]X-Infinity R01 / 2016-01-08[/COLOR]
surnia: enable governors …
osprey: enable governors …
power: process: drecrease time to enter sleep
Reduced lag
Disabled MMC CRC check
VM_MAX_READAHEAD set to 1024 kbytes
Optimized SLUB
Asynchronous I/O latency to a solid-state disk greatly increased
Enabled Arch power and Disabled GFS
Dirty_ratio tweaks
Disabled noatime_and_nodiratime
kernel/sched/fair: reduce latency
Reduced_VFS_cache_pressure
Added some governors
Added some governors 6/8
Added some governors 5/8
Added some governors 4/8
Added some governors 3/8 …
Added some governors 2/8 …
Added some governors 1/8 …
Network speedup tweak
surnia: add local version
osprey: add local version
surnia: enable DT2W
osprey: enable DT2W
Starting port DT2W for osprey,surnia,merlin. 6/6
Starting port DT2W for osprey,surnia,merlin. 5/6
Starting port DT2W for osprey,surnia,merlin. 4/6
Starting port DT2W for osprey,surnia,merlin. 3/6
Starting port DT2W for osprey,surnia,merlin. 2/6
Starting port DT2W for osprey,surnia,merlin. 1/6 …
defconfig: new defconfig surnia
defconfig: new defconfig osprey
[URL="http://forum.xda-developers.com/moto-e-2015/orig-development/squid-kernel-moto-e-lte-2015-t3072209"]olds changes from squid kernel[/URL][/SIZE][/B]
- FOR CM13 ONLY!!!
- Updated to Linux 3.10.94
- Updated to LA.BR.1.1.3_rb1.41
- Updated zRAM
- Improved memory caching scheme from Linux 3.15
- Optimized memory allocation and management
- Optimized CPU scheduler
- Optimized performance event tracking
- Fixed some cpufreq races
- Minor bug fixes
- Patched Pronto CR-930533 vulnerability
- Fixed possible use-after-free in zRAM
- Updated to Linux 3.10.93
- Compiled with Linaro GCC 5.1
- Updated to Linux 3.10.92
- Updated to CAF LA.BR.1.1.3_rb1.36
- Updated to Moto Maxx 2 Kernel
- Security and stability improvements
- Fixed r10c SELinux regression on stock ROM
- Fixed encryption
- Patches for Android 6.0 compatibility
- Fixed move app to SD card issue
- Cleaned up DTBs to reduce size
- Added KCAL colour control (by savoca)
- Added optimized crypto routines for ARM
- Updated to Linux 3.10.90
- Optimized memory performance
- General cleanup and optimization
- Updated to lux kernel sources
- Updated to Linux 3.10.89
- Updated to LA.BR.1.1.3_rb1.32
- Small tweaks and optimizations
- Updated to Linux 3.10.88
- Updated to LA.BR.1.13_rb1.29
- Improved zRAM backported from Linux 4.1
- WiFi driver background scan changes
- Added adaptive low memory killer
- Included the WLAN NV patch I had posted earlier
- Downgraded WiFi driver to LA.BR.1.1.2_rb1.18
- This actually fixes the WiFi crashes :D
- Added LED notification support
- Updated WiFi driver to LA.BR.1.2.4_rb1.14
- Maybe this will fix bootloop issues for affected users
- Updated everything to LA.BR.1.1.3_rb1.25
- There were some interesting WLAN driver changes
- Maybe this will fix WiFi bootloop issue in r7c
- Updated WiFi driver to LA.BR.1.1.3_rb1.23
- Maybe it will fix DHCP issues with certain routers
- New universal flashing script
- Works on any surnia variant and ROM
- Updated to Linux 3.10.87
- Updated to Qualcomm LA.BR.1.1.3_rb1.24
- Updated to Motorola MMI-LPI23.72-9
- Added a few extra WiFi driver options
- Added CPU touch booster feature
- Rebased for use on 5.1 ROMS ONLY
- Updated to Qualcomm's LA.BR.1.1.3_rb1.21 release
- Updated to Linux 3.10.84
- Updated WiFi drivers
- Added my new and original Lionfish CPU governor
- Added Conservative CPU governor
- Added faux123's IntelliPlug CPU hotplug implementation
- Added BFQ IO scheduler
- Numerous bug fixes
- Updated to Linux 3.10.75
- Added FIOPS I/O scheduler
- Updated f2fs drivers backported from Linux 4.0
- Milder undervolt for improved stability and compatibility
- Uses full Boost Mobile ramdisk for CDMA variant
- Updated to Linux 3.10.74
- Milder undervolt to better support all devices
- Cleaned up defconfig and device tree
- Various minor bugfixes
- Fixed still picture taking with front-facing camera
- Initial public release
Reserved
Will we see this on the Otus ?
Just a fair warning to anyone who might get the idea to flash this on stock rom. DO NOT, I REPEAT, DO NOT TRY IT! You will lose your baseband! (I know because i was dumb and tried it, and had to flash factory firmware to fix it!)
KazuDante said:
Will we see this on the Otus ?
Click to expand...
Click to collapse
I do not think, I sold my otus and buy a surnia. but perhaps eventually otus.
hydroman202 said:
Just a fair warning to anyone who might get the idea to flash this on stock rom. DO NOT, I REPEAT, DO NOT TRY IT! You will lose your baseband! (I know because i was dumb and tried it, and had to flash factory firmware to fix it!)
Click to expand...
Click to collapse
No work on Stock LP, only works roms base CM13 or possibly AOSP-CAF
Carlos Arriaga said:
No work on Stock LP, only works roms base CM13 or possibly AOSP-CAF
Click to expand...
Click to collapse
I Actually switched to cm 13, It is a very nice kernel! Extremely smooth! Great Work!
hydroman202 said:
I Actually switched to cm 13, It is a very nice kernel! Extremely smooth! Great Work!
Click to expand...
Click to collapse
thank you for taking a chance.
Carlos Arriaga said:
thank you for taking a chance.
Click to expand...
Click to collapse
Your welcome. Thanks for making this!
Hey guys kernel work perfect in the AOSP-CAF by scritch.
I can also confirm that it works on caf 6.0 by @scritch007
Sent from my surnia using Tapatalk
For stock rom will be release?
hey one question where is the file of dt2w ? i cant see https://github.com/TecnoDV/android_...e/squid_marshmallow/drivers/input/touchscreen
dt2w when enable it and after rebooting, touchscreen do not respond anymore.
i'm on cm13
pixiebob said:
dt2w when enable it and after rebooting, touchscreen do not respond anymore.
Click to expand...
Click to collapse
I've had the issue, where the touch is forced on the recent button and screen was also unusable. Restarting fixed the problem.
Sent from my aosp_surnia using Tapatalk
rajit said:
hey one question where is the file of dt2w ? i cant see https://github.com/TecnoDV/android_...e/squid_marshmallow/drivers/input/touchscreen
Click to expand...
Click to collapse
my internet is slow, not yet upload the changes.
jamaniek said:
I've had the issue, where the touch is forced on the recent button and screen was also unusable. Restarting fixed the problem.
Sent from my aosp_surnia using Tapatalk
Click to expand...
Click to collapse
thanks i will try maybe later
Yea i just had one problem with touch not working correctly but after a force restart it have been working good and DT2W is really nice.
Im using CM13
Excellent work @CarlosArriaga

[KERNEL][CAF][5.1.1][TW / MIUI / ColorOS] Tensei_r5 [24/06/2017]

{
"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"
}
DISCLAIMER:
Code:
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
NOTES - MUST READ
1. Do not ask or request overclock. It wont be added.
2. This kernel uses AnyKernel 2, just like the Linaro Kernel by Nick Verse. So, it should work on all Galaxy J5 (2015) models. You test and report.
3. ROOT is not included in kernel, neither in the flashable zip. You have to flash SuperSU zip manually, after flashing the kernel.
Click to expand...
Click to collapse
THREAD INFO:
Post #1: Notes, requirements, features, download links, installation instructions, sources, credits, screenshots
Post #2: Changelog and bugs.
Click to expand...
Click to collapse
REQUIREMENTS / COMPATIBILITY:
- Galaxy J5 2015
- Official Touchwiz stock rom 5.1.1
- Stock kernel, unmodified
- TWRP 5.1.1
It also work on:
- MIUI Lollipop
- ColorOS Lollipop
Click to expand...
Click to collapse
FEATURES:
-Based on CAF source for improved performance / smoothness (LA.BR.1.1.3_rb1.11)
-Several CAF patches
-Fixed DirtyCow, QuadRooter and other vulnerabilities
-Updated GPU driver to MM source
-Adreno Idler: main goal is to lower the power consumptions while maintaining high-performance
-SELinux permissive
-init.d support
-silenced many kernel logs
-fixed some memory leaks
-KCAL: Color Control
-QuickWakeup driver
-Drivedroid support - put an OS on your phone and boot your PC using the phone. Not tested, but it should work.
-governors: default + enabled ondemand & conservative governors + @squid2's lionfish
-schedulers: default + FIOPS, SIO, SIOPLUS, ZEN v2 and BFQ I/O schedulers
-enabled advanced TCP congestions: default ones + Westwood, HSTCP, HYBLA, HTCP, Vegas, Veno, Scalable, LP, Yeah, Illinois + Sociopath
-4 hotplugs: IntelliPlug, MSM Hotplug, Bricked (MP DECISION), Alucard
-Prima WLAN driver
-tweak for better network speed
-tweaks to improve I/O latency on SSD
-many patches has been applied for faster I/O read / write
-CRC toggle: disabled by default (for more 30% performance according to its description)
-android log toggle on/off: disabled by default
-Fsync toggle on/off: Disabling it should improve the performance, but there might be data loss. More details here: https://forum.xda-developers.com/showpost.php?p=33381928&postcount=5
-arch_power and gentle_fair_sleepers toggles
-disabled CPU L2 Cache during video sessions to save more power
-removed verifiedbootstate flag from /proc/cmdline (in order to pass the SafetyNet CTS check with an unlocked bootloader, this patch is needed); I dont know if Pokemon GO game or something similar works now, you can check and report as im not playing those games)
Click to expand...
Click to collapse
DOWNLOAD:
Touchwiz Lollipop: ANDROIDFILEHOST | MEDIAFIRE
MIUI / ColorOS Lollipop: ANDROIDFILEHOST | MEDIAFIRE
Click to expand...
Click to collapse
INSTALLATION INSTRUCTIONS:
1. Be sure that you are using TWRP according to the Android version you are using.
2. Download kernel archive and put it on your external SD Card.
3. Now go to TWRP recovery by keeping pressing Power button + home button + volume UP button at same time for few seconds.
4. Install the kernel zip you have downloaded.
5. [OPTIONALLY] Install SuperSU.
6. Wipe cache and dalvik-cache to avoid issues.
7. Reboot.
Click to expand...
Click to collapse
SOURCE CODE:
Touchwiz Lollipop: ANDROIDFILEHOST | MEDIAFIRE
MIUI / ColorOS Lollipop: ANDROIDFILEHOST | MEDIAFIRE
Click to expand...
Click to collapse
CREDITS:
@osm0sis for the awesome AnyKernel.
@Saber for the awesome and the best guide with useful informations about governors, schedulers etc.
@Nick Verse
@ganesh varma
@jackeagle
@FrozenCow
@franciscofranco
@flar2
@squid2
@Sultanxda
@savoca
@faux123
@eng.stk
@FireLord
@Shoaib05
If you think you have been missed, let me know and i will add you.
Click to expand...
Click to collapse
XDA:DevDB Information
[KERNEL][CAF][5.1.1][TW / MIUI / ColorOS] Tensei_r5 [24/06/2017], Kernel for the Samsung Galaxy J5
Contributors
#Henkate
Source Code:
Kernel Special Features: Based on CAF kernel, fast and stable, hotplugs, enabled advanced TCP congestions, KCAL, security fixes, Adreno Idler, PowerSuspend
Version Information
Status: Stable
Current Stable Version: r5
Stable Release Date: 2017-06-24
Created 2017-01-24
Last Updated 2017-06-24
Reserved
bugs:
-The only bug is that sometimes when you power off / reboot the phone, it freeze and you have to take out the battery.
Click to expand...
Click to collapse
changelog:
24/06/2017
- removed i/o scheduler switcher. The random reboot should be gone ( my j5 didnt have any reboot with i/o sched swither and neither without it, while being in idle though, as i'm not using it)
- fixed two permissions of powersuspend (0666 --> 0644)
- added @squid2's lionfish governor. It is supposed to be more battery friendly. Test and report your feedback.
- added sociopath tcp: "this is basically tcp reno with no slow start and a much more aggressive ssthresh recalculation (lowers it by 5% instead of 50%)"
- fixed 9 vulnerabilities
about doubletap2wake and sweep2sleep:
this new update was supposed to have dt2w and sweep2sleep. I've added them by using the commits from other kernel and they were working, both. However, there were some issues:
1) dt2w wasn't working on the full screen. Even after choosing "full" in kerneladiutor, i still had to double tap in the bottom of the screen (half) to wake it. When i was double tapping on the other half of the screen (top), it wasn't working.
2) i dont know if sweep2sleep is supposed to work only in the bottom of the screen, but that's how it was working. It was fine though.
3) phone wasn't going to deep sleep, even when both were off. This is the major issue and that's why i've removed dt2w and sweep2sleep. I don't really have the knowledge to fix that and i'm not willing to spend time for that. Those commits which i've picked has powersuspend hooks and i had to update powersuspend to v1.8.1 as that kernel. Perhaps this version of powersuspend wasn't working properly and that's why it was causing the phone to not go into deep sleep? I don't know...
Click to expand...
Click to collapse
09/05/2017
- added i/o switcher: A driver which change the i/o scheduler to noop automatically when screen goes off and restore the i/o scheduler which was set before when screen is on after 10 seconds
- silenced much more kernel logs
- re-enabled swap & zram
- added sys interface to configure linux printk logging (debugging purpose)
- added gpu time_in_state stats (similar to cpu stats)
- added quick wakeup driver: Allow kernel driver to do periodic jobs without resuming the full system. It should increase battery life.
- added toggles for gentle_fair_sleepers and arch_power
- tcp cubic fixes
- added sioplus, zen v2 and bfq schedulers
- enabled conservative governor
- fixed some memory leaks
- fixed a problem where reboot on android panics the kernel almost every time when file systems are mounted over loop devices
- updated power efficient workqueue + fixes; enabled by default
- added gpu governor whitelist to prevent you from enabling gpu governors which are unstable / incomplete (bw_hwmon, bw_vbif, gpubw_mon; all those 3 make the phone freeze once are enabled). Now when you try to enable those, it wont change anything.
- misc fixes and improvements
Click to expand...
Click to collapse
07/05/2017
- wifi module is now smaller as it should be (~40mb -> ~3mb)
- disabled some kernel logs
- disabled zram, swap and everything else related to swap
- allow 320k aac encoding
- misc fixes and improvements
- increased charge time from 30s to 100s when battery status is near full
(when charger is online for a long time, such as 12 hour, the battery status changes from charging to full and resumes charging.
The reason is that battery is not full at the first full state. So increse charge time from 30s to 100s when battery status is
near to full. This methods will reduce the number of recharging time)
Click to expand...
Click to collapse
02/05/2017
- disabled android log and crc check by default
- added back kcal (color control), drivedroid support and power efficient workqueues
- removed verifiedbootstate flag from /proc/cmdline (in order to pass the safetynet cts check with an unlocked bootloader, this patch is needed); i dont know if pokemon go game or something similar works now, you can check and report as im not playing those games)
- tweaks to improve i/o latency on ssd
- fixed few security vulnerabilities (such as dirtycow and quadrooter)
- many patches has been applied for faster i/o read / write
- governors are more friendly towards latency-sensitive bursty workloads
- and other misc tweaks
Click to expand...
Click to collapse
16/03/2017
- reworked from scratch and based on caf source for more performance / smoothness (now i can clearly see a difference )
- updated gpu driver to mm source
- added crc toggle (enable / disable)
- enabled adaptive lmk by default and set vmpressure_file_min for msm8916 from caf
- disabled arch_power
- frezee bug is gone
- removed: Ota, kcal, soundcontrol, power efficient workqueues, zen governor, frandom
- removed also the ramdisk modifications as it may lower performance / smoothness. I might try again in future.
Click to expand...
Click to collapse
24/01/2017
- initial build
Click to expand...
Click to collapse
Upcoming update
reserved
Wait, so you ask what rom should you build and then build a kernel?!?
Trying it brb
Telepracity said:
Wait, so you ask what rom should you build and then build a kernel?!?
Trying it brb
Click to expand...
Click to collapse
I have said that ill publish the kernel, then i resume to RR, then i build a new rom.
#Henkate said:
I have said that ill publish the kernel, then i resume to RR, then i build a new rom.
Click to expand...
Click to collapse
wow you are a really busy man xD
small update
Few screenshots were attached at the end of first post.
There has been a small issue in the script of Anykernel, so OTA wont work. I have fixed this and updated the download links.
Please download and reinstall again in order to get OTA working. Im sorry for this small issue.
Installing kernel now, will get back with results in a couple of days.
kernel
DylanCl said:
Installing kernel now, will get back with results in a couple of days.
Click to expand...
Click to collapse
testingg
J500M Support? Thanks
HPM8294 said:
J500M Support? Thanks
Click to expand...
Click to collapse
This kernel is made for J500FN (using J500FN sources) but because it's using AnyKernel2, it should work on all models.
I've wrote this at notes in first post:
2. This kernel uses AnyKernel 2, just like the Linaro Kernel by Nick Verse. So, it should work on all Galaxy J5 (2015) models. You test and report.
Click to expand...
Click to collapse
J500M Work! Testing
@#Henkate, dattebayo! Am i right?? :laugh:
veez21 said:
@#Henkate, dattebayo! Am i right?? :laugh:
Click to expand...
Click to collapse
Yea xD
Let's stay on topic. Not all people know about animes haha.
To people who are asking what does mean that: "dattebayo" it's a Japanese word which Naruto says it often in the anime, it's like a verbal tic. It means "you know" or "believe it".
#Henkate said:
Yea xD
Let's stay on topic. Not all people know about animes haha.
To people who are asking what does mean that: "dattebayo" it's a Japanese word which Naruto says it often in the anime, it's like a verbal tic. It means "you know" or "believe it".
Click to expand...
Click to collapse
Yeah,:good:. Will test l8ter. :good:
I tested your kernel with my j500h model, Worked good without any problem
Thank you @#Henkate
come on give LP version pls
wyr007 said:
come on give LP version pls
Click to expand...
Click to collapse
Just be patient.
I just started building it. It will be available soon.
Lollipop version is out
Lollipop version is out. You find the download links in first post.
Lollipop version has additional changes:
Code:
-built with AOSP 4.8 toolchain (if im using 4.9 the phone gets stuck at Galaxy J5 logo, not even bootanimation; i didnt take a logcat yet)
-disabled CPU L2 Cache during video sessions to save more power[B][COLOR="Red"]*[/COLOR][/B]
-more security fixes[B][COLOR="Red"]*[/COLOR][/B]
* The changes with asterisk were already present on Marshmallow kernel.
The flashable zip has 24/01/2017 date because Lollipop version was supposed to be released yesterday too. However, if you take a look at Settings > About phone or Kernel Adiutor you will see that the kernel was built today.
Im waiting for reviews. I wanna know if you encounter the same problem like me, mentioned at notes in first post at 2) .
Now i can resume to RR, to work on a final update. RR kernel will also have Tensei features and probably few other changes for improving the battery since CM is faster than Touchwiz.
Phone "feels" faster, but that could also just be a placebo.
The only bug I've found yet is that my camera froze once after double-tapping to open it, but that hasn't happened since.

[KERNEL] NX Kernel | R30 | 07 AUG '20

{
"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"
}
​Short summary:
NX kernel aims at providing you a smooth experience, while maintaining the best of your battery life. The kernel requires no further user customization and therefore should be used as available.
Features:
• First unified S8/S8+ kernel for F(D)/N variants only: 1 kernel to support both devices.
• Permissive by default
• Knox 0x0 with Safetynet bypass
• LED fade control
• Wakelock control (blacklisting not adviced)
• Moro sound control
• Wake gestures mod by Flar2
• Memory management improvements
• Improved touch latency
• Drivedroid support (0.10.48+)
• Unofficial DEX support
• Wireguard VPN support
• Other misc. optimizations
Download link:
Pie
Credits to my dear testers:
@Benji1983
@bininga59
@destan4503
@hans_olo
@jeebspawnshop
@moelle
@mwilky
@parser
@pcvroon
@s-advance
@sswagonman
@teutate
@zafer61
Caution:
I am not responsible for anything that happends after flashing the work provided here.
Sharing is caring, so according to the (much unwelcomed) rule 12 you can use my open source on GitHub without my explicit consent or credits. But this is where the caring stops as I do not allow you to use any of my own provided files (except for unmodified stock files). Section 3 of this rule states that you can try to bypass my explicit consent by releasing it as your own when you succeed to make significant changes to the work.
Goodluck and happy CopyMaxing.
Source Code: Github
Changelog
R28
- Updated to DSF source
- Improved performance and efficiency.
Old changelog:
V1 - Initial XDA release, based on 2nd test 38
R2:
- Fixed freezes that was caused to a minority of users on particular roms
- Fast charging fixed to work for everyone
- Potentially improved battery life at the cost of slight overhead
R3:
- Fixups and hiccups
- GPU control added in Synapse
R4:
- Removed Synapse and OC, mtweaks is good enough
- Based on Test 50
R5:
- Oreo release
R6
- Merged N8 March Oreo source
- LED fixed
- WiFi blob detection fixed (still requires a few files due nvram path..)
- Faster booting
- Tweaked for better idle drain and battery life
R7
- Bug fixes caused by N8 merge
R8
- Rebased the kernel by filtering out bad changes for battery life, performance and so on.
- Updated to latest CRD source
- Fixed LED (hopefully definitely)
- Fixed WiFi (works like stock kernel)
- Mount system earlier to boot faster
- Added overclock for cluster1
- Fully Permissive (no longer fake enforcing)
R9
- Removed lots of useless stuff -> faster kernel and less size
- Still CRD7 based with CREF ramdisk (CRED source has worse battery life according to my groups experience)
- More stable LED implementation
- Removed Fsync/CRC toggles because data stability is way more important than this benchmark cheater
R10:
- Fixup of R9
R11
- REQUIRES NEW MODIFIED TWRP FIRST
- New fading led approach -> enabled by default and not bugging anymore. You can control it with Mtweaks V2.9
- Quotas enabled, which works thanks to the new TWRP. More info
- Some fixes and optimizations.
R12
- REQUIRES NEW MODIFIED TWRP
- Middle of rebase, not done yet..
- Manually updated to CRF
- Added CRGB support
- More unification work done (fixes Samsung's screw up by delaying probe after booting up, which would result in an unresponsive lockscreen until init occured.
R13
- REQUIRES NEW MODIFIED TWRP
- Merged CRGB source update (seems the R12 fix was short lived)
- Re-added changes I forgot for R12, e.g. Drivedroid support, OC.
- Fixed WiFi-calling as confirmed by @bininga59
R14
- Requires modified TWRP - See post for explaination
- Almost done rebasing
- Fixed bad code using GCC 7.3 (also fixed booting compiled kernel with 7.x/8x toolchains due bad alignment)
- Reduced kernel overhead, improved security (fully disabled debugfs)
- Removed ability to overclock the big clusters
R15
- Added TWRP patcher: During installation it will detect unmodded TWRP and modify it. If it detects a modified TWRP it will skip this step. If you care for MTP in TWRP then you still must flash the TWRP provided in post #644. The only reason I added this script is because many fail to follow instruction (flash modded twrp and kernel/rom).
- CRGH source update
- Re-added GPU sysfs and underclocked to 112Mhz
- Some under the hood optimizations for more stability, better consumption and idle improvements.
- Probably N9 port ready (untested)
- Still rebasing...
R16
- Linaro 7.3 compiled
- Re-added big cluster OC
- Fixed Gear VR & recording call bugs
- Not N9 ready (requires more ramdisk changes + still waiting for a working port)
R17
- Requires modified TWRP (due to proper Oreo support) -> See post 644
- CRI based
- Forgot the rest
R18
- CRK source drop merged
- Improved touch latency
- Updated LZ4 module to 1.8.3
- Other misc improvements; e.g. improved idle consumption, bug fixes, smoothness, snappiness etc.
R21
- Last kernel to support Oreo.
R23
- Properly upstreamed to 4.4.176 with no cpu bugs etc.
- Compiled with GCC 8 and fixed all buffer overflows -> should improve stability but also has an overall positive effect
- Better idle -> Don't take my word for that as I don't know how upstream will affect the change
- Touchscreen backport from Pixel 3 for better touch latency on S8 devices (too bad S8+ uses a different panel)
- Re-added overclock abillity
- Other minor optimizations that positively affect performance and battery life
R24
- Updated to latest DCSB source
- Upstreamed to 4.4.178*
- Sound control mod backported (requires latest Mtweaks)
- Wakegestures backported: Doubletap2wake, sweep2sleep, sweep2wake.**
- Fixed permissive state to work with banking apps (no reboots)
- Fixes on top of fixes and optimizations that will affect performance and idle drain.
* Still indecisive about upstream
** Enabling gestures will kill AOD touch and hard press to wake
R25
- Dropped upstream as I always was convinced it resulting in worse battery life.
- Switched from Zswap to ZRam.
- Added overclock abillity for little cores to 1898Mhz (fixed this possibility)
- Big cluster min clock is set to 858MHz
- Added GPU OC abillity to 572MHz
- Compiled with my custom compiler to target exynos-cortex (big.LITTLE)
- Some other minor optimizations to improve idle and battery life.
R26
• Compiled with custom GCC 9.1.1
• Updated to the latest available source for S8/N8.
• Selinux: now you can switch enforcing by writing "setenforce 0" in a terminal or by using an app like Mtweaks. This can be useful incase your banking app requires an enforced phone (e.g. rebooting)
• Updated moro sound control: fixes unlinked L/R control and resets
• Wake gestures: added a proximity state check so that an enabled wakegesture cannot wakeup the phone when the proximity sensor is active, like during a phone call.
• Other changes to improve performance, reduce kswapd usage and hopefully preserve a bit more battery life.
Reserved
FAQ​
Q: Does this support non stock roms?
A: The kernel does not support ports, e.g. note 9 port, while it may have the possibility to support note 8 based roms. This kernel will never have AOSP support.
Q: Can you add X to the kernel?
A: No, this is a personal kernel and therefore won't have what I don't want. This is a take it or leave it kernel, so if it doesn't have Spectrum, Flickerfree etc. then I'd leave it.
Q: I lost root
A: The zip contains no root, because rooting is optional. You need to flash Magisk manually after flashing the kernel.
Q: I have a problem!
A: Make sure you use no Xposed framework. If we have that cleared, please post a dmesg and last kmsg of the moment right after the problem occured. You can use Syslog app for that from the play store.
Q: Want my benchmark score?
A: No this is no pissing contest thread who can reach the furthest.
Q: Can I donate you?
A: No, I am doing this to improve my phone in the first place and sharing takes 2 clicks. Not into the money business by putting up a big ass donation button in the first post. Go spend your money on family or yourself instead.

			
				
Which build do it base on?
good!!!
Great kernel!!!
Glad to see it here
Best kernel about. Its been a pleasure testing and meeting you bro.
Running this kernel for ages :victory:
This is by far the best kernel for me
This is really good work
Never wanna miss it
Great work I will surely stay forever
Greetz benji1983
Nameless said:
Best kernel about. Its been a pleasure testing and meeting you bro.
Click to expand...
Click to collapse
That signature needs an update :laugh:
Thanks to the developer for this kernel. I'm gonna test this one. Anybody got problems with Synapse?
Verstuurd vanaf mijn SM-G950F met Tapatalk
Noxxxious said:
That signature needs an update :laugh:
Click to expand...
Click to collapse
I noticed and deleted for now lmfao :laugh:
@Noxxxious
Nice work mate
Finally !
In case of retirement, you have to ban me out of your telegram group and put me on ignore on private,
otherwise i'll never retire :laugh::laugh::laugh:
I enjoyed every single minute testing this great project..
Best kernel on Samsung S8 /S8+ planet....
Wow smooth...but battery baaaaaad
ibrakadabrax87 said:
Wow smooth...but battery baaaaaad
Click to expand...
Click to collapse
You've tested that faster than Zlatan
Installed, but phone completely freezes after a few seconds...
ikafka said:
Installed, but phone completely freezes after a few seconds...
Click to expand...
Click to collapse
So far nobody reported a freeze in the test versions, so I am curious. Do you own a S8(+) F/FD/N variant? If yes, reboot directly in TWRP on the freeze and make a dmesg + last kmsg.

Categories

Resources