yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] myfluxi:
Stumbled upon this, we are not using 320 but 27MHz (SLUMBER [1][2]). Stats for devfreq and kgsl report the last frequency or resume freq instead of slumber level. We only need 200MHz to cope with the most demanding 2D tasks though.

Funny side note: I wasted 2 days finding out why my device wasn't slumbering any more only to find out I was having in USB'ed and the circular loading animation raised power levels to 1-3 instead of 4. I got really deep into devfreq and kgsl in the process so I made the best out of it.

[1] https://github.com/myfluxi/kernel_msm/commit/76c45741f379ab2b2e5759ce4c550ce9df9d0270

[2] https://github.com/myfluxi/kernel_msm/commit/4f84223a221a85ac4b8ed9508081d3e0bf645fb9
[Nexus 5 Original Android Development] bobby8921:
Wanted to try your settings. Please someone can confirm I did it well?

Above_hispeed_delay and target_loads keep going back to 0 after I validate the settings

I didn't find where to change GPU frequency and hotplug control in trickster

Envoyé de mon Nexus 5 en utilisant Tapatalk
[Nexus 5 Original Android Development] Bluewall:
Hey, great work man !
[Nexus 5 Original Android Development] levesqu6:
the chip inside the phone has a external resistor that sets a maximum charge current via hardware. The charge current is limited to the smaller of whats written to the chips registers or by its value. So it is likely that LG set this resistor somewhere where the battery charge rate would not be unsafe in the event software acts naughty.

it talks about this some on page 7 of the datasheet under ILIM

http://www.ti.com/lit/ds/symlink/bq24192.pdf
[Nexus 5 Original Android Development] franciscofranco:
Full log please, I have no idea why that happened with only that little piece. Thanks.

Hmm ok.

Nah, 200MHz is not enough, I tried the devfreq patches and I couldn't bare with the loss of frames everywhere because it barely scaled past 200MHz, it was painful. Same thing happens on Flo.

Yeah good job there!!
[Nexus 5 Original Android Development] franciscofranco:
Nah, it crashed in the VFS layer, I think its a bulk of string patches I merged - already reverted on my local build.
[Nexus 5 Original Android Development] ChriKn:
Just to tell quickly, apparently show-p found out the multi-rom patch worsens the battery... It was his only commit for the last release and everybody got crazy about the issue... But I don't know if it is the fact here, as I didn't feel something bad (after android platform stopped sucking my battery at a 20% peer hour rate...)
[Nexus 5 Original Android Development] Exostenza:
Looks like a spoke too soon as I just realized that I have the same problem that at least one other had with r31 where the cpu max was either stuck to 1.6ghz or reported as such in system monitor. Clearing fku and not system monitor fixed it although I saw in system monitor it said my cores went above that in the real time window but not in the time in cpu States window. Either way a quick clear of fku had me back to normal.

I also have a question. I know when testing performance or playing games people have asked why their cpu runs at a lower than max frequency and the explanation is thermal throttle but I just ran antutu and had my cpu mostly at 1.6ghz even though my max temp through the run was 34c. I'm not trying to place the blame anywhere I just want to find out why I can't run the benchmark with stock cpu frequencies. As it stands my Nexus 5 loses to the s4. Also I know Franco goes for experience over hard numbers and such I'm not trying to go down that route as I am just curious.

Please don't have this spur on the hostility we see so often in this thread.
[Nexus 5 Original Android Development] franciscofranco:
Really strange... IF that happens again get me a /proc/kmsg log and logcat please.
[Nexus 5 Original Android Development] Exostenza:
Will do. Also I edited my post with a question if you would grace me with your knowledge sir Franco.
[Nexus 5 Original Android Development] Enddo:
is this in r31?
[Nexus 5 Original Android Development] ChriKn:
I at least thought so... Or it was just too much people asking for it ^^
[Nexus 5 Original Android Development] franciscofranco:
Are you checking battery temp or cpu temp? My cpu temp goes to 70 easily during Antutu...
[Nexus 5 Original Android Development] franciscofranco:
I sincerely doubt multirom patch is doing anything, looked through the code seemed harmless. There isn't any kexec process running too... my battery life is the same as always anyway.
[Nexus 5 Original Android Development] Exostenza:
I assumed the temperature in system monitor was for the cpu as who the hell cares about the battery temp over the cpu, but then again making assumptions makes an ass out people so I guess that's where I stand.
[Nexus 5 Original Android Development] ChriKn:
You are surely right. I couldn't tell as well. Just wanted to point it out for the reason of not wanting to miss something... There must be something mixing with another function on showp's side giving this result... Well, going to have more than 4 hours SOT on a full day with auto brightness and gravity box, I just can't thank you enough Franco :)
[Nexus 5 Original Android Development] franciscofranco:
Because battery temperature is standard from the Android APIs. To get the CPU temp it needs to be exported from the Kernel and its not standard. Monitor gets battery temperature in the current production version, the upcoming version also has CPU temp reporting for selected devices.
[Nexus 5 Original Android Development] Exostenza:
Thanks for your time as I really appreciate the concise answers that you give.

