yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] nexusmaniac:
I always clear my apps after I exit them. Why is that not normal? I know we have 2gb of ram but doesn't leaving an app in recents use additional battery?
[Nexus 5 Original Android Development] ZacksBuilds:
What about the others?

Device: Nexus 5 16gb Black

ROM: AOSPA 4.0BETA w/ Franco r26
[Nexus 5 Original Android Development] Ch3micalGnetics:
Hi franco, can you check the post #10240 please? Thanks!

Enviado desde mi Nexus 5 mediante Tapatalk
[Nexus 5 Original Android Development] franciscofranco:
No...

Dunno about the others, its your phone, you'll figure it out.
[Nexus 5 Original Android Development] nexusmaniac:
Oh cool, I always thought that it did :silly: thanks! :)
[Nexus 5 Original Android Development] GeekMcLeod:
Yes I can do that. Although, I tried again and on your kernel, it didn't reboot this time. It is really sluggish this cold though and it ate away at my battery pretty good. (lost 10% since my last post, that's idle and in deep sleep.)

Posted from under your bed.
[Nexus 5 Original Android Development] Molitro:
I take it you've seen the comments of the guys who do know of what they're talking about on the matter.
[Nexus 5 Original Android Development] Testraindrop:
Why killing apps for no reason is bad and why Android is not Windows:

http://lifehacker.com/5650894/andro...ed-what-they-do-and-why-you-shouldnt-use-them
[Nexus 5 Original Android Development] ChazzMatt:
And if I want to kill apps I'm not using anymore, I will still do so. It's my phone.

This sounds like the people who try to convince you to stop deleting cookies. It makes no sense.

If I kill a recent app, it's NOT going to start back on its own. So stop posting nonsense.

We are talking about clearing recently used apps the phone owner manually opened, and you are posting about process autokill, which is different.

_______

Sent from my Nexus 5 (LG-D820)
[Nexus 5 Original Android Development] peikojose:
Using the tunables to get more battery I am getting around 5h SOT constantly..

Btw our Nexus 5 is fighting its fight today lol http://mblog.gsmarena.com/smartphone-champions-league-semifinals/
[Nexus 5 Original Android Development] Ibsonic:
Stop moaning man, and just download damn xposed and add the gravity module to it. See attachment.

One, is the delete all recents button

The other one, kill app on longpress.

PROBLEM SOLVED, move along nothing to see here.
[Nexus 5 Original Android Development] :
So Franco you mean it's not important to clear the recents since Android cares about it by itself if it runs out of ram.

I usually don't do it either but I can't see why it's not normal to do it. Is it placebo or what do you mean?
[Nexus 5 Original Android Development] FCDHBubbles:
Had a random reboot on R26 hope this kmsg can be any help Franco.

https://www.dropbox.com/s/67420652jm47yfu/last_kmsg.txt

I've set UV -50, 300 MHz @ 675 MV,

Also I've got picture of governor control FKU.

https://www.dropbox.com/s/buohjdsxfboy587/Screenshot_2013-12-30-22-22-12.png
[Nexus 5 Original Android Development] :
I've got that too before, but after turning off reporting location and location history it seems to be fixed.

dunno though... Gnow seems to be a hit or miss.
[Nexus 5 Original Android Development] drawde40599:
Y would u want to ? It hurts nothing , uses no extra battery , your not going to run out of ram , everything loads way faster if u don't . there's nothing gained by shutting apps down yourself, (unless there acting up _) only lost performance IMO . funny , first thing i do after a reboot is open all my apps that I use regularly so that they r " running " . guess everyone is different .
[Nexus 5 Original Android Development] colander:
There must be some apps running in the back-> try greenyfie and a restart

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] myfluxi:
Not working, dunno if I want to continue as it goes so deep in all parts of mach-msm and will possibily make any kind of future merges a nightmare.

But I guess we missed something crucial that will help anyway not just for this task: https://www.codeaurora.org/cgit/ext...tc/init.qcom.post_boot.sh?h=caf/kk_3.5_rb1.16

:)
[Nexus 5 Original Android Development] DryEagle:
thanks for nice work franco, i bought your app to support, keep up improving it!

