yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Original Android Development] flar2:
It's usually best to post about it here and explain it. I check XDA every day, but I often miss things on Github.

For this one, there are a ton of upstream commits. I took the lazy way and just copied the latest code to my repo.
[Nexus 6P Original Android Development] porter11:
https://goo.gl/photos/cNNDfCCVjRBUJQrg9

Test 3.03 for N Preview 5
[Nexus 6P Original Android Development] lahma69:
Sounds good! I think I'm going to go ahead and compile your latest kernel version with the new xpad.c so I can begin using it until you push out a new kernel update. If I use the latest code on your github (branch ElementalX-1.00), I assume this will be equivalent to 1.19, which means I will need to update my rom so that it incorporates the July security patches, right? Thanks again.
[Nexus 6P Original Android Development] flar2:
Yes.

I probably won't make a new release until the August security updates
[Nexus 6P Original Android Development] lahma69:
Sounds good.
[Nexus 6P Original Android Development] Hussainally:
Is the battery better then stock with this ?
[Nexus 6P Original Android Development] ahpatel:
It is noticeable better. Probably largely because you can't disable touchboost with the stock kernel options. I use DarkSpiceR7.5
[Nexus 6P Original Android Development] 1112ee:
Where is the aosp kernel source posted when it is available?
[Nexus 6P Original Android Development] nathanchance:
https://android.googlesource.com/kernel/msm/+refs
[Nexus 6P Original Android Development] crossen0:
I have read through the last couple pages but it wasn't immediately clear to me - is anyone running DP5 using 3.03 without issue?
[Nexus 6P Original Android Development] kingmikel:
[MENTION=4684315]flar2[/MENTION] when installing on the N preview through aroma, it won't read the many of the settings I apply. I have tried editing the elementalx.conf and rebooting, but no luck.
[Nexus 6P Original Android Development] Hussainally:
Yes..and it's perfect
[Nexus 6P Original Android Development] italia0101:
Is there a way to use tasker to activate powersaver mode? With an intent
[Nexus 6P Original Android Development] hinxnz:
To enable:

su -n am broadcast -a flar2.exkernelmanager.powersaver.ENABLE_POWERSAVE -n flar2.exkernelmanager/flar2.exkernelmanager.powersave.PowersaveReceiver

To disable:

su -n am broadcast -a flar2.exkernelmanager.powersaver.DISABLE_POWERSAVE -n flar2.exkernelmanager/flar2.exkernelmanager.powersave.PowersaveReceiver
[Nexus 6P Original Android Development] italia0101:
Thanks! It works
[Nexus 6P Original Android Development] flar2:
Use the app for now. I've built a new installer for N, but I'm not going to make a release until the latest source code is posted.
[Nexus 6P Original Android Development] TyrellP:
For some reason I noticed 4 of my cores are off and on not turn on. Even for the CPU governor it says "N/A" and have no option to change it. And I checked the CPU times after 24 hours and it says 0
[Nexus 6P Original Android Development] roaddaw9:
I understand twrp doesn't work on N, what method are people using to install?
[Nexus 6P Original Android Development] guitar1238751:
You have to flash twrp v. 2.8.7.2 via fastboot. You will have to format data after flashing twrp so twrp can write into the system. Otherwise it will be read only and unable to flash anything. Then copy/download v. 3.0.2.0 to internal storage of your phone and flash it. After flashing the update, go back and choose the option to reboot back into twrp. You should now be running the latest twrp on DP5. You can also copy SuperSu and flash it now too. Then just boot into system and every time you boot into recovery, twrp should still be there. (twrp will be replaced by stock recovery again when you flash the next N build) Hope this helps. :)
[Nexus 6P Original Android Development] Citizen_Snips:
Hi, [MENTION=4684315]flar2[/MENTION],

I was wondering if you could share the path that the app uses to read the CPU temp for the 6P, if you enable it in settings.

Is it /sys/devices/virtual/thermal/thermal_zone0/temp?

Edit: nevermind, looks like it's in thermal_zone1
[Nexus 6P Original Android Development] sapphirecoupe:
I have a quick easy question. How does the share option work in the app? It's asking me to add another google account, which I imagine would start causing their google account info to start syncing to my phone.

Anyone have a bit more explanation on how this option works in relation to the app?
[Nexus 6P Original Android Development] steviemch:
I flash the modified boot img found here:

http://xdaforums.com/showthread.php?t=3306684

You have to format userdata (which wipes and decrypts your device) then the latest TWRP works fine.

