yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Original Android Development] infus38:
Hello i am on version v13 and i hear that good of the last verssion on the github, normally i use that final version But I would like to try this time the last build can you tell me if there is a risk? I have heard about undervolting ,Thank you for your reply
[Nexus 6P Original Android Development] frap129:
Glad to hear it's working well! I'll release v14 with the same chill+relaxed tunning

None of the weeklies include undervolting, so they're safe
[Nexus 6P Original Android Development] infus38:
Thanks :D but where Can ifind a build undervolting

Thanks for all your work :o
[Nexus 6P Original Android Development] Face_Plant:
If you read the last 15 or so posts in this thread you will see that no builds anywhere have undervolting. The one and only build with undervolting is the one he built for himself for testing.

Future builds will have undervolting, but only users who are advanced enough to read the code and unlock it will be able to use it.
[Nexus 6P Original Android Development] infus38:
OK thanks so for peaple don't know how ,He can never?
[Nexus 6P Original Android Development] mrcooter:
The theory behind that choice frap also explained in a post not too far back. 6P had issues when undervolting and when a crash occurs because of it. For this reason it's not something you should mess with unless you're familiar enough to enable it.
[Nexus 6P Original Android Development] infus38:
OK i understand thank you, thanks for your answers so i will stay on v13 and wait for the next build oficial
[Nexus 6P Original Android Development] frap129:
Spectrum Injector has been released!

Don't like the default profiles in Electron? Want to create your own or add Spectrum support to a different kernel? Now you can with Spectrum Injector! More details at https://xdaforums.com/showpost.php?p=72165107&postcount=3

Spread the word!
[Nexus 6P Original Android Development] mrcooter:
Weeklies are running great, no reason to stay on official release unless you just want to.
[Nexus 6P Original Android Development] infus38:
Yes I want to actually try this is more fluid I have the impression (I am the only one to find the animation more violent?More reactive, but I like very much, the only problem is that I can not manage a day with the battery I hope this build will solve this problem )
[Nexus 6P Original Android Development] frap129:
v14 has been released! This build should significantly improve performance while maintaining similar battery life to v13.

Changes in this release:

Switch from Electron+GlassCannon profile back to Chill+Relaxed based

Disable Gentile Fair Sleepers

Disable FSync by default

Disable trace_printk

Disable TTWU_QUEUE

Fingerprint boost improvements

Misc upstream commits
[Nexus 6P Original Android Development] frap129:
Now you don't have to. v14 is out with some improvements that weren't even in the last weekly :cool:
[Nexus 6P Original Android Development] churchey360:
Very much appreciated! ??

---------- Post added at 08:47 PM ---------- Previous post was at 08:02 PM ----------

Running great on SlimROM so far! Changed a few things with Kernel Adiutor app and is running great
[Nexus 6P Original Android Development] Bobbaloo:
I agree, running great AND MUCH appreciated! Maybe now I won't need to be running butterfly
[Nexus 6P Original Android Development] infus38:
Thank you i try it's great you be a genius:laugh:

thanks for all !:p
[Nexus 6P Original Android Development] deani77:
Thanks... Running great with Carbon ROM
[Nexus 6P Original Android Development] shantam3108:
The dev for redmi note 3 already updated his kernel yesterday with spectrum support :)

Word has already been spread
[Nexus 6P Original Android Development] infus38:
Hello I have a problem the battery goes down even faster I find ?

Thanks for all Replies
[Nexus 6P Original Android Development] Face_Plant:
What governor are you using? Chill+relaxed? Electron? Other? Are you using input boost? What ROM are you using? Any other mods or kernel settings we should know about?
[Nexus 6P Original Android Development] infus38:
I use latest purnexus data and cache f2fs and just flahs latest v14 with nous edit (and beans gapps ,magisk v13.2 )
[Nexus 6P Original Android Development] Face_Plant:
When you say the battery goes down faster, do you mean with the screen off or on?

If it's with the screen off, install WakeLock Detector (free on the Play Store) or Better Battery Stats (free on XDA) and allow them to collect data for a day. At the end of the day see what's been draining your battery. If your aren't sure, post a screenshot here and we'll be able to tell you.

