yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Original Android Development] tcat007:
FYI, in about phone, says election, not electron.

Angler ? AquariOS + Beans + Arise
[Nexus 6P Original Android Development] frap129:
I am the typo GOD
[Nexus 6P Original Android Development] DEVILOPS 007:
I'd vote for you in an election. Frap for president! Also, I see it too.:D
[Nexus 6P Original Android Development] DEVILOPS 007:
What governor profile do you guys all use on this kernel? I'm using wingoku_battery_saving but am thinking about trying glasscannon and was wondering what governor profile you guys think works well with this kernel. Thanks.
[Nexus 6P Original Android Development] frap129:
Currently, the default profile is a version of glasscannon that has been modified to use the electron governor and some of its power saving features, though I'm thinking about reverting it back to the old chill+relaxed setup
[Nexus 6P Original Android Development] DEVILOPS 007:
I'd recommend that personally.:good: Thanks.
[Nexus 6P Original Android Development] frap129:
Little update, v13 should be out mid next week. Very minor update, but a necessary one.

Changes include:

Linux 3.10.107

July patchset

Some bug fixes

Improved balance profile (now with the stability update from [MENTION=6638584]phantom146[/MENTION])

Misc commits pulled from Flash Kernel by [MENTION=6842057]The Flash[/MENTION]
[Nexus 6P Original Android Development] DEVILOPS 007:
Looks good. I assume the default profile is still going to be glasscannon but maybe modified. Is it going to be using the electron governors and are there any differences between it than just me loading the profile as the profile uses interactive for both governors. Cheers.:good:
[Nexus 6P Original Android Development] phantom146:
[MENTION=5051294]frap129[/MENTION] I didn't know you had used gc as the default, kudos brother :)

btw, I am curious if anyone using the kernel here has some issues regarding gc (both battery and smoothness) I would love to hear it.
[Nexus 6P Original Android Development] DEVILOPS 007:
Battery life could be a little better imo possibly idle drain too. Sometimes apps do freeze up a little like for example mobile versions of websites but not the desktop version and when scrolling through websites with pictures it dtutters. This doesn't happen too often but I do think it is to do with glasscannon and Electron together as I didn't have this on Franco or Electron with wingoku. Do you want some logs or anything? Cheers.:)
[Nexus 6P Original Android Development] phantom146:
Thanks for the feedback. I understand that this issue happens on online applications but if its just opening the app it might have something to do with the parameters. However, if it is using your browser, it might be because of poorly coded rasterized threads. I've had some issues but it only concerns waking up from doze which is quite understandable, I'll go see right through it soon :good:
[Nexus 6P Original Android Development] DEVILOPS 007:
Cool, appreciate it.:) It is slightly annoying as my phone does sometimes just randomly have a sudden lag spike or something. Hopefully you can solve these issues. Cheers:good:
[Nexus 6P Original Android Development] phantom146:
I've been testing new parameters for 3 days and it looks great :good: my first priority to be fixed is the slow wakeup on doze... Once thats finished I'd go for the applications launch soon
[Nexus 6P Original Android Development] DEVILOPS 007:
Great! If you'd like I'd be happy to help with testing as I'm not sure if you are testing it yourself. If so then feel free to let me know and I can help give feedback on lags etc.:)
[Nexus 6P Original Android Development] phantom146:
pm sent :cowboy:
[Nexus 6P Original Android Development] frap129:
Yep. I don't really advertise that GC is default since I've modified it to use my Electron gov and I don't want anything negative that could come from the governor change to be pinned on you, however, it seems like Electron and GC are a good match!
[Nexus 6P Original Android Development] phantom146:
I thank you and I am indevted to you. I will post something impprtant regarding GC and I hope you will visit it or I will just tag you lol.

Currently I am running several tests to check the problems I myself am encountering and others. Lag on wakeups, Keyboard lags, application loading time, idle drain and freezes on huge memory clutter. I am looking at 4 different values which may be the culprit for these issues:

Timer_slack to reduce defer time coming from timer_rate resulting in better idle life but lower smoothness.

Timer_rate, my goal is to slow down cpu check for SoC to not be always checking in the background every 50ms.

Target_loads. Very important atm since I am retaining a vanilla-like interactive for tests which is doing so well and lastly

Above_hispeed_delay to hopefully lower stutters coming from opening the apps.

