[KERNEL] [Stock] [H930] Minimal Stock Kernel V2 Beta - LG V30 ROMs, Kernels, Recoveries, & Other Developm

After some hard work i would like to present you my stock minimal kernel.
The goal of this kernel is to keep it minimal.
If someone like to help me, please contact me
Main features:
- minimal optimized kernel
Tweaks:
- kernel is free from dm-verity and root check
- disable a lot of debugging
Future:
- more minimal
- disable more debug
- some features
Installation:
You need an open Bootloader!!
This kernel is ONLY FOR H930!
You can flash the kernel inside twrp.
After flashing the kernel please install the neweset magisk root.
https://forum.xda-developers.com/app...mless-t3473445
Then wipe Dalvik/ART and Cache.
Feedback:
If you find some bugs or something is not working correct, please contact me.
Download:
https://drive.google.com/open?id=1f8YVCPvAq3N47AXbzAMY4OamHXealM_p
Credits:
Big thanks for jcadduono on his work with twrp and the kernel !!
XDAevDB Information
[KERNEL] [Stock] [H930] Minimal Stock Kernel
Contributors
djsven
Source Code: http://opensource.lge.com
OEM Kernel: Linux 3.x
Version Information
Status: Beta
Current Stable Version:
Created 2018-01-28
Last Updated 2018-01-28

Waiting anxiously

kherio said:
Waiting anxiously
Click to expand...
Click to collapse
Patiently taps fingers

Sorry for this delay.
But i have to fix a small problem with cgroups error logs.

If your kernel is as good as your modified rom... It's really worth it!!!

Hi to all..
Realy thanks.
Try to get a good working kernel is not realy easy.
The most problem is my time.
I compile a working kernel, but not have the time to fix all the issues.
So i need you help.
You is interesst to help me to test the kernel and provide me the log files?

Hi to all..
The Kernel is ready.
Who likes to test it?

Hi to all..
The Kernel is ready.
Who likes to test it?

I would love to

I am far away from my computer.... In case of bootloop... Will try it when I am back home??

Can you let me do some testing. I got plenty for time today.

Hi...so now its kernel time
Sorry for my second delay.
This is my test kernel for all who likes to test it.
You have to go to recovery and flash it
PLEASE BACKUP YOUR BOOT Partition!!
So you can flash back yout stock kernel
If you flash back boot partition , you have to rename inside /system/lib/modules the texfat.old to texfat.ko. This is the stock texfat module which we cant use for custom kernel for now.
https://drive.google.com/open?id=1EBN7TqZYdD94cPEoFv30iUOkNO9K800b

great.. another step forward to custom kernel
i flashed it right now and will repoprt if i see anything
thanks for your work

Thanks.
This was a realy hard work and took a long time
Small features too this V1 Kernel:
- Kernel is undervolted
- Remove a lot from debug
- Remove a lot nonsene logging
- Optimize some settings / parameters

flashed and testing So far no bugs. Great work!

Thanks for Info.
Have you exfat sdcard inside?

V2 Beta is online...
Correct some changes..

I've just installed your V2 with no problems at all... I had to reboot twice for magisk to pass safety net.. Everything seems to be working OK... What differences should I be noticing?
Thanks for your hard work on this kernel.
. I have been rooting phones for about 12 years now and I am always always impressed with the time and skill you guys put in...
Thanks again

djsven said:
Thanks for Info.
Have you exfat sdcard inside?
Click to expand...
Click to collapse
Sorry for the late response Yup, i got.
Flashed v2, still no bugs, running like a charm

Thanks for info..
Next Kernel is coming ..testing it now..
- UV
- GPU lower step
- more debug removed

Related

[KERNEL]{S} Advanced Stock ICS Kernel Build 17 [08/12/12]

