[KERNEL][E6653/E6683][UBER] PixN Kernel For AOSP - Xperia Z5 Android Development

PixN Kernel​So this is the only custom kernel currently available. It's got a custom hotplugging solution and built-in exfat support. The camera fixes are iffy at 2.99b, works in 2.99
This is best used with my custom rom, here, but will work with any AOSP N based rom.
Maybe it'll work on CM devices too but I'm not sure. You may lose recovery on flashing this. Don't panic, just flash Zach's TWRP recovery after the kernel.
Eventually this will see many optimizations.
Built with the regular 4.9 toolchain. (Uber from 3.2)
About the screen dimmer:
You can echo 0 to disable and echo 1 to enable it via the sys path /sys/module/mdss_fb/parameters/backlight_dimmer
Click to expand...
Click to collapse
Or just use ExKernel Manager.
Downloads
In the DevDB Downloads tab. Since for some odd reason DevDB is giving me 410 when I tried to upload the newest kernel, it's uploaded as a 7z file. Extract it and flash/profit.
DevDB is down right now so the latest release is hosted on MEGA (from version 3.4)
The link to the folder is here
Changelogs
Release 1
Initial Release
Added (off by default) brightness dimmer.
Several tweaks for memory management/performance
Some commits for camera management, may or may not help.
Release 2
Interim Release
Added sdcardfs (test exfat behavior?)
Elementalx Governor
Row i/o scheduler
Westwood TCP Congestion Algorithm
Release 2.99
Beta Release
Fixed Camera
Bluetooth temporarily broken
Memory, touch input fixes
Fixed a rare random reboot
Fixed the ipa wakelock and some others
Release 2.99b
Beta Release
Bluetooth still temporarily broken (Will be broken on all 2.99, wait for 3.)
Added the impulse, intelliactive and intellidemand governors
Added proper powersuspend
Also added the Alucard Hotplug
NATIVE EXFAT SUPPORT! (Forgot to enable, sorry)
Release 2.99b1
This is a MAJOR release, but the bluetooth isn't working so still 2.99. Everyone should please use this one for battery and performance. Can't comment on the camera.
Beta Release + Super Stable Battery
Bluetooth still temporarily broken (Will be broken on all 2.99, wait for 3.)
Massive zswap and zram improvements
Fsync on/off support
Frandom
Faster Boot
Adreno Idler
Overclocking
NATIVE EXFAT SUPPORT!
Release 2.99b1b
This is a bugfix release.
Fixed slow charging.
Release 3.1b
This is a major release.
Added color control.
Fully tickless.
Bunch of other stuff.
FIXED BLUETOOTH!!
Rebuilt kernel for single sims with an older config to hopefully fix the SD Card (Needs testing)
Release 3.1b
This is a major release.
Built with Uber.
Also with Clang optimizations.
Rebase config to stock to fix bugs.
Added CPUQuiet.
Release 3.3
This is a major release.
Built with Uber 6.
Bunch of optimizations.
Added Nightmare, Darkness, Chill governors.
Added Alucard Boost.
Also added the Thunderplug Hotplug.
There's a new fiops interactive i/o scheduler.
A lot of wakelocks have been exposed but don't disable them and start filing bug reports, they're as per user discretion.
Release 3.4
This is a major release.
Fixed the Optimizations
More Wakelocks
Updated sources to reflect latest upstream additions
Might have fixed Bluetooth disconnects
Release 3.4
This is a major release. Go for it. It's on DevDB
Lots of Optimizations
Uses Power Efficient Workqueues
Added ARM64 cpuidle
Fixed Zen_interactive
XDA:DevDB Information
PixN Kernel, Kernel for the Sony Xperia Z5
Contributors
HaoZeke
Source Code: http://github.com/HaoZeke/kernel
Kernel Special Features: Camera, Dimmer, Sdcardfs, Overclock, Adreno Idler, Frandom, exFAT
Version Information
Status: Beta
Current Stable Version: 3.3
Stable Release Date: 2016-12-25
Current Beta Version: 3.5
Beta Release Date: 2017-01-12
Created 2016-11-16
Last Updated 2017-01-11

The e6653 kernel will be uploaded in a few hours...

HaoZeke said:
The e6653 kernel will be uploaded in a few hours...
Click to expand...
Click to collapse
Couldv you add exfat support?

