yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Pulsu:
Yes.. Tried to play those settings too.. But noticed any difference at all.. So stock settings for me.. Always hit a 3.5-4 hours screen on time with 3g.. So I really can't complain.. :)
[Nexus 4 Original Android Development] roblorduk:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I have an issue which I think *might* be down to the kernel but apologies if not. Whenever the screen is locked and I assume is sleeping, none of my picassa picture uploads continue. Also same happens with downloading music from Google play to my device. Keep WiFi in during sleep is selected and I've tried with WiFi optimization on and off.

Kernel is great and really smooth so kudos for that. :thumbup:

If I'm barking up the wrong tree I'll go sit back in the corner :rolleyes:

Edit - seems to be working now but will monitor...
[Nexus 4 Original Android Development] manjee:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Did you check which CPU binning you have?

AFAIR, to do this, reboot then type in a terminal :

dmesg | grep PVS

As a basis of comparison, I own a 'fast' binned CPU and usually get around 4 hours screen on with 3g and managed once to get 6hrs on wifi (usually 4:30h - 5:00h), mainly reading on xda app, using the device as a metronome and watching flash videos.

Sync and location are on, latitude disabled, gnow on, 3 gmail accounts, Google music, screebl and smart WiFi toggler, pgm, LMT, dropbox instant upload and a total of 157 apps installed. My ROM is Slimbean.

Please don't see that as taunting or boasting (plus English is not my language...) as all I do is sharing my experience with the N4.

Two possibilities:

- either you own a 'defective' unit, ie: a slow binned CPU or a failing battery. In this case your only option is to call google for a replacement,

- or you have ROM or apps misbehaving. A simple two cycles test with the naked aosp ROM Franco compiled will show it for sure. If it's not better you really should ask for a replacement because the N4 is truely an awesome device and there's no reason yours shows such a poor battery.

HTH. :)
[Nexus 4 Original Android Development] iammudd:
Even though you say that the prob is during uploads (vs unsolicited downloads), it is prob still related to the previous discussed "accept WiFi broadcasts" issue. There is a patch (and another semi-workaround), see http://xdaforums.com/showthread.php?t=2072930... but accepting all broadcasts comes with a battery penalty without the pending fix: https://code.google.com/p/android/issues/detail?id=40065#c535

"Qualcomm driver on nexus 4 has a known issue of not supporting ARP offload while filtering out broadcast packets. This causes issue with connectivity when device is in suspend. Fix planned for next update."

Edit: Corrected link to XDA thread. Also, I'm only the messenger. You can thank the OP bganley in first thread for the patch/workarounds and his discovery of the pending fix.
[Nexus 4 Original Android Development] franciscofranco:
Thank you for posting. Saved me from explaining the same thing over and over :)
[Nexus 4 Original Android Development] franciscofranco:
What were you doing at the time of the random reboot? Maybe the driver has a concurrency problem while onlining and offlining cores and might cause race conditions. Thanks.
[Nexus 4 Original Android Development] calanizzle:
I had both times, phone on my pocket, I realized it rebooted because of the vibration at the startup.

I don't have games or weird apps, just regular ones (social, chat, etc etc)

Your app is all stock.
[Nexus 4 Original Android Development] franciscofranco:
Ok, thats not funny. Thanks and sorry.
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Why would the CPU binning be relevant for battery life? Genuine question.
[Nexus 4 Original Android Development] franciscofranco:
The faster the bin the less voltage it uses thats why all bins are different voltage tables.
[Nexus 4 Original Android Development] cobyman7035:
im using that touch control app on r53 and i think its got massive battery drain, lost 10% in 5 hours in screen off mode, thats bad right?
[Nexus 4 Original Android Development] franciscofranco:
Ask the app developer?
[Nexus 4 Original Android Development] drawde40599:
Pgm app is causing more of a drain for me , but its basically a beta version ,price u have to pay atm , it will get better ,causes absolutely no Drain on gnex ;)
[Nexus 4 Original Android Development] calanizzle:
Got back to r50 where I had no problems!
[Nexus 4 Original Android Development] cocchiararo:
that does not happen to me with stock/franco/faux kernels and PGM/touch control.