Keep up the good work and I'll keep on convincing all of my friends and family that they need to buy your app and runs your kernels.

Actually one more question. What is the thermal limit for the snapdragon 800? Not what you set but the actual do not exceed limit?
[Nexus 5 Original Android Development] Sn00ky:
r31 is so far so great! :D Full charge and battery is excellent. 15% brightness on wifi, sync on, no location. Just wanted to share. No issues or reboots at all, UV 300mhz to 630mV and -50 across. Didn't change anything in FKU this time. Thanks Franco!
[Nexus 5 Original Android Development] decemberlast2013:
Why is this? Edit: high freq stuck at 1.6 although I have set highest at 2.3
[Nexus 5 Original Android Development] franciscofranco:
:)

I think it shuts down when it reaches 95C or something like that. Had it happen once when it was 93C.
[Nexus 5 Original Android Development] franciscofranco:
What about it?

EDIT: that is not the high freq... those are the freqs that have been used the most -.-
[Nexus 5 Original Android Development] pkelly517:
Not knowing your exact situation, I would guess that it has been an hour and change since your last reboot.

And, in that hour and change, it was unused most of time, allowing it sleep. The remaining time was spent doing not much.
[Nexus 5 Original Android Development] decemberlast2013:
I checked which cpu spy as well, only 300 and 1.6 have been used...is it normal you are saying? Asphalt 8 normally ramps cpu up to 2.3, while this time I only see 1.6 as the highest

Edit: after playing a little with fku it seems to work normal now and use other frequencies as well. Weird though..
[Nexus 5 Original Android Development] franciscofranco:
I pushed r32-test, its mostly stability fixes and another crack at the rare audio glitch during screen off (last time it caused reboots to some people). Please test it and let me know if you have big problems or some weird reboots of any sort. Pushing to test for safety.

http://192.241.177.15/Nexus5/4.4/tests/boot-test32.img
[Nexus 5 Original Android Development] franciscofranco:
Yes, because you were thermal throttled..... just... enjoy your device, don't look for problems.
[Nexus 5 Original Android Development] bigknowz:
Where's my charger?

franco.Kernel r30 made me forget where my charger is!! Maybe r32 flash in a few hours will help.

Weighing in on custom ROM vs. Xposed, my experience has been much better with Stock + Xposed. No discernible battery drain and no weird derps. Coming from a VZW GNex, always had to run a custom ROM or be 2 Android versions behind. GNex wouldn't always play nice with franco, so far no issues on N5 aside from what is stated above. Been using since r19. Food for thought and in line with what [MENTION=3292224]franciscofranco[/MENTION] says about his phone.
[Nexus 5 Original Android Development] tsubus:
Small off topic (fueled by the now working usb fast charge): does anyone know a ROM (not cataclysm that is not open sourced) that has a quick setting tile to toggle usb fast charge?
[Nexus 5 Original Android Development] Wombatino:
You can use that option very easily with trickstermod
[Nexus 5 Original Android Development] thucoisao:
How could you do that? Please share your settings.

Edit : i saw it. Thanks.
[Nexus 5 Original Android Development] P.Mobile:
was rocking r31 with no problems but just flashed test r32 and everythings great so far.. i have never had an issue with any franco kernel i have flashed on my N5 :) Thanks man!
[Nexus 5 Original Android Development] Nocturnal86:
Franco how soon or at what temp is CPU freq supposed to return to 2.3Ghz after Thermal Throttling? I had the freq stick at 1.8Ghz (my per app mode freq for the game) even after I quit the game and the cpu dropped below 40c it only went back to 2.3Ghz after I manually clicked it.
[Nexus 5 Original Android Development] franciscofranco:
Can you reproduce it again and make me a video of it? Thanks.
[Nexus 5 Original Android Development] decemberlast2013:
I think there is a bug because it is similar to the other guy that said it got stuck at 1.8ghz + mine never overheated so I don't think it throttled.

