[KERNEL][4.4][AOSP] [Linaro] n00b Kernel - b23 - Nexus 4 Android Development

n00b Kernel
Hi.
I've decided to jump on the kernel boat, since I'm new to all this kernel stuff, the development process will be a little slow, compared to what you know (fk, faux ..)
I'm doing this for learning purpose, so the firsts build should not be very different from stock.
Code:
#include <std/disclaimer.h>
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
Build:
Linaro GCC 4.7
Linaro flag optimization
-O3
Features:
AOSP based
CAF Patch
fiops (row:2:1) as default scheduler
faux color support
Download:
b23 http://www.solidfiles.com/d/c115225221/
b22 http://www.solidfiles.com/d/6ee7aa29b4/
b11 http://www.solidfiles.com/d/5fd8382c0c/
Source: https://github.com/searc/kernel_msm
Thanks to:
faux, franciscofranco, motley, xda, and all xda developers
XDA:DevDB Information
n00b Kernel, a Kernel for the Google Nexus 4
Contributors
arc_u
Kernel Special Features: AOSP
Version Information
Status: Beta
Current Beta Version: b22
Beta Release Date: 2013-11-22
Created 2013-11-21
Last Updated 2013-11-23

Code:
Changelog:
[B]2013/11/23 - b23: [/B]
-Add mako absolute voltage control (fk)
[B]2013/11/22 - b22: [/B]
fiops (row:2:1) as default scheduler
add faux color support (thx faux)
revert some linaro flags
[B]2013/11/21 - b11: [/B]
initial release, AOSP based

I'll test to see

Maybe u can add pa colors

Abd121 said:
Maybe u can add pa colors
Click to expand...
Click to collapse
Yes, I'm gonna try to add some essential featurs like this^

double tap 2 wake if possible then it will be perfect

I think what you are doing is correct. Start simple. Keep it stockish and focus on optimizations first. Once you have a lean and mean kernel, then you can start messing around with the crazy stuffs. Good luck! I'll be watching your development closely.

I'll keep an eye on this. Always willing to try new kernels :good:

Build 22
Just release the b22
check op for changelog
b22 - http://www.solidfiles.com/d/6ee7aa29b4/
edit: github source aren't update, i've mess something with linaro 4.8.2, have to revert some commit before update

Good work I will test it
And see
---------- Post added at 09:31 AM ---------- Previous post was at 09:15 AM ----------
Just tested it on cm 11
And
Colors need fix
NFC FC

b23 released
-------------------------------------------
Abd121 said:
Good work I will test it
And see
---------- Post added at 09:31 AM ---------- Previous post was at 09:15 AM ----------
Just tested it on cm 11
And
Colors need fix
NFC FC
Click to expand...
Click to collapse
can you provide a logcat ?

arc_u said:
b23 released
-------------------------------------------
can you provide a logcat ?
Click to expand...
Click to collapse
No i can't since the phone become unusable
Everything in the phone was FC

Abd121 said:
No i can't since the phone become unusable
Everything in the phone was FC
Click to expand...
Click to collapse
It's probably because it's incompatible with cm11, for now it's meant to be use with AOSP rom

Using this kernel with the latest Beergang rom and I quite like it. Battery life is decent. :thumbup:
Sent from my Nexus 4 using xda app-developers app

Related

Leno [Kernel][Stock]