If it's with the screen on, are you using your phone any differently or start using apps that are resource intensive (examples include things like Pokemon Go, Snapchat, the camera, etc)?
[Nexus 6P Original Android Development] infus38:
I use only my phone and SMS the problem is when I use but I will do with it does not matter
[Nexus 6P Original Android Development] Face_Plant:
Whenever funky battery problems appear out of the blue, it never hurts to do a cache/dalvik wipe in TWRP.
[Nexus 6P Original Android Development] infus38:
I do a clean instal of each rom each time, but do not worry I can live with , thanks for all :)
[Nexus 6P Original Android Development] Lawlrus:
Not sure what you expect for answers.

You gave no information, but honestly the best thing to do is use an app to check your wakelocks, gsam or better battery stats, because nine times out of ten there is a rouge app keeping the device awake.

If your wakelockd are under control, come back with more information.

Kernel settings used, what ROM, was it clean or dirty, if you installed any other mods, etc. Etc.

Give ad much information as possible in a post if you're having issues, even if you think the information is moot
[Nexus 6P Original Android Development] infus38:
On previous page I answered and explain what I use, but do not worry , I will do with, it was a simple question, Thanks for all of you having done so much ;)
[Nexus 6P Original Android Development] Lawlrus:
Yep, replied before I made sure u was on the most recent page lol.

I don't see that you've checked your app wakelocks, If you haven't, I'd look into that, if your wakelocks are good, and you have given your ROM a few cycles, I'm not exactly sure what the issue could be. I've tried most all custom kernels on various ROMs, and for the most part they all preform roughly the same.
[Nexus 6P Original Android Development] IonutGherman:
Sometimes I have for less than 1 sec white screen after unlocking my phone with fingerprint, but not every time. I will try to record a log for you, dev.

Using v14 kernel
[Nexus 6P Original Android Development] Bobbaloo:
I started seeing that light screen again after I set Naptime to disable motion sensors with screen off. I figure it to be inconsequential
[Nexus 6P Original Android Development] IonutGherman:
I don't use Naptime. Only Greenify and WakeBlock
[Nexus 6P Original Android Development] Bobbaloo:
I saw it a while ago and didn't mind it then just as I don't mind it now. It's like a millisecond, right?
[Nexus 6P Original Android Development] IonutGherman:
Yes
[Nexus 6P Original Android Development] Bobbaloo:
Actually, I just realized mines gone. Lol. Maybe it was the ROM and gone with update haha. See, I really didn't pay it any mind
[Nexus 6P Original Android Development] IonutGherman:
It appears only sometimes. Maybe, maybe not. But I know that this is a kernel problem. I used franco kernel a long time ago, it has this white screen too, but solved after a kernel upgrade.
[Nexus 6P Original Android Development] mkos86:
I just had some problems with Google camera on v14. I could take 1-2 photos when camera screen froze completely (no FC) and I couldn't even lock the phone. Then after 10-60 seconds it had locked by itself. It did this for about an hour when I tried to take lot of pictures. When I finally rebooted, camera seemed to work fine again.

I mainly use camera nx but I tried normal Google camera too with same symptoms.

Don't know if it is kernel related but this issues came after flashing v14. Will try to replicate and get logs...

crDroid 3.5

Electron kernel v14 (default settings)
[Nexus 6P Original Android Development] frap129:
Huh, I'll look into it. I always just assumed it was part of the screen on animations but if franco fixed it :confused:

Doesn't sound like a kernel issue, but I'll take a look at the log

EDIT: I'll look into it more. I just took 3 pictures on my undervolted build and crashed my phone lmao
[Nexus 6P Original Android Development] phantom146:
The white screen is not caused by your rom or your kernel. It is caused by doze upon waking up on deep sleep. This occurs when motion sensing is off such as greenify's no motion detection feature from aggressive doze. So no need for logs etc. the white screen is perfectly normal if you are trying to use aggressive doze (naptime etc.)
[Nexus 6P Original Android Development] frap129:
Many ROMs have actually merged a commit (made by me) into they're device tree that disables dose motion sensing, so even if its not my kernel, im partly responsible for it :p
[Nexus 6P Original Android Development] phantom146:
You son of a..

*sharpens pitchforks*
[Nexus 6P Original Android Development] shantam3108:
Carbon rom + electron v14 (mainly playing Clash Royale and Google plus, Twitter etc etc . Mixed Usage lte+wifi and 45 min streaming songs via Spotify). Really great even with too much gaming it lasted me this long

