yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] New Rising:
Hopefully my last question, how do you download the .txt to transfer to ex kernel? When I click on the links it takes me to docs or es file explorer doc viewer? Can't seem to figure it out.
[Nexus 6P Android Development] weazie:
Long press -> save link. Go to downloads folder, rename, remove .txt, move to Exkernel\Profiles.
[Nexus 6P Android Development] New Rising:
Tapatalk wouldn't let me download it directly, Had to use the xda app. Thanks
[Nexus 6P Android Development] senthilrameshjv:
As the search not working, i may have to ask.

> Should the chill governor be applied to both clusters or only for little ones?

> If only one of them, i leave the other one 'interactive'.

> I hope the profiles dont matter any more if one of the cluster isn't interactive?
[Nexus 6P Android Development] nathanchance:
It can be applied to both without issues. Unless someone makes a profile for the chill governor, then you won't be using the interactive ones anymore.
[Nexus 6P Android Development] xperator:
Both clusters.

If you leave it to Interactive that particular cluster will use interactive settings from last profile you used/applied.
[Nexus 6P Android Development] indian84:
For people who are still reluctant to him to Nougat because of battery life. See this. It's as good as Marshmallow for me. Running Stock ROM with Ninja 3.5 and hotplug enabled.

My phone never felt smoother.
[Nexus 6P Android Development] senthilrameshjv:
What magic have u done? Good standby and also sot. What did you compromise,i mean what features u have turned off? Also do u have any governor scripts ? Are you running chill governor

---------- Post added at 06:04 PM ---------- Previous post was at 05:22 PM ----------

Anyone running 3.6 rc1?
[Nexus 6P Android Development] indian84:
No compromise. Except for Google Now turned off. I don't use it so it is not necessary for me to keep it on.

Just turned on hotplug. No other tweaks or settings to the ROM or Kernel.
[Nexus 6P Android Development] feis:
Didnt you forget to add no simcard and all that time on wifi lol? Still decent results nonetheless. Sadly im not getting same. Android os is still eating too much
[Nexus 6P Android Development] indian84:
Lol. No. 70-30% WiFi and LTE..

Forgot to mention, I have turned off Ambient Display.
[Nexus 6P Android Development] senthilrameshjv:
Having much drain in 3.6 rc1 with chill governor.. AFH is acting up. Could someone share 3.5 in any other sharing site please.
[Nexus 6P Android Development] DJMartini:
Delete
[Nexus 6P Android Development] chachin:
[MENTION=4570506]indian84[/MENTION] what rom you using?
[Nexus 6P Android Development] indian84:
Stock. Fastbooted via Factory Image.
[Nexus 6P Android Development] nathanchance:
Update!

Another couple days, another release :p this one includes some F2FS updates (I don't run it and haven't tested them but they merged and built fine so there should be no issues), enabled tickless system (so the kernel timer will interrupt dynamically instead of 300 times a second which should be better for battery life and performance), and some other minor patches here and there plus code clean up. Enjoy!

Download: v3.6 for N

Changelog: (also on Github)

Latest F2FS from Linux upstream

Fixed up a ZRAM error

Enabled NO_HZ (tickless system)

Enabled Clean Cache

Added tuning from Zen Kernel (based on this, backported by [MENTION=5051294]frap129[/MENTION])

Added a patch to optimize swapping

Fixed init.ninja.rc to set frequencies properly

Some code cleanup
[Nexus 6P Android Development] rickysidhu_:
I'm thinking of getting into the whole hotplugging scene, and I've been going through this thread, reading about hotplugging as much as I can, as well as some Googling. I just wanted to verify a few things so I can put my mind at ease before doing anything!

1. Hotplugging basically turns off some CPU cores to conserve battery life, and will only turn on when needed (when there is a heavy load on the phone)?

2. msm_thermal should be turned on?

3. core_control should be turned off?

