yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Mercado_Negro:
People should just use their phones like most people do and stop all the battery and temperature analysis. I did it and now I just flash the latest nightly and move on. To be honest, I haven't noticed any difference because I still use my phone like always. Maybe a little bit more responsive but that's it.

Thanks again Franco and all those who've really helped with real tests and useful ideas and comments.

Cheers
[Nexus 4 Original Android Development] franciscofranco:
Then it will use statics vals and anyone can use their own values. If it scales automatically then its on the values I have on preset based on my testing and user feedback. The values on r127 are perfect in my opinion.
[Nexus 4 Original Android Development] Luigiesin:
Cool... Sorry for my ignorance.. Does it makes any difference with battery drain using auto or static?

Sent from my Rock & Roll Nexus 4 \m/

ROM: PA 3.15

Kernel: Franco #666/r126

T-Mobile
[Nexus 4 Original Android Development] banny7000:
Since 125 its so smooth its slippery. Also some guy says he gets about 20% battery per hr,that's about the same as me on average but it depends on what you do with your phone obviously
[Nexus 4 Original Android Development] rejanmanis:
Amazing Battery life.

This is what im talking about.

Im on R122.

Full sync, wifi, edge, SOT 1 hour.

Great job Buddy.
[Nexus 4 Original Android Development] Martin_Ro:
For me, it looks like bad signal strenght...

Also this "Tap Tap App" seems to consume quite a lot...
[Nexus 4 Original Android Development] rejanmanis:
Yeah. I have bad edge signal in my room. And No 3G signal.

That's why i used wifi for internet connection.

Its pretty amazing.

You ain't got this on stock ROM and Kernel.
[Nexus 4 Original Android Development] Jackones:
I think you didn't get the point. His battery life is fantastic, already :p
[Nexus 4 Original Android Development] rejanmanis:
Exactly ...

Eventhough ... i loose 20% battery on SOT.

Approximately, i will have 5 hours on SOT.
[Nexus 4 Original Android Development] Martin_Ro:
Yeah, I'm blind. Didn't saw the title, also don't have looked on the full runtime (23h)....

But anyway, this "Tap Tap" thing consumes to much :angel:
[Nexus 4 Original Android Development] rawdealer:
Yep....you do! Stock ROM & stock kernel.

https://plus.google.com/u/0/106307645667049376041/posts/LeKThUpJc7e
[Nexus 4 Original Android Development] xda890:
For me the best version, batterywise, is r125... On r127 I have the following kernel wakelock..:

suspend_backoff

Not sure what this one does?

BTJ
[Nexus 4 Original Android Development] Foxnov1990:
Suspend_Backoff has to do with Chrome but most likely the Chrome Beta apparantly.

=> https://github.com/asksven/BetterBatteryStats-Knowledge-Base/wiki/suspend_backoff

Possible solution:

1. Open up Chrome

2. Go to Settings

3. Select "Developer tools"

4. Uncheck "Enable Tilt Scrolling"

5. Reboot the phone
[Nexus 4 Original Android Development] kelah:
r127 is amazing!

Wifi+sync 7hrs sleep - 2%,

browsing+whatsapp 35min - 9%.
[Nexus 4 Original Android Development] Gaheris:
Fantastic battery life since r125. I did not think it could get any better. Thanks franco.
[Nexus 4 Original Android Development] aLeda:
The sound is louder isn't it?

Or maybe it's Xylon Rom, or maybe I'm dreaming...
[Nexus 4 Original Android Development] Luigiesin:
Not bad for 1st cycle! #666/r126

12 hours and 5 hours SOT! Constant use! A record for me! :)

Sent from my Rock & Roll Nexus 4 \m/

ROM: PA 3.15

Kernel: Franco #666/r126

T-Mobile
[Nexus 4 Original Android Development] xda890:
Hmmm... I don't have Chrome installed...

And wifi is set to always on...

BTJ
[Nexus 4 Original Android Development] tr1cky1:
Hm...

R126
[Nexus 4 Original Android Development] Foxnov1990:
Well it's definatly some app that is causing it.. after reading some more on some forums the best thing you can do is de-installing app per app and see when it's no longer there. If it's not the obvious Chrome or Wifi I don't know
[Nexus 4 Original Android Development] brian88:
After a half of day with r127, nearly 1h gaming, 2G alway on, 30mins music with headset and when screen of my phone sleep like dead. Uv 100 and suspend frequency 384 no lag when incoming call or anything

Thank you Franco, your work is great

Sent from my Nexus 4
[Nexus 4 Original Android Development] fozzie:
Please use the

