yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] Gigi87:
Hello everyone, I'm trying mobydick's settings and I think they are a little too strong, I notice some delays and less fluidity. I will try tomorrow all day but I'd like to find some "half way" between the stock values and this (really need some extra juice but maybe 6-7 hrs SOT is way too much).

Any suggestions? :)
[Nexus 5 Original Android Development] Nbsss:
Ok i'm happy enough with these settings so far to share them. Be interesting to see others experience.

1) Battery Results:

100-90% = 46min SOT

90-80% = 39min SOT

80-70% = 39min SOT

Slope is very linear, so would expect a gain of 39min SOT/hour with these settings, the first 10% is always unreliable from my experience, so i'm basing it on the subsequent lots of 10.

So total SOT would be about 397min, which is about 6:37hrs, factoring different usage patterns eg. 3g (which actually drains more than lte!), calls, standby etc, you can probably expect 5:30 SOT

My usage was quite varied eg. downloaded a large custom rom, browsing and installed about 7 apps from play store, lots of web browsing, rss reading, tapatalk browsing, no gaming.

2) Experience/smoothness

No problems, very snappy, no phone unlock lag, no recents lag, no scrolling lag - will explain why later when i edit this post

3) Tunables

Using FKU paid, i'll try to make the order easy to follow:

CPU Manager tab

Max Freq: 1728

GPU Control -> Max Freq: 320

Voltage Control -> 300Mhz @ 700mV

Governer Control

above_hispeed_delay:120000

boostpulse_duration:500000

go_hispeed_load:60

hispeed_freq:1497000

input_boost_freq:1036000

min_sample_time:10000

sync_freq:1036000

target_loads:90

timer_rate:40000

timer_slack:120000

Hotplug Control -> first_level: 70

Kernel Settings Tab

CPU temp threshold:60

Changing animation speeds under System -> Developer options to 0.5x helps with snappiness also, change all three of them, moto x optimisations feel like they made an impact - maybe placebo

4) Screen shots

I'll edit this post later with the reasoning behind each change, as I don't feel like writing an essay right now :p

Oh and these settings aren't perfect, they're just what worked best for me regards to performance:battery ratio, i'm sure we can get better results by trial and error :)
[Nexus 5 Original Android Development] Jubei527:
Thanks a lot! I'm about to find out what are these setting mean. I have been searching and reading but don't quite understand them. And most of the time nothing came up. Keep it up. And most of all thanks to Franco and his work!!!
[Nexus 5 Original Android Development] franciscofranco:
You can squeeze even more battery by decreasing boostpulse_duration. I found that 1 second is a bit overkill for this device because of the all-too-powerful SoC. I'll probably make it 500ms (500000 for FKU/terminal/shell/whatever) or 250ms. I'm testing 80ms and its fine, but I'm sure someone will cry about some unseen lag. Although I might be a little concerned about 80ms lagging a little bit if the recents is full of apps.
[Nexus 5 Original Android Development] Nbsss:
Thanks :)

I wasn't sure if boost pulse was enabled as its blank on the FKU app, I'll give it a try now

Love how you can basically make your own kernel with the FKU app instead of complaining :)
[Nexus 5 Original Android Development] franciscofranco:
That boostpulse entry its read-only and its not meant to be messed with, I shall remove it from the governor control list because its private governor data. boostpulse_duration on the other hand is the duration of the input boost
[Nexus 5 Original Android Development] Enddo:
I would try a factory reset. you might have some lingering code from other kernels, apps, etc
[Nexus 5 Original Android Development] jb0ne:
Eh, I've given up. I spent too much time on this already. Running Faux kernel on all my devices now, and things are working great. Thanks though. I did pay $5 for the app to support your further development, so perhaps I'll revisit this in the future.
[Nexus 5 Original Android Development] javacody:
Franco, I have a feature request. How about a way to import and export settings so we can share them? A simple properties file format or XML would both work well for this.

Be awesome for the color configuration as well, once you add that. We could trade em like Pokemon cards. Gotta catch 'em all!
[Nexus 5 Original Android Development] 5FOOTER:
Does anybody change the settings under developer options/ animation scale ? I always put mine to .5 it smooths any lag at all out if we had any here.
[Nexus 5 Original Android Development] Hand76:
So what is a good benchmark/cpu tool?

I am new to trying custom kernals but running antutu I got a score of 28600+ with default settings. And after that I went into cpu control and bumped up the max Mhz a few notches to overclock some and got a about the same score.