---------- Post added at 03:25 AM ---------- Previous post was at 03:24 AM ----------

Same here, Mine sticked at 1.6
[Nexus 5 Original Android Development] franciscofranco:
Were you using PerAppModes?
[Nexus 5 Original Android Development] Nocturnal86:
I dont have a camera to do it but i'll try to reproduce it if I can an i'll let you know thanks.
[Nexus 5 Original Android Development] Fluidification:
with r31, i lost 3% battery after playing candy crush for about 15 minutes... amazing! Phone was slightly warm, which is very good! I think the throttling is actually retaining gaming performance while lowering battery usage.
[Nexus 5 Original Android Development] tcat007:
I also found candy crush uses much less juice on r77 (my n7) than previous versions. Keep up the great work! I may have to quit flashing one of these days, everything feels close to perfect.
[Nexus 5 Original Android Development] Enddo:
you can do a screen record from within android on your nexus 5 without a camera
[Nexus 5 Original Android Development] Nocturnal86:
How?
[Nexus 5 Original Android Development] Delacor:
Screen recording :)

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] jaron7_11:
Day one on r31 pretty happy bout 4hr of sot
[Nexus 5 Original Android Development] Nocturnal86:
Yes but how!! lol
[Nexus 5 Original Android Development] decemberlast2013:
No. Stock settings. Only -50 global uv.
[Nexus 5 Original Android Development] bknightt:
stock FK settings?
[Nexus 5 Original Android Development] Delacor:
Power + Vol+

Have to figure it out myself for the first time :D

Good luck!

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] decemberlast2013:
Press Volume up+power button at same time
[Nexus 5 Original Android Development] howtomen:
never played that game but i really think i can go lower than 1ghz for the games because my phone still runs them so smoothly. ill leave it at 1ghz for now but theres absolutely no performance drop that i notice. The device is nice and cool too even with my case on.

i dont know if anyone answered u but what i do instead of setting the max lower is to set the interactive value to stay on lower values by lowering the highspeed freq and touch boost and so on.
[Nexus 5 Original Android Development] decemberlast2013:
R31 49% left, not bad! Autobrightness, stock settings
[Nexus 5 Original Android Development] franciscofranco:
For users that have FKU and applied for beta release: just pushed a beta FKU with more bugfixes (thanks to the new crash report system) and added a functionality to backup PerAppModes to the sdcard (very useful for times when you clear the app data) and load them from the sdcard dir. Hope to hit the play store in the next hour and if no major issues are found I'll push to production tomorrow so then I can finally work on new content :D
[Nexus 5 Original Android Development] casonswag:
Yeah buddy good job on r31 bro
[Nexus 5 Original Android Development] Bradstheannoying:
Trying to look at governor control and it went bye bye. Did a clean flash of r31 on my second N5 and same issue except it shows nothing at all. I was having a tinker with voltages on my main phone but not with my second. Any ideas franco? Can provide logs if needed, thanks

Edit: was still typing when you posted above, hopefully its one of the issues fixed. Thanks for being psychic!
[Nexus 5 Original Android Development] franciscofranco:
No idea O_O does FKU have root permissions?
[Nexus 5 Original Android Development] m52 power!:
I'm getting crap on r31 :(. 3h10mins SOT and 19% left. Stock settings except uc 1.6ghz! What am I doing wrong?
[Nexus 5 Original Android Development] tempaznx:
Are you in an area with bad signal? I have terrible signal at my apartment and get about that sot time
[Nexus 5 Original Android Development] Bradstheannoying:
It does yes. Im able to set min/max freqs and set voltages still. Will remove and regrant permissions to see if that fixes it and get back to you

Edit: nope, still nothing. I imagine an uninstall/install would fix it but that probably wont help with an underlying issue (if there is one)
[Nexus 5 Original Android Development] Nocturnal86:
Hey franco I seemed to have reproduced it.

So I cleared FKU app data and re-flashed r31 just to make sure its nothing on that end. Then proceeded to make my Per app modes and put everything back how I had it.

I then played Anomoly 2 on battery (which has a per app mode of 1728Mhz with 400Mhz GPU) for a while and occasionally went back to the home screen then to FKU to see what the Max CPU Speed read. So on battery for the amount of time I played it seemed to go back to the stock 2.3Ghz speed and switch back to 1.7 as I went back and forth between game and app. I then put the phone on charge and obviously it heated up more when I played like that and after a bit when I went back to check the Stock Max it read 1728MHz even though I was out of the app, so I quit the game left the phone on charge and let the phone sit for a while and it only got to about 41c from about 60c in that time but the CPU speed didnt change back to 2.3 so I then removed the phone of the charge to let the phone drop below 40c and it still wouldnt bump back up to 2.3 till I manually set it.

