yashsingh1/xdaforums huggingface dataset:
[Nexus 6P Original Android Development] G-Bus:
I finished yesterday with 5hrs30mins SOT at 10% batt left.

Most of my day is on LTE, with screen brightness at 30-35%. About 30mins to 1hour is on full brightness.

I tried NapTime and Greenify however I haven't noticed any real "improvements" so I removed them. The kernel is on stock settings I haven't touched anything. I really enjoy having something smooth with no apparent hit on the performance. Everytime I started playing, I never found better "balance" than stock. Heck I don't trust 90% of kernels out there; they have a spec sheet that needs 3 posts yet I see no real life improvements.

Also Facebook, Instagram and Google+ push notifications are off. I open them often enough thru the day that its useless to have them drain battery in the background. Apps like Shazam etc I also turned off their notifications because they're obviously useless. I got Gmail, Outlook (Exchange work email) Hangouts, FB Messenger all on push notifications.

Otherwise everything else is untouched. Running Cataclysm latest stable build.
[Nexus 6P Original Android Development] franciscofranco:
That was helpful! I found exactly where it crashes. Let's see if I can go around it.

Only 3 posts for the "spec sheet"? :cyclops:

I'm glad you're enjoying it. You know I'm all about flash & forget - I don't need to write 10k lines of "snake oil" features :)
[Nexus 6P Original Android Development] Franzie3:
Ducking awesome. Make some magic my friend
[Nexus 6P Original Android Development] Devhux:
When you say 30% brightness, is that with or without adaptive brightness enabled?
[Nexus 6P Original Android Development] franciscofranco:
Is anyone up that can help me test the bluesleep panic? If not that's ok.
[Nexus 6P Original Android Development] motoridersd:
What do you do while on LTE with the screen on? Play games, read a book, watch videos?
[Nexus 6P Original Android Development] kolyan:
I have 6-7 hours on stock (WiFi for data mostly)
[Nexus 6P Original Android Development] franciscofranco:
The app doesn't have a floating window, it's very raw, it wouldn't serve you any purpose. System Monitor will be updated soon with support for > 4 cores, the dev has a full time job now, that's why he hasn't updated it yet.
[Nexus 6P Original Android Development] Nocturnal86:
Understandable thanks for the info. I have the app installed to get prompted to when that update comes out.
[Nexus 6P Original Android Development] apascual89:
Got it totally understand, I got the defconfig from the config.gz . For the ramdisk I don't see any changes in your git though (I know it's only a few hours since release). Great start to the kernel like always.
[Nexus 6P Original Android Development] prgopala:
I flashed this in Cataclysm latest version and it gets stuck at 'Android is upgrading - Starting Apps'. Would anyone know what is happening?
[Nexus 6P Original Android Development] franciscofranco:
Yeah I haven't pushed ramdisk to git. I will though, watch for it, probably in the next hours.
[Nexus 6P Original Android Development] trace1er:
On stock, I was getting at most 4 - 4.5 hours of screen on time. So the battery life I am now getting is phenomenal in comparison.
[Nexus 6P Original Android Development] mgear356:
to be honest bro, no lag in games (marvel future fight - 3d intensive), in fact temperature is not as high. just feeling uneasy that the big cores are not turned on at all lol, haha its like having big turbo in the car but not using it.

I use CPU times and look under Core 2 cluster and it shows most in deep sleep. Used other kernel and CPU times shows core 2 cluster with usage times at higher speed i.e. 1958mhz.

Nevertheless, you are ****ing awesome!
[Nexus 6P Original Android Development] franciscofranco:
I don't know what that app is doing, I wrote an app myself to make sure you were not seeing things, and honestly, I don't know what's up with that app, but all cores are online at any time. And yet, just to be sure, I asked System Monitor dev to send me his WIP version with support for more than 4 cores, and again, all cores are online at any time. 1958MHz is the max cpu frequency of the high perf cluster yes, but that's the governor job to make sure the cores are running at optimal frequency relative to the amount of load. If it's not hitting max freq with FK on your workload it's because there's not enough work to justify that huge frequency. And you'll get better battery life in the process. The high perf cores waste ~4x more power comparing to the same frequency on the low power cluster. Deep sleep doesn't mean they are offline, these cores can go into a deeper sleep state while being online, which saves us the hassle of the whole online/offline cluster****. Magic!
[Nexus 6P Original Android Development] franciscofranco:
You're ducking welcome.