I do use a belt holder for my phone, no pockets, and only use swypes for wake/lock, no taps
[Nexus 4 Original Android Development] formicae:
I suspected as much as my battery life is generally amazing, which I always chalked up to your work. Turns out I won the lottery and have a 'Faster' bin CPU.

Off to install the most poorly-coded, choppy kernel, who needs Franco? :D

(just sent a small donation; between the N4 and N7 versions I figure my app purchase wasn't enough)
[Nexus 4 Original Android Development] hospital349:
Franco.

I had my doubts about your work despite my loyalty to it. Whilst understanding that all your releases (and future ones) are a work in progress, I was finding your newest versions a little 'slow'. (For my device, on the ROM I'm using, that 'was'.)

'Was' being past tense, of course. With absolute control comes true flexibility. This is how I feel since the recent app update you kindly provided us with. I should've never doubted you and for some reason overlooked your apps capabilities. I never foresaw how many customizations were to be made and now that I have this control, I'm never looking back.

Your kernel and app combined, are wonderful and an experience to behold. I can do nothing more but praise your work and give you my thanks. Once payday comes around, I'll drop you some $$$.

Big love! :good:

---------- Post added at 11:51 PM ---------- Previous post was at 11:44 PM ----------

P.S. I've been playing around with app settings for a good hour now and have found an amazing combination for performance, whilst only using hispeed_freq: 702MHz and keeping above_hispeed_delay @ 100000. Sample rate is also at 20000 which should account for better battery. I have tweaked other areas to meet performance criteria, but I'm hoping this will be the combo that solves all issues. Only time will tell whether or not battery life is good, although I'm pleased with how snappy my device is. It's even snappier than stock in my honest opinion. :good:

Anyway, thanks again! :)
[Nexus 4 Original Android Development] icemasta31:
Same with me. My standby is what's taking a hit, battery life when using the phone is fine.

Used to use my phone relatively comfortably for 2 days straight with a little battery life left actually and now it's around 1.5 and I need to charge it by then.
[Nexus 4 Original Android Development] franciscofranco:
Great, very happy to know it helped you :) I'm pretty sure I'll keep adding more options for customization.

Don't use that app?
[Nexus 4 Original Android Development] icemasta31:
That is an option I'm considering but I was just reaffirming the comment on the poster.

It's going to be tough though since it's a killer app for me especially because of how uncomfortably mushy the power button is at times.
[Nexus 4 Original Android Development] shamu11:
So I'm really exited since I got a 9 hour long road trip where I can put my phone through some extraneous battery testing. Best of all, I won't have my school hampering my signal so I should see better results. Hope I can make it through the hold day unlike my gnex
[Nexus 4 Original Android Development] cocchiararo:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Wow, besides the great kernel, this thread made me look at temple run 2 :p

Is it since kind of blasphemy to pay it without having played the first one?

--

Tapatalk2
[Nexus 4 Original Android Development] zFayZz:
Guys a tip i was only getting 4hrs screen time but now

recalibrate your battery stats.. Charge to 100% unplug reboot to recovery clear dalvik then cache and fix permissions and reboot..

I did this and now my battery is on around 3hrs screen time with 56% battery.. I should get 6 hours screen time.

Im on cm10 nightly r53 franco.. Amazing combo :)
[Nexus 4 Original Android Development] elliot.newnham:
As confirmed by google, this does absolutely nothing... It just changes what the % is (Which is highly inaccurate anyways)... It doesn't do anything outside of that.
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Yeah...I rather not.
[Nexus 4 Original Android Development] ak700:
Exactly. Battery calibration is a myth. You are just deleting old battery information which is of no use anyway. And six hours of battery is impossible! I wish I would get it but you won't

EDIT : Read this

https://plus.google.com/u/0/105051985738280261832/posts/FV3LVtdVxPT

From Android WORKER
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

It's possible to achieve the 6 hour mark. I think Benrees reached that mark many times.
[Nexus 4 Original Android Development] zFayZz:
Then its probably the latest cm10.1 nightly working well with r53 i guess... Check my stats

https://www.dropbox.com/sc/9e0mi71fibs6amo/m7ZoFYK57Y

Tbh its probably because i stopped using a live wallpaper lol

Auto brightness

Wifi/data on/off when needed