albertobom said:
Couldv you add exfat support?
Click to expand...
Click to collapse
Sure, but I think that also needs the rom to specifically add the module too..
(I'll add that to the linked rom)

@HaoZeke, I have been using your rom for almost 2 days now. It is much similar to the other AOSP Nougat. In both the cases, the battery drains fast. Does not even last half a day. The UI is not very smooth. The touch also needs some work on it.

ganeshbiyer said:
@HaoZeke, I have been using your rom for almost 2 days now. It is much similar to the other AOSP Nougat. In both the cases, the battery drains fast. Does not even last half a day. The UI is not very smooth. The touch also needs some work on it.
Click to expand...
Click to collapse
Ok... Did you try the new kernel? The latest version (coming) has elementalx as the governor (enable by kernel auditor mod)..
My battery seems to do ok with the suggestions in the op...
Touch seems ok too.. Actually I build multiple times a day, it's possible an issue sneaked in.
The main reason for this rom is basically the native substratum support..
Does your substratum app show substratum or substratum legacy? In the uploaded release 1 for e6653 there was a small bug which was fixed for 1.1
EDIT:- I'm grateful for the feedback but this thread is for the kernel and related issues... Please post in the right thread...

HaoZeke said:
Ok... Did you try the new kernel? The latest version (coming) has elementalx as the governor (enable by kernel auditor mod)..
My battery seems to do ok with the suggestions in the op...
Touch seems ok too.. Actually I build multiple times a day, it's possible an issue sneaked in.
The main reason for this rom is basically the native substratum support..
Does your substratum app show substratum or substratum legacy? In the uploaded release 1 for e6653 there was a small bug which was fixed for 1.1
EDIT:- I'm grateful for the feedback but this thread is for the kernel and related issues... Please post in the right thread...
Click to expand...
Click to collapse
Sorry for posting in the wrong section. I recognized this after posting, so left it at that.
I am contnuing this in the right section.

Latest version uploaded for both variants. Extract the 7z and fastboot (or twrp) flash the kernels. This release fixes camera issues.

Could e6653 users with sdcard issues please test this kernel?

albertobom said:
Couldv you add exfat support?
Click to expand...
Click to collapse
Added exFAT support...

HaoZeke said:
Added exFAT support...
Click to expand...
Click to collapse
I will wait for a full flashable zip file with your amazing rom and kernel.
Keep up the amazing work.

albertobom said:
I will wait for a full flashable zip file with your amazing rom and kernel.
Keep up the amazing work.
Click to expand...
Click to collapse
Actually a full flashable version isn't currently a priority, since actually the system.img is a bit large to be zipped (cuz of the addition of gapps).
Eventually I'll start zipping the kernels, but again, not a priority..
It should be easy enough to set up.
First download the latest system.img from the ROM thread.
Then get the latest kernel here. (or whichever feature-set you want)
Also grab the recovery.
Put the phone in bootloader mode.
fastboot flash boot boot.img (or whatever the kernel is called)
fastboot flash recovery recovery.img
fastboot flash system system.img

Hey the latest build is up for anyone interested... This might be the last release for a while...
I feel like it's significantly improved... The camera needs work and some other bugs...
Battery life is around 1-1.5% idle.
Testers please post feedback.

@HaoZeke i flash the rom yesterday and the kernel. For me everything was working fine except the camera, whis is upside down. I like the rom, very smooth, i cant tel the battery cause i have 12 hs with it. The kernel you put for test for me is working fine. This kernel will work on CM?

Zaisesl said:
@HaoZeke i flash the rom yesterday and the kernel. For me everything was working fine except the camera, whis is upside down. I like the rom, very smooth, i cant tel the battery cause i have 12 hs with it. The kernel you put for test for me is working fine. This kernel will work on CM?
Click to expand...
Click to collapse
Excellent, I'm glad the test kernel is working, could you try 2.99b1? That has many battery and performance fixes, the older kernels were giving me around 2-3% battery usage per hour, with the new one it's 1-1.5%..
CM I'm not sure, it should maybe work with cm-14.0 but cm-14.0 has been depreciated in favor of cm-14.1 ...
I don't know if there is a cm14.0 for the Z5..
By the way, if I may ask, why are you interested in CM ? Any particular feature?
I ported substratum on AOSP since the cyanogen theme engine wasn't ready for nougat...
So I was wondering if there was anything else people particularly wanted...

HaoZeke said:
Excellent, I'm glad the test kernel is working, could you try 2.99b1? That has many battery and performance fixes, the older kernels were giving me around 2-3% battery usage per hour, with the new one it's 1-1.5%..
CM I'm not sure, it should maybe work with cm-14.0 but cm-14.0 has been depreciated in favor of cm-14.1 ...
I don't know if there is a cm14.0 for the Z5..
By the way, if I may ask, why are you interested in CM ? Any particular feature?
I ported substratum on AOSP since the cyanogen theme engine wasn't ready for nougat...
So I was wondering if there was anything else people particularly wanted...
Click to expand...
Click to collapse
I will give a try tonight. I line cm cause allways works very good for me. Mm.. I like you dont need to flash supersu to get root. But with your rom and cm. There is no diference. Just cm is 7.1 and yours 7.0. I really like both, the only thing i dont like and more useful for me are camera and fingerprint, which both arent working. I will test the new kernel and will tell you in a few hours. Thanks!

Zaisesl said:
I will give a try tonight. I line cm cause allways works very good for me. Mm.. I like you dont need to flash supersu to get root. But with your rom and cm. There is no diference. Just cm is 7.1 and yours 7.0. I really like both, the only thing i dont like and more useful for me are camera and fingerprint, which both arent working. I will test the new kernel and will tell you in a few hours. Thanks!
Click to expand...
Click to collapse
I'm glad the rom is working well... Actually hold off the kernel, in a short while I'll upload another (really the last for a few days)
Actually the sony sources for 7.1 aren't ready since sony uses 3.18 as a Linux kernel base...
The integrated su I was planning to add for the next rom release..
I used to be a huge cm fan but recently I feel cm has left supporting sony phones.. So.. I switched to aosp

HaoZeke said:
I'm glad the rom is working well... Actually hold off the kernel, in a short while I'll upload another (really the last for a few days)
Actually the sony sources for 7.1 aren't ready since sony uses 3.18 as a Linux kernel base...
The integrated su I was planning to add for the next rom release..
I used to be a huge cm fan but recently I feel cm has left supporting sony phones.. So.. I switched to aosp
Click to expand...
Click to collapse
Yes, al cm roms are unofficial. I like aosp and cm cause the battery was allways better. But i do love stock for the camera, fingerprint and stability. And im allways changing roms. I like your aosp rom. For now is very stable. When can i try the kernel i will tell you. Thank!

Camera fix out.

New release fixing the charging.

Related

Mourta Kernel, the continuation of IODAK's excellent work.

Featuring a new cpufreq interface, AbyssplugV2, intelliplug and a whole host of new additions that are not available in any other kernel for the x3.
Among them are updates only found in this kernel, saner defaults via config, better optimizations for the actual code and a rewritten version of devfreq.
It also have an updated baseband configuration and built in rather than to keep a module as it makes no sense to have a vital function as a module.
https://bitbucket.org/mourta/liquid_kernel_lge_p880-stable/
Kernel: http://www.mediafire.com/download/viy5a3dtaccd0gm/mourta-stable-08-23.zip
If there is a request for it i also have a ROM available based on grouper blobs, AD optimizations and a build around this kernel with a new dev tree.
For kernel install, it's anykernel, you can install it on any custom ROM, for stock and the lastest updates you will have to head over to Modaco and my original thread.
Note that this is a one time release, if you like it you'll have to head over to modaco to get updates.
it should be noted that the recommended settings is using intelliplug (you may need to use kernel tweaker or trickster mod for that if you're not running my ROM, and abyssplugv2, i also recommend ROW for a sheduler and Westwood for your congestion handling.
Note that you can now overclock to any frequency and it will feed the GPU chip with the needed volatage, this is great for cooking a roast beef but not for any practical use.
Quadrant scores are 8k and the last Antutu was at 16487, no overclocking but you won't reach that without using my ROM.
And with that... i'm done.
Thanks to the IODAK, Fransico, Adam77Root, Faux123 and others that provided code and/or input.
Oh, what I see here? The awesome kernel I'm testing with @ottomanhero and lucaarx and the great dev and friend @IcanhasLG coming back on xda? Let's rock hard&heavy, right now!
peppethustra said:
Oh, what I see here? The awesome kernel I'm testing with @ottomanhero and lucaarx and the great dev and friend @IcanhasLG coming back on xda? Let's rock hard&heavy, right now!
Click to expand...
Click to collapse
We'll see how this goes.
Thankfully i am in touch with a mod that will keep this drama free,
And for anyone wondering, peppethustra is head of my testing crew, you get stable releases because of them.
It should be noted that i'm still going to prefer the forum that greeted me over the one that shunned me from the get go, updates here will be sporadic at best but on time on the other forum.
It's great to see your work on XDA.Now everyone can experience your awesome work
P.S. you can find neccessary links in my signature
Great work, running your kernel now.
But Iodak was not updated since long ago and its sources does not contain many great fixes from cm11 kernel.
Thats why Demetris relased Cyodak kernel in Android development section. It's Iodak brought up to date with latest cm 11 kernel .
It would great to see Muorta Kernel based on Cyodak instead of old Iodak. We would have your exclusive features with up to date cm11 kernel upgrades. But maybe you already upgraded iodak's source, let us know
FunkyRasta said:
Great work, running your kernel now.
But Iodak was not updated since long ago and its sources does not contain many great fixes from cm11 kernel.
Thats why Demetris relased Cyodak kernel in Android development section. It's Iodak brought up to date with latest cm 11 kernel .
It would great to see Muorta Kernel based on Cyodak instead of old Iodak. We would have your exclusive features with up to date cm11 kernel upgrades. But maybe you already upgraded iodak's source, let us know
Click to expand...
Click to collapse
Obviously, the real necessary updated patches have been implemented yet ("continuation" means this, too), so it's not necessary nor in Mourta's plans to base it on cyodak (which really isn't the only way to find updated code for our device)
peppethustra said:
Obviously, the real necessary updated patches have been implemented yet ("continuation" means this, too), so it's not necessary nor in Mourta's plans to base it on cyodak (which really isn't the only way to find updated code for our device)
Click to expand...
Click to collapse
That's what I wanted to know, as OP didn't explicitly stated it. Thanks
FunkyRasta said:
That's what I wanted to know, as OP didn't explicitly stated it. Thanks
Click to expand...
Click to collapse
Outdated sources never are a good base for developing a fresh new kernel or ROM, if there is a new compatible code implementation ready to be merged into the code That's the first thing a good developer checks (and if you can, look at Mourta's bitbucket linked in the OP to view his commits, there will be all the principal news about new code implementations)
Tried this but I loose my modem every now and then and the screen won't wake sometimes.
baxtex said:
Tried this but I loose my modem every now and then and the screen won't wake sometimes.
Click to expand...
Click to collapse
Go to Modaco and find newer version (26/8/2014) . It will resolve problems like yours
Okay will do.
How's the deep sleep ?
Written from my Optimus 4X powered by Omni 4.4
LGaljo said:
Go to Modaco and find newer version (26/8/2014) . It will resolve problems like yours
Click to expand...
Click to collapse
this version, according to trickster mod, does not use deep sleep state and still screen won't wake up sometimes. so i dropped it for now.
greetings
peter
peter_altherr said:
this version, according to trickster mod, does not use deep sleep state and still screen won't wake up sometimes. so i dropped it for now.
greetings
peter
Click to expand...
Click to collapse
Can you give more info about your ROM, kernel settings, setup etc. and provide a logcat if possible? That's a rare issue you're having there.I've used my phone for 20 hours now, (%3 battery left) and it slept for about 15 hours, same version.
I suggest you to try flashing the kernel twice.I had such problems with iodak kernel back in the time and flashing it twice had fixed the deep sleep issue.
ottomanhero said:
Can you give more info about your ROM, kernel settings, setup etc. and provide a logcat if possible? That's a rare issue you're having there.I've used my phone for 20 hours now, (%3 battery left) and it slept for about 15 hours, same version.
I suggest you to try flashing the kernel twice.I had such problems with iodak kernel back in the time and flashing it twice had fixed the deep sleep issue.
Click to expand...
Click to collapse
+1
@peter_altherr And more important thing: have you at least wiped cache and dalvik before flashing the kernel? If yes, try wiping system partition too (no factory reset, you can leave /data partiton intact) then reflash ROM, gapps and kernel, and see how it goes..wait 3 or 4 minutes before trying to wake up device, after the first boot, and deep sleep would start without problems
I have tried the 26/8 version but that still gives me RIL problems, I get no signal whatsoever. I cannot grab a logcat as I need my phone to work right now but I'm Running latest beanstalk version.
baxtex said:
I have tried the 26/8 version but that still gives me RIL problems, I get no signal whatsoever. I cannot grab a logcat as I need my phone to work right now but I'm Running latest beanstalk version.
Click to expand...
Click to collapse
Wait for next version, great changes will come even about this issue
@peter_altherr you should unplug it from charger and try unplugged.
when charging cpu never reaching deepsleep.
@ whoever had freeze/sod problems with last kernel version: a new fixed release has been uploaded (it's a minor release: reverted GPU OC, which was causing the problem). Check official thread for the download link
my phone does not see SD card with 0902
and yes im 100% sure its kernel problem....recovery sees my sd, and so iodak kernel

[KERNEL][CM12.1][Linaro 4.9] EvoMix Kernel for CyanogenMod 12.1 based ROMs

This is a kernel for Cyanogen Mod 12.1, which is based on the EvoMix kernel by Alx31TLse, olivieer and SuperHanss (full credits to them). It is compiled by a Linaro 4.9.3 toolchain, which was optimized for Cortex A9 CPUs (thanks to Christopher83). It has a focus on stability, performance, endurance and overclock-ability (roughly in that order).
It uses the original ramdisk of the installed kernel (thanks to osm0sis), for maximum compatibly in the long run and instant adaptability to most source changes of CM. For now, it probably only works with the very latest unofficial CM12.1 built by qsnc (http://forum.xda-developers.com/showpost.php?p=58006383&postcount=1), due to the introduction of new sensor drivers! It should now works with other CM12.1 based ROMs, like crDroid and PAC, too. Please don't report bugs to qsnc, if you are using this kernel!
Features:
CPU: over/under-clock 1728MHz-192 MHz possible
governors: ondemand(plus), intelliactive, wheatley, ElementalX, ...
GPU: over/under-clock 487MHz-27MHz
governors: simple, performance, powersave, ondemand, conservative
File-systems: ext2/3/4, F2FS, exFAT, NTFS
Schedulers: noob, deadline, row, cfq, bfq, sio, fiops, zen, vr
intelli-plug hot-plugger and power saver (disable MPDecision first!)
Voltage Control (OC/UV)
Sound Control 3.x
poweramp controls (loudness enhancements)
screen colour tweaks
full NEON support
KSM support (Kernel Samepage Merging)
multicore power saver (recommended: enabled)
multirom compatibility
...
Performance: about 10% faster than original CM12.1-kernel with same settings, and some additional 20% speed by using maximum over-clocked frequencies (use at your own risk, every device is different!)
Configuration: Kernel Adiutor (https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor) or PerformanceControl 2.2.6 (http://forum.xda-developers.com/devdb/project/?id=600#downloads)
Install: just flash the attached zip with CyanogenMod Recovery, TWRP (http://forum.xda-developers.com/xpe...very-twrp-2-8-7-0-pollux-polluxwindy-t3187811) or CWM
Install a custom recovery first! The simple CyanogenMod Recovery, which comes with most ROMs, is pretty useless anyway..
Uninstall: re-flash the complete ROM (just re-flashing the original kernel is not enough!)
Sources: https://github.com/EvoMix/kernel_apq8064 (to obtain the defconfig: run "unpigz -cd /proc/config.gz")
Special thanks to Alx31TLse for his help and permission to post it!
Changelog:
2015-08-23:
rebuild using latest optimized Linaro 4.9.4 compiler by Christopher83
re-signed zip-file in order to make it compatible to file signature verification
refuses now to be installed by CyanogenMod Recovery
2015-06-13:
added Pollux version (use official nightly or recent unofficial build)
fixed bug in Sound Control's loudness enhancement, that only one speaker worked
removed inteli-active governor, due to random reboots
2015-05-31:
enhanced boot speed and file-system performance
buggy auto-hotplugger removed
reintroduction of CM's MPDecision (re-flash CM12.1 first, before installation!)
2015-05-28:
initial release
IF INSTALLATION FAILS: If the kernel installation is not working (i.e. installation takes less than 5 seconds and you don't see the new bootlogo), reflash latest ROM, reboot into recovery and try to install the kernel again!
XDA:DevDB Information
EvoMix Kernel for CyanogenMod 12.1, Kernel for the Sony Xperia Tablet Z
Contributors
BlackAfghan, Alx31TLse, olivieer and SuperHanss
Source Code: https://github.com/EvoMix/kernel_apq8064
Kernel Special Features: CM12.1 EvoMix kernel, compiled by a Linaro toolchain, which supports OC/OV, intelli-plug, Sound Control, NTFS, exFAT, F2FS, NEON, KSM, ...
Version Information
Status: Stable
Just installed latest unofficial CM12.1 built by qsnc and this kernel. Seems great so far! Boots a lot faster and kritika plays faster!
I'm trying the overcloacking with Kernel Adiutor set to 1728MHz, I've to 3C widgets installed to monitor temperature and such. Great job!
May seem a bit offtopic but how is the combination intelliplug-ondemandplus?
I think i get some lag with this but it may be a placebo
pangiotis24 said:
May seem a bit offtopic but how is the combination intelliplug-ondemandplus?
I think i get some lag with this but it may be a placebo
Click to expand...
Click to collapse
First, I also used this combination, but experienced some lag, too. It is not necessary to enable intelliplug and I'm not sure if it does any good, since hot-plugging is handled by auto_hotplug. Actually it is not even included in the original EvoMix kernel.
I'm now using only intelliactive, which seems to keep the frequencies low most of the time, while producing only minimal lag.
But maybe it is really a matter of believe..
Teella said:
I'm trying the overcloacking with Kernel Adiutor set to 1728MHz, I've to 3C widgets installed to monitor temperature and such. Great job!
Click to expand...
Click to collapse
The over-clocking capabilities of the EvoMix kernel are rather conservative. I personally use it with maximum CPU and GPU frequencies and even a general -50mV under-voltage, and it seems to be perfectly stable. But no guarantee, every device is different!
Thanks for Kernel !
Multirom Patch inclusive ?
phillipssat said:
Thanks for Kernel !
Multirom Patch inclusive ?
Click to expand...
Click to collapse
Yes, I think so. But please try it out and confirm if it works, since I have not tested it!
BlackAfghan said:
First, I also used this combination, but experienced some lag, too. It is not necessary to enable intelliplug and I'm not sure if it does any good, since hot-plugging is handled by auto_hotplug. Actually it is not even included in the original EvoMix kernel.
I'm now using only intelliactive, which seems to keep the frequencies low most of the time, while producing only minimal lag.
But maybe it is really a matter of believe..
Click to expand...
Click to collapse
Traced the cause.After some time with intelliplug+ondemandplus cores 2,3,4 are permanently disabled.Now i am on intelliactive.Very good so far
I've been using Wheatley and OC 1728 for couple days now. No lag, no heat issues, everything is just peachy!
Hi! Can I use this kernel on my sgp321 Pollux? Tried to flash but get error.
Pollux build will be released later...
New build in first post!
pangiotis24 said:
Traced the cause.After some time with intelliplug+ondemandplus cores 2,3,4 are permanently disabled.Now i am on intelliactive.Very good so far
Click to expand...
Click to collapse
Could you please retry it with the new version?
bgx said:
Hi! Can I use this kernel on my sgp321 Pollux? Tried to flash but get error.
Click to expand...
Click to collapse
If you, or anybody else, is able to re-flash the original CM12.1 kernel via fastboot (in case something goes wrong) and is willing to beta-test, write me a PM!
Yes its kexec patched, but we need to make tab z official to multirom app support, problem is...im running out of time, full time job, 10 months old baby ...kernel is time consumer, thanks to BlackAfgan to maintaining it.
More goodies to come
Tapatatrached from my Yuga
So apparently my tablet hates me. I can't get this kernel to actually flash for ****. I'm using the 5/27 CM 12.1 from the OP. Tried both versions of the kernel. It acts as if it flashes but is much too fast and the kernel version is the same. TWRP 2.8.5.0 from the OP link too.
EDIT: Nevermind I guess. Moved it to the root of the internal and renamed it to a shorter filename and it pushed it properly. No idea what was going on.
DarkStarr said:
So apparently my tablet hates me. I can't get this kernel to actually flash for ****. I'm using the 5/27 CM 12.1 from the OP. Tried both versions of the kernel. It acts as if it flashes but is much too fast and the kernel version is the same. TWRP 2.8.5.0 from the OP link too.
Click to expand...
Click to collapse
Try to format /system, reflash CM 12.1, reboot into recovery again, then flash the latest kernel, please.
Alx31 said:
Yes its kexec patched, but we need to make tab z official to multirom app support, problem is...im running out of time, full time job, 10 months old baby ...kernel is time consumer, thanks to BlackAfgan to maintaining it.
More goodies to come
Tapatatrached from my Yuga
Click to expand...
Click to collapse
Great! Thanks for your excellent work. I wish you all the best for your family! They are more important than any device..
BlackAfghan said:
Try to format /system, reflash CM 12.1, reboot into recovery again, then flash the latest kernel, please.
Click to expand...
Click to collapse
Yea I had done that. It only worked after moving it. I also renamed it at the same time so I dunno which fixed the issue.
DarkStarr said:
Yea I had done that. It only worked after moving it. I also renamed it at the same time so I dunno which fixed the issue.
Click to expand...
Click to collapse
I had the same problem, especially when I flashed an already flashed kernel. I never found the actual reason, but at one point it started to work perfectly all the time..
This is due the pretty complicated process of splitting the original kernel of and recreating the new one in real time, on the device. Normally the developer does this on his PC, and releases a directly flashable combination of the actual kernel and a custom ramdisk.
If other people have the same problem persistently, I may publish an conventional kernel. Please report!
Does this work on "[Rom][UB][5.1.x][SGP311]☆Dirty Unicorns v9.3☆ Unofficial +EvoMix Kernel" rom??
So i tested the latest version.I use intelliplug+intelliactive
No issues so far.Intelliplug is shutting down cores faster which will propably save some juice
Also feels a little colder than before when gaming(asphalt 8)

RealONE Kernel for CM and based versions

RealONE Kernel for Moto X 2014!
Only CM or based CM versions like RR,NX...
And only Android M too
Features:
Compiled with UBERTC 4.9.4
Optimized Entropy
FauxSound
Power Suspend
Improved accuracy of MultiCore
CRC disabled by default( 30% extra perfomance on I/O)
Swappiness reduced to 15%
UnderClock CPU (268 Mhz)
Activated Power Eficcient Worqueues
#Governors:
ZZmove
Intellidemand
Smartmax Extreme Power Saver (eps)
Intelliactive
#Hotplugins:
MSM_Hotplug
Intelliplug
Alucard
MSM MP Decision
#I/O Schreduler:
Added Zen
All credits goes to Michel Borges
Thanks Leonardo Augusto
Thanks Faux123
Source of the Kernel on github:
https://github.com/RealOne-Kernel/RealOne-Victara-Kernel
could you give instructions on how to flash a kernel in our device?
marquesini said:
could you give instructions on how to flash a kernel in our device?
Click to expand...
Click to collapse
This is not the place for that.
jlink38 said:
This is not the place for that.
Click to expand...
Click to collapse
oh, ok.
then I dunno, pm me an external link for that ? i really want to try change the kernel, but don't want to mess up the device, i could google it but preffer a recommendation of a tutorial by someone who understands more about it than i dunno.
anyway, thanks.
Hello, your kernel is very good, very fluid and good battery consumption in CM13, it would be possible in the future to add support KCAL?, can change the saturation, contrast, etc., thank you for your work.
[DEV][PATCH] KCAL - Advanced color control for Qualcomm MDSS 8x10/8x26/8974/8084/8939
Great kernel. Has improved battery life quite a bit !
Thanks!! Testing on CM13... Looks good
Good battery consumption.
Sent from my XT1095 using Tapatalk
Great kernel so far, thanks for making a custom kernel for 6.0, I've been waiting for one.
Would it be possible for you to add support for DriveDroid to your kernel?
http://forum.xda-developers.com/showthread.php?t=2196707
https://play.google.com/store/apps/details?id=com.softwarebakery.drivedroid&hl=en
Thxx , give me more feedbackk ! And I'll take a look at suggestions at the weekend guys !!
Can't wait to see what this can do..bout to flash now!!!
some people say they are taking random reboots .. anyone had ? maybe a log for me ?
MichelBorgess said:
some people say they are taking random reboots .. anyone had ? maybe a log for me ?
Click to expand...
Click to collapse
Yes i had that issue, but i reflashed cm, I'll retry tomorrow and get you some logs (hopefully i have time, I'm doing my finals now...).
MichelBorgess said:
some people say they are taking random reboots .. anyone had ? maybe a log for me ?
Click to expand...
Click to collapse
I'll try.its happened a few times to me
---------- Post added at 08:47 AM ---------- Previous post was at 08:39 AM ----------
Where can I post my logcat?
http://pastebin.com/ try this
Your kernel its a dream hahahaha I was waiting for a kernel with fauxsound since I've bought this phone. So, first of all, thank you very much for your kernel and we appreciate your work and your time spent with this kernel. But lets get to the facts:
1) In RR 5.6.0 your kernel cause bootloop;
2) In CM13 (specifically 2015-12-12 build) I had a lot of random reboots and the sound (specifically Play Music and Deezer) sometimes was cracking or just not played;
3) In CrDroid I had the same thing in CM13 but the rom has some serious bugs, so we don't count it;
4) In Nexus Experience 10.0.4 I just had ONE random reboot (take note: the first boot, so lets blame the instability of the rom) and, since then, my phone is working completely perfect.
5) With kernel auditor all of my preferences are saved and sticked after a reboot (in Nexus Experience 10.0.4)
Note: All of the Roms was fresh installed, wiped everything (including internal storage) then installed ROM->GAPPS (NX GApps in Nexus Experience and OpenGApps in the other roms)->KERNEL
Maybe with some work in your kernel and in the newer roms, this phone will gain some fresh air!
Thank you again!
Ps.: not an american guy, so please, I'm sorry for any english mistake
victor19 said:
Your kernel its a dream hahahaha I was waiting for a kernel with fauxsound since I've bought this phone. So, first of all, thank you very much for your kernel and we appreciate your work and your time spent with this kernel. But lets get to the facts:
1) In RR 5.6.0 your kernel cause bootloop;
2) In CM13 (specifically 2015-12-12 build) I had a lot of random reboots and the sound (specifically Play Music and Deezer) sometimes was cracking or just not played;
3) In CrDroid I had the same thing in CM13 but the rom has some serious bugs, so we don't count it;
4) In Nexus Experience 10.0.4 I just had ONE random reboot (take note: the first boot, so lets blame the instability of the rom) and, since then, my phone is working completely perfect.
5) With kernel auditor all of my preferences are saved and sticked after a reboot (in Nexus Experience 10.0.4)
Note: All of the Roms was fresh installed, wiped everything (including internal storage) then installed ROM->GAPPS (NX GApps in Nexus Experience and OpenGApps in the other roms)->KERNEL
Maybe with some work in your kernel and in the newer roms, this phone will gain some fresh air!
Thank you again!
fix in next build
Click to expand...
Click to collapse
Yo guyss ! I redid the kernel, and apparently restarts stopped .. is still simpler, more 'll keep updating
zzmoove
intelliplug
IO Zen
https://www.androidfilehost.com/?fid=24340319927533603
I don't understand this thread. The OP has a different username the one above who has released v2? And why hasn't this been moved to 'original development'?
floepie said:
I don't understand this thread. The OP has a different username the one above who has released v2? And why hasn't this been moved to 'original development'?
Click to expand...
Click to collapse
I just asked for Vinicius post for me , since I had not yet allowed to post in section ...

