yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] designori:
having same problem here. got reboots when using gallery app or playing game at dark place with lux on. but, it doesn't happen every time.
[Nexus 5 Original Android Development] ommx:
having problem with OTG support with r31 and r32 running on cm-11-20140109-NIGHTLY-hammerhead

it doesn't seem to mount any OTG drive i plug in to, i use StickMount and no luck with it, it was working with CM-Kernel that come with the ROM but the OTG broke with Franco-Kernel, is there a way to fix this? as i want to use OTG so bad,

---------- Post added at 02:41 PM ---------- Previous post was at 02:40 PM ----------

having problem with OTG support with r31 and r32 running on cm-11-20140109-NIGHTLY-hammerhead

it doesn't seem to mount any OTG drive i plug in to, i use StickMount and no luck with it, it was working with CM-Kernel that come with the ROM but the OTG broke with Franco-Kernel, is there a way to fix this? as i want to use OTG so bad,
[Nexus 5 Original Android Development] Langduscher:
At everybody who's having reboots with Lux: does the same occur with Velis? Read that some users use that to reduce autobrightness and don't read reports of reboots on their part (just to rule out Lux).

Worth a shot?
[Nexus 5 Original Android Development] The Gingerbread Man:
If you look in my Franco learner lounge thread (see sig) I have linked to the most detailed description ever made of anything ever. A guy got over 1500 for 1 post for explaining all about various CPU and io settings! I have also put a basic explanation for just interactive tunables, have a look.
[Nexus 5 Original Android Development] muEcke*:
I used it yesterday for about one hour at 1% brightness with lux, no reboot here with Purity ROM + Franco r32 + yours / vomers tunables...
[Nexus 5 Original Android Development] Kusie:
Hi,

I´m not sure I understand completely. I also had this strange mm-qcamera-daemon process lockup problems two times now since flashing R30 and up ... For whatever reason the camera process crashes and you need to manually reset/kill this process (I use OS Monitor to do this, be sure to set "expert mode" in settings) to solve this.

After that all apps accessing the camera are running fine again and battery drain is gone.

But what exactly is the difference between "userspace camera daemon" and kernel camera demon?

So it´s 100% NOT kernel related but a Stock android or apps problem?

Thanks,

Kusie
[Nexus 5 Original Android Development] Spafey:
I'm still getting the audio stutter in poweramp with r32. Screen on and screen off. I can force it to stutter with the screen on by opening chrome and loading pages (in particular this forum!). However, not all pages cause the stutter and typically nothing will happen once a page has loaded.

Screen off the stutter still occurs entering/leaving Wi-Fi connections and quite intermittently out and about (which is probably due to network changes as people suggest).

Definitely improved from r30/31 but still not solved for my device.

Running CM11 and stock FC cpu settings. I change the scheduler to cfq, Headset volume boost to 5, gain up to 1 then back down to 0 as this seems to boost the volume as well and the vibration amp to 70.
[Nexus 5 Original Android Development] tpboi:
no reboots, r32， stock Rom with lux dynamic adjustment.
[Nexus 5 Original Android Development] casonswag:
Samehere havent had any reboots
[Nexus 5 Original Android Development] adrman:
I've been running with Lux set to auto since before fk hit r20 and I haven't experienced any reboots. Stock room and stock fku settings.
[Nexus 5 Original Android Development] sir*mez:
Franco please acknowledge

Same problem I've been having and reported a while ago, but wasn't acknowledged by [MENTION=3292224]franciscofranco[/MENTION] because I probably didn't explain well. I've tested on the Nexus 4 (mako) which works as its supposed to and here on the Nexus 5 (Hammerhead) which has the problem of lowering the volume when entering 10 and then when entering -10 does nothing or the volume gets higher because it goes back to 0 volume gain even though -10 was entered. It's doing the opposite, it even sounds louder if you enter -3 when it's suppose to lower the volume. It's supposed to be +positive number = higher headset volume gain, -negative number = lower headset volume gain but the outcome is the opposite. This has been driving me crazy, but didn't want to continue to bring this up because I don't like nagging. But I hope he acknowledges that there's a problem since I'm not the only one reporting this now.

Below is the conversation I had with [MENTION=3292224]franciscofranco[/MENTION]:
[Nexus 5 Original Android Development] Annihlist:
Colour changes are not working with faux gamma n5 app in r32. Just a heads up
[Nexus 5 Original Android Development] Mestibals:
Well I tried 900mhz CPU (200mhz GPU) on FIFA 14 and I must say I had absolutely no lag. But

