[KERNEL] Modded MiRaGe - Nexus 4 Android Development

Modded Mirage
Hi All,
Here is the latest kernel I am using which fits my needs.
This will be always synced with MiRaGe and I will add more feature If I need or highly requested from community.
- Synced with latest MiRaGe kernel
- init.d support
- Stratosk's DT2W
- A lots of camera fixes
- Undervolt interface
- Faux123's Dynamic FSync Control
- added busybox
- added mpdfake to resolve touchboost messages
Download:
http://forum.xda-developers.com/devdb/project/?id=3426#downloads
Installation:
fastboot flash boot boot<ver>.img
Please leave your comments below.
Special thanks to;
@stratosk
@mrg666
@faux123
@bedalus
Thanks,
XDA:DevDB Information
Modded MiRaGe, a Kernel for the Google Nexus 4
Contributors
ihancioglu, ihancioglu, mrg666
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 2
Beta Release Date: 2014-04-03
Created 2014-03-25
Last Updated 2014-04-04

First comment for future use

aosp or cm based?
and 2nd for future fun

AOSP based kernel and tested on stock rom

I have a dream: a dream that one day, a developer, even someone new to the game, will come along and make an optimized stock kernel, i.e. a kernel with stock mpdecision, but with various optimizations that make it faster. I have high hopes for this kernel, please make my dream come true. Don't make another frankenstein-kernel.
i will test your build and report back.

Updated to v0.0.5
Changes;
- KGSL updates
- Reworked at L2 bus speed optimizations (more responsive now)
- Power efficient workqueue patch
- Simple GPU governor added / enabled by default
- GPU undervolt a little bit to reduce heat
Please test If you interest and let me know.
Thanks,

Hi!
These are my first cycle results with version 0.0.1 and stock rom. I am gladly impressed.
Not hooked to any wifi APs just 3G.
A zip file would be helpful so we could flash it through recovery
Sent from my Nexus 4 using xda app-developers app

fluffier said:
Hi!
These are my first cycle results with version 0.0.1 and stock rom. I am gladly impressed.
Not hooked to any wifi APs just 3G.
A zip file would be helpful so we could flash it through recovery
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Thanks for your results.
I think battery will be better with v5 as well as smoother. Please let me know GPU performance as well If you are playing games.
I can prepare the zip file in next versions. Also you can flash my boot images via Flashify without enter even Recovery
Thanks,

Unable to download new version
message deleted

Hi,
I am not playing any GPU intensive games. Thank you for the tip about Flashify Will report back with v5 results.

Hi there!
These are my results with v5, not hooked to any APs just 3G. As you can see SOT has gone down and i am pretty sure the use i gave to the phone was the same as when i had v1.
I am going back to v1 to see if my previous results stand.
Sent from my Nexus 4 using xda app-developers app

fluffier said:
Hi there!
These are my results with v5, not hooked to any APs just 3G. As you can see SOT has gone down and i am pretty sure the use i gave to the phone was the same as when i had v1.
I am going back to v1 to see if my previous results stand.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
I think the reason of this, highest L2 speed for 1026Mhz which is touch boost freq. I just decreased a bit for 1026Mhz.(in v11) Performance is in between v1 and v5 but battery stays much longer like v1.
v11;
- L2 bus speed decreased for 1026Mhz for better battery life
- Synced with Linux 3.4.85
Thanks,

hello @ihancioglu.. if its not a bother could u please provide future versions with any-kernel updater for us custom rom users, as some roms have some modifications in the ramdisk which would be removed by flashing the boot.img.
thanks

Hello!
Using v11 i got some random reboots. It also happened with the other versions but only at the end of the battery cycle and so i thought it was due to the battery finishing even though the indicator still showed 4% or the like. This time the reboots happened pretty often.
Sent from my Nexus 4 using xda app-developers app

fluffier said:
Hello!
Using v11 i got some random reboots. It also happened with the other versions but only at the end of the battery cycle and so i thought it was due to the battery finishing even though the indicator still showed 4% or the like. This time the reboots happened pretty often.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Hi my friend,
Thanks for your reports!
I also realize some random reboots with v11 which causes a bug on slub.c.
I don't have much time for now. So I created a new version with Mirage backend. This is completely stable. You can use it safely.
I will continue my project as soon as have free time.
Thanks,

jjblaster3 said:
hello @ihancioglu.. if its not a bother could u please provide future versions with any-kernel updater for us custom rom users, as some roms have some modifications in the ramdisk which would be removed by flashing the boot.img.
thanks
Click to expand...
Click to collapse
Okay I will create a version with any kernel updater method for you.
Thanks,

apatal said:
I have a dream: a dream that one day, a developer, even someone new to the game, will come along and make an optimized stock kernel, i.e. a kernel with stock mpdecision, but with various optimizations that make it faster. I have high hopes for this kernel, please make my dream come true. Don't make another frankenstein-kernel.
i will test your build and report back.
Click to expand...
Click to collapse
The default mpdecision is the worst inefficient/bloated code I would like to have in such an optimized kernel. That is why I have removed it along with touchboost, dcvs, run_queue_stats. I have developed MiRaGe with the same mindset you describe: optimized stock kernel.

Can I request f2fs support? Patches are linked here.

mrg666 said:
The default mpdecision is the worst inefficient/bloated code I would like to have in such an optimized kernel. That is why I have removed it along with touchboost, dcvs, run_queue_stats. I have developed MiRaGe with the same mindset you describe: optimized stock kernel.
Click to expand...
Click to collapse
Ahh, now that you put it that way....

ihancioglu said:
Okay I will create a version with any kernel updater method for you.
Thanks,
Click to expand...
Click to collapse
i appreciate it buddy.. thanks

Related

[Kernel]FrankenKernel

