yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] iammudd:
First of all, I'm one of the few who only post battery results for sleep/standby and only on 3g+. (There are too many user-dependent factors when comparing screen-on times. Screen caps don't show the percentage of cell handovers, intensive gps usage, encryption, etc. I've seen battery drain at 15% per hr for browsing to 25% per hr. with heavy usage of mapping apps, etc.)

My latest round with r83, .48 radio (HSPA) and 18FebPA (22hrs standby, yes - I didn't use my phone at all yesterday) was 1h08 wake time (5.1%) and <1 minute of msm_hsic (0.1%). Your results (even on Harsh kernel) was much higher at 10.8% wake time and 5.2% msm_hsic. (My batt drain was also lower per hr as well, but we could have diff voltage and signal levels, and service types)

While you may have experienced better battery after changing kernels, background apps still have a much bigger impact.

Franco and others have already said that msm_hsic is due to data activity so if you're really intent on prolonging your batt then I'd look at your apps -- possibly freezing some at night (if background comms can't be disabled completely). Some ppl will argue that disabling certain apps are "crippling" their N4, but during sleep (not standby) do they really need gps turned on and some app checking-in during that time? Do they really need to have fb and some chat or forum app connected? The data usage screen will show lots of apps communicating in the background -- e.g. even for harmless activities such as checking for newer revs. (e.g. I manually check Play Store for updates.)

As an example, I see you have K9 enabled at night. If you really want to cut down on battery use at night (and you are able for security/logistical reasons use your gmail addr), you can setup your gmail to check your imap -- and then push new mail to your N4 on demand (vs. constantly polling/sync'ing with K9).
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

Nope. The Nexus 4 is my 1st Nexus smartphone. I was going to get the GNexus last January but I didn't for some reason.
[Nexus 4 Original Android Development] Vangelis13:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

Poor Francisco.. If at least it made sense language wise..
[Nexus 4 Original Android Development] B3rt0:
my battery with r83 lasts till 1d 15h with 3h on screen and 2h music playing and still 23% left. Pretty amazing values. :)
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

It could be ROM related.
[Nexus 4 Original Android Development] Imppy:
How much is this undervolted?
[Nexus 4 Original Android Development] gknnn':
I dont uv

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] pnut22r:
What app are you using for underclock settings?

peaceOut()
[Nexus 4 Original Android Development] IAmAN00bie:
Must have been really low brightness then!
[Nexus 4 Original Android Development] ceejay83:
You can see in the graph he charged
[Nexus 4 Original Android Development] gknnn':
1/4

No thats normal, youll see if you use it heavy and than let it some time without touching.

I done it before sleeping - try it.

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] efan3719:
you're running it at less than 1Ghz. not surprising you can get that out of it. I run it at 1.5 Ghz on stock kernel and squeezed 5 hours out of it.
[Nexus 4 Original Android Development] opz187:
The n7 could use some Franco love. Would love to run cm10 with franco
[Nexus 4 Original Android Development] gknnn':
yes thats why people should not be surprised just delete ****, unusefull stuff and use it right :)
[Nexus 4 Original Android Development] efan3719:
maybe they thought you were getting that at stock frequencies. but more power to you. if you can enjoy your device at the clock rate and it gives you good battery life then :good:
[Nexus 4 Original Android Development] drawde40599:
My go phone gets 15 hours screen on time ;p and with his settings its faster ;)

---------- Post added at 01:05 PM ---------- Previous post was at 01:02 PM ----------

If u turn everything off u can get more than that , but defeats point of a smart phone , leaves u with just phone

My opinion ;)
[Nexus 4 Original Android Development] melbourne408:
Just for reference, going back to the stock cm10 kernel do I need to flash a kernel cleansing script in–between without wanting to /wipe data

Ty :)
[Nexus 4 Original Android Development] nintendolinky:
Does this kernel have the downgraded touch firmware built in, or do we have to flash the SynaImage.E015.bin image using terminal.
[Nexus 4 Original Android Development] ceejay83:
Why would you want to do such a crazy thing?

You can just reflash the rom
[Nexus 4 Original Android Development] SleemLDJ:
With the latest iteration of kernel being 3.4.23, are there going to be huge changes to 3.4.0 which Franco kernel is based on?
[Nexus 4 Original Android Development] Vanhoud:
It's doesn't touch the touch firmware
[Nexus 4 Original Android Development] benblb:
Okay. Thanks. That's more usage than I thought, so that's good. I have been using Google Now, but I did disable background location updating. Despite that though, I'm still getting wake-locks from Maps. Does anyone know how to fix this?