Compared to 1.5 GHz CPU, the battery had a minor improvent (14%drain over 30 mins as opposed to 16% drain ).

And I also felt that with 900mhz cpu, the phone was a fair bit warmer than with 1.5ghz.

So I'm not too sure which one to use, but I'll keep testing.
[Nexus 5 Original Android Development] benthian89:
It's not a heads up when it was already mentioned multiple times if you care to look back about 10-20 pages
[Nexus 5 Original Android Development] Nbsss:
Loving these numbers for r-32:

All stock except,

*go_hispeed_load: 95

* hispeed_freq: 1267000

*input_boost_freq: 1728000

*Hotplug control -> first level: 70

Makes my n7 2013 feel slow unfortunately...though transferring some of the r-32 settings helped a bit
[Nexus 5 Original Android Development] Annihlist:
No issues. Couldn't find it in the thread. It is growing fast and sometimes difficult to sift through...
[Nexus 5 Original Android Development] OptimusVDarwin:
UC'ing the GPU while gaming helps a lot! Battery doesn't get hot and it's very battery friendly ? (200 MhZ)
[Nexus 5 Original Android Development] colander:
99% ...that's heisenberg level :P
[Nexus 5 Original Android Development] shawnaye:
It's so strange I've never had any bluetooth audio problems on my N5 and Jaybirds.

The only time it stutters, is well, when they are too far apart.

I can say the same for every kernel I've been on, even stock.
[Nexus 5 Original Android Development] OptimusVDarwin:
Are there any down falls for under clocking the GPU? Other then lag?
[Nexus 5 Original Android Development] Destroyer90:
had the first reboot since i flashed r32 today
[Nexus 5 Original Android Development] big_adventure:
It depends - for CPU intensive stuff that also keep the radio hot, it can be worse, thanks to the race-to-sleep effect. Basically, a web page consists of a bunch of elements can can, themselves, call MORE elements. The page starts loading, and the phone starts making connections to get elements. It needs to keep an open data channel (or multiples) for this to work. If the CPU takes longer to render the elements in question, it might need to leave the radio open more. And the radio draw is high. In general use, you might get slightly better battery life in return for slightly (but, to be fair, imperceptible on the N5 thanks to the RIDICULOUS SoC) worse response with a mild underclock.

Thing is, if you look at what frequencies your phone is actually using, you'll find that it doesn't spend even 2% of active time at over 1.5ghz.

I spent 2 weeks running tests underclocking to 1.7 and running at stock (2.26) - I found that battery use was just about equal for me. Underclocked, it spent roughly twice the percentage of time (3-4 versus 1.5-2) at max frequency as it did running stock clocked, but, that lower frequency was obviously drawing much less power. There is other loss in spending more time at higher frequencies, since the SoC ramps up power and voltage to RAM, controllers, etc., and I found that it more or less washed out the differences. Note, I did NOT do a severe underclock test - I wasn't crippling myself down to 1ghz or anything.

I do run per-app modes to ramp the CPU down to 1.2 or 1.4 and the gpu down to 320 for games. That doesn't have a negative effect on anything I play.
[Nexus 5 Original Android Development] Ben36:
Could this music stuttering issue that some say they have be rom specific? Because I use poweramp regularly and have never ever had any issues
[Nexus 5 Original Android Development] carlese:
I may be a little ignorant but.. Why on earth would I want to uc the gpu when gaming? It's the only case in which gpu should help avoiding lags and so on.. I would keep my phone uc and my gpu uc when I am not gaming, and then when I open a game with per app mode boost everything to the max, so I enjoy the game (of course battery would drain more, but I don't know if games like asphalt would runt at 200mhz) .. At least that's my 2 cents..
[Nexus 5 Original Android Development] :
I use Cataclysm, as many do, and I had stutters only once with Rocket Player (I usually use Google Play Music and never had any issues) but I solved it by rebooting and never had an issue ever again.
[Nexus 5 Original Android Development] Mestibals:
Well I'll tell you that FIFA 14 and asphalt 8 play smooth on 200mhz. I mean try it for yourself and you'll see, but the reason why we UC GPU is because the battery drain is twice less with no frame drop in game. So why bump to the max ?

The only tiny lag is in the menu and even that is rare, so you gain more than you lose.

So in the end, the enjoyment is the same on 200mhz GPU and you get twice better battery. So that's why we do it.

(And phone is sooo cool.)
[Nexus 5 Original Android Development] rintintin78:
Hi,

"Nexus 5 gamma reverse engineering App" don't work with r32. Why?