Tried it again but this time just played the game off the battery long enough for it to be thermal throttled by gaming intensity only and not charging and gaming and it took a bit longer but sure enough I got throttled to 1.5Ghz as I played. So I finished up my round and quit the game went back to FKU and saw that my max CPU speed was ticked at 1728MHz again and the CPU temb was about 50c I think at that point (since I was coming down from a gaming session) it would only change back to 2.3Ghz when I ticked it manually.

So I seem to get thermal throttled as I should But it seems to get stuck at the per app mode instead of the System mode even after sufficient temp drop of the CPU idk why though.. Ill give it a try withoug a per app mode with that same game after to see what happens.

Hopefully that was of some help!
[Nexus 5 Original Android Development] Dave778:
what's up everyone... I cannot seem to get fast USB charging to work for some reason.

I'm on Cata Rom w R31. When I enable it in Franco app it says enabled but when I cannect the cord it still indicates that it is charging from USB rather than AC.

Any ideas?
[Nexus 5 Original Android Development] Bradstheannoying:
False alarm... My derp. Had it on performance -_- its 4am and my new rule is no posting after 11pm lol

Still odd that it reacted different on both my phones though
[Nexus 5 Original Android Development] decemberlast2013:
Do not uc. Turn off push notifications and location.
[Nexus 5 Original Android Development] Enddo:
dont let your eyes deceive you, its working
[Nexus 5 Original Android Development] Dave778:
is it??
[Nexus 5 Original Android Development] Enddo:
yes. you can read the thread and find franco's post if you dont believe me
[Nexus 5 Original Android Development] OGroteKoning:
[MENTION=4468759]Ti2[/MENTION]

Thanks for the settings - seems like I will gain more battery life!
[Nexus 5 Original Android Development] Dave778:
Cool, I believe u. thx.
[Nexus 5 Original Android Development] bradputt:
I'm bored....... I got no issues to report.

Btw, franco what's your day job?

You seems to be here the whole time!
[Nexus 5 Original Android Development] notbrodie:
[MENTION=3292224]franciscofranco[/MENTION]

been having an issue with FKU per-app settings where when the per-app mode is no longer in use, it resets my max clock to 1.3ghz arbitrarily. my chosen default max clock is stock 2.3ghz. it is doing this even after clearing data on FKU and disabling per-app modes.

it also doesn't matter what i set the per-app freq to. whether it's 1ghz, 1.5ghz, or 2ghz it always resets to 1.3ghz upon per-app mode ending.

the only way workaround i've found is deleting any per-app modes I have. i'll record a video that documents my findings.

video of occurence: http://goo.gl/xSYykS
[Nexus 5 Original Android Development] :
Delete
[Nexus 5 Original Android Development] franciscofranco:
Android is my job :) I get to do other projects (I decline most project offers), but its mostly this and my apps.
[Nexus 5 Original Android Development] loooller:
franco, im using ur r31 on slimkat beta 2.1, is there a way to turn off the led when it's charging?

edit : went to display and turned off battery light :laugh:
[Nexus 5 Original Android Development] mastergrillo:
Franco is it possible you can merge this commit https://github.com/FrozenCow/kernel_msm/tree/android-msm-hammerhead-3.4-kk-r1-cdrom_gadget

Its for drivedroid app theres a stock nexus5 kernel with the patch but it doesn't have all the magic you implement in to it
[Nexus 5 Original Android Development] bartolinio:
[MENTION=5549574]loooller[/MENTION] it is in the ROM settings

settings/display

one of the last options at the bottom
[Nexus 5 Original Android Development] foxdigital2k2:
Getting pretty good battery life and running smooth. Why do i keep getting a bug report captured emailed to me. ?Sent from my Nexus 5 using xda app-developers app
[Nexus 5 Original Android Development] notbrodie:
likely because your phone case it too tight. if you press vol-, vol+, & pwr at the same time, it captures a bug report
[Nexus 5 Original Android Development] foxdigital2k2:
Thanks man I bet that's the problem
[Nexus 5 Original Android Development] notbrodie:
can anyone else confirm that FKU is NOT setting IO tunables on boot? i've set the scheduler to Deadline and the fifo_batch to 8 (and check set on boot for both) but after I restart (and give it time to set), fifo_batch is set back to stock 16
[Nexus 5 Original Android Development] GavinAshford:
Anyone else who might be on Stock 4.4.2 with r31 and its persistent LED patch that when receiving a call the LED now lights up solid white - r30 didn't do this, I just restored back and double checked - not really much use but interesting all the same.
[Nexus 5 Original Android Development] Caniv:
im really new to kernels so im a little chicken but i guess no harm in trying?

