[ANGLER] [8.0.0] [3.10.107] [GCC 7.2.1] Flash Kernel v3.1

Status
Not open for further replies.
Search This thread
Mar 28, 2016
14
2
Lochem
Profile file on site. Governor settings

@The Flash
Hi! I saw on your site a file for a profile, is it for the nexus 6p? it had stuff for the cpu governor settings. If it is, how to install it? Thank you so much in advance!
 

nathanchance

Senior Recognized Developer / Contributor
Jul 22, 2015
13,760
50,097
28
Mesa, AZ
nathanchance.dev
@The Flash
Hi! I saw on your site a file for a profile, is it for the nexus 6p? it had stuff for the cpu governor settings. If it is, how to install it? Thank you so much in advance!

It's an old version of the performance profile in Spectrum; don't apply it unless you are unhappy with the performance of the built in one.
 

teohguangli

Member
Jun 18, 2015
30
1
I am currently on PN ROM and I would like to know how to uninstall this Kernel. Do I just dirty flash my PN ROM? That's it?
 

BigBangFieri

Member
Jan 8, 2012
18
18
Dayton
For some reason, running this kernel on both stock 8.0.0 and SuperXE 8.0.0 has resulted in random reboots when my phone is doing nothing, I've been on franco kernel for a bit now and no such issues there, anybody have an idea what may be causing this?
 

opz187

Senior Member
Sep 30, 2012
1,459
480
For some reason, running this kernel on both stock 8.0.0 and SuperXE 8.0.0 has resulted in random reboots when my phone is doing nothing, I've been on franco kernel for a bit now and no such issues there, anybody have an idea what may be causing this?

I've been running same set up with super ex.. flash, magisk, arise and not 1 rr. pretty slick actually
 

lucfig

Senior Member
Feb 19, 2008
897
261
Rio das Ostras
Hi guys.

I no longer have a Nexus 6P and am tweaking my LG V20. I would like to test Flash's setup in this device.
Can anyone post all flash kernel stock settings (CPU governor and tunables, TCP, memory...)? EXKM screenshots would be great.

Best regards,
 

phantom146

Senior Member
Apr 30, 2015
1,081
1,127
Malabon
Hi guys.

I no longer have a Nexus 6P and am tweaking my LG V20. I would like to test Flash's setup in this device.
Can anyone post all flash kernel stock settings (CPU governor and tunables, TCP, memory...)? EXKM screenshots would be great.

Best regards,

Glasscannon default profile
512 readahead
Westwood -tcp/ip
Maple -io sched
Enabled backlight dimmer

Pretty much the same sa other stocks with the bonus of westwood, maple and the cpu governor on flash with gc as "stock" profile. Cheers
 
  • Like
Reactions: lucfig

lucfig

Senior Member
Feb 19, 2008
897
261
Rio das Ostras
Glasscannon default profile
512 readahead
Westwood -tcp/ip
Maple -io sched
Enabled backlight dimmer

Pretty much the same sa other stocks with the bonus of westwood, maple and the cpu governor on flash with gc as "stock" profile. Cheers
Thanks!
Your GlassCannon profile I have already copied. ?

I'm the one who PMed you. Screenshot_2017-09-15-23-31-48.pngScreenshot_2017-09-15-23-31-43.pngScreenshot_2017-09-15-23-31-38.png

Enviado de meu LG-H990 usando Tapatalk
 
  • Like
Reactions: phantom146

lucfig

Senior Member
Feb 19, 2008
897
261
Rio das Ostras
First time I read about maple scheduler, never heard of it before.

Seems very promising. I wonder if it is well implement on my Kernel.

Code:
Maple:
Maple is based on the Zen and Simple I/O schedulers. It uses ZEN's first-come-first-serve style algorithm with separate read/write requests and improved former/latter request handling from SIO. Maple is biased towards handling asynchronous requests before synchronous, and read requests before write. While this can have negative aspects on write intensive tasks like file copying, it slightly improves UI responsiveness. When the device is asleep, maple increases the expiry time of requests so that it can handle them more slowly, causing less overhead.*


Benefits:
- Well rounded IO Scheduler
- Very efficient IO Scheduler