Gps off

Sync only when charging
[Nexus 4 Original Android Development] jdmcivic:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

screen on time differs from user to user. it basically depends on what u do with your n4. so 6hrs screen on time is possible if u're reading an ebook. or basically doing things that dont really hog the cpu.

plus he only uses wifi/data when needed. no sync. .
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

It's pretty awesome. You're almost hitting the 4 hr mark. You could probably hit 5 hours with less than 10 percent power.

Lol.
[Nexus 4 Original Android Development] zFayZz:
I uploaded 2 1 min videos and used 720p camera for a few mins.. Been watching youtube videos browsing web whatsapp and calls and music.. 3hrs screen time half battery left

---------- Post added at 02:06 AM ---------- Previous post was at 02:03 AM ----------

Should hit between 5-6 hours which is good for me :)
[Nexus 4 Original Android Development] KyraOfFire:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Battery was bad when I first flashed r53 but after a full charge and cache/dalvik wipe, battery has been phenomenal :D I wouldn't go on about how many hours screen on as in depends on usage, but after a long work day I got 50% left while usually I would hit the charger at about this time of the day :D

Sent from my Nexus 4 in a Faraday cage
[Nexus 4 Original Android Development] zFayZz:
see worked for him too... not such a myth after all
[Nexus 4 Original Android Development] franciscofranco:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

He just went through a normal battery cycle, nothing else. See now why I always say to let it settle? I just dont care about my battery because I know the second cycle is always better.
[Nexus 4 Original Android Development] zFayZz:
wifi only at home

data only when out

i always have one switched on

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

make sense well i'm loving this kernel thanks for your hard work

---------- Post added at 02:53 AM ---------- Previous post was at 02:39 AM ----------

I was wondering would it make much difference in battery if i kept both wifi data and even sync on at all times.. Sometimes i forget to switch data to wifi vice versa and miss those important whatsapp girls lol
[Nexus 4 Original Android Development] deepsunzhine:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I just flashed cm.....i see something called performance on settings.... How does it react when I flash Francis kernel and app???

Sent from my BRICKED NEXUS 4

MiNCO v6

Franco r52 nightly
[Nexus 4 Original Android Development] persheshhater:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Disable/freeze it.
[Nexus 4 Original Android Development] AshtonTS:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

It's fine. Just don't mess with those

Sent from my Nexus 4
[Nexus 4 Original Android Development] persheshhater:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

If u let two apks control kernel at same time wait for your phone to explode ;)
[Nexus 4 Original Android Development] veyka:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

It's not an app, its built in (as in part of the settings apk or related) , it can also be safely ignored and will not cause any issues.
[Nexus 4 Original Android Development] drawde40599:
Messed with new Franco options In app , found out I don't need to ;)
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Why didn't you need to?
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

My first time hitting the 5 hour mark on screen time!

Settings are all in default. On the lowest brightness level possible. It was on 2g/edge all day except for that twenty minutes on hspa+.

What I did all day:

- went to work

- checked fb and answered dozens of texts through out the day

- played blackjack on the way home from work

- took a call from my mother

- listened to music for about an hour or less. - came home and downloaded some new games via WiFi

So far so good with this kernel!
[Nexus 4 Original Android Development] demon507:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Yesterday my phone completed almost 7 hours on 1% battery.... Recieved 3 calls and 1 outgoing call...

I've a faster CPU
[Nexus 4 Original Android Development] richteralan:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Not essentially lottery. About 85% of Nexus 4 owner has a "fast" or "faster" binned CPU.

Mine is a fast.
[Nexus 4 Original Android Development] Ok_Kaleidoscope5109:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

How do you check?.
[Nexus 4 Original Android Development] cobyman7035:
ya, whats this about having a fast or faster CPU binning? how do we check this info? thanks
[Nexus 4 Original Android Development] sdmackie:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

For cpu binning, check it out on this link.

http://xdaforums.com/showthread.php?t=2052496
[Nexus 4 Original Android Development] formicae:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I wasn't being entirely serious. But only about 20% of us have a Faster, I'll take my luck where I can get it.
[Nexus 4 Original Android Development] bobola:
dont think this is really a kernel issue

but my battery is not "updating" the actual battery amount right away..

