yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] psubadger:
Hi all. I've been watching the forum for quite some time, and have more recently started with Franco's Kernel. I have no background in computing/programming/coding (I'm in the biological sciences), so I know that I can't contribute anything meaningful to the discussion about the kernel on technical points. However, I can make myself useful in other ways. Since I know that one of the main reasons people tend to flash custom kernels is due to battery savings, I figured that I would undertake an extremely unscientific test to compare the battery life on Franco's kernel (in this case Milestone 1) vs Stock 4.2.2.

Accordingly, I followed my battery usage by noting the percentage left before I went to bed, when starting from a full charge in the morning. I followed these numbers for a week for each kernel to hopefully normalize aspects of my daily routine that vary from day to day, or even weekday vs weekend. I also kept track of the screen on time, as an indicator of how much I was using the phone. So there are a few issues with my setup, namely that I'm using screen on time as an indicator of use, and not trying very hard to normalize use between days. Also, one could imagine that setting a given "on" time instead of "waking up" and "going to bed" would give more consistent and accurate results. Part of this was intentional to give battery numbers as a result of real life usage as opposed to benchmarks or artificial tests, and part was due to the Nexus being my only phone and I needed to use it during these tests. Any suggestions for improving these studies are very much welcomed, if people find them useful, and I can then be content in giving something back to the community.

On to the data:

Stock Kernel - Average Battery % = 58% +/- 4.1% (as one Standard Deviation) with an average screen on time of 74 minutes +/- 22 minutes

Franco Kernel (Milestone 1) - Average Battery % = 59% +/- 8%, with an average screen on time of 72 minutes +/- 19 minutes.

So simply from a battery standpoint, I did not observe a significant difference between Franco and Stock in regards to battery life with my extremely unscientific study. So in this case, the primary benefit was the greatly improved colors from the screen and headphone gain so that I didn't have to turn up my external speakers all the way when streaming pandora in lab.

I saw that battery life is supposed to be much improved in the last few nightlies, so I can redo the study for another week with the newer kernels, but before I do that, I would like to solicit any ideas for improving the tests, or even if people find it interesting and worth the time.

Also for what it's worth, I use my phone for texting, phone calls, light internet browsing, a few reader apps, streaming music and occasional light gaming. WiFi and 3/4g (whatever one would call ATT HSPA) on, screen on auto brightness, GPS/Bluetooth off, Google Now and other location things on.

And now I'll end this monster post. TL;DR - I didn't see better battery life with Franco's Kernel vs stock, but am still quite happy with the other differences, and am very glad to have paid for his app.
[Nexus 4 Original Android Development] drawde40599:
I used stock rom and kernel for over a week when i first got phone, couldn't get even 2 hours SOT i now get 4-5 hours every day with this kernel. Pretty drastic change for me
[Nexus 4 Original Android Development] Arstoien:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

But did you use it with the 4.2.2 kernel? I haven't actually tried that one at all. After switching to franco a long time ago I haven't changed kernels.
[Nexus 4 Original Android Development] drawde40599:
I tried 4.2.2 kernel also, more than once actually when i was having data issues with francos before he fixed i was making sure it was the kernel not at&t...... My phone dont like stock kernel
[Nexus 4 Original Android Development] deltatux:
I think you just added a whole new meaning to "coding on the fly" right there :p

I've noticed that while the device is pretty fast with the new hotplug driver, the responsiveness is rather sluggish, like the time it reacts to commands seems to be more noticeable on r115/116 compared to the old driver... could this be an optimization thing since it's still rather new code?

Sometimes I swipe my screen, it takes a noticeable gap between me swiping through the application drawer and the drawer animation swipe. Once the device registers it as a swipe command, it quickly renders it, but the latency between command and device action is noticeable. It also happens when I'm trying to switch from application to home screen and from application to application.

Not sure if it's only me, or other people have noticed this. It doesn't happen all the time, but from time to time.

deltatux
[Nexus 4 Original Android Development] lightosx:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

No offense taken, I was just pointing out an observation which does make a difference to some of us. If you look at the numbers over a longer period the savings are more apparent:

0.3 x 8 = 2.4

0.2 x 8 = 1.6

0.3 x 24 = 7.2

0.2 x 24 = 4.8

0.3 x 48 = 14.4

0.2 x 48 = 9.6

This difference is particularly useful when I go camping for the weekend and don't have access to a charger.

P.S I removed the battery percent indicator from my notification bar a long time ago. ;)
[Nexus 4 Original Android Development] thebryceee:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