Can't find a working fps counter in the market so it's kind hard to tell the real world difference in games and apps.
[Nexus 5 Original Android Development] drawde40599:
Pre 4.4 I always had set to 0 but the dialer acts strange on 0 so i use .5 now and ya its nice ;)
[Nexus 5 Original Android Development] Enddo:
i do, but i haven't noticed any lag either way

i use antutu. stock rom always seems to get me about a 28000 score. purity rom gave me 32000(both with franco kernel), but their immerive mode doesn't work properly with a keyboard :(
[Nexus 5 Original Android Development] cobyman7035:
Color gama or USB fast charge yet?

Via my NeXus™ 7 FHD on Tapatalk⁴ Pro
[Nexus 5 Original Android Development] TyroneLT:
I did the same thing early today on the older tunables and it did help a bit. The newer test tunables posted a few posts up help out even more.
[Nexus 5 Original Android Development] Hand76:
Does the per app module work correctly?

I just gave it a quick try but don't think it worked. Also when I go to delete a module it says restore and reboot???

That doesn't make sense.
[Nexus 5 Original Android Development] Nbsss:
Just reached 50% and have got some more figures from the same run:

70-60% = 44min SOT

60-50% = 37min SOT

3:25min SOT at 50% mark

Looks like underestimated a bit, might just reach 6hrs+ SOT (last time that happened for me was back on r12)

Amazing kernel Franco, there was never any lag to 'fix' imo, keep up the good stuff :)
[Nexus 5 Original Android Development] :
What I don't understand is why I can similar battery life without UC and stock settings + UV, I'm usually at 50 mins at 90%, but i always end up playing games at some point so get 5+ hours SOT. I'll never UC don't see the point but I'll try the settings you posted with Max 2265, thanks Nbsss.
[Nexus 5 Original Android Development] Enddo:
i dont think 100% to 90% is very accurate at all. my battery life from 100% to 90% is always better than any other 10% interval.
[Nexus 5 Original Android Development] franciscofranco:
Yes it works.

To delete it you swipe it. That restore and reboot thing is a small bug and shouldnt be there.
[Nexus 5 Original Android Development] Hand76:
Can someone help me since I'm just staying off. I am coming from stock to r23 and my battery life is terrible (compared to stock) I lost about 7% with screen off in 45 minutes. Losing on average 2% every 15 minutes while idle.

I am on stock settings, what's could the problem be? Seems like games run smoother, phone gets hotter (53c while playing the new GTA) but battery life is not where I thought it would be while idle.
[Nexus 5 Original Android Development] JNewms:
Sounds like you've got an app holding a wake lock. Get better battery stats and find out exactly what's killing your battery. Those numbers are nowhere near what you should be getting with this kernel.
[Nexus 5 Original Android Development] Ben36:
Is your auto brightness on? Your screen shots are very dark
[Nexus 5 Original Android Development] trebills:
I have 2 questions in regards to the FKU app if anyone here could help that would be great. 1. How do I make sure my settings stay intact after a reboot? 2. What are the little flags on the right of the different settings within the app. Please see image attached
[Nexus 5 Original Android Development] Nbsss:
The lux app makes the screen appear darker than it is when you take a screenshot, even viewing the screenshot on my Nexus 5 is really dark, guess it's a bug
[Nexus 5 Original Android Development] Remoteconcern:
That's only half right - stock kernel boosts minimum frequency to 1Ghz on touch for 2 seconds. It still idles at minimum 300 after that, but misreported by kernel apps.
[Nexus 5 Original Android Development] 75markus:
right, thats mpdecision

http://www.reddit.com/r/nexus4/related/158t1i/custom_kernels_a_guide_on_what_you_need_to_know/
[Nexus 5 Original Android Development] webvictim:
Well, I didn't think it could be true but it definitely seems it is. I changed my location settings from "High Accuracy" to "Device only" and all of a sudden, battery life appeared from nowhere. That Google location stuff really saps the battery.

This is some of the most impressive battery life I've ever seen from a modern phone. Very happy now!

(Full disclosure: I also undervolted my CPU by 75mV)
[Nexus 5 Original Android Development] flex0r:
Thanks francisco

Another thank you here, as you can see idling is a pure pleasure, made it to 83% after 24h with only 15m OST and a phonecall, now after more, less than 1% idle usage, with google services on only wifi off, helped a lot.

One thing: after 24h or so, suddenly my phone started vibrating again heavily when receiving a message, opening pringles showed vib amp back to 100%, changed it back to 50% all fine, but how did that happen? Updating pringles now.
[Nexus 5 Original Android Development] ChazzMatt:
I think you misinterpreted that.