I made this kernel for my own use.
Decided to share it.
My reason for making this kernel is because I have been trying kernel after kernel and have not been able to stay on a single one.
Every time my main issue was that the phone would get uncomfortably hot, the only kernel that wouldn't was always @showp1984's kernel with his 3-phase thermal. At first I was enjoying it until I saw all these other kernels getting updated with new features so I decided to update showps kernel, it wasn't a big update but it still suffered from the SODs caused by his in-kernel mpdecision (which I'd prefer over Qualcomm's) so I decided to just grab my next favorite kernel and update it with thermal. I've been testing it for a few days and haven't had it get as hot as it used to so I'm happy with it. I'm not a developer I just wanted something for me. It has the same features as @Faux123's kernel which include...
-Dynamic FSync
-Eco Mode
-Turn MPDecision on/off
-OC up to 1.8GHz
-UV to 700000mV
-Sweep2Wake
-Fast Charge
-Veno/Reno/Bic/Cubic/Westwood+/HTCP
-GPU OC up to 487MHz
-3 phase thermal
-FIOPS/NOOP/DEADLINE/ROW/CFQ/SIO schedulers
-compiled with the latest Linaro toolchain O2 optimized
-its also hard coded with moles' colors that everyone is raving about (they are good though thats why i included them)
I personally like using Kernel Tuner which allows modifying the 3 phase thermal parameters.
Hope you guys enjoy it.
New release method:
Each release will have a folder, in the folder will be a kernel with hardcoded values from Molesarecoming. I'll just use the most popular few because id rather not wait a few mins uploading each kernel from my phone :l
February 8, 2013
http://www.mediafire.com/?3t5vz8t21m2wl
About the source:
It took me a few hours to download each repository (faux123 and showp) since im tethering off my phone (which is faster to download than upload with TMo speeds) , so i haven't uploaded the source. I can probably upload the patches (a lot smaller in size) which can be applied to Fauxs source thus producing this same kernel
Glad i was trying my hand at git, still such a noob but i was able to figure something out. Sorry if it isn't proper :l
https://github.com/jassycliq/mako
so this is based on faux's kernel?
Yes, it is up to date with his github source.
and i'm assuming BLUEHOLO color tweak?
What do you mean? I posted everything that I included, nothing more nothing less
jassycliq said:
What do you mean? I posted everything that I included, nothing more nothing less
Click to expand...
Click to collapse
He's talking about PA color... lol That's what everyone is talking about lately...
Did you replace the mpdecision ? i didn't quite understand the op
meangreenie said:
Did you replace the mpdecision ? i didn't quite understand the op
Click to expand...
Click to collapse
No, I previously had compiled a kernel that replaced Qualcomm's proprietary mpdecision with showps in-kernel mpdecision but it would cause SODs so i decided against it.
It still uses Qualcomms mpdecision but just like Faux123's kernel you can turn it off and use intelli_plug.
jarjar124 said:
He's talking about PA color... lol That's what everyone is talking about lately...
Click to expand...
Click to collapse
yes, its in OP.
jassycliq said:
yes, its in OP.
Click to expand...
Click to collapse
molesarecoming color tweak has different revisions, his latest release is called BLUEHOLO. I didnt know which one you implemented.
Sent from my Blenzderz 9000
---------- Post added at 07:54 PM ---------- Previous post was at 07:52 PM ----------
scratch that.. latest one is now 4th rev halfbreed
Can you link me? I had recently checked in their github and didn't see anything new.
jassycliq said:
Can you link me? I had recently checked in their github and didn't see anything new.
Click to expand...
Click to collapse
Link
Updated
reboot, reboot, reboot, reboot and more with the update. I have AOKP Official
AW: [Kernel]FrankenKernel
You need to flash the rest kernel from faux( you find it in faux thread opener) than Franken Kernel, this will work for me.
Nexus 4 Tapatalk
Wow. This kernel is packed with features. I just flashed it now. I'll report back with battery in a day. Nice job!
Sent from my Nexus 4 using xda premium
will test and report back
what settings do you recommend ? any governor over the others ?
CheesyNutz said:
will test and report back
what settings do you recommend ? any governor over the others ?
Click to expand...
Click to collapse
I like ondemand and intellidemand governors. I/O I like is sio. I would also recommend UC'ing to 1113MHz.
Sent from my Nexus 4 using xda premium
android88 said:
I like ondemand and intellidemand governors. I/O I like is sio. I would also recommend UC'ing to 113MHz.
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
thanks im still new to the quadcore .... do i set all cores to the same gov ? or what

[Kernel][GPL][4.3 JS][August 6][a5] m_plus kernel for mako