PS - (I can't use "****ing" anymore, got another warning, so I'll be using ducking instead)
[Nexus 6P Original Android Development] mgear356:
In Franco we trust. Thanks for taking time to share all these valuable information!

After a reboot, all seems good.. Cpu times were not showing the right figures before
[Nexus 6P Original Android Development] kinesics:
[MENTION=3292224]franciscofranco[/MENTION] are there any settings you recommend for cpu and I/O or the kernel in general. Or just leave everything stock. All i care about is battery life I dont game on my phone just email, web, text, call. Thanks in advance!
[Nexus 6P Original Android Development] dirtyreturn:
What ROM are you guys using to get this kernel in working order? I switched over to Chroma and it's still bootlooping. I'm pretty sure the latest rom release is based off 6.0.1.
[Nexus 6P Original Android Development] franciscofranco:
My philosophy since day 1 on this forum is "flash and forget". I set everything to what I think is the best combination for the most average user, or something I could send to my grandmother and she wouldn't have to change a single value.

Although my settings are probably the most widely used, I'm sure other users have different usages, so they want to change them. That is up to you.
[Nexus 6P Original Android Development] heleos:
Well that's ducking stupid
[Nexus 6P Original Android Development] franciscofranco:
Stock. But there are plenty of users running this on Chroma.
[Nexus 6P Original Android Development] Ofthecats:
What's your reasoning behind merging this commit?
[Nexus 6P Original Android Development] mgear356:
Try flashing Chrome - unsu. Zip - Franco r1 - superuser 261 zip
[Nexus 6P Original Android Development] prgopala:
Ok figured it out. I had to re-root using the systemless method after flashing the kernel and this time the phone boots.
[Nexus 6P Original Android Development] franciscofranco:
Auto-brightness on stock never really worked well for me, always choosing very bright values. So either the sensor calibration is broken or the algorithm on the framebuffer Kernel driver is scaling pretty badly. After merging this patch it scales better and I can actually see the display brightness being set with more accuracy based on the lightning condition.
[Nexus 6P Original Android Development] TheDude:
​

Yeah, I can help. Want me to flash that v8 img?
[Nexus 6P Original Android Development] franciscofranco:
Image attached. I tested it with my BT headphones... as expected, it behaves really weird when the device goes to sleep, but I didn't manage to crash the Kernel anymore.
[Nexus 6P Original Android Development] TheDude:
Do you want logs or do you just want me to flash it and verify its ducked up?
[Nexus 6P Original Android Development] franciscofranco:
The point is for you to see if you can panic the device when using it connected to a BT peripheral with bluesleep wakelock disabled.
[Nexus 6P Original Android Development] G-Bus:
I adjust brightness myself.

Hangouts (texting), Instagram, Facebook, G+, News, Tapatalk & Email. During work break I sometimes watch YouTube and I use Spotify on average 30 mins to an hour a day. I maybe play Dots or Threes 2 or 3 times a week on the train for 15-20 mins.
[Nexus 6P Original Android Development] anonymous-bot:
I have double-tap-to-wake enabled but when I reboot I notice it disables itself. Has that happened to anyone else or is it something on my phone? Using r7 on a Nexus 6P.
[Nexus 6P Original Android Development] TheDude:
Flashed it. Using bluetooth headphones with power amp blasting some Dr. Dre Chronic... bluesleep disabled... No problems so far.