4. From the EXKM app, should Hexacore mode be enabled, while hotplugging is enabled? - I think enabling hotplugging also enables Hexacore mode, but it has me wondering, if my phone is under heavy load, would only 6 cores will turn on? Instead of the potential 8

Some info about my my device/what it is running (in case that helps with questions above)

Nexus 6P - 6.0.1

PureNexus 8/21 - Official

Xposed with just a handful of mods

Running this kernel + using EX Kernel Manager to modify settings

I'm pretty confident I know all the answers to the questions I'm asking (except number 4), but I'm just hoping to get some verification from someone who has more knowledge than me about this, just so I can ensure I'm setting everything up correctly! Thank you in advance, and I apologize for the lengthy post!
[Nexus 6P Android Development] BIGWORM:
I was getting the internal system error on PN6 latest release on Ninja 1.8. At the time, I was using GlassFish with hot plugging and msm thermal on. I'm going to revert back to stock on chill governors and see how that runs. I've had this problem pop up before, and I'm afraid nothing short of nuking my whole phone, storage and all, will fix it. If I have to do that, I may head over to Stock N/Ninja and see how that treats me.
[Nexus 6P Android Development] winxuser:
Damit I literally just downloaded and flashed 3.6rc1 -_- lol.
[Nexus 6P Android Development] nathanchance:
1. Yes.

2. Doesn't matter

3. Doesn't matter

4. Yes.

Internal system error?
[Nexus 6P Android Development] winxuser:
Did you flash vendor partition when your changed ROMs ??
[Nexus 6P Android Development] BIGWORM:
Well yeah, I originally flashed the vendor img for the latest official PN when I first downloaded it. I can't think of the image name off the top of my head...something X? Lol. I've haven't actually flashed an N rom, yet.

[MENTION=6842057]nathanchance[/MENTION] Yeah. Internal system error. There's a bit more wording, but the error says I'll continue to run into problems unless I factory flash an image. I had that error pop up a couple of times even before flashing the N radio and bootloader.
[Nexus 6P Android Development] Juzman:
Been awhile since I played with F2FS, but as far as I know, PN7 doesn't support F2FS (nor PN6) right?
[Nexus 6P Android Development] nathanchance:
Yeah I guess that sounds like the vendor error but I never saw what it said for stock. If you are on N and haven't done so already, flash its vendor image.

Yeah I don't think so. I personally don't think it makes that big of a difference but it was in AK's source so I just decided to update it lol.
[Nexus 6P Android Development] BIGWORM:
I'm not on N, though. I'm still on PN 6 MM. I only fleshed the N radio and bootloader because I've read it works for MM as well. I haven't flashed the N vendor image.
[Nexus 6P Android Development] Ballymakaveli:
First time trying this kernel ..loving it so far...good job
[Nexus 6P Android Development] nathanchance:
Hmm that's odd, you shouldn't be getting any message like that but without seeing it exactly, I couldn't tell you why you are getting it lol.

Glad to hear it :)
[Nexus 6P Android Development] Juzman:
3.6 definitely seems smoother than 3.5 to me. Well done!
[Nexus 6P Android Development] Kappa Lamda:
+1

Same here for me. DeuxEx profile with msm hotplug just like on 3.5.

But phone feels smoother. Don't know if it is placebo but nevertheless thank you!

Amazing work!
[Nexus 6P Android Development] Juzman:
I'm running Chill for big/little and msm_hotplug however scrolling even feels more fluid.
[Nexus 6P Android Development] snoprosledneck88:
So this may not affect battery at all unless you are unlocking your phone 100's of times per day. If your using hot plugging and the fingerprint scanner it activates all cores. Small and big cluster. I don't know if this is because it uses so many resources that it requires everything to come online or if it's code that forces it so the fingerprint reader is faster. None the less brining all cores online and boosting the frequencies over and over again may affect battery over the course of the day. Interested to hear what you guys think. Just an observation I made while working on a governor profile I'm making.
[Nexus 6P Android Development] Mikulec:
This is a feature which was added recently.
[Nexus 6P Android Development] snoprosledneck88:
So its in the code to bring all the cores online to make the fingerprint unlock snappier?
[Nexus 6P Android Development] JaylanPHNX:
Exactly