ill try it too and give an update!
[Nexus 5 Original Android Development] omvir:
Didn't know chickens use phones :p Evolution at work I guess!
[Nexus 5 Original Android Development] Langduscher:
Yea, absolutely no harm in trying :good: if you don't like it, just untick "set on boot", reboot and you'll be back on FK defaults.

I'm happy that more people trying to use the tunables I posted yesterday, but credit where credit is due: they're not mine ;)

If you're happy with them, please go thank [MENTION=4267798]JNewms[/MENTION], [MENTION=4788174]Nbsss[/MENTION] and [MENTION=2918197]The Gingerbread Man[/MENTION] :cowboy: (you guys still experimenting?)
[Nexus 5 Original Android Development] Caniv:
good job on you giving credit!

well i copied everything you said (was strange that some values like above_hispeed_delay had a really long value and changed to 120000 but i hope thats fine

i didnt find the "set on boot" thing, but i did see "Clear FKU's data" so i assume that works just as well?
[Nexus 5 Original Android Development] Langduscher:
Yea clearing FKU data will reset the whole FKU app to defaults, including "set on boot".

Set on boot is on the right of the settings , looks like a favorites icon.
[Nexus 5 Original Android Development] dannstarr:
I'm on test 7... I did try 8 from this morning, but had really bad battery and I couldn't understand why, so I went back to 7 and awesome battery life continued.

Anyhow, I see that some users notice that when they set a maximum clock speed, it keeps resetting back to the maximum clock speed. I don't see that on my device. I have my maximum CPU frequency set at 1958mhz and that's where it stays.

However, I do notice a little weirdness with the GPU frequencies;

On my status screen, it says my maximum frequency is 450mhz. When I select it in order to change it, my highest option is only 400mhz. Regardless, I try to change it to 325mhz, and when I go back to it, my actual value is back up to 450mhz!

Anyone else seeing that?
[Nexus 5 Original Android Development] MikeLibbey:
in flashify its greyed out and i cant select it when trying to flash boot image, any ideas what i should do?

found the answer while searching more....ill see myself out.
[Nexus 5 Original Android Development] The Gingerbread Man:
So there's this thread http://xdaforums.com/showthread.php?t=2515593 which is dedicated to that subject. From what I understand there's a group of different PVS groups which I think in that thread ranges from 1-6. To my knowledge speed or 'slow fastest fastest' doesn't really come into play here and the higher your PVS number the higher you might be able to undervolt. That's it just possible undervolt capability and with another command you can see how many CPU speeds you can use on your chip. It doesn't matter much about undervolt the amount of electricity required by the sd 800 is already very small there isn't much to be gained really maybe 15-30 mins SOT if that, not that I tried but I'd rather know my system is stable.

---------- Post added at 12:53 AM ---------- Previous post was at 12:46 AM ----------

What is greyed out? Can you provide a screen shot?

---------- Post added at 01:00 AM ---------- Previous post was at 12:53 AM ----------

It's down to mpdesicion and thermal throttle with cpu, when Franco finally gets his n5 and can work on it should be fine. With GPU freq mine is showing 450mhz as Max. I would personally clear your fku data, boot to fast boot or reflash with flashify and try again. I'll provide a screen shot if you want my phone is next to me and just checked

---------- Post added at 01:01 AM ---------- Previous post was at 01:00 AM ----------

It can't come soon enough
[Nexus 5 Original Android Development] dazz87:
I'm on test 8 and im showing the same thing.
[Nexus 5 Original Android Development] franciscofranco:
Because FKU is not compatible with the N5 GPU clocks. The newest beta is though.

Thats probably due to thermal throttling, it decreases the max frequency value.
[Nexus 5 Original Android Development] The Gingerbread Man:
That's to get back to the stock ram disk. Some kernels use their own and sometimes if you have A kernel then flash B kernel A"s ramdisk can be left behind. I'd imagine the same still applies here but not entirely sure if fast boot or flashify automaticly loads the required ram disk