tags for your images, or attach them instead.
[Nexus 4 Original Android Development] steviewevie:
No-one?

Please could someone else try the following - go into FKU, pick one of the RGB colours (doesn't matter which) and set the greys value to zero. Then reboot the phone and go back into FKU and check this value. On my phone, after the reboot the slider is still at the far left, but the value displayed is 114 (which is an invalid value). It's not just a reporting issue, the value really does seem to be wrong, because when I adjust the slider and make it zero again I get different results on the test graphics. Clearing FKU data doesn't help.

It's a reboot which seems to mess up the set greys value, not FKU itself.
[Nexus 4 Original Android Development] PetritH:
2 hrs SOT 76% battery life is horrible :D
[Nexus 4 Original Android Development] hospital349:
Dude. Follow these instructions and your issues'll go away:

Navigate to your sdcard and delete the folder: franco.kernel_updater. (These are your stored color profiles.)

Now delete the franco.Kernel Updater app data and reboot your device.

Open up the FKU app and navigate to color control > load your color profile > load color profile presets.

That should do it. :good:
[Nexus 4 Original Android Development] brian88:
R127 or ?

Sent from my Nexus 4
[Nexus 4 Original Android Development] PetritH:
r127, yeah !!!
[Nexus 4 Original Android Development] xda890:
I wonder if this might be work related... I am at work at the momentbut I am only working at this place one day a week... It might be wifi related, can it be the wifi routers here at work that can cause this?

(i.e it might have been this way always, just haven't noticed it before....)

BTJ
[Nexus 4 Original Android Development] steviewevie:
Nope, doesn't help, problem is still there. I already went through that procedure a while back but I just did it again, greys still 114 after reboot.

This isn't the "old incorrect colour profiles" problem, it's something else.

Sent from my Nexus 4
[Nexus 4 Original Android Development] hospital349:
So it is, you're correct. It reads the same on my device also. I hadn't noticed until now.
[Nexus 4 Original Android Development] alanwyl:
Haha yesterday I was doing the full wipe while I update the ROM.

I forgot to install fK after that as I was busy last night.

The heat was gone. Then I saw the r127 notification, until then I found out that I didn't install fK.

Of course, I flashed r127 right away, skipping r126. Then I found out that it was as smooth.

It was light use only though.:good:

btw, [MENTION=3292224]franciscofranco[/MENTION] your name turned orange:cowboy:
[Nexus 4 Original Android Development] steviewevie:
Thanks for checking, glad it's not just me. I get the feeling this problem has been there a while but we just hadn't noticed.

If you check the gamma test graphics then you'll see that the value is actually wrong, not just displayed incorrectly. I.e. when your set it back to zero you will get different gamma results from when it says 114.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Steven08:
governor

in r127,is it safe to change to ondemand?or let it as it comes?thanks
[Nexus 4 Original Android Development] hoangtungst:
how can i fix delay notification issue ?
[Nexus 4 Original Android Development] cobyman7035:
Is 38c battery temp and 48c cpu temp normal? I feel it's hot
[Nexus 4 Original Android Development] xda890:
That is a Google issue and not a kernel issue...

BTJ
[Nexus 4 Original Android Development] meangreenie:
Use a kernel with the WiFi fix. I'm using jsqq's motley based one and it hasn't missed a beat.
[Nexus 4 Original Android Development] Alex240188:
Yes this is well within normal operating temperature.

You want to be concerned at 50c battery and 70cpu

Just because your phone feels hot doesn't mean it's overheating. It just means it's doing a good job of getting the heat it's generating to the outside of the phone where it can be dissipated.

Would you rather have a phone warm on both inside and outside

Or have a phone that is cool on the outside but overheating and throttling on the inside
[Nexus 4 Original Android Development] respider:
I'm stock and had issues with notification

Push notification fixer seems to do the job tough

https://play.google.com/store/apps/details?id=com.andqlimax.pushfixer
[Nexus 4 Original Android Development] SleemLDJ:
Does changing values in "TCP Congestion Avoidance Algorithm" affects mobile data speed?
[Nexus 4 Original Android Development] scream4cheese:
I don't think so.
[Nexus 4 Original Android Development] scream4cheese:
I felt like I have to post this pic up. Ever since r126-127, when I'm using my phone I dont see that big drop in the graph anymore. Now I'm on r127 and the battery graph is just smooth and flat even after a bit of medium to heavy tasks. I would regularly listen to music on spotify on my way to school and browse the web and by the time I get to class I can see I'm already down to 80%. It's been a big improvement since r14. :thumbup:
[Nexus 4 Original Android Development] ectodroid:
It only affect Wi Fi speed
[Nexus 4 Original Android Development] paulo111:
it was 8 hours without touching mobile..
[Nexus 4 Original Android Development] cobyman7035:
latest standby drain stats:

i lost 9% in 22 hours of standby , good or bad?
[Nexus 4 Original Android Development] fozzie:
Why do you think that? TCP is used for both Cellular and WiFi connections!
[Nexus 4 Original Android Development] ectodroid:
It's a setting for the WiFi driver.

http://xdaforums.com/showpost.php?p=28152737&postcount=2

Franco has the speed test results in the post above.
[Nexus 4 Original Android Development] cobyman7035:
i have iphone4 and i don't ever feel it being HOT like this nexus4, when i use a nexus4 on calls, the screen on my ear(its very hot and it actually can burn my ears, it gets that hot!)
[Nexus 4 Original Android Development] Banished Angel:
My Nexus 4 doesn't get anywhere near that hot. That's not normal...
[Nexus 4 Original Android Development] yokuyuki:
Nope. If you're not changing levels of the backlight, the battery drain is not going to change. In the gamma settings, you're not making the screen brighter, you're just making it whiter.
[Nexus 4 Original Android Development] spaceman860:
This is correct ^^^

Sent from my Nexus 4
[Nexus 4 Original Android Development] strainhunter:
I knew it all the time that an iPhone is nowhere near as "Hot" as our Nexus 4, and paradoxically neither so "Cool" ;)
[Nexus 4 Original Android Development] fozzie:
Thanks for the link and confirming my comment that it is a protocol setting and not an interface one :)
[Nexus 4 Original Android Development] Twau:
It's so smooth on my Nexus 4, stock ROM with r127. I'm very curious how well it will translate over to the grouper.