I didn't :D

So far so good on the battery life and performance!
[Nexus 4 Original Android Development] Sophos1:
LTE.....(drooling)
[Nexus 4 Original Android Development] SubyWill:
Same here, it's running great!
[Nexus 4 Original Android Development] MWBehr:
I have no particular issue with your tests, as I don't expect anyone to spend months per kernel under a controlled usage environment in order to come up with a more scientific test. I do, however, disagree slightly with your interpretation of those results. The large standard deviation on Milestone 1 implies that there actually is a significant difference between the two kernels.

You have to look at what we're testing. The kernel isn't going to give across the board battery savings for all kinds of usage, it should give slightly better sleep (although realistically stock is pretty good anyway), and mpdecision/hotplugging should improve the light phone usage. Heavy usage and screen usage, however, should be mostly unchanged outside of possibly UVing or UCing. So, in my mind, the more variance in your results with a small sample size, the greater the implication of improvement. Since your day to day type of usage seems to change (based on your "Screen On" time variance) I would expect the ending percentage to vary more widely on a kernel that improves a couple aspects of phone usage.

Also, to really test what the kernel is meant to improve, I would say your "end of day" percentage should be lower (implying more general use and screen on time). It would better exemplify the benefits of this kernel, but I understand that your test was more for your own lifestyle.

I said all that to say this: I think your test was good (enough ;)) and that it does show a small potential battery savings from Franco's kernel. Also, that you would most likely see more savings if you used your phone more during the day.

We need to quit calling this a Hotplug driver. It's confusing to some, and doesn't do your work justice. I'm not very creative with names, and I'm sure someone can come up with something better, but how about calling it Fplug driver :D
[Nexus 4 Original Android Development] thebryceee:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

f.driver
[Nexus 4 Original Android Development] drawde40599:
So dose seach button , we should change the name of that 2 :D
[Nexus 4 Original Android Development] blahblah13233:
does anyone have the PA halfbreed color settings? I saw it somewhere here on the thread but it can't find it.
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

Have you tried searching "PA halfbreed color"? :):)
[Nexus 4 Original Android Development] ÜBER™:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

Ha searching... What a joke... You're good. :D

Sent from my Nexus 4
[Nexus 4 Original Android Development] Cuzz1369:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

Well in my personal opinion the search engine sucks balls on xda, and with over 2200 pages on this thread it's ridiculously hard to find if a question has been answered, not to mention all the off topic posts(including this one lol) I've seen 100 pages pop up overnight. Franco needs his own xda section with sub categories.
[Nexus 4 Original Android Development] mbh87:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

Here is a backup file of the halfbreed colors. Just put in the Franco folder on SD and restore in the app. http://db.tt/Wzk9nYBs
[Nexus 4 Original Android Development] simorangkir_dcs:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

This kernel is amazing, no question. But what makes it so popular is maybe that you can actually have fun and laugh reading this thread.

Something you probably won't find in other kernel/rom thread :D
[Nexus 4 Original Android Development] blahblah13233:
Thanks so much
[Nexus 4 Original Android Development] mbh87:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

You must not visit the trinity thread. It's 95% off topic.
[Nexus 4 Original Android Development] drawde40599:
it always works for me i never not find my answer , specially for this 2000 page thread since same questions asked on every page , a fresh answer always pops up.

My opinion....
[Nexus 4 Original Android Development] Whosdaman:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

How about this for thought, instead of complaining each and every time there is an off-topic comment or a question that has already been answered, just simply ignore it. Seriously. Just shut up sometime and just follow the rules yourself. I'm sorry for taking this off topic again, but seriously this thread is a moving train that isn't stopping for anyone. Just jump on and hold on. If you don't feel like catching up, then don't assume we'll do it for you. There is a changelog for a reason. It is your quick guide to this thread.

