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
Related
AOSP RIN Kernel for D851
Close to stock with some sugar added ... delicous!
Hey guys and girls,
here is my attempt to build up on the cm source for an modified AOSP kernel, hope you like it, have fun
First of, DISCLAIMER, I'm not responsible for bricked devices, dead unicorns, rainbows with missing colors, world war, nose bleed, void warranty (you know that already, don't you? your warranty is void now and it's your fault ) or any other harm happening to your device, you or people around you!
What does it serve? (Features)
AnyKernel
Kexec Hardboot patch
FauxSound support
OC to 2.7GHz and UC support
Voltage control
Intelliplug
Cpu limiter
GPU Overclocking to 675Mhz
Simple GPU Algorithm
Simple_ondemand GPU Governor fixed
fsync on/off support (on by default)
Power efficient workqueues
Dynamic management of dirty page writebacks
Dynamic Read Ahead
IO Schedulers
CFQ
DEADLINE
FIFO
FIOPS
NOOP
ROW (default)
SIO
TRIPNDROID
VR
ZEN
Governors
Adaptive
Conservative
DanceDance
Intelliminmax
Interactive (default)
Lagfree
Lionheart
OnDemand
Performance
Powersave
SmartassV2
Userspace
Wheatley
Smartmax
TCP Congestion Algorithms
BIC
Westwood+
Vegas
Veno
Yeah
HTCP
Cubic (default)
Reno
LiveSharpening
2-Way Call Recording support
exFat support
DriveDroid support
KSM
android logger sysfs toggle (disabled by default)
Many under the hood fixes
Stability
More to come
How to apply it? (Installation)
IMPORTANT: Read through all the requirements, steps and warnings before you do anything, if any requirement doesn't match or you don't know what one or more of the steps below mean or do, ask before you do any of them, if you don't know how all the steps can be done, let it be, I warned you, if you don't do and something bad happens, I'll just laugh at you!!
Requirements? Yes!
D851
Custom Recovery
AOSP based lollipop ROM (Mainly cm12 based)
How to flash the kernel?
BEWARE to be on the default kernel of the given ROM (NO custom, except at updates of this one!!) when flashing this kernel, the ramdisk is taken from the currently flashed kernel!!!
Download zip
Place on internal or external SD
Reboot to recovery
Choose install zip
Search for the downloaded zip
Confirm flashing
Wipe cache
Reboot
Have fun
Changes? (Changelog)
14.01.2015/1.6.5
FauxSound support added
Dynamic read ahead
13.01.2015/1.6
Initial AOSP release
Full list of commits can be found here
Where to get it from? (Download)
google drive | AndroidFileHost | dev host
Let me test!! (Beta Testing Community)
Google+ LG G3 Beta Testing Community
Show me the so(u)rce(ry)! (Source Code)
https://github.com/tectas/android_kernel_lge_msm8974ac/tree/rin-cm-12.0
Donators (huge thanks, you're simply great )
@Toneman07
@Helloworld294
@shaarky
@Dreamxtreme
@guyd
@mosincredible
@tobitege
@AndroidUzer
Credits
XDA for the great community
Google for their great operating system
LG for the great device
CyanogenMod for the base this is built up from
@invisiblek for his marvelous job on the bring up of the device and the many patches
@HolyAngel for some commits I used
@faux123 for his great work with intelli* and beyond
@KAsp3rd for some commits I used
@myfluxi for some commits I used
@trialsrider1 for some commits I used
@Skin1980 for his breakthroughs at our device, his support and for being such a nice guy
@Lord Boeffla for some commits I used
@GuneetAtwal for some commits I used
@DooMLoRD for some commits I used
@Fechinator for some commits I used
@savoca for AnyKernel, Livesharpening and some other stuff
@Christopher83 for his implementation of Dynamic management of dirty page writebacks and some additional stuff
If you like my work, please show your appreciation by pressing the thanks button, if you want to do more, i've nothing against a little donation, but I'm as happy when you just thank me by pressing the button
XDA:DevDB Information
Rin Kernel AOSP, Kernel for the T-Mobile LG G3
Contributors
Tectas
Source Code: https://github.com/tectas/android_kernel_lge_msm8974ac/tree/rin-cm-12.0
Kernel Special Features:
Version Information
Status: Beta
Current Beta Version: 1.6.5
Beta Release Date: 2015-01-14
Created 2015-01-14
Last Updated 2015-01-14
Reserved
Awesome thanks. Heard good things about your STK LG kernel. Downloading
razrlover said:
Awesome thanks. Heard good things about your STK LG kernel. Downloading
Click to expand...
Click to collapse
Super addition to the D851 arsenal.
Thanks
P.S: Can't seem to find it in the downloads!
arifqur said:
Super addition to the D851 arsenal.
Thanks
P.S: Can't seem to find it in the downloads!
Click to expand...
Click to collapse
Sorry, link fixed.
Tectas said:
Sorry, link fixed.
Click to expand...
Click to collapse
Thanks for the link and especially thanks for being the first Dev to include kexec hard boot patch for D851 in his kernel
Heh, I managed to screw up my MultiROM setup.
Fusion LP was a tertiary ROM. I decided to flash this kernel against it. Almost 10 minutes and it never finished flashing. TWRP was also frozen.
On restart none of the ROMs would boot. Trying to reselect Fusion in MultiROM would fail and freeze/lock TWRP. Seems the partition with Fusion got corrupted.
Got tired of pulling the battery so wound up restoring primary ROM and will start over with MultiROM.
Just one of those things probably unrelated to the kernel itself.
I should have at least backed up the secondary ROM. Oh well. ?
Small update to 1.6.5:
14.01.2015/1.6.5
FauxSound support added
Dynamic read ahead
Download within the OP, have fun
Tectas said:
Small update to 1.6.5:
14.01.2015/1.6.5
FauxSound support added
Dynamic read ahead
Download within the OP, have fun
Click to expand...
Click to collapse
Thanks
Working well so far, thanks :good:
marcdw said:
Heh, I managed to screw up my MultiROM setup.
Fusion LP was a tertiary ROM. I decided to flash this kernel against it. Almost 10 minutes and it never finished flashing. TWRP was also frozen.
On restart none of the ROMs would boot. Trying to reselect Fusion in MultiROM would fail and freeze/lock TWRP. Seems the partition with Fusion got corrupted.
Got tired of pulling the battery so wound up restoring primary ROM and will start over with MultiROM.
Just one of those things probably unrelated to the kernel itself.
I should have at least backed up the secondary ROM. Oh well. ?
Click to expand...
Click to collapse
I'm using it with Fusion as primary ROM with no problems. But flashing fusion itself takes close to ten minutes to flash, and the progress bar shows nothing until it's done. I was already on fusion, then flashed RIN and Multirom.
Never mind.
Working well with Euphoria.
Thanks for a great AOSP kernel
joshuajones said:
I'm using it with Fusion as primary ROM with no problems. But flashing fusion itself takes close to ten minutes to flash, and the progress bar shows nothing until it's done. I was already on fusion, then flashed RIN and Multirom.
Click to expand...
Click to collapse
I changed my primary SkyDragon ROM then reflashed kexec kernel and multirom. Discovered my CM11 was still there (cool) then reflashed Fusion.
Flashed RIN kernel but this time I waited. It took much longer than the ROM install.
But all is good. Fusion seems to be running great with RIN.
Thanks.
Sent from my LG-D851 using Tapatalk
Kernel is working great
I've used this Kernel on about 3 different LP ROM's (clean flash) and on each of them, the pull down menu appears and freezes after ending calls whether its being made or receiving them. If you are able to get out of the menu, the pull down no longer works. You must reboot for everything to return to normal...
Nothing says great batterylife except when it tells me 1 day 19 hours and hasnt been on a charger since 8 am
Nice kernel exelent battery and no complains for now ?
Been off charger all day with light use and its still going strong
scribbles92 said:
I've used this Kernel on about 3 different LP ROM's (clean flash) and on each of them, the pull down menu appears and freezes after ending calls whether its being made or receiving them. If you are able to get out of the menu, the pull down no longer works. You must reboot for everything to return to normal...
Click to expand...
Click to collapse
Done a few clean flashes since I started using this kernel but I'm not having this problem...
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
Hi all.
Compatibility:
Builds from r1 up to r12 are for Android 7.1.1 Nougat OxygenOS based roms only.
Builds from r13 are for Android 8.0.0 Oreo OxygenOS based roms only.
Builds starting with r18 work with Android 8.1.0 Custom roms.
Builds starting with r28 up to r32 work with OxygenOS 5.1.0 Android 8.1.0
Builds starting with r33 work with OxygenOS 5.1.5 Android 8.1.0
Builds starting with r40 are for OxygenOS 9.0 Android Pie.
Builds starting with r44 are also available for custom roms such as LineageOS.
Download:
https://francokernel.app
Installation:
Flash the zip in your recovery
or
Auto-flash from FK Kernel Manager app, it's magical
Changelog:
https://francokernel.app
Scroll down, choose your device & select the latest release to see the changelog.
Source:
https://github.com/franciscofranco/OP5-5T-unified
Follow me on socials for updates and interesting tidbits
Twitter[/URL
FK Kernel Manager video
[url]https://www.youtube.com/watch?v=ARdNqh71D0E
Disclaimer to moderators:
Slight OT is fine, but when users decide to act stupid they should be dealt with with the appropriate means - its really annoying for me when OT turns crazy. Please put the warning/ban hammer anytime any of you think there's lack of respect and/or too much unwanted OT crap - but if it doesn't meet this criteria let the OT posts alone. Thank you.
Cheers!
Wow nice! For OOS?
As usual there's a large focus on battery life. F2FS is upstreamed to the latest version and I spent a couple days single picking useful commits from Qualcomm's repository with fixes and power consumption improvements.
You should see an improvement in battery life.
Beukhof1 said:
Wow nice! For OOS?
Click to expand...
Click to collapse
Yes.
wowww Franco is here!
25% off sale on FK Manager & Updater for the next 48 hours to celebrate adding One Plus 5 support
https://play.google.com/store/apps/details?id=com.franco.kernel
I'm wait this moment. Thanks FF!
@franciscofranco The king is here!!!!Tnx buddy!!
can it be flash over another custom kernel?
Thank you for supporting Oneplus 5! Using now and it's very smooth.
Just want to report also that the stock screen gestures (double tap to wake, draw O for camera etc) are not working yet
lohaanaa said:
can it be flash over another custom kernel?
Click to expand...
Click to collapse
Nope....first stock kernel...after custom one....
Great work Franco!
After a reboot, the phone boots to default color calibration and it takes like 10-20 seconds to switch to DCI-P3 or SRGB.
PS:Gestures are broken too.
The kernel is systemless?
Sent from ONEPLUS A5000 by Tapatalk
v7 said:
After a reboot, the phone boots to default color calibration and it takes like 10-20 seconds to switch to DCI-P3 or SRGB.
PS:Gestures are broken too.
Click to expand...
Click to collapse
Color calibration did not reset for me. Working fine. But Gestures don't work when screen is off.
I don't see the discount price for the Manager & Updater in the PlayStore.
Edit: price already updated in the store
@franciscofranco
fsync seems to be causing issues for me. With fsync disabled some apps fc after being cleared and some other work fine. After reenableing fsync everything returns to normal.
I´am running the latest stock rom with the only modificatiion being your kernel and magisk.
here is a short vid. of it in action: https://gfycat.com/MemorableMemorableCaecilian
logcat (sorry its quite huge ) https://www.dropbox.com/s/w2rbudldqw3ofvr/log.txt?dl=0
AlfalfaX said:
fsync seems to be causing issues for me. With fsync disabled some apps fc after being cleared and some other work fine. After reenableing fsync everything returns to normal.
I´am running the latest stock rom with the only modificatiion being your kernel and magisk.
here is a short vid. of it in action: https://gfycat.com/MemorableMemorableCaecilian
Click to expand...
Click to collapse
Grab a logcat.
Nice, I missed you (used Franco on my 3T). Already have the app, but nice for new users with discount :highfive:
Nice thanks
lohaanaa said:
can it be flash over another custom kernel?
Click to expand...
Click to collapse
Flash full zip. Let it boot. Boot back too twrp then flash kernel
Buffcore oreo kernelSamsung Galaxy S4 i9505 (jfltexx)Release 02 - 11th June 2018
Code:
#include
/*
* Your warranty is now void.
* And other random stuff no-one reads.
*/
Intro
I had never intended releasing this as a stand alone, but had always been aware that it would work.
With BB and Side both being busy and AOSP and OptLos stalling for a bit, the kernel from RR-oreo should I think help a bit to alleviate users battery issues.
What is it?
Buffcore 2.04 - this is a fork of BB's AOSP 8.1 kernel with added fastcharge and battery saving features.
It is the kernel supplied with RR-o release 2, so isn't needed for RR users.
Code:
renamed to buffcore;
sdfat enabled;
fastcharge implemented for faster charging (up to 1900 ac / 1000 usb);
bcmhd wakelocks for rx and tx halved;
libmemcopy and libstring sped up;
io readahead to 1024k;
lower min cpu governor frequency (270);
power efficient work queues;
voltage tweaking user interface;
faster vmstat;
autosmp hotplugging replacement;
mmc crc disabled;
allow for lower cpu voltage;
reduce swapiness;
optimise divide / multiply by power of 2;
added tcp optimisation options,;
set westwood default;
force doze screen off helper;
optimise cbfillrect function;
reduce wifi wakelock times;
nohz: reduce overhead under high-freq idling patterns.
What rom is it for?
BB's AOSP oreo
Side's OptLos 15.1
Installation
Dirty (use with current rom flash)
Extract the boot.img file from the zip (It is not a flashable zip!).
Reboot rom into twrp.
Perform a nandroid backup to be safe, incase you need to go back.
Go into Install, then select Install Image for Buffcore kernel.
Reinstall your prefered root solution (Magisk, etc).
Do not wipe caches.
Reboot.
Clean (flash as part of clean install)
Extract the boot.img file from the zip (It is not a flashable zip!).
Reboot rom into twrp.
Perform a nandroid backup to be safe, incase you need to go back.
Perform clean recomended in your rom thread.
Install rom.
Go into Install, then select Install Image for Buffcore kernel.
Reinstall your prefered root solution (Magisk, etc)
Install Gapps.
Do not wipe caches.
Reboot.
Usage
Some features will need to be forced on (IF desired) and set to apply on boot with an app like Kernel Aduitor, EXKM etc. (Fastcharge, Min cpu frquency used, Power efficient work queues, Voltage tweaking, AutoSMP hotplugging).
This kernel should / will not be compatible with stweaks.
There will essentially be no support with this, if it works then it works, or doesn't.
If it helps you then it helps you, if it doesn't tough, don't moan about it.
It has had a little testing with the roms it is intended, boots fine and seems to provide some benefit.
This may not get updated either - see it as a stop gap for the moment.
Thanks
Thanks due to Drrossum, Kesaras, CR4IGY_BOY for testing for me.
BB for original kernel and Side and TsvietOK for picks.
Download
Download from AFH here BUFFcore-o-2.04-release02-20180611.zip
md5sum - d2293a1e623ddcc68946dbea7ea12869
XDA:DevDB Information
BUFFcore-o, Kernel for the Samsung Galaxy S4
Contributors
Buff99, side
Source Code: https://github.com/Buff99/platform_kernel_samsung_jf/tree/aosp-8.1
Kernel Special Features: Fastcharge, battery saving features
Version Information
Status: No Longer Updated
Created 2018-06-18
Last Updated 2018-09-13
Reserved
might as well have one, won't be writing much tho....
Very well done, master!
Perfect. I guess it's my new optlos main kernel
side said:
Perfect. I guess it's my new optlos main kernel
Click to expand...
Click to collapse
Of course, we work better and smarter together.
Since Kernels are/should be backward compatible, any reason why this shouldn't work with RR Marshmallow?
Thx!
<CuriousCat> said:
Since Kernels are/should be backward compatible, any reason why this shouldn't work with RR Marshmallow?
Thx!
Click to expand...
Click to collapse
Backwards compatibility with kernels? Not guaranteed that I know of.
When Oreo kernels use 64 bit binder, it locks out use with ROMs that don't have 64 bit binder defined.
You'd be better trying a sidecore kernel for nougat as an intermediate, if it works then try this. A kernel flash that doesn't work should be easy to recover from if have you stock one on hand ready to reflash. Remember that any mod / root that patches the kernel will need reflash.
SideCore kernel is a no go. A stock RR Nougat kernel also. Do you think some repacking with the boot.img of the RR Marshmallow would help?
<CuriousCat> said:
SideCore kernel is a no go. A stock RR Nougat kernel also. Do you think some repacking with the boot.img of the RR Marshmallow would help?
Click to expand...
Click to collapse
if they don't work, then this is a definite no-go.
I think RR marshmallow used the stock CM13.1 kernel, nothing was changed. Your viable choice would be anything cm13 compatible.
Syzrgy & Alucard spring to mind from back in the day.
Buff99 said:
if they don't work, then this is a definite no-go.
I think RR marshmallow used the stock CM13.1 kernel, nothing was changed. Your viable choice would be anything cm13 compatible.
Syzrgy & Alucard spring to mind from back in the day.
Click to expand...
Click to collapse
Alucard can't be found for MM and Synergy is very old (and not sure how stable).
Is there a way to take the (your/lineage) source and compile it to work with MM?
<CuriousCat> said:
Alucard can't be found for MM and Synergy is very old (and not sure how stable).
Is there a way to take the (your/lineage) source and compile it to work with MM?
Click to expand...
Click to collapse
just change the ramdisk using an image kitchen
side said:
just change the ramdisk using an image kitchen
Click to expand...
Click to collapse
I was thinking the same. Let me try.
Once repacked it boots but it's unstable. After running AnTuTu a few times it restarted every time. Not a good sign.
I flashed it several times on I9505 running the LOS15.1 and everytime I reboot after flash it shows the boot up screen with the phone model and then goes to Download mode. The fix for this non booting condition is to reflash the ROM.
Pecata01 said:
I flashed it several times on I9505 running the LOS15.1 and everytime I reboot after flash it shows the boot up screen with the phone model and then goes to Download mode. The fix for this non booting condition is to reflash the ROM.
Click to expand...
Click to collapse
Where is los15.1? Which rom u mean
I meant the Optimized Lineage OS 15.1 builds Version1 on which I tried to install BUFFcore-o rel02 kernel and it didn't work. But i flashed the Lineage OS 15.1 Version2 and it's all working. Good job
Is it possible to change the max frequency? Before compiling? Or manually with an root Explorer?
Just for fun
M4verick44 said:
Is it possible to change the max frequency? Before compiling? Or manually with an root Explorer?
Just for fun
Click to expand...
Click to collapse
aka overclock.
yes its possible.not suggested though.this thing is really advanced and i dont think that u will have nice results.wont be 'fun' at all
Can you add Boeffla Wakelock Blocker to this kernel? The Wi-Fi wakelocks are still annoying.
side said:
aka overclock.
yes its possible.not suggested though.this thing is really advanced and i dont think that u will have nice results.wont be 'fun' at all
Click to expand...
Click to collapse
Will you add over clocking to this kernel anytime soon? @side @Buff99?, maybe @ripee
---------- Post added at 05:34 PM ---------- Previous post was at 05:33 PM ----------
side said:
aka overclock.
yes its possible.not suggested though.this thing is really advanced and i dont think that u will have nice results.wont be 'fun' at all
Click to expand...
Click to collapse
Will you add over clocking to this kernel anytime soon? @side @Buff99?, maybe @ripee
Introduction
Dora kernel is a successor of popular nem0 kernel for A10/A11 ROMs.
Dora Kernel is CAF based kernel aiming to provide great stability and performance while maxing out battery life!
Code:
// 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.
Main Features:
- Unified for OOS 11 and Android 11 Custom ROMs (Check with your maintainer if they have R blobs merged in)
- Based and upstreamed to latest CAF tags for the SD855
- Upstreamed to latest Linux-Stable
- Upstreamed to latest F2FS stable
- Compiled with Clang 13 and -O3 speed optimizations flags
- Compiled with Clang Polyhedral Loop Optimizations (Polly)
- Simple LMK driver from kerneltoast
- BBR2 TCP congestion algorithm
- 675 MHz GPU step
- Custom energy-freq scheduling model for maximizing performance and battery life
- Custom frequencies setup (dropping to CAF default minimums during idle)
- S2idle suspend mechanism with patches from Google P4/P5 kernels
- PELT scheduling mechanism
- Many scheduler backports from mainline and/or 4.19 Google kernel
- Zip made using latest AnyKernel3 release, retains root on flash (Stable Magisk 21.4 or higher reccommended)
- Zip flashable through EXKM/FKM/Smartpack/TWRP
- Integrated OTA updates in Franco's Kernel Manager *(link for the json: JSON)
- Many more features I don't remember right now, check source if you're interested or contact me on Telegram!
Bug reports:
- If you want to report a bug, please provide some sort of logs (logcat, dmesg)
Flashing instructions:
- Just flash it through TWRP or EX or Franco's Kernel Manager apps
- No sorts of configs needed, flash and be happy out of the box
-There are 2 versions per release: one with SDCARD_FS disabled (default) and one with it enabled. Motivation behind this is recent updates to AOSP 11 ROMs (Yaap, Derp, etc.) that have disabled the support for it. And even though that builds with SDCARD_FS could still work, it's not recommended.
So, in layman terms, if you are running OOS or any custom ROM that still hasn't followed the path of those custom ROMs, please use the sdcard-fs zip or update through OTA.
Downloads
Stable and Test builds: Google Drive
Kernel being actively tested in this group: Telegram
Donations
If you would like to keep this project going with more improvements, feel free to support it: PayPal
Thank you to:
@osm0sis for AnyKernel
@nathanchance for help with upstreams
@topjohnwu for Magisk
@idkwhoiam322, @KuranKaname for being good friends
@BobAzzon, @npv12, @Gabyrx7, @Reechings and rest of my dear friends that tested the kernel (really, wouldn't be possible without you guys <3)
Contributors
nem0 aka AnnoyingZlatan
Source Code: GitHub
Version Information
Status: Stable
Created 2021-05-01
Last Updated 2021-07-20
Reserved
Reserved #2
really pru kernel, I like it
my sot tripled
jk, best kernel on here!
Best kernel ever since Nemo,,now Dora,,congrat bro,,awesome kernel,,work perfect with new official PE rom,,,
Best for A11 on OOS11 blobs and OOS11 !!!!
Ex-nem0 Kernel user here, thank you so much @AnnoyingZlatan for this one
I've just installed 1.0 with adb sideload on latest PixelExperience, all good
Love ur kernel looking forward to help u testing hehe
Toutatis_ said:
Ex-nem0 Kernel user here, thank you so much @AnnoyingZlatan for this one
I've just installed 1.0 with adb sideload on latest PixelExperience, all good
Click to expand...
Click to collapse
I'd like to try it on YAAP, but I didn't know how to go back to stock kernel. I read somebody says to restore boot.img & dtbo but not sure how to do it
Zhuang zhuang said:
I'd like to try it on YAAP, but I didn't know how to go back to stock kernel. I read somebody says to restore boot.img & dtbo but not sure how to do it
Click to expand...
Click to collapse
In Franko kernel manager you can make a backup of your current kernel. Then flash this, then restore kernel if you want it back.
Of fastbootd flash boot img from yaap, same as you most likely did when you originally installed it if you used that method. (Ps, make sure it's matching your ROM though, so you're not updated to the latest but flashing a boot image from a previous version..)
Currently using your Nemo kernel. I flashed this kernel via Franco's kernel manager but I get kicked back to my recovery..any ideas? Tia your kernels are awesome
This kernel is awesome. With Dora Freq i've the best UI performance with AOSP like LOS/CrDroid , another world compared to OOS. Thanks Dev.
bushninja07 said:
Currently using your Nemo kernel. I flashed this kernel via Franco's kernel manager but I get kicked back to my recovery..any ideas? Tia your kernels are awesome
Click to expand...
Click to collapse
Yes, this is meant for OOS 11 and A11 ROMs that switched to R blobs, as it's stated in the OP. It won't be compatible with the builds you've run Nemo on
Amazing experience out of the box, super thanks !
tested with OP7 on oos 11.0.0.2
super smooth and really impressive battery
I flashed via FKM on YAAP. Everything started good but just few minutes ago, when the screen turned off, it didn't turn on again & auto reboot. I had it 2 times in just a couple of minutes
Zhuang zhuang said:
I flashed via FKM on YAAP. Everything started good but just few minutes ago, when the screen turned off, it didn't turn on again & auto reboot. I had it 2 times in just a couple of minutes
Click to expand...
Click to collapse
Yaap has a built in logcat, perhaps check to see if there's any traces of the error. It might help Zlatan if you post that..
I have OOS 11 and and currently using a custom kernel. Should I flash OOS 11 again before your kernel? Thanks in advance.
Zhuang zhuang said:
I flashed via FKM on YAAP. Everything started good but just few minutes ago, when the screen turned off, it didn't turn on again & auto reboot. I had it 2 times in just a couple of minutes
Click to expand...
Click to collapse
I am aware of the issue. Will be fixed in next update, just a bit busy atm.
Teso79 said:
I have OOS 11 and and currently using a custom kernel. Should I flash OOS 11 again before your kernel? Thanks in advance.
Click to expand...
Click to collapse
Nope, just flashing a kernel is enough.
I have tried this version of the kernel and it feels very good! But the memory of my phone is too small, I hope there will be swap space in the future. Does the developer have plans to add zram or zswap in the future?