15 minutes still good
[Nexus 6P Original Android Development] franciscofranco:
Thanks. I guess my "hack" kinda worked.
[Nexus 6P Original Android Development] wilson289:
Crushing it on battery life, even with FB app and messenger I'll prob hit 4.5-5 hours SOT! Not a single hiccup with performance. Disabled a few items via Disable Service (fit and wearables primarily). Butter!
[Nexus 6P Original Android Development] hosmsdos:
I am having Bluetooth car issue listening to spotify, the car screen displays one track on the screen, when I change the song track stays the same. Also sometimes I get calls and music does not stop. I can hear the music on earpiece while I am talking. I don't know if its about all this new bluetooth timer stuff. Should I disable bluetooth wakelock? Or this has nothing to do with it
[Nexus 6P Original Android Development] inffy:
Doesn't really sound anything releated to kernel
[Nexus 6P Original Android Development] nexusmaniac:
Just set both bluedroid and bluesleep to disabled and have a reboot within 10 mins of doing so :(
[Nexus 6P Original Android Development] italia0101:
I have the Wakelock disabled, haven't had a single reboot.
[Nexus 6P Original Android Development] Ofthecats:
Hey Franco, what do you think about all the work being done on tuning interactive Governor? With profiles named ghostpepper and maddog?

http://xdaforums.com/showthread.php?t=3290605
[Nexus 6P Original Android Development] TheDude:
Guess it did! I did not have any problems with it overnight either...
[Nexus 6P Original Android Development] blueren:
[MENTION=3292224]franciscofranco[/MENTION]

On the latest R7 and the latest FKU, when the auto high brightness mode is enabled with a custom (3500) value, every once in awhile, when the screen is turned on, the screen brightness stays very low for a couple of seconds before it adapts to the right brightness level. Turning the feature off makes this odd behaviour go away.
[Nexus 6P Original Android Development] Devhux:
I'm hoping to grab a last_kmsg right when it happens again, but it appears one of the WiFi wakelock settings might be causing reboots as well.

(Then again, maybe I'm not supposed to disable those yet?)

Edit - ok, not finding any last_kmsg files after it rebooted again. What should I grab for you?
[Nexus 6P Original Android Development] TheDude:
Try the new kernel and test it out. See if it fixes it for you, that's what we are doing here....
[Nexus 6P Original Android Development] nexusmaniac:
My quote that you just quoted, I quoted Franco with his latest kernel post ;) I'm on the latest boot.IMG haha :) And I still had a reboot
[Nexus 6P Original Android Development] TheDude:
ohh ;) bummer then. I just tested with bluesleep disabled not bluedroid and it worked fine. Ill try bluedroid and see if I can reproduce.
[Nexus 6P Original Android Development] Franzie3:
sorry bud i passed out early last night. i'll run flash it now and see if it get any issues while paired to my hwatch. if i do i'll supply logs again.
[Nexus 6P Original Android Development] franciscofranco:
I think I'll remove the bluesleep wakelock disable, seems to cause more problems than it's worth.

I already posted about it somewhere in that thread. I'll say it again, I don't agree with everything, but I commend the effort.

I have no idea! :/
[Nexus 6P Original Android Development] TheDude:
So I got bluesleep and bluedroid disabled and everything is working perfectly. No kernel panics/reboots. What audio player is this happening on? I am running PowerAmp beta from here. Maybe it holds a wakelock or something. :confused:

---------- Post added at 09:29 AM ---------- Previous post was at 09:23 AM ----------

It would be cool if fkupdater has the ability to import other performance profiles/configs. Just sayin ;)
[Nexus 6P Original Android Development] chowhoundb:
I think it is more related to having a fitness band or smartwatch paired all the time. Once you turn the screen off and the phone starts to sleep, if bluesleep is disabled, the kernel panics and forces a soft reboot.
[Nexus 6P Original Android Development] TheDude:
I am using a set of bluetooth earbuds to test this. Would it not have the same effect as a watch? But I guess it could be watch related. I personally don't wear one because I have a phone ;)

I got a rant about these fitness bands.. What's the deal with this fad? Is it cool to wear a band that is pretty inaccurate at best so your friends can see that you work out? I go to crossfit and wear a fitness band! Whooo hoooo
[Nexus 6P Original Android Development] chowhoundb:
I understand the rant. I actually bought a miband for a completely different purpose then fitness. I use it as a notifier for my phone. If i get a call, message, or alert it will vibrate and flash a different color. It lets me keep all my ringtones turned off, but still know whats going on. It also lets me keep my phone unlocked when I am close by.
[Nexus 6P Original Android Development] Tzfardaya:
But snake oil has fantastic thermal properties and helps your device run sooooo much cooler...

I wear a fitbit charge hr. We know that they aren't 100% accurate. I wear it mostly to track trends in my resting heart rate (lower is usually better) I join the fitbit challenges to help push/motivate others to get/be/stay active (I usually get 20,000 steps a day at work...)

The general advice with step counters is not to worry a out the specific number, use it to track trends.... Are you increasing or decreasing your overall....
[Nexus 6P Original Android Development] Franzie3:
[MENTION=3292224]franciscofranco[/MENTION] Had a reboot. took a few hours but it did happen. here are the logs and some notes about thigns i noticed leading up to it if it helps...

my watch had disconnected form the phone, not sure if this was because i walked out of range or because of the devcies sleeping and not reconnecting. I know once or twice i walked away from my desk to my lab machines maybe 30-40 feet away. I had to toggle bluetooth to get it to reconnect properly as i noticed notifications werent coming in.