[9.0/8.1] Baddar Kernel [GCC 10.0][CAF+Linux Stable][Update : 11/7/2019]

Introduction
Hi everyone, after building the updated los kernel I decided to build a fully custom kernel for our device. So why call it "baddar" ? it was the first name I used for the kernel and its my family name so I kept using it .
in this kernel I'm following these rules :
Security. Always updated to latest available stable Linux & CAF patches.
Stability. Tested first by myself and with many other users before posting it here.
Smoothness. Smooth navigation is must, I hate lag.
Balanced. Performance and battery must be balanced.
Features
Fully based on CAF 3.18 kernel source with latest Linux-stable merged in.
Always updated to latest drivers i.e WiFi, sdfat, etc
Built using latest GCC 9.1.1.
Custom features are heavily based on Franco work.
Vibration intensity control.
Wakelock blocker enabled by default with user control (boeffla wakelock blocker).
Fsync control.
USB fast charge up to 900mA.
Westwood TCP enabled and used by default.
zRAM optimization. (Disabled by default)
Fingerprint boost. Slightly increase the unlock speed and make it respond faster.
Interactive governor tweaks and optimization.
Kcal support.
VR & low persistence support (WIP).
50% battery bug fix.
CAD project support.
Common android kernel fixes and optimization.
Wireguard Support
and many more.
Future plans
Adding more governors & I/O that favor performance / battery when needed.
Attempt to fully fix low persistence issue in daydream.
Making the kernel better after every release.
Telegram Group
Want to test latest betas? feature request? a suggestion ? or report your issue , join my kernel group , I'm much more active there and the group community there is the best.
Join Here
Kernel Version : RC1.2
Linux kernel version : 3.18.140
CAF tag : LA.UM.7.5.r1-05300-8x96.0
last update : 11/7/2019
TREBLE ONLY
Kernel Source
Downloads
Here
Credits
@Unjustified Dev
@OrdenKrieger
@nathanchance
@franciscofranco
@deega
@SaintZ93
All telegram testers who without them this kernel would not possible , Huge thanks to them
reserved for future use (FAQ & Changelog)
Changelog :
Update RC1.2
New in this update :
Merge latest CAF updates for both kernel and wifi (LA.UM.7.5.r1-05300).
Merge latest linux stable updates 3.18.140.
Merge latest aosp msm updates (up to 3 of july)
Add input boost again (disabled by default), enable it for extra performance using EXM or similar apps.
Remove Wireguard (temporary)
Compiled with GCC 10.
thank you, i will try it.
Edit: It works amazing! phone is much cooler than before but remained snappy performance. Awesome!
Great work baddar,thank you! My axon 7 has great performance and battery life again with the new os systems
Testing it right now
Does this kernel support DriveDroid? That's a feature I have been missing for a long time.
SkaboXD said:
thank you, i will try it.
Edit: It works amazing! phone is much cooler than before but remained snappy performance. Awesome!
Click to expand...
Click to collapse
Yep , very smooth and fast without any warm up during normal usage , any improvement in battery life ?
Predatorhaze said:
Great work baddar,thank you! My axon 7 has great performance and battery life again with the new os systems
Click to expand...
Click to collapse
you are welcome , enjoy it.
Fuilares said:
Testing it right now
Click to expand...
Click to collapse
how was your test ?
Kingo64 said:
Does this kernel support DriveDroid? That's a feature I have been missing for a long time.
Click to expand...
Click to collapse
Don't know what is this so I would say no.
@king1990 I went back to stock because aex and other custom ROMs i tried have delay when opening apps and it's very annoying. it open apps significantly slower than stock ROM. I set animations same as stock rom, 0.5x,0.5x and 1.0x. I can disable animations but it will look stuttery. Kernel is good, no question, but it wasn't enough for me to stay on custom rom.
With the current corruption happening on 5.x with GCC9, you're brave to use it. I would wait to know more about the issue first.
SkaboXD said:
@king1990 I went back to stock because aex and other custom ROMs i tried have delay when opening apps and it's very annoying. it open apps significantly slower than stock ROM. I set animations same as stock rom, 0.5x,0.5x and 1.0x. I can disable animations but it will look stuttery. Kernel is good, no question, but it wasn't enough for me to stay on custom rom.
Click to expand...
Click to collapse
No problem here and none of the users who tested the kernel reported that.
geearf said:
With the current corruption happening on 5.x with GCC9, you're brave to use it. I would wait to know more about the issue first.
Click to expand...
Click to collapse
what issue you mean ?
king1990 said:
what issue you mean ?
Click to expand...
Click to collapse
https://bugzilla.kernel.org/show_bug.cgi?id=203573
geearf said:
https://bugzilla.kernel.org/show_bug.cgi?id=203573
Click to expand...
Click to collapse
how is this related to android ?
king1990 said:
how is this related to android ?
Click to expand...
Click to collapse
It's the same kernel and the same compiler.
The corruption may only be limited to bcache, but maybe not.
geearf said:
It's the same kernel and the same compiler.
The corruption may only be limited to bcache, but maybe not.
Click to expand...
Click to collapse
We are using 3.18 kernel and a CAF one so nothing to worry about.
THis should work on RR6 right? I have vendor also but RR6 does not use it if I am remembering correct. anyway I am not getting a boot with RR 6 and I cant figure out why. I was on hellsgate before and i just went back and its booting again. Any ideas Maybe I cant simply flash over hellsgate, annoying.
madhits45 said:
THis should work on RR6 right? I have vendor also but RR6 does not use it if I am remembering correct. anyway I am not getting a boot with RR 6 and I cant figure out why. I was on hellsgate before and i just went back and its booting again. Any ideas Maybe I cant simply flash over hellsgate, annoying.
Click to expand...
Click to collapse
yeah if you get any ROM to boot then you can use my kernel and flash it over any other kenerl
king1990 said:
Yep , very smooth and fast without any warm up during normal usage , any improvement in battery life ?
you are welcome , enjoy it.
how was your test ?
Don't know what is this so I would say no.
Click to expand...
Click to collapse
So after few days I must say, that I got much better performance, but comparing to Hellsgate Reborn kernel battery life is worse.
Fuilares said:
So after few days I must say, that I got much better performance, but comparing to Hellsgate Reborn kernel battery life is worse.
Click to expand...
Click to collapse
well you can't get this performance for free but I doubt the hit in battery life is big.
king1990 said:
yeah if you get any ROM to boot then you can use my kernel and flash it over any other kenerl
Click to expand...
Click to collapse
Ok so any tricks to getting it to boot after flashing over hellsgate?
---------- Post added at 06:25 PM ---------- Previous post was at 06:24 PM ----------
Fuilares said:
So after few days I must say, that I got much better performance, but comparing to Hellsgate Reborn kernel battery life is worse.
Click to expand...
Click to collapse
How did you flash over hellsgate, I could not get it to boot. I cleared cache and no dice, anything else you did?
madhits45 said:
Ok so any tricks to getting it to boot after flashing over hellsgate?
---------- Post added at 06:25 PM ---------- Previous post was at 06:24 PM ----------
How did you flash over hellsgate, I could not get it to boot. I cleared cache and no dice, anything else you did?
Click to expand...
Click to collapse
it does not boot ? which RR are you trying and what vendor ?

