yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] uh60james:
I believe the changes he made to thermal throttling will allow it to run better assuming you don't have one of the low binned chips.
[Nexus 5 Original Android Development] afunyun:
I only have a PVS 2, it's scoring much higher than the PVS 3 I sent back for warranty
[Nexus 5 Original Android Development] franciscofranco:
Mpdecision dosnt touch max freq.

Thats from the radio driver, means you had bad signal -.-
[Nexus 5 Original Android Development] Technecium:
Are either of you used to listening to a lot of music? If so then yes, you might be seeing higher battery drain and more frequent jumps to 2.2ghz than previous versions because of that. It has to do with interactive governor.

If you do listen to lots of music, try using ondemand governor when playing audio. I set Tasker to switch to ondemand when the screen if off and interactive the rest of the time.

The changes to interactive are great for quick bursts of processing like browsing, etc, but jumps around a lot to accommodate the load. Ondemand seems to play nicer with processes that have a longer yet lower load.

If you're not music listeners then try bbs to see what is going on.
[Nexus 5 Original Android Development] ol@fson:
VPN

I don't know if this might be kernel related, but as VPN should be part of the kernel, it might be ...

I can establish a VPN (L2TP/IPsec PSK) connection without problems (tried with different hosts), but when I try to disconnect, it just closes the popup and nothing happens. The connection remains until I reboot the phone.

My ROM is stock 4.4.4 and no xposed or whatsoever installed.

Solved. Was not Kernel related, reflashed system.img and everything works as usual - No idea what screwed it ...
[Nexus 5 Original Android Development] a5pe4:
Nope haven't listened to music at all actually with the latest. I know I have a lot with previous releases. But yeah I'll check out bbs
[Nexus 5 Original Android Development] Tzfardaya:
Why 4.4.2 still? 57 works best with 4.4.4

Your phone drops back to r54 randomly? . That's an odd bug, I have not idea what would be causing that...

Please keep in mind you two that after flashing a new kernel, Android runs a bunch of system processes I. The background to rebuild various databases, which is why you really shouldn't compare the first charges cycle on a kernel to previous kernels...
[Nexus 5 Original Android Development] a5pe4:
Lol no! I'm saying I chose to go back to 54 out of the other releases randomly. Also as I've said I've been using this for over a week so it's definitely not the first couple of charges! Just clarifying...
[Nexus 5 Original Android Development] Tzfardaya:
How are you checking max cpu freq then?

Tried this, no lock, also used stability tester to force the phone into throttling several times... Recovered back to 2265 max each time...
[Nexus 5 Original Android Development] franciscofranco:
Exactly, I cannot reproduce it no matter what I do.
[Nexus 5 Original Android Development] Tzfardaya:
Neither can I... I'm even trying the roms they're using too... (no other mods though, just rom/art/kernel)
[Nexus 5 Original Android Development] Technecium:
You're not trying hard enough...
[Nexus 5 Original Android Development] Tzfardaya:
Probably... But I'm lazy....
[Nexus 5 Original Android Development] Aerowinder:
Have you tried lowering the throttle temp to 55c?

I could never reliably reproduce it, it just happened over the course of a few days of normal usage.

But as I said in the last post, since changing throttle to 65c, no issues.

We believe that you are unable to reproduce it. You guys have my gratitude for all the effort you've put into trying to track down the elusive throttling issue. Hopefully my logs will be better if it happens again.
[Nexus 5 Original Android Development] Technecium:
Nah...I commend your efforts. The thread community as a whole was criticized more than once for not trying to help. The past few days multiple users in here have participated to try figure out what is going on with this. Tried to reproduce it but couldn't. Many of the questions asked got no answers. People trying to help or just participate were even met with insults. When potential explanations for the problem were suggested some just changed the subject.

I'm sure someone will but, you honestly, can't say we didn't try.

If anyone has any more information, a video, logs, whatever. Feel free to post it.
[Nexus 5 Original Android Development] Tzfardaya:
Eh, I see us getting criticized for that by the people who can't be bothered to look for the answers themselves... They ask the same question for the fifth time (it's been answered all four times previous) and get pissy when we tell them they should search for themselves....

I just got told off again in vomer's L zip thread for suggesting someone test their query for themselves... And again for suggesting he be patient and wait when someone had agreed to run their test for them....

I'm just tired of this last group whining about our not helping them, when none of us could reproduce their issue.... So I figured I would use their rom and finally put it to rest..