Nexus 6P
[Nexus 6P Original Android Development] hinxnz:
When I hit the 3 dot menu and choose Invite Friends, it then prompts me to choose an account as I have two or to create a new one, I choose my main account and then I can select a contact to send to but after this, choosing the option again, it goes straight to the contact list unless I click on my avatar to bring up the account prompt again.

It seems to me that you are trying to choose to create a new account instead of using an existing one.
[Nexus 6P Original Android Development] mtnlion:
You do not need twrp. If you prefer to remain encrypted as I do then you simply root with cf auto root and use flashfire to flash kernel zips or mods.
[Nexus 6P Original Android Development] galakanokis:
This is what I did as well, works great and is easy peasy.
[Nexus 6P Original Android Development] bemagrp:
Did 2.76 update, big cluster stays offline most of the time, reverted back to 2.74, big cluster came back to live.
[Nexus 6P Original Android Development] flar2:
The Dashboard in the app doesn't make your clusters go offline. It only shows the current frequencies.

It's possible there is a bug in the app, since I made a lot of changes to this in 2.76.

But the more likely scenario is that the cores were actually offline due to thermal throttling.
[Nexus 6P Original Android Development] rickysidhu_:
Sorry if this is a noob question but I don't see any option to over clock the device. The max I can go is 1555 and 1958 mhz, but isn't that the device defaults?
[Nexus 6P Original Android Development] bemagrp:
In cpu max cpu frequency big cluster and min cpu frequency big cluster says offline.

When apply any profile, big cluster is unavailable.

When reverted to 2.74, no problem with big cluster whatsoever.
[Nexus 6P Original Android Development] shawnten:
does preview 4 kernel work for preview ?
[Nexus 6P Original Android Development] blueren:
Hello. I just switched from Franco to ex just for a change and was working my way through the app. I found that settings -advanced settings - setting a custom limit for power save didn't stick when I turned on power saver. How do I go about this?
[Nexus 6P Original Android Development] flar2:
That feature was developed on older phones, I'm going to review those settings at some point. But honestly I don't recommend using the modes on this device. I find the battery life with stock settings to be perfectly adequate for typical usage and reducing frequencies really doesn't make a whole lot of difference to battery life.
[Nexus 6P Original Android Development] flar2:
If it says offline, they are offline.

Big cluster settings on 2.76 are actually more robust than on 2.74. On version 2.74, it would simply say NA if CPU4 was offline and the governor settings would not be available and it would not apply on boot until CPU4 came online. Now it will only say offline if all cores in cluster 2 are offline.

As I said, the app has absolutely nothing to do with the cores being offline. That is due to thermals.

The cores can go on and offline fairly easily, especially in hot weather and especially on N preview. You can pull down the CPU screen to refresh if it says offline and they might show up again.
[Nexus 6P Original Android Development] Caltinpla:
You can either overclock the cpu's during the twrp flashing or use the exmk app
[Nexus 6P Original Android Development] bemagrp:
[MENTION=4684315]flar2[/MENTION]

I am still on 6.0.1 July version.

And you were absolutely right, it is thermal related issue, not because of 2.76 update. In a crazy hot weather now, cpu temp went all of the way to 130 degrees.

Again, my apologies for my mistake ?
[Nexus 6P Original Android Development] flar2:
It's a hot summer in most of the world. It's even been over 90 degrees and humid way up here in Ottawa.
[Nexus 6P Original Android Development] rickysidhu_:
Yeah I saw the option during the flashing process in twrp, but I don't see anything higher than the frequencies I mentioned in the app :(
[Nexus 6P Original Android Development] flar2:
The maximum available will be whatever you chose in the Aroma installer. This is by design.
[Nexus 6P Original Android Development] rickysidhu_:
Ahh, I see!

Is it safe to reflash the kernel so I can pick those settings again in the aroma installer? Or should I flash the stock kernel first, and then elementalx?

Thanks in advance!
[Nexus 6P Original Android Development] flar2:
You can just reflash EX
[Nexus 6P Original Android Development] rickysidhu_:
Perfect, thank you so much for your hard work resulting in this amazing kernel :)
[Nexus 6P Original Android Development] MrMarques01:
Quick question: On DP5 using the latest kernel for Android N, I don't see the option in EX kernel manager to change the sound settings. Is this intentional?
[Nexus 6P Original Android Development] blueren:
Thanks. So turning off 2 big cluster cores also makes any noticeable difference? What about touch boost?
[Nexus 6P Original Android Development] flar2:
In my testing, I found the gains from disabling cores or touchboost to be negligible. Some users that want the extra ounce of battery will disable touchboost and use a governor profile like ghostpepper. I found that the profiles could reduce active drain by around 2% per hour, depending on usage.