I will detail the next step for GC on the post and would ask for some help within angler community. I am currently on phase 4 which means I have changed the 4 values now to check what would happen.. I do it step-by-step to see each changes and record everything (I will try to make a visual chart for this) sorry for the big explanation but I think you deserve to know this lol. I apologize for some lags the profile is giving in your kernel and I'll bet my name to fix this ASAP. :)
[Nexus 6P Original Android Development] frap129:
I'll most likely switch back to my old chill+relaxed profile, not because there's anything wrong with GC, but just to demonstrate some of my original features (since my profile is the only one available that uses chill and relaxed), though I may set GC as my battery profile
[Nexus 6P Original Android Development] DEVILOPS 007:
As you're talking about battery profile I'm assuming you're talking about spectrum. If GC is the battery profile or anything else is then does that mean spectrum overwrites or gets overwritten by exkm or kernel auditor? Basically, if I'm using spectrum then should I not change the governor profile in a kernel manager app and should I only use one app or the other for governor profiles? Thank:)
[Nexus 6P Original Android Development] frap129:
Whatever kernel manager you use to change settings most recently are the ones that stick. If you sepctrum, then kernel adiutor, the KA settings will overwrite spectrum, but I'd you use KA then spectrum, the spectrum settings will overwrite KA
[Nexus 6P Original Android Development] DEVILOPS 007:
Is there a way I can use both or should I basically just use one app at a time then as one overwrites the other? Thanks.
[Nexus 6P Original Android Development] frap129:
They don't completely overwrite one another. If you set a profit in spectrum, you can do more specific tunings and fine changes in kernel adiutor.
[Nexus 6P Original Android Development] DEVILOPS 007:
Okay so say I want to use balanced profile and glass cannon profile in exkm. It would work fine to load the balanced profile then load glasscannon? I'm not using the stock one with the kernel as I'm helping test changes for the profile
[Nexus 6P Original Android Development] blitzkriegger:
If I'm not mistaken [MENTION=5051294]frap129[/MENTION] is actually the maker of the chill governor and the maple scheduler.

That said I'm running the kernel right now with almost all default settings and its running smoothly. I do notice after flashing the kernel that the fingerprint reader takes a little bit longer to unlock the phone. Also automatic brightness level does not seem to change even after adjusting it.

Other than that the kernel is really smooth and battery life so far is nice. :)
[Nexus 6P Original Android Development] drdrewdown:
Oh it seems you may be correct. I meant no offense, I enabled it for small cores to check it out
[Nexus 6P Original Android Development] Bladehawkz:
Criticism is fine I think, thought it could be a more constructive :P

I think Chill isn't that battery efficient because conservative aims to ramp up slowly on load, but more than often even a small load is able to increase the clock speed past the first 10 frequencies, of which then it jumps up to max frequency by the dynamic chill interface. I think something like smartmax's implementation is better, it instantly ramps up to the middle for smoothness, then checks for loads to whether more computer power is needed or less is required.

That being said, I don't even use the nexus 6p. The maple i/o scheduler is AMAZING though. ROW is already extremely good, but the read/write queues are governed by a CFQ-like round robin, so maple's ZEN/SIO based read/write queues are very exciting. Using it on the oneplus one ^^.
[Nexus 6P Original Android Development] Ofthecats:
I got less screen on time compared to a different kernel. Flashing back off electron
[Nexus 6P Original Android Development] frap129:
Thanks! I'll look into the fingerprint and brightness issues. I believe brightness may be an issue with the lack of N vendor images until now.

If you would like it to spend less time at higher frequencies, you can increase the boost count tunable by a few steps. I'm currently working on fixing some issues with chill, which is why the kernel is set to Interactive by default.

Thanks for advice and compliments! I'll take a look into using smartmax's boosting method, or possibly decreasing the sensitivity of the boost feature of chill.

What kernel?
[Nexus 6P Original Android Development] Faaipke:
How long have you been running this kernel?
[Nexus 6P Original Android Development] Ofthecats:
Ninja kernel has given me the best results.

Electron v2 was tested for one battery cycle.

Note: my testing was unscientific
[Nexus 6P Original Android Development] frap129:
I've created a Slack chat for anyone who wants to test pre-release builds of Electron (and my upcoming ROM ;)) Simply PM me your email if you would like an invite.

EDIT: Some new things in the latest testing version are:

-Added and Improved Maple I/O Sched

-Improved Ramdisk tweaks