Thanks
[Nexus 5 Original Android Development] :
Nobody knows yet, but
[Nexus 5 Original Android Development] cavolo:
Just read topic no ? Last 10-15 pages say the same thing, so wait.
[Nexus 5 Original Android Development] carlese:
OK I'll try myself, even though it sounds really weird that the phone would lag at 200mhz and asphalt and fifa, known heavy games, won't..

Edit: tried myself, still having micro lags in game.. Will performance governor help?
[Nexus 5 Original Android Development] jaron7_11:
It doesn't seem to happen in music apps. It only happens for me when calls come in or text and while watching YouTube it may happen also
[Nexus 5 Original Android Development] Mestibals:
I guess other factors come into play, but without lying, FIFA 14 does not lag in game with 200mhz GPU.

I noticed that when I uc CPU to below 1.2ghz, it starts micro laging. So I keep it to 1.5, with uc'ed GPU and I'm loving it atm.
[Nexus 5 Original Android Development] carlese:
Which tunables are you using? I will try performance and see how it goes..

Ps how do I know if per app mode is working?
[Nexus 5 Original Android Development] bknightt:
I'm still running some tests on that as well, nice to see it worked quite well with you, I'm now trying with -75 UV instead of -50 UV, will post feedback a little later, nice to see that the difference is so small with 1.5 vs 900mhz, I think I might increase the load on the high performance mode then.

have you tried it vs 800mhz for low performance games? if the difference is so small, I might like to play candy crush in high performance mode then lol
[Nexus 5 Original Android Development] Mestibals:
Normally when you launch the game (after setting per app mode) you will get a small popup saying per app mode is active.

The only tunables I've changed from stock are :

Hot plug first level : 99

Go high-speed load : 95

Input boost : 1190000 (1.2ghz )

High speed : 1190000

CPU temp threshold : 60

GPU : 200mhz.

Mix freq : 300

Max freq : 1.5 GHz.

I just finished a gaming session of 45 mins and testing diff cpu freq, and with 1.0 GHz cpu (200mhz gpu) the phone would get warm-ish.

So I upped the freq to 1.2 GHz and the phone cooled down, with gpu 200mhz on FIFA 14 with no lag.

And I only lost 17%.

To me this is making me happy for the moment :)
[Nexus 5 Original Android Development] ChriKn:
I just searched everywhere and couldn't find an option to disable toast messages for per app mode going on off... Am I missing something ?
[Nexus 5 Original Android Development] jonesyFX:
In terms of per app mode, does anybody play clash of clans? What settings are you using? My phone gets really hot at the moment and I lose about 7-10% battery for a max 2-3 mins gameplay.

I havent used per app mode before so any help appreciated. Thanks :)
[Nexus 5 Original Android Development] vomer:
It's not. It is related more with the way core0 and core1 get wakelocked when screen is turned off.
[Nexus 5 Original Android Development] Martin-Doc:
Just an idea: could this be prevented for example with a tasker profile, which at screen off event sets the min frequency at a higher value for a few seconds?
[Nexus 5 Original Android Development] vomer:
Hmm, interesting. I will give it a try!
[Nexus 5 Original Android Development] blueren:
Franco! I read somewhere that audio processing is offloaded away from the main thread in order to save more juice during audio/video playback (?) Would you be able to throw more light on that?
[Nexus 5 Original Android Development] big_adventure:
Search DSP Tunneling - you'll see numerous posts discussing it in this thread, and Google will tell you about it working on the N5 to vastly prolong battery life for locally-stored music.

Basically, it lets the CPU go deep-sleep while tunneling the sound straight through the DSP. Easy.
[Nexus 5 Original Android Development] blueren:
Ah! Many thanks for that. So does this have anything to do with the kernel you're using? Or does it come into the rom space?
[Nexus 5 Original Android Development] G8D:
Question from what has been said about not clearing FKU from recents. Do per-app modes work if one boots up and never opens FKU? I know that FKU, or at least parts of FKU open at boot to set non-default settings but was wondering if per-apps works if the app has never appeared in recents and so never been removed from there?
[Nexus 5 Original Android Development] yeiyei0891:
With the car charger would need turn on the fast charge ?
[Nexus 5 Original Android Development] javacody:
Those using lux and not having issues.

Try this. Go into a dark room, turn brightness down to its lowest setting and watch YouTube bids for a bit. I had the phone restart on me several times in one night doing that. I also turn on the automatic night mode so the screen gets reddish.