P.S. r116 is amazing, but then again so was r115 IMO. I'd rather use your hotplug over a closed source one any day.
[Nexus 4 Original Android Development] JoshinPl:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

I'm waiting for r117 :d

And can you add to your kernel the newest patch from codeauror for wifi drivers? It would be grat for me :)

Enviado desde mi Nexus 4 usando Tapatalk 2
[Nexus 4 Original Android Development] HiGGzZ:
Plz, What is ur clock/weather widget? Tu

Sry 'bout off topic
[Nexus 4 Original Android Development] thebryceee:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

Comes with Liquid Smooth ROM.
[Nexus 4 Original Android Development] ceejay83:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

cLock from cm. Search for it, you can sideload it
[Nexus 4 Original Android Development] PunkOz:
Im using system monitor to watch the cores online/offline and I noticed that when you underclock your cpu to 500 mhz it disables all the cores and only leaves 1 core all the time, doesn't matter what you're doing it stays in 1 core and when you put it back to 1.5 ghz the other cores start to work. I don't know if this is a bug and if it is I dont think it is that important, i don't think anyone underclock to 500 mhz I just wanted to report it to help n.n

Is there any app that allows you to control the cores per app? Like only allow 1 core to be used while watching videos in youtube app or 2 cores max for facebook, if not, then i think that would be an amazing app if possible.
[Nexus 4 Original Android Development] sryche:
Ynt: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

is there any settings for 116, everybody says its perfect but for me its very laggy like 115. wiped everything, clean install rom(slimbean 3.0)but still laggy.
[Nexus 4 Original Android Development] matesc:
AW: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

Clear Franco updater app, reboot.
[Nexus 4 Original Android Development] alcaprone:
R: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

I m new here..i d like to try UC a bit to keep the phone cooler and have more battery...do you have any suggested settings on r116?
[Nexus 4 Original Android Development] Hanny:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

Good catch, confirming this.

When max is 594mhz only 1 core would work. I did stability test-classic test (that app tries to thread 4 cores) on this and it lagged like **** (freezes 15sec moves 2sec), still only 1 core working. i tried to make a screenshot, SystemUI FC, System Monitor FC, auto full rebooted from google logo.

when max is 702, 4 cores work.
[Nexus 4 Original Android Development] Arstoien:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

Suppose you mean undervolt, not underclock (UV vs UC). If so, start with -50 mV, do extensive testing on all frequensies and test again with -25 lower. For testing either use some sort of stability test app or UC to the desired frequency and do sth heavy enough to use all cores constantly on that frequency (doing that for all – one after another).

If you're running a "faster" binned cpu, you'd probably be settling around -125 to -150.
[Nexus 4 Original Android Development] deltatux:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

Can confirm that r116 has one of the best battery life I've seen on the Nexus 4, however, it's definitely not as responsive as r111. Hopefully on future revisions Franco will improve on the driver to make it smoother.
[Nexus 4 Original Android Development] PunkOz:
Glad I helped somehow, and another question, why is my cpu running @ 1.2 ghz 1 core while watching a YouTube video.

I have it at 1.2 ghz yes, but the cpu graph shows that I'm only using 30% of core , shouldn't it be running at 30% of 1.2 ghz? So, like 500 mhz?

I'm using conservative. Sorry if this is a noob question :P I'm just testing and trying to report "bugs" on this kernel :)

I didn't have any problems/freezes while running at 500 mhz, it was a little choppy yeah but maybe i had better perfomance than you because im using seeder entropy app, maybe that app helps with lag somehow at low frequencies.

Ps: im running 594 mhz @ 750 mV, i did about -200 mV UV and when I had it running with 1 core @ 594 mhz it didn't crash a single time.
[Nexus 4 Original Android Development] alcaprone:
R: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

Yes i meant UV :)

Thanks!

So you suggest to undervolt all frequencies at the same time and for the same amount?
[Nexus 4 Original Android Development] johann2204:
After flashing francos Kernel i forgot the place of my wall charger. Battery drain is to low.