-Many CAF patches from [MENTION=6842057]nathanchance[/MENTION] 's Ninja Kernel

-Enabled Adreno Idler

-ZenTune 4.5

-Enabled CleanCache driver

-CAIA Decay Gradient TCP Congestion algo

-Tickless system configured

-Improved Chill Governor
[Nexus 6P Original Android Development] Ofthecats:
Am i correct to assume these may not be stable enough as a daily driver?

Edit: referring to test kernels
[Nexus 6P Original Android Development] frap129:
It's as stable as the stock nougat kernel. What would make you think otherwise?
[Nexus 6P Original Android Development] Ofthecats:
"Testing"
[Nexus 6P Original Android Development] frap129:
The testing build is only for the testers in the slack group. Ive been running it all day just fine, but if youd like to be a tester you can judge how stable it is
[Nexus 6P Original Android Development] almightysiman:
maybe you can upload the test build to Androidfilehost,let someone who are willing test download it.
[Nexus 6P Original Android Development] frap129:
I would prefer a closed testing system to prevent negative comments about a testing version deterring users from trying the stable version
[Nexus 6P Original Android Development] frap129:
New version up! Battery life has been improved from the previous version, many caf patches have been added, and maple i/o has been added back!
[Nexus 6P Original Android Development] Nervousfreak:
N kernel I presume?
[Nexus 6P Original Android Development] Toutatis_:
[KERNEL][7.0][Sep 12th] Electron Kernel for Angler [v3]
[Nexus 6P Original Android Development] xSilas43:
Running great for me for AICP.

edit: nvm this breaks rotation for me.
[Nexus 6P Original Android Development] frap129:
Is AICP on 7.0? This kernel is Nougat only, which would explain the broken rotation.
[Nexus 6P Original Android Development] xSilas43:
Oh my bad, I saw in the OP it listed marshmallow features and thought it was for both, beside the rotation it worked great haha!
[Nexus 6P Original Android Development] Jability:
My daily driver is on v12 since its release, and I just wanted to thank you for your work and dedication.

The kernel is terrific, very stable and I get crazy good battery life, idle and SOT.

So yeah, your work is very appreciated. :good:
[Nexus 6P Original Android Development] frap129:
If you use a profile it wont matter what spectrum sets because it will be completely overwritten
[Nexus 6P Original Android Development] frap129:
v13 is up! Not much here, but I wanted to get it out due to the security and bug fixes.

Changes include:

Linux 3.10.107

July patchset

Some bug fixes

Improved balance profile (now with the stability update for GC)

Misc commits pulled from Flash Kernel

Expect v14 early next week, the new balance profile I'm testing is killing it when it comes to performance, but I need more time to test battery life.
[Nexus 6P Original Android Development] Mrcactuseater:
Cheers dude!
[Nexus 6P Original Android Development] mkos86:
Any chance to get weekly with this killer performance? I would gladly test battery life too.. :)
[Nexus 6P Original Android Development] frap129:
I'll trigger a build right now, should be up within 15 minutes

EDIT: Weekly build is up
[Nexus 6P Original Android Development] mkos86:
Wohoo! Excellent! :victory:
[Nexus 6P Original Android Development] DEVILOPS 007:
What? I see the last release as v13 at 1.48pm today. Am I missing something? Thanks
[Nexus 6P Original Android Development] frap129:
Weekly builds are hosted on github to ease automated uploading. Read the section about weeklies in the first post for instructions on how to download. If you're downloading from your phone, you may have to put your browser into desktop mode
[Nexus 6P Original Android Development] galaxys:
Great kernel! Kudos
[Nexus 6P Original Android Development] mrcooter:
Dirty flashed newest nightly build over last week's. Just wanted to say running super smooth. Noticable change in app launch,etc, So thanks! Too early to tell on battery life but honestly not what I look for in a kernel anyways.
[Nexus 6P Original Android Development] frap129:
As long as the battery life isn't significantly impacted, I'll be going with this set up. I may switch it up later down the road to use electron on the little cores instead of relaxed since it scales more effeciently
[Nexus 6P Original Android Development] mkos86:
I confirm this one. There is a big difference in terms of overall performance between the v13 and newest weekly! :good:

Will report battery life after day or two..
[Nexus 6P Original Android Development] frap129:
Glad to hear it. One thing I've noticed so far (may just be me) is that even though the old profile was slower overall, it was smoother. While the current setup is significantly faster, loading and animations feel a bit jumpy/stuttery.

