[KERNEL] Resurrected Kernel [v1.0][Moto G6][ALI] - Moto G6 ROMs, Kernels, Recoveries, & Other Develop

[size=+2]Resurrected Kernel[/size]
for the Moto G6 (codename: ALI)
####################
The purpose of this kernel is to provide a fully stable up-to-date kernel. The focus is quality over quantity, stability over every possible cherry-pick-able feature out there. However, I am open to requests and/or suggestions
####################
[size=+1]Features[/size]
+ Passes SafetyNet
+ AnyKernel2 format (more info)
+ WireGuard support (more info)
+ Disabled CRC's on data blocks (30% increase in performance)
+ Fsync On/Off support
+ Additional I/O Schedulers (Zen, FIOPS, SIO, BFQ)
+ Increased Zram compression streams
+ Tuned adrenoboost (disabled by default)
+ Advanced TCP congestion options
+ KCAL Color Control
+ Removed dm-verity on system and vendor partition
+ Boeffla wakelock blocker driver v1.1.0
+ Works same as stock (or better?)
+ More to come, stay tuned
####################
[size=+1]Downloads[/size]
+ Beta version -> Resurrected Kernel v1.0 || Oreo 8.0.0
####################
[size=+1]Installation[/size]
+ Download kernel zip
+ Reboot to twrp recovery
+ Choose INSTALL to flash kernel zip
+ Reboot and Profit!
####################
Credits
+ Motorola (for releasing kernel sources)
+ @osm0sis (AnyKernel2 template/source)
+ All commit authors in my kernel source
####################
XDA:DevDB Information
Resurrected Kernel, Kernel for the Moto G6
Contributors
Jleeblanch
Source Code: https://github.com/Jleeblanch/kernel_motorola_msm8953/tree/rk-oreo
Kernel Special Features: See description above
Version Information
Status: Beta
Current Beta Version: v1.0
Beta Release Date: 2018-09-09
Created 2018-09-10
Last Updated 2018-09-09

Please read before flashing...
[size=+2]NOTICE[/size]
As we all know, there are multiple variants/versions of the Moto G6 (codenamed ALI). I personally own the XT1925-6 variant and have tested this kernel on both firmware versions OPS27.104-15-10 (pre-ota)(march security patch) and OPSS27.104-15-10-4 (post-ota)(july security patch).
Being that this kernel uses the AnyKernel2 format and is NOT a full boot.img, my hope is that it'll work for all variants/versions. Make sure to backup your boot partition before attempting to flash this kernel that way if something goes wrong, you can easily restore your boot.img. If this kernel works for you, please lemme know what variant/version you're using so I can make note of it so users in the future can rest assured it'll work for them as well
Lastly, you will need to have flashed a "no-verity_boot.img" for your device and have TWRP installed before you can flash this kernel. In the future, this may change.

Reserved

Flashed perfectly on retus March firmware. First impressions are phone feels a bit snappier. Awesome kernel! Kcal control works great. On my G6 I changed rgb to 235/245/255 and saturation to 40.
Btw I'm using the same variant as you.

this works for XT1925-1 OPS27.82.87?

Alexibarra98 said:
this works for XT1925-1 OPS27.82.87?
Click to expand...
Click to collapse
I already tried it and yes it works

Alexibarra98 said:
I already tried it and yes it works
Click to expand...
Click to collapse
Awesome, good to know!
So far that's 2 confirmed variants

Been using since last night. Smooth as butter! A noticeable upgrade from stock kernel. I've flashed a few things and made a nano so not a good representation of battery life. I'll share my results when I have a normal usage day.

Works for me 1925-6 variant.

Omg, I'd love to see a Play (1922) variant of this kernel get made!
My wishlist includes much of what you've already included. Especially the Adrenoboost, Kcal, CRC disable, and added IO schedulers.
Just curious, do you plan on adding any hotplugging features? Like Intelliplug? Battery life could be drastically increased with implementation.

bubbyj said:
Omg, I'd love to see a Play (1922) variant of this kernel get made!
My wishlist includes much of what you've already included. Especially the Adrenoboost, Kcal, CRC disable, and added IO schedulers.
Just curious, do you plan on adding any hotplugging features? Like Intelliplug? Battery life could be drastically increased with implementation.
Click to expand...
Click to collapse
If you're willing to test (as I don't have that device) I can definitely put together a kernel for you guys.
As far as hot plugging features, that's something I can look into

you have planned to create some custom rom for the moto g6 jleeblanch? I dont like the stock rom

I recommend to anyone try this kernel. It's such a dramatic improvement over stock. So buttery smooth! You might enjoy stock rom better with a better performing kernel.
@Jleeblanch I'd like to donate to your development but don't see where you have a donation link.

Alexibarra98 said:
you have planned to create some custom rom for the moto g6 jleeblanch? I dont like the stock rom
Click to expand...
Click to collapse
I may possibly at some point. However, you are aware that you can flash treble GSI's? Just make sure to use arm A-only versions of whatever rom you wanna try out. I personally haven't tried any so I can't say either way what doesn't or doesn't work, but from what I hear most things do work fine. Just make sure you have a TWRP backup and/or the stock firmware for your variant in case something goes wrong.
giant22000 said:
I recommend to anyone try this kernel. It's such a dramatic improvement over stock. So buttery smooth! You might enjoy stock rom better with a better performing kernel.
@Jleeblanch I'd like to donate to your development but don't see where you have a donation link.
Click to expand...
Click to collapse
Thanks! Glad you're enjoying it!
As far as donations go, I don't currently except them (although as much time as I spend working the various Moto devices I own, I probably should). Regardless, a simple thanks will do [emoji6]

Working like a charm XT1925-3
How can I access the features of the kernel?
Like Kcal control?