Great work!

Sent from my Nexus 7.
[Nexus 4 Original Android Development] cobyman7035:
God I need to update FK LOL

Google Voice via my r72 NeXus⁴ using XDA Premium
[Nexus 4 Original Android Development] italia0101:
r127 is as smooth as my nuts after a good weekend
[Nexus 4 Original Android Development] trident167:
Enjoying r127. Very smooth, no lag and no issues
[Nexus 4 Original Android Development] derPianist:
Dafuq did I just read ?

P
[Nexus 4 Original Android Development] Steven08:
need help

can somebody explain to me something?is it safe to change the suspend frequency to 384?if i change it,it will improve my battery life?do i have to stick to interactive?in r125,franco said that changing the governor may lead to system crash.is it fixed in r127?thanks
[Nexus 4 Original Android Development] Net.silb:
On battery - 13h 17m 11s (all on 3G)

Screen time - 1h 16m 52s (39% usage)

59% battery left! :D

Franco dude, you're a freaking genius!

r127 - default values
[Nexus 4 Original Android Development] Karlo666:
What screen brightness you use?

My Nexus 4 has Tapatalked.
[Nexus 4 Original Android Development] strainhunter:
if you set the suspend frequency to low it can result in lag when you unlock the screen. mine is set to 594MHz and everything is fine, no lag.

And for the governor: i´m not sure if the problem with system crash when changeing governor still exists, but i would stick with interactice, it´s like

a "better ondemand" and specialy optimized for francos hotplug driver. i would stick with that, but it´s your phone so it´s your choice^^

Greetings,

Strainhunter
[Nexus 4 Original Android Development] tlf55:
To whoever have a "awake" bars in battery menu, did you disable the Logger ? I re-enabled it and i have ZERO bars in "Awake" in battery menu .. So i think it's a bug with this option in Franco kernel app ..
[Nexus 4 Original Android Development] yokuyuki:
It won't necessarily improve your battery life. While your phone is sleeping, occasionally it will wake up to perform some task. If you have the cpu capped at 384 while it's performing this task, it'll take longer to perform which means you will be reducing the amount of time that your phone spends in deep sleep. This is pattern is called race to idle.
[Nexus 4 Original Android Development] Net.silb:
Auto-brightness
[Nexus 4 Original Android Development] italia0101:
Can I just ask . is it still needed to flash a reset if you move away from Franco due to modified ram disk ?
[Nexus 4 Original Android Development] Karlo666:
I heard that people whit full brightness get 3:30 HRS screen time.

Im am now using 50% brightness and i am at 75% battery whit 50 Minutes on screen.

My Nexus 4 has Tapatalked.
[Nexus 4 Original Android Development] guitarhero2:
Hi Franco, i'm writing this here because i'm not able to send you a pm. Sorry if i'm bloating the thread. I'm a xiaomi mi2 user, this phone has the same specs of the nexus 4, but we haven't got the source code for the kernel. We have a user that is working on it, but we need help. If you could spend a little bit of your time for helping us will be fantastic.