i don't know if it's something you can help or not, but i always have higher battery drain after using youtube, unless i reboot my phone. like 5% an hour. is this something that kernel can fix or must i look at other programs? (i have stock rom 4.4.2, xposed gravitybox busybox)
[Nexus 5 Original Android Development] ryk k:
I only lag in games?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] Puzzlegirl:
Meanwhile, in my boring world of one handed phone use, (tendon repair), I am extraordinarily interested in the screen on time of my N5. This kernel is phenomenal and the battery won't die. I've never had 7 hours screen time before and that included a long morning on 3g at the hospital. I've still got 10% battery left and I flashed r26 this morning too. And I didn't read an ebook or leave the screen on, blah blah. Since haters gonna hate I can't be bothered with picture proof and anyway, this thread has sent me to sleep. Thank you Franco - I'm happy :D (And I never killed an app from Recents all day either) :eek: Night all.
[Nexus 5 Original Android Development] leets4uc3:
[MENTION=1363323]vomer[/MENTION] your setting won't let my battery drain! Haven't notice a lag or stutter either!

Sent from my Nexus 5
[Nexus 5 Original Android Development] dwang:
Franco,

In your r26 kernel and changelog, bootpulse_duration is 350,000. However, in your source code, its set to 250,000.

https://github.com/franciscofranco/...r1/drivers/cpufreq/cpufreq_interactive.c#L113
[Nexus 5 Original Android Development] ryk k:
I would like to know if there is a solution for this problem
[Nexus 5 Original Android Development] imablackhat:
Anyone else pvs 1 not able to UV more then -25 and do a benchmark and it reboots?
[Nexus 5 Original Android Development] CaspaTheGhost:
Not your preferred hand I hope, that would be awkward in so many ways.

I'm interested to see how my current cycle ends as it's included a 140 mile drive which took 3.5hrs and included BT streaming via Play Music.

Currently at 20% and 3hr45 SOT so r26 is looking good.

Sent from my Slim N5
[Nexus 5 Original Android Development] ChazzMatt:
Clearing all apps will NOT kill all processes (for instance email apps), if the apps were not coded to kill all processes in this manner. You will still receive email notifications. It's quite intelligent.

Clearing all apps can also help battery life, depending on the apps cleared. So, there is some useful functionality. it's not just about saving RAM.

Plus Google coded the recent apps view into KitKat AND coded the ability to swipe them away. It's there for a reason. IF you don't know what that reason is, go do some research. There may be people who don't see a need for this function, but many others like it. And if you have the ability to swipe one app away, then a "clear all apps" just saves time. It DOES NOT hurt the battery, and may help it. The poster said it may hurt the battery, which is the complete opposite of the truth.
[Nexus 5 Original Android Development] Testraindrop:
Well, ok then you say you do it because you want to save battery instead of RAM only, it is coded in a way that processes are not affected and you want the full functionality of FKU.

1. Before that you said that FKUs processes get stopped by swyping away, so what now, does it kill processes or not?

2. You want to save battery by swyping away FKU, is FKU really draining so much doing nothing in the background that it is worth using battery to kill it and using battery again to restart it to get the Per-app service running?

Btw. use Greenify for battery hungry apps that actually don't need to run in background, works perfectly.

But there is still no need to greenify FKU for example, only malicious apps.
[Nexus 5 Original Android Development] vomer:
Nice! :D that's the idea :good:

I think the settings I have now are pretty solid. Link in my sig for anyone else who wants to try.
[Nexus 5 Original Android Development] n J o y:
I have always used the stock settings with every version, now with the r26 i noticed some lags and the phone gets hotter than before!
[Nexus 5 Original Android Development] vomer:
@franciscofranco noticed something in your app: when I reboot, my voltage value for lowest clock resets... for example 300 Mhz goes back to 725 even though I set it to 675 and enabled "set on boot". Possible bug?

edit: re-setting the boot preferences fixed it...
[Nexus 5 Original Android Development] lndeed:
Hm. I've also got 300MHz set at 675mV but it properly sets on boot. r26 and latest FKU.
[Nexus 5 Original Android Development] vomer:
Hmm weird... maybe it's just me? Let me clear app and try again :eek:

edit: re-setting the boot preferences fixed it... :good:
[Nexus 5 Original Android Development] Enddo:
try waiting long enough after boot in order for fku to get SU permission and the 'on boot' settings kick in
[Nexus 5 Original Android Development] alanwyl:
Sstooopppp! Please grow up.

Go to Settings > Developer Options

Scroll to the very bottom.