I have attached two screenshots...I think. :p
[Nexus 4 Original Android Development] melbourne408:


I'm from the cm6 odin kernel days, haha hella devices ago –last device was the I777–I'll be fine. I'll report back.

@franciscofranco -Thanks for the magnificent work Franco!

Been working hard work school home and a job, purchasing your app now!
[Nexus 4 Original Android Development] jhericurls:
Use something like autostart manager or system tuner to disable the receivers/services.
[Nexus 4 Original Android Development] benblb:
Can you elaborate a bit more? Exactly what services should I disable, because I don't want to lose GPS capabilities. Is there any other way or anything I'm doing wrong?

Cheers,

Ben
[Nexus 4 Original Android Development] wathefak:
just bought the app and flashed your kernel, so far so gooood man!:good:
[Nexus 4 Original Android Development] Misledz:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

I had about 19hrs on before it hit 20% and I had about 2:45 on screen time. But I felt 83 was so.. Laggy.. But 85 oh baba. It's back to lubrication!

Obrigado franco
[Nexus 4 Original Android Development] schizophrenia:
thanks

i am just doing things one step at a time. that is to find out which kernel works better with every other things held constant

and then identify what is the factor that makes one kernel better than others

i found that, to a certain extent comparing your 3G drain and mine 3G drain even during idle is not too relevant because, as you said the hsic wakelock is triggered by data and for example one minute of my trigger drain 1% while one minute of your trigger drain 0.1%, we already know it's the wakelock related problem but not apps related. I also have made control tests with 1. another franco kernel user and 2. stock kernel user and both of them have minimal apps running on background and yielded similar hsic wakelocks and drains during their sleeping hours.

but anyway, I have nailed down the wakelock problem and franco kindly addressed it, the rest is up to "apps wakelocks" and I shall slowly dig out the culprit one at a time.

lastly, I sit the phone idle unplugged during night time is not a normal practice. I do that only for testing. So that means during a normal day I shall leave door, use the phone on 3G and have everything that I need (e.g. K9) and that means freezing K9 or any useful/common apps is irrelevant anyway.

anyway, thanks for your kind suggestion :good:
[Nexus 4 Original Android Development] Hanny:
hey good morning franco, thanks for moving sampling timer to the userspace. though in initial quick tests, I am having no idea about maintaining the two values effectively. simply modifying sampling rate to 40 still gives me the best heavy gaming performance, while i agree that there is room for improvement on the battery usage for sampling rate 40 as somebody has suggested which is also the reason of you adding the timer tunable.

i remember you said r70 has 100 jiffies delay on the sampling timer, and r82 (probably r80 also) has 10

1) i see that r85 is having 25 jiffies delay as default, could you tell if r83 is having 10 or 25?

2) need to do some thinking/calculations before doing more real tests. got any suggestion for the sampling combinations for me to test? so far, theoretically, i guess if i double the jiffies delay i need to half the sampling rate (vice versa) in order to achieve the same/similar daily-app-usage offline responsiveness to have the similar battery usage.

but dont know allowing which to be higher is more tricky for better battery on daily app + maintaining the same effect (keeping cores on nicely) on high-load.

3) As far as I understand, sampling_rate tunable is affecting the sampling rate for offline only, and sampling_timer tunable is affecting both the hotplug decision frequency for both online and offline. am i correct?
[Nexus 4 Original Android Development] wildbizzar:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

Correct me if I'm wrong please! The r85 comes with LG's default color settings? It's kind of much brighter compared to PA's half breed.
[Nexus 4 Original Android Development] rxmxsh:
Yes, it's the LG default, but you can also select 'Recommended Values".
[Nexus 4 Original Android Development] kridster:
Hallo guys, first of all i have to admit this is a great device, great kernel and even greater community. Comming from the Galaxy S2 this is a huge step forwards :)

This is my question: I want to undervolt the CPU via init.d script and found the file "UV_mV_table" in /sys/devices/system/cpu/cpu0/cpufreq/. Before I do anything wrong I just want to make sure, whether its even possible at all and this is the right location to look at. Any help appreciated!
[Nexus 4 Original Android Development] brian88:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