EDIT: Time to ride the battery train as far as it can go. I found some commits that enable WORKING voltage control on msm8994, and though I haven't done any undervolting since my Nexus 7 days, I'm gonna see how low I can get while remaining stable
[Nexus 6P Original Android Development] aviraxp:
From my test in my kernel, undetvoting about within 60mV is fine.
[Nexus 6P Original Android Development] frap129:
I got lockups at 55mV (global) here. So far global -40mV with some of the higher and lower end freqs dropped more seems stable. I'll post a screenshot from KA later with what I'm using. It's not exactly what I'd like, but some freqs dont like voltage changes because of Qcom's adaptive voltage. Good work on the port/adaptation though, I'm glad I can undervolt now!
[Nexus 6P Original Android Development] aviraxp:
Seems that lower freq doesn't like undetvoting. But for higher freq, undetvoting about 80mV seems having no issues (some users report). I still don't know why qcom uses 700mV as the floor for lower freq...
[Nexus 6P Original Android Development] frap129:
I also find it weird that some frequencies are locked to the same voltages. On A57, 302MHz-633MHz all use the same voltage and wont go any lower than 775mV

EDIT: Here are the voltages I'm using https://github.com/frap129/angler/commit/124c1669438315961518d09bf76be4e9186b674b
[Nexus 6P Original Android Development] aviraxp:
You could just remove the limitation by reverting my last two commits (for safety), I guess. I did such hack because someone reports phone freezes and lost data (no emergency IO, I think)
[Nexus 6P Original Android Development] phantom146:
This is pretty good but undervolting has kinda been depreceated nowadays. The extra battery life it is providing now is almost null compared to the older phones due to the modern chipsets released. Just wanna leave this here as flar2 said:

STILL, I would love to try those undervolted babies out :)
[Nexus 6P Original Android Development] Mendrake:
Has TouchBoost been force disabled in the kernel? I'm enabling it inside EXKM but it seems to have no effect...only InputBoost is working.

I prefer trading some battery for its great performance
[Nexus 6P Original Android Development] frap129:
No, I can enable it in KA.
[Nexus 6P Original Android Development] sapphirecoupe:
What is KA? I'm seeing the same issue trying to disable fsync in ex manager.
[Nexus 6P Original Android Development] dcillusions77:
Kernel Auditor
[Nexus 6P Original Android Development] moi123:
Ensure you make the changes stick in EXKM.
[Nexus 6P Original Android Development] frap129:
After a day of testing, the undervolt values did cause a crash for me. Trying again with a -35 global offset and dropping the lowest frequency further (since its the most used). 302Mhz seems to be running fine at a ridiculously low 700mV (-80mV compared to stock), but I'll test for at least a week to be sure.
[Nexus 6P Original Android Development] Dbj.Dhaval:
How did you change voltage I tried in ex kernel manager but can't change
[Nexus 6P Original Android Development] frap129:
None of the available builds have voltage control, this is simply testing for the next release
[Nexus 6P Original Android Development] shantam3108:
Hi can the end users like us get the option of voltage control too.?
[Nexus 6P Original Android Development] phantom146:
I don't think so, it is pretty dngerous and devs like frap might get all the blame from retarded users lol
[Nexus 6P Original Android Development] shantam3108:
Yeah I know it's pretty dangerous and always have been but he doesn't have to take any blame. People who root their phones in the first place do it by their own will. I have seen posts on xda people hard bricking Their phone even while rooting so u can't go with them hand by hand
[Nexus 6P Original Android Development] Lawlrus:
True, but sadly that's not how a lot of people are. I don't see what the big deal is anyways. I used to undetvolt my g2 because heat was crazy, but I have never seen a drastic change in consumption because of it.
[Nexus 6P Original Android Development] frap129:
That will be in release 15 most likely, as I still have a lot of testing to do
[Nexus 6P Original Android Development] shantam3108:
Well here where I live ambient temperatures are around 40 so it gets pretty hot while using outdoors. For now I underclock the cpu cause using mobile data outdoors cpu starts throttling anyways. That's the main reason i was asking for it. Not to save some juice (which wouldnt be much anyways)
[Nexus 6P Original Android Development] frap129:
My biggest issue with leaving voltage control enabled is that unlike other phones, when the 6p crashes due to undervolting, it needs to be plugged into a power source or else it wont turn on. I'm going to try to make a hidden sysfs node that will enable/disable voltage control, so that users that are advanced enough can enable it through shell if they like
[Nexus 6P Original Android Development] Lawlrus:
That's crazy, I've never heard of a phone doing that. Well appropriate you taking the time to find a proper and safe way to offer it even if I might not use it.