Tick that and choose that amount of background process.
[Nexus 5 Original Android Development] jefftheworld:
Try using cat instead of echo. In Linux, almost everything is represented with just a text file (even hardware). The cat command is used to concatonate the contents of two text files and output the result to standard output (your shell/terminal) but it can be given a single argument if you choose and is often used to see the content of a single element. In this case, try the command:

cat /sys/class/kgsl/kgsl-3d0/gpuclk

EDIT: You'll probably have to run the su command first to get root.
[Nexus 5 Original Android Development] imablackhat:
Latest Franco and app. Voltages don't set on boot even when checked??
[Nexus 5 Original Android Development] franciscofranco:
Just leave it.

Something in the composition driver derped, no idea sorry.

That's an interesting file, thanks!

Think I forgot to push the change to git.

Ok.
[Nexus 5 Original Android Development] franciscofranco:
Yes they do.
[Nexus 5 Original Android Development] imablackhat:
Got it to set. Apparently if you check the set on boot and adjust it doesn't take. You have to uncheck. Set. Then recheck. Figured it out.
[Nexus 5 Original Android Development] BRiANj64:
The kernel is awesome. Forgot to save the battery stats so i'll have to wait till i can show you :D. But i can tell you i have managed 10 hours with heavy usage. played games ~2 hours(2d games), facebook, whatsapp.

Gone here from ElementalX 0.20 because my battery drained like a oil leak. Just used that because of usb fastcharge. But in fact you don't really need it. If i put it in AC adapter it charges in ~1-2 hours.really awesome idk how, my old phone took 4-5 hours(ace s5830i).
[Nexus 5 Original Android Development] mag01:
Yes I'm dealing with the same, if I remember well, it started to behave that way like one or two weeks ago.

It can be also seen in the fku prefs xml file that (at least voltage) values aren't set to the new ones...
[Nexus 5 Original Android Development] lolpok:
Ofc there is some lags, you have to change kernel settings yourself to make it smooth.
[Nexus 5 Original Android Development] Re-FleX_NL:
Does somebody compared battery stats with versions r25 and r26?

On r25 i had 6 hours of SOT with medium use...

Trying out r26 so i can show my results looking good for now though...
[Nexus 5 Original Android Development] Mynix:
Thanks for the explanation :)
[Nexus 5 Original Android Development] Kevin.Silbstedt:
I got a "lucky" too with a pvs 1, but no, I got a little bit more out of mine. For comparison:

2265: 1015

1958: 935

1728: 880

1574: 875

1497: 875

1267: 840

1190: 830

1036: 795

960: 780

883: 760

729: 735

652: 735

422: 720

300: 680

I got pretty lucky with my i9300 (S3 international) before and undervolted the hell out of it, so this is kinda sad for me. And don't ask, how long I tried to find these voltages on my Nexus 5 and how often it just crashed, especially the 300 step was tricky. Sadly I got no good stability test. The one I used (Stability Test 2.7) could run for ages on 300 mhz and it would not crash, even at voltages like 650 and lower (but it still would crash later). I need some sort of OCCT for android.

That reminds me:

@ franco:

In my search for stable voltages I notiticed, that voltages would not get applied, when I changed them to often. I tried to find the lowest voltage for every step, before it would instantly crash. So I worked my way down in 5 mv steps. But I realized , that I suddenly could set voltages, that lead to instant crashing before. I then tested insanely low voltages, and it didn't crash.

But it would after some time using the phone. So I guess, it is not so much, that my voltages are ignored, they just take forever to be applied.

I hope, you know what I mean. I changed Roms (Omni, Stock, CM), used different apps (SetCPU, built in Omni settings, your app), but it was the same on every one, so I guess this is a kernel "feature".

Am I the only one with this problem? Do you have any idea, why that is / how to fix it / how I can help you fixing this? I still found my voltages (by working my way up in voltage, instead of down to find the critical point), but I can see others being annoyed by this. (Even though I seem to be the only one crazy enough for searching stable voltages in 5mv steps)

Since I'm on the issue of undervolting:

Is it really impossible to implement a voltage control for the gpu?

I read every page of this thread (and I know, that the gpu is slightly undervolted since R25) and I searched the Nexus 4 forums for that question to see, if anyone managed to get this working on this device in the past, since it also used adreno graphics. I read in a thread by faux, that with the Nexus 4 the gpu voltage is controlled by some microkernel. Is this also the case with the Nexus 5? Is it impossible to get GPU voltage controls in the future or is it just complicated (like the screen calibration)? And where have all the flowers gone? So many questions...
[Nexus 5 Original Android Development] daniel84cs:
Franco R26 is amazing...Nice battery e very High performance....

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] franciscofranco:
No idea about that "issue", sorry.