And sot it 3h 8m and sorry for crazy screenshots. Still feeling a bit dizzy from all the medicines :mad:
[Nexus 6P Original Android Development] rich6619:
What theme are you using ?
[Nexus 6P Original Android Development] shantam3108:
Pitchblack
[Nexus 6P Original Android Development] mkos86:
I was just about to report that I was trying my best to replicate camera crash but I couldn't do it. Took like 50 pics and everything was fine.. But hopefully you'll find something :)
[Nexus 6P Original Android Development] nicholasknicks:
Guys does this ROm have the option to turn off the Nav bar
[Nexus 6P Original Android Development] IonutGherman:
This is a kernel thread, not a ROM
[Nexus 6P Original Android Development] Mystique:
[MENTION=5051294]frap129[/MENTION]

Just loaded v14, and it looks great.. I downloaded spectrum, and cleared all my settings on exkm.. I don't think spectrum is setting anything..

I see inside init.spectrum.rc:

# Battery

on property:persist.spectrum.profile=2

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor relaxed

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 302400

write /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq 1248000

write /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor relaxed

write /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq 302000

write /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq 1440000

angler:/ $ getprop persist.spectrum.profile

2

angler:/ $ head /sys/devices/system/cpu/cpu[0,4]/cpufreq/scaling_*

8< -- snip -- >8

==> /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor <==

interactive

==> /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq <==

1248000

==> /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq <==

384000

8< -- snip -- >8

==> /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor <==

interactive

==> /sys/devices/system/cpu/cpu4/cpufreq/scaling_max_freq <==

768000

==> /sys/devices/system/cpu/cpu4/cpufreq/scaling_min_freq <==

384000

Running Magisk v12 (still) and org.frap129.spectrum is granted superuser rights.

logcat doesn't show anything.. How to help?

[ro.six.version]: [7.1.2-20170705-N2G48B-v4.0-R3Ds]

Linux localhost 3.10.107-Electron-v14+ #1 SMP PREEMPT Sat Jul 15 14:27:06 EST 2017 aarch64

angler:/ # getprop | grep spectrum

[persist.spectrum.kernel]: [Flash]

[persist.spectrum.profile]: [2]

[spectrum.support]: [1]

angler:/ # sh -x init.spectrum.rc

+ on 'property:sys.boot_completed=1'

init.spectrum.rc[6]: on: not found

+ u:r:init:s0 root root -- /init.spectrum.sh

init.spectrum.rc[8]: u:r:init:s0: not found

# Initialization

on property:sys.boot_completed=1

# Set default profile on first boot

exec u:r:init:s0 root root -- /init.spectrum.sh

exec u:r:su:s0 root root -- /init.spectrum.sh

# Enable Spectrum support

setprop spectrum.support 1

setprop persist.spectrum.kernel Electron

Thinking there needs to be more on that 'exec' line..

No idea though..
[Nexus 6P Original Android Development] frap129:
I'm going to assume youve tried rebooting. Do you happen to have any other mods installed like govtuner? For the next release, I'm going to try to fix rootless exec using sepolicy injections to I can remove the exec u:r:su:s0 root root -- /init.spectrum.sh line, which may fix your issue
[Nexus 6P Original Android Development] D-m-x:
Just wanted to swing by and say this: Great Kernel, 1 day of usage now and I'm seeing great performance and great battery life. Could be a little premature but I don't think so. If everything stays this great I would say the best kernel I've tried for the 6p untill now and I've been using this phone from the beginning.

Gesendet von meinem Nexus 6P mit Tapatalk
[Nexus 6P Original Android Development] HikingMoose:
[MENTION=5051294]frap129[/MENTION], hey man, I've been using this for I think 3 days now. I'm really digging it. My idle drain with screen off has dropped, and my screen on drain has dropped a lot. Lately with another kennel it has been running between 12-15% active drain, now with this I'm at 8-11% which is awesome. That would potentially yield 10 hours screen on of continuous use!!!

Great work. I'm not sure if it's the undervolting, or everything else you've done to build this beautiful kernel lol. Usually undervolting doesn't amount to as much battery savings as we all want to believe. But perhaps in this case....
[Nexus 6P Original Android Development] spuri78:
[MENTION=4141782]HikingMoose[/MENTION], you using stock settings on the kernel? Thanks
[Nexus 6P Original Android Development] phantom146:
Just a heads-up [MENTION=5051294]frap129[/MENTION], I don't know if somebody already reported this but the interactive governor on electron sticks to maximum frequency whatever you do in any kernel managing apps. I have experienced the same with [MENTION=6842057]The Flash[/MENTION]'s kernel.
[Nexus 6P Original Android Development] frap129:
What kernel manager are you referring to? I use the latest KA and I haven't experienced such an issue
[Nexus 6P Original Android Development] nathanchance:
I think I know what you are saying. The max frequency, no matter what is specified, gets reset consistently?