From my Tab Pro 8.4
[Nexus 6P Android Development] snoprosledneck88:
Ok cool, Thanks. That may increase battery usage over the course of a day though right? I understand that it may be minimal but something none the less.
[Nexus 6P Android Development] Paradoxumical:
Flashed the latest Android N kernel on the latest RR release, Android M, about ten minutes after it was uploaded. Everything seems to be working just fine, with maybe the exception of auto-brightness (I can't be sure since I've been outside the entire time). Battery life is great, the kernel is smooth and fluid. I'm using GlassFish v1.2 and Maple IO @ 128kb readahead.

Disclaimer: I'm not here to complain, just sharing my experience so that others who were curious would now have an answer.
[Nexus 6P Android Development] weazie:
So You flashed N kernel on marshmallow ROM? No?
[Nexus 6P Android Development] Paradoxumical:
Yes.
[Nexus 6P Android Development] nathanchance:
Auto brightness, proximity sensor, rotation, and possibly camera all may possibly be broken on M lol.
[Nexus 6P Android Development] Paradoxumical:
Uh oh... You're absolutely correct, looks like everyone now knows what I don't use my phone for. :L
[Nexus 6P Android Development] nathanchance:
Lol when I was bringing up the kernel (at that time, it was unofficial AK) for N, I was using an M defconfig, which ended up breaking all of those things. I spent like three days combing through commits and then it hit me that I never regenerated my defconfig. As soon as I did, everything worked LOL.
[Nexus 6P Android Development] Paradoxumical:
Lmao, how about that.

Would it be okay if I tried maintaining the M variant?
[Nexus 6P Android Development] nathanchance:
Let me bring my source up to date, release one last M kernel that has all of the stuff I just mentioned, then sure, go for it haha.
[Nexus 6P Android Development] Paradoxumical:
You're the best, don't mind if I send you the occasional PM for advice.
[Nexus 6P Android Development] nathanchance:
Update.... for M!

Given that I still have quite a few people on M, I have decided to continue M support until there are a few solid custom ROMs available for N. I am hoping this is until the end of the month but if not, so be it. I encourage people to jump to N anyways, it is stable and there are some apps on the Play Store like [MENTION=3124065]rascarlo[/MENTION]'s Tiles app to bring back some custom functionality. I have only found myself missing a few features which I am sure will be back here pretty quickly.

Download: v1.9 for M

Changelog: (also on Github)

Updated chill governor (thanks frap129)

Updated msm_hotplug to 2.2 (thanks Yank555)

Merge upstream CAF patches

Switch default I/O scheduler and readahead to zen 128kb

Latest F2FS from Linux upstream

Fixed up a ZRAM error

Enabled NO_HZ (tickless system)

Enabled Clean Cache

Added tuning from Zen Kernel (based on this, backported by frap129)

Added a patch to optimize swapping

Fixed init.ninja.rc to set frequencies properly

Some code cleanup
[Nexus 6P Android Development] fz798:
First thanks.... you sir, are a gentleman and a scholar.
[Nexus 6P Android Development] Vangelis13:
Many many thanks.
[Nexus 6P Android Development] chikimonke:
Thank you sir, patiently waiting for the N Rom builds to slowly roll out, so this is a welcome release. Tried stock N, but just couldn't do it and I don't have nearly enough time to try and get back into building my own.
[Nexus 6P Android Development] cmo220:
I'll thank you for that even though I won't be using it! It's nice to see good people still developing!
[Nexus 6P Android Development] snoprosledneck88:
Would love to jump on N but haven't had the time to research what to flash/try that is stable. Thanks for the MM update
[Nexus 6P Android Development] BIGWORM:
Literally just happened right now. [MENTION=6842057]nathanchance[/MENTION]. I'm puzzled at this.
[Nexus 6P Android Development] evilryry:
That's just a vendor error reflash vendor img in relation to the software build number you are on
[Nexus 6P Android Development] nathanchance:
The vendor error is different though. Also, PureNexus had changed that error to be more descriptive.
[Nexus 6P Android Development] evilryry:
Yeah re-reading that I notice it's different. Sorry
[Nexus 6P Android Development] chachin:
can I ask what's new with 3.7rc1?
[Nexus 6P Android Development] nathanchance:
It's in the Telegram channel and on my Github. You need to be using either one of those to get the full details as I won't be posting about it here since they are beta tests.
[Nexus 6P Android Development] rascarlo:
[MENTION=6842057]nathanchance[/MENTION] thanks for the mention. Appreciated
[Nexus 6P Android Development] indian84:
Hey, good to see you here. It's been a long time.
[Nexus 6P Android Development] rascarlo:
thanks.
[Nexus 6P Android Development] sandman1234:
What vendor image is still being used for M? Is it MTC-20F?
[Nexus 6P Android Development] weazie:
Yeh!
[Nexus 6P Android Development] nathanchance:
The app is fantastic, I am enjoying it very much :good:
[Nexus 6P Android Development] indian84:
Depends on the ROM you are using.
[Nexus 6P Android Development] rickysidhu_:
After installing this kernel, enabling hotplugging and the Hawktail profile, I've managed to get 6+ hours of SOT! I think I've my max before this was about 4-4.5 hours.

Thank you [MENTION=6842057]nathanchance[/MENTION] for your hard work and helping out with all my questions (including the noob questions haha). The MM update is also much appreciated! Thanks again :D
[Nexus 6P Android Development] xperator:
Thanks buddy. Means a lot to have your support :)

Few tiny concerns on this update:

It seems I can't use numbers like 10000, 30000, 50000, etc ( those starting with a odd number) for timer_rate in interactive governor options. For instance, if I put 10000 it becomes 12000, if I put 30000 it becomes 32000 and so on

This issue clearly appeared in this update. I hope it's not Kernel Adiutor cause I opened it earlier and gave it permission hope it didn't mess up anything I never use it I just wanted to check something

Also I wanted to know why the interactive governor used in Ninja kernel is different from others say Kylo or Franco's. They have a few extra parameters to set and play with. For example fast_ramp_down is available in both of them and Franco also has ignore_hispeed_on_notif and he used it for default settings. Is it possible to have these in Ninja ?
[Nexus 6P Android Development] rascarlo:
Good to hear I am doing something useful.
[Nexus 6P Android Development] mukesh22584:
[MENTION=6842057]nathanchance[/MENTION]

Thanks a lot for your awesome work..

I've installed NINJA 1.19 and set with EX kernel manager as you describe in OP with Pure Nexus ROM.

Everything is fine but I have a lot of Scrolling LAG. How to manage this ?

Currently I'm on Resurrection Remix.

I'm not a technical person just a simple user, So...... Sorry if my question irritate you[emoji4]

Only ANGLER?
[Nexus 6P Android Development] kantjer:
Have you set input boost for all little cores (0-3)?

Sent from my Nexus 6P
[Nexus 6P Android Development] mukesh22584:
Now set... And You save me...

Thanks [MENTION=3306843]kantjer[/MENTION]

Only ANGLER?
[Nexus 6P Android Development] owngaurav:
Hi Nathan.. Just wanna ask something..in all my rom based on 7.0 I am facing a strange issue of proximity bug while calling ..black screen bug when I remove my phone from my ears...any suggestion
[Nexus 6P Android Development] nathanchance:
I changed nothing regarding interactive governor statistics so if it worked with 1.8, it should work with 1.9. Did you try EXKM?

I'll look and see what commits I might be missing, I'm pretty sure I pulled everything in from Franco.
[Nexus 6P Android Development] xperator:
Yeah I use EXKM all the time. It definitely isn't working. I just freezed Kernel Adiutor did a reboot and still no luck. Maybe someone who's on M can confirm this.

Yeah I'm sure something is up cause your kernel has fewest interactive parameters compared to those 2.

Oh also, I remembered another issue. It seems I can't set use_sched_load to 1 it is stuck on 0.
[Nexus 6P Android Development] nathanchance:
Seems the last one happens on N too. No reason it should though. I'll look into it but my time is limited.

EDIT: I'm thinking it may be my AnyKernel changes but it doesn't make sense because the permissions means that anyone should be able to right to the parameters.
[Nexus 6P Android Development] weazie:
Yes I have this timer_rate issue too. Same setup as you.
[Nexus 6P Android Development] snoprosledneck88:
Same here
[Nexus 6P Android Development] nathanchance:
From my initial glance over the code, that appears to be expected. I haven't added any wonky patches lately related to the interactive governor.
[Nexus 6P Android Development] bsg411:
You mean input boost frequencies?
[Nexus 6P Android Development] bobbarker2:
Looking at 3.7RC2 code and saw this:

fs: fsync: add a toggle to enable or disable fsync() operations

You're my XDA husband/wife/whatever. Never understood why it wasn't a default tunable in all kernels.

There are kernel devs here like Franco and flar2 who were born with android-sdk in their hands, but you're the only dev I see consistently merging new features like adrenoboost and then spending the time to experiment and fine tune it.

You da man. Keep it up!
[Nexus 6P Android Development] nathanchance:
Yeah I had somebody request it and I was like wait it wasn't already in there? I don't disable fsync but I believe in giving people options haha. Might release tonight, if not, sometime this weekend.
[Nexus 6P Android Development] almightysiman:
Can't wait to try the new version！
[Nexus 6P Android Development] nathanchance:
I'll try to have a beta out tonight, follow my Telegram channel if you haven't already: https://telegram.me/ninjakernel
[Nexus 6P Android Development] almightysiman:
trying 3.7rc1 right now,working great so far,thanks nathan！
[Nexus 6P Android Development] xperator:
Nathan any update on the interactive governor parameters? Can we have those extra options available in some future update ?
[Nexus 6P Android Development] jackpollard:
Nathen, what an outstanding kernel, thank you for it.

I've rooted for so long I can't even remember, but between the Pay cat and mouse and the excellent improvements in N and beyond, I've been good with the last N update and no root.

My battery was decent, 3-4 hours sot for a full days worth of use. I flashed Ninja and I have to say it just sips battery, I'm amazed to see the battery graph go straight instead of down. I'm surprised you've not figured a way to make it go up!!

So for me I have the best of both worlds with Ninja and stock (for now, I always seem to get pulled back). Thanks again!
[Nexus 6P Android Development] blackmagicman:
Can i use with cm base rom
[Nexus 6P Android Development] hroo772:
Hey Nate, think it would be possible to get this tcp congestion algorithm added to the kernel?

https://patchwork.ozlabs.org/patch/671069/
[Nexus 6P Android Development] xperator:
Yes
[Nexus 6P Android Development] nathanchance:
I'll look closer later today but upon my cursory glance over Franco and Despair's commits, I don't appear to be missing anything.

EDIT: I see the commits, I'll try adding them tonight and release a new RC [MENTION=4151089]xperator[/MENTION]

Lol funny you link me that, I tried adding it last night. I'm going to need to wait until it is merged as it will most likely need to be backported since there are some new functions and includes that we don't have on 3.10. Pretty sure that patch is designed for 4.8 or 4.9.
[Nexus 6P Android Development] jonathanh221999:
Hey all,

Sorry for the off-topic, but since Nathan welcomes it... :)