Now when the reboot happened i had both watch and phone on me. I was in my bosses office (irrelevant) but i got a phone call and noticed that the watch wasnt vibrating. i just hit volume down on my phone to stop the vibrating but when i took it out of my pocket maybe 30 seconds later i noticed it was rebooting.
[Nexus 6P Original Android Development] skulldreamz:
So what if it is cool to some people? Kinda funny coming from someone that has to add 420 to their name. Your broadcasting something that you think is cool but it's just on the opposite end of the spectrum than someone going out to lift weights and take care of their health. Your "rant" is one of those things that is totally normal to think but it's also something you keep to yourself cuz it's nothing but ot and had the negative connotation to belittle people. smfh
[Nexus 6P Original Android Development] TheDude:
Pshhh.. I know lots of guys that are excessively fit that lift weights high and don't wear a little band ;) haha
[Nexus 6P Original Android Development] Franzie3:
another one too....sorry here's logs again
[Nexus 6P Original Android Development] Devhux:
Just wondering what program you're using to get these logs? I'm having an issue with reboots and would love to find out what's causing them
[Nexus 6P Original Android Development] chowhoundb:
I have been searching the thread and haven't come up with an answer. I'm running r7 with pure nexus and the volume of the headphones and the speakers is super loud. I saw some others had this issue but didn't see any resolution.

For now, I have entered a -15 gain for the headphones and speakers. Anyone run into this one?
[Nexus 6P Original Android Development] franciscofranco:
Ok ok, no need for more logs. Just don't use bluesleep wakelock disable anymore!

All volumes are 100% stock on FK - sorry!
[Nexus 6P Original Android Development] Franzie3:
Yea i enabled it for now. Only providing the logs from the test builds anyway. If you need anything i'll always help.

---------- Post added at 01:05 PM ---------- Previous post was at 01:04 PM ----------

using alogcat for logcat stuff and the kernel logs i use root explorer and pull them from /sys/fs/pstore
[Nexus 6P Original Android Development] daivee:
Cool story bro.
[Nexus 6P Original Android Development] daivee:
Congregations [MENTION=3292224]franciscofranco[/MENTION] on your achievement. Thanks for hooking up the community as much as you have. Amazing journey.

Edit: don't mind the misspelling ?
[Nexus 6P Original Android Development] Gytole:
I don't know how but I laughed at that...
[Nexus 6P Original Android Development] TheDude:
See, no fitness band on this guy!
[Nexus 6P Original Android Development] erraggy:
For that I say you've redeemed yourself for the OT rant. LOL
[Nexus 6P Original Android Development] aeppacher:
Re-enabling bluesleep wakelock solved my reboots too
[Nexus 6P Original Android Development] Devhux:
I keep getting reboots when I plug my phone in to charge. Cataclysm rom, Franco v7 kernel.

Logs attached (hope these are enough)
[Nexus 6P Original Android Development] Upstreammiami:
So temasek won't work with this kernel?
[Nexus 6P Original Android Development] nathanchance:
No, this kernel won't work with CM ROMs. There is a link in the OP to an unofficial build by [MENTION=3515982]apascual89[/MENTION] that will work with CM ROMs though.
[Nexus 6P Original Android Development] NuLLV01D:
Please see the OP. [MENTION=3292224]franciscofranco[/MENTION] has added [MENTION=3515982]apascual89[/MENTION] CM kernel long before.
[Nexus 6P Original Android Development] Franzie3:
im not a log reading expert. i'm slowly learning on my own. Can you pull the console-ramoops from \sys\fs\pstore. if it is kernel related it might have a clue there.
[Nexus 6P Original Android Development] franciscofranco:
See this post on Shamu's thread: http://xdaforums.com/showpost.php?p=64812515&postcount=8022 if it goes alright I'll replicate here as well.
[Nexus 6P Original Android Development] kingmikel:
Welcome to 2016 ;) just kidddddddddddding
[Nexus 6P Original Android Development] Asselalf:
No Problem for me... I have your Kernel and SuperSu in one Folder and flash the 2 Zips together in TWRP. But this new method should be fine for the ducking noobs [emoji12]

Gesendet von meinem Nexus 6P mit Tapatalk
[Nexus 6P Original Android Development] rebretz000:
I like this idea. Thanks.
[Nexus 6P Original Android Development] Devhux:
I didn't plug in since last night, but see if this helps.
[Nexus 6P Original Android Development] Franzie3:
duplicate the issue and then pull it. easier that way
[Nexus 6P Original Android Development] hosmsdos:
Guys I am having a problem where phone shows WIF connected but all apps do not get WiFi even browser DC WiFi and RC will not help, only reboot fixes this issue. Any ideas I am on r7 with cat