[MENTION=5051294]frap129[/MENTION] I bet it's the fingerprint boost driver. My users reported this and I just removed over clocking.
[Nexus 6P Original Android Development] HikingMoose:
No I'm not. It's a profile I'm honing. I might share it at some point if it keeps going well. It's probably similar to what Phantom is working on, we'll see.
[Nexus 6P Original Android Development] phantom146:
I'm using EX kernel Manager atm, haven't tried KA since I moved on to franc's for now to do some interactive testings. Will move and back once some of my cycles are recorded.

Yeah I saw this one too with some of your users. I think it was removed last patch. I'd go and check it out again with your kernel soon. If you want I'd go and fetch some logs.
[Nexus 6P Original Android Development] frap129:
FP boost only changes the min frequency, it shouldnt touch max. It could be interactive itself changing the frequency, which I'll look into.
[Nexus 6P Original Android Development] HikingMoose:
I can't find the finger print boost. Can anyone point me in the right direction? Mine takes about a second to wake.
[Nexus 6P Original Android Development] frap129:
FP boost is enabled by default
[Nexus 6P Original Android Development] nathanchance:
Don't pay attention to 4am Nathan :silly:

EDIT: Except it boosts to policy max; isn't that always the maximum frequency period, not the current max freq? What happens if min is boosted above the current max freq?
[Nexus 6P Original Android Development] infus38:
Hello , I have another question (I'm currently using v14 ), can you tell me if it is useful to flahs Advanced Interactive Governor Tweaks (for example WINGOKU Interactive Governor Profile ) And if yes, what is the best for autonomy without lag (I do not play it is just at the interface I would like to have no lag) Thanks for any help :)
[Nexus 6P Original Android Development] frap129:
I'll look into that, I'm pretty sure max is the set max though.

Read the OP
[Nexus 6P Original Android Development] infus38:
OK thanks
[Nexus 6P Original Android Development] Lawlrus:
I've also noticed this on all types of ROMs with custom kernels and stock, not sure what its about, but it's almost like the screen glitches or something.
[Nexus 6P Original Android Development] HikingMoose:
I used to see it intermittently each time I flashed a kernel update. Got example, a new version of my kernel is released, so I wipe dalvik and cache and flash the update. For the first day, or at least first few hours, I'll see that snowy static screen flash when I wake the phone. It only is a fraction of a second for me. But the next day, it's gone and I usually don't see it again.
[Nexus 6P Original Android Development] sapphirecoupe:
Fsync still shows as enabled in ekm, and still can not be disabled...
[Nexus 6P Original Android Development] shantam3108:
I have it disabled. Wait for a few seconds after clicked on fsync for it to get disabled
[Nexus 6P Original Android Development] HikingMoose:
I've seen this with other settings. Sometimes you have to click it, just once, then exit out of the app (or you might have to just hit BACK). Then go back to that page and it should show that it's changed, and your safe to hit the run at boot toggle.
[Nexus 6P Original Android Development] preference:
Battery life is enormously better on this kernel. Just wanted to say thanks
[Nexus 6P Original Android Development] frap129:
That's the goal! Glad to hear it works well for you
[Nexus 6P Original Android Development] mrcooter:
Have the automated weekly builds come to a halt for now? Or is an error stopping them?
[Nexus 6P Original Android Development] frap129:
Weekly builds have been paused because I don't want the undervolting changes to be available to the public. Still trying to dial in values that are crash free
[Nexus 6P Original Android Development] HikingMoose:
Are any of the versions you've released for the general public undervolted? I thought your kernel was already undervolted because of the voltage tables you had shared at one point. Shoot, that stinks.

I'm on v14.
[Nexus 6P Original Android Development] phantom146:
Don't be excited on undervolted kernels. I have tested one but the difference in battery life is very negligible (actually its the same as every kernel). The heating (when charging) is still there but is of course decreased a little. A good dev does not release risky things unto public. Right now undeevolted kernels are very dangerous to regular users and I'm glad joe paused the weekly dev. for these issues.

Undervolting has been depreceated since 2015. Newer phones such as Angler has little to no advantage on undervolting. For now let's hope for more upstream/bionic patches from [MENTION=5051294]frap129[/MENTION] rather than an unstable undervolted kernel.
[Nexus 6P Original Android Development] frost_nz:
I get excited about any release from [MENTION=5051294]frap129[/MENTION] TBH... ;)
[Nexus 6P Original Android Development] HikingMoose:
I knew that people have given up on undervolting, and now that many phones have dynamic voltages, they've really given up. But the info supplied just mislead me I guess. Carry on.
[Nexus 6P Original Android Development] D-m-x:
Just to dig this up, I'm also seeing some Camera Problems. The Phone becomes very unresponsive when taking Pictures to the Point that the Camera App will hang and eventually stay at that. Sometimes the Phones doesn't react at all without a hard reboot. It's hard to get logs since it's just the App freezing and not crashing per se but I'll try.