The issue is, was, and always has been, with everything else they've done to their phones... I run the same rom, on defaults, try with both art and dalvik, fku and the kernel and am unable to reproduce their thermal throttle issues... So, either their is a flaw in their own test methodology (or mine) , or there is something else on their phone interfering with the kernel.

---------- Post added at 10:32 AM ---------- Previous post was at 10:16 AM ----------

I'm starting to wonder if these people with "thermal throttle" issues flashed vomer's init.d. Zip...
[Nexus 5 Original Android Development] pkelly517:
I've noticed this once.

I was flashing SlimKat, Franco and SuperSU. Rebuilt ART. Phone was on wireless charger during the process. 30 minutes later, I pulled it off. CPU was 46, max freq was 1190. 10 minutes later of charger, temp dropped 8 degrees and it was still throttled. I haven't been able to reproduce either.

Edit: I normally underclock to 1497. No other changes. No zips, init.d, voltage changes, etc.

I know it's not much help, but it's another ROM data point.
[Nexus 5 Original Android Development] Technecium:
Another possibility but I'm pretty sure at least one person said it was after a clean install.

Anywhoo.. maybe next time.
[Nexus 5 Original Android Development] sjknight413:
I stated many times that mine was after a clean install and with no other mods.

And my 'whining' was down to you thinking your device was god and because you couldn't reproduce it the issue wasn't there. You're one of the lucky ones, to which it doesn't happen. But to come in here, bring up an issue, and have constant statements thrown at me about how I'm wrong and how there is clearly something up with my setup when in actual fact there clearly isn't, is just testament to how much Franco's users are too dedicated and not willing to accept there could be a flaw somewhere.

Your 'help' was not help at all, all it was was constant efforts on your part to disprove what I was saying. You didn't want to find out what the issue was at all, you just wanted to prove me wrong.

But anyway, I have tried to go back to pa with r57 yet again, but still I am getting throttled too aggressively and my frequencies get stuck. I've used cm with EX and chaos kernels in the meantime and they work just fine. Also tried faux's kernel on pa and again, just fine. But like I said I don't think this is ever going to get resolved so from my side this is over, and I apologize for any trouble caused.
[Nexus 5 Original Android Development] nad4321:
Is it possible to enable double tap to wake/sleep with the kernel? Cheers!
[Nexus 5 Original Android Development] Tzfardaya:
I have never said you're wrong and it's never happened.

I have always said that the issue must lie elsewhere, either in another app installed, a bad flash, a bad download.. If the kernel was at fault directly, then it would happen to all of us consistently...

I don't think anyone claimed their device was "god".

Our "help" which you're so willing to spit upon, was us trying to find ways to reproduce your issue... And consistently being unable to...

Please, take a video capture of how you're getting your device to throttle lock, much like the one I took to show you my efforts to reproduce.

Once again, if we are unable to reproduce the issue, then we t stands to reason that we are unable to diagnose, or treat the issue... By all means, feel free to send Franco your phone so he can look at it to try to find out why it's throttling, send it to me and I'll do the same, tgbm, Vomer, red5 and others would probably all be willing to do the same...

We were patient and tried to help at the beginning, but the more we tried to reproduce, and failed to reproduce, the more aggressive you got about how we were refusing to help you... Leading to more of us becoming unwilling to help because you would rather abuse our help than try to help us help you with further information.

I'm installing these roms, not to prove you wrong, but to see if there's a potential for NFL it between the rom and kernel, but it doesn't matter which rom I try, I have been unable to reproduce your thermal throttle lock...

You say you've consistently had it happen on fresh installs of your Rom... Are you redownloading your rom fresh each time or just reinstalling from a copy stored on your computer (or restoring a nandroid backup)

---------- Post added at 11:55 AM ---------- Previous post was at 11:53 AM ----------

Not with this kernal, Franco has said many times he won't add that, there are kernels available on xda that are based on Franco with s2w/dt2w/s2s added
[Nexus 5 Original Android Development] sjknight413:
It's happened over two versions of PA, so each would have obviously have been downloaded separately.

Like I said, I'm done with it now and I am just going to have to put this down to a kernel I cannot use. I'm going to tell you again though that nothing is wrong with my device as literally EVERYTHING else I've tried has been perfect, and I have been checking frequencies with each rom/kernel combination as I get a little compulsive about it.

Other people have been reporting it so hopefully one day the issue is found!
[Nexus 5 Original Android Development] fatspirit:
To sleep - yes (unrelated to kernel, Gravity Box has that, for example), to wake - no (146%).
[Nexus 5 Original Android Development] Tzfardaya:
If you're done with Franco why are you still monitoring and posting in this thread?