If you decide to have a look, here is the discussion with his source code.

http://miuiandroid.com/community/threads/dev-opensource-kernel.19934/
[Nexus 4 Original Android Development] PetritH:
Chris, don't do that again or i'll unsubscribe :p
[Nexus 4 Original Android Development] italia0101:
Damn I'm known ;) .
[Nexus 4 Original Android Development] PetritH:
Better than unknown, I enjoy your vids..:)

sry for off topic
[Nexus 4 Original Android Development] franciscofranco:
Thats ridiculous.

Nope. I dont build blind and I hate MIUI.
[Nexus 4 Original Android Development] Testraindrop:
I mentioned that a few weeks back, for now I just reset the greys everytime I reboot, which is everytime I install a new Rom+Franco kernel^^

The awake bar in Android battery stats is f*d up since Android 4.2.

Before that it showed really when the phone was awake (eg. screen on obviously), now its just randomly displays something.

Use CPU Spy, BBS or another tool to see how many wakelocks you have, how much your awake time is.
[Nexus 4 Original Android Development] apat183:
Hey just want to say r127 is awesome. Best battery life for me yet and smooth.

I've noticed one random thing. When ever I reboot. I get a massive drain in battery. For example my phone was on 100%, I rebooted (while on wireless charger) and it dropped by 15. Just on a simple reboot, no flashing etc. Xda app won't let me upload screenshot atm but I'll try when I'm on a desktop.

Don't know if my battery is dieing or its just reporting the wrong battery level. I don't have any random turn-offs or quick drops. Only when resetting.
[Nexus 4 Original Android Development] Testraindrop:
This.

If you don't do anything after reboot, you will get 4-5 hours with 0% drain until it catches up again.
[Nexus 4 Original Android Development] tlf55:
It might be ridiculous but it's a fact.. I don't say that your doing something wrong, just sayin that something isn't fine when disabling these settings ..

Anyway i'm loving your kernel ! :good: and of course i donated by buying the FULL app :D
[Nexus 4 Original Android Development] Alex240188:
hi guys, not often i will ask questions. I'm more of a giver than a taker but here goes

im having trouble with wifi performance

before you ask, im not a noob - optimization has been disabled etc...

i sit my N4 next to my one X check both together and the N4 is performing terribly

Link Speed at only 1Mbps compared with 72Mbps of the One X

Speedtest also clearly shows difference

One X stays at a constant high download where the N4 just spikes up and down at lower speeds despite having a better connection

im not sure if its a kernel or rom or hardware bug or if it's Google's broken WiFi

here are the screenies to show what i mean

left = one X

right = Nexus 4

Any help/suggestions/explanation would be greatly appreciated

As my sig shows i have a 200Mb/s Fibre Connection so the only limiting is coming from either the phone or the router

but I'm less inclined to point blame at the router as my other android device functions perfectly fine on it aswell as a few other wireless devices all getting >30Mb/s
[Nexus 4 Original Android Development] ceejay83:
Those battery graphs are broken, don't use it for analyzing anything. That's a fact :p
[Nexus 4 Original Android Development] lolbazor:
you're*

Skickat från min Nexus 4
[Nexus 4 Original Android Development] BrandoHD:
I have those options disabled and I don't have random "Awake Bars"
[Nexus 4 Original Android Development] PetritH:
Horrible battery life.
[Nexus 4 Original Android Development] Crenshaw-PCGH:
Yeah same here. I was hoping for 10 hours screen on time.. I´m really disappointed!
[Nexus 4 Original Android Development] scream4cheese:
Niceeeee
[Nexus 4 Original Android Development] PetritH:
and around 1 hr gaming (bounce ball and 100 doors of revenge)
[Nexus 4 Original Android Development] jhericurls:
Its not horrible, but you should be getting 6 hours SOT if your on WI-FI all day.
[Nexus 4 Original Android Development] PetritH:
Playing around 1 hr and getting 5 hrs I dont think its bad.. I dont need 6 hrs cuz as u can see I can only use the phone for 5 hrs ^^
[Nexus 4 Original Android Development] franciscofranco:
Sorry man, not trying to disrespect you, but enabling logger doesn't do anything until you reboot. The code on my app is basically like this:

if (new File("/dev/log/main").exists())

run Root.Command.Class("rm /dev/log/main");

When you enable it back the file isn't created until you reboot, so that makes your point moot :)
[Nexus 4 Original Android Development] GFXi0N:
Franco, your kernel is awesome.