[v1.1.1][KERNEL][lavender] JellyKernelAlpha

Hello,
I started making kernel builds again.
CHECK BELOW FOR IMPORTANT INFORMATION!
YOU MUST USE MIUI Q FIRMWARE PACKAGE FOR THIS KERNEL TO WORK. OTHERWISE YOU'LL END UP IN FASTBOOT MODE FOREVER.
Camera won't work on a lot of ROMs due to imcompatible camera drivers in the kernel. This kernel uses a patch for MIUI Stable 11.0.4 release, which introduced updated camera blobs back in Android Pie. Double check, whether your ROM uses these blobs. MIUI Q uses different blobs too, thus won't work until Xiaomi releases it's kernel source code.
FLASH THIS BEFORE FLASHING MY KERNEL. I UPLOADED FIRMWARE PACKAGE FOR YOUR CONVENIECE!
DOWNLOAD LINK FOR MIUI Q FIRMWARE PACKAGE
Flashing procedure is standard - through recovery. Magisk is optional, only if you want root.
*big thanks to rama982 for possible insights and some help from his side*
*nathanchance for android-linux stable and helping upstream our kernels*
*franciscofranco for commits that made our phone happier and snappier*
*sultanxda for his beastly development in Android scene and ridiculous understandment in kernels in general*
*also thanks to osm0sis for Anykernel3. Without this, flashing kernels would be a harder process to do*
XDA:DevDB Information
JellyKernelAlpha, Kernel for the Xiaomi Redmi Note 7
Contributors
airidosas252, rama982, nathanchance, Qualcomm, Code Aurora Forums, osm0sis, other developers
Source Code: https://github.com/airidosas252/Xiaomi_Kernel_OpenSource
Kernel Special Features: Stability, latest kernel sources
Version Information
Status: Testing
Created 2019-11-22
Last Updated 2020-02-01
DOWNLOAD LINK FOR GITHUB RELEASES
Due to different kernel base, older releases are irrelevant from now on.
UPDATE: I added a link for MIUI Q firmware package in the OP. Check it out and remember to flash it first before flashing my kernel. Thanks.
-------------------------------CHANGELOG------------------------------
Jelly Kernel Alpha 1.1.1 Hotfix
ALSA: pcm: Add missing copy ops check before clearing buffer (bootloop after voip videocall should be gone now)
-----------------------------------------------------------------------------------------
Jelly Kernel Alpha 1.1 beta release
IMPORTANT INFO! Camera won't work on a lot of ROMs due to imcompatible camera drivers in the kernel. This kernel uses a patch for MIUI Stable 11.0.4 release, which introduced updated camera blobs back in Android Pie. Double check, whether your ROM uses these blobs. MIUI Q uses different blobs, thus won't work until Xiaomi releases it's kernel source code.
If this kernel is not booting for you (going straight to fastboot mode), you need to use MIUI Q firmware package.
Changelog:
*Bringup for Clang 10 and it's now compiled with Clang 10
*Using LZ4 compression for zRAM
*Forcefully load modules (this should fix Wi-Fi problems on various ROMs)
*Rapid GC for F2FS filesystem
*Added fsync and crc check switches
*kgsl fixes and optimizations included
*Introduce additional NEON accelerated arm64 routines
*cfq io scheduler fixes and optimizations
*Tick rate increased to 300HZ for improved responsiveness
*CPU mask affinity set to 4 cores for improved efficiency
*Enabled F2FS filesystem support with encryption
*F2FS fixes
*Increased slmk's aggression rate to 192MB per app kill
*Enabled Dolby DS2 audio standard
*And more I don't really remember, check commit history for more detailed changes
-----------------------------------------------------------------------------------------
Jelly Kernel Alpha 1.0 beta release (don't use this release, it's deprecated)
*Complete rebase on jasmine's Q tag.
*Linux 4.4.211
*Adrenoboost enabled and set on low parameter
*Workqueques reworked for better responsiveness and lower power consumption
*Small UV for both CPU and GPU
*CPU Bitmasking
*DTB debloat (reduced kernel's footprint)
*LA.UM.8.2.r2-00600-sdm660.0 CAF tag
*Using older Wi-Fi CAF tag for better down/up speeds
And more stuff I don't remember.
-----------------------------------------------------------------------------------------
DISCLAIMER:
-There will be 1-3 kernel builds per week, unless there's nothing I can improve, then builds will be as is.
-Anyone, who has tested it already, give me some feedback in the comments.
-If you get freezes, crashes, restarts, write me up with a attached dmesg, log, anything, that can give me a clue what's wrong. Thanks. Happy JellyKernel'ing ^^
Where is the download link?
Zulwiczek1983 said:
Where is the download link?
Click to expand...
Click to collapse
Use the browser - there's a section DOWNLOADS above the thread. There you will find my kernel build. Cheers.
Zulwiczek1983 said:
Where is the download link?
Click to expand...
Click to collapse
Here, for short: https://forum.xda-developers.com/devdb/project/dl/?id=32079
NEW BUILD IS AVAILABLE NOW!
Check higher posts for download link. Happy flashing!
airidosas252 said:
NEW BUILD IS AVAILABLE NOW!
Check higher posts for download link. Happy flashing!
Click to expand...
Click to collapse
Does it support Kcal? Regards :good:
rubentkato77 said:
Does it support Kcal? Regards :good:
Click to expand...
Click to collapse
Yes it does. Look up using kernel manager.
airidosas252 said:
Yes it does. Look up using kernel manager.
Click to expand...
Click to collapse
Thnk you, will flash to test :good:
Is the any chance to get the turbo frequencies on the GPU?
I read that on some other page I can't remember where, can you please why that supposed frequency is not on the stock kernels, does it take to much energy?
tekkaman7 said:
I read that on some other page I can't remember where, can you please why that supposed frequency is not on the stock kernels, does it take to much energy?
Click to expand...
Click to collapse
I believe Qcom left off this frequency just because CPU is already close to some of their flagship SOCs in terms of CPU performance.
Everything in the source code is left done, you just need to modify a code a bit and you have higher frequency. If you want to go any higher, you would need to modify the code a lot more. Tried it and gave up on that.
It could be anything, really.
Moreover, you don't see too many phones using this exact SOC.
P.S. Funny thing though, this OC feels like placebo effect, like CPU is running faster but it's really not.
Think about it, when sdm660 came out, it was between SD821 and SD835 in terms of CPU performance. GPU is more or less the same as Adreno 430.
Gonna release new kernel build soon.
Still working out some quirks I come up every once in the while.
Stay tuned for news. Good day.
airidosas252 said:
Gonna release new kernel build soon.
Still working out some quirks I come up every once in the while.
Stay tuned for news. Good day.
Click to expand...
Click to collapse
Thanks for your work, we will waiting :good:
NEW KERNEL BUILD AVAILABLE NOW!
As usual, check main page for a download link. Happy flashing!
airidosas252 said:
NEW KERNEL BUILD AVAILABLE NOW!
As usual, check main page for a download link. Happy flashing!
Click to expand...
Click to collapse
thank you, downloading. :good:
Overclocked? Using Evira for now on MIUI 11 Pie, but Evira is outdated..... Can't support Android 10
So, hope can have Overclocked kernel support Android 10
xiaomi.lim said:
Overclocked? Using Evira for now on MIUI 11 Pie, but Evira is outdated..... Can't support Android 10
So, hope can have Overclocked kernel support Android 10
Click to expand...
Click to collapse
Yep, it's overclocked and it's for Android 10.
I've seen people running this with MIUI too.
airidosas252 said:
Yep, it's overclocked and it's for Android 10.
I've seen people running this with MIUI too.
Click to expand...
Click to collapse
Overclocked to ? 2.46GHz?
xiaomi.lim said:
Overclocked to ? 2.46GHz?
Click to expand...
Click to collapse
Yes, but I don't think I'll keep the OC for much longer. I really don't see the benefit of it.
Phone is already really fast and snappy.
I did a build with stock clocks and compared it to the OC one. And here's the surprise - there isn't almost any difference.
I fixed several known issues which bugged me a lot and those seem to remedy all of the problems I had.
Moreover, I hate overbloated kernels with features I don't use. I like being clean and compact.
Hi, the sound control (for speaker, earpiece and headphones) available or do you plan to add it in future? They get pretty handy really. I do appreciate keeping the kernel without much bloat though. : D

Categories

Resources