As to the 2 versions of PA (I don't know this rom so I may be wrong) if the first version was a corrupted install, and the second was an OTA update, then the corruption may carry across both versions.

But getting mad at us when we try to help, and are unable to due to being unable to reproduce... We have explained numerous times that without being able to reproduce the thermal lock, we can not find the cause... And then you get mad...
[Nexus 5 Original Android Development] sjknight413:
The second was not an ota update, I just said clear as day the two versions were downloaded separately.

I monitor all threads as I like to keep up with what's going on, but I keep coming back here and seeing references to my posts when other people bring up the throttling issue so I'm forced to chime in again. If you stop bringing me up as the other guy why apparently caused his own throttling issue I won't post again.
[Nexus 5 Original Android Development] Tzfardaya:
Did you verify the checksums each time?
[Nexus 5 Original Android Development] sjknight413:
No I did not, but I have never, ever checked the md5 of a zip file in my four years of flashing android devices and I have never encountered an issue because of that. It would be highly unlikely that my first two issues because of this would come one after the other, on two consecutive zip downloads. If the zip was bad, it wouldn't flash properly. Simple as that.

This is getting petty now.
[Nexus 5 Original Android Development] der_sascha:
Hi, is it normal that only two cores are online with stock settings?

Load_treshold is 80 right?
[Nexus 5 Original Android Development] der_sascha:
When I set to 100 it will activate all 4 cores...will it costs much more battery than two cores?
[Nexus 5 Original Android Development] Tzfardaya:
Depends
[Nexus 5 Original Android Development] der_sascha:
Depend of what?
[Nexus 5 Original Android Development] Tzfardaya:
Frequencies used... (and 100 will lock it to dual core, 0 will lock quad core)
[Nexus 5 Original Android Development] der_sascha:
OK so i will stay in 80
[Nexus 5 Original Android Development] BadFish79:
When I first flashed this kernel I was running vomers init.d file. I manually installed put the file in the correct folder with root explorer. Ran with xposed with stock ROM and undervolted. Never had an issue.

I only bring this up to say, that it may not be his file. Then again I am only one person.

Currently running this kernel, stock ROM and xposed with no other mods or scripts and runs perfect. Never had an issue.

[MENTION=3292224]franciscofranco[/MENTION], thanks for the work as the phone runs great and battery life for me is fantastic.

Sent from Cloud City
[Nexus 5 Original Android Development] Tzfardaya:
It's not his file... But his file underclocks the cpu, and if they forget that, they may think the thermal throttle system is acting up...
[Nexus 5 Original Android Development] BadFish79:
That would make sense. But if you can't remember what you do to your phone, maybe one should start making a list.

Sent from Cloud City
[Nexus 5 Original Android Development] Tzfardaya:
What phone?
[Nexus 5 Original Android Development] BadFish79:
The nexus 5. And I'm not saying you directly, was meaning a general you. As in others.

Sent from Cloud City
[Nexus 5 Original Android Development] Tzfardaya:
Yes, I know... I was hinting that not only have I forgotten what I've done to my phone, I've forgotten which phone I have... :(
[Nexus 5 Original Android Development] BadFish79:
If you have forgotten what phone you have, you have bigger issues than imaginary thermal throttle.

Sent from Cloud City
[Nexus 5 Original Android Development] Tzfardaya:
This is from an iPhone right?
[Nexus 5 Original Android Development] nexusmaniac:
Woah! Your running a pre-beta of iOS 8! Great ;)
[Nexus 5 Original Android Development] Tzfardaya:
Oh, good, for a moment I thought it was one of those crappy scroogle robot phones...
[Nexus 5 Original Android Development] BadFish79:
I thought it was the newest light bright.

Sent from Cloud City
[Nexus 5 Original Android Development] treehugger38294:
Corrupting Paid Apps

I just want to report that if I install the latest Franco Kernel from the FKU app, all of my paid apps become corrupted after reboot including FKU. I'm using Mahdi ROM. Before you guys tell me that this is a ROM issue, I just want to say that this never happens when I use other kernels like ElementalX on Mahdi but occurs when I use Franco with SlimKat. This issue seems to be limited to the Nexus 5 as I have not had it happen on my Nexus 7.

EDIT: Restoring Franco backups using FKU does not trigger this issue so it must be related to the download of the kernel.
[Nexus 5 Original Android Development] franciscofranco:
That info is relevant, thank you very much.
[Nexus 5 Original Android Development] treehugger38294:
No problem.

---------- Post added at 07:45 PM ---------- Previous post was at 07:43 PM ----------

Franco, unfortunately I just tried updating the kernel on the Nexus 7 and it still corrupts paid apps. Same ROM.
[Nexus 5 Original Android Development] franciscofranco:
Screen off:

<6>[ 58.732768] mdss_dsi_panel_off:

<6>[ 58.755199] [Touch] touch off

<6>[ 58.791103] CPU0 -> 1036800

<6>[ 58.791177] mako_hotplug: suspend

Screen on:

<6>[ 59.813116] [Touch] touch on

<6>[ 59.825182] CPU0 -> 2265600

<6>[ 59.825189] CPU1 -> 2265600

<6>[ 59.825195] CPU2 -> 2265600

<6>[ 59.825200] CPU3 -> 2265600

<6>[ 59.825205] mako_hotplug: resume

<6>[ 59.919473] mdss_dsi_panel_on

Is that what you wanted?
[Nexus 5 Original Android Development] Savant:
The bad thing my buddy never sent me a invite for the 1+1 and so, far he's an ass. I love switching between my n5 and the m8.
[Nexus 5 Original Android Development] Technecium:
I'm not exactly sure what you mean. Are these the results of a change you're proposing?
[Nexus 5 Original Android Development] franciscofranco:
I already made the changes and pushed to git. Can you do a git pull and compare screen off music listening drain with interactive? CPU0 won't go above 1GHz on screen off with that commit.
[Nexus 5 Original Android Development] Technecium:
Absolutely. You'll have to wait about 24hrs for the results as I'm just waking up on this side of the planet. But I'll run a 6-8hr test tonight while I'm sleeping.
[Nexus 5 Original Android Development] franciscofranco:
New boot.img over the tests folder.
[Nexus 5 Original Android Development] cdx47:
It's very frustrating to have an issue and not have it acknowledged. But this is not the case here. They have tried various approaches to reproduce your issue and they simply can't! So we have to take a step back and check the simple things. That's not petty.

By the way, about your assumption that a bad zip won't flash PROPERLY?

1. On many occasions roms are flashed then flashed again only for the same weird issues to re-occur. The issues are then solved by a fresh download.

2. Taking into account point 1, your actual statement is a tautology because of course the zip won't flash PROPERLY if it was BAD. But it may still flash. Now this maybe a little petty LoL ;)
[Nexus 5 Original Android Development] arpitnathany:
I understand that you cant fix what you cant reproduce i am just wondering how it can happen to one device and not to another. And my setup was stock with no mods.

BTW i used system monitor and CPU spy plus to check max frequency.

Before being stuck the frequency was being boosted to 1.5 when i touched the screen i guess this is the touch boost frequency but after being stuck even when i touched the screen it wouldn't go past 1.2. It was then i realised that the max frequency was stuck at 1190.

Ill investigate this further when i have more time
[Nexus 5 Original Android Development] simonarturo:
If all the math studying I have been doing lately is not numbing my brain, I understand that test boot.img has max freq at 1ghz with screen off, right?

Trying that img now, will let you know how it goes.
[Nexus 5 Original Android Development] Technecium:
Yes, you are correct.
[Nexus 5 Original Android Development] franciscofranco:
We've acknowledged, we tried to reproduce it - we couldn't. Can you please try the latest boot.img and try to reproduce?
[Nexus 5 Original Android Development] Flrc:
Do you use per app modes?
[Nexus 5 Original Android Development] arpitnathany:
No i dont, i dont even use fku.

Franco just installed the new boot img max freq now stuck at 1958 for the past 10 min. check attached screenshot.

what do i look for in the log its too long to post here, ill go through it. what am i looking for. what was the log intent for setting the max frequency again to 2265.
[Nexus 5 Original Android Development] franciscofranco:
I don't use 1.9GHz as a throttling frequency, something else set that for you.
[Nexus 5 Original Android Development] Technecium:
Can you give me the settings you're using for Auto Task Killer? Specifically, Auto Kill Level and Auto Kill Frequency. Is FKU on your ignore list?

I apologize but I've lost track of some of the responses and information people have posted.

FKU - Disable PerAppModes service, checked or unchecked?

Did you mention it happening when on a wireless charger?

Thx
[Nexus 5 Original Android Development] arpitnathany:
i dont use the task killer to kill tasks i just use it to check on free memory. its disabled otherwise. same for fku i just installed it to check on max frequency i dont have per app modes enabled and i use stock wired charger that came with the phone.
[Nexus 5 Original Android Development] treehugger38294:
Set the frequency back to 2.3 GHz and use the set on boot feature.
[Nexus 5 Original Android Development] UpSpin:
but you use non stock-apps.

Take a look at the SuperSU to see which apps have root access. Try to uninstall all of them. Maybe one of them changes some system settings in order to save battery or whatever. It's just a guess.

But one thing is for sure: The problem is on your end!

You could also make a backup of your smartphone and start from scratch. Once you found the culprit you can restore your backup and remove the app or setting.
[Nexus 5 Original Android Development] cobyman7035:
can someone direct me to the URL with the vomer governor settings that maximizes battery life and underclocks to 1.7ghz i think, thanks , not sure if its my phones battery but it doesn't seem to get 5-6 hrs of SOT anymore, its around 4 hours now...maybe dieing battery?, phone is almost 10months old i guess
[Nexus 5 Original Android Development] Tzfardaya:
Let's see, Vomer has a link in his signature, there a link in my signature to a thread with several base settings....
[Nexus 5 Original Android Development] swirly05:
I still use the Per-App Modes app and I'm coming from a N4. Anyone care to share there mode settings for regular apps?? Thanks
[Nexus 5 Original Android Development] Tzfardaya:
Link in my signature....
[Nexus 5 Original Android Development] :
How do your settings compare to Vomer's? And which PAM is better? I always use Franco's but I haven't really tried the others.
[Nexus 5 Original Android Development] WettbackMartyr:
Try each and use what works best for you. There's a reason there isn't a one size fits all option for everybody's device.
[Nexus 5 Original Android Development] Tzfardaya:
Yeah, there's several sets in my link...
[Nexus 5 Original Android Development] blueren:
Ah.. The classic max freq buggy. Increase therm throttle to >75. Should help reduce this random max freq setting. Can't guarantee it during boot though.
[Nexus 5 Original Android Development] Technecium:
Hey Francisco,

Before I turn in and run t58 for the night I did a quick 5/5 minute test of interactive/ondemand.

5 minutes of interactive cpu time in state

2.27 GHz (): 2 s 1.0%
1.96 GHz (): 0.1%
1.73 GHz (): 0.1%
1.57 GHz (): 0.1%
1.5 GHz (): 0.1%
1.27 GHz (): 0.1%
1.19 GHz (): 7 s 2.5%
1.04 GHz (): 3 s 1.2%
960 MHz (): 1 s 0.6%
883.2 MHz (): 2 s 0.8%
729.6 MHz (): 3 s 1.3%
652.8 MHz (): 11 s 3.7%
422.4 MHz (): 2 m 21 s 47.1%
300 MHz (): 2 m 5 s 41.5%

5 minutes of ondemand cpu time in state

2.27 GHz (): 12 s 4.6%
1.96 GHz (): 0.0%
1.73 GHz (): 0.0%
1.5 GHz (): 0.2%
1.27 GHz (): 0.0%
1.19 GHz (): 1 s 0.4%
1.04 GHz (): 0.3%
960 MHz (): 0.0%
883.2 MHz (): 0.1%
729.6 MHz (): 0.2%
652.8 MHz (): 1 s 0.4%
422.4 MHz (): 4 s 1.7%
300 MHz (): 4 m 15 s 92.0%
Deep Sleep (): 0.0%

I'll post again and let you know how things turned out.
[Nexus 5 Original Android Development] franciscofranco:
Hmm Ondemand spends more time on max freq... not surprised. Although for music Interactive spending 50/50 between 300 and 422 sure makes a difference in the long run. Only solution I can think of is either increase timer_rate or try something else on the code. Nevertheless capping it to 1GHz might help the longer you listen to music. Thanks for the feedbacks, always happy when users bring more technical thoughts other than "amg fix plz".
[Nexus 5 Original Android Development] theknut:
Can someone help a brother and tell me the last 4.4.2 kernel release? I need to reflash it but I can't remember which version I need...

Thanks!
[Nexus 5 Original Android Development] maddoggin:
if someone can answer my question real quick i will be greatful. does this work with android L??
[Nexus 5 Original Android Development] aavvaallooss:
https://duckduckgo.com/?q=Nexus+5+4.4.2+stock+kernel
[Nexus 5 Original Android Development] Tzfardaya:
I use lmgtfy.com when I run the search for them... :P
[Nexus 5 Original Android Development] fbf2201:
I guess he means the last 4.4.2 Franco Kernel. He didn't say anything about stock. And for stock 4.4.2 there was only one and not a last one among others.