But for the most part when this phone was my daily driver, I never disabled touchboost or modified any settings and I always got around 13-15% per hour drain with the screen on. I could easily go two days on a charge.
[Nexus 6P Original Android Development] blueren:
Thanks for this. I've always like flash and forget kinda settings. But given that I have some time on my hand, I'd experiment. So basically, I just try out the available custom profiles and apply it via the app. Correct? How often are these governors updated? (Eg. GhostPepper that is available from via the app) Also, are these universal settings or specific to 6P?
[Nexus 6P Original Android Development] rickysidhu_:
I noticed a couple of bugs.

1. In the CPU settings of the EX Kernel Manager app, I'm not able to change the Max CPU Frequency (Big Cluster). I'm trying to change it to 2054 but it stays at 1824.

2. In the Sound section, I can't choose the apply on boot option for the right speaker (the button isn't there). If I drag the slider, the button appears, but I'm still not able to apply on boot.

I reflashed my ROM's stock kernel, then flashed ElementalX again, wiped cache/dalvi cache and uninstalled and reinstalled the EX Kernel Manager app.

Any help on this would be greatly appreciated!
[Nexus 6P Original Android Development] bemagrp:
Install through aroma installer.

Whatever you choose in aroma installer, would be max in ex manager.

There is one button for two speakers, after any change, apply on boot.
[Nexus 6P Original Android Development] flar2:
They should be up to date and they are specific to the 6p. There is a thread where people have created more profiles.

Just load the profile and the settings apply. Click the apply on boot switch is you want to keep the profile each boot.

1 is normal. That's why I recommend choosing the max freq in aroma. That's why there's a warning on those settings. There's no reason to mess with them

2 is also normal. The left apply on boot switch applies to both channels.
[Nexus 6P Original Android Development] rickysidhu_:
Oh I see, makes sense! Yeah I chose max freq in aroma and I will just leave the settings as is.

Also, just out of curiosity, what setting do you personally use for speaker volume gain? The default 20, or higher? I want to mess around with this setting and go higher but I'm scared I might blow my speakers out lol
[Nexus 6P Original Android Development] sm4tik:
1. The max freq gets set to 2054MHz, but there's a little quirk in the kernel itself which I believe causes the value not to show up right away. Back into the dashboard and go to CPU settings again and you should see 2054MHz as the max freq.

[MENTION=4684315]flar2[/MENTION] can you shed some light on couple of observations I've made. The max freq of big cores changes to 1824MHz on touch. I've seen it happen on some other kernels while others don't? Also I've noticed there are forced minimum touch boost frequencies, 1248 for little and 864 for big and when touch boost is enabled, the big cores get boosted even when set to "disabled" in boost settings. I hope that was clear enough.. Is all this intentional and if so, can you explain shortly in human speak why. I guess I'm just being a bit ocd when I catch something happening without my say so :p

Thanks
[Nexus 6P Original Android Development] flar2:
It's perfd that controls that. I just let it be. It will use higher frequencies even though it says 1824 max
[Nexus 6P Original Android Development] sm4tik:
Ah, ok. And perfd is a part of the ROM so there's only that much you can do, right? I don't really mind the behavior I described, just really wanted to know what's going on. Anyway, thanks for a great kernel, I've had my n6p for about 2months and yours is the one I always come back to :)
[Nexus 6P Original Android Development] flar2:
I could modify it the same way I disable touchboost, or you could stop perfd altogether. But it works well, and they probably made it work that way for a reason. So no I don't see a need to change it.
[Nexus 6P Original Android Development] sm4tik:
Kk. The only drawback I can see is that it may cause (and has to me) unnecessary confusion. I realized the behavior (max freq lowering on touch) while testing kernel adiutor which shows the max freq real time (good when testing throttling etc) and again after getting to know exkm better. To a normal user, at first it looks as if you could not over clock, the max freq doesn't show above 1824MHz until you've gone say to the dashboard and back. No biggie now that I've gotten used to it, but maybe something worth mentioning?
[Nexus 6P Original Android Development] meirg:
Anyone else not getting readings from the accelerometer or gyroscope with Android N Preview 5?
[Nexus 6P Original Android Development] DarkSorcerer:
Had the same problem yesterday. My phone simply wouldn't rotate. Rebooted and it's working great again.
[Nexus 6P Original Android Development] flar2:
I've been using the 6P as my Nougat testing device.