1) unless you have location services turned off entirely (which you do not) you still have Google location.

2) "Device only" make it use the GPS chip exclusively for location, instead of also using Wi-Fi and mobile network. All the advice I've seen is to use "Battery saving" mode, which actually DISABLES the GPS , as GPS sucks battery power. You've done the opposite -- you have GPS only.

How to Improve Nexus 5 Battery Life

http://www.gottabemobile.com/2013/11/07/improve-nexus-5-battery-life/

Five settings that increase battery life on Android 4.4 KitKat

http://howto.cnet.com/8301-11310_39...-increase-battery-life-on-android-4.4-kitkat/
[Nexus 5 Original Android Development] Batfink33:
Ahhhh, OK.

On a side point, is it damaging to a Cpu to sit always at say 1ghz rather than its lowest frequency? I'm having an argument with someone who says it would 'wear' the processor quicker, I say over the lifetime of a phone 5years max it would have little or no effect.

Sent From My Nexus 5 Powered By Franco Kernel
[Nexus 5 Original Android Development] Testraindrop:
Yeah, it was the same thing on the Nexus 4 with stock kernel, using battery temp for heavy throttling.

I don't know why Google is doing this, but I suspect to not let Nexus devices show up higher in Benchmarks than other OEMs devices to not spoil the relationship with the manufacturers.

On the N4 I got it that the Glassback made the user more aware of the temperatures, that why the very early throttle, but on the N5 the device doesn't even get warm :(

I don't know if Google ever fixed this on stock on the N4, but Franco did :) and he will do the same on the N5...

Then we can fully unleash the power :cool:
[Nexus 5 Original Android Development] franciscofranco:
Looking for feedback: did anyone try to backup this Kernel using the latest alpha FKU? I couldn't try it, no N5 yet :(
[Nexus 5 Original Android Development] rh387:
It appears to be working correctly. I backed up and then did a restore and it booted. Did not try to switch kernels with it to verify.
[Nexus 5 Original Android Development] 75markus:
works :)
[Nexus 5 Original Android Development] GHOSTIVVI:
Can't wait for Franco to get his n5, I love this kernel so much I put it on my n7 2013 and n10
[Nexus 5 Original Android Development] Batfink33:
Thought so :)

Sent From My Nexus 5 Powered By Franco Kernel
[Nexus 5 Original Android Development] nexusmaniac:
Tried it as soon as I updated it, and it works, backup and restore :)
[Nexus 5 Original Android Development] brittonberkan:
Works perfectly, it seems. Kernel is very smooth for a test build, a little slower than stock but if that's the price i have to pay for decent battery life I'll gladly do so :)
[Nexus 5 Original Android Development] freshiem:
Should mpdecision be on in trickster or does the kernel have it built in (be left off)?
[Nexus 5 Original Android Development] Bogusetti:
Scrolling and especially switching thread pages in Tapatalk 4.2.5 is laggy for me. Can anyone confirm this. Settings are as they came out of the box.

Backup and restore is working here too.
[Nexus 5 Original Android Development] flex0r:
definitely lots of lag in tapatalk.. not deeply annoying, will test on another Nexus that is running stock kernel later!
[Nexus 5 Original Android Development] PhantomGamers:
Did you do it just for the N5 or for Mako and the N7 2013 as well?
[Nexus 5 Original Android Development] caribouxda:
I understand this is still a test but I wanted to give my feedback. Right now the kernel gives you same battety life as stock. Stock is smoother and never lags, while the test happens to lag.
[Nexus 5 Original Android Development] silvan g:
That are the check boxes to apply the setting on boot :)
[Nexus 5 Original Android Development] Ben36:
Franco... About a week ago i may have had a reboot.. I looked at my phone and it was lit up. So I assumed that maybe it had rebooted without me noticing.. Please fix this.. Thanks

:P
[Nexus 5 Original Android Development] RobbieL811:
Read the tutorial the first time that you open the app instead of just hitting ok. Nah.... this screen don't important....

