yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] franciscofranco:
Sure, that should be pretty straightforward to code.

I think we should start treating it with the proper names. Hotplug is the action of offlining CPU cores. What we should be calling is, should we set the Hotplug load threshold to 0 or 100. That said, with it at 0 you'll waste a tiny extra more battery, but if you underclock you'll most likely negate that effect. The good thing about having all cores online is that it allows the Kernel to better distribute the system load amongst the cores, but with the underclock you won't have as much "burst" when there's a really sudden load spike. Next time someone asks this question, please quote this post.
[Nexus 5 Original Android Development] Yusei:
r48 it's from another planet.

Thx Franco ;)
[Nexus 5 Original Android Development] Mynix:
Confirmed ! :eek:

Thanks a lot Franco
[Nexus 5 Original Android Development] CitizenLee:
Just to follow this up...

No audio glitches to report using PowerAmp and AdFree on Purity/Purified for a few hours. I tried both Bluetooth and wired headphones, and no issues with either.

I'll try with Purity/Franco later ;)
[Nexus 5 Original Android Development] Haidary.T:
Never felt my homescreen being this smooth :D
[Nexus 5 Original Android Development] LibiSC:
Not all the people survive the day with one charge anyway.... Think it for people that plugs the phone in their offices and start listening to music or the people that charge overnight or someone that wants to keep the nexus 5 as long as possible before buying another one
[Nexus 5 Original Android Development] WettbackMartyr:
[MENTION=4554485]LibiSC[/MENTION], just so you know...even though the battery is not EASILY replaceable. You can still have it replaced when needed.
[Nexus 5 Original Android Development] Spafey:
I just tried adfree (PA/Franco as with previous tests). No glitches.

After adfree worked I tried re-installing adaway. Using the default hosts it is also glitch free. I remembered I added another host a while back (http://adblock.mahakala.is/) as I saw a few extra ads slipping through. Something in there must be the specific cause.
[Nexus 5 Original Android Development] RobLudo:
Me too. Few days ago I did the same comparison with G2 (same set of picture) and I was impressed of results. I loved the color and the white point. Great work!!

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] JNMM:
Can anyone direct me to Vomer's settings zip? I cant find it with alot of searching. Perhaps it's not compatible with the latest release though?
[Nexus 5 Original Android Development] Enddo:
this is just false

you want to keep the device topped off as much as possible. the more you can prevent the battery from doing a 'full discharge'(aka hitting 0%) the better

if you plan on storing your device for 6 months or more(without use) then you do not want to keep it at a full charge. but for daily use, you want to keep it charged as much as possible

source
[Nexus 5 Original Android Development] LibiSC:
You want to keep it charged but not full charged.... And you should not let it discharge to 0 but around 20 or 30%...from what I read
[Nexus 5 Original Android Development] rjnikku:
http://xdaforums.com/showpost.php?p=50902548&postcount=21015

i'm using vomer settings on r48+pa4.3 beta 3 ....everything working fine for me ....
[Nexus 5 Original Android Development] Tylog:
Time i need, 3 Seconds. Google ---> Vomer XDA ---> Tadaa http://xdaforums.com/showpost.php?p=50902548&postcount=21015
[Nexus 5 Original Android Development] leAndroid91:
hi guys,

i updated to r48 today.

now when screen's on core 0 runs at 300mhz and core 1 runs at 1036 mhz.

(300mhz is my min freq).

is this caused by franco?

as far as i know both cores stayed at min freq until you touch the screen or anything else happens since r47.

when touching the screen both cores go to 1497mhz.

this is just like always.
[Nexus 5 Original Android Development] Tzfardaya:
Even that's not entirely correct.. with lithium based batteries, you don't want to drop the voltage below 3v (catastrophic damage can occur at this point) and below 3.4/3.5v is the danger zone for them... I ran a couple tests with my n5 and a multimeter... When our phones shut off at 0% charge, the voltage at the battery is just below 3.6v.

So either LG has taken the battery technology into consideration, or our devices need more power to run than our batteries provide at 3.6v.
[Nexus 5 Original Android Development] yorici:
Did you create v7 after or before r36? There is a bug introduced in r37 changing the way the values work. Try changing the first value for example and check RGB-255... (Then flash r36 and do the same, you will see the differences)

I think this bug can already be fixed as I already discovered in github where the code goes wrong. [MENTION=3292224]franciscofranco[/MENTION] just needs to check hangouts to see my solution ;)
[Nexus 5 Original Android Development] Enddo:
show me what you read. . .
[Nexus 5 Original Android Development] federikk90:
wow, thanks franco, i love so much r48.