I know it's still beta, but I really don't like Nougat and it's still really buggy.
[Nexus 6P Original Android Development] DarkSorcerer:
As a matter of fact, it was the only major problem I had until now on DP5. Why don't you like it?
[Nexus 6P Original Android Development] flar2:
Off the top of my head: I have to swipe over and over on the lock screen, it won't dismiss. I hate the new recents becuase it only keeps your last few apps. All the notifications in the notification drawer blend together. Selinux is ultra restrictive and forces my apps to make su calls for all kinds of minor things, which slows things down. Selinux context still seems to get screwed up on cpu sysfs, which causes non-root apps that look at cpu freqs or stats to break.
[Nexus 6P Original Android Development] rickysidhu_:
Well this inclines me to stay on MM lol
[Nexus 6P Original Android Development] flar2:
No, no. We have to change with the times and will get used to it.
[Nexus 6P Original Android Development] bemagrp:
Mm is the way to go for now.
[Nexus 6P Original Android Development] king3opobn:
Why did my flashlight toggle disappear after flashing this kernel on latest purenexus? I can't get it to appear again in quick toggles. It shows that it is there under quicktoggles settings.
[Nexus 6P Original Android Development] nathanchance:
Wipe your dalvik cache and cache and/or flash your vendor image again.
[Nexus 6P Original Android Development] lycan_codex:
Hi, Can anyone make a flashable zip of the stock kernel of Android N DP5 and post it.
[Nexus 6P Original Android Development] zenchowdah:
I take it you tried to flash the dp4 kernel on dp5? I'll go ahead and learn from your mistake then.
[Nexus 6P Original Android Development] SlimSnoopOS:
Modified boot.img is here http://xdaforums.com/showthread.php?t=3306684

If you want the stock, unmodified boot.img, download the factory image from Google and pull the boot.img from it.
[Nexus 6P Original Android Development] ajbiz11:
Well, that answers my question. Hope we see a DP5 kernel soon. I want my Nougat-y goodness AND my MultiROM support
[Nexus 6P Original Android Development] lycan_codex:
hahaha. It works fine. I am just seeing huge Android OS wakelocks. I tried unrooting it. Lets see if the battery consumption fares better.
[Nexus 6P Original Android Development] resynx:
Hey flar, is there a command available I can put into Tasker to have powersave mode turn on automatically when I enter certain apps? I've seen a post that where you said "flar2.elementalxkernel.powersaver.DISABLE_POWERSAVE" and "flar2.elementalxkernel.powersaver.ENABLE_POWERSAVE" can do it. I tried inputting this into the shell > command in Tasker and that didn't work. Have these commands been changed? Or am I just putting it into the wrong area.

Thanks!
[Nexus 6P Original Android Development] hinxnz:
Commands haven't changed and you can set Tasker to do that.

Commands > http://xdaforums.com/showpost.php?p=67869438&postcount=6008

Edit: It very easy to set up too, I just made an example for you to import.

When you open EXKM it will activate powersave and when you exit, it will disable powersave.

You need to enable accessibility for Tasker in Settings > Accessibility > Tasker.
[Nexus 6P Original Android Development] SlimSnoopOS:
It is used to return to the stock boot.img. It is modified to NOT force encryption on boot. It also allows for traditional system root. Flashing this does not remove encryption for you.

By itself, no it will not allow you to enter TWRP on developer preview. There are two ways to do so:

1) Fastboot flash the modified boot.img. Now issue this command in fastboot to remove encryption:

fastboot format userdata

Now you can enter and freely use TWRP on developer preview. This fastboot command completely wipes your phone so backup your data.

2) Follow this guide to use TWRP on DP# and keep encryption enabled: http://xdaforums.com/showthread.php?t=3410906
[Nexus 6P Original Android Development] resynx:
Thank you so much! :)
[Nexus 6P Original Android Development] TransportedMan:
Why is this kernel so good? How can a company (Google) with some of the most brilliant minds on the planet and unlimited resources not give us kernels this good right out the box but a guy sitting at home sipping tea can? This must be sorcery, what kind is it?
[Nexus 6P Original Android Development] rickysidhu_:
Flar is no guy, flar is a kernel wizard
[Nexus 6P Original Android Development] bbeanss:
Does anyone have any recommended lmk settings that I can steal?