I flashed r85 about 6 hours ago, but now I have to come back r83. I dont know how about battery life on r85 but I feel it lags so much, a second delay on all most actions. R83 is perfect with me until now :)
[Nexus 4 Original Android Development] ÜBER™:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

There's nothing wrong with 85.

Sent from my Nexus 4
[Nexus 4 Original Android Development] halluci293:
A suggestion for the fku app:

Instead of color bars in the gamma tuning window, maybe a gamma calibration image would work better help with calibration (rather than switching between apps, especially since I get FC in display tester every time I change a color value in the kernel updater).

Something like this: http://www.colorserver.net/articles/calibrate_gamma.gif

or this: http://www.lcdreviewz.com/graphics/ColorGammaGradient.png

The only requirement is that the app displays the gamma test image at a 1 to 1 pixel scale, no resizing.
[Nexus 4 Original Android Development] yoyosamsam:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

Do i need to flash back to stock kernel before switching other custom kernel on r85?
[Nexus 4 Original Android Development] trueblueram:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

How do u guys (devs) do this day in day out? Dyuall have the perfect zen mindset?
[Nexus 4 Original Android Development] B3rt0:
do you mean when you go to another kernel other than francos? or coming from another?

1) I guess so.

2) dont think so
[Nexus 4 Original Android Development] schmitzekater:
AW: [KERNEL][GPL][N4] franco.Kernel - r85

I just wanted to confirm that my data issues this morning were carrier-related. I saw some tweets complaining about it, too. (Germany, Vodafone)

So not a problem of r85, which was unlikely cause it happened this morning on r83 as well, like I said. (Additionally flight mode on/off helped)

I'm curious what screen time a full battery load will bring. :o
[Nexus 4 Original Android Development] scream4cheese:
There's no need to do any of that.
[Nexus 4 Original Android Development] B3rt0:
well some had problems with flashing faux' kernel over francos..

thats what i had in mind! not sure if it is still up to date!
[Nexus 4 Original Android Development] franciscofranco:
1 - r83 had 10;

2 - I have no quick suggestions, I didn't test anything besides what I left on default, I don't have time for that :/

3 - Exactly;

1 to 1 pixel scale seems a bit hard seeing we have limited screen size don't you think? But the idea is good, thanks.
[Nexus 4 Original Android Development] halluci293:
I just found those images with a really quick google search to demonstrate. What are the dimensions for the current test image area? I could put together some gamma test images that would fit in that box if it would help.

A gamma test image doesn't need to be huge, especially if we just want a visual check for 2.2 gamma at 50% grgb luminance. Given that our displays are 1280 x 768, I think there's plenty of space for a small gamma calibration image. This one is pretty small: http://members.shaw.ca/jonespm2/calib2p5.gif
[Nexus 4 Original Android Development] rikmer:
AW: [KERNEL][GPL][N4] franco.Kernel - r85

Anybody experiencing the call delay bug? I didnt have it until 4.2.2 . But now it is there every time.
[Nexus 4 Original Android Development] yoyosamsam:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

I meant (1)
[Nexus 4 Original Android Development] ObihoernchenDE:
AW: [KERNEL][GPL][N4] franco.Kernel - r85

Sometimes a own search is a good idea...

As you can see right now Config_modules is NOT set in the current kernel!

Franco changed this some days ago.

Next time try to confirm your answer before you say I'm telling ****.

So it is a kernel issue...

Gesendet von meinem Nexus 4 mit Tapatalk 2
[Nexus 4 Original Android Development] penzoilguy:
sorry that I reply on my mobile..so I myself didn't know what i talk about...referring to this;

r85:

* Merge a patch from Linux Kernel that adds a new hashtable (http://en.wikipedia.org/wiki/Hash_table) implementation to be used in the block layer (block layer is the layer that controls the IO on the several block nodes).

anyway just ignore me as i'm not sure it does impact on it or not.. just a wild guessing...:angel:

Oh yeah Btw....r85 really did reduce msm_hsic_host wakelock!!! thank a gazillion Franco....now i can leave my portable charger at home :P
[Nexus 4 Original Android Development] hospital349:
Hey Franco.

Just an heads-up: http://xdaforums.com/showpost.php?p=38293737&postcount=11611

I haven't got a clue what it was that Moles did, as I have heard that the HDMI connectivity issue exists in several other N4 Roms on XDA. Xylon being one of them (apparently).

I'm still waiting for an explanation to what he changed and whether or not it was in fact Kernel/Rom related. I'm assuming Rom/Software, as this is Moles's area of expertise.

Thanks for looking into the matter. :)
[Nexus 4 Original Android Development] Utini:
oh god please not the call delay bug again :S Have to try it out
[Nexus 4 Original Android Development] schizophrenia:
by "call delay bug" do you mean there is a delay when you pick up a call from someone and couldn't hear anything until a couple of seconds?