Disadvantages:
- Performance varies between different devices (Some devices perform really well)

The bottom line: This is still a very new I/O scheduler which should perform slightly better than ZEN. It will continue to improve with more development.*

Enviado de meu LG-H990 usando Tapatalk
 

-Deco-

Senior Member
Sep 22, 2015
740
391
Glasgow
First time I read about maple scheduler, never heard of it before.

Seems very promising. I wonder if it is well implement on my Kernel.



Enviado de meu LG-H990 usando Tapatalk
I have had the scheduler enabled for roughly 2 weeks, its definitely apparent that read requests are prioritised over write requests - screenshots seem to take a few seconds more to process than on other governors however images seem to load slightly faster (as they are read requests). I'd say its better than others such as CFQ and noop - however its not the best.

Personally I'm more interested in EAS: https://www.linaro.org/blog/core-dump/energy-aware-scheduling-eas-progress-update/

Sent from my Nexus 6P using XDA Labs
 

dirtyreturn

Senior Member
Aug 14, 2011
1,138
252
Nexus 7
Huawei Nexus 6P
Read the OP under the downloads section. 2.x are for Nougat, 3.x are for Oreo

Sent from my OnePlus5 using XDA Labs
I see the v2.xx kernel, though, where do the kernel with angler or N6P dated come into the mix??

I am finally ready to try a custom kernel and ive not kept up with the way you have done things.
Sorry.
Could you explain, please?

Sent from my Nexus 6P using Tapatalk

---------- Post added at 06:02 PM ---------- Previous post was at 06:01 PM ----------

Read the OP under the downloads section. 2.x are for Nougat, 3.x are for Oreo

Sent from my OnePlus5 using XDA Labs
I see the v2.xx kernel, though, where do the kernel with angler or N6P dated come into the mix??

I am finally ready to try a custom kernel and ive not kept up with the way you have done things.
Sorry.
Could you explain, please?
Read the OP under the downloads section. 2.x are for Nougat, 3.x are for Oreo

Sent from my OnePlus5 using XDA Labs


Sent from my Nexus 6P using Tapatalk
 

nathanchance

Senior Recognized Developer / Contributor
Jul 22, 2015
13,760
50,097
28
Mesa, AZ
nathanchance.dev
I see the v2.xx kernel, though, where do the kernel with angler or N6P dated come into the mix??

I am finally ready to try a custom kernel and ive not kept up with the way you have done things.
Sorry.
Could you explain, please?

Sent from my Nexus 6P using Tapatalk

Those are super old kernels. 2.5 is what you want to go with.
 

[deXter]

Senior Member
Aug 23, 2008
510
171
[Request] TTL Target patch

@The Flash Any chance you could include the TTL Target patch in your next release please?

If you're not familiar with this patch, this enables users to change the TTL values, bypassing the tethering limitations enforced by some carriers. The command for this looks like "iptables -t mangle -A POSTROUTING -j TTL --ttl-set 65". Right now, running this command under your/stock kernel gives the error "iptables: No chain/target/match by that name." To fix this, the TARGET TTL patch for netfilter needs to be compiled in. The options when building the kernel looks like this: https://habrastorage.org/files/a29/df9/4d0/a29df94d0c6a4926ba0343422717d2d9.png

Would really appreciate it if you could please consider this request. Thanks in advance!
 
  • Like
Reactions: blitzkriegger
Status
Not open for further replies.