Cheers

Beans
[Nexus 6P Original Android Development] wooddale:
I just have a question I'm in a real crap signal area. The last time Iflashed this kernel it seemed like I didn't get as good reception text and calls is it possible or is it just me. I know a lot if other kernels you sacrifice performance for better battery I didn't think this kernel did that. Thanks.
[Nexus 6P Original Android Development] nathanchance:
A kernel doesn't affect cell signal, that's the modem/radio's domain. Kernel can affect Wi-Fi.
[Nexus 6P Original Android Development] wooddale:
Thanks I guess I have been thinking wrong I could swear I read that real good battery life you gave up performance in some cases On the Franken Clark kernel on my old xt1575 it even gave you choices in the OP as to how it would affect performance. Or so they said.
[Nexus 6P Original Android Development] jorceshaman:
Phone performance as in responsiveness and FPS on games. Not signal performance.
[Nexus 6P Original Android Development] wooddale:
Thank You then it would also impact how your phone reacts flipping through pages etc.
[Nexus 6P Original Android Development] jorceshaman:
Yes. Because you're limiting the power of your phone to lower battery usage. If you're going from 1.5 ghz possible power to only 1.1, that's 0.4 less calculations possible in the short time period. There's a little bit more to it than that but I'm trying to keep it simple.
[Nexus 6P Original Android Development] wooddale:
Thanks again I never used kernels much but now thanks to you I understand how they work better I can screw around a bit with them.
[Nexus 6P Original Android Development] joeyfong:
How can u never use kernels much?
[Nexus 6P Original Android Development] jorceshaman:
Have you read the comments? He's very clearly not familiar with what kernels are and do. I think he mostly meant custom kernels and kernel settings. I was just trying to clarify what he wanted to know in simple terms.
[Nexus 6P Original Android Development] wooddale:
Thank You that is what I meant custom kernels. I realize you must have a kernel. I have had phones since the original droid I have 3 now and they do work without a custom kernel lol.
[Nexus 6P Original Android Development] IlyaKol:
EDIT: NVM
[Nexus 6P Original Android Development] TransportedMan:
Why is the app telling me a new update is available and I already have the latest version installed? It's prompting me to install the version I currently have over again.
[Nexus 6P Original Android Development] flar2:
What version do you have installed? The latest is 1.20.
[Nexus 6P Original Android Development] FlickFlack:
Hm, the thread here and the website indicates that 1.19 is the newest. Can we flash the "new" version 1.20 savely on july patch or do we need august patch of Android 6.0.1?

Do not want to loose Wifi as with kernel 1.19 and june patch.
[Nexus 6P Original Android Development] matust:
Is 1.20 published to your page?
[Nexus 6P Original Android Development] nathanchance:
August security patch works with both July and August ROM versions (I've tested both).
[Nexus 6P Original Android Development] TransportedMan:
You must have just updated it then because it was prompting me to reflash 1.9 but I just checked the app again and it's giving me 1.20 so did you recently just update it?
[Nexus 6P Original Android Development] adhya:
I installed 1.20 aroma version and choose the FIOPS scheduler (default), but it's shown as SIO on my latest EX Kernel Manager.
[Nexus 6P Original Android Development] Caltinpla:
Same here!!!
[Nexus 6P Original Android Development] turbo1781:
[MENTION=4684315]flar2[/MENTION] Same here
[Nexus 6P Original Android Development] mko000:
Are there kernel changes in MTC20F?
[Nexus 6P Original Android Development] flar2:
Must be a bug in the installer. The installer is new, in preparation for Nougat.
[Nexus 6P Original Android Development] Ejames991:
I'm not finding a version 1.20. Mind sharing where you found it?
[Nexus 6P Original Android Development] Caltinpla:
You must have EXKM installed then it'll prompt you to update
[Nexus 6P Original Android Development] Ejames991:
I did that, but I just updated to the latest version of Chroma using the stock Chroma kernel can I still upgrade to 1.20 though this method? or will it only update a pre-installed version of elementalx?
[Nexus 6P Original Android Development] Caltinpla:
I am not sure but I believe you must have elementalx kernel installed.
[Nexus 6P Original Android Development] Ejames991:
Actually it worked! I went from the built in chroma kernel to 1.20 through exkm, up and running with Ghostpepper and all is well:good:
[Nexus 6P Original Android Development] siraltus:
You can download it via EX Kernel Manager. If you want to install it manually from TWRP, the file gets downloaded to /sdcard/ElementalX.