About GPU voltage control I dunno if we have access to the voltages easily. I don't know how to use the regulator API. I don't care much about GPU voltages, and I shouldn't have mentioned it on the changelog because I knew this would happen.
[Nexus 5 Original Android Development] donwhall70:
Anyone care to explain why apps like Google plus have janky ass scrolling? Is it picture loading that causes this? Commenting? Side effect of Dalvik? You'd think Google could at least make their own apps run smoothly. Is this something we are stuck with for the short term? I'd love a developers point of view on this.
[Nexus 5 Original Android Development] franciscofranco:
I have no definite answer on this. It happens regardless of the Kernel settings, input boosts, whatever you want to call it. Its just the nature of Android. iOS for example it stops loading whatever is happening when we touch the display, this way there's no frame losses. On Android it just doesn't give a fúck on whatever you're doing, if it wants to load images it will load them even if you're interacting with the device e.g scrolling. I really don't care much but I hold no hope about Android's future on smoothness without relying on crazy high CPU/GPU frequencies.
[Nexus 5 Original Android Development] abdel12345:
Google plus works great on mine. But I'm on art. It might be because of all the pictures.
[Nexus 5 Original Android Development] Enddo:
have you tried art?
[Nexus 5 Original Android Development] donwhall70:
Yeah, I've ran with art enabled and it is much smoother.. Maybe I'm just too darn picky and need to get over it.

Franco, thanks for your view on this.. Kernel is great... Thanks a bunch!!
[Nexus 5 Original Android Development] Molitro:
At least on art, google plus moves, to put it simply, almost perfectly. And I mean iOS level of smoothness.

Swiftkey'd from my Nexus 5
[Nexus 5 Original Android Development] Enddo:
i find this true with anything that has 'lists' of things. blog posts, facebook posts, google plus posts, etc. art is just a lot better at loading and aligning all that stuff. at least in my experience.
[Nexus 5 Original Android Development] occtec:
[MENTION=3292224]franciscofranco[/MENTION] hey I thought I would just share my thoughts on the temp. Just from a bit of browsing the net on my phone the temperature started to increase. Just food for thought otherwise as mentioned before awesome kernel and speed. I'm using r26.

Cheers
[Nexus 5 Original Android Development] franciscofranco:
That's the battery temperature, and I cannot replicate. Mine says 24ºC average with some usage. With bigger usage mine doesn't go above 34ºC or something.
[Nexus 5 Original Android Development] mag01:
Ok, I'll try to explain it as steps to reproduce:

1. FKU 11.2.1, some custom persistent CPU voltages already set.

2. Boot OS, start FKU, go to CPU voltages.

3. Change any (just single in this test) value to something else, for example 2nd one (422MHz) from 720 to 725.

4. Switch to some file manager or terminál (all in root mode), whatever like that.

5. Check /data/data/com.franco.kernel/shared_prefs/com.franco.kernel_preferences.xml - string name="/sys/devices/system/cpu/cpu0/cpufreq/UV_mV_table" - there's still the old (2nd) value (720).

6. Ok, whatever, reboot and see what happens. Well, no change really, still at 720.

7. Now try something a little different. Start FKU, go to CPU voltages.

8. Again, change any value, again the 2nd one from 720 to 725 in this test.

9. Go one step back, deselect the "set on boot" option for CPU voltages, then reselect it.

10. Check again the com.franco.kernel_preferences.xml file, voila, new (2nd) value (725) finally.

11. Reboot to verify what happens, now it really works, 725 is just there.
[Nexus 5 Original Android Development] vsot13:
PVS 1 here. Dirty Unicorns/Franco's/dalvik patch-75 global. 300@650. Perfectly stable

Sent from my Nexus 5
[Nexus 5 Original Android Development] Sensamic:
One question.

If I flash this kernel and want to go back to completely stock with stock kernel all I need to do is flash the stock factory image? That way I can get back to the stock kernel?

Thanks.
[Nexus 5 Original Android Development] Enddo:
correct
[Nexus 5 Original Android Development] Savant:
Yes or you can pull IMG from the rom and use fku to push it and make the rom completely stock again.
[Nexus 5 Original Android Development] ZacksBuilds:
35000 wtf 0_0 I only get 30000... xD