darthxa said:
Working like a charm XT1925-3
How can I access the features of the kernel?
Like Kcal control?
Click to expand...
Click to collapse
Try apps like https://play.google.com/store/apps/details?id=flar2.exkernelmanager

Working, thank you
Working nice on XT1925-5 (OPS-27.82.87) Thank you so much. Sir, can you create some custom rom? Or can you say me, how to implentate "Moto fingerprint gestures" into treble roms ?

@Jleeblanch
Maybe you can activate the LED notifications in this kernel. Such things have already been done for older Motorola phones.
Example:
https://forum.xda-developers.com/2015-moto-g/development/kernel-somefeak-moto-g-2015-3rd-gen-t3622936

kemoti said:
@Jleeblanch
Maybe you can activate the LED notifications in this kernel. Such things have already been done for older Motorola phones.
Example:
https://forum.xda-developers.com/20.../kernel-somefeak-moto-g-2015-3rd-gen-t3622936
Click to expand...
Click to collapse
How to enable led notofication if the device doesn't have required hardware?

nlooooo said:
How to enable led notofication if the device doesn't have required hardware?
Click to expand...
Click to collapse
In previous models, there was a hidden diode, using the kernel gave the ability to use it as an LED notification. In moto g6 it is also possible.
https://forum.xda-developers.com/moto-g6/how-to/moto-g6-led-confirmed-t3806165

Related

[KERNEL][MM][DRM FIX] EliteKernel v3.4.33 [UB]