Update: switching between 2g and 4g data fixes this issue
[Nexus 6P Original Android Development] Phazmos:
No problems, this kernel, or any other kernel I've used, or any rom I've used.

Sounds like a router issue, not kernel/rom problem.
[Nexus 6P Original Android Development] rebretz000:
I've been having this issue for a while and it's getting worse. Might be something with the phone as mine does it on stock with no modifications. I'm going to have to RMA mine tomorrow.
[Nexus 6P Original Android Development] franciscofranco:
I don't see anything wrong in the log. Are you using stock charger & cable?
[Nexus 6P Original Android Development] Devhux:
Yes I am.

It didn't happen this evening when I tried plugging it in. I was originally using deep Hibernation in Greenify, and I thought I disabled it before reporting the issue, but I forgot to reboot fully.

Hopefully that's what it was...
[Nexus 6P Original Android Development] Devhux:
Spoke too soon..... Crashed again. Here's updated logs right after it happened.
[Nexus 6P Original Android Development] blueren:
[MENTION=3292224]franciscofranco[/MENTION]

I was giving the v4a + dolby atmos from another thread a whirl on cata. Looks like the when atmos is enabled and the screen is off, there is a bucket load of crackling and the music playback really slows down. I was told it was because of the kernel and faux sound implementation. What's your view on this? Is there a specific reason as to why this happens?
[Nexus 6P Original Android Development] virland:
It doesn't have to do with the ducking noobs ?....

If someone wanted a custom rom with franco kernel was getting bootloops.

The only solution was stock rom and franco or custom without franco.

I'm glad that we might be able to combine these two from now on.

Στάλθηκε από το Nexus 6P μου χρησιμοποιώντας Tapatalk
[Nexus 6P Original Android Development] lobrau:
[MENTION=3292224]franciscofranco[/MENTION] I noticed that the readahead buffer is selected to 128kb instead of the default 512 that would come with stock kernel. Curious if you found that the lower gave you better performance?
[Nexus 6P Original Android Development] franciscofranco:
There's absolutely nothing in the Kernel logs:

[89916.136206] Restarting system with command ''.

[89916.137469] Going down for restart now

[89916.138104] qcom,qpnp-power-on qpnp-power-on-ffffffc0c03a1400: PMIC@SID2: configuring PON for reset

Do you have a case or something that could put your power button in a miserable stuck state? Better question yet, does this happen with stock Kernel? You're the first one that I see something like this reported and it doesn't seem that there's a Kernel panic so it's really hard for me to give you some answers. Do you have Xposed or some crazy framework installed?

I don't know. I don't use faux's things and cpufreq scales normally during screen off. And cores will come up/down depending if the device is awake or not, so you're covered. It's pretty much the same behaviour as stock so you would have the same problem with stock Kernel.

Because of this: https://github.com/MotorolaMobilityLLC/kernel-msm/commit/e90506c7540eba6047e97d881a82ac2574106072 I trust these guys know what they are doing, they know better than me, or any of us.
[Nexus 6P Original Android Development] Phazmos:
I've never seen a benefit to anything more than 128k, if anything, performance goes down when higher, especially over 512.
[Nexus 6P Original Android Development] franciscofranco:
The anyKernel2 method that I posted about couple pages ago is a resounding success on Shamu's FK thread. I'll be transitioning to that method for this device in the coming days so that FK will work on any rom.
[Nexus 6P Original Android Development] inffy:
The. Best. News. Ever.

... Or at least for a while [emoji12]
[Nexus 6P Original Android Development] Devhux:
Sorry, I am running Xposed. Forgot that it can mess up things. Going to uninstall and see what happens.

It's definitely not a power button issue in my case as it's not a full reboot (just gives me the boot animation).
[Nexus 6P Original Android Development] franciscofranco:
There you go, that's absolutely not Kernel related if it's not a full reboot. Otherwise it would panic the Kernel and the whole init process would restart.
[Nexus 6P Original Android Development] bikeryder007:
That is coming from the Dolby Atmos app. There is a button at the top of that app that will disable it. So I just toggle if off and on whenever I listen to music. It is worth it though. It sounds incredible.
[Nexus 6P Original Android Development] :
Badassness! ?
[Nexus 6P Original Android Development] Devhux:
Thanks for clarifying. I've learned something new today. :)