ie.

i would be playing games at 96%.. 10 mins later still at 96%..

then after a mins or so it would just plummet down to 91%..
[Nexus 4 Original Android Development] schizophrenia:
on r53 and MiNCO

tried.. it gives me

grep: no such tool

write: Broken pipe
[Nexus 4 Original Android Development] lightosx:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

That's nexus 4's bad battery calibration.

---------- Post added at 08:34 AM ---------- Previous post was at 08:32 AM ----------

/system/xbin/grep
[Nexus 4 Original Android Development] schizophrenia:
so what should I input in terminal, may I ask?
[Nexus 4 Original Android Development] franciscofranco:
dmesg | grep PVS

<6>[ 0.972318] acpuclk-8064 acpuclk-8064: ACPU PVS: Fast
[Nexus 4 Original Android Development] tanjiajun_34:
I still feels the throttle value of the gpu too high.

The kernel performs very good in gpu tests but at times it still lags terrible at times when playing games after sometime of playing which I don't encounter on other kernel Where do I change the value?
[Nexus 4 Original Android Development] franciscofranco:
/sys/module/msm_thermal/parameters/temp_threshold
[Nexus 4 Original Android Development] ben_pyett:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

burn baby burn!

I'm bleeding Nominal :( could be worse....
[Nexus 4 Original Android Development] schizophrenia:
as i said above

tried.. it gives me

grep: no such tool

write: Broken pipe
[Nexus 4 Original Android Development] franciscofranco:
Do you have busybox?
[Nexus 4 Original Android Development] GJ123:
I'm thrilled to see the new options in the kernel app franco, nice job!

But I'd like to ask to some guide or somebody who can teach me a bit of both the interactive governor and the thresholds (especially when the 2nd core should kick in) I do know what thresholds are et cetera but I come from an S2 and never used interactive nor setting a different threshold for the 2nd core.

Hope somebody can help me a little bit, would like to test and customize my experience!
[Nexus 4 Original Android Development] schizophrenia:
yes, properly installed.. (smart install)
[Nexus 4 Original Android Development] tanjiajun_34:
Could not edit the file with root explorer.
[Nexus 4 Original Android Development] ObihoernchenDE:
AW: [KERNEL][GPL][N4] franco.Kernel - r53

https://android.googlesource.com/kernel/common/+/android-3.4/Documentation/cpu-freq/governors.txt

2.6 is our current interactive gov.
[Nexus 4 Original Android Development] franciscofranco:
Then I dunno, sorry.

Yes you can, just did it myself.
[Nexus 4 Original Android Development] tanjiajun_34:
The value 65 mean does it means above 65 degree it starts throttling?
[Nexus 4 Original Android Development] GJ123:
Thanks!

But do you know how the 2nd core threshold works?
[Nexus 4 Original Android Development] franciscofranco:
When it hits 65 it starts throttling.

Its just like its explained in the app. Higher value means it needs more system load to online it. Lower value needs less system load to online. Pretty straight forward.
[Nexus 4 Original Android Development] Mikk36:
All four bins have different voltages in comparison to just the two different voltages originally?

Yay for having a "faster" bin, I guess :)
[Nexus 4 Original Android Development] cobyman7035:
is anyone on stock + franco r53 get that cpu binning value to show up?

dmesg | grep PVS

i don't get any value when doing that android emulator command
[Nexus 4 Original Android Development] Mikk36:
Reboot and try again.

It's only reported on the boot so later messages will eventually push the message out of the log since it has a limited length.
[Nexus 4 Original Android Development] ben_pyett:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

will only be shown after a reboot
[Nexus 4 Original Android Development] GJ123:
Yeah but the numbers are what I'm interested in, what do they stand for?
[Nexus 4 Original Android Development] ObihoernchenDE:
AW: [KERNEL][GPL][N4] franco.Kernel - r53

I think these are run queue (google) values.
[Nexus 4 Original Android Development] manjee:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Dont forget to reboot before you enter the command. On certain ROMs it is necessary.
[Nexus 4 Original Android Development] tanjiajun_34:
If I am right, it means when your cpu/gpu hits 65 degree Celsius, to "protect" or prevent overheating your cpu/gpu will throttle to cool down but in the meantime it will be slower (lag in your games).