Elite Kernel
Unleash the beast
for Xperia Z3/Z3 Dual (need test)
First of all, I have spent a lot of hours on this project, trying to obtain the true power of this great device.
This Kernel is designed for optimize battery life and give more performance than stock kernel.
Features
Based on lastest sources, 23.5.A.1.291
DRM injection inside the Zip, you don't need flash DRM Fix, just kernel
OC up to 2,7Ghz
UC for better battery life
Optimized voltage tables and voltage control
Thunderplug v5.4, a load based hotplug and optimized for multi-core devices and it is very battery friendly with a great performance
IntelliThermal v2, a custom thermal control better than stock one
GPU overclock up to 657Mhz
Kcal control
More I/O schedulers like FIOPS, Zen, VR, BFQ...
init.d support
Power suspend driver v1.5
Build with UBERTC 4.9 and some optimizations
More stuff that I don't remember
ToDo
Add more governors
Share interactive governor tuned settings for battery and performance
More GPU optimizations
F2FS support
More battery life optimizations
Maybe Quick Chargue 2.0 support.
Maybe sound optimizations
Installation
Install my lastest TWRP (go here)
Make a backup of the partition System (MUST DO, because the kernel change some modules on system)
Select a version according to your needs. (See below)
If you have a TA partition backup:
Download EliteKernelZ3-(current version).zip and extract the boot.img on your pc.
Use the ta_poc tool by munjeni with your TA partition backup.
Rename the new_boot.img to boot.img and replace it on the EliteKernelZ3-(current version).zip
Boot on FOTAKernel recovery, with the phone power off, press at the same time power key and vol- until the phone vibrates.
Flash your EliteKernelZ3-(current version).zip with the boot.img patched.
Enjoy!
Click to expand...
Click to collapse
If you don't have a TA partition backup (so you need DRM FIX):
Boot on FOTAKernel recovery, with the phone power off, press at the same time power key and vol- until the phone vibrates.
Flash EliteKernelZ3_D-(current version).zip
Enjoy!
Click to expand...
Click to collapse
Usage with eXistenZ 5.6.5 (or similar Stock based ROMs) and Magisk
eXistenZ 5.6.5 includes a TWRP recovery inside the rom, and we don't need it since we have some options for recovery here, so for remove it download this file and flash it on recovery.
eXistenZ 5.6.5 also includes SuperSU on the rom and for correclty install magisk we need to remove it, so first of all update the SuperSU app on the Play Store, after go to the app and on settings there is an option for uninstall SuperSU and unroot the System, so tap it (Sometimes if it takes more of 3 mins, close the app and do it again), after that reboot the phone and done, SuperSU uninstalled.
Now the installation/upgrade of magisk using my kernel.
Download the lastest magisk zip and magisk uninstaller zip here, put they on SD card.
Reboot on recovery, uninstall magisk with the uninstaller zip if you have it, flash the kernel zip, flash magisk and reboot to system, and done, enjoy magisk.
Download
Z3
Z3ds
Credits
@AndroPlus
@Myself5
@DooMLoRD
@pec0ra
@dorimanx
@faux123
@Doom Slayer a lot of thanks to this great dev
@dontbelive great dev and my Z3 tester
@BlackSoulxxx
@savoca
Source
https://github.com/ShadowElite117/Xperia-Z2-Z3
Changelog
v1
First release
Click to expand...
Click to collapse
v2
Based on new 23.5.A.1.291 sources
Click to expand...
Click to collapse
v3
Added missing conservative GPU Governor
Added Simple GPU algorithm
Added Adreno idler for battery saving
Added Fauxsound v3.6
More optimizations
Click to expand...
Click to collapse
v3.4.13
Kernel made from scratch, so no special features for now (Sorry guys I do this for a better kernel).
Implemented last_kmsg for a correct bug report.
Updated linux kernel version from 3.4.0 to 3.4.13 (Correclty done and free of strange bugs).
QC 2.0 enabled (don't expect miracles, it is limited on Z3 so it works with some QC 2.0 chargers)
Full compatibility with Magisk, eXistenZ and ta_poc tool.
Click to expand...
Click to collapse
v3.4.33
Updated linux kernel version from 3.4.13 to 3.4.33.
Enabled a kernel flag for try to enable Assertive Display on Z2 (It just give me logs that help me to know what is happening).
Dropped TWRP inside the kernel, since I have build newest TWRP for leo, for FOTAKernel partition. It has more features and it is more bug free than recovery inside the kernel.
Click to expand...
Click to collapse
FAQs
Q. How I can report a bug?
A. Give me a last_kmsg, tell me your ROM, if you have Magisk, Xposed Framework or similar things and describe me the problem.
Q. How I can contact you?
A. Please don't spam me with PMs, you can contact me on Telegram: ShadowElite117
Thanks!! @ShadowElite I'm happy to see another custom kernel with some special features like AndroPlus ones for the MM version!
BTW can you make for 23.5.A.1.203 or other version(with stamina)?
Because i don't know whether this .575 kernel compatible with Stamina mode...
Glad to see another custom kernel for our Z3. It would also be amazing if you could update to. 238
Thanks!
Be patient guys, sony will release the sources of 238 soon
Looks promising, and thank you for thinking about dual sim users !
I'm eagerly waiting for d6633/83 version. Is there a way to choose GPU overclock/underclock ?
tiliarou said:
Looks promising, and thank you for thinking about dual sim users !
I'm eagerly waiting for d6633/83 version. Is there a way to choose GPU overclock/underclock ?
Click to expand...
Click to collapse
Z3 Dual version is build but I uploaded the wrong file so later I'm going to upload it and yes GPU has OC/UC and you can modify it with a kernel app like kernel adiutor or ex kernel
whoa... custom kernel for Z3 at last! great news
I'd like to test it, but I'll have to wait for .238 support
Finally!!! Custom kernel with Undervolting this is what I'm seeks ????
oh my god this is a miracle is real kernel more control over what can not believe thanks thank you very much for your contribution
I`m so happy about z3 mm custom kernel!
thx to make this kernel!
this needs unlocked bootloader ?
Wooooop finally a kernel for MM, thank you p.s thanks so much for f2fs aswell
Sent from my D6603 using XDA-Developers mobile app
lorvix said:
this needs unlocked bootloader ?
Click to expand...
Click to collapse
Of course it does. It's a custom kernel.
@ShadowElite Do i have to be on 575 base to use your kernel? And good timing i just bought my Z3 and was dissappointent that there were no custom kernels,thanks. Also can we ask for changes or features on your kernel?
Does this kernel have kexec hardboot, or is there plans for implementing it?
zhjackss said:
@ShadowElite Do i have to be on 575 base to use your kernel? And good timing i just bought my Z3 and was dissappointent that there were no custom kernels,thanks. Also can we ask for changes or features on your kernel?
Click to expand...
Click to collapse
You can have 570 575 203 238 firmware and this kernel will work, when Sony release the source of 238 I update it. Also you can see the most important features on first post and you can ask for features
Discordian_Nerd said:
Does this kernel have kexec hardboot, or is there plans for implementing it?
Click to expand...
Click to collapse
Yeah I have planned add support, I forget it on ToDo list
it is necessary to do a clean installation or can I keep my app?
There will be for Xperia Z3 compact?

[Kernel] [H990] D.O.T.S. v1.4 [01/04]

This kernel is the result of a common work with @Leicxan. It can only be used on H990 and was successfully on single sim AND double sim variants. D.O.T.S. kernel is :
- Dirty Santa rooted
- Optimized
- Tweaked
- Stock based
Caution
Nor @Leicxan nor I are responsible for any damage caused to your phone. Any of the action you'll make to flash a kernel theorically voids your warranty. If don't accept any risk, then keep your stock phone
Content
- Based on v10g official LGE sources
- Compiled with UBERTC 7.x Linaro 7.2.1 (since V1.4)
- Dirty Santa root as implemented by @emdroidle
- CPU Governors : performance, powersave, userspace, ondemand, conservative, interactive, darkness, nightmare, zzmove, blu_active, elementalx, chill, dancedance. Default is interactive.
- I/O Schedulers : noop, deadline, cfq, fiops, sio, bfq, zen, maple. Default is zen.
- TCP congestion protocols : htcp, cubic, bic, reno, westwood. Default is westwood.
- Adreno idler
- Adrenoboost
- Exfat Support
- KCAL
- RCTD removed
- Wakelocks management
- Various small optimizations and tweaks
History
V1.0 [11/10] : original version
V1.1 [11/22] : CPU frequency hard limit (for battery drain improvement) and various minor fixes
V1.2 [11/27] : CPU frequency fix, exfat from samsung's open source module, LGE adaptive readahead
V1.3 [12/11] : Upstream Kernel to 3.18.86 thanks to @thirdzcee. Disabled LGE's rctd, ccmd and triton. Disabled some debug configuration. Note : Windows Defender can detect the archive as a Fuerboos trojan, this is a false positive.
V1.4 [01/04] : Fix for kernel crash when using pptp vpn. Upstream Kernel to 3.18.90.
Installation instructions
Follow the instructions provided by @emdroidle here : https://forum.xda-developers.com/v20/development/dirtysanta-h990-t3624296
At step 16, instead of typing fastboot reboot, just unplug the usb cable, remove battery, wait 5 sec, put the battery back and reboot the phone. This should limit the risk of static screen at reboot.
Once the kernel installed, update your phone to the latest KDZ for your region using KDZ Writer : https://forum.xda-developers.com/v20/development/tool-kdz-writer-t3649818
Known bugs
Some users reported issues with SD cards formated with exFat. This is not a general issue. The root cause is not clear (linked to the way the SD card is formated ?).
How to report a problem
It is very important to provide as many details as possible when you report a problem. It means providing :
- the model of your phone
- the version of the kernel and of the KDZ you updated to
- a precise description of the problem and of the circumstances
- logs (logcat & dmesg) : https://forum.xda-developers.com/showthread.php?t=2185929
Q&A
Before asking please :
- read the posts in this thread. The "Search Thread" box is your friend.
- have a look at @xdav20's H990DS Info Bank thread which is full of usefull information : https://forum.xda-developers.com/v20/how-to/h990ds-info-bank-t3703736"
Thanks
@emdroidle for his implementation of Bad Santa on H990
@USA-RedDragon for his werewolf kernel that was inspiring
Sources
https://github.com/guaibao1101/h990x-msm-3.18/tree/DOTS_v1.3
Downloads
Can we flash this over an existing kernel via TWRP if we have already rooted?
p7810456 said:
Can we flash this over an existing kernel via TWRP if we have already rooted?
Click to expand...
Click to collapse
Normally yes.. But if there is a problem, you'll have to restart all over, so make a backup of your phone, just in case..
It would be nice if this can be crossed over to H918.
First of all, just want to say thank you to @jahlex and @Leicxan for bringing the long awaited kernel with literally everything I could ask for to our devices.
Upon first install by flashing in TWRP, wiping dalvik/cache and rebooting, my phone goes to the LG screen, then black screens and I get a kernel crash screen that I've taken a photo of here
Any ideas what's causing it? My system version is in my signature. I'm really keen to get this working! For now I've restored my TWRP backup I did before flashing, back to 0.2.3b
Update: Even after the TWRP restore I was still getting the same problem. Immediately I thought it might be a Magisk problem as that's the only other thing I updated before rebooting. It appears I was correct. I used KDZWriter to re-flash the boot & system partitions of my phone (since Magisk modifies the boot image) and it immediately booted okay with my TWRP backup. Booted back into recovery, flashed the kernel as well as a previous Magisk version (14.0 not 14.2) and my other /system apps & mods, wiped cache, rebooted and sat on the LG screen for a while. Then booted into the OS okay. Glad it worked out and I'm keen to see how this kernel goes.
On a sidenote, do you have any plans to bring it to a more up to date version of the linux base kernel?
jahlex said:
Normally yes.. But if there is a problem, you'll have to restart all over, so make a backup of your phone, just in case..
Click to expand...
Click to collapse
This worked for me! Thanks a lot!
iDefalt said:
First of all, just want to say thank you to @jahlex and @Leicxan for bringing the long awaited kernel with literally everything I could ask for to our devices.
Upon first install by flashing in TWRP, wiping dalvik/cache and rebooting, my phone goes to the LG screen, then black screens and I get a kernel crash screen that I've taken a photo of here
Any ideas what's causing it? My system version is in my signature. I'm really keen to get this working! For now I've restored my TWRP backup I did before flashing, back to 0.2.3b
Update: Even after the TWRP restore I was still getting the same problem. Immediately I thought it might be a Magisk problem as that's the only other thing I updated before rebooting. It appears I was correct. I used KDZWriter to re-flash the boot & system partitions of my phone (since Magisk modifies the boot image) and it immediately booted okay with my TWRP backup. Booted back into recovery, flashed the kernel as well as a previous Magisk version (14.0 not 14.2) and my other /system apps & mods, wiped cache, rebooted and sat on the LG screen for a while. Then booted into the OS okay. Glad it worked out and I'm keen to see how this kernel goes.
On a sidenote, do you have any plans to bring it to a more up to date version of the linux base kernel?
Click to expand...
Click to collapse
Magisk 14.2 and 14.3 are beta version, I tried magisk 14.3 but my h990n always boot into bootloader interface..
So just stay with magisk 14, it doesn't have any issue.
For the Linux version, it will take tons of time to do this even we just upstream our kernel (from 3.18.31 to 3.18.79)
Sent from my OnePlus3T using XDA Labs
Leicxan said:
Magisk 14.2 and 14.3 are beta version, I tried magisk 14.3 but my h990n always boot into bootloader interface..
So just stay with magisk 14, it doesn't have any issue.
For the Linux version, it will take tons of time to do this even we just upstream our kernel (from 3.18.31 to 3.18.79)
Click to expand...
Click to collapse
Yeah I don't know why 14.0 prompted me to update to a beta version. I know 14.3 added something to do with supporting LG devices better, maybe that broke something. Otherwise I'm quite happy with how things are going ?
And yeah I'm somewhat familiar with how long kernel related things can take, it was more of a question if anything.
I've just installed it now, it works perfectly for now much more reactive i've impression Thank you!!
storm68 said:
It would be nice if this can be crossed over to H918.
Click to expand...
Click to collapse
That would be awesome!!!!!!
A million thanka for this for jahlex and lexican
Is the kernel in the downloads in the OP is the same version as this one : DirtySanta-h990-1.2-u721-v10g that was posted back in rooting thread
Or is it newer ?
storm68 said:
It would be nice if this can be crossed over to H918.
Click to expand...
Click to collapse
nymikey said:
That would be awesome!!!!!!
Click to expand...
Click to collapse
We only deal with H990 here guys. Thanks.
shouk_1987 said:
A million thanka for this for jahlex and lexican
Is the kernel in the downloads in the OP is the same version as this one : DirtySanta-h990-1.2-u721-v10g that was posted back in rooting thread
Or is it newer ?
Click to expand...
Click to collapse
This is major evolution of this kernel. DirtySanta-h990-1.2-u721-v10g was basically the stock v10g kernel with Dirty Santa root.
Before all, thank you so much guys, that's a great work
For some opinions i have many friends that buy h990ds last year and me too, we concluded if tha kernel was more optimized battery side was more effective than performances, and will be great that CPU and GPU clocks and voltages will be more unlocked if you can do that , thank you again.
great kernel thank you @jahlex :good: and @Leicxan :good: it works perfectly
zinou213 said:
if tha kernel was more optimized battery side was more effective than performances, and will be great that CPU and GPU clocks and voltages will be more unlocked if you can do that , thank you again.
Click to expand...
Click to collapse
They've already enabled some overcooked frequencies with this, as seen in their Github commits. If it's battery you're looking for, install the AKT Profiles from the thread, and then choose a balanced or battery saving profile. Since installing those and this kernel, I'm regularly seeing 5-7 hours of screen time.
On a side note @jahlex or @Leicxan if you're looking for a beta tester, feedback, or Guinea pig to help out (that isn't actually building the kernel, that's above my ability to simply modify individual files) I'd love to help wherever possible
Been doing the whole TWRP/Flashing/Kernel/ROM thing since I got my G3 way back in the day.
zinou213 said:
Before all, thank you so much guys, that's a great work
For some opinions i have many friends that buy h990ds last year and me too, we concluded if tha kernel was more optimized battery side was more effective than performances, and will be great that CPU and GPU clocks and voltages will be more unlocked if you can do that , thank you again.
Click to expand...
Click to collapse
As @iDefalt said, we already enabled higher max frequency / voltage for both CPU & GPU. We won't go higher because the result would be high risks of unstability and overheating. If you want performance and do not care about battery life, simply switch to performance governor for both CPU & GPU. We use interactive CPU governor by default because it is a good choice considering balance performance / battery life (nightmare & darkness are good choices too). You have plenty of apps to do that, example : https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor.
iDefalt said:
They've already enabled some overcooked frequencies with this, as seen in their Github commits. If it's battery you're looking for, install the AKT Profiles from the thread, and then choose a balanced or battery saving profile. Since installing those and this kernel, I'm regularly seeing 5-7 hours of screen time.
On a side note @jahlex or @Leicxan if you're looking for a beta tester, feedback, or Guinea pig to help out (that isn't actually building the kernel, that's above my ability to simply modify individual files) I'd love to help wherever possible
Been doing the whole TWRP/Flashing/Kernel/ROM thing since I got my G3 way back in the day.
Click to expand...
Click to collapse
OK buddy. We'll remember.
Thanks!!! And with KCAL, it's perfect! :victory:
Huge thanks guys! Everything works great, even video recording. Great work!!!
@jahlex @Leicxan
Thank you for the release. I will report back any noteworthy issues.
Please forgive me if the following comment may deemed as a thread hijacking. I would be happy to remove it on your request.
I have just started a new thread in time for H990DS users and others, with useful information and tutorials that would potentially answer the most commonly asked questions or the issues sooner or later you would run into.
Kcal is so nice to finally have, thank you c:

[VS995,H990,H918,H910,US996,LS997,H915,F800K/L/S] mk2000 Kernel [STOCK]

THANKS:​
shminer: For his repository
eoghan2t7: For his repository
Mentalmuso: For his repository
savoca: For the invaluable KCAL
USA-RedDragon: For his repository
nathanchance: For his pre-merged sources
TheCrazyLex: And developers of AOSPA, grabbed lots from there
emdroidle: For his work with rooting, and kernel patches
eng.stk: For his blu_active governor, and inspiration
frap129: For his Maple scheduler, and repository
alucard_24: For his governor, and G5 repository
franciscofranco: For his many kernel patches
Lord Boeffla: For his Wakelock Blocker etc
sultanxda: For his many kernel patches
warBeard_actual: For his VM tweaks
neobuddy89: State notifier etc
arter97: Adreno idler etc
flar2: Adreno boost etc
And other's I probably forgot
Previous Versions:​
Features:
1.4
Linux 3.18.85
KCAL - Screen panel control
ElementalX and Zzmoove CPU governors
Modules signed and secure, as in stock rom
Disable software CRC checking of SD Card - More performance
Fix by emdroidle for eng-bootloader (US996Santa, H990 & H910)
CRC32 and CHACHA20 HW ACC, CRNG based on CHACHA20
Static screen fixed (US996Santa, H990 & H910)
Many patches that improves or fixes things
Maple I/O scheduler
LZ4 compression
RCTD removed
1.5
Linux 3.18.92
KCAL - Screen panel control
Alucard, and blue_active (by eng.stk) Governors
Fix by emdroidle for eng-bootloader (US996Santa, VS995, H990 & H910)
Integrated Virtual Memory tweaks (war_mod) and Blu_active settings into ramdisk
Many work-queues converted to *system_power_efficient_wq*
Static screen fixed (US996Santa, VS995, H990 & H910)
Patches from CAF mostly, to various subsystems
Support for UAC2 external DAC
Boeffla Wakelock Blocker
Maple I/O scheduler
Adrenoboost
On/Off Fsync
Adreno Idler
1.5.6 BETA
Linux 3.18.102
KCAL - Screen panel control
blu_active (by eng.stk) cpu governor
Integrated memory tweaks (war_mod), and blu_active settings into ramdisk
Many threads converted to *system_power_efficient_wq*
Toggle USB2 900mA Fast-Charge on/off
Support for UAC2 external DAC
Static screen and modem fix
Maple I/O scheduler
Toggle Fsync on/off
Adreno Boost
Adreno Idler
WireGuard
BTTF (Rebased kernel exclusively for V20, closer to stock)
KCAL - Screen panel control
blu_active (by eng.stk) cpu governor
Integrated blu_active settings into ramdisk
Alucard, Nightmare & Darkness cpu governors
Toggle USB2 900mA Fast-Charge
Boeffla Dynamic Sync Control
Boeffla Wake-Lock Blocker
Engineering ABOOT fixes
RCTD/Triton disabled
Maple I/O scheduler
DriveDroid support
WireGuard
Download: Nougat V20
Download: Nougat V20 (BETA)
Download NEW! "Back To The Future" Minimal build (Recommended): BTTF (Nougat)
Download NEW! "Back To The Future" Minimal build: BTTF (BETA)
Anyone is free to include it in their ROM as they like
Compiled with GCC Linaro 7.3.1
[2.1] Features:
Linux 3.18.134
SultanXDA's CPU Boost
KCAL - Screen panel control
Backported kernel improvements
Toggle USB2 900mA Fast-Charge
Boeffla Dynamic Sync Control
Boeffla Wake-Lock Blocker
Various patches and fixes
Engineering ABOOT fixes
RCTD/Triton disabled
Maple I/O scheduler
DriveDroid support
Modules disabled
WireGuard
Download: Oreo V20 Folder
The (AnyKernel2) flashable zip will flash kernel as well as /system/lib/modules. If you want to go back you should backup modules as well
Notice: I don't own a V20, thus I can't guarantee it will be a sane and bug-free kernel for V20 users.
Sources:
https://github.com/stendro/msm8996_lge_kernel
LGH830SV_LGH830TN_Android_Oreo_v30c.zip - From http://opensource.lge.com
Questions
Q: Will this work on newer bootloaders?
A: It should. The kernel is based on the most recent of LG sources.
Q: What control app do you suggest using?
A: I suggest using SmartPack, or EX Kernel Manager.
Q: I have US996, what version do I use?
A: If you unlocked officially through LG then use "US996", otherwise use "US996Santa".
Q: Where can I donate? I want to donate!!
A: I don't accept donations because of two reasons. One: I don't really need it. Two: I like the idea of this being totally free, it adds to the enjoyability of the kernel.
Q: I'm having some problems with kernel not working or booting?
A: If you are on an older bootloader then that is likely why. My kernel works on new firmware, not exactly sure how far back the compatibility goes.
Q: I flashed this zip in recovery, but it didn't seem to work, I'm still on my old kernel. What can I do?
A: With AnyKernel you shouldn't need to re-flash ROOT after flashing kernel (if already installed, if not, do it before flashing kernel). SuperSu has been known to revert the kernel install if you do so.
Q: OK so I just rooted my phone and installed this, and OMGOSH! so excited, now what do I do - do I tweake-dy freak out huh huh? How do I do it??
A: Put simply, don't do anything. I don't know how things where in the past, but now you don't need to do anything. Not with this kernel anyhow. Such thing are better discussed in a separate thread anyway.
You say you added TCP and schedulers. Mine are all still the same basic on my h918
Thanks for your time in getting this together for us.
storm68 said:
You say you added TCP and schedulers. Mine are all still the same basic on my h918
Thanks for your time in getting this together for us.
Click to expand...
Click to collapse
Hey there
It's enjoyable for me too to be doing this, at least for now Learning new stuff, and I can use the result for my G5 as well :good:
You must choose your settings with Kernel Adiutor or similar program. The defaults are the same as stock I believe.
Seems to work OK on US996, seems to be running a little warm, but that could be from installing Color Control and aduiator in addition to some updates as soon as it booted. I'm letting it sit now and see how it runs normally.
Color Control is working great.
Got 151170 in Antutu
Oh, and it does have static on boot on the US996 non UCL.
Hey! Does this work on H918, on software version 10q? I have root and TWRP on it but I've heard that because of the anti-rollback thing the older kernel's won't work
One of his sources shows the 10q Kernel, I only show a version number on my us996, but it shows 3.18.31
Silentwidow said:
Got 151170 in Antutu
Oh, and it does have static on boot on the US996 non UCL.
Click to expand...
Click to collapse
Hey
I don't benchmark, is that a good score?
I have received report about that problem with static on US996.
I must have misunderstood. So users with Unlocked version still use the engineering aboot ?
If so it's an easy fix.
@askermk2000 unlocked US996 can use either root method (unlock bin from LG or DirtyCow / eng. aboot).
I am guessing most use the eng. aboot since LG makes you "sign" a click through that says your warranty is void.
@MysteriousAnon ARB has nothing to do with the kernel (boot image). However, most newer kernels won't boot on older firmware, and vice-versa, older kernels won't boot on newer firmware. Nonetheless, if you DO boot a newer kernel on older firmware, it doesn't increment ARB. ARB is incremented by the bootloader...
EDIT: tagged the wrong person. Sorry...
-- Brian
@askermk2000 I am not sure to be honest, I don't know about aboot lol, I unlocked using the LG tool.
---------- Post added at 09:54 AM ---------- Previous post was at 09:54 AM ----------
askermk2000 said:
Hey
I don't benchmark, is that a good score?
I have received report about that problem with static on US996.
I must have misunderstood. So users with Unlocked version still use the engineering aboot ?
If so it's an easy fix.
Click to expand...
Click to collapse
For what I've gotten in the past on this phone, it's a great score, I normally get around 141k.
Silentwidow said:
I am not sure to be honest, I don't know about aboot lol, I unlocked using the LG tool.
Click to expand...
Click to collapse
Ok then, you did as I expected, and in theory (that I've gathered) the US996 non UCL should be the one for you. But since you get static with that, then that can only mean one thing: The engineering US996 bootloader, and production bootloader is the same with regards to how it initializes the LCD panel.
Well then, I guess I only need to support one US996 model.
How is the ucl version working for you; all right?
askermk2000 said:
Ok then, you did as I expected, and in theory (that I've gathered) the US996 non UCL should be the one for you. But since you get static with that, then that can only mean one thing: The engineering US996 bootloader, and production bootloader is the same with regards to how it initializes the LCD panel.
Well then, I guess I only need to support one US996 model.
How is the ucl version working for you; all right?
Click to expand...
Click to collapse
I haven't tried it, am I able to use the UCL version on the non UCL?
Silentwidow said:
I haven't tried it, am I able to use the UCL version on the non UCL?
Click to expand...
Click to collapse
I think so, that way you will not have static boot.
Next release I'll make it so that both version's won't have static boot.
The only difference between them is static fix (both will have next time) and changes to cmdline, which is not necessary if you simply have officially unlocked US996.
MysteriousAnon said:
Hey! Does this work on H918, on software version 10q? I have root and TWRP on it but I've heard that because of the anti-rollback thing the older kernel's won't work
Click to expand...
Click to collapse
Can u pm me and tell me how to root h918 10q please
Sent from my LG-H918 using XDA-Developers Legacy app
gavilan2010 said:
Can u pm me and tell me how to root h918 10q please
Sent from my LG-H918 using XDA-Developers Legacy app
Click to expand...
Click to collapse
The only way to have root on 10q is to have rooted an 10j or below, then update to 10q with only the correct partitions so you don't lose root. If you are on full blown 10q out of the box or updated a stock phone to it, then there is no root for it.
androiddiego said:
The only way to have root on 10q is to have rooted an 10j or below, then update to 10q with only the correct partitions so you don't lose root. If you are on full blown 10q out of the box or updated a stock phone to it, then there is no root for it.
Click to expand...
Click to collapse
Thanks yes i just gat this phone brand new and the firmware is 10q and they say u cant downgrade to early one right thanks for u anwser
Sent from my LG-H918 using XDA-Developers Legacy app
askermk2000 said:
I think so, that way you will not have static boot.
Next release I'll make it so that both version's won't have static boot.
The only difference between them is static fix (both will have next time) and changes to cmdline, which is not necessary if you simply have officially unlocked US996.
Click to expand...
Click to collapse
The UCL kernel did not fix my static boot.
Exactly how do you flash this. I'm running NATF Megarom V20 v4.0 ATT on h910. Software version H91010l? Thanks. I would love to not have the static at boot. Just flash in TWRP and would I then flash SuperSU again/ ?
I flashed the UCL version and the static is gone.
Awesome!
PS. I'm using the eng. aboot. and 10k stock firmware
runningnak3d said:
unlocked US996 can use either root method (unlock bin from LG or DirtyCow / eng. aboot).
I am guessing most use the eng. aboot since LG makes you "sign" a click through that says your warranty is void.
-- Brian
Click to expand...
Click to collapse
Ah yes, makes sense.
Probably no point in maintaining two versions. Unless there's been some very confusing misunderstanding - Both US996 versions should use the *static fix*. Good! Makes it easier to maintain this thread :good:

[KERNEL][Custom] Singularity Kernel [7/11] [V-1.0.19] [8.1] [CLANG 7.0.2]

*** Disclaimer
Flash at your own risk! I take no responsibility in the event that an alarm is missed and you're late, thermonuclear war beaks out, or you spend so much time on your phone that your wife leaves you.
Introduction
Hey guys! This is the kernel myself and my good friend APOPHIS9283 have been working on for OnePlus 5/5t.
- Kernel only supports custom ROMs - final OOS version of 1.0.17 from 07/03/2018 is here in the OP, as is.
- Kernel will always be kept upstream to latest linux-stable
- We do not shy away from features around here. This kernel is LOADED! If you want something minimal, this is not for you. !
- If you have issues, we need logs! If it is an issue that is not able to be logged for some reason or another, please give detailed steps on how to replicate the issue. No logs = no support! Help us help you!
Features
- Upstreamed to latest linux-stable
- Governor options including: alucard, tripndroid, cultivation, impulse, chill, blu_active
- Overclock and underclock support. Kernel boots/defaults to stock frequencies though.
- Dynamic stune boost
- Adreno boost
- Adreno idler
- Wireguard support
- Sweep2Sleep
- LED Settings
- High brightness mode
- sRGB
- I/o schedulers including maple, deadline, bfq and tripndroid
- USB fastcharge
- Boeffla Generic Wakelock Blocker
- TCP congestion avoidance algorithms - Too many options to list!
- Backlight dimmer
- KCAL color control
- Sound control
-i/o switcher
- More I probably forgot, but you get the idea!
Installation
- If on a custom kernel, dirty flash your ROM. Reboot to recovery and flash this after booting with ROM's baked in kernel.
- If on ROM's stock kernel, just wipe kernel app data and flash this in recovery. If needed, flash no-verity after!
- Upgrading from one version to another is as simple as flashing the kernel and no verity if needed. I do recommend wiping kernel app data on each flash - we add things often!
Download
https://androidfilehost.com/?fid=5862345805528046227
Telegram group for Singularity kernel users: https://t.me/joinchat/C3FsEk7qvo5Nl3o3RXsyLw
OOS Final build 1.0.17 07/03/2018. Will not be updated or supported further but here for anyone who wishes to use it, here it is: https://androidfilehost.com/?fid=11050483647474833324
- Credits and thanks!
@nathanchance for the best base anyone could ever ask for, for assisting without expecting anything, for making upstream so simple, and for being a friend.
@osm0sis for AnyKernel2
@Lord Boeffla for his work
- All the users for giving us a reason to do this!
- Anyone I forgot, send a PM and I'll add ya.
ROM devs feel free to inline this into your ROM. Just give me a heads up and please link them here/Telegram chat.
XDA:DevDB Information
Singularity Kernel, Kernel for the OnePlus 5T
Contributors
wrongway213, apophis9283, REV3NT3CH
Source Code: https://github.com/Singularity-Kernel/Singularity
Kernel Special Features: ALL THE THINGS!
Version Information
Status: Stable
Current Stable Version: 1.0.19
Stable Release Date: 2018-07-11
Created 2018-03-23
Last Updated 2018-07-11
Congratulations!
Enjoy the kernel
Thanks for your work, Glad to see this new kernel !
Love the honesty! This kernel is LOADED!
Will have to try it when I switch of of OOS!
Thanks guys!
Features same as my kernel has. Yeah! Now I can use freatures-rich kernel for customs!
Thanks guys! In some free time will try to help via pull requests.
Welcome. :fingers-crossed::fingers-crossed:
apophis9283 said:
Enjoy the kernel
Click to expand...
Click to collapse
Oh snap!!!! LOL
I'm a hardcore Franken kernel user but I'm going to back that kernel up and give this a shot. It's the first kernel that's intrigued me in a long time. Franken is the standard best kernel for me, so it means something if I can be swayed by your work.
preference said:
I'm a hardcore Franken kernel user but I'm going to back that kernel up and give this a shot. It's the first kernel that's intrigued me in a long time. Franken is the standard best kernel for me, so it means something if I can be swayed by your work.
Click to expand...
Click to collapse
I started with a fresh base from Flash kernel (huge thanks to him), and built it with my idea of how a kernel should be IMO and with user feedback.
Hope you enjoy
apophis9283 said:
I started with a fresh base from Flash kernel (huge thanks to him), and built it with my idea of how a kernel should be IMO and with user feedback.
Hope you enjoy
Click to expand...
Click to collapse
All the best with this kernel, especially as its aimed at custom roms rather than OOS.
When Paranoid Android Oreo hits, is there any possibility that you and @wrongway213 would consider doing a version for that ?
If not, then no problem
SlyUK said:
All the best with this kernel, especially as its aimed at custom roms rather than OOS.
When Paranoid Android Oreo hits, is there any possibility that you and @wrongway213 would consider doing a version for that ?
If not, then no problem
Click to expand...
Click to collapse
I'm always willing to take a look.
apophis9283 said:
I'm always willing to take a look.
Click to expand...
Click to collapse
That would be very nice, if it were possible.
Thanks for the consideration.
That is of course if Paranoid Android Oreo ever materialises...LOL
If you are on a ROM and had broken gestures. Will you flash this and see if it doesnt fix them
Yea this Kernel is great stuff. Can't recommend it enough... I trust it's creator and it works solid. Good job @apophis9283
Sent from my ONEPLUS A5010 using Tapatalk
Gestures should work for all ROMs. Let me know if they don't. A few other tweaks I wanted to get in there. Just wipe your kernel app data. To match my settings just use tripndroid governor.
@wrongway213 what custom rom do you recommend for best kernel effectivity? thanks
nadejo said:
@wrongway213 what custom rom do you recommend for best kernel effectivity? thanks
Click to expand...
Click to collapse
I don't think he's tried anything else. I have. I flashed AICP, and CRDROID. Both ran perfect. I like it on LR but I'm not sure it because the kernel is better on one or the other. Just what I prefer to use. I had to flash other roms to make sure everything was working.
This was taken while on AICP. I find this is generally what stats I get
Tested with Aicp, validus and omni all works great

[KERNEL] [8.1] Neutron Kernel for Nexus 5

Hi, all XDA members, I built a light-weight kernel for our little monster (hammerhead).
My kernel is based on Unlegacy Kernel. I optimized the kernel for best battery life and performance balance. I tested it on AOSP Extended ROM. It should work on LOS too.
Features:
-Intelliactive governor.
-SIO scheduler.
-25mV Undervolted manually from acpuclock source code. (Only for PV2 CPUs)
-More cooler device.
You can download img from Google Drive link. Flash it via TWRP or fastboot.
https://drive.google.com/file/d/1RGqpxZJ5lJve57IJeRHZm-BjMhDGIQIy/view?usp=sharing
Source code: https://github.com/metahex/android_kernel_lge_hammerhead
Awesome, I'll test and feed you back
thanks for your work
Detail please for features? Thanks
For this build, kernel comes with intelliactive governor.
I will add some features and improvements for best battery life and performance. (In next build i will undervolt it and i will add more governors, I/O schedulers)
Changelog:
(v1.0.2)
-Kernel name banner fixed.
-25mv Undervolted for PV2 CPUs.
(v1.0.1)
-SIO is the default I/O scheduler.
Testing
Can someone confirm that kernel works with LOS?
thanks for the new kernel, but no work in DU 12.2 flashed via twrp.
Any chance you could have your kernel fix phonecall bluetooth audio? It's bugged on every custom ROM right now and it's been theorized it's a kernel issue.
rnadomuc said:
Any chance you could have your kernel fix phonecall bluetooth audio? It's bugged on every custom ROM right now and it's been theorized it's a kernel issue.
Click to expand...
Click to collapse
I will work on it in my free time.
metahex12 said:
I will work on it in my free time.
Click to expand...
Click to collapse
Here is some info on it: https://forum.xda-developers.com/go...nlegacy-android-project-t3593425/post75688720
Xaif fixed a problem with video recording, you should include it in your kernel.
https://github.com/esa-n/android_ke...mmit/45abf34f6a493b2e918b054bedeec3c4d2003900
How i should flash it?
Like "boot" or "recovery" ?
Its a kernel it goes flash it as a boot IMG
I flashed this with AEX ROM and it hung at boot
Will a custom kernel enable NTFS and exFat support on Oreo?? No ROM currently works why either of those so u can't use my external hard drives.
Flashed 1.0.2 kernel over us 8.1. The undervolt sold me! If possible, and if you're entertaining ideas, I'd greatly appreciate usb fastcharge support.
I've heard the arguments against it, but in two years I'd never had a problem.
Will it work on Nougat (Los 14.1)?
psydex said:
Will it work on Nougat (Los 14.1)?
Click to expand...
Click to collapse
no
Deteted
Is this kernel dead?
Edit: @metahex12 Can you consider adding support to Pie (Unlegacy CAF ROM)?

Categories

Resources