[KERNEL] [Oreo] Kawori Kernel for Oneplus 2 (2018-04-04)

Search This thread

NLS4

Member
Nov 16, 2014
18
4
how is battery life on this kernel ?? im getting on orignal lineage os kernel 2-3 hours sot and 10-16 hours standby
 

jeb101

Senior Member
Jul 19, 2012
127
33
I've been running this kernel on Oreo since release, I have to say, excellent battery life with a -70mv across the board! Working fine on the latest official LOS / OTA update. No weird issues on my end either, all configs seem to work fine when used with Kernel Audiutor
 
  • Like
Reactions: Babbsack

iDifferent

Member
Aug 23, 2017
22
3
25
huh.. I messed up and flashed no gravity kernel on top of some other kernel (he said to revert to stock kernel first) then my op2 wouldn't even reach the boot animation just open up fastboot after a few minutes... then I panicked and flashed it again, cleared data and again, tried a few other kernels I had and nothing... then I flashed yours and it fixed my issue :3 not sure how this things work but w/e aint gonna touch kernels for a while..

it's either setting up my apps or is in boot loop aw well, gotta live hard and die young

edit: it's bootlooping
 
Last edited:

aviraxp

Senior Member
Jun 24, 2016
485
902
Beijing
huh.. I messed up and flashed no gravity kernel on top of some other kernel (he said to revert to stock kernel first) then my op2 wouldn't even reach the boot animation just open up fastboot after a few minutes... then I panicked and flashed it again, cleared data and again, tried a few other kernels I had and nothing... then I flashed yours and it fixed my issue :3 not sure how this things work but w/e aint gonna touch kernels for a while..

it's either setting up my apps or is in boot loop aw well, gotta live hard and die young

edit: it's bootlooping

Although it is not related to my kernel...Dirty flash the ROM again.
 

cpt.macp

Senior Member
Aug 2, 2013
563
315
Under Your Bed
@aviraxp I noticed some deepsleep issues , phone's display does not turn off after the "screen timeout" threshold , i tried wiping cache , dalvik . But it seems like there are some issues with screen timeout , screen stays on for a long time .
 

iDifferent

Member
Aug 23, 2017
22
3
25
Although it is not related to my kernel...Dirty flash the ROM again.

Yes I did, I just learned roms come with their own custom kernel. The problem is I still can't flash his kernel is it because I dirty flashed oreo over nougat? should I try flashing yours?

edit: I flashed it and it worked, not sure why his doesn't work and yours does just fine
 
Last edited:

iDifferent

Member
Aug 23, 2017
22
3
25
the good news is that it is kinda working, the bad news is that it kinda freezes my phone sometimes when I turn it on, the hardware buttons light up, the screen is black and then I can't do nothing (not even lock/unlock it) except force shutting it down
 

DynaSpan

Member
Mar 27, 2018
41
20
the good news is that it is kinda working, the bad news is that it kinda freezes my phone sometimes when I turn it on, the hardware buttons light up, the screen is black and then I can't do nothing (not even lock/unlock it) except force shutting it down

Having the same issues on the latest LOS build (23-04). Will try to grab some logs when I get back home, removed the kernel for now.
 

iDifferent

Member
Aug 23, 2017
22
3
25
Having the same issues on the latest LOS build (23-04). Will try to grab some logs when I get back home, removed the kernel for now.

This issue existed in early builds of Los nougat. It has to do with some deep sleep mechanism, turning the screen off doesn't trigger it but if it stays off for a few minutes it goes in some sort of deeper power economy mode and doesn't wake up from it, hope this helps.

Edit: actually not the same.. Phone still works in the background, for example music won't stop playing and such, so I don't know..
 
Last edited:

jeb101

Senior Member
Jul 19, 2012
127
33
I can confirm the blank screen on the 0423 build, reverting to the week prior works fine. The update was done by wiping just system and dalvik, updated from there. If there are steps I'm missing to get going proper on the latest please let me know and I'll do what I can to help.

Cheers
 