m_plus kernel for Nexus 4 (mako)!
Hi All,
In an attempt to reduce the confusion related to the two versions of 4.3, I have decided to split my m_plus thread into 3 versions, a version for 4.2 (the previous thread: http://forum.xda-developers.com/showthread.php?t=2256887), a version for 4.3 JS AOSP builds (this one) and a version for 4.3 JW builds (not yet up, but will be in the future).
Disclaimer: As usual, I am not responsible for anything that may or may not happen to your device as a result of using this kernel or any other flashable zips posted by me in this thread.
Kernel Features:
Based on the latest Google Source for 4.3
Built with the Linaro 4.7.3 toolchain (2013.07)
insecure ramdisk (ro.recure=0, ro.debuggable=1)
init.d support (by flashing the full ramdisk, requires busybox installed to /system/xbin)
Undervolting support (down to 600mV)
Gamma Control support (motley, faux and franco interfaces available)
Faux Sound Control support including poweramp
dynamic fsync
simple GPU governor
Builds:
Sources: https://github.com/thracemerin/kernel-Nexus4/tree/m_plus_43_exp_JS
Warning: These builds are for 4.3 builds beginning with the letters JS only, if you flash it on a JW based build you will have all sorts of strange graphical issues.
Personal Request: If you plan to make unofficial builds with features not included in the builds posted by me, please don't link them in the thread, all this does is result in confusion especially if someone has a problem with something you have added, it is much easier for me to provide support if I know that everyone in the thread is running the same builds I am. If you want to make a kernel with these features, feel free to start another thread so that they can be discussed and supported as appropriate.
http://goo.im/devs/thracemerin/mako/m_plus_43/JS_builds/alphas
Latest:
Alpha 5:
Flashable (anykernel): m_plus_43_alpha_5JS.zip
Note: if you need the full ramdisk for init.d support/insecure ramdisk, flash the ramdisk package alpha 4 first.
What's Added:
USB force fast charge
Enable Krait Retention
Various patches and enhancements from CAF
Previous:
Alpha 4:
Note: The anykernel version doesn't include init.d support and insecure ramdisk unless your ROM already has it, if you were on alpha 3 you will retain it.
Note 2: If you flash the ramdisk version on CM, the built-in superuser will stop working, CM includes init.d support anyway.
Flashable (ramdisk included): m_plus_43_alpha_4JS_ramdisk.zip
Flashable (anykernel): m_plus_43_alpha_4JS.zip
What's Included:
all the stuff listed in kernel features
freezer patches by Colin Cross
Thanks:
Google
LG
Qualcomm/CodeAurora
CyanogenMod
_motley
faux123
show-p1984
franciscofranco
stratosk
anyone else I failed to mention (if you feel as though you deserved to be thanked by name, please PM me)
Reserved
PowerHAL Fix:
There is an issue in the stock AOSP powerHAL where the mpdecision touch boost requests are being sent to the wrong socket, as a result there will be unexpectedly poor UI performance. Show-p1984 fixed this problem in his Stockified AOSP build and I pulled the powerHAL and made it flashable for everyone. Just flash it in recovery and reboot, if you want to go back to the stock one just dirty flash your ROM. This shouldn't cause any problems on any ROM even if it has the fix already cooked in, but if it does you can just dirty flash your ROM to remove it. Thanks to show-p1984 for the fix.
43_powerhal_fix.zip MD5: c7cebad04b5f71d067df1a45c6e538f7
One More for Science!
Just flashed. I was losing wifi connection with semaphore when phone went into deep sleep. Ill report back. :good:
do you have to be rooted in order for init.d to work?
keda said:
do you have to be rooted in order for init.d to work?
Click to expand...
Click to collapse
Yep, need to have busybox installed too.
First of all, thanks for your work.
I want to make sure I understand the procedure correctly.
If I use CM10.2, I flash "m_plus_43_alpha_4JS.zip" to maintain the built in superuser.
init.d will still work, cause cm already supports it.
Right now I am on Alpha3 with SuperSU 1.51. So to update to alpha4 I can simply flash over.
If I want to go back to the built in superuser I have to reflash CM, then flash alpha4 via zip.
Is this correct?
Wont stay connected to Google services when phone goes into deep sleep, bars and signal are grey when i turn screen on. I thought Google fixed all the wifi issues with N4 in 4.3 kernel?
AcmE85 said:
First of all, thanks for your work.
I want to make sure I understand the procedure correctly.
If I use CM10.2, I flash "m_plus_43_alpha_4JS.zip" to maintain the built in superuser.
init.d will still work, cause cm already supports it.
Right now I am on Alpha3 with SuperSU 1.51. So to update to alpha4 I can simply flash over.
If I want to go back to the built in superuser I have to reflash CM, then flash alpha4 via zip.
Is this correct?
Click to expand...
Click to collapse
Dirty flash CM, then flash A4 should do it, that's what I did and it worked.
ScumDroid said:
Wont stay connected to Google services when phone goes into deep sleep, bars and signal are grey when i turn screen on. I thought Google fixed all the wifi issues with N4 in 4.3 kernel?
Click to expand...
Click to collapse
Strange, it's working fine for me now.
Thanks, just wanted to reply. Works as you said.
After the first boot I had some strange behaviour,
min cpu clock did not go below 1,026 ghz and GPU Clock did not go above 200 mhz.
A restart fixed it, incase somebody notices similar behaviour.
AcmE85 said:
Thanks, just wanted to reply. Works as you said.
After the first boot I had some strange behaviour,
min cpu clock did not go below 1,026 ghz and GPU Clock did not go above 200 mhz.
A restart fixed it, incase somebody notices similar behaviour.
Click to expand...
Click to collapse
Weird, I didn't notice that.
thracemerin said:
Strange, it's working fine for me now.
Click to expand...
Click to collapse
Mabye its an app i have installed. Kernel is flying btw, nice work.
Is it just me or the option to give location eve with wifi off is ****ing with repeaters... I have two access points in my house and when the option was on the wifi keep disconnecting... Maybe cause In some parts I can have signal from both access points... So weird
Sent from my Nexus 4 using xda app-developers app
ScumDroid said:
Wont stay connected to Google services when phone goes into deep sleep, bars and signal are grey when i turn screen on. I thought Google fixed all the wifi issues with N4 in 4.3 kernel?
Click to expand...
Click to collapse
+1 for this. i am also having same problem.
yash295 said:
+1 for this. i am also having same problem.
Click to expand...
Click to collapse
What ROM are you using?
thracemerin said:
What ROM are you using?
Click to expand...
Click to collapse
Cm 10.2 unofficial nightly.
Sent from my Nexus 4 using Tapatalk 4 Beta
yash295 said:
Cm 10.2 unofficial nightly.
Sent from my Nexus 4 using Tapatalk 4 Beta
Click to expand...
Click to collapse
hmm...working perfectly for me, CM10.2 unofficial and this kernel.
thracemerin said:
hmm...working perfectly for me, CM10.2 unofficial and this kernel.
Click to expand...
Click to collapse
Oh yeah cm might be the problem. Sorry for the inconvenience
Sent from my Nexus 4 using Tapatalk 4 Beta

[Kernel]NNPB1-Kernel-LP-T710/810 3-27-16

This is the PB1 version of NN-J kernel. It's going to go in a little different direction than the previous kernel. There are a lot of changes in PB1. That's why a new thread. And I'm not very good with Git. So may I present to you.....
NNPB1-Kernel​
This will work on the T710 and 810 Wifi only models.
You flash this at your own risk. There's the discaimer. ​
Install instructions:
You MUST HAVE ROOT and TWRP installed to flash this!!
It's built on Lollipop 5.1.1 - I have no idea what will happen if you flash this on anything else!!
Flash kernel then wipe cache and dalvic
Reboot and profit!!
Changelog
V1.2
Just enabled some more OTG stuff. It might help for some people to get it to work. But V1.1 works already.
Nothing more, so no need to update unless you want.
V1.1
Synapse enabled
More optimizations
OC/UC Big 2.2Ghz and 500Mhz. Little 1.6Ghz and 200Mhz
UV all cores
Booting frequencies up to 1.7Ghz and 1.4Ghz
Gentle fair sleepers
Hotplug
FIOPS scheduler
Enabled 650Mhz GPU clock
UC and voltage control GPU
Charge Control
V1
PB1 source
No Synapse - yet. This is as far as I can build it without synapse. I think you'll like it.
Selinux Permissive
KNOX removed
Init.d support
Enabled OTG
Updated Frandom
Govs enabled- Powersave, Conservative, Ondemand - removed Userspace
Optimizations
This is a Tablet, so I won't be adding things like I would for a phone.
______________________________
Downloads:
NNPB1-Kernel-V1.2-710
NNPB1-Kernel-V1.2-810
NNPB1-Kernel-V1.1-710
NNPB1-Kernel-V1.1-810
NNPB1-Kernel-V1-710
NNPB1-Kernel-V1-810
XDA:DevDB Information
NNPB1-Kernel-LP-T710/810, Kernel for the Samsung Galaxy Tab S2
Contributors
engine95
Source Code: https://github.com/engine95/exynos5433-BPB1-gts28-210wifi.git
Kernel Special Features:
Version Information
Status: Stable
Stable Release Date: 2016-03-27
Created 2016-03-28
Last Updated 2016-04-15
New and latest Kernel. Source makes me put this in a new thread. And I suck with Git. (Or I just know what I HAVE to know about it)
There is No Synapse interface built in yet. But don't let that stop you. It's running really good. I think you'll like it.
Edit: 810 is up. Thanks to @Billy06010 for testing
engine95 said:
New and latest Kernel. Source makes me put this in a new thread. And I suck with Git. (Or I just know what I HAVE to know about it)
There is No Synapse interface built in yet. But don't let that stop you. It's running really good. I think you'll like it.
Edit: 810 is up. Thanks to @Billy06010 for testing
Click to expand...
Click to collapse
T810 5.1.1 - Boots fine.... I'll get back in a couple days with performance.... I'm sure it's GREAT! Thanks again.
What is the advantage to flashing this kernel instead of the previous one? Boosted performance and/or battery life?
mbducati said:
What is the advantage to flashing this kernel instead of the previous one? Boosted performance and/or battery life?
Click to expand...
Click to collapse
Latest source
mbducati said:
What is the advantage to flashing this kernel instead of the previous one? Boosted performance and/or battery life?
Click to expand...
Click to collapse
Post above, yes and yes. You can always flash/restore back to stock if it's not for you. Just another choice.
it is running good.. I just see all the time a notification of a security warning.. (in my lanuage). unauthorized actions detected
Error404html said:
it is running good.. I just see all the time a notification of a security warning.. (in my lanuage). unauthorized actions detected
Click to expand...
Click to collapse
You probably need to delete, in system/app/SecurityLogAgent.apk. It only happens with bone stock ROM. In my roms, it's already removed.
hi,
is external sd card write also enabled?
IngoPan said:
hi,
is external sd card write also enabled?
Click to expand...
Click to collapse
That's through the ROM. platform.xml is the file that needs to be modified. It's in my roms as the "SD card fix".
Sent from my LGLS990 using XDA-Developers mobile app
andyroidking said:
T810 5.1.1 - Boots fine.... I'll get back in a couple days with performance.... I'm sure it's GREAT! Thanks again.
Click to expand...
Click to collapse
Running smooth. No issues at all! Might be getting a little better battery but I also run a lean android system.... Thanks again!
Thanks, i flashed the canadian stock rom and then your kernel. As there is no Xposed framework now (i had before) what
ROM do you recommend to flash (must be deodexed i suppose) ?
IngoPan said:
Thanks, i flashed the canadian stock rom and then your kernel. As there is no Xposed framework now (i had before) what
ROM do you recommend to flash (must be deodexed i suppose) ?
Click to expand...
Click to collapse
Check out this post. http://forum.xda-developers.com/showthread.php?p=66145174
710 or 810 shouldn't make a difference.
Edit. Gapps and permissive hack you shouldn't need though. They're built in. But maybe??
Sent from my LGLS990 using XDA-Developers mobile app
Looking forward to a Synapse enabled version with CPU & GPU UC & UV - then I'll flash it
hasenbein1966 said:
Looking forward to a Synapse enabled version with CPU & GPU UC & UV - then I'll flash it
Click to expand...
Click to collapse
It's in the works. It'll be coming out with everything. I'm having some issues but it should be done in the next couple days.
Sent from my LGLS990 using XDA-Developers mobile app
V1.1 is up!! See/read changelog!!!
810 users. I need to know if Synapse is working. It should. I just need confirmation.
Enjoy
Gimme a few.
Synapse is working fine on 810
Sent from my SM-T810 using XDA-Developers mobile app
andyroidking said:
Running smooth. No issues at all! Might be getting a little better battery but I also run a lean android system.... Thanks again!
Click to expand...
Click to collapse
works perfect.
Must I change original Neked Nook PB1 kernel with this one?

[KERNEL][E6653/E6683][UBER] PixN Kernel For AOSP

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.

[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