[EOL] [OP6] [OOS 9.0.2/OB6] [4.9.136] [CLANG 7.0] Flash Kernel 2.15

Search This thread

hkee96

Senior Member
Nov 25, 2016
373
104
43
I have pushed 1.10, which disables the Avengers theme by default because some people didn't like the changes it made to the clock font. To compensate for this, I have provided zips that can be flashed in TWRP, Kernel Manager for Franco Kernel, or EX Kernel Manager that enables the theme by default.

https://nathanchance.me/downloads/kernels/op6/other-zips/

Enjoy!
Will this work on stock kernel too? I flashed the enable.zip on stock but it didn't work.
 

nathanchance

Senior Recognized Developer / Recognized Contribut
Jul 22, 2015
13,749
49,957
263
26
Mesa, AZ
Is there any way other than flash custom kernel . I mean using stock kernel.

You can try running

Code:
echo 3 > /sys/module/param_read_write/parameters/cust_flag

in a root shell but I'm fairly certain that node is read only.

Sent from my Pixel 2 XL using XDA Labs
 
  • Like
Reactions: hkee96

nathanchance

Senior Recognized Developer / Recognized Contribut
Jul 22, 2015
13,749
49,957
263
26
Mesa, AZ
Update!

In case you missed it, I have flashable zips to enable and disable the Avengers Theme here (that way, certain elements like the clock get set before the system is fully booted so you don't need to wipe data). They can be flashed any way that the kernel can.

Remember any and all bug reports need to include logs and clear steps to reproduce (see the info in the OP). You should also know what version it started with. If you want to be a tester and get builds before they are released here or just hangout, feel free to stop by Telegram!


Short changelog

  • Linux 4.9.113


Downloads

Primary: https://nathanchance.me/downloads/kernels/op6/8.1.0/stable/

Mirror: https://github.com/nathanchance/fk-zips

Remember it can be auto-flashed with Kernel Manager for Franco Kernel!


Commits

Kernel: https://github.com/nathanchance/op6/commits/8.1.0

AnyKernel2: https://github.com/nathanchance/AnyKernel2/commits/op6-flash-8.1.0
 

nathanchance

Senior Recognized Developer / Recognized Contribut
Jul 22, 2015
13,749
49,957
263
26
Mesa, AZ
Update to 1.12!

Remember any and all bug reports need to include logs and clear steps to reproduce (see the info in the OP). You should also know what version it started with. If you want to be a tester and get builds before they are released here or just hangout, feel free to stop by Telegram!


Short changelog

  • (1.11) Linux 4.9.113
  • Merge OxygenOS 5.1.9 updates


Downloads

Primary: https://nathanchance.me/downloads/kernels/op6/8.1.0/stable/

Mirror: https://github.com/nathanchance/fk-zips

Remember it can be auto-flashed with Kernel Manager for Franco Kernel!


Commits

Kernel: https://github.com/nathanchance/op6/commits/8.1.0

AnyKernel2: https://github.com/nathanchance/AnyKernel2/commits/op6-flash-8.1.0
 

nathanchance

Senior Recognized Developer / Recognized Contribut
Jul 22, 2015
13,749
49,957
263
26
Mesa, AZ

nathanchance

Senior Recognized Developer / Recognized Contribut
Jul 22, 2015
13,749
49,957
263
26
Mesa, AZ
Update!

Remember any and all bug reports need to include logs and clear steps to reproduce (see the info in the OP). You should also know what version it started with. If you want to be a tester and get builds before they are released here or just hangout, feel free to stop by Telegram!


Short changelog

  • Merge Qualcomm updates (LA.UM.6.3.r4-04500-sdm845.0)
  • Dynamic schedtune boost updates
  • WireGuard snapshot 0.0.20180718
  • AnyKernel2 updates


Downloads

Primary: https://nathanchance.me/downloads/kernels/op6/8.1.0/stable/

Mirror: https://github.com/nathanchance/fk-zips

Remember it can be auto-flashed with Kernel Manager for Franco Kernel!


Commits

Kernel: https://github.com/nathanchance/op6/commits/8.1.0

AnyKernel2: https://github.com/nathanchance/AnyKernel2/commits/op6-flash-8.1.0
 

Chaosruler

Member
Jan 11, 2013
47
8
0
I don't understand how to enable the avengers theme.. it's not there on Settings->Display->Theme (only default, light and dark...)

update: nm found it, there are flashable zips that enables\disables it...

another update! : I just took a look at the zips, I think I can manage to make it a script to run from shell, easier to do imo (with ease, it's already an sh file, I only need to test if it can run inside system)
 
Last edited:

nathanchance

Senior Recognized Developer / Recognized Contribut
Jul 22, 2015
13,749
49,957
263
26
Mesa, AZ
I don't understand how to enable the avengers theme.. it's not there on Settings->Display->Theme (only default, light and dark...)

update: nm found it, there are flashable zips that enables\disables it...

another update! : I just took a look at the zips, I think I can manage to make it a script to run from shell, easier to do imo (with ease, it's already an sh file, I only need to test if it can run inside system)

The zip is really as simple as it gets and it's a one time per ROM flash zip as it adds a cmdline parameter which is only ever overwritten by another boot image.

Sent from my Pixel 2 XL using XDA Labs
 

Top Liked Posts

  • There are no posts matching your filters.
  • 96
    UsFSxNO.png

    Introduction

    NOTE: This kernel is currently not being updated. I recommend using Franco Kernel instead.

    Hello everyone, this is my personal kernel for the OnePlus 6. While I am not a super star kernel developer, I do know my way around it. My philosophy on kernels is pretty simple:
    • Follow stable Linux always. Updates will be delivered within 24 hours of their release to kernel.org.
    • Stable kernel rules work best (only add small things when possible).
    • Security and stability are paramount. Vulnerabilities are patched as soon as they are disclosed.
    • Features will be added only as needed (I have a list of things in the FAQ I will NOT add, even if requested).
    Hopefully you enjoy :)


    Important thread information!

    1. I refuse to acknowledge/respond to bug reports that do not include clear steps to reproduce, a logcat, and a console ramoops (if random rebooting) or a dmesg (any other issues). Follow this guide to do this.
    2. Keep things civil, I do NOT tolerate flaming of any kind.
    3. OT is allowed.

    Features
    Here are the major features of the kernel (feel free to explore Github)
    • Up to date with OxygenOS 9.0.2/Open Beta 6
    • Up to date with the latest stable Linux version (4.9.136)
    • Up to date with the latest Qualcomm changes (LA.UM.7.3.r1-05900-sdm845.0)
    • Power efficient workqueues enabled by default
    • Westwood as the default congestion algorithm
    • Latest WireGuard snapshot (0.0.20181018)
    • Sultanxda's boost driver (smooth experience while still staying sane on battery)
    • The following user facing features:
      • KCAL color control
      • Minimum backlight control
      • Sound control
      • Wake gestures (thanks to @flar2)
      • Vibration control
    • Built with a self compiled Clang 7.0 toolchain with a local initialization sanitizer
    • Attempts to hide bootloader unlock from SafetyNet (can still fail through other means)
    • Available to flash with AnyKernel2 (thanks to @osm0sis) [zip will automatically detect when Magisk is installed and patch the kernel so reflashing Magisk becomes unnecessary]


    Downloads

    Primary: https://github.com/nathanchance/op6/releases


    Installation

    NOTE: These sets of steps should work for both initial installations and upgrades. All sane kernels on this device are just replacing the kernel image and maybe adding some cmdline parameters, which this kernel won't care about. If there are ANY issues after flashing this kernel over another, be sure to flash the stock boot image for your ROM, TWRP + Magisk if you want them, then the kernel before reporting any issues.

    Through TWRP:

    See their instructions for further information, you can install the kernel with TWRP temporarily booted or permanently installed.

    1. Boot into TWRP.
    2. Flash the zip (flashing Magisk is not necessary if you already have it installed).
    3. Reboot and enjoy!
    Through FK Kernel Manager (requires root):

    1. Download the zip (and optionally, the md5) from my server
    2. Tap on "Manual flasher"
    3. Navigate to Download
    4. Tap on the zip, select Auto-flash, and choose one of the options.
    5. Reboot and enjoy!

    Changelog

    Latest release post!

    Commits


    Frequently asked questions
    1.1 Q: I am having an issue, can you help me?
    1.1 A: I am not an amazing kernel developer but I will certainly try my best. First, start by reading the release posts, as I may make note of a particular issue. Also search the thread to see if I have discussed it before. If you see nothing, please provide me with a dmesg/last_kmsg and logcat, your ROM/kernel version, and a detailed description of the issue, following this guide. If I can't reproduce reliably, I'm not going to fix the issue.

    1.2 Q: Can you add xyz feature?
    1.2 A: If you link me the commits or tell me what kernel you had the feature in, I can take a look at them. I will not go digging super hard for commits and I will ignore requests that don't include this information. I won't promise that I will merge every request but I will always take it into consideration. I will NOT add the following:
    • Overclocking or underclocking of CPU or GPU
    • Undervolting
    • Any governors other than schedutil
    • Any schedulers other than cfq
    • Anything that compromises performance

    1.3 Q: How do I control the kernel?
    1.3 A: I want to be very clear: the kernel does NOT need to be tuned to be useful. Most of the improvements are under the hood and don't require any user intervention to take advantage of them. In fact, if you don't know what you are doing, you could degrade the experience.

    To control the user visible features of the kernel listed above, I recommend using either @franciscofranco's FK Kernel Manager (which has Flash Kernel support for downloading and automatically flashing the latest kernel zip along with some nice, user friendly ways for tuning the kernel) or @flar2's EX Kernel Manager.

    1.4 Q: OMFG MY BATTERY SUXXXX PLS FIX!!!
    1.4 A: The kernel doesn't drain any battery, use an app like BetterBatteryStats to figure out what app is screwing with your phone.


    Thanks to:
    OnePlus for the device through their developer program
    The various other developers for their patches (specifically @zx2c4 for WireGuard)
    @osm0sis for AnyKernel2
    @franciscofranco for adding Flash Kernel support to FK Kernel Manager
    @phantom146 for the thread banner
    All of you guys for viewing the thread


    A note about donations

    Quite a few people have asked to donate to me in the past and I have turned them down. I am not in this for the money, this is my hobby, something I truly enjoy. If you truly want to donate to something (it is not expected in the slightest), I recommend an entity like the Open Source Initiative, the Free Software Foundation, XDA, or any one of the people I have thanked in the OP. Additionally, you are free to copy any and all of my work; the only thing I request is that you not ask for donations as well (though I can't really enforce this lol). Thank you.


    Kernel source links

    8.1 (OxygenOS 5.1.5+): [url]https://github.com/nathanchance/op6/tree/8.1[/URL]
    9 (OxygenOS OB1+): [url]https://github.com/nathanchance/op6/tree/9.0[/URL]


    DISCLAIMER: I openly welcome off topic in my threads. Mods, please do not clean off topic discussion and users, do not complain about off topic discussion here. I may direct you to another thread if it is so suited but I won't have the discussion cleaned. Thank you.
    59
    Update to 2.15!

    This will be the last build of Flash indefinitely. I am stepping back from Android as I have become exhausted with all of the work of staying up to date. I recently started a new job, which has consumed most of my free time, and I have been contributing to ClangBuiltLinux, a collaborative effort to get Clang support streamlined upstream. I got 85 patches into Linux 4.20 (97 total since the beginning of September) and I've contributed quite a bit to the continuous integration setup (not bragging or anything, just showing where my time has gone). I am not saying I will never be back but for right now, I will not be pushing any more builds.

    I am leaving the thread and Telegram group open for everyone to hang out in. I definitely recommend using @franciscofranco's kernel if you want something that is more up to date (and I will try to help him keep it that way if he wants). I'm not leaving the scene by any means, I'm always happy to answer questions. Enjoy and cheers!


    Short changelog

    • Linux 4.9.136
    • Merge Qualcomm updates (LA.UM.7.3.r1-06100-sdm845.0)
    • Merge OnePlus Open Beta updates
    • Fix some potential jank
    • Add the s3320 latency patch from the Pixel 3 source


    Downloads

    Primary: https://nathanchance.me/downloads/kernels/op6/9/stable/

    Mirror: https://github.com/nathanchance/fk-zips

    Remember it can be auto-flashed with FK Kernel Manager!


    Commits

    Kernel: https://github.com/nathanchance/op6/commits/9.0

    AnyKernel2: https://github.com/nathanchance/AnyKernel2/commits/op6-flash-9
    38
    Update to 2.00!

    OnePlus released their kernel source in the late afternoon and I worked all evening to get the kernel rebased and updated :) A few things to note:

    1. I will continue to support OxygenOS Oreo until Pie is pushed to stable. I really hate supporting two versions at the same time but FK Kernel Manager is really helpful since it will only show you updates for the version of Android you are on! I have also updated AnyKernel2 to prevent you from flashing a build not intended for your version (you gain nothing by trying to use 2.x builds on Oreo).
    2. Some features are missing from the Pie version (notated in the OP). There were conflicts that I really didn't feel like solving, especially since it isn't my code. They'll be added back in due time.
    3. I do not currently have the device with me so ALL bug reports REALLY need to provide logs and be reproducible by others to be taken seriously.

    If you want to be a tester and get builds before they are released here or just hangout, feel free to stop by Telegram!


    Short changelog

    • Initial release for Pie


    Downloads

    Primary: https://nathanchance.me/downloads/kernels/op6/9/stable/

    Mirror: https://github.com/nathanchance/fk-zips

    Remember it can be auto-flashed with FK Kernel Manager!


    Commits

    Kernel: https://github.com/nathanchance/op6/commits/9.0_Beta

    AnyKernel2: https://github.com/nathanchance/AnyKernel2/commits/op6-flash-9
    34
    Update to 1.26 and 2.02!

    Typical of OnePlus they push kernel source late :rolleyes:

    Remember any and all bug reports need to include logs and clear steps to reproduce (see the info in the OP). You should also know what version it started with. If you want to be a tester and get builds before they are released here or just hangout, feel free to stop by Telegram!


    Short changelog

    • Fix wake boosting (thanks to @pappschlumpf)
    • WireGuard snapshot 0.0.20180910
    • Pie only:
      • Merge Open Beta 2 updates
      • Build the Wi-Fi driver into the kernel image


    Downloads

    Primary (Oreo): https://nathanchance.me/downloads/kernels/op6/8.1.0/stable/

    Primary (Pie): https://nathanchance.me/downloads/kernels/op6/9/stable/

    Mirror: https://github.com/nathanchance/fk-zips

    Remember it can be auto-flashed with FK Kernel Manager!
    33
    Update to 2.06!

    This works on both Open Beta 3 and OxygenOS 9.0. Now that Pie is stable, 8.1 is being retired.

    Remember any and all bug reports need to include logs and clear steps to reproduce (see the info in the OP). You should also know what version it started with. If you want to be a tester and get builds before they are released here or just hangout, feel free to stop by Telegram!


    Short changelog

    • Merge OxygenOS 9.0 stable updates


    Downloads

    Primary: https://nathanchance.me/downloads/kernels/op6/9/stable/

    Mirror: https://github.com/nathanchance/fk-zips

    Remember it can be auto-flashed with FK Kernel Manager!


    Commits

    Kernel: https://github.com/nathanchance/op6/commits/9.0

    AnyKernel2: https://github.com/nathanchance/AnyKernel2/commits/op6-flash-9
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone