yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Android Development] nathanchance:
Update!

Not much super fancy here, just a lot of upstream Linux stuff as well as some new Makefile flags thanks to [MENTION=5284595]kwoktopus[/MENTION], which I think make the kernel run even smoother. Been testing for about a week and I've had no issues. Additionally, see beta information below!

Download: 3.9 for N and 1.12 for M

Changelog: (also on Github)

Upstream Linux slub commits

Added some packet schedulers

SELinux fixes

CAF sound commits

Makefile improvements courtesy of [MENTION=5284595]kwoktopus[/MENTION]

Beta information:

Normally, I do not post about beta releases on XDA but this one is a little special. After talking with [MENTION=5284595]kwoktopus[/MENTION], I have decided to switch back to Fauxsound, which has been brought up for Angler in ElementalX by flar2. He added a high performance mode toggle (set to on by default like the current Franco implementation). Please download this and test it if you change any sound settings as I want to know that it works without issue before releasing. EXKM is fully supported but Kernel Adiutor is not. You will need to use the sys paths located under /sys/kernel/sound_control.

Download: 3.10-rc1 for N and 1.13-rc1 for M
[Nexus 6P Android Development] BIGWORM:
[MENTION=6842057]The Flash[/MENTION], when enabling the sound control module like zswap, does it show only the analog and digital gains, or should there be something that actually says high performance?
[Nexus 6P Android Development] nathanchance:
High performance is enabled by default, I'll ask flar2 to add a toggle for it in EXKM.
[Nexus 6P Android Development] adinkwok:
High performance is enabled by default, but it won't show up in any apps as something you can turn off yet :/

If you really would like to turn it off, you can find /sys/kernel/sound_control/highperf_enabled with a root explorer, open the file, and replace the 1 with a 0. Remember that the value will not stick once the phone reboots, so you will have to do the same thing again.

edit: [MENTION=6842057]The Flash[/MENTION] Ninja'ed me, how is he so fast?
[Nexus 6P Android Development] BIGWORM:
Gotcha. I navigated to that module and enabled it anyway lol. I'll run some music through my phone right and report back.

*edit* and an hour later, I've had major problems! My phone has rebooted no less than 6 times. I'm in the middle of clean flashing my rom again.

Jk! Just giving you ****, Nathan! Awesome job, as per standard! =)
[Nexus 6P Android Development] bobbarker2:
Awesomeness. EXKM will do the job as it has a user settings component to it.

To save others a few seconds, to enable the feature at boot go to user settings in EXKM and navigate to /sys/kernel/sound_control_3/highperf_enabled/ and set it to 1.

Edit: the XDA app has some real lag when updating threads. And my mistake, didn't see it was enabled by default in beta.

---------- Post added at 05:54 AM ---------- Previous post was at 05:12 AM ----------

Preliminary testing, been streaming google music using BT headphones for a 45 minutes. Have arise numbers installed. Haven't had any problems with the beta. Could be placebo but music seems to have more depth to it. Sounds like I'm hearing a wider range of frequencies, or rather they are more even so I can notice the highs and lows more distinctly.

I'm an amateur audiophile so I have working knowledge on what to listen for and the differences between good and bad audio, but I'd have to sit down and plug in my beyerdynamics and listen to the same track back to back on both kernels to be more sure.

In any case, it didn't seem to vreak anything :good:

Oh and mine flashed to kernel/sound_control not sound _control_3
[Nexus 6P Android Development] BIGWORM:
And an hour later, I've had major problems! My phone has rebooted no less than 6 times. I'm in the middle of clean flashing my rom again.

Jk! Just giving you ****, Nathan! Awesome job, as per standard! =)
[Nexus 6P Android Development] Prattham:
Can i flash the 1. 12 over 1.9 with no wipes?
[Nexus 6P Android Development] shadowstep:
Thanks for the update, [MENTION=6842057]The Flash[/MENTION]! Also, great job in getting up your server. :good: Btw, I downloaded NINJA-1.12-angler.zip from your server, and I realized that the MD5 it has is different from the one that is mentioned on AFH for the same file. Any reason why is that? Shouldn't they be the same?
[Nexus 6P Android Development] nathanchance:
Had to nuke the server as I couldn't log in after a reboot so I had to recompile those kernels lol. I actually just got finished setting everything up.

As for the server vs. AFH debate, I decided to stick with AFH for the main download source as they are equipped to handle a ton of traffic. I don't want to put too much load on my server (as it is what I use to compile lol). I ultimately have the server set up the way I do so that in case AFH goes down I can throw up the links until they are back up but I guess I'll just add the link to the OP as a mirror.
[Nexus 6P Android Development] shadowstep:
Ah, okay. Now I know why there was the difference! Anyway, I've re-downloaded the file from AFH and will be flashing that in a minute. Also, I've removed the links from my original post because I now know what you were aiming for (backup, not a replacement). Thanks mate! Keep up the good work.
[Nexus 6P Android Development] fedef12evo:
Thank you for your kernel, however is It possible to hotplug all 4 big cores? I tried and It only shut down 3 big cores, I 'll prefer all big cores offline and small cores online for Little tasks
[Nexus 6P Android Development] Lord. Tech:
Been meaning to ask for a while but i keep forgetting because im not sure if i should post here, and also because the battery is great haha...

Ok so, I don't have the touchboost option under cpu, i have hotplugging option instead, i remember on ex i never knew there was an hotplug option even lol, but i had only touch boost option then. Is there a way to get it back? Or is this happening only with my phone? :eek:
[Nexus 6P Android Development] shadowstep:
EX Kernel Manager will display the options which are supported by the kernel you are using. Ninja Kernel does not have touchboost (since it is considered detrimental to battery life in general and is disabled by all of the interactive governor tweaks out there). That's why it is not visible to you in the app. The kernel makes use of input boost (which is different from touchboost) for smoothness and battery life.

Same is the case with the hotplug options that you are seeing. It is supported by Ninja Kernel and hence the options to enable/disable and tweak the same are visible to you in the app. ElementalX Kernel does not support hotplugging and also has touchboost (enabled by default) and therefore those options are visible to you when you use that kernel.

The only way to get those back would be to shift to ElementalX or any other kernel that supports touchboost.
[Nexus 6P Android Development] Shockz:
This is based off the ak kernel which did not include touch boost iirc.
[Nexus 6P Android Development] Lord. Tech:
Oh! Thanks man, i actually wanted the option to make sure it is disabled on boot lol, so it's a relief reading your post. Because every tweak asks to turn it off anyway :o
[Nexus 6P Android Development] MarcoG::
[MENTION=6842057]The Flash[/MENTION] ,thx for the N Update

Gesendet von meinem Nexus 6P mit Tapatalk
[Nexus 6P Android Development] nathanchance:
You need to go into the hotplugging options and change min_cpus_online_big to 0 (for the big cluster) and min_cpus_online to 4 (for the little cluster).
[Nexus 6P Android Development] LosFranklins:
7.0.0 (NBD90X) is now up on Google site.
[Nexus 6P Android Development] nathanchance:
And now I wait for kernel source lol.
[Nexus 6P Android Development] :
Been meaning you tell you bud, been rocking the kernel for a week or so and it's absolutely incredible... Performance and battery and lag are absolutely spot on! Never had kernel results like this! Nice job Nate!
[Nexus 6P Android Development] chachin:
anyone here using weta rom with this kernel or naaah
[Nexus 6P Android Development] bgboii:
I am.
[Nexus 6P Android Development] nathanchance:
Assuming Google gets their act together, 3.10/1.13 will be out tomorrow after a little bit of testing. It will also the last update for M, as it is EOL from Google and I think the kernel is nearing perfection. Additionally, more ROMs are cropping up based on N so people should be making the jump.

EDIT: I also added a poll about the name. I have been using the name Flash for a few days now on my personal builds and I have to say it is growing on me. I know "Flash Flash Kernel" sounds odd but still lol. Let me know what you guys think.
[Nexus 6P Android Development] bobbarker2:
How about.. XxC00lDude5000xX ?
[Nexus 6P Android Development] evilryry:
Ninja all the way
[Nexus 6P Android Development] chikimonke:
How about THE Kernel? You're The Flash and now you can tell people to flash THE Kernel. That's probably a bit pretentious... I'm not familiar with the lore, but does the Flash have a sidekick/dog/best friend that would be a cool name? Or something similar from the comics?
[Nexus 6P Android Development] ariefabuzaky:
Lightning kernel
[Nexus 6P Android Development] shadowstep:
[MENTION=6842057]The Flash[/MENTION] Everytime I've decided to use msm_hotplug, there has been at least one occassion where my phone refused to respond to anything and would just soft-reboot after a minute of non-responsiveness. I'm not sure if it is because of msm_hotplug only, but it's happened when it was enabled. Otherwise (when I wasn't using msm_hotplug), I've been mint using your kernel.

I've uploaded the last console-ramoops file from /sys/fs/pstore to my Google Drive, and you can view/download it from here. I hope it helps in troubleshooting whatever is causing the issue! Let me know. :)

Additionally, I tweaked the hotplug settings to enable 4 little cores and 2 big cores up at all times during screen on and 4 little cores and no big core up during screen off. Below are my settings:

update_rate 200
kick_in_load_big 70
debug 0
offline_load_big 20
current_load 14
offline_load 0
load_levels 1 65 0
max_cpus_online 4
io_is_busy 0
online_load_big 80
parameters
max_cpus_online_big 4
version 2.4
fast_lane_load 95
big_core_up_delay 200
max_cpus_online_susp 4
msm_enabled 1
min_cpus_online_big 4
current_cores big.LITTLE : 2.4

I'm using v1.12 of your kernel along with core_control enabled and msm_thermal disabled for thermal, stock frequencies, input boost disabled with Saber v2 interactive governor profile.
[Nexus 6P Android Development] nathanchance:
Hmmm I think [MENTION=2033478]Yank555[/MENTION] mentioned that he and his testers were having issues with this intermittently... Looking at the log, there is nothing that immediately sticks out. Can you enable the debug option (turn it to 1) and test for me to see if it happens again? Does it occur in one particular app or use case?
[Nexus 6P Android Development] shadowstep:
Alright, thanks! I've enabled the debug option, set it to apply on boot and rebooted. I'll let you know if and when it happens again. Also, for me it hasn't been app dependent. The last two times it happened was when I was on the home screen, doing nothing (I'd just come off my regular mixed usage of checking WhatsApp, social media, etc. but nothing too intensive). So I don't think it's app dependent, at least for me.
[Nexus 6P Android Development] kantjer:
I also have issues with msm_hotplug, no reboots but often after a reboot not all cored come online. I switched to core control and no issues since.
[Nexus 6P Android Development] shadowstep:
That is weird. Because both the times it happened, I was using msm_hotplug with core_control only, and not msm_thermal. Anyway, I've turned on the debug option and keeping an eye out for any reboots. Let's see if it happens again (hopefully not!).
[Nexus 6P Android Development] eduardozeassesme:
No issues for me, I use hotplug, msm thermal on, core control off, saberv2 profile and haven't reboots, overclocking all cores
[Nexus 6P Android Development] Yank555:
[ 1802.312984] Restarting system with command ''.
[ 1802.314063] Going down for restart now
[ 1802.314716] qcom,qpnp-power-on qpnp-power-on-12: PMIC@SID2: configuring PON for reset

This is a userspace requested shutdown, nothing kernel related/initiated (and not what I was running into), thus not msm_hotplug related.

But this puzzles me :

Running a device without thermal management will lead to a reboot at some point, and unless core_control is not just the msm_thermal tunable (hence a part of msm_thermal) but a full replacement thermal management I don't know of, msm_thermal should NEVER be turned off w/o a due replacement, or you're asking for trouble ;)

JP.
[Nexus 6P Android Development] shadowstep:
Thanks for your reply! Actually, by default, core_control is enabled and msm_thermal is disabled on all the kernels I have used on my Nexus 6P (including Ninja Kernel). That is default behaviour. Also, I checked the paths for both these options. They are:

Core Control: /sys/module/msm_thermal/core_control/enabled
MSM Thermal: /sys/module/msm_thermal/parameters/enabled

This leads me to believe that they are a part of one thermal driver. So, technically, enabling either one or both of them together shouldn't be an issue. However, disabling both of them could prove to be dangerous, like you rightly stated, if they are a part of the same thermal driver.

However, the documentation is vague and they might be different drivers. Also, I'm not quite sure if leaving msm_thermal off (value n for /sys/module/msm_thermal/parameters/enabled) would totally turn off the complete thermal driver, irrespective of the value defined in /sys/module/msm_thermal/core_control/enabled (0 or 1), but by default, all the kernels for our device have core_control enabled and msm_thermal disabled.

I would also like to point out that there were times when I had msm_thermal enabled and core_control disabled. But there was occasions with this setup when one or more of my cores would turn off (due to thermal throttling) and then just wouldn't come back online unless I manually turned them off using terminal commands or turned core_control back on.

Hoping this information helps! :)
[Nexus 6P Android Development] Yank555:
Well you likely haven't disabled qc's msm_thermal in that case ;)

Check if you have a task 'thermal-engine' running, if yes, thermal is active. I thought you had stopped that service altogether, that would, as I said, be a very bad idea ;)

Playing with thermal, esp. on a s810, is risky business anyways, given it's a mobile frying pan :D

The most important part is thermal-engine service (the closed source part of msm_thermal), which you would have to stop (not a sysfs command, but 'stop' command) to actually disable it. By changing corecontrol enable tunable you likely just 'crippled' what the userspace daemon can do, hence the core issues.

If you want to know what thermal really does, have a look at this file :

/system/etc/thermal-engine.conf

And if you feel adventurous, tweak it ;)

But it's no use playing with sysfs msm_thermal tunables, what and when it does, is in the above conf file.

Note : That file is part of the ROM.

JP.

Edit : The reboot you had (in the log you uploaded) was 100% ROM-side requested, not kernel induced, thus unlikely a thermal issue either, not that you misunderstood me there ;)
[Nexus 6P Android Development] shadowstep:
Haha, no. I haven't turned off the service altogether. I have no intention of turning my Nexus 6P to a Note 7! ;) The service is up and running, I checked. Oh and btw, I've now enabled msm_thermal as well, in addition to core_control being already enabled. I am pretty sure they are from the same thermal driver, and hence it shouldn't create any issues. Hopefully. :p It's been quite a few hours and I haven't had any reboots or any other issues whatsoever, yet. So :fingers-crossed:.

Also, very familiar with that file. :) I have been using my custom made thermal-engine.conf file since ages now. I basically combined two mods (one for enabling a faster fast charge and the other for slightly increasing the temperatures at which the throttling kicks in) and have faced zero issues using my modified thermal-engine.conf file. If you're curious and have some spare time, you can have a look at this post of mine for more information on this custom thermal file. ;)

Regarding the reboot, thanks for confirming that it was a ROM-side request! I had a feeling it wasn't the kernel, but a double-check never hurts. Must have been something else acting up, and just a coincidence that I had msm_hotplug enabled at the time.

Thanks for your excellent work with the hotplug btw! I'll keep on rocking it. :good:
[Nexus 6P Android Development] Augustin79:
Is the nougat version of this kernel enforcing or permissive? Thanks to anyone who can enlighten me..
[Nexus 6P Android Development] nathanchance:
Enforcing.
[Nexus 6P Android Development] Nimalraj:
I flashed ninja kernel in my benzo rom,when i tried to enter into the kernel settings, it says no root. How to fix this error. Benzo rom comes pre rooted.
[Nexus 6P Android Development] noobiest:
Flash ninja on PN on 6p. Everything was cool except Square register fc. Tried reinstall of square,no dice. Reflashed PN and everything works again. Sorry no logcat. Just thought I'd mention it.
[Nexus 6P Android Development] nathanchance:
Ask in the Benzo thread, I use AnyKernel so no root should be lost during the flash. I can only assume it is something janky with Benzo.

That doesn't really make any sense, the kernel doesn't affect anything in userspace like that but I can't tell anything without a logcat.
[Nexus 6P Android Development] eduardozeassesme:
Re flash phh superuser and do you have root and SElinux is permissive
[Nexus 6P Android Development] E30Nova:
Possibly dumb question, but does this force encryption? I've been using it forever but never really payed attention. Maybe the Roms I've used force it, but I'm encrypted at the moment.

Just wondering if I should go through the trouble of decrypting or if my phone will just get encrypted again.
[Nexus 6P Android Development] JaylanPHNX:
No, encryption isn't forced.

From my Tab Pro 8.4
[Nexus 6P Android Development] nathanchance:
Kernel source is up: https://android.googlesource.com/kernel/msm/+/android-msm-angler-3.10-nougat-bugfix

Update will be up in a few hours with a little surprise ;)

[MENTION=3121819]E30Nova[/MENTION], forced encryption is disabled.
[Nexus 6P Android Development] eduardozeassesme:
Wtf? Surprise? Hehehe sounds good thanks for your perfect work
[Nexus 6P Android Development] Shockz:
I wonder if the surprise is a name change. I hope not because I really like ninja kernel.
[Nexus 6P Android Development] kyle_el:
So "Flash Flash Kernel" is something we're going to be seeing now?? Hahaha :highfive:
[Nexus 6P Android Development] nathanchance:
Update!