Device: Nexus 5 16gb Black

ROM: AOSPA 4.0BETA w/ Franco r26
[Nexus 5 Original Android Development] digweed4me:
Amazing battery Franco r26 stock setting and beanstalk soupy soup rom
[Nexus 5 Original Android Development] TrenchKato:
I've noticed that even with art apps with pictures or avatars will lag until everything is loaded up
[Nexus 5 Original Android Development] occtec:
Yeah mine is sitting at 40 atm only since r26 update it has raised? Not sure :what:
[Nexus 5 Original Android Development] Enddo:
mine's at 31c with moderate usage. 20c with light, and 39c with heavy
[Nexus 5 Original Android Development] CaspaTheGhost:
I'm very happy with performance and battery life on r26 with today's use.

Sent from my Slim N5
[Nexus 5 Original Android Development] ixian:
Is there a known issue with wireless charging and this kernel? With r25 on a Tylt QI charger my phone would stop charging at around 42c, saying "overheat". I'm trying r26 now.

Stock never did this - I know the phone tends to get a little warm no matter what with wireless, is this just me?
[Nexus 5 Original Android Development] :
Wow so happy lol
[Nexus 5 Original Android Development] blackt5:
I have that same charger and all has been good for me on r25 and r26. I have a ringke slim case on too.
[Nexus 5 Original Android Development] bknightt:
stock settings on the kernel? I'm bombing with the r26 now but haven't made my full cycle with it, with the previous r25 I was easily pulling 3h SOT with a couple of games in between, I think I can handle the 4h plus if I don't play at all and only use it for web browsing, etc, gaming is what's killing me :D.

also, thanks Franco for this kernel, from a fellow 'fculiano'.
[Nexus 5 Original Android Development] CaspaTheGhost:
Yes.

Sent from my Slim N5
[Nexus 5 Original Android Development] tomciopaluch357:
By far my best battery performance with r26 ,I'm loving it
[Nexus 5 Original Android Development] 5FOOTER:
No issues here I have the same charger.

99 problems but Franco kernel is not one. N5
[Nexus 5 Original Android Development] ixian:
Hmm, maybe it's my case. I'll try it with it off and see if I can duplicate.

Sounds like it isn't the kernel though - thanks :)
[Nexus 5 Original Android Development] TheSpaceManatee:
Hi Franco,

This is not the first time this problem happened to me. In fact I have it all the time on your kernel and I may be the only one experiencing it. Whenever I reboot my phone, there is a 50/50 chance it will not boot for no reason at all even on stock settings. It will show up boot animation and immediately reboot. The phone gets hot too. Can you tell me how to fix it, or do you think it is a hardware related problem?

Thank you

P.s. I always fix it by flashing any other kernel on top of it.
[Nexus 5 Original Android Development] droid@xda:
I thing changelog says about different thing. But yes, kernel values and source code values for bootpulse_duration are different.
[Nexus 5 Original Android Development] franciscofranco:
So I guess the reports of "extra heat" reports of r26 are not so unfounded. I was using my device and I seen something was acting up with input boost, so then I went to my code changes and a very simple variable type was making it all wrong because the "wrong" type I typed only held a certain maximum of bits and I was comparing that number to a type that holds more bits so the calculation was all wrong. I'm gonna push r27 with this fix.
[Nexus 5 Original Android Development] P.Mobile:
i been running cata with this kernel since it dropped and im thinking about starting fresh.. reflashing my rom then kernel.. this time i want to try the moto bionic/dalvik zip.. so my question is what order should i flash? rom set it up then go back into recovery then flash kernel and moto patch??
[Nexus 5 Original Android Development] franciscofranco:
Dunno, I'm not a physic, without logs I don't know.
[Nexus 5 Original Android Development] dav94:
im still getting only about 2 hours SOT. Location is on battery saving, brightness is really low and almost every setting is set to help save battery. I have tried many things but im still getting this horrible battery life. I see many people getting 5+ hours SOT with normal settings. Is anyone else getting the same issue and any tips for better battery? I might try cyanogenmod soon.
[Nexus 5 Original Android Development] Neomastermind:
Some of those 5-hour people are heavily neutering their phones to achieve those times. Cell signal strength also plays a part.

Sent from my Nexus 5