Back to Stock.

Please fix.
[Nexus 4 Original Android Development] Vangelis13:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

The Interniets is all yours.
[Nexus 4 Original Android Development] Arstoien:
Yes, and I wouldn't suggest to push it to the limits. You might get problems on some tasks if you undervolt too much.
[Nexus 4 Original Android Development] PunkOz:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

This is was i was talking about, is this normal? The screenshot shows 59% CPU usage, I couldn't take a screenshot with less CPU usage, anyway, it doesn't matter if the CPU is at 59% or 13% load it still runs at 1.2 ghz (My max frequency) this happens while watching youtube videos and listening to music, haven't tested with any other apps besides launcher, when I'm on my homescreen it uses 13-30% and goes down to the lowest frequency but when listening to music at 13%-30% it goes up to 1.2 ghz as if it was using 100% of core 1. Is this normal or this is how it should work?

Launcher 13% load 300 mhz

Music 13% load 1.2 ghz
[Nexus 4 Original Android Development] Goku80:
ahh Franco.....you are here...:D great kernel, great smoothness running great on my Pub rom...love it...thanks man
[Nexus 4 Original Android Development] realfelix:
AW: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

How did you get that nice looking battery percentage mate?:)
[Nexus 4 Original Android Development] Arstoien:
I'm pretty sure it's normal. Otherwise it'd lag when you put more load and it would need to ramp the frequency and online another core at the same time. If you want to experiment, change tweak the governor values a bit and see how it behaves.

It's from AOKP rom, I believe. Could be in others too.
[Nexus 4 Original Android Development] aLeda:
what are the sound features ?

thanks
[Nexus 4 Original Android Development] 19Max87:
AW: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

Hey man, thanks for sharing!

Is this only to use with pa or can I restore also with AOKP pub?

Thanks for the answer
[Nexus 4 Original Android Development] Foxnov1990:
http://xdaforums.com/showthread.php?t=2190032

I believe you're looking for something like this. Both Odex and DeOdex versions are available. Using the double Circle myself ;)

Enjoy!
[Nexus 4 Original Android Development] dankoman:
http://xdaforums.com/showthread.php?t=2186734
[Nexus 4 Original Android Development] mbh87:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

As long as you are using Franco's kernel then you can use it on any ROM.
[Nexus 4 Original Android Development] Zainiak:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

Delete

Please disregard typos.... Sent from my NeXuS 4
[Nexus 4 Original Android Development] thebryceee:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

Which one?
[Nexus 4 Original Android Development] dark_ente:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

Battery report on r116

One hour of voice call, almost two hour of Web browsing and check store on 3g, flip cover app with proximity sensor active for 7 hours, still have much juice left

I'm on stock setting + UV

Sent from my Nexus 4
[Nexus 4 Original Android Development] 19Max87:
AW: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

Hmmm... Ok, i asked because as I put the script in the backup folder, restored it and rebooted my phone instantly gets in the bootloader.

I thought no problem but after I clicked reboot it bootlooped in the boot loader again...

OK, after this I hit boot in recovery, no problem so far so I hit reboot system. It booted to the Google screen and it freezes in a grey-blueish color which expanded all over the screen...shockkkk!

But not that problem, because I could boot in recovery again and reflash my ROM.

Very confusing to me as I thought it will be no problem as long as I'm on Franco's kernel...

I hope I could make clear what happened...

:confused:
[Nexus 4 Original Android Development] ogilviea:
Panic with r116 attached...
[Nexus 4 Original Android Development] mbh87:
Thats weird, no clue why it would do that. Here is an init.d script if you would rather try that route http://dl.dropbox.com/u/9264026/77halfbreed
[Nexus 4 Original Android Development] ogilviea:
... and another, both occurred within a few seconds of booting up...
[Nexus 4 Original Android Development] Rizy7:
Anyone know what colours are applied when the kernel is flashed.. Is it the google or lg preset
[Nexus 4 Original Android Development] fozzie:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

Neither; it's the kernel defaults.
[Nexus 4 Original Android Development] Rizy7:
Ah right so the default is like 0 for all the gamma settings but they are not the recommended settings which you can apply by clicking on that option.
[Nexus 4 Original Android Development] Shano56:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