Not sure if I am right :/
[Nexus 4 Original Android Development] ben_pyett:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I believe you are, hence my comment
[Nexus 4 Original Android Development] siscim23:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I used to get that, I don't remember which one fixed it, but I had to change my PATH to xbin instead of bin (depends where you have busybox installed) or just copy grep from xbin to bin
[Nexus 4 Original Android Development] schmitzekater:
Alternatively use

dmesg | /system/xbin/grep PVS

Seems like i'm running on a fast CPU.

Btw: R53 i running real smooth but battery was better some versions ago for me.

Will try to find my sweet spot and tune a little bit in Francos app. Thanks for your efforts Franco :fingers-crossed:
[Nexus 4 Original Android Development] derPianist:
AW: [KERNEL][GPL][N4] franco.Kernel - r53

Does anyone has the stock thresholds?

I lowered every threshold to 50 but now I am experiencing huge battery drain. :o

via my ∞ awesome Nexus 4
[Nexus 4 Original Android Development] cchant:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Make sure you "su" first.

Then make sure you have proper spaces between characters.
[Nexus 4 Original Android Development] Vangelis13:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Not sure why that would drain the battery but clear the data & cache of the app, that should reset them.
[Nexus 4 Original Android Development] Utini:
So as I said, I felt like r53 gave me some slow downs compared to r34 (e.g. when starting whatsapp,camera,...) so I flashed back to r34 and it feels faster. No idea how much battery life improved on r53 but r34 was fine for me in terms of battery life.
[Nexus 4 Original Android Development] tlslaj0417:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I am running stock + franco r53...it shows fast :)
[Nexus 4 Original Android Development] nellisere:
You have to reboot your phone then try it before opening any apps.
[Nexus 4 Original Android Development] AshtonTS:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Lol you don't really have to do that

Sent from my Nexus 4
[Nexus 4 Original Android Development] nellisere:
It was the only way that worked for me.
[Nexus 4 Original Android Development] jtroye32:
I could get 6 hours screen time with everything stock. I'd have to be on wifi and using it pretty much straight through though with only an hour idle time.
[Nexus 4 Original Android Development] ben_pyett:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I thought you did? reboot the phone that is, as already explained in a post above -or is that Duff advise. You must su first though.
[Nexus 4 Original Android Development] AshtonTS:
You have to SU, but I've never had to reboot the phone to do that command
[Nexus 4 Original Android Development] jkoljo:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

You can do the command, sure, but nothing useful will show up unless you have rebooted your phone recently.
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

If you don't do it soon after booting, you might find that the relevant part of the dmesg log has been overwritten by newer messages.
[Nexus 4 Original Android Development] ben_pyett:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I suspect that's due to the fact that like most of us here you regularly reboot your device as we've all got flash addiction :D Which resets the log as I don't believe they are of infinite size.
[Nexus 4 Original Android Development] AshtonTS:
This very well could be true :D
[Nexus 4 Original Android Development] drawde40599:
Cause i can't make it work any better than it already dose :P
[Nexus 4 Original Android Development] Bar81:
After some use, it does seem that r53 has a notification delay issue (my yahoo notifications with the official app are delayed) as well as some significant standby battery drain.
[Nexus 4 Original Android Development] JNewms:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

How long have you been on it?

Sent from a Paranoid N4
[Nexus 4 Original Android Development] Bar81:
Since release. Cleared caches and ran through full charges.
[Nexus 4 Original Android Development] scandalousk:
I've noticed the same thing. My nexus 7 makes a notification sound much earlier than the nexus 4. When I'm on my desktop, the notification arrives around the same time as on my nexus 7. The nexus 4 seems to be taking 30 second to a minute longer.
[Nexus 4 Original Android Development] cobyman7035:
rebooted numberous times, tried alternate

Alternatively use

dmesg | /system/xbin/grep PVS

NOTHING lol, my n4 is F**Cked up
[Nexus 4 Original Android Development] persheshhater:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I have the standby battery drain too but i think is due to an apk. U might want to consider that as well.
[Nexus 4 Original Android Development] Bar81:
Considering the only thing that changed was the kernel, not sure why I should be looking elsewhere?