I know a lot of people that min/max want it.
[Nexus 6P Original Android Development] frap129:
It's pretty weird, and sucks when I'm out and dont have a type C cable on me, rendering my phone useless. I'm guessing that when the cpu crashes due to power issues, it assumes that there is something wrong with the battery and tells the controller that the battery is either dead or damaged.
[Nexus 6P Original Android Development] Lawlrus:
Yeah that makes sense. Just never k own a phone to have a failsafe like that
[Nexus 6P Original Android Development] shantam3108:
Yeah pretty weird(Sd810 Is a ****ed up chip) For now I drop my min frequency to 302 as it takes much less power compared to 384 and have to settle for 960 at max for both the clusters to avoid getting heated up quickly
[Nexus 6P Original Android Development] frap129:
If you take a look at https://github.com/frap129/angler/commit/29d46a2ba7c4c2b68a87eee4a1ab2f2412a010ea, youll see that the next release will have voltage control disabled by default, but you can enable it if you like.
[Nexus 6P Original Android Development] shantam3108:
Thanks :) appreciate it
[Nexus 6P Original Android Development] shantam3108:
Hi could anyone help me and explain what the tunables like boost count and freq step do.

Thanks

(where can I read about what individual tunables do in detail for relaxed and chill.)

Thanks again [MENTION=6638584]phantom146[/MENTION]
[Nexus 6P Original Android Development] phantom146:
All about Cpu Governors

CpuFreq Linux Documentation

freq_step (taken from link above):

This describes what percentage steps the cpu freq should be increased

and decreased smoothly by. By default the cpu frequency will increase

in 5% chunks of your maximum cpu frequency. You can change this value

to anywhere between 0 and 100 where '0' will effectively lock your CPU

at a speed regardless of its load whilst '100' will, in theory, make

it behave identically to the "ondemand" governor.

AND​

There is no better man to ask that than the creator of chill himself: the man, the myth, the folklore: [MENTION=5051294]frap129[/MENTION]
[Nexus 6P Original Android Development] frap129:
The links that phantom146 posted are good for the standard tunables, the chill and relaxed tunables are explained in detain in the second or third post in this thread
[Nexus 6P Original Android Development] Dbj.Dhaval:
Still having Hotspot problem as soon I lock my phone the Hotspot is disconnected

---------- Post added at 09:06 PM ---------- Previous post was at 09:04 PM ----------

Also can anyone tell me best performance setup. I don't care about the battery. Tried chill and relax combo but still getting lag
[Nexus 6P Original Android Development] frap129:
WIill look into the hotspot issue. Try the performance profile in spectrum
[Nexus 6P Original Android Development] yung40oz84:
This kernel is seriously fast. By far the fastest I tried for Angler. As soon as I flashed and booted I noticed an immediate difference using the stock electron governor settings. Here to test and stay awhile. Love to see what else comes of this with the new undervolting and stuff.
[Nexus 6P Original Android Development] frap129:
Glad you like it! So far, the undervolting has little impact on battery drain, but my device stays significantly cooler which is always a plus
[Nexus 6P Original Android Development] mkos86:
A little report about 2017-07-10 weekly:

As I said earlier performance is really good. Combined with crDroid rom I've never had this smooth phone before :good:

I think it heats up a little bit more than v13 when playing games, but nothing too serious. And maybe it consumes a little more battery too when gaming.

Battery life is otherwise solid. After some problems with magisk 13.1 update I'm finally on 13.2 which seems to be stable, I'm now getting good 4 h SOT :victory:

Thank you [MENTION=5051294]frap129[/MENTION] for this awesome kernel! You're the best!

My setup:

crDroid 3.5

Electron kernel weekly 2017-07-10 (default settings)

Naptime

Arise Magnum Opus
[Nexus 6P Original Android Development] shantam3108:
Well if it stays cooler is a plus plus for me. :)
[Nexus 6P Original Android Development] yung40oz84:
That is a plus because I had 2 of these devices get the boot loop of death ?