Top Liked Posts

  • There are no posts matching your filters.
  • 31
    Some of you know me from the OOS3/Nougat kernel I built, and now I am moving to Oreo and starting working on it.

    It mainly majors in keeping a balance between features and stabilities, so I did not add too many features (And I think features like adding 10+ governors is a bad practice), but the features I added is of great use. Some of the features are unique in existing OP2 kernels.

    I am sick of those kernels which say it is the smoother than butter or is more power-saving than Nokia 1100, and I do not think that could happen. What I provide is an average kernel with some little tweaks. If you are looking for some specific features, this is not the place for you.

    The features list:

    Features:
    - Backport patches from Linux stable 3.18/3.16/3.2 branches
    - Catch up with latest Linux upstream 3.10.108
    - Catch up with latest CAF LA.BF64 branch source
    - Catch up with latest sdcardfs, f2fs, exfat, xpad source
    - Tweaked interactive governor based on CAF MSM8996/8998 branch, together with fastlane tunsables from Bluspark
    - CPU voltage control
    - Remove powersave, conservative, userspace governor
    - Add maple, sio, fiops, zen I/O scheduler
    - Franco sound control
    - Thermal parameters control
    - KCAL control
    - Dynamic Sync control
    - Boeffla wakeblock blocker
    - Fingerprint boost tweaks
    - Sultanxda's I/O sched switcher
    - TheCrazyLex's memory automatic compaction mechanism
    - Various improvements from AOSPA (thanks to TheCrazyLex)
    - Various improvements from Sultanxda and myfluxi (The people I really admire)
    - Various improvements from CAF
    - ...

    Usages:

    Note that LineageOS based roms and other roms use different sysfs nodes for gestures. So I provide 2 versions, just use the one that your rom is based on, otherwise gestures may be broken. For non los based Roms, use nonlos version. If gesture does not work, switch to another version and it will work.

    Use EX kernel manager to tweak it. You can use kernel adiutor, but you will miss some tunables as it is not updated for a long time.

    Download:

    I use Github to host the zips. You can view all the zips at https://github.com/aviraxp/kawori_build.

    [Release 20180404]
    LOS based roms: https://github.com/aviraxp/kawori_build/raw/master/kawori-kernel-20180404-los.recovery.zip
    Non LOS based roms: https://github.com/aviraxp/kawori_build/raw/master/kawori-kernel-20180404-nonlos.recovery.zip

    [Release 20180330]
    LOS based roms: https://github.com/aviraxp/kawori_build/raw/master/kawori-kernel-20180330-los.recovery.zip
    Non LOS based roms: https://github.com/aviraxp/kawori_build/raw/master/kawori-kernel-20180330-nonlos.recovery.zip

    [Release 20180327]
    LOS based roms: https://github.com/aviraxp/kawori_build/raw/master/kawori-kernel-20180327-los.recovery.zip
    Non LOS based roms: https://github.com/aviraxp/kawori_build/raw/master/kawori-kernel-20180327-nonlos.recovery.zip

    Source:
    https://github.com/aviraxp/ONEPLUS_MSM8994_KAWORI

    Credits:

    Fist of all, thanks to Linux upstream and CAF. Without them, doing this work is impossible.
    Of course, thanks to Lord Boeffla for a good picking source.
    Then I want to thank to Sultanxda and myfluxi for the 30+ commits I picked and the guidance he provided. You are the real MVP!
    I also want to say thanks to dorimanx, Joe Maples and Franco for the good features they provided.

    Support:
    Feel free to provide feedbacks, though I may not know how to fix it as I actually don't have enough knowledge for C.

    2018-04-18: You can use nonlos build as usual, and the los version is compilatable with both stock or Shreesha's build.
    7
    New build is out.
    6
    Change log:

    20180404:

    Add adreno boost
    Update fsync control to 2.1
    Add security fixes from Lineage and angler
    Remove iosched switcher (fixes kernel panic)

    The los kernel is only for the newest official build, if you are on older build, don't use this one!

    20180330:
    Fix issues that big cores refuses to turn on
    Attempt to fix charging for all (really weird because someone reports charging is fast but others report the opposite)
    Improvements to BCL driver
    Align with latest los code drop
    5
    https://github.com/aviraxp/kawori_build/raw/master/kawori-kernel-TEST.recovery[1].zip

    new rebased oreo/pie los kernel based on official repo, having used it for a month and no issues.