I have that actually but I don't know what's causing it.
[Nexus 4 Original Android Development] B3rt0:
AW: [KERNEL][GPL][N4] franco.Kernel - r85

This kernel is amazing.

sent from my Nexus 4
[Nexus 4 Original Android Development] franciscofranco:
That is not my config, that is Google's default config, so no I didn't disable anything. My config is in /proc/config.gz

Its probably rom related yes.
[Nexus 4 Original Android Development] kypeth:
immensely common carrier or phone issue, had it with my HD2 on android, had it with my sensation on stock rom and custom roms with s-off, the only solution is to not say hello for a moment after you've answered your phone. If you say hello immediately, the other party tends to not hear anything besides the last part of "llo" if anything at all.

I am sorry if this information is inaccurate and there actually is a resolution
[Nexus 4 Original Android Development] B3rt0:
I do remember that it has been fixed for Sensation with a simple build.prop hack...
[Nexus 4 Original Android Development] gkot71:
Απ: [KERNEL][GPL][N4] franco.Kernel - r85

Guys I just saw that a system update is ready to install. I have Franco kernel v.72

Can I install the update? Sorry if has already been answered but I am really busy with work...:(

Στάλθηκε από το Nexus 4 μου χρησιμοποιώντας Tapatalk 2
[Nexus 4 Original Android Development] i860:
To update to r82 r83 r85 you need to update to 4.2.2
[Nexus 4 Original Android Development] Caesarivs:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

I think he's referring to OTA...

You can't install OTA update while using custom Kernel, flash stock kernel and then do the OTA upgrade... Then flash Franco's r85 kernel

Sent from my Nexus 4
[Nexus 4 Original Android Development] gkot71:
Απ: [KERNEL][GPL][N4] franco.Kernel - r85

Do I lose the unlocking of boot loader and custom recovery? That's my question

Στάλθηκε από το Nexus 4 μου χρησιμοποιώντας Tapatalk 2
[Nexus 4 Original Android Development] Caesarivs:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

You don't lose the unlocked bootloader, but you do lose the custom recovery

Sent from my Nexus 4

Edit: you also lose root
[Nexus 4 Original Android Development] B3rt0:
no, why should you?
[Nexus 4 Original Android Development] admiez:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

Maybe what can be done is to split those images. Have RGB separate from one another and the same with that one you showed with the white/black/gray squares. Display just one portion at a time by quickly tapping or swiping from one to the next.

Although this sounds like even more work for him.
[Nexus 4 Original Android Development] luminouche:
No
[Nexus 4 Original Android Development] gkot71:
Απ: [KERNEL][GPL][N4] franco.Kernel - r85

From your answer I understand that I don't lose custom recovery.

Στάλθηκε από το Nexus 4 μου χρησιμοποιώντας Tapatalk 2
[Nexus 4 Original Android Development] ahalford:
I have a strong feeling, that msm_hsic transferred the part of itself into radio_interface and sns wakelock. Overall, the wakelocks on mobile network are the same, ~3-4 minutes per hour.

I think, the most efficient solution will be adding lowest possible frequency, most possibly undervolted.
[Nexus 4 Original Android Development] hospital349:
Very sorry dude! I always assumed it was hardware related, as people from several different Roms stated that they were having the same issues. Especially after trying Stock Kernel without any luck.

Again, many thanks!
[Nexus 4 Original Android Development] franciscofranco:
I think, the most efficient solution will be adding lowest possible frequency, most possibly undervolted -> No.
[Nexus 4 Original Android Development] rxmxsh:
This is new. My device has turned itself off twice today since updating to r85. I go to unlock and the phone won't turn on. I end up having to hold power down until it reboots. Anyone else? No UV, stock Franco settings, except gamma.
[Nexus 4 Original Android Development] Utini:
works fine with my carrier on some other phone. I also never had any phone which had that problem.
[Nexus 4 Original Android Development] techmatlock:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

I dunked my phone in water. Fixed this issue.
[Nexus 4 Original Android Development] rxmxsh:
Tried that. Made it worse.
[Nexus 4 Original Android Development] Tito2007:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

Yeah I got this too..cleared fku app data to check it out. See if it continues
[Nexus 4 Original Android Development] rxmxsh:
D'oh! I am retard. If it happens again, I'll post a log.
[Nexus 4 Original Android Development] Archmag3:
Had free time and was fiddling with colors, found this config nice than previous one.Please check and let me know :) I'm on rev 11. Running r85. PA 3.0 19 FEB