I kept the brightness up last night. No reboots.
[Nexus 5 Original Android Development] franciscofranco:
I found out a derp on my thermal driver which doesn't work correctly if user underclocks. I worked on it last hour and it seems to be fixed. Running moar tests now.

Audio is offloaded yes.

Yes I already explained that... when it boots up FKU process is created, then the service is also created. If you clear the app from recents it will kill the process, and since the service is a child of the process it dies too.

Wtf... maybe there's a reason after all for Google to have made the minimum brightness a bit higher than normal.
[Nexus 5 Original Android Development] omvir:
I watch YouTube videos on the lowest brightness every night.. No reboots ever. And I'm not using lux. :/
[Nexus 5 Original Android Development] franciscofranco:
Maybe lux is the problem, dunno. I'll use lux and test it myself for the heck of it.
[Nexus 5 Original Android Development] jeetS:
my phone hasnt liked the last several nightlies...

Im running stock ROM and stock franco settings with the paid app.

had two freeze-->reboots this morning. the second while trying to get kmsg

<script src="http://pastebin.com/embed_js.php?i=kyMMrhED"></script>
[Nexus 5 Original Android Development] Rxpert:
Its built into 4.4, so it should be in there regardless of ROM or kernel
[Nexus 5 Original Android Development] adrman:
Just tried a couple of short videos without incident (except my revulsion at watching a woman eat a 72oz. steak in 2:45 seconds without utensils). I'll try more vids later this evening.
[Nexus 5 Original Android Development] Codekrypt:
For CoC I underclock the cpu to 1.5 and gpu to 320. You can go lower if u want.

Sent from my Nexus 5
[Nexus 5 Original Android Development] cleancorekiller:
16 hours off charge and still at 40%!! Battery went from 100% to 94% left on over night!!

Absolutely supreme!!!
[Nexus 5 Original Android Development] simondva:
Bad battery life

I don't know about you guys but ever since r27 and up I'm getting really poor battery life (3 & 1/2 hours screen on time or 4 hours if I'm very lucky). I almost never play games and the only apps that I really use are Chrome and Flipboard but neither one or the other shows a percentage bigger than 3% on the battery life consume in android settings. I do use an app called Gravity Screen that runs at all times but it doesn't even appear at the battery consuming settings and before r27 I still got 4 & 1/2 or even 5 hours (if I was lucky) of screen on time with that app running. Any ideas? I will post a battery report when my battery dies today.
[Nexus 5 Original Android Development] kraven001:
You just know something is wrong when people complain about 3-4 hours of SOT. On the mighty stock kernel I was happy with 2 (if that got me through the day) so 3-4 hours seemed far fetched.

And then I converted to this kernel and boom. I am not getting insane SOT or whatever but definitely better battery and performance.
[Nexus 5 Original Android Development] FCDHBubbles:
Haven't had one single freeze/reboot whatsoever on R32 since release with - 50 Uv rest stock settings...

Thanks for you're kernelmagic Francisco!!
[Nexus 5 Original Android Development] vomer:
Have you tried my latest settings? I have not noticed any issues/slowness. I am not a heavy gamer so if you are the same - try mine :)
[Nexus 5 Original Android Development] :
Woah lost like 50% overnight lol not the kernels fault I bet, well check with gsam battery monitor.
[Nexus 5 Original Android Development] Testraindrop:
Hopefully they finally fixed those NLPWakelocks, would be about time.

"This update also improves battery life for all users with Google Location Reporting enabled."

http://android-developers.blogspot.de/2014/01/google-play-services-41.html
[Nexus 5 Original Android Development] mendozaram:
Can you share them... i found some pretty old
[Nexus 5 Original Android Development] vomer:
link is in my sig - it is always the latest up to date version.
[Nexus 5 Original Android Development] neriamarillo:
I'm gonna try these. I'm already getting 5-7 hrs SOT in my settings but I wanna try these to compare. Thanks!
[Nexus 5 Original Android Development] rbanaco:
I did yesterday and I reached 6H SOT which is impressive congratz! Although I must say and don't get me wrong, despite I am not feeling any visible lag I didn't feel it "fast", I can't explain... it's just a feeling and can be placebo it is like something is missing!

Franco settings provide less SOT for me 3/4h but I find it more balanced in terms of feeling... hard to explain.
[Nexus 5 Original Android Development] Langduscher:
Tried them for the day and getting similar results as with "my own" settings.

Yours fare well too, thx :good:

I felt that too when I was too aggressive in battery saving. It felt like it wanted to lag, but is didn't.