I had think that r47 was PERFECT, but r48 seems even smoother :)
[Nexus 5 Original Android Development] Ben36:
Soo, leaving max frequency alone. But.. Changing input boost to 883000 and Hotplug load threshold to 0 should in theory be a bit quicker and smoother all round?
[Nexus 5 Original Android Development] dazz87:
Not working for me. I have it set to 'set to boot" Set to 13 and its loud. Come back to it after a minute of sleep. Its back to default. Set it to 10 and its loud again.
[Nexus 5 Original Android Development] franciscofranco:
Please search for "sound" or something similar and you'll find your answer soon.
[Nexus 5 Original Android Development] The Gingerbread Man:
Yup its like pre school noob fest up in here. Iv helped the people with more interesting questions where I can but this thread moves very quickly, too many posts and 95% of them BS. If time allows and Franco agrees then I may start a Q&A forum thread for noobs to learn, and have some more FAQs the good stuff to do with development can be posted here. How does that sound to everyone?
[Nexus 5 Original Android Development] franciscofranco:
Sure go ahead. I won't monitor it though.
[Nexus 5 Original Android Development] krolla03:
I am getting some random reboots on r12 but I see r13 is out now so I'll try that and report back
[Nexus 5 Original Android Development] bokoy:
Agree with both, too much bs and when you are looking for the changelog 10 new pages of noobs. Please do something
[Nexus 5 Original Android Development] tracerit:
edit: nm
[Nexus 5 Original Android Development] bartolinio:
so, for me also were randomly restarts on version 12, especially during the standby mode, several times during of yesterday, and two restarts at night in flight mode

on version 13 for now everything is ok, no restarts from morning
[Nexus 5 Original Android Development] pkelly517:
Damn Tapatalk.

Two posts, and both time your logcat didn't get attached.

Maybe the third time.
[Nexus 5 Original Android Development] The Gingerbread Man:
If no one beats me to it and Franco is happy for me to divert some of repetitive questions from here I'll make a new thread tomorrow (12-15 hours from now). Is that ok with you Franco?
[Nexus 5 Original Android Development] dazz87:
I found your post. I just thought it was working on r13.
[Nexus 5 Original Android Development] JNewms:
That would be great. Only thing is, if there wasn't a link to it in the OP people would still be asking everything here. Even with stuff in the OP, there is no guarantee that it'll work. Anyone remember the PA thread from the Nexus 4?
[Nexus 5 Original Android Development] franciscofranco:
Sure, I'll then add the link to the OP.
[Nexus 5 Original Android Development] The Gingerbread Man:
Haha yeah didn't think of that. I guess a link in the OP would be required. I will let Franco think it over, I know he's busy so don't expect a reply straight away plus tonight isn't a good time to start making a thread as I'm on the cider ?

Cheers I'll see what I can do in the AM after my chores
[Nexus 5 Original Android Development] bilago:
[MENTION=1110768]bilago[/MENTION] MODERATOR EDIT:

You do realize that you're now a contributer to that. Congratulations.

While some Off Topic is being allowed, your post is not only OT but it violates the XDA rules.

The OP has decided to allow OT in the thread, However rule violations are not allowed no matter what.

Consider this your warning
[Nexus 5 Original Android Development] curtdragon:
r13, no sd card or data
[Nexus 5 Original Android Development] masterchif92:
Anyone can help me....what is this wakelock?
[Nexus 5 Original Android Development] The Gingerbread Man:
Now now there is no need for that, from what iv seen zephiK has been helpful here forum elitist or not. We are all loosers hanging about talking about phone stuff if we were cool we would all have iphones :silly: ? Let's all stop getting so over excited here
[Nexus 5 Original Android Development] bilago:
I was not able to find too much info on this wakelock, but I did see that it seems to be a common 4.4 issue. Could be the "always listening" state for "Ok Google".
[Nexus 5 Original Android Development] pkelly517:
I've noticed a significantly higher occurrence of RX_wlan_wakelock with r13 in the last 7 hours. I just reflashed r12 and put the phone in the same place. We'll see.
[Nexus 5 Original Android Development] SedyBenoitPeace:
Well guys i solved the issue with the wlan_rx_wake in high trafficated networks, i found the solution here http://xdaforums.com/google-nexus-5/help/getting-rid-wlanrxwake-wakelocks-t2519294 , at least in my case the problem was the IPV6 (probably in high trafficated network it uses some special packets that wake the phone), you need to put this on terminal:

echo 1 > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6

Or at least you can directly edit the file (of course with a file manager and root)...the boring thing is that Android resets this "number" every time you connect to a network...then i used tasker to automate the process and now at my university i'm fine with the wifi network at my university!

I posted here because i use franco kernel and also because a lot of people reported here the problem...i don't remember the username except for [MENTION=5341612]AmmVid[/MENTION] that also tried to get rid of wlan_rx_wake.

I wish that i helped the users that had this problem!
[Nexus 5 Original Android Development] Tzfardaya:
We had a fairly lengthy discussion about how and when to charge batteries here [MENTION=2722834]rirozizo[/MENTION]'s thread about improving battery life...
[Nexus 5 Original Android Development] LibiSC:
Some article in life hacker that in fact references your source

http://lifehacker.com/5875162/how-often-should-i-charge-my-gadgets-battery-to-prolong-its-lifespan
[Nexus 5 Original Android Development] Enddo:
I know all about the thread. it was my suggested to 'use light themes when using an lcd screen' which he added to the main post

and i don't know why you're relating a minimum voltage of 3.5 causing 'catastrophic damage' to the suggestion of not letting the battery drop to 0%. if you read the source i linked it's about wearing out the battery itself. there's no mention of 3.5 in the sourced link and that was not their reasoning for saying not to let the device drop to a full discharge.

sure, there might be some damage that happens when voltage drops that low. but that's not the reason to avoid doing a full discharge

and what's with the '...' in 90% of your posts. it's like you have more to say but run out of energy to type it
[Nexus 5 Original Android Development] Tzfardaya:
First off, I said catastrophic occurs below 3v. Charge life reductions occurs between 3.5v to 3.6v, and with the tests I did on my phone with a multimeter, our phones shut off just Above that danger threshold... (mine shut off consistently between 3.59v and 3.61v)

And in case you haven't noticed, given the lengths of my helping/informative posts, I always have more to say I just self censor because it's not always relevant to the information at hand.
[Nexus 5 Original Android Development] floepie:
The color of the theme only affects battery life of devices with an AMOLED screen. No effect on those with LCDs.

EDIT: I see the point now. Using a lighter theme allows you to reduce brightness. Not entirely sure I see the logic, but I haven't tested either.
[Nexus 5 Original Android Development] Tzfardaya:
[MENTION=4782328]Red5[/MENTION], what did you do to enddo, he used to be so much fun to play with, now he's all serious and stuff... Attack this, attack that, deride this forum member, blatantly misquote that one.... :(

---------- Post added at 09:39 AM ---------- Previous post was at 09:31 AM ----------

Using a light theme improves readability in lower lights allowing for a lower back light level to be used and the screen still read..
[Nexus 5 Original Android Development] Ben36:
I charge my battery when it needs it
[Nexus 5 Original Android Development] Tzfardaya:
And that's how you are supposed to do it. :P
[Nexus 5 Original Android Development] Red5:
Idk, but its fun to watch the both of you go back and fourth. You give him hard facts and logic, and he likes to take it to Bizzaro World. Quite comical from a 3rd party's view, I assure you.

^ This x1000
[Nexus 5 Original Android Development] Tzfardaya:
Oh, I know... There are comments of his I read, reread, read a third, fourth, and fifth time, and still have no idea how they're supposed to factor into the conversation at hand.... :P
[Nexus 5 Original Android Development] Red5:
And your facts are so logical, even this 15 year old can understand them and agree. I dont get it.
[Nexus 5 Original Android Development] Tzfardaya:
I'd be worried if facts weren't logical... :eek:
[Nexus 5 Original Android Development] CitizenLee:
I would have thought most people would have moved onto a new device before battery degradation noticeably rears it's ugly head?
[Nexus 5 Original Android Development] Tzfardaya:
Those of us who upgrade yearly, no.. We usually don't notice too much degradation... Others who upgrade only at the end of their (3 year) contracts here in Canada do...

My parents have been stubborn enough not to replace their phones even though they only get 5-10 minutes off charger time because the batteries are so broken....
[Nexus 5 Original Android Development] Technecium:
Jeez.. I thought I used my hands a lot when I talk. The guy in the video did an entire aerobic session. I'm winded just from watching.
[Nexus 5 Original Android Development] CitizenLee:
Ah, I forgot about 3 year contracts in Canada! I'm not sure I could cope! I was 18 months in a 2 year contract on my Note 2 before I got bored of it, passed it on to my gf and then bought the N5 outright. Once the rest of the contract is over I'm going to go on a 12 month SIM-only plan. Sick of paying well over the odds on contract for high end phones.