Nevermind, scratch that, tested with Stock Kernel, it's just the combination of the crappy Google Camera and Overheating Qualcomm SOC in this Phone.
[Nexus 6P Original Android Development] frap129:
Good to hear, one less thing to work on.

As a general update: undervolting is a bust. After continuously adjusting the voltages for weeks now, I haven't found one that is certifiably stable. The only thing I haven't looked into is only undervolting the lowest frequency, but at this point I doubt it's worth it since angler uses dynamic voltage anyways. I do have some other improvements lined up for v15, so not all is lost :highfive:
[Nexus 6P Original Android Development] Face_Plant:
Battery life with this kernel plus a few tweaks is great. I could easily hit 10 hours or more of SOT if I wanted, but I don't like letting my battery get too far below 20%.
[Nexus 6P Original Android Development] spuri78:
That is awesome. Please share those tweaks with us. Are you on the latest version of the kernel? Also what ROM?
[Nexus 6P Original Android Development] DEVILOPS 007:
Well part of it is likely wakeblock for the idle drain but not sure what else has been changed and tweaked.

---------- Post added at 07:55 AM ---------- Previous post was at 07:55 AM ----------

Also I agree, stop keeping secrets from us! Lol:D
[Nexus 6P Original Android Development] spuri78:
I wakeblock, use naptime, Auto sync off, don't have GPS or location on all the time but still can never get sot like this lol.
[Nexus 6P Original Android Development] Face_Plant:
The ones that will help with battery life are changing the governors from chill/relaxed to electron to keep the CPU frequencies under control and lowering the big/little core minium frequencies to 302MHz instead of the default 384/633MHz.

With chill/relaxed I noticed that the CPU frequencies tended to wildly jump at the slightest increase in load, whereas with an interactive based governor, like electron, they remain under control. I still get great performance with much better battery life. For the first 25% of the drain I was still on chill/relaxed. I wonder how much better I could have gotten had I used electron the entire time...

I'm on v14 of Electron kernel with the July release of Pure Nexus.

Edit- I forgot to mention that I also disable any and all forms of input/touch boost. This decreases fluidity of the UI a little, but not enough to bother me.

WakeBlock definitely helps with idle drain, but yesterday it was actually quite bad. Usually it's around 0.5% per hour, but as you can see in my screenshots I had a pretty poor signal yesterday, so my phone was held awake trying to get a signal. Other things I use to help with idle drain: doze for GMS+ (Magisk module) and Greenify.

Also, I'll come right out and admit it: I wasn't doing anything intense like gaming or Facebook with my phone. I was simply reading posts on a a website at a low brightness over WiFi the entire time. If you feel cheated after reading that, then I am sorry. I simply wanted to share what the 6P is capable of given optimal conditions.

Keep in mind that my 6P is only 7 months old and I am very anal about taking care of the battery, so it is probably in better condition than those with release day 6P's whose batteries are almost two years old.
[Nexus 6P Original Android Development] frap129:
I've noticed that in certain situations, the electron gov is outperformed by interactive, even though that shouldn't be the case. To solve this issue, as well as improve performance and battery for all of my custom governors, v15 will be shipping with a custom Power HAL. It should be compatible with all roms, but I plan on doing thorough testing to ensure this.
[Nexus 6P Original Android Development] CyberpodS2:
I would love someone to post the settings from a successful Wakeblock config. What Wakelocks and what block timing??
[Nexus 6P Original Android Development] shantam3108:
Here

https://xdaforums.com/nexus-6p/general/taking-wakeblock-requests-t3583397