Special Thanks to @savoca , for helping me all the possible way , Thank you :highfive:
Code:
#include
/*
* I am not responsible for bricked devices, dead SD cards, thermonuclear
* war, or the current economic crisis caused by you following these
* directions. YOU are choosing to make these modificiations, and
* if you point your finger at me for messing up your device, I will
* laugh at you.
*/
So now this is my first contribution for Moto E, After 1 Month research finally able to Boot and made same changes.
Based On Moto Original Source,
exFat file system support,
Compiled using latest Cortex A15 optimized Linaro 4.9 toolchain,
Swipe to Wake, [Thanks to @savoca ]
Double tap to wake, [Thanks to @savoca ]
lz4 support,
fsync control,
Sound Control 3.4 [Thanks to @savoca ]
Governors-
Code:
interactive (default)
ondemand
wheatley [COLOR="red"](new)[/COLOR]
performance
powersave
ondemandplus[COLOR="red] (new) [/COLOR]
userspace
I/O Schedulers-
Code:
bfq [COLOR="red"] (new) [/COLOR]
zen [COLOR="red"] (new) [/COLOR]
row
sio [COLOR="red"] (new) [/COLOR]
vr [COLOR="red"] (new) [/COLOR]
cfq
fiops [COLOR="red"] (new) [/COLOR]
This is the First build So I cant remember. use it you will know. :good:
Download:-
Code:
[URL="http://forum.xda-developers.com/devdb/project/dl/?id=9112"]0.0.1[/URL]
I don't know how to use Github
Don't spam this thread by posting THANKS, Use the Button :good:
XDA:DevDB Information
Leno, Kernel for the Moto E
Contributors
rajit, savoca, Shivam Kuchhal
Kernel Special Features: You tell me
Version Information
Status: Stable
Current Stable Version: 0.0.1
Stable Release Date: 2014-10-15
Created 2014-10-15
Last Updated 2014-10-15
Changelogs:-
Code:
0.0.1 initial Release
_________________________________________________________________________________
0.0.2 Conservative governor Added
Cache dumping support
Optimize very unlikely/likely branches
Default Gov Wheatley
Battery Performance and some ss
@rajit Thanks for the attached screenshots... :good:
what are the changes other than furnace kernel it is stable as well...
AshuGite said:
what are the changes other than furnace kernel it is stable as well...
Click to expand...
Click to collapse
As you can see in my #1 post I don't know what things I had changed or added .. After 1month of research finally able to boot .. So don't ask what or compare it with any once. This is my first custom kernel and savoca is the one who teach me . hope you will find your answer :beer:
Nice work. :good: ... @rajit .Keep it Up ...Good luck for Kernel... :good:
this kernel has same issue like furnace.. when enabling wake gestures it sometimes freezes the screen and rebooting is the only option...
Please post your kernel source.
savoca said:
Please post your kernel source.
Click to expand...
Click to collapse
see here http://forum.xda-developers.com/devdb/project/?id=6158#downloads , i cant use github
rajit said:
see here http://forum.xda-developers.com/devdb/project/?id=6158#downloads , i cant use github
Click to expand...
Click to collapse
That's not your source code, that's Motorola's Moto G GPE source code reuploaded from their GitHub. Check the md5/diff's.
savoca said:
That's not your source code, that's Motorola's Moto G GPE source code reuploaded from their GitHub. Check the md5/diff's.
Click to expand...
Click to collapse
you mean the latest source , where all the feature are available? actually unable to use github. and because of slow connection i cant upload the source again. so what should i do now ? tell me. i will try to upload asap
rajit said:
you mean the latest source , where all the feature are available? actually unable to use github. and because of slow connection i cant upload the source again. so what should i do now ? tell me. i will try to upload asap
Click to expand...
Click to collapse
You aren't exempt from GPL because you don't understand git. Upload it in a tar.gz or a .zip for all I care.
@savoca is right, PM me when you can post your sources, until then this thread is closed.

[KERNEL][Reborn] Clarity [CM13-M] [Uber 4.9] [FINAL]

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Please read completely this thread before using for minimize FAQ
If you coming from other custom kernel, please restore to cm kernel or dirty flash your rom before flash this!, to make sure everythings go to original and prevent from unexpected bugs.
THIS DOESN'T SUPPORT FOR STOCK ROM!
Requirement
TWRP
CM 13.0 or AOSP 6.0.1
Features for Reborn
Linux 3.4.113
Hybrid Kernel
Sync Latest Cyanogenmod source
Compiled with Uber 4.9
Powersuspend 1.7
Doubletap2 Wake support (DT2W enabled by default).
WakeGesture with Pocket Mode.
Fsync Control Sysfs.
added io scheduler : sio, zen, tripndroid, fifo
added cpu governor : badass, smartassH3, clarity, lionheart and nightmare
added gpu governor : conservative (default)
Faux sound control
Faux simple gpu algorithm
Gentle fair sleeper and power arch sysfs
true zsmalloc/zram from linux 3.17.y
Cherry pick from any other source.
NOTE
Please do not make some request, i just make this kernel lightweight with some usefull features.
BUGS ?
You tell me with proper logs
Credits
Google
CyanogenMod
Motorola
Ashwin007 - Squid2
Christopher83
Savoca
franciscofranco
Faux123
Arter97
Donation list
Code:
[CENTER]
electrohippie - $5
[/CENTER]
Download for Reborn Final
https://www.androidfilehost.com/?w=files&flid=140803
Donate Me​
XDA:DevDB Information
Clarity Kernel Reborn/Revolution, Kernel for the Moto E
Contributors
rainforce279
Source Code: https://github.com/ryan-andri/android_kernel_motoe/commits/condor/cm-13.0
Kernel Special Features: Multiple custom hotplug, Wake Gesture
Version Information
Status: Stable Final
Current Stable Version: Reborn Final
Stable Release Date: 2017-01-01
Created 2016-06-25
Last Updated 2017-01-01
Please Check my github, Thanks
great rainforce279 that good you came back with another kernel amazing , this time use all the time you want to launch an upgrade , the only thing I ask is that if there are changes in the kernel cyanogenmod this you update device the kernel to the latest sources cyanogenmod
hetor99 said:
great rainforce279 that good you came back with another kernel amazing , this time use all the time you want to launch an upgrade , the only thing I ask is that if there are changes in the kernel cyanogenmod this you update device the kernel to the latest sources cyanogenmod
Click to expand...
Click to collapse
yes i'll do, and this using the latest source cyanogenmod.
Oh yes!
Would you mind to make a permissive or enforcing selinux mode choice in next build? Great to see Clarity (again).
Sent from my Moto E using XDA Labs
rian_tama said:
Oh yes!
Would you mind to make a permissive or enforcing selinux mode choice in next build? Great to see Clarity (again).
Sent from my Moto E using XDA Labs
Click to expand...
Click to collapse
I use RR, but I would like this option in the kernel. Very happy to see Clarity back to my device
Big FAT Thanks
good to see clarity back. one question though, did you picked up the project where it was left or you are starting this project from the scrap?
great work man. and Thanks...
good work bro, nice kernel!
Thank you!
Also a big fat Thank You from me!
I'm happy that you're back and because of that fact I'm gonna donate now.
cheers
Awesome man!!! Thanks a lot!!!
rian_tama said:
Oh yes!
Would you mind to make a permissive or enforcing selinux mode choice in next build? Great to see Clarity (again).
Sent from my Moto E using XDA Labs
Click to expand...
Click to collapse
will trying it.
brundark said:
I use RR, but I would like this option in the kernel. Very happy to see Clarity back to my device
Click to expand...
Click to collapse
nice to make you happy, thanks for using this.
deepuluck said:
Big FAT Thanks
good to see clarity back. one question though, did you picked up the project where it was left or you are starting this project from the scrap?
great work man. and Thanks...
Click to expand...
Click to collapse
thanks man , yeh it started from begining, not started from where i left clarity.
TechnoAnder said:
good work bro, nice kernel!
Click to expand...
Click to collapse
thanks you bro.
electrohippie said:
Also a big fat Thank You from me!
I'm happy that you're back and because of that fact I'm gonna donate now.
cheers
Click to expand...
Click to collapse
Big thanks bro, i was add your name at op's as donation list.
many thanks.
cerberusss said:
Awesome man!!! Thanks a lot!!!
Click to expand...
Click to collapse
your welcome
Update to stable 1.1
Download
https://www.androidfilehost.com/?w=files&flid=72788
changelogs:
- 9e24088 config: push clarity reborn 1.1
- 3d2a897 Makefile: tell gcc to tune all code
- 1ce6256 arch power: disable by default
- 3643dce sched: cpu_power: Add controls for sched features
- cae77e1 sched: Add sysinterface for GENTLE_FAIR_SLEEPERS
- be2e768 msm8610/8226: don't use deprecated swp{b} in ARMv6+
- b8ae1f9 add faux sound control 3.4
- a3bc719 devfreq: simple_gpu_algorithm: prevent overflow pwrlevel
- 6c347f5 Simple GPU Algorithm: Initial coding for devfreq based Adreno Drivers
- 5f893cd dt2w: improve accuracy of single touch detection
Thanks.
Update
Updated kernel is good. Was missing faux sound control.So Thanx.... :good:
Hey can you pls consider underclocking the cpu. Missing that too from clarity r26...Pls.....
And Since I haven't used any other cpu governor else than impulse. So Could You Pls Tell which one of the present governors is good for battery backup or atleast similar to impulse.
Update to stable 1.2
Download
https://www.androidfilehost.com/?w=files&flid=72788
Changelogs:
- a3a8837 config: clarity reborn 1.2
- 60537d5 Makefile: build with Linaro 5.2
- 9a0400f cpufreq: Introduce new relation for freq selection
- 59b9632 cpufreq: add impulse and ondemandplus governor
Yeeeah, Clarity again!
Hi, Rainforce.
I want to get the max possible SOT on my device by changing the kernel settings, what would be the best suggested settings over default settings on your kernel ? Thanks in advance.
Works in falcon or xt1021?
Cheers
ProudRed said:
Hi, Rainforce.
I want to get the max possible SOT on my device by changing the kernel settings, what would be the best suggested settings over default settings on your kernel ? Thanks in advance.
Click to expand...
Click to collapse
i was push version 1.3 with some feature to save battery, all adding intelliplug and alucard it your choice
Vicrol123 said:
Works in falcon or xt1021?
Cheers
Click to expand...
Click to collapse
this only for condor (xt1021/1022) cm 13 only.
never flash this to other devices, it will break your devices.
Deleted, dopost.
Update to stable 1.3
Download
https://www.androidfilehost.com/?w=files&flid=72788
changelogs:
- add Intelliplug and Alucard hotplug (use just one hotplug only, dont enable all hotplug or your device will going crazy!)
- add Power Efficient Workqueue (Sacrifice Performance for saving battery).
check to second post for completly build logs.
Thanks and have a nice day
Donate Me to Buy a Coffee

[kernel][oreo]•=|=•bleeding edge•=|=•[osprey]

•=||=•INTRODUCTION•=||=•
A custom kernel for Moto G 2015 a.k.a Osprey
This should should work on all oreo custom roms
Disclaimer
Code:
[color="red"]
* Include <std_disclaimer.h>
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
thermonuclear war, or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about features
included in this KERNEL.
* Before flashing it! YOU are choosing to make these modifications .
* If you point the finger at me for messing up your device, I will laugh at you.
[/color]
•=||=•KERNEL SPECIAL FEATURES•=||=•
CPU
Code:
[center]
Cpu quiet firmware
Improved Default governers and io schedulers
Dynamic Fsync
Arch Power savings
TouchBoost
Power Suspend Mode
Work queue Power saving
Msm limiter
​
CPU GOVERNERS
Code:
[center]
ElementalX
LionFish
Zzmove
Darkness
Blu active
[/center]
HOTPLUGS
Code:
[center]
Lazyplug
[/center]
IO SCHEDULERS
Code:
[center]
Sio plus
Zen
Sio
Fiops
Trindroid
Sioplus
Fifo
[/center]
GPU
Code:
[center]
Adreno Idler
Msm thermal temperature control
[/center]
SCREEN
Code:
[center]
Kcal Control
High Brightness Mode
[/center]
MISC
Code:
[center]
Upstreamed to latest linux stable v3.10.108
Built with Linaro 7.2
Several changes which improve the battery drain when idle
Double tap to wake
Force Fast Charge
Sound Control
Wakelocks Blocking
Software crc control
TCP congestion algorithm
Radio Power Savings
[/center]
•=||=•INSTALL INSTRUCTIONS•=||=•
Code:
[center]
1.Download the kernel zip.(You don't wanna??)
2.Move it to phone's memory or sdcard. ( Or in your brain ,you better know)
3.Boot to twrp or any other working recovery.(Or flash it by fastboot)
4.Backup Current boot image(in case your luck is bad or you try to install this on nougat)
5.Flash the zip( go get a torch)
6.Reboot!!!!done( Congrats you have rebutted yourself)
[/center]
•=||=•DOWNLAODS•=||=•
Download from AFH
Download from GDRIVE
•=||=•BUGS•=||=•
What are you looking for?
Bugs???
You won't find it.
You are so desperate aren't you??
ok you win
You tell me
[/CENTER]
XDA:DevDB Information
BLEEDING EDGE, Kernel for the Moto G 2015
Contributors
@ki, ishubhamsingh, Subrajyoti Sen,Facum
Source Code: Kernel Source
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: v69
Beta Release Date: 2018-06-15
Created 2018-02-25
Last Updated 2018-06-15
v69 15.06.18
* Completely rebased the kernel
* Removed all existing hotplugs
* Added lazyplug
* Slimbus overclock
* Sdcard 0kb bugfix
* Enabled Exfat driver
* Added livedisplay support
* New cdg tcp congestion
* Maple IO scheduler
* Allow 320K AAC encoding
* Improved Adreno Idler
* Improved Deep sleep
* IOSCHED switcher
* Updated Powersuspend driver
* Added chill and relaxed cpu governer
* Input boost
* Sound control
And many battery and performance changes
v69 beta release
* Added msm limiter
* Radio power savings
* New schedulers
* New cpu governers
* Tcp congestions
* Introduce cpu quiet firmware
* RCU improvements
* Built with Bleeding edge 7.3 toolchain
* Add boeffla_wl_blocker
* Improve Adreno Idler
* Introduce Input boost
* Sound improvements
* 64 bit binder support
* Binder fixes
* Improved Deep sleep
@ishubhamsingh and @Alberto97 for their base of kernel
@facuarmo for teaching me
@Subhrajyoti Sen for his heliox commits
@nathanchance for his great guide on upstreaming kernel
Me for Building it for Osprey
Whole opensource community
If i missed anyone ...Quote me
Reserved
...
Amazing, thanks for this kernel and for your work!
It can be made compatible with nougat?
Merlin support ?
Work in Merlin?
cesarXP said:
Merlin support ?
Click to expand...
Click to collapse
gtajunior said:
Work in Merlin?
Click to expand...
Click to collapse
Currently No..
---------- Post added at 08:17 AM ---------- Previous post was at 08:16 AM ----------
kurapika7 said:
Amazing, thanks for this kernel and for your work!
It can be made compatible with nougat?
Click to expand...
Click to collapse
No.. It's For Oreo 8.1 Rom's
Support z-ram? For 1gb Osprey
cesarXP said:
Merlin support ?
Click to expand...
Click to collapse
Will try if i get time
gtajunior said:
Work in Merlin?
Click to expand...
Click to collapse
Currently no
MrNataan said:
Support z-ram? For 1gb Osprey
Click to expand...
Click to collapse
It should.... although i Haven't tested
This is a great custom kernel: responsive, fluid, extremely stable, nice features and baked-in mods. Using this kernel on my xt1548 Osprey with Android Oreo Go Edition (Pixel Experience) by developer @Subinsmani. I've noticed no bugs or instabilities. Overall an extremely stable and feature filled kernel. Excellent work OP! :good:
@ki said:
It should.... although i Haven't tested
Click to expand...
Click to collapse
yes z-ram is there...
look past commit by shubham...
btw gud work man...
hope in coming days more tweaks will update... ?
MotoJunkie01 said:
This is a great custom kernel: responsive, fluid, extremely stable, nice features and baked-in mods. Using this kernel on my xt1548 Osprey with Android Oreo Go Edition (Pixel Experience) by developer @Subinsmani. I've noticed no bugs or instabilities. Overall an extremely stable and feature filled kernel. Excellent work OP! :good:
Click to expand...
Click to collapse
Ooh thanks for the compliment..
But be sure to report for a bug or a feature request....will try if possible
Subinsmani said:
yes z-ram is there...
look past commit by shubham...
btw gud work man...
hope in coming days more tweaks will update... ?
Click to expand...
Click to collapse
I know zram is there ...lol
I don't know if it works or not....
I cannot test for osprey as i dont have the device ..
Just built it for osprey as it is Msm8916
For future builds i will be needing testers(which i already have)?
@ki said:
I know zram is there ...lol
I don't know if it works or not....
I cannot test for osprey as i dont have the device ..
Just built it for osprey as it is Msm8916
For future builds i will be needing testers(which i already have)[emoji16]
Click to expand...
Click to collapse
@rahul9999 certified tester for osprey and @kvijaya.. [emoji23]
Sent from my MotoG3 using Tapatalk
@ki said:
I know zram is there ...lol
I don't know if it works or not....
I cannot test for osprey as i dont have the device ..
Just built it for osprey as it is Msm8916
For future builds i will be needing testers(which i already have)[emoji16][/QUOTE @rahul9999 certified tester for osprey and @kvijaya.. [emoji23]
Sent from my MotoG3 using Tapatalk
Click to expand...
Click to collapse
Hehehe.. why not youreself mani ?:silly:
rahul9999 said:
Subinsmani said:
Hehehe.. why not youreself mani ?:silly:
Click to expand...
Click to collapse
he he he sed.. we all are testers..
testers_lyf..
Click to expand...
Click to collapse
@ki said:
I know zram is there ...lol
I don't know if it works or not....
I cannot test for osprey as i dont have the device ..
Just built it for osprey as it is Msm8916
For future builds i will be needing testers(which i already have)?
Click to expand...
Click to collapse
When r u building it for merlin?

[ROM][7.1.2][KLTE] Optimized LineageOMS 14.1 for the Samsung Galaxy S5

LineageOS 14.1 with full Substratum support and -O3 optimizations​Code:​
Code:
*** Disclamer
/*
* Your warranty is now void.
*
* We are not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at us for messing up your device, we will laugh at you.
*
*/
Why another Nougat ROM? And in 2019?​Because this project has different goals, and hence naturally it is different from other Nougat ROMs! Here are its goals:
-Optimizations! I will try to include optimizations on both ROM and kernel side that most current ROMs don't use. That does mean possibly more bugs!
-Full Substratum support on LOS! Because I like LOS for its stability and simplicity, but I also miss Substratum
-Frequent security updates! I will aim to release at least one update every month containing the latest security patch and kernel fixes from LOS upstream, and whenever major security vulnerabilities occur
Features​-Built with latest Linaro toolchain GCC 7.4.1 snapshot and SDClang 6.0.9
-O3 GCC optimizations applied on ROM, O2 on Kernel
-Graphite optimizations applied on ROM
-Substratum/OMS commits fully merged from LineageOMS, including rootless mode
-Latest monthly security patches(Aug 2019)
-SELinux in Enforcing Mode​
Upcoming features​
-September security patch
-Random drivers backported from Linux mainline(credits to @arter97 for the idea)
-vnswap(on a separate kernel)
-F2FS backport from Linux mainline
-Microimprovements in kernel logic​
Bugs​-You tell me​
Downloads​Optimized LOS 14.1 builds​
OpenGapps​
How to install​1. In TWRP, select Wipe, and choose Data, Cache and System
2. Install ROM zip
3. Install Gapps zip(optional)
4. Install any mods(optional)​
Credits
@haggertk
@lineageos
@google
@caf
UberROMs
@arter97
XDA:DevDB Information
LineageOMS 14.1 ROM for the Samsung Galaxy S5
Contributors
@haggertk
haoyangw
@pascua28
Source Code: [url]https://github.com/haoyangw/android_kernel_samsung_msm8974[/URL]
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.4.x
Based On: LineageOS, AOSP
Version Information
Status: Stable
Stable Release Date: 2019-06-24
Created 2019-06-24
Last Updated 2019-08-29
Changelog​240619
-First build
-Compiled using Uber GCC 4.9
-Compiled ROM with -O3 optimizations
-Merged proper OMS/Substratum support, including rootless mode
130819
-Compiled using latest Linaro GCC 7.4 snapshot
-SDClang 6.0.2 enabled
-Kernel compiled using -O2 instead of -O3 for stability. Based on my testing and benchmark results online, the difference is negligible
290819
-Update to latest security patch(Aug 5 2019)
-Fix several warnings thrown by GCC 7.4
-Sync LOS and AOSP upstream changes since June(through repo sync)
Screenshots​Coming soon
Where is download link ?
No link
Sorry about that! Was finding the link so I created the thread first
durukanx said:
Where is download link ?
Click to expand...
Click to collapse
In first post: https://androidfilehost.com/?w=files&flid=295838
---------- Post added at 06:26 PM ---------- Previous post was at 06:25 PM ----------
vlad3647 said:
No link
Click to expand...
Click to collapse
See first post: https://androidfilehost.com/?w=files&flid=295838
guest4711 said:
In first post: https://androidfilehost.com/?w=files&flid=295838
---------- Post added at 06:26 PM ---------- Previous post was at 06:25 PM ----------
See first post: https://androidfilehost.com/?w=files&flid=295838
Click to expand...
Click to collapse
Ok,thanks :good:
More variants
If you made it supported for other klte variants it would be awesome .
llvm 8?
Thanks for the build. Just asking, but if you don't mind, can you also build an optimized pie rom? Cause there are no other roms with compiler optimizations. Here's another tool chain to play with https://developer.qualcomm.com/software/snapdragon-llvm-compiler-android
Couldnt get this baby going. Froze during install on twrp 3.3.0. Tried twice with gapps, didnt try without. Came from pie on first install so cleaned house, next one followed instructions to the letter and same result. Anyone else? Can someone try without gapps?
Following your hard work and thanks a lots for your effort
pascua28 said:
Thanks for the build. Just asking, but if you don't mind, can you also build an optimized pie rom? Cause there are no other roms with compiler optimizations. Here's another tool chain to play with https://developer.qualcomm.com/software/snapdragon-llvm-compiler-android
Click to expand...
Click to collapse
Oh sure, I'll work on it when I find time! But I'll prioritise this nougat ROM cos this is my daily driver haha xD And interesting suggestion about the compiler, I was trying to figure out how to use it(enable it) in the android build system lol but I got carried away. On my to-do list! Both of them! Thanks Especially for your wonderful kernel, was looking through your commit history for some cherry-picking but there were so so many good ones! XD
fbs said:
llvm 8?
Click to expand...
Click to collapse
Hmm I can't seem to find arm binaries for it lol, but I'll try to compile using snapdragon llvm 6 next build! Thanks
EDIT: Also on my todo list is building using gcc 7/8! I'm still deciding between using (slightly) outdated uber toolchain builds or the latest linaro android toolchain xP and whether to use gcc 8, I'll compile and try if I face too many (unfixable) compilation errors I'll use gcc 7 instead! Heard there are many optimizations compared to (really old) 4.9, especially with -o3 and graphite
Heads up! Successfully incorporated random driver from linux 4.12 mainline(yay) and vnswap! Compiled successfully and after some preliminary testing all is well will commit the changes neatly and push to my github then upload a kernel zip not sure if it's the new driver + vnswap or the -O3 flags, but ROM feels noticeably smoother hmm(or maybe because I tested on a clean flash 2ith no apps installed lol, vs my personal 80+ apps D: )
cbr69er said:
Couldnt get this baby going. Froze during install on twrp 3.3.0. Tried twice with gapps, didnt try without. Came from pie on first install so cleaned house, next one followed instructions to the letter and same result. Anyone else? Can someone try without gapps?
Click to expand...
Click to collapse
What device do you have? I only built for the klte for now sorry, so if you have kltekor or klteduos etc, you might face issues hmm also I think I'm still on twrp 3.2.0(oops), I'll update my twrp and test out myself too
haoyangw said:
What device do you have? I only built for the klte for now sorry, so if you have kltekor or klteduos etc, you might face issues hmm also I think I'm still on twrp 3.2.0(oops), I'll update my twrp and test out myself too
Click to expand...
Click to collapse
Hi, my device is a klte g900w8. It must be the twrp version not playing nice. Thanks for doing all this for us and breathing new life into 7.1 and our gs5's! Btw, Im using twrp 3.3.1 not 3.3.0
cbr69er said:
Hi, my device is a klte g900w8. It must be the twrp version not playing nice. Thanks for doing all this for us and breathing new life into 7.1 and our gs5's! Btw, Im using twrp 3.3.1 not 3.3.0
Click to expand...
Click to collapse
Ok I'll test out twrp 3.3.1! Haha honestly I just started this cos oreo and pie ROMs' battery life wasn't good enough for my daily usage and I missed the crazy optimized ROMs from previous popular devices like my late Galaxy S4 xD so nougat ftw it is fast stable and long-lasting battery
haoyangw said:
Hmm I can't seem to find arm binaries for it lol, but I'll try to compile using snapdragon llvm 6 next build! Thanks
EDIT: Also on my todo list is building using gcc 7/8! I'm still deciding between using (slightly) outdated uber toolchain builds or the latest linaro android toolchain xP and whether to use gcc 8, I'll compile and try if I face too many (unfixable) compilation errors I'll use gcc 7 instead! Heard there are many optimizations compared to (really old) 4.9, especially with -o3 and graphite
Click to expand...
Click to collapse
for the kernel I'm using gcc 9.1

[KERNEL][PHOENIX][10 & 11] Optimus Drunk Kernel v11.25 [4.14.228][30-03]

Optimus Drunk Kernel for POCO X2/Redmi K30​
Code:
#include <std_disclaimer.h>
/*
* Your warranty is... Still valid??.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Features:
- Updated to latest Linux kernel tag
- Built with latest AOSP clang
- AnyKernel3
- Wireguard support
- Spectrum Support
- Shadow Call Stack
- Wakelock blocker
- KLAPSE Support
- Westwood (default) & BBR TCP
- Sio, Fiops, Zen & Maple (default) I/O Schedulers
- Optimisations from other kernels
Download:
Github
FK Manager config
Installation:
Dirty flash your rom if you have another custom kernel installed
Flash the zip in TWRP or FK Manager and reboot, that's all
XDA:DevDB Information
Optimus Drunk Kernel for POCO X2, Kernel for the Xiaomi Poco X2
Contributors
GtrCraft
Source Code: https://github.com/GZR-Kernels/Optimus_Drunk_Phoenix
Kernel Special Features:
Version Information
Status: Stable
Created 2020-03-30
Last Updated 2020-09-11
Download link and instructions please.
EDIT: Got it, thank you so much.
GtrCraft said:
Optimus Drunk Kernel for POCO X2/Redmi K30​​
Code:
#include <std_disclaimer.h>
/*
* Your warranty is... Still valid??.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Features:
- Built with Clang 10.0.4
- AnyKernel3
- MIUI compatible
- Wireguard support
- Wakelock blocker
- Westwood TCP
- Sio, Fiops, Zen & Maple (default) I/O Schedulers
- Optimisations from other kernels
Downloads:
Android 10:
FK Manager config
Github
Installation:
Dirty flash your rom if you have another custom kernel installed
Flash the zip in TWRP or FK Manager and reboot, that's all
XDA:DevDB Information
Optimus Drunk Kernel for POCO X2, Kernel for the Xiaomi Poco X2
Contributors
GtrCraft
Source Code: https://github.com/GZR-Kernels/Optimus_Drunk_Phoenix
Kernel Special Features:
Version Information
Status: Beta
Created 2020-03-30
Last Updated 2020-03-30
Click to expand...
Click to collapse
Very good, X2 development is just taking off now.
I flashed it with MIUI.eu 11.0.13. Will give feedback later ??
Update : after a whole I realised that my screen won't turn of during calls & voice notes. It's all fixed after I flashed back the stock kernel. Not sure what's the problem but I hope you can take a look at it ?
Beta 2 is here:
https://github.com/GZR-Kernels/Optimus_Drunk_Phoenix/releases/tag/b2
Changelog:
Rebased on AOSiP kernel
Fixed proximity sensor
Made kernel zip smaller
hoodlumfird said:
I flashed it with MIUI.eu 11.0.13. Will give feedback later
Update : after a whole I realised that my screen won't turn of during calls & voice notes. It's all fixed after I flashed back the stock kernel. Not sure what's the problem but I hope you can take a look at it
Click to expand...
Click to collapse
Fixed in the just released beta 2
GtrCraft said:
Fixed in the just released beta 2
Click to expand...
Click to collapse
I flashed beta 2 & I noticed autobrightness works veryy well unlike before. Proximity sensor works well also. Not to forget that beta 2 feels buttery smooth (it was a bit laggy with beta 1)
Thank you for you hard work keep it up ??
I understand yours effort sir, but just heads up that everyone here devloping kernels or roms have their own method of flashing, why this is happening? isn't every dev sync up or they have common recovery through which they can flash things normally. (Not talking abt EU rom users). for arter most of poco users need to flash kernel and then stock recovery. then it will flash and work.. In optimus kernel, it doesnt worked on stock recovery but its stuck on boot logo and again i flash fake twrp of K30 and then i flashed my stock rom and your kernel and it worked. even arter rom has different flashing technique and other devs for roms have other flashing techniques.
So may I know why everyone have different techniques here to flash? its quiet time consuming and we need to research on how to flash it and make things work.
Hard_Rock83 said:
I understand yours effort sir, but just heads up that everyone here devloping kernels or roms have their own method of flashing, why this is happening? isn't every dev sync up or they have common recovery through which they can flash things normally. (Not talking abt EU rom users). for arter most of poco users need to flash kernel and then stock recovery. then it will flash and work.. In optimus kernel, it doesnt worked on stock recovery but its stuck on boot logo and again i flash fake twrp of K30 and then i flashed my stock rom and your kernel and it worked. even arter rom has different flashing technique and other devs for roms have other flashing techniques.
So may I know why everyone have different techniques here to flash? its quiet time consuming and we need to research on how to flash it and make things work.
Click to expand...
Click to collapse
I can't change the way others want you to flash kernel or rom.
But for me you can use the Redmi K30 twrp from xiaomi.eu of Franco Kernel Manager as stated in OP, it doesn't matter.
And it doesn't matter which recovery you have.
Update time:
https://github.com/GZR-Kernels/Optimus_Drunk_Phoenix/releases/tag/b3
Changelog:
-Updated Wireguard to 1.0.20200401
-Added KLAPSE & Force Fastcharge (Disabled by default)
Can you add exfat support? Thanks
时光477 said:
Click to expand...
Click to collapse
That will happen, but when I don't know as I am waiting for a better source to use
Update:
https://github.com/GZR-Kernels/Optimus_Drunk_Phoenix/releases/tag/b4
Changelog:
-Updated Wireguard to 1.0.20200413
-Removed Force Fast Charge
-Add ExFAT & BBR TCP
-Built with Clang 10.0.6
First stable release:
https://github.com/GZR-Kernels/Optimus_Drunk_Phoenix/releases/tag/v10.0
Changelog:
-Rebased on Arter kernel bringup
-Updated to 4.14.176
-All features are still here
Its works on miui latest 11.07 (rooted)?
fromjeet said:
Its works on miui latest 11.07 (rooted)?
Click to expand...
Click to collapse
Read the OP
not able to download from fkm
Update:
https://github.com/GZR-Kernels/Optimus_Drunk_Phoenix/releases/tag/v10.1
Changelog:
* Updated to 4.14.177
* Added some powersaving features
GtrCraft said:
Update:
https://github.com/GZR-Kernels/Optimus_Drunk_Phoenix/releases/tag/v10.1
Changelog:
* Updated to 4.14.177
* Added some powersaving features
Click to expand...
Click to collapse
In custom roms when touch power button to lock it selects first item like dialer can u check it
vny10 said:
In custom roms when touch power button to lock it selects first item like dialer can u check it
Click to expand...
Click to collapse
It's a known issue related to the vendor, not the kernel.

Categories

Resources