Back to batteries, we've got a few "old" phones in the family... SGS2, Desire HD, Wildfire S... all still with great battery life, although that might be because they all used to be mine and so they're running custom ROMs and kernels. If charging has degraded the batteries over the years it's not really noticeable.
[Nexus 5 Original Android Development] MU24R:
Hi in new using this kernel so i wanna know if the default value in r48 for cpu maximun frequency its 1190? thats what shows me i havent touch a thing
[Nexus 5 Original Android Development] Enddo:
thermal throttling
[Nexus 5 Original Android Development] Tzfardaya:
Hey welcome to the kernel club.. May I suggest you check out the faq/learners lounge linked in the op of this thread? It will answer a lot of the common questions you may have about franciscofrancos kernel.

Or, since I'm in a good mood today, you can follow this link to the same thread
[Nexus 5 Original Android Development] AmmVid:
Hey man! I tried this but I think I may have rebooted in between, so that's why it may have not worked. Can you guide me on how you did it in tasker? Not really sure what to click to put this code in. Thanks!
[Nexus 5 Original Android Development] Hans QC:
Updating FK every time compensates for your slowly degrading battery ;)

Envoyé de mon Nexus 10 en utilisant Tapatalk
[Nexus 5 Original Android Development] Tzfardaya:
Set up a Tasker profile event/system/device boot and put the "echo 1 >....." in its task as a script/run shell command
[Nexus 5 Original Android Development] Enddo:
which is just a narrow minded and ignorant way of thinking. not everyone upgrades every year or even every two years, not everyone buys phones with a contract, not everyone uses their smartphone with a sim card

but what do i know. im...from...the...bizarro...world where...Tzfar...the...clown...talks...nothing...but...facts...and...logic...and...i...make...no...sense... ... ... ... ... ... ...
[Nexus 5 Original Android Development] Tzfardaya:
Really? Lithium based batteries get between 1000 and 5000 charge cycles on average.

Let's also say it uses a full charge cycle every day... 365 charge cycles a year.... So even an abused battery (1000 cycles) will last just under 3 years before severe degradation has occurred... Yes, it may be noticeably weaker before then, but...

So really, is it too hard to conceive that even with only moderate care a battery will last long enough for the device owner not to notice a heavy degradation before replacing the device?
[Nexus 5 Original Android Development] AmmVid:
Hey! I'm trying to do this, but after I click device boot I don't get any options and what happens is there is just a white screen with nothing to click. Here is a screenshot.
[Nexus 5 Original Android Development] Tzfardaya:
Okay, give me a few minutes, I'll make a video of how to..
[Nexus 5 Original Android Development] CitizenLee:
I can only go by my own experience and from that I'd say a good 90% of people I know upgrade or change their phones every 1-2 years, on or off contract. If that makes me narrow minded and ignorant then so be it... I've been called worse :laugh:
[Nexus 5 Original Android Development] Skinpipe:
i share your opinion citizenlee narrow mindedness and ignorance is not something i would say is associated with thinking the majority of people would have changed their phone before battery degredation. i change my phone once a year maybe every 9 months if i can so im ignorant sorry enddo
[Nexus 5 Original Android Development] Tzfardaya:
sorry I took so long..
[Nexus 5 Original Android Development] cdx47:
Nice Kernel

OK following on from the above? For my usage I get no real difference between using default settings and underclocking the CPU to 1700. My usage includes always connected to wireless at home. Wireless always on in the background when I am away from home, with occasional connections to free street wifi if available otherwise connect to 3g every 20 minutes.

In terms of battery life:

1. Looking at the CPU profile, it seems that any underclocking is mostly taken care of automatically in that there are a quite few bursts to 1500 and far less cpu bursts to 2265. The rest of the time the CPU is mostly at 300 or Deep Sleeping. (@francofrancisco Is also this stock behaviour?)

2. Leaving wifi on in the background does not by itself drain battery. But it is still normally a bad idea because of the way some rogue apps behave (Sven Knispel author of BetterBatteryStats and Better Wifi explains this in more detail).

3. I used to turn off my wifi and use profile management to switch on/off wifi once a minute. Howvever using Oasis Feng Greenify nullifies the bad rogue app behaviour so now I leave wifi on in the background at all times.