Sorry for those of you who wanted Ninja but Flash just feels right to me. I'll understand if you guys feel like using a different kernel since the name is a big deal, no worries at all and I appreciated having you guys! For those of you who do stay, welcome to Flash Kernel! Only other announcement is that this is for sure my last M update. There are no more M security updates from Google, which means it is EOL. I actually think I am the last person supporting M. Hope to see you all on N soon :)

Download: 3.10 for N and 1.13 for M

Changelog: (also on Github)

October security update (7.0 only)

Switch from Franco's sound control to Fauxsound from ElementalX

Add high performance mode toggle courtesy of [MENTION=5284595]kwoktopus[/MENTION]
[Nexus 6P Android Development] eduardozeassesme:
No telegram group notification? Hehehe thanks downloading
[Nexus 6P Android Development] adinkwok:
Whatever you say boss :silly:

Remember guys! To disable sound control's high performance mode, enter the following in terminal:

su
echo "0" > /sys/kernel/sound_control/highperf_enabled

...or just edit it the file with a file manager!
[Nexus 6P Android Development] nathanchance:
Come on.... Just had to try it out for it to grow on me :silly:

Ah right, heads up guys, this update will break sound control in Kernel Adiutor as the sys paths have changed. EX Kernel Manager is fully supported so if you haven't picked it up yet, I would recommend it! Otherwise, you'll need to modify the values under /sys/kernel/sound_control to tweak it.
[Nexus 6P Android Development] chikimonke:
Why are we disabling the highperf mode? I think I missed something.
[Nexus 6P Android Development] nathanchance:
You aren't, he's just throwing that out in case somebody wants to disable it for whatever reason lol.
[Nexus 6P Android Development] Lord. Tech:
You're right about that, and boy am i glad u stuck out for M this long! Superb work! thanks man!

Gonna see u on N soon :fingers-crossed:, riding the xposed roller coaster once it's released lol.
[Nexus 6P Android Development] weazie:
Thank you for the last M update, and all the work before it. :)
[Nexus 6P Android Development] E30Nova:
Thanks!

Last noob question, does this have kexec patch? I'm getting bored with a phone that works perfectly, so I'm gonna try dual-booting but I don't want to switch to a different kernel, heh.
[Nexus 6P Android Development] nathanchance:
Yes, it does.
[Nexus 6P Android Development] E30Nova:
Awesome, I'm loving this kernel more and more. :D
[Nexus 6P Android Development] colasante_5:
Thank you for the M update [MENTION=6842057]The Flash[/MENTION] !

I'm still on Pure Nexus 08/21 build....can you recommend a stable Nougat ROM for Nexus 6P, with some customizations?

I'd like to try another ROM while waiting for next Pure Nexus release!

Thanks! ;) :good:
[Nexus 6P Android Development] nathanchance:
Stock lol. I will personally only run stock or Pure Nexus, those are the only two sources I trust (and Dirty Unicorns but they probably won't be out for a while). You may try SimpleAOSP as well, I have heard good things about it.
[Nexus 6P Android Development] igylan:
Dang, Ninja just went with the Nexus with the name change :P
[Nexus 6P Android Development] colasante_5:
Ok, next weekend I'll give a try! Thank you! ;)
[Nexus 6P Android Development] Sheetzie03:
[MENTION=659936]@tupac4u 's debloated stock rom with Nathan's 'The FLASH' .....? it's a ?
[Nexus 6P Android Development] Shockz:
I may not like the new name but that is no reason to leave the amazing kernel. Thanks for the work Nate!
[Nexus 6P Android Development] tomak1n:
Just"flash"ed it! Running so far... Very good.
[Nexus 6P Android Development] Sheetzie03:
Someone would actually leave bec of name change? Talk about petty. That's crazy.

Great Kernel
[Nexus 6P Android Development] xxhyekal:
Hi all, this is the first post in this thread, been reading and catching up this post since before it turned to be the new flash name, i really like flash..thumbs up for your decision on sticking the new name admin [MENTION=6842057]The Flash[/MENTION]. Been staying with Ex for long time since,hope this new kernel will make stay flash and furious. =)
[Nexus 6P Android Development] cocchiararo:
Flash flash kernel

?????

Enviado desde mi Nexus 6P mediante Tapatalk