However, with my latest setting as well as [MENTION=1363323]vomer[/MENTION]'s I don't have this.
[Nexus 5 Original Android Development] Enddo:
performance governor will put your processor at max frequencies, all the time. there is no ramp up or ramp down to lower frequencies.

if it stuttered then bring it one step up from 200mhz(the gpu), bring it up to 320 or 350 or whatever the first step up is
[Nexus 5 Original Android Development] nexusmaniac:
Bug report for fku, if you are on mobile data and you click FK updater, don't let it finish loading and go to another team like CPU manager then kernel settings, leave it for a second this happens,
[Nexus 5 Original Android Development] KTT16:
Confirmed. Mine gets stuck on CPU manager.
[Nexus 5 Original Android Development] 1234west:
What Setup You Have?
[Nexus 5 Original Android Development] franciscofranco:
Android.
[Nexus 5 Original Android Development] Enddo:
me too! :highfive:
[Nexus 5 Original Android Development] 1234west:
I Know That Lol I'm Wondering How Are People Getting Good Battery Life And Screen On Time? Is There Any Way To Play With The Settings For The Kernel?
[Nexus 5 Original Android Development] nexusmaniac:
Yes, use the paid fku app or the free trickster app.
[Nexus 5 Original Android Development] franciscofranco:
Sure, pay attention to your apps and control them. Oh and typing every word with caps wastes your battery quicker.
[Nexus 5 Original Android Development] Mestibals:
Unfortunately I dont have any low performance games, so I can't really try.

I tried 800mhz cpu on fifa14 and asphalt, and again, it was running no problems, but the phone was getting a bit warmer than with 1.2 GHz.

I still have to try and uv. Does it make a difference for you ?
[Nexus 5 Original Android Development] jeetS:
Hey franco can you see whats wrong here?

<script src="http://pastebin.com/embed_js.php?i=kyMMrhED"></script>
[Nexus 5 Original Android Development] 1234west:
Sorry. It's a habit that I can't stop. What APS do you recommend? Sorry about these questions, first time Nexus user.
[Nexus 5 Original Android Development] vomer:
Thanks guys, I was hoping it would work well for you :) I found these to be the best balance of performance and battery so far :angel:
[Nexus 5 Original Android Development] hariboh:
Just wanna thank you Franco for this amazing kernel. I'm having way better battery life than on the stock one. I didn't think a kernel could mean such a big difference.

Btw, I hope I'm not gonna get flamed for offtopic because of this, may I ask what rom you run yourself Franco?
[Nexus 5 Original Android Development] Langduscher:
Stock
[Nexus 5 Original Android Development] vomer:
he runs stock
[Nexus 5 Original Android Development] hariboh:
O.o thought he runs PA, because some guy made some reference of his existence in the world of PA. But then I prolly failed somewhere.
[Nexus 5 Original Android Development] OptimusVDarwin:
In my case: Stock GPU while gaming (Asphalt 8) HOT a** battery, battery would die in an hour or less. Under clocked GPU while gaming, battery doesn't even get warm and it would last wayy longer than on stock GPU. That's MY experience. That doesn't mean YOU have to do it too, unless your my twin or something that would be cool.
[Nexus 5 Original Android Development] Enddo:
if you're concerned with battery life you should google 'xda better battery stats' and download the latest version of their app(APK file). go into the settings, give it root access and you can even install it as a system app(it's what i do). then let your phone run for a couple days to see what is happening with your apps and the wakelocks. wakelocks are important when you're wanting your device to stay in 'deep sleep' as much as possible
[Nexus 5 Original Android Development] zephiK:
Or just use wake lock detector on the play store. It's what I use. I prefer it over better battery stats but both of them gets the job done.

Don't really need it to run for couple days. Just use the phone as it is and at the end of the day, check partial wake locks and kernel wake locks. But mostly partial.
[Nexus 5 Original Android Development] Enddo:
to each their own
[Nexus 5 Original Android Development] aavvaallooss:
I fully agree with you.

WakeLock Detector is easier to understand to noobies (Like me)
[Nexus 5 Original Android Development] carlese:
Gonna test some settings and report back.. Thanks bro :)
[Nexus 5 Original Android Development] franciscofranco:
Battery life on high load scenarios is so correlated to the thermal throttle behavior... its hard to find a balance :(
[Nexus 5 Original Android Development] bknightt:
I think the UV is more of a long run effect from what I've seen, yeah I've set the high perf mode at 1.29ghz now as well since the results are so similar, I'm first gonna see the UV effect on a normal cycle, then testing with a couple of gaming, when I return to college is when I'm gonna really test how all this turns out lol.