4. Running audio with V4afx (screen mostly off) running at super high driver for an hour pretty much has no significant impact on battery usage for me so it looks like the audio battery life issues are sorted.

I could say a lot more but I hope this maybe of some use.

P.S. r48 is now my baseline Kernel. :)
[Nexus 5 Original Android Development] AmmVid:
[MENTION=4860519]Tzfardaya[/MENTION] it wasn't long at all! Thanks so much for showing me. For some reason, it's not working. Either tasker isn't working or this fix isn't. However, tasker does say no active profiles, so maybe it's because of tasker. Either that or this fix doesn't work for me. Any suggestions?
[Nexus 5 Original Android Development] Tzfardaya:
This profile I showed you is an event, not a state... It runs once on boot, and doesn't sit active....

To test if it's working, reboot and check the value of the file we echo to..
[Nexus 5 Original Android Development] AmmVid:
Oh okay I guess this fix just doesn't work for me :( thanks for all the help, I appreciate it so much.
[Nexus 5 Original Android Development] Tzfardaya:
Does the echo get applied to the file on reboot?
[Nexus 5 Original Android Development] 5FOOTER:
I know people were having an issue of hitting power and screen would lag or would have to hit it 2 times. What did you guys do to fix this? R48 is the first time I'm having it.

Destro warlock on WOW burnall

OK a reboot fixed it 2 cores got stuck at max.
[Nexus 5 Original Android Development] gparmar76:
Why would the device need to be replaced when the battery can be replaced? Its not hard to replace the N5 battery.
[Nexus 5 Original Android Development] Tzfardaya:
hardest part of changing the n5 battery is detaching the double sided tape attaching the battery to the case...

No, by "replacing the device" I meant that they'd replace the nexus 5 with the nexus 6, galaxy s7, note 4, htc one.5, etc etc...

Upgrade, downgrade, try something new...
[Nexus 5 Original Android Development] AmmVid:
I hope so. This is a screenshot of the file,didn't know how to open it. I'm so sorry for being so clueless.
[Nexus 5 Original Android Development] Tzfardaya:
don't apologize for wanting to learn. :p

what happens if you tap on the file in that file explorer? you want it to open the file as a text file.

it should have either a 1 (if the tasker profile worked) or a 0 (if it didn't)
[Nexus 5 Original Android Development] AmmVid:
It's a 0 :o I'm on a different network though and didn't you say that it changes when you switch networks? If not, then I guess I might just try and change it every single time I'm at school (manually)?

EDIT: :o was supposed to be :( and thanks
[Nexus 5 Original Android Development] Tzfardaya:
have you rebooted the phone since setting that up?
[Nexus 5 Original Android Development] AmmVid:
I rebooted it while I was at school so it would change, not really sure it did. I could reboot now and see if it changes.
[Nexus 5 Original Android Development] Tzfardaya:
I would reboot and check.
[Nexus 5 Original Android Development] AmmVid:
I rebooted and it was 0. I pasted this " echo 1 > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6". What do you recommend? Should I try to do it manually?
[Nexus 5 Original Android Development] franciscofranco:
Maybe call su first? Or tasker does that by itself? I never used that app.
[Nexus 5 Original Android Development] Tzfardaya:
Did you hit the "use root" toggle in the task?

Oops, I missed the toggle in the video clip... My bad...

Oh, pm sent your way.
[Nexus 5 Original Android Development] AmmVid:
Just did it and it's at 1. Let's hope it works tomorrow :D also sent you a message on hangouts.
[Nexus 5 Original Android Development] Tzfardaya:
hmm, I didn't get it.. :(

same name there as here...
[Nexus 5 Original Android Development] AmmVid:
I've double checked, I think it's you :o are you *beep*?
[Nexus 5 Original Android Development] Tzfardaya:
Shhh not so loud... I'm incognito..
[Nexus 5 Original Android Development] AmmVid:
:p edited your name out of my comment. Then I've probably got you but the message isn't sending through or something. Maybe double check?
[Nexus 5 Original Android Development] Tzfardaya:
Pm me here... It's a start.. ;)
[Nexus 5 Original Android Development] Ben36:
I would like to take this opportunity to say...

I don't care about anyone's battery

Thank you :)
[Nexus 5 Original Android Development] 4n3ver:
Just upgrade to r48, the performance clearly better, but somehow my battery life become worse...

Is it just me or what?