Top Liked Posts

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

    Introduction

    Hello everyone, this is my personal kernel for the Nexus 6P. While I am not a super star kernel developer, I do know my way around it. My philosophy on kernels is pretty simple:
    • Follow upstream Linux always
    • Stable kernel rules work best
    • Security and stability are paramount
    • Features will be added only as needed
    Hopefully you enjoy :)


    Thread Rules

    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. More on bug reporting policy here.
    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)
    • Updated to the latest security patch on the latest Android version (August on Oreo)
    • Updated to the latest Linux upstream version (3.10.107)
    • Several CVE fixes
    • Upstream patches from CAF and Linux
    • Touchboost force disabled
    • High brightness mode
    • KCAL color control
    • Adreno Boost
    • Wake gestures (sweep2wake, doubletap2wake, sweep2sleep, and camera launch gesture)
    • Faux Sound Control with high performance audio
    • ZRAM from 3.18
    • Maple I/O scheduler
    • Wakelock controls
    • TCP algorithms: bic, cubic, highspeed, htcp, hybia, illinois, lp, reno, scalable, vegas, veno, westwood (default)
    • F2FS support (latest from here)
    • Compiled with a Linaro 7.2.1 toolchain built with crosstool-NG (located here).
    • Makefile optimizations (courtesy of @adinkwok)
    • Forced encryption and dm-verity disabled
    • Hides bootloader unlock from SafetyNet (can still fail through other means)
    • Flashed with AnyKernel2 (thanks to @osm0sis)


    Downloads

    8.0.0 (v3.x): https://github.com/nathanchance/angler/releases

    Legacy downloads:

    7.1.2 (v1.x-v2.x): https://github.com/nathanchance/angler/releases
    7.1.1 (4.x): Main
    7.0 (3.x): Main
    6.0.1 (1.x): Main

    Do not mirror my kernels!


    Installation
    If you are on stock:

    • If you are on the stock kernel: flash the kernel zip and reboot
    • If you are on a custom kernel: flash the stock boot image matching your build number, flash the kernel zip, and reboot
    If you are on a custom ROM:

    • If you are on the kernel that came with your ROM: flash the kernel zip and reboot
    • If you are on a custom kernel: dirty flash your ROM zip, flash the kernel zip, and reboot
    Upgrading from one Flash version to the other:

    Just flash the kernel zip and reboot


    Changelog

    Latest post

    Kernel: https://github.com/nathanchance/angler/commits/8.0.0-flash
    AnyKernel: https://github.com/nathanchance/AnyKernel2-archive/commits/angler-flash-public-8.0.0



    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 though, 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.

    1.3 Q: How do I control the kernel?
    1.3 A: I'd recommend using either @flar2's EX Kernel Manager or @Yoinx's Kernel Adiutor-Mod; both are extremely solid and have given me no issues.

    1.4 Q: What ROM are you on? What are your settings?
    1.4 A: Currently, I am on Dirty Unicorns and my settings are available here

    1.5 Q: OMFG MY BATTERY SUXXXX PLS FIX!!!
    1.5 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:
    @neobuddy89 for always providing great fixes and being a shining example of a great kernel developer
    The various other developers for their patches (@ak, @Buckmarble, @flar2, @franciscofranco, @frap129, @imoseyon, and @Yank555 to name a few)
    @osm0sis for AnyKernel2
    @DespairFactor for helping me with some kernel compilation issues
    @kwoktopus for giving me good advice on Makefile flags and other patches
    @kantjer for being a beta tester along the way!
    @malybru for my nifty new signature!
    @phantom146 for the thread banner and default profile GlassCannon
    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.0.0: https://github.com/nathanchance/angler/tree/8.0.0-flash
    7.1.2: https://github.com/nathanchance/angler/tree/7.1.2-flash
    7.1.1: https://github.com/nathanchance/angler/tree/7.1.1-flash
    7.0: https://github.com/nathanchance/angler-old/tree/release-7.0
    6.0.1: https://github.com/nathanchance/angler-old/tree/release-6.0.1


    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.

    XDA:DevDB Information
    Flash Kernel, Kernel for the Huawei Nexus 6P

    Contributors
    nathanchance
    Source Code: https://github.com/nathanchance/angler

    Kernel Special Features:

    Version Information
    Status: Stable
    Current Stable Version: v3.1
    Stable Release Date: 2017-09-17

    Created 2016-08-11
    Last Updated 2019-07-02
    128
    IT IS HERE!

    DOWNLOAD: http://nchancellor.net/Downloads/Kernels/

    Welcome to Flash Kernel 2.0 so to speak; this kernel has been completely rebased from the ground up. I have learned a lot in these past few months about what should and shouldn't be added for the best overall experience. So rather than fix my source in steps, I just decided to start from scratch so to speak. Here's what I did:

    1. Grabbed kernel source straight from Google fresh
    2. Picked upstream Linux commits from kernel.org, fixing conflicts again (as I had messed some up before)
    3. Added known working patches (like governors, I/O schedulers, file systems, and such)
    4. Went through the remaining patches, evaluating what the patch exactly did, and locating the original source to see if it had been altered
    5. Left out anything that was not relevant or helpful to our version
    6. Cleaned up dmesg a ton, by removing spammy logs and warnings that should not have been happening
    At the end, I have a much cleaner and stable kernel. You may notice that some of your favorite features are missing, that's not by accident. The part that got me really down a little bit ago is I felt like this process was going to be a waste. People have so many preconceived notions about kernels, like that they will give so much more battery and performance and it's hard as a developer to shake off those things. I've seen so many people in both this thread and a few others rave about and disparage this kernel for completely subjective and inaccurate reasons. While I don't necessarily care about number of users, it's disheartening to see something that I put out for free without absolutely no expectation of reimbursement get a bad rap. But I've just decided to ignore it or correct it when I can. If someone blames my kernel for their drain, so be it. I do this because I use my kernel myself and I like doing it, I hope you guys can respect that. Also, bug reports are going to change a bit. If I cannot reproduce your issue myself, I'm not going to fix it. Simple as that, I cannot go on wild goose chases for issues I don't experience. Logs will still be required but steps to reproduce will be as well. Anyways, off my soapbox lol, enjoy the kernel guys.
    122
    Alright guys, I am going to be changing up how I do things around here.

    1. Kernels will no longer be versioned as they will become daily, built from my personal branch. What this means for you is that you will get the kernel as I customize it (my custom settings from the OP as well permissive SELinux at boot) and some stuff may or may not be broken.
    2. I will no longer be taking bug reports (I will attempt to fix the Android Auto issue as a grandfathered thing). If it works, perfect; if not, it's most likely not a problem for me so I won't care.
    3. The thread will be closed for now (my Telegram channel will still be open for chatting and hanging out and the thread may be open eventually).

    I have become very worn out checking my threads all the time and maintaining multiple branches so I am going to simplify it. The experience should not change, only the process. Thanks for everything and I will still be around XDA in various capacities, I just don't have the time to continue maintaining the thread as I would like.

    Nathan

    Updated kernels will be served here (first one will be up in an hour or so): http://nchancellor.net/Kernels/angler/7.1.1/Personal
    122
    The end of an era

    It's with a heavy heart that I announce the end of Flash Kernel development for the Nexus 6P. I simply do not have the time to support this, DU for the 6P, and Flash Kernel for the OnePlus 5. I didn't want it to come to this but the recent issues with pretty much all custom ROMs has caused me to make this decision. For the record, I don't think these issues are because of the kernel but to eliminate it as a factor, I'd need to rebase the kernel from scratch and there is zero way I'm going to be able to do that. Rather than give you guys false hope or tarnish the kernel's name, I am just going to bow out. Joe Maples is most likely going to continue working on Electron so if you want a good kernel to migrate to, that one is it. However (and I say this having loved my time on the device), I would highly consider upgrading your device. The 810 was really a terrible chip in the long run and either an 821 or 835 device is going to make a HUGE improvement. I can consistently get 5-6 hrs of SOT without any issues on the OnePlus 5; I only did that in the first couple of months with this device. The Pixels (1 and 2), Essential Phone (once they get kernel source released and maybe shore up some camera issues), and the OnePlus 5 are all awesome destinations and should hold up much better than this device.

    It was great learning and talking with you guys in here. You're always welcome in Telegram (I will leave this chat open) or in my other threads.

    The Flash (Nathan)
    99
    Alright this thread is reopened for the time being, I will be revamping the OP here shortly with some new rules for how this thread is going to run.

    1. I refuse to accept/respond to bug reports that don't include a logcat, dmesg, and if applicable, a ramoops
    2. The kernel will boot with my personal settings (these can be changed after boot by a kernel manager) and while I will try to keep the OP up to date, you will need to read my init script to know for sure what is being set.
    3. There will be no changelogs or versions; I will build when I am able to and the changelogs will be my commit lists:
    https://github.com/Flash-ROM/kernel_huawei_angler/commits/n7.1.1
    https://github.com/Flash-Kernel/AnyKernel2/commits/angler-flash-personal-7.1.1

    Other than that, have fun and enjoy the kernel.