R	237

G	242

B	240

Gray	4

Mids	119

Black	119

Contrast	22

Brightness	6

Saturation	6

Whites	1
[Nexus 4 Original Android Development] yokuyuki:
The problem with that fix is that it uses so much more battery.
[Nexus 4 Original Android Development] rumnheim:
Can anyone share their settings for this kernel ? I am looking for battery life.
[Nexus 4 Original Android Development] sir*mez:
Anyone anything?
[Nexus 4 Original Android Development] jlear3:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

I get 4hrs on time with sync enabled just uc to 1.3, 100 UV, interactive Governor, cfq IO.

Running xylon nightly

Nexus 4

ATT Straight Talk $45/mo

running xylon nightlies 4.2.2 franco r83

^(subject to change often)^
[Nexus 4 Original Android Development] Tito2007:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

Its cool .. Chuck Norris held phone = problem solved. AMAZING

seriously though cleared fku data all good so far.
[Nexus 4 Original Android Development] TheLawIX:
I tweaked these setting a bit to my liking, but all and all these are fantastic settings. Thanks!
[Nexus 4 Original Android Development] rikmer:
AW: [KERNEL][GPL][N4] franco.Kernel - r85

Yes exactly. Dont know it either. Started with the update on 4.2.2 . Could this be somehow kernel related?
[Nexus 4 Original Android Development] sumit29:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

Builds after r80 don't seem to be creating the new file when coming from the stock kernel. If you look into the device monitor of the app, you will notice that the clock speed is also not going up when you swipe on the screen. To me, it seemed to be a little laggy as well.

Solution: when coming from the stock kernel, flash r80 first and then update it to r85. You will see a backed up file.
[Nexus 4 Original Android Development] calanizzle:
I've had this delay since day 1, it's a known issue, not 4.2.2
[Nexus 4 Original Android Development] Tito2007:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

http://db.tt/kWaiOoeA

Here is my log
[Nexus 4 Original Android Development] vinnyutd6899:
You on a wind up? I have had my in call volume set to 25% since day 1 its way to high.
[Nexus 4 Original Android Development] kszaq:
Call delay bug is definitely ROM related. I had it before, now I'm on r85+custom AOKP build and not having any delays.
[Nexus 4 Original Android Development] migue74:
Is it possible to add cifs support? I use it A LOT to watch tv series with subtitles from my WD Live. Thanks.
[Nexus 4 Original Android Development] KennyDumah:
AW: [KERNEL][GPL][N4] franco.Kernel - r85

Could u upload r80? Its seemed to be removed from server.

Thanks

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

Franco, what's your opinion on Turbo Boost?
[Nexus 4 Original Android Development] mitchdickson:
Re: [KERNEL][GPL][N4] franco.Kernel - r85

It's still there. Same place it's been the whole time.

Sent from my iPad 4
[Nexus 4 Original Android Development] zephiK:
Not removed, you're just looking in the wrong location.

http://minooch.com/franciscofranco/Nexus4/tests/
[Nexus 4 Original Android Development] KennyDumah:
AW: [KERNEL][GPL][N4] franco.Kernel - r85

Ah I see. Oh man. Now I feel like a real Noob xD

Thanks dude.

Sent from my Nexus 4
[Nexus 4 Original Android Development] franciscofranco:
Nope, CIFS is a no go on my kernels, I'm sorry!

I think its just a buzzword. The idea itself I think its good, Intel has a very good implementation on its chips, but I'm not sure if its actually useable here and if we really need it. If the actual functionality works or not I will leave that to faux and his users, its not something that concerns me and I'll play no part in more flame wars :)