Yes
[Nexus 4 Original Android Development] realfelix:
AW: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

The Screenshot you posted few pages back. The percentage on the right + the icon.
[Nexus 4 Original Android Development] Constantly:
AW: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

So heres my battery report and kinda review to r116

Im texting whole time, surfing little bit.

3g always on, whole time checking facebook, so ca 10 hours and still 57% is closely perfect for me. My old desire S would die halfway by that usage ;)

In all other aspects this kernel works like a charm for me.

Everythings smooth, super fluent and no lags at all.

You've done a nearly perfect job franco :)
[Nexus 4 Original Android Development] thebryceee:
Re: [KERNEL][GPL][N4] franco.Kernel - r116 | M1

Used this tool and icons from post #223. There's a few icons that won't copy over and will look like stock, there's a .bat file fix that I didn't even look at. If you know how to decompile apks, decompile SystemUI.apk and manually drop and replace the icons (I just selected all the battery icons) in SystemUI/res/drawable-xdpi/
[Nexus 4 Original Android Development] iscraigh:
I have had a problem with the 115 and 116 kernel. My sensors stop working, all of them. I reflash the kernel then they are fine for a bit then stop working again.

I am running pa 03/28 in trouble shooting I deleted caches, no difference. I re-flashed the rom and left the stock kernel for a day and so far no problems.

has any one else experienced this ( I did a search and found no comments recently) I am going to flash milestone one later today and confirm that I have no problem with them on that kernel. If that is clean I will re-flash 116 and confirm problem again. Any thoughts on what might have changed between kernels that would effect this.

No UV

Whatever governor Franco defaults to

I am still on the .33 radio with the new boot loader. (have been on .33 through several kernels (since 70 or so) and versions of PA without issue I will flash new radio after confirming other kernels are ok)

It is strange that it works for a while after flashing then stops. I downloaded a sensor test and every sensor is dead, reboot does not fix I have to re-flash.

Any thoughts

Craig
[Nexus 4 Original Android Development] HigherSensation:
Dude read the PA Rom Op you need the newest radio i believe it's .48. I don't think its a kernel issue you're having,I've seen others complain about this before flash the .48 radio and see if it fixes the problem.Check the attachment below if you're lazy.
[Nexus 4 Original Android Development] ipnekgs:
look at his signal strength (mobile)

I'm on tmobile and never get green. Also, I'm pretty sure there's not at lot going on with syncing. I have 3 Exchange accounts, and brightness 100 all the time.
[Nexus 4 Original Android Development] BRKotucs:
Stock settings, interactive.
[Nexus 4 Original Android Development] jjcandroid2012:
Try ondemand.. A few pages back something about a patch or something from Google got messed up with the interactive governor i know Franco is working on it
[Nexus 4 Original Android Development] JmPTaz09:
I'm glad Franco agreed on this, most people are wasting time... It was Hacre (not sure if I spelled his name right), but he built one of the best kernels I ever used, and he was the one that also told me that it's utterly ridiculous to wipe caches when flashing a new kernel.

BTW, this kernel is up there itself; glad to be running it again, used Franco sometimes back in my Nexus S days!
[Nexus 4 Original Android Development] estallings15:
I don't know if it's the upgrade from R15 to R17, or what, but my standby time is AWESOME. Went to bed at 98% and woke up at 97%. Standby has always pissed me off because I'm like "Why are you eating my battery so fast!" Thanks for the great kernel, Franco.

Also, so glad I bought the app. My screen is able to display whites decently because of color control (238, 228, 240). If anyone is up in the air about buying it, don't be. Just do it.
[Nexus 4 Original Android Development] dmorand:
So are people using Interactive now on r17 or ondemand? I usually keep mine on Interactive which is why I'm asking.
[Nexus 4 Original Android Development] dpaul007:
Running the defaults here. Haven't had any issues or see a need to change from it.
[Nexus 4 Original Android Development] jjcandroid2012:
Had one reboot on interactive switched to ondemand no issues using latest aokp