Sent from my Nexus 5
[Nexus 5 Original Android Development] 75markus:
You can´t go wrong this time - LOL ;)
[Nexus 5 Original Android Development] Nbsss:
Sorry i was laughing too much to answer your question, have a thanks instead :D
[Nexus 5 Original Android Development] Meowdib:
I was getting shorter battery with Lux, either because I greenified it or it was having some sort of problem. It has around 173 wake locks. I uninstalled it and battery went back to exceptional.
[Nexus 5 Original Android Development] Nbsss:
You might be right, count is over 3,000 lol But I have sensitive eyes, can't handle the default auto-brightness indoors.
[Nexus 5 Original Android Development] Puzzlegirl:
I never had much luck with Lux. I use Velis Auto Brightness from the Play Store which doesn't appear to hold wakelocks.
[Nexus 5 Original Android Development] JNewms:
I'm not sure about number 1, but for each of those flags you check, Justin Bieber loses one year of his life. Pretty advanced stuff in this app.
[Nexus 5 Original Android Development] Nbsss:
You just made me uninstall Lux, initial impressions of Velis are great so far :)
[Nexus 5 Original Android Development] Chad_Petree:
Is version 23 working with "N5 gamma calibration? I can't get it to tweak my color settings" :crying:
[Nexus 5 Original Android Development] Enddo:
no, he's working on more critical parts of the kernel right now
[Nexus 5 Original Android Development] Chad_Petree:
Any version known to work with it ? I just want to try it and see how much of a difference it makes , just in case you got mixed up , I know that Franco kernel doesn't have support for color tweaking (in the app) , but you can do it with other apps, "Nexus 5 gamma control " is another app :'(
[Nexus 5 Original Android Development] Nbsss:
Did you try screen on and off?

The green values and 29 white point values are quite nice on my phone btw
[Nexus 5 Original Android Development] tylerdurden83:
Do you have sync off? Location services off?
[Nexus 5 Original Android Development] aNYthing24:
This kernel is a goddamn beast. Thank you Franco.
[Nexus 5 Original Android Development] bradputt:
I'm making sure every single one on mine ticked!
[Nexus 5 Original Android Development] Langduscher:
Sync ON, location services OFF (I only turn location services ON when really needed). Also, Google Now OFF (doesn't work properly over here anyway).

---

How are the new tunables panning out [MENTION=4267798]JNewms[/MENTION] & [MENTION=4788174]Nbsss[/MENTION]?
[Nexus 5 Original Android Development] Nbsss:
50-40% = 35min SOT

40-30% = 30min SOT

30-20% = 31min SOT

20-10% = 43min SOT (suprisingly)

10-0% = its not good on the battery to do a deep drain, so i'm skipping this

So all up 5:44 SOT with 10% left, and performance has been the best yet for me

(oh and the 2% blip in the 60-70% range was when i was coping the screenshots to my PC as tapatalk wasn't working, which explains why its 44min instead of 37ish)

btw i broke my leg a few days ago, which is why i have the time to do all this :D

[MENTION=4468759]Ti2[/MENTION]

Lots of screenies:

(changing from lux to Velis fixed the dark screenshots :) )
[Nexus 5 Original Android Development] Nbsss:
Couldn't resist this one as I was close enough :)

Edit: System monitor CPU frequency distribution:
[Nexus 5 Original Android Development] Marck527:
San andreas is laggy on stock kernel while it's smooth on Franco.
[Nexus 5 Original Android Development] franciscofranco:
It works just fine with that app.
[Nexus 5 Original Android Development] murdok83:
hi all.. i'm have a question i hope some of you can answer regarding mywifi...

i'm running the stock 4.4.2 with franco r23 and in the WIFI advance setting i've set "keep wifi on during sleep" to "never", but everytime i turn the screen on the wifi is connected...

is this normal?

in my battery stats for the wifi i have a long blue line....

any advices?

thanks
[Nexus 5 Original Android Development] Enddo:
you have something keeping your wifi on. i would search 'xda better battery stats' and install the latest apk(in the 2nd post) of the first result in google. then let it do it monitor your phone for a few hours so you can see what it is.

you might also be able to find out what it is from the stock battery stats page
[Nexus 5 Original Android Development] murdok83:
thanks... i found and installed it... i'll wait few hours and see.. where should i go and look? in the network session i guess, right?:good:
[Nexus 5 Original Android Development] franciscofranco:
Why are you bothering with that? The Wi-Fi chip goes into power saving mode during screen off regardless of having apps using the network.
[Nexus 5 Original Android Development] murdok83:
I'm sorry Franco but i'm not an expert in android... I don't want to bother.. i just wanted to know if it is normal to have in my battery stats (the stock ones from the andorid menu) the WIFI Always on (constant blue bar) even in deep sleep...
[Nexus 5 Original Android Development] anshmiester78900:
Hey guys im new here just flashed franco kernel . But where can i get its app ?
[Nexus 5 Original Android Development] Delacor:
I can't believe that I just bought an N5 just because of Franco... :highfive:

Gesendet von meinem C6603 mit Tapatalk
[Nexus 5 Original Android Development] freshlysqueezed:
Google locations/services is keeping it on.

Goto system settings>WiFi>advanced and uncheck scanning always available.
[Nexus 5 Original Android Development] murdok83:
Google location has Always been off as well as scanning Always available...

the only thing tht i have is the location mode set to "high accuracy":good:
[Nexus 5 Original Android Development] freshlysqueezed:
Can't help you then, but its not a Franco kernel issue.
[Nexus 5 Original Android Development] Molitro:
If wifi is on, it's on, including when sleeping. The phone isn't gonna change to mobile data (and you don't want to)

In better battery stats, you'll want to look in partial wakelocks. If you have high idle drain you'll most likely see one particularly high, rather google what it is and how to solve it.

Swiftkey'd from my Nexus 5
[Nexus 5 Original Android Development] aavvaallooss:
In High Accuracy and Battery Saving Nexus 5 uses WiFi to improve location. Change to Device Only to use GPS alone
[Nexus 5 Original Android Development] murdok83:
what i'm trying to understand is if it is normal to have (in better battery stats) the lines "wifi on" and "wifi running" exactly the same... is there no difference between the two...???

I thought that if i turned the wifi on and didn't use the phone at all, in battery stats i would have seen the line "wifi on" blue all the way, and the wifi running "shorter"...

i don't know if i made myself clear

thanks
[Nexus 5 Original Android Development] franciscofranco:
I'm not saying you were bothering us, I said that you shouldn't bother much with that. Please check if you have Wi-Fi scanning whatever option ticked. If you do, untick it.
[Nexus 5 Original Android Development] Molitro:
If you're connected to a wifi net, then yes, they should be the same. As I sayd before, turning off the screen won't disconnect the wifi. And you don't want it to.

I'm thinking wifi on is just having it on, and running is having it actually connected. If you have it on and go out, so you're in mobile data, I'm guess it will vary.

In any case, as franco says, don't bother with that, bother with the partial wakelock that's keeping your phone awake.
[Nexus 5 Original Android Development] carlese:
For brightness adjustments do you suggest veils or lux or the in built patch alone?

What saves battery the most?
[Nexus 5 Original Android Development] venelar:
Settings>WiFi>advanced : uncheck always scan.
[Nexus 5 Original Android Development] franciscofranco:
I dont understand your question... Both things are not mutually exclusive.
[Nexus 5 Original Android Development] matteo100nze:
STRANGE

Why ART doesn't work with this kernel? When I active it and then reboot, the setting returns on Dalvik.. Any help for this??
[Nexus 5 Original Android Development] chikimonke:
Are you using Xposed Framework? If so, it's not compatible with ART and will revert back to Dalvik on boot.
[Nexus 5 Original Android Development] muEcke*:
It's definitely not the kernel, there is something wrong with your settings. Works perfectly great here.

View attachment 2466821

Good question, I am also not able to find a proper solution. The built in auto brightness is pretty annoying and for me much too bright in almost every situation... Velis is too complicated... I just don't want so spend hours for setting up the brightness. Lux is the best solution I could find so far but it's not working that good, there are problems with Francos low brightness patch.

Which solution are you using at the moment Franco?
[Nexus 5 Original Android Development] franciscofranco:
Im using my fingers to change the brightness when I feel it needs changing, never fails.
[Nexus 5 Original Android Development] aavvaallooss:
I use Fingers 5.0 (Thumb version) too. It works great with both Dalvik and ART. Battery friendly!!!
[Nexus 5 Original Android Development] franciscofranco:
I knew I wasn't alone!
[Nexus 5 Original Android Development] ben_pyett:
Well I'm lazy and prefer to let LUX do it for me automatically, that way I can save my fingers for picking my nose!
[Nexus 5 Original Android Development] DanP47:
4hrs SOT yesterday, mix of 3G and WiFi, including 40 minutes of throttled gaming :).

Having the problem with the per-app modes that someone mentioned earlier though where it doesn't revert back to the normal max CPU freq after closing the app. I think all of the other settings revert back fine. Tried exiting the app a few different ways (home button, recent apps button, exit button in the app) and it still does it. Since exiting the app I've also had the 'FKU has been granted superuser permissions' message pop up every 20 second or so.
[Nexus 5 Original Android Development] The Gingerbread Man:
Someone said about a new thread for tweaking the gov controls. If a new one hasn't been created already I'm happy for that to go into my learner lounge thread in my sig
[Nexus 5 Original Android Development] franciscofranco:
On the latest release? If you can replicate can you get a logcat? Thanks.