Advanced Stock ICS Kernel for Xperia S​Here is a kernel based on the Stock ICS kernel with some features which come from DoomLord's GB kernel.
Features
autorooting
CWM recovery (with reboot recovery support)
init.d support (thanks DoomLord)
TUN/TAP driver
Download links
Build 17 (Fastboot)
Build 17 (CWM)
Build 16 (Fastboot)
Build 16 (CWM)
Prerequisites
An unlocked bootloader: Tuto here.
A stock ICS ROM (6.1.A.0.452 to 6.1.A.2.55). Don't expect this kernel to work with CM9/10.
How to flash
For elf files :
Read DoomLord's guide
You just have to replace kernel.elf by the name of the downloaded kernel in the flash command (eg : ics4.elf)
For zip files:
Flash the zip file from the recovery
Changelogs
Build 17 (08/12/12) :
Merge 6.1.A.2.55 kernel sources
Autodetect rom version in default.prop based on build.prop
Updated recovery, adbd and busybox (JB version)
Build 16 (01/11/12) :
Random reboot issue probably fixed (patch from CM10 kernel, thanks Kali)
Rom version increased to 6.1.A.2.50
Updated recovery, adbd and busybox (JB version)
SD card mounted by default in recovery
Vibration at boot removed, only led and backlight now
Build 15 (05/09/12) : Increase ROM version in default.prop from 6.1.A.0.452 to 6.1.A.2.45
Build 14 :
New MMC driver (from codeaurora) : it fixes issue while formatting partitions in CWM
Wifi module built from source (in the ramdisk)
Updated recovery
Disable again hardware clock
Build 13 :
Backup / Restore fixed with dedupe
Backlight enabled in CWM
Better "reboot recovery" handling in adbd / busybox and recovery
Build 12 :
Updated recovery
Hardware clock correctly saved (from CM9 kernel)
Build 11 : Go back to GCC 4.4 (fix artifacts with camera preview)
Build 10 :
Kernel built with GCC 4.6
Several autoroot fixes (Superuser app pushed just once and correctly removed in /data)
Working reboot recovery command (with adb too)
Updated su (3.1.1) and Superuser (3.1.3)
A bunch of new command included in the new busybox (ifconfig, wget, vi, and many more !)
Build 9 :
Kernel built from sources
TUN/TAP driver included (for VPN)
Build 8 : Fix mass storage in CWM
Build 7 : Fix MTP
Build 6 : Key mapping in CWM fixed
Build 5 :
New recovery built from latest CM9 sources
Fixed generation of md5sum with nandroid
Increased font size in CWM
Boot partition backup and restore
New adbd built from CM9 sources (fixed an issue with hardcoded sh path in /system)
Build 4 :
Correct su binary
Don't wait 3 sec if /cache/recovery/boot exists
Build 3 :
Leds and vibrator at startup fixed
Sources
Ramdisk sources
Kernel sources
Credits
DoomLord : many thanks to him for its kernel and all his scripts.
championswimmer and sminki for their help
FreeXperia team for their work on CM
makes it perfectly start does not make any errors
greetings and thanks
yes it boots!
(maybe you can help with my Question here )
Hey, I also have tested several times to include recovery, but withut succes, didn't get any further then a booting kernel without recovery or vibration and LED on to enter recovery but no entering recovery and kernel that doesn't boot.
Please pm me if you want to work together, I saw your kernel is from ICX team? I know nick very well so I'd would be a pleasure to work with you too
sminki said:
yes it boots!
(maybe you can help with my Question here )
Click to expand...
Click to collapse
for this question and any other other question similar to this
head here
http://forum.xda-developers.com/showthread.php?t=1659584
it has menu driven process to extract and repack kernel.elf (ramdisk also can be extracted and packed )
Welcome Champ, good to see you mate.
I will leave the thread here as knowing you, you will have a kernel ready for us in a few hours.:fingers-crossed:
thanks for the test guys... so now i'm diving into including recovery....
good to know i could pull off kernel.elf editing in my first attempt lol
@colossus if not in hours, then definitely within 1 or 2 days
EDIT :
can someone send me the kernel.elf from FXP122 cm9 ??
will save me the time to download the whole ROM
This is sweet, good job!!
john9 said:
This is sweet, good job!!
Click to expand...
Click to collapse
Only a few files to edit now
We'll keep you updated
Sent from my LT26i using XDA
championswimmer said:
btw if anyone wishes to do this before me,
this diffstats should help you
https://github.com/championswimmer/xps-ramdisk/commit/a61969aefca00ce3a6e4e112e97403fb6f0c79e9
it shows how doomlord added recovery to gb kernel..
Click to expand...
Click to collapse
cool.. well that's a hell of a lot easier than the manual route I was taking. This was my goal, but for personal rather than pseudo "xda glory" as I'm working with DooM's stuff I didn't feel right posting it without his permission, but he's probably too busy to care
go for it championswimmer :victory:
Excuse my noob-ish question, but... what's the difference between a 'stock' kernel with recovery and a completely custom kernel like DoomLord's? Is it to do with core frequencies/governors?
fNOOB said:
Excuse my noob-ish question, but... what's the difference between a 'stock' kernel with recovery and a completely custom kernel like DoomLord's? Is it to do with core frequencies/governors?
Click to expand...
Click to collapse
Frequencies and governors are one possible customicing for kernels, for the most users the most important thing. also Kernel modifing can allows you init.d support, undervoltscripts and also allows (or denies) MSC support... and, for shure, clean out some tings, make things more efficiently and and and... a dev is nearly totaly free to create a very customiced kernel with or without special Driver support or so
noob.fl said:
Frequencies and governors are one possible customicing for kernels, for the most users the most important thing. also Kernel modifing can allows you init.d support, undervoltscripts and also allows (or denies) MSC support... and, for shure, clean out some tings, make things more efficiently and and and... a dev is nearly totaly free to create a very customiced kernel with or without special Driver support or so
Click to expand...
Click to collapse
Cheers mate
sminki said:
cool.. well that's a hell of a lot easier than the manual route I was taking. This was my goal, but for personal rather than pseudo "xda glory" as I'm working with DooM's stuff I didn't feel right posting it without his permission, but he's probably too busy to care
go for it championswimmer :victory:
Click to expand...
Click to collapse
using someone's work just because 'he's too busy to care' is not the aim which we at xda strive for ...
i've already talked with Doomlord regarding using his recovery... and as long as I clearly mention it's his work and provide links back to his thread, he has no issues with anyone else using it...
(and i'll surely do that ^^ when i release a kernel containing his recovery, if i ever do that)
championswimmer said:
using someone's work just because 'he's too busy to care' is not the aim which we at xda strive for ...
i've already talked with Doomlord regarding using his recovery... and as long as I clearly mention it's his work and provide links back to his thread, he has no issues with anyone else using it...
(and i'll surely do that ^^ when i release a kernel containing his recovery, if i ever do that)
Click to expand...
Click to collapse
cool, i was only making a bad joke, we all know DooM cares
sminki said:
cool, i was only making a bad joke, we all know DooM cares
Click to expand...
Click to collapse
lol.. ok
and i'll bring you some unicorns soon
championswimmer said:
lol.. ok
and i'll bring you some unicorns soon
Click to expand...
Click to collapse
I can't wait! :victory:
so this kernel has the ro.secure property in default.prop set to 0??
Tnaks mate for your job!
tested right now the test version and the sony logo fades and reboots
can you plug it into a pc and run a logcat from command prompt and give me the output of any comes??

[Z00L][KERNEL]Better Battery Backup v2

UPDATE: I really no longer have the time to update the custom kernels, I now work 16 hours days, 5-6 days weekly. With travelling time added, I barely have time to sleep.
Battery optimization is about choosing the right rom, tuning cpu governor interactive, disabling Google Play Services (use microG & tune GCM), forcing doze immediately, disabling ads, using black/white screen, app optimization (disable analytics, instant messaging), plus many other things.
Identify the rom, the base (aosp or lineage), can choose to use any of the kernels below if it is based on the same base. A backup of your original rom's kernel is in the rom.zip file, simply extract it and restore if encounter any problems.
I have created a guide here
(Please don't quote the original 1st post when replying, as everything is in progress, not written yet,
Please don't ask for ETAs, I'm only doing this in my limited spare time, thank you)
My kernels are NOT flash-and-forget, please READ through post #1, then CONFIGURE using Kernel Adiutor Mod (see post #2)
[Z00L][KERNEL]Enhancements For Increased Battery Backup v1 the original thread (now locked/closed)
DISCLAIMER
I bear no responsibility towards any malfunction of your device. Use my kernels at your own risk.
BACKUP YOUR PARTITIONS!!!
Before attempting to flash any kernel/rom, backup your critical partitions! It's meaningless to ask for help when disaster strikes. Follow the links below, root is required.
Partition Dump - Complete STEP 1
Partition Backup by wanam (save as both .img & tar.gz, plus the 1st 100MB - see 'spanner tool')
There's no need to backup the System or Data partition.
Credits & Thanks
abhishekr700 | source
Fabb2303 | source
LuK1337 | source
prakharluv | source
For Z00L & variants only, meaning these kernels are for Asus Zenfone 2 Laser models
- ZE550KL
- ZD550KL
- ZE600KL
Change Log (nothing new)
v05
added cpu hotplug: autosmp
v04
added USB Fast Charge, credits to @ENGstk
v03
removed CRC Check for 30% Performance Boost
v02
added SeLinux: Set to permissive
v01
added tcp-algorithm: westwood (default), bic, htcp, hstcp, hybla, vegas, scalable, lp, veno, yeah, illinois
added memory: samepage merging, frontswap, cleancache
added filesystem: ntfs
added config: kernel config.gz can be found at /proc
removed hotplug: msm performance
removed cpu: touch boost
v00
same as stock boot.img from rom
DOWNLOAD
Unzip, copy to phone, then flash kernel via TWRP (select BOOT partition), re-flash SuperSU if you use it, reboot directly.
(Note: if you need to revert to original kernel, either use :
v00 of my kernel - its the same as your stock rom boot.img,
or extract boot.img from the rom)
If you use Magisk, refer to this thread 1st post - Installation Instructions, section "If you're not rooted, or something went wrong and you need a clean start"
Marshmallow
Lineage OS 13, latest is v05 for ROM lineage-13.0-20170226-UNOFFICIAL-Z00L.zip
Kernel Source
Nougat
AOSP-based Slim7 Nougat, latest is v05 for ROM Slim-Z00L-7.1.1.build.0.13-UNOFFICIAL-20170227-1643.zip
Kernel Source
Note: Rom's dev recommend Slim7 as the best battery backup ROM (AOSP-based) under his care
AOSP-based Tesla Nougat, latest is v05 for ROM Tesla-Z00L-7.1.1.Beta.v3.6-UNOFFICIAL-20170224-0757.zip
Kernel Source
LineageOS-based AOKP Nougat, latest is v05 for ROM aokp_Z00L_nougat_unofficial_2017-02-07_1615.zip
Kernel Source
Note: Rom's dev recommend AOKP as the best battery backup ROM (LineageOS-based) under his care
LineageOS-based OctOS Nougat, latest is v05 for ROM OCT-N-WEEKLY-20170224-2334-Z00L.zip
Kernel Source
LineageOS-based Resurrection Remix Nougat, latest is v05 for ROM RR-N-v5.8.2-20170218-Z00L-OFFICIAL.zip (note: this rom is not the latest one from RR-N, I didn't manage to download it coz it was released yesterday (Feb 28th), maybe next update. Could probably use this kernel on the latest rom, if nothing major was released, check the rom dev changelog)
Kernel Source
After flashing kernel, configure using Kernel Adiutor
if you can't wait, maybe try your hand in compiling a kernel, full workflow HERE
reserved 3
reserved 4
Finally
Finally pokipokipxorn is back with his awesome kernels
Nice work bro :good: We all are waiting your kernels
I suggest you to create a poll on this thread, as we are doing all our work for our beloved users and let them decide for which rom they want your battery saver kernel
prakharluv said:
Finally pokipokipxorn is back with his awesome kernels
Nice work bro :good: We all are waiting your kernels
I suggest you to create a poll on this thread, as we are doing all our work for our beloved users and let them decide for which rom they want your battery saver kernel
Click to expand...
Click to collapse
Agreed with @prakharluv, he's right @pokipokipxorn add a poll here that will be more handy for us
I'm getting problems trying to upload to Google Drive, if any of u experience file corruption after downloading the kernels, please post.
Kernel are up for roms
- LineageOS 13 Marshmallow
- Slim7 Nougat
- OctOS Nougat
Polls will be up much later, gotta collect rom list, ty for the suggestion.
pokipokipxorn said:
Kernel are up for roms
- LineageOS 13 Marshmallow
- Slim7 Nougat
- OctOS Nougat
Click to expand...
Click to collapse
Do we have to wipe cache or just reboot directly after flash kernel img?
HanszRN said:
Do we have to wipe cache or just reboot directly after flash kernel img?
Click to expand...
Click to collapse
Just reboot directly, but if you use SuperSU, you have to flash it again
Did you make a backup of your critical partitions? follow 1st post.
pokipokipxorn said:
I'm getting problems trying to upload to Google Drive, if any of u experience file corruption after downloading the kernels, please post.
Click to expand...
Click to collapse
pokipokipxorn said:
Kernel are up for roms
- LineageOS 13 Marshmallow
- Slim7 Nougat
- OctOS Nougat
Click to expand...
Click to collapse
Flashed OctOS kernel on latest OctOS weekly build and its working fine Nice work bro :good:
pokipokipxorn said:
Just reboot directly, but if you use SuperSU, you have to flash it again
Did you make a backup of your critical partitions? follow 1st post.
Click to expand...
Click to collapse
hai,brother
please u can compile this kernel for device ZE500KL aka Z00ED too?
thanks
Kernel are up for roms
- Tesla Nougat
- Resurrection Remix Nougat
Adhe_88 said:
hai,brother
please u can compile this kernel for device ZE500KL aka Z00ED too?
thanks
Click to expand...
Click to collapse
Which ROM? Note that I don't own the device, and I need you to post a screenshot of the kernel version or commits if any. (Phone Settings > About Phone > Kernel Version). I won't be able to flash or test the kernel.
pokipokipxorn said:
Which ROM? Note that I don't own the device, and I need you to post a screenshot of the kernel version or commits if any. (Phone Settings > About Phone > Kernel Version). I won't be able to flash or test the kernel.
Click to expand...
Click to collapse
maybe u can compile AICP rom and this source kernel my device https://github.com/Rygebin/android_kernel_asus_msm8916
thanks ?i appreciate it ?
Adhe_88 said:
maybe u can compile AICP rom and this source kernel my device https://github.com/Rygebin/android_kernel_asus_msm8916
thanks i appreciate it
Click to expand...
Click to collapse
So it's AICP 7.1.1 for Z00ED? Kernel source should be this one, note the commit gba1e18b from your screenshot.
I will try, it's 2am now, I got to go. cyall tomorrow.
pokipokipxorn said:
So it's AICP 7.1.1 for Z00ED? Kernel source should be this one, note the commit gba1e18b from your screenshot.
I will try, it's 2am now, I got to go. cyall tomorrow.
Click to expand...
Click to collapse
yeah ??
thanks brother ?
There is two files. Which one have to flash?.
prakharluv said:
Flashed OctOS kernel on latest OctOS weekly build and its working fine Nice work bro :good:
Click to expand...
Click to collapse

CarboniteKERNEL for the OnePlus 5

Hi OnePlus 5 peeps!
Today (June 27th), I graduated from high school!
In more important news, I finished upstreaming the OnePlus 5 kernel to the latest stable kernel version...
Whoa, what is this?
This is my personal kernel that I run as the OnePlus 5 is my daily driver.
I will not claim my work as the best at anything, but just know that I would not do anything to this kernel that could potentially ruin my own device.
Additionally, this is the kernel that comes built into CarbonROM.
There are three versions of this kernel:
AOSP aka AOSP/LOS build - Flash this on any source built custom ROM except for CarbonROM
CR-5.1 aka CarbonROM build - Flash this on CarbonROM
OOS aka OxygenOS build - Flash this version on OxygenOS
Main features:
Upstreamed Linux kernel version, went from v4.4.21 -> v4.4.79
Backported random driver from Linux v4.12 (latest and greatest)
Backported scheduler from Linux v4.9 (latest android kernel branch)
Upstreamed F2FS driver from f2fs-stable/linux-4.4.y
KGSL driver improvements
MDSS driver improvements
SOC driver improvements
Built using Optimization Level 2
Added maple io scheduler (default) by frap129
Added adreno idler by arter97 with tweaks from frap129
Vibrator motor control by flar2
Kcal control driver from EX kernel
Many wakelocks disabled
Switched to power efficient workqueues across the kernel
Built with Google's latest stable gcc-4.9
Anykernel 2.0 by osm0sis! Compatible with all OxygenOS based roms
Download:
Latest builds
OxygenOS boot.img
How to install:
1. Reboot into the latest stable TWRP build
2. Download kernel zip and make sure it is in your internal storage (/sdcard)
3. Reboot into TWRP
4. Double check here to see if you require any additional instructions
5a. Install -> Install image -> select oxygen-4.x.x-boot.img -> swipe to install
5b. Install -> select CarboniteKERNEL-XXX-Rx-OP5-N.zip -> swipe to install
6. Reboot
DISCLAIMER!
If you don't understand my instructions, that's too bad >
If you are unsure about what this thing is, I highly advise you do some research before going through with installing...
Updates will come as regular as I want them to, don't ask me when I'll release cause you'll know when it comes out >:'D
XDA:DevDB Information
CarboniteKERNEL for the OnePlus 5, Kernel for the OnePlus 5
Contributors
adinkwok, nathanchance, flar2, Lord Boeffla, osm0sis, etc
Source Code: https://github.com/adinkwok/oneplus5-kernel
Kernel Special Features: One of Taylor Swift's exes should write a song called "Maybe You're the Problem"
Version Information
Status: Testing
Created 2017-06-28
Last Updated 2017-08-02
While this reserved post is not being used, enjoy this video! (Find me at 0:50s and twice at 2:54 :silly
For OxygenOS users:
Code:
[B]If you are on OxygenOS and are coming from another custom kernel:[/B]
Download the latest stock.4.X.X-boot.img
You [B]must[/B] flash the boot.img before flashing the kernel!
[B]If you are on OxygenOS are switching to a different custom kernel:[/B]
Download the latest stock.4.X.X-boot.img
You [B]must[/B] flash the boot.img before switching kernels!
For AOSP/LOS/RR/etc users:
Code:
[B]If you are coming from another custom kernel:[/B]
You [B]must[/B] reflash your ROM build before flashing this kernel!
[B]If you are on AOSP/LOS/RR/etc and are switching to another custom kernel:[/B]
You [B]must[/B] reflash your ROM build before flashing another kernel!
Why is it like this?
I have included some ramdisk modifications that set the default settings for this kernel. When you come from a different custom kernel, the ramdisk changes from that kernel may conflict with the changes I intend to have. Likewise when you switch to a different kernel; my ramdisk changes may conflict with the changes they intend to have. When you flash the stock boot.img, it replaces the modified ramdisk with a clean one, removing these conflicts.
And it's here, get it while it's hot folks! First upstreamed kernel for the OP5
Thanks for joining the party :highfive:
Sent from my OnePlus5 using XDA Labs
gz on graduating! and thx for the kernel :=
Congratulations on the graduation buddy,
Just flashed and I had charging cycling on and off (using dash charger in car on freedom v1.1). Flashed EX and charging is fine. Need charge ATM but maybe a little later I can help you get a log.
Sent from my OnePlus5 using XDA Labs
congratulations! awesome... so smart!!!!!!!
rav101 said:
Congratulations on the graduation buddy,
Just flashed and I had charging cycling on and off (using dash charger in car on freedom v1.1). Flashed EX and charging is fine. Need charge ATM but maybe a little later I can help you get a log.
Sent from my OnePlus5 using XDA Labs
Click to expand...
Click to collapse
Hmmm never noticed this... I guess the graduation drinks are getting to me. I'll re-upload a stable build without upstreaming as that's definitely the culprit.
What an amazing day for you (Congratulations!) and the OP5 community!
I was really loving and enyoing all your efforts you did for the OPO (Pure Nexus port) and the amazing Carbon ROM.
adinkwok said:
Hmmm never noticed this... I guess the graduation drinks are getting to me. I'll re-upload a stable build without upstreaming as that's definitely the culprit.
Click to expand...
Click to collapse
I'm the first to report so let's see if anyone else has the same issue. I will also try for logs later on though I do have a lot on today (so might be this evening).
I didn't actually reboot or get to try a different charger to help diagnose so don't want you doing more work that you need to for what could me my issue
Sent from my OnePlus5 using XDA Labs
rav101 said:
I'm the first to report so let's see if anyone else has the same issue. I will also try for logs later on though I do have a lot on today (so might be this evening).
I didn't actually reboot or get to try a different charger to help diagnose so don't want you doing more work that you need to for what could me my issue
Click to expand...
Click to collapse
I can confirm the issue because while I was bringing up the upstream branch I ran into this issue with dash charging and I thought I solved it. Time to debug!
Edit: link updated without the upstreaming, everything else still stands though
adinkwok said:
I can confirm the issue because while I was bringing up the upstream branch I ran into this issue with dash charging and I thought I solved it. Time to debug!
Edit: link updated without the upstreaming, everything else still stands though
Click to expand...
Click to collapse
No problem buddy,
Be good once it's all resolved and we have the benefits of upstream kernel code as well!! Your time and effort is appreciated!
Sent from my OnePlus5 using XDA Labs
@rav101 happy to see u around buddy
dukat0s said:
@rav101 happy to see u around buddy
Click to expand...
Click to collapse
For sure my friend.
How you finding the OP5?
Sent from my OnePlus5 using XDA Labs
rav101 said:
For sure my friend.
How you finding the OP5?
Click to expand...
Click to collapse
Cool my friend !like it.just got rid of my s8+. Was bored
Is DT2W working for you guys?
bartelamo said:
Is DT2W working for you guys?
Click to expand...
Click to collapse
Seems to be a problem among a few custom built kernels, we're looking into it.
bartelamo said:
Is DT2W working for you guys?
Click to expand...
Click to collapse
adinkwok said:
Seems to be a problem among a few custom built kernels, we're looking into it.
Click to expand...
Click to collapse
It's because OOS has a hal that already uses a switch for dt2w.
New update, still looking into the gestures issue.
However, Dash Charging is fixed on the upstream kernel so here it finally is! I also added a bunch of sched patches, a thermal patch, and some other misc stuff from the latest CAF branch.
Adin-Kernel-R2-OP5-OOS-N.zip

[Kernel][EAS][OOS-N] Helix Kernel

Helix Kernel for the OnePlus 5!
For OOS-N
​
Code:
Disclaimer: Despite everything being tested before release, anything can go wrong, and the one held responsible shall be you and you only. Don't come crying that your phone ate your cat after flashing my kernel, because, needless to say, I will just be blown away laughing at you.
Objective:
To provide a more battery-oriented kernel based on the rock solid EAS-based RenderZenith kernel, by my fellow developers and mentors @RenderBroken and @joshuous and, as well as anyone else on XDA probably, to learn and encourage others to learn more about EAS - the latest endeavour from Google, Linaro, ARM and many others to improve both the efficiency and performance of Android powered devices.
Features:
-> Based on the wonderful RenderZenith kernel
-> Up-to-date with latest EAS changes, as long as they are stable enough (currently at EAS r1.4)
-> Built with Linaro 6.3.1
-> Added support for a new experimental governor pwrutilx, in an attempt to improve battery life
-> Added support for Wake Gestures, Sound Control, KCAL Control and LED Control
-> Merged as much as possible from Google's latest Pixel devices
Installation:
1- Download latest build from the download link below
2- Reboot into recovery mode
3- Backup existing /system and /boot partitions
4- If stock OOS kernel is not installed, reflash OOS with no wipes
5- Flash latest zip file
6- Reboot
7- Profit!
Download:
Google Drive: here
Credits:
Massive thanks to @Funk Wizard and Mr Adam Krisko for giving me the opportunity to develop for such a great device
Loads of thanks to @ZeroInfinity for his massive help :highfive:
Thanks to my mentors @RenderBroken and @joshuous for their equally massive help, couldn't have done it alone
Thanks to my fellow teammates @CharliesTheMan @DeeZZ_NuuZZ @p50kombi
@Kyuubi10 @TotallyAnxious @RogerF81 for helping me pass through my hardest times
Note: OP still subject to changes (WIP)
XDA:DevDB Information
Helix Kernel, Kernel for the OnePlus 5
Contributors
Mostafa Wael
Source Code: https://github.com/mostafawael/OP5-OOS-Helix-Kernel
Kernel Special Features: up-to-date with latest stable EAS changes with some experimental goodies
Version Information
Status: Testing
Current Stable Version: R1
Stable Release Date: 2017-11-13
Created 2017-11-13
Last Updated 2017-11-13
Useful Write-ups & Links - Collective Post
-> Dynamic Stune Boost v2 and why should we use top-app schedtune.boost values greater than or equal to 1
-> WALT vs PELT
-> HMP vs EAS, what's EAS all about (briefly)
-> Simple sketch I drew to demonstrate EAS in a simple way
-> How to report bugs properly - thanks to @Freak07 || Example of precise bug reporting
-> Useful link from Linaro
-> Useful link from ARM
N.B.
Should you feel the need to correct any of the write-ups linked upon reading, do not hesitate to post your queries or contact me. We are here to learn after all. No one is too knowledgeable to learn and admit faults.
Changelog & Known Issues
Changelog
R1
- Initial release
Known Bugs
- YouTube 60fps videos: audio gets off sync for a couple of seconds after skipping forwards/backwards, followed by noticeable stuttering.
- WiFi: Some users may face troubles getting WiFi to work properly after flashing the kernel. WiFi refuses to turn on and/or connect to the access point.
FAQs, Status Updates & Others
Reserved
Awesome! I'll be trying this out on Stock OOS (no mods).
Excelent Kernel, no problem for here, fluid, smooth and fast. Waiting for battery duration for tomorrow. [emoji1303][emoji41][emoji1303]
Enviado desde mi ONEPLUS A5000 mediante Tapatalk
Awesome.. Currently using renderzenith. Gonna try this now
Nice to see your work finally here mate
so tempted to try...
Currently on latest stock OOS w/o any type of root, encrypted, runs smoothly, but have that "Unable to turn on Wifi" bug.
Tried flashing the no-verity zip which usually fixed up that bug for me, got stuck at the boot logo, then I tried an older no-verity zip and got stuck at the boot animation.
Flashed OOS (wiped dalvik & cache, and system) booted up fine and already connected to wifi, rebooted back to recovery(blu_spark v49), flashed the kernel, and booted up and found wifi off already.
Is there anything I can try to fix this?
Which one will give more battery optimisation - renderzenith or helix kernel - with AKT??
anujyadava said:
Which one will give more battery optimisation - renderzenith or helix kernel - with AKT??
Click to expand...
Click to collapse
It will be more or less the same . Because when the script is applied it will change the governor and the values so result should be the same .
prajnay said:
It will be more or less the same . Because when the script is applied it will change the governor and the values so result should be the same .
Click to expand...
Click to collapse
Should I use the kernel alone or with AKT for more battery optimisation??
Right not using render Zenith.
This is awesome, finally we've got both your kernel and AKT for the cheeseburger and I know there is lot more to come. All the best buddy, I look forward to the development.
@Mostafa Wael glad to see you taking your first step in kernel development! Looking forward for more
I just wanted a post here xD well done mate! Glad to see you in the kernel devving scene!
Sent from my HTC 10 using XDA Labs
Awesome
Enviado desde mi ONEPLUS A5000 mediante Tapatalk
StarzSkyz said:
Currently on latest stock OOS w/o any type of root, encrypted, runs smoothly, but have that "Unable to turn on Wifi" bug.
Tried flashing the no-verity zip which usually fixed up that bug for me, got stuck at the boot logo, then I tried an older no-verity zip and got stuck at the boot animation.
Flashed OOS (wiped dalvik & cache, and system) booted up fine and already connected to wifi, rebooted back to recovery(blu_spark v49), flashed the kernel, and booted up and found wifi off already.
Is there anything I can try to fix this?
Click to expand...
Click to collapse
That's a very weird issue. I have tested the kernel on stock official OOS 4.5.14 and I don't have any issues with the WiFi... I use Magisk 14.0 stable, encrypted as well. The only thing that is different is the recovery but I don't see why would flashing the kernel using a different recovery would break WiFi. Nevertheless I will have a closer look asap. Thanks for your report!
anujyadava said:
Which one will give more battery optimisation - renderzenith or helix kernel - with AKT??
Click to expand...
Click to collapse
AKT is compatible with RenderZenith and Helix kernel, as long as you use schedutil as the CPU governor [for both clusters]. However, if you chose to install Helix Kernel and use pwrutilx as the CPU governor, AKT won't be compatible.
P.S. pwrutilx is already battery oriented
Would anybody like to share the results ?
Sent from my ONEPLUS A5000 using Tapatalk

[ROM][4.4][UNOFFICIAL] LineageOS 16.0 with 4.4 kernel

LineageOS 16.0 for Xiaomi Mi 5 with 4.4 kernel
Remember this is a beta release, althought I've been using it for more than a week and it's working perfectly.
If you experience any bugs, panics or so, please report full logs to me (logcat and dmesg, you can look in /sys/fs/pstore)
Installation:
You can flash it on top of OFFICIAL 3.18 LOS also you can always go back within a dirty flash.
For safety reasons always perform a backup of your important data!
Features:
This is well-known LOS, none of the functionalities have been altered.
Build is running 4.4.189 kernel with many improvements over 3.18, it will keep this device alive for upcoming Android releases.
Kernel is suited with initial bug fixes, however, it's a stock kernel without any advanced tweaks. It's built with CLANG (!).
Working:
Probably everything!
Not working:
Kernel is permissive
Temporary MTP fix (I didn't have enough time to investigate it well):
Developer settings -> Default USB conf -> MTP -> connect cable -> profit
READ ONLY IF YOUR DEVICE IS ENCRYPTED:
There is an incompatibility between 3.18 and 4.4 kernels, you have to flash new TWRP with 4.4 kernel, otherwise your data partition will be DAMAGED!
Nevertheless there could be a need to full wipe your /data (magic Format Data button in TWRP) so perform a FULL BACKUP.
Download:
LineageOS zip
TWRP
Future development:
Device tree will be created from scratch over new Qualcomm tag to get rid of old junk. Full Treble compability will be provided.
More kernel bug fixes
Vendor update
FAQ:
Can I install XXX ? Does it support XXX ?
- It's still LOS, it supports everything what stock LOS does.
Can't you ship kernel package only?
- No, ROM has to be modified to meet 4.4 requriements. You can't flash 4.4 kernel on top of 3.18 ROM.
But why 4.4? Do I need it?
- More fixes, more performance, more support. If you want, search for kernel changelog.
EAS?
- Not now, there are more important things to work on.
If you want to buy me a coffee, please consider donating, I've put much effort to make it working.
DONATE
Join Mi5 group on Telegram
Huge thanks to Zuk kernel team for initial 4.4 support!
Credits:
@DD3Boh
@YaroST12
@kenny3fcb
@Luk1337 - fix for USB
@Jawor245 - random stuff
@RadixCube
XDA:DevDB Information
LineageOS 16.0 with 4.4 kernel, ROM for the Xiaomi Mi 5
Contributors
xNombre
Source Code: https://github.com/xNombre/msm-4.4
ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Version Information
Status: Beta
Created 2019-09-01
Last Updated 2019-09-01
Reserved
Reserved
In Antutu 7.2.3 tested fresh, stock LOS + nano gapps and fresh this rom + nano gapps on my 32Gb version. Biggest improvement for my device is memory +22% in Antutu points.
Stock: 144 086 overall
CPU: 50 420
GPU: 53 892
UX: 34 159
MEM: 5 615
4.4 LOS: 148 079 overall
CPU: 50 600
GPU: 54 615
UX: 35 657
MEM: 7 207
@xNombre great job!
I'll be testing your ROM in the future for sure. Looks very promising.
It would be great if you pulled the Floppy Kernel mods to tweak your 4.4 kernel
(Just my wish)
However, congratulations man.
I really appreciate your effort I would love to test your ROM But I only want to know 2 things before if someone can help.
1. Can I use it as daily driver?
2. Android Auto is working?
3. Will I need to do clean flash for future updates? Atleast for couple weeks.
Thanks
I'm using it for two weeks and no problems here.
If Android Auto is working on official LOS it will for for mine, too.
Nope, not for now.
#edit
Here is the new kernel you can flash on top of my LOS. (DON'T FLASH IT ON ANYTHING ELSE)
https://androidfilehost.com/?fid=1899786940962575411
Changelog:
add exFAT and NTFS
fix problems with wakelocks
use LZ4 for ZRAM
debloat a bit
skip sync for better battery
@xNombre What is the reason behind choosing 4.4 instead of a newer LTS version like 4.9 or 4.14? Or was the decision out of your hands?
Damn, do you think it's easy to port it on 4.14? For small group of users? Totally for free?
Two devices were fried with 4.9 kernel test version and in result I've spent many many hours of work for nothing.
Och, and remember, I had to buy a new mobo to restore my dd.
msm8996 has official support of 4.4 kernel and that's enough. I won't go any further, even if it's possible.
xNombre said:
Damn, do you think it's easy to port it on 4.14? For small group of users? Totally for free?
Two devices were fried with 4.9 kernel test version and in result I've spent many many hours of work for nothing.
Och, and remember, I had to buy a new mobo to restore my dd.
msm8996 has official support of 4.4 kernel and that's enough. I won't go any further, even if it's possible.
Click to expand...
Click to collapse
Whoa, calm down, mate. I just wanted to know the rationale. Knowing that msm8996 supports 4.4 is good enough for me. :good:
Sorry to hear about the two damaged devices, though. That must have been extremely frustrating.
xNombre said:
Damn, do you think it's easy to port it on 4.14? For small group of users? Totally for free?
Two devices were fried with 4.9 kernel test version and in result I've spent many many hours of work for nothing.
Och, and remember, I had to buy a new mobo to restore my dd.
msm8996 has official support of 4.4 kernel and that's enough. I won't go any further, even if it's possible.
Click to expand...
Click to collapse
Lots of love for 4.4 kernel.
Hello
Thanks for this amazing work.
I have a question (probably stupid) will voWifi work better than with a 3.18 kernel or there is no relationship between kernel and voWifi?
Thank you for your work. This is quite big actually.
Thx
Myxomatom said:
Hello
Thanks for this amazing work.
I have a question (probably stupid) will voWifi work better than with a 3.18 kernel or there is no relationship between kernel and voWifi?
Click to expand...
Click to collapse
There it no correlation between kernel and RIL. No changes here. Maaybe sth nice will happen with new vendor blobs but you have to wait for it.
great job, it heats a lot less than the miui .. today it's only the first day but it seems to me that the battery lasts much longer !!
bido1 said:
great job, it heats a lot less than the miui .. today it's only the first day but it seems to me that the battery lasts much longer !!
Click to expand...
Click to collapse
yeah ... been using it for the last 3 days ... the battery performance is better than the official one without any tweak
can't flash it under lineage-16.0-20190809-nightly-gemini-signed.zip. error code: 7. any clue why?
netrixken said:
can't flash it under lineage-16.0-20190809-nightly-gemini-signed.zip. error code: 7. any clue why?
Click to expand...
Click to collapse
Are you using TWRP provided in first post?

Categories

Resources