Wifi off, data off, screen off, phone off, battery off, when I want to use it, after 12 hours only 1% drain!

Thanks man your awesome

(I tried to be as annoying as possible)
[Nexus 4 Original Android Development] tlf55:
Thanks ! i understand better now ! :D Don't be sorry .. I know i can be annoying asking question like that :o
[Nexus 4 Original Android Development] PhantomGamers:
Hey Franco idk if it's just me but I'm getting a bug with the updater app where the first time I launch the app (with data deleted) and view the color presets it shows each preset twice and if I press Delete all profiles and press on one of the duplicates the app force closes and reopens with the duplicates removed.

Run on sentence FTW! :P
[Nexus 4 Original Android Development] abaaaabbbb63:
I get about 4 hours of on screen time with official CM 10.1 builds, and about 16 hours of battery life every day, with average use, music playing and internet browsing. This kernel is just right.
[Nexus 4 Original Android Development] dzap:
So I'm on r127, and just had an...odd bug. Not sure if it's been discussed. I was just browsing my phone as usual, and all of a sudden. I can't pull down my notification bar. I can rotate the phone and the bar rotates accordingly, all apps are fine, shutting the screen on/off is fine, but I just cannot pull down my notification bar. Neither with one or two finger swiping.

I turn the screen off once more, but this time, I immediately feel phone vibrate, followed by the Google logo, as in, it rebooted itself.

Any ideas what might have caused this?
[Nexus 4 Original Android Development] chrisgtl:
Very interesting. I would have a wild guess that our closed WiFi drivers are basically crap. I did a similar test and got similar results to yours but not over fibre as we can't currently get it.

From what I recall there is a WiFi power saving feature enabled within the WiFi config file and when this is disabled the WiFi works at full bore nicely.....however battery takes a BIG hit so is a no no for me.

I will try find the WiFi config so you can give it a go. Its very easy to revert back. Are you rooted?

/system/etc/wifi/WCNSS_qcom_cfg.ini

set "gEnableBmps=0"
[Nexus 4 Original Android Development] TheLawIX:
FYI, switched from Paranoid android to slim bean and my wifi and signal issues are all gone. Paranoid android was working fine for months, the only think I ever changed was the kernel.
[Nexus 4 Original Android Development] Alex240188:
yes im rooted. I have no problems with messing around with system files so you dont need to give a dummies guide. i will have a quick look at the wifi config now to see if anything jumps out at me

to be fair the extra drain with wifi wouldnt be a problem because i only use wifi at home when i can be near a charger anyway.

but as it is for me, its actually slower than the HSPA+ speed that i get through my provider which is fail
[Nexus 4 Original Android Development] admiez:
That has been true for me also. With the option disabled even latency is cut in exactly half in my case. But, battery takes a hit to the point where the phone won't enter deep sleep for long periods even with the option for Wi-Fi set not to stay on after screen-off.
[Nexus 4 Original Android Development] Ensifolk:
Any recommended settings for more battery saving ? Governor...io schedule....etc...?
[Nexus 4 Original Android Development] ludorexmundi:
stock settings are enough good for me :cowboy:
[Nexus 4 Original Android Development] Alex240188:
hmm. that seems to make things much better. so it looks like its going into power saving when it really shouldnt be then

gEnableBmps=0

now wifi speed is up to normal

thank you for your advice with this. its spot on.

il give it a try for a while to see how bad the battery hit is and decide from there.

at least i can rest easy knowing its not dodgy hardware
[Nexus 4 Original Android Development] vikas_toad:
I don't know how people are getting screen on times more than 3 hours.... Even 5-6 hours...

My current settings are

Wifi optimization on

Auto brightness

70% wifi 30% 2g over 12 hours

Auto sync enabled

Location services enabled

Running xylon 4/20 build

Franco kernel app : custom gama settings

The max i can get with the above settings is 3 hours SOT from a total of 12 hours

This is approx. The same when my nexus was completely stock

And no ****ty wake lock producing apps in background...

Any idea why am i not seeing any difference in battery life after switching to this kernel from stock??
[Nexus 4 Original Android Development] EstarlinMReyes:
Put your phone in Airplane Mode and the Screen Brightness 0%

Sent from my Nexus⁴ with ParanoidAndroid + Franco.Kernel
[Nexus 4 Original Android Development] gravitysandwich:
Hey Franco,

Well you asked me to explain more on saving my voltage table option on pg 2564. I mean like it should be an option like the gamma/color options. Like you enter your values and theres a button that it saves it into a file to the directory that your app saves stuff. Then another button that loads the file from the directory after you reboot. So all you would do is chose the load option on your app and that will load the values you saved last time.