My Google Play Services are constantly crashing/not working. As a result, the Google app isn't working (tapping on the search bar crashes the GApp, I can't refresh Google Now). In the Inbox app I can't open any email. Whenever I click on an app description in the Play Store the app crashes. Did a clean install yesterday and the problem returned this morning. Running NRD90U stock, rooted with Ninja 3.6 w/ GlassFish. Other people experiencing the same?

Thanks.
[Nexus 6P Android Development] nathanchance:
Hmmmm that definitely should not be happening on stock. Do you have a logcat?
[Nexus 6P Android Development] xperator:
Sweet

I hope these are the one getting added:

fast_ramp_down

ignore_hispeed_on_notif

use_sched_load (this time fixed)

timer_rate ( same like 1.8 which could set numbers like 50000 and so)

Either way thx a lot :good:
[Nexus 6P Android Development] jonathanh221999:
Yes thanks - https://drive.google.com/file/d/0B_fnfm2qQvThWlZtNWJkb2tEenc/view?usp=drivesdk
[Nexus 6P Android Development] nathanchance:
fast_ramp_down and ignore_hispeed_on_notif will be added. timer_rate, not sure but I think so. I've compared my code for use_sched_load with different Bullhead kernels and Angler kernels (even stock) and they are all identical, which either means they are all broken or it's working as intended (I'm guessing the later).

Sweet. Seems to be a webview problem, does it show a recent update?
[Nexus 6P Android Development] jonathanh221999:
I don't think it got recently updated - I've got Android System WebView 51.0.2704.90 installed, and I'm pretty sure we're at v53.

Also non-Google apps, like theScore, Pushbullet, are not working. Let me know if you want an updated logcat for those crashes.

UPDATE: updating WebView to the latest version has no effect either.
[Nexus 6P Android Development] nathanchance:
I think your best bet at this point is to contact Google since this should not be happening on stock. If you wiped everything but internal storage and flashed the factory images, that's kind of all you can do.

[MENTION=4151089]xperator[/MENTION], it took me a while but I think I isolated what is up with timer_rate. I disabled the 300HZ timer rate for the kernel in 1.9 and make the kernel tickless, meaning that timer changes dynamically. This changes how values are rounded when they are input into the timer_rate sys path. This is a bit above my pay grade as I am not a kernel guru but from what I can tell, that rounding, even though it is changing the values, should keep it in line with what you intended.
[Nexus 6P Android Development] bobbarker2:
Almost certainly a ROM problem and not kernel related.
[Nexus 6P Android Development] xperator:
Awesome!

Give me a heads up when a new build is up. I don't have Telegram

I'm not sure if this is a Chill's governor bug, permission issue or kernel sided problem but I can't set boost_count parameter. [MENTION=5051294]frap129[/MENTION] said we can use this to control how much time is spend at higher frequencies.

It's default is 8 but whenever I try to change it bumps to 0 and gets stuck
[Nexus 6P Android Development] nathanchance:
https://www.androidfilehost.com/?fid=24723757092307350

I'll look into it.

EDIT: in this file, it appears that the valid values are the default of 8, 5, or 0.
[Nexus 6P Android Development] Dbj.Dhaval:
This is for MM right?
[Nexus 6P Android Development] MarcoG::
Yes v1 in the Name is for MM and v3 is for N

Gesendet von meinem Nexus 6P mit Tapatalk
[Nexus 6P Android Development] xperator:
That's weird.. I still can't use 5 or even 8. If I dont touch it at all, it will stay at 8. But if I try to change it I can't even go back to 8
[Nexus 6P Android Development] nathanchance:
Hmmm. That conditional says that if the value given is greater than 5, set boost to 5. If the value is 0, set boost to 0. There is no handler for 1 to 4. I'll see if I can hit him up and figure out that logic.
[Nexus 6P Android Development] dex2grigg:
Nathan??