yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] franciscofranco:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

So I have been thinking about the best approach for core management and I havent reached any big conclusions to be honest. Like someone said last page my kernels are pretty much known as a flash and forget type so thats what Im gonna aim for. On my local build I have a kernel option to toggle between dual/quad core modes whenever I feel like. I have been using my device almost non stop the last 2 days as Im sightseeing San Francisco with my girlfriend and I find no big of a difference between using dual or quad core modes. Which leads me to believe that Im probably going to make quad mode as default with no hotplugging routines (of course screen off all cores go off, but thats already implicit as its obvious behaviour). I also think of adding a third option to use normal hotplugging routines if a user prefers core management ondemand based on load. I think this is the best approach for now. Will obviously keep improving the hotplug algorithm while maintaining the 3 different options.

In my two days of intensive testing I found interactive to be better battery wise in the long run. My usage varied between 100% time 3G, lots of GPS, Navigation, some 3G tethering.

Give me your thoughts.
[Nexus 4 Original Android Development] jack1984:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Giving people a choice is a beautiful thing. It'll be interesting to play around with, for sure.
[Nexus 4 Original Android Development] iammudd:
Perhaps a future test version would synchronize the cpu freq across all online cores.
[Nexus 4 Original Android Development] kyokeun1234:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

This sounds awesome. I would personally use the quad version as my daily driver, but people will love the choices. I say do it! Not to sound too demanding ;)
[Nexus 4 Original Android Development] javacody:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

This.

And I like the approach you suggest, Franco.
[Nexus 4 Original Android Development] franciscofranco:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Not possible, this architecture has asyncronous core handling. I made them synced once, the device crawled more than the first 386 chip.
[Nexus 4 Original Android Development] casonswag:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Thats sounds good to me choice is always good
[Nexus 4 Original Android Development] vomer:
Thanks franco, would the new governor settings stay as well? I think they should as they did help.

As far as the cores are concerned - I am going by example -> r62 at dual core mode was smoother and consumes less battery for me compared to r63 (quad). Unless you have made some changes that has made them equal - my suggestion would be to make dual core "default" and add an option for quad core for users that game/need more processing power.

I am also seeing great benefit from a -100 UV across - perhaps a slight undervolt by default will also help? (perhaps -75 if you want to play safe)
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Phew! I thought you were going to abandon hotplugging. I'm still running r53 for weeks already and I love it. I tried r61 and r62 and I did not like it much. I loved how smooth and quick it was but it was a battery hog!
[Nexus 4 Original Android Development] richteralan:
Great decision. As I posted earlier, I agree with your quad core default and dual core optional approach. Surprised you decided to include hotplugging as a 3rd option. But more option the better!

I also find negligible battery savings between dual and quad core test kernels.

Keep up the GREAT work! Wish I can move to SF! lol:laugh:
[Nexus 4 Original Android Development] iammudd:
Hmmm.. Too bad, I would not have expected that result. (I would have thought that this strategy might have skewed cpu freq towards the high side -- dropping the freq slower than normal.)

Just to clarify. What I was hoping would happen is (if it is not difficult coding task) ... whenever any of the asynchronous governors is setting the freq for its core, it would set the freq to be some value between the current freq and the highest freq currently employed by any other core. (The value could be determined by, say, a percentage in your app.)

(I'm happy with r61/r62...but I was only exploring ways to reduce the microstutter experienced by other posters. edit: if it weren't for the outstanding qualcomm wifi bug, I wouldn't need a newer kernel than r62 :))
[Nexus 4 Original Android Development] kioshi:
I'm down with your suggested route for the kernel Franco.

I'm happy with r62 in terms of daily usage. It gets me through the entire day...13 hours easily on 3g with everything minus GPS on + 2 bars for signal.
[Nexus 4 Original Android Development] cobyman7035:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Use app called perfmon, google it ;)
[Nexus 4 Original Android Development] yoyoz808:
I feel the same way with everything you're said. My thoughts about it would be to go with the third option. That way everyone will be satisfied if they want all cores on or just 2. I know you want to go for flash & forget but it would save everyone the headache of answering the same question over and over about this. Not saying you still won't get those questions but you know what i mean. I don't think there's much more you can do until 4.2.2 arrives, plus the design of the hardware just doesn't give much room for improvement.
[Nexus 4 Original Android Development] drawde40599:
I Agree with all that , tell the truth 4 cores didn't add any more power here for anything , but I don't think most here can look past the phone using 2 cores ( mind f***) so quad may be better as default so there isn't 100 useless pages of ......
[Nexus 4 Original Android Development] tibere86:
My sediments exactly. Well put.
[Nexus 4 Original Android Development] revamper:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Franco, this kernel is fantastic! Coming from faux, this kernel is snappier with better battery life. I am impressed at how smooth two cores are running. The only thing I miss from faux is gamma control, and I look forward to your personal implementation. I bought the updater app from the play store to support your development! Cheers :beer:
[Nexus 4 Original Android Development] elliot.newnham:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

What about dual core default with auto hot plug to quad core when needed?

There are solid reports of better battery life with dual core.

But 3 choices with hot plugging dual core & quad core is good for me!
[Nexus 4 Original Android Development] casonswag:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Srry but whats hotplug?
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

It's simply offlining CPU cores when there are not needed.
[Nexus 4 Original Android Development] SleemLDJ:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I agree here. Moved from faux although faux is good as well including its gamma control.

When I moved to Franco, I just could not go back to faux for now despite its gamma control which is sweet.

So maybe someday we get gamma control on Franco too.

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

Great decision. I'm one of the flash and forget users. Although I bought your app last night I will not use it. I did it just to support your work. Thanks Franco!
[Nexus 4 Original Android Development] Hanny:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

while i agree making quad cores default, i also hope that the option 3 "hotplugging mode" would be hotplugging just between dual/quad cores instead of the traditional 0/1/2/3 type of hotplugging :) that would be saving some juice on/offlining every core frequently, also an enjoyable combination of options 1 and 2!
[Nexus 4 Original Android Development] otariq:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Same here I switched to faux only for gamma but the battery life and speed outweigh gamma
[Nexus 4 Original Android Development] SleemLDJ:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

We've got UV on text builds now so hopefully, gamma comes as well to make the package complete.

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

Not going to act like any kernel has battery life like franco, but there are definitely kernels with better battery life and speed than faux with gamma control.
[Nexus 4 Original Android Development] SleemLDJ:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Check your pm...

Thanks.

Sent from my NeXus⁴
[Nexus 4 Original Android Development] Kazliux:
Hi,

Question: Was on r61 and had governor and scheduler set as franco suggested values. Went back to r53. Do i need to set back the values to it's defaults?

If yes, how to do that? Clear app data option in franco app?

Thanks
[Nexus 4 Original Android Development] quiquegabriel:
Hi everybody! Got the nexus 4 yesterday and I want to try out franco.Kernels. :D

Which version should I flash?? r53 or r62?

PS. Im running CM10.1 stock kernel

Thank you
[Nexus 4 Original Android Development] tlslaj0417:
hmm bro notice that r53 is a stable version while r62 is under tested/nightlies..congratz coming to the family ya^^
[Nexus 4 Original Android Development] otariq:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

You're probably right these are just the only 2 I've ever used and not hating or bashing whatsoever but Franco just seems more fluid to me I'm willing to wait for the gamma rather than use different kernels (except maybe hash heard good things about that one) terrific job with this kernel btw
[Nexus 4 Original Android Development] Scottyfer:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I personally don't find anything wrong with the stock calibration, I've just jumped kernels a lot trying to find what works best for my phone. I'm a fan of the flash-and-forget philosophy for kernels, and only franco and trinity really offer that for me.
[Nexus 4 Original Android Development] Zoccat:
Benchmarking r61 vs r62

Ok, so here's AnTuTu 3.1.1 Benchmarking results franco Kernel r61 vs r62, under exactly same conditions:

- Stock ROM 4.2.1

- Governor Interactive with Franco recommended tunables (those preset in r62)

- I/O Scheduler cfq with Franco default settings

- UV voltages set like in screenshot 1 (-125 for 1512 MHz), I tested increasing and decreasing the voltages, both lowers the scores

- screen brightness set to minimum and screen to permanent on

- 2G/3G Data is on, everything else off

- Fsync on, Logging off in Franco app

AnTuTu Benchmark Scores:

- r61 = 17890, equal or slightly better than stock kernel

- r62 = 13626 (retestet 3x, other scores were 12770, 12834)

Going into the Score details, it shows that r62 is on par with r61 in Database IO, SD card Read/Write, and also 2D and 3D Graphics.

But r62 has only about half the r61 scores in RAM, integer and floating point, clearly showing 2 cores vs. 4 cores performance difference.

I agree with Franco decision to make 4 cores the default, and 2 cores or throttling optional. :good:
[Nexus 4 Original Android Development] AutruiP:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Hi,

I would like to know what are the main features and advantages of this kernel ? Thanks for your answer
[Nexus 4 Original Android Development] trident167:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I like your thinking Franco

Sent from my Nexus 4
[Nexus 4 Original Android Development] grubbster:
In a nutshell the goals of this kernel are increased battery life with decent performance. It is still a work in progress as the balance between the two is being worked out. Why don't you take some time and read through the thread and then flash it and help by giving some feedback?:good: I don't think you will be disappointed.
[Nexus 4 Original Android Development] cobyman7035:
on r62, uv - 75 each state, on standby i only lost 4% in 17.5hours, not bad?i think standby minimum drain loss is way better then r53, phone is like 11c COLD! but when i start to use LTE, the thing heats up to 40c :( , i think i have a dud n4 in the temperate scale
[Nexus 4 Original Android Development] airchie:
Was just having a thought about UV...

It seems sensible that some CPUs are able to go lower than others and thus franco, in order to do a default UV would have to err on the side of caution for the sake of stability. So he may only do a -50mv UV on each frequency when someone's individual CPU can go as low as -150mv per frequency.

So, this got me thinking on the best way to test stability on your UV attempts. On my old desktop overclocking days, I would set my voltage/frequency and then stress-test the config using something to load the CPU to 100%. However, our phones have multiple frequencies on multiple cores and thus this method would be impossible. Loading our phone's CPU to 100% would result in all 4 cores going to 1.5GHz and thus only the UV setting for that frequency would be tested.

Would it be possible to write an app/script to set the max frequency of each core for x minutes before then setting the max frequency to the next step up and so on? We could then run the app and stress the CPU to the max to test stability on specific voltages?

ie, set your UV options for each voltage and then set max CPU frequency to 384MHz. Then load the CPU to max which will test the stability of that voltage on that frequency. Then it'll allow the CPU to step up to 420MHz (or whatever the next step is) and stay on full load at that frequency for a while before stepping up again. Then repeat this on each step and assuming your phone doesn't melt/reboot etc, you can assume your UV settings are stable and then lower them and re-test or stop testing and just enjoy a nice stable phone.

Did I explain that well?
[Nexus 4 Original Android Development] calanizzle:
CPU Binning
[Nexus 4 Original Android Development] AutruiP:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Is battery life really improved ? How many minutes can we gain ?

At the second i get my N4, i will install it ;)
[Nexus 4 Original Android Development] richteralan:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

There is an app called StabilityTest which has CPU scaling test.
[Nexus 4 Original Android Development] gorgazm:
What about hotplugging and capping cores simultaneously? Would that be possible with what your proposing franco? For example dual core or quad core checkbox and a hotplugging checkbox.
[Nexus 4 Original Android Development] jpde:
That's really impossible to say as it depends on how the phone is being used it. With smartphones, there are so many ways to use it. Screen time is a decent metric because it's the one thing that has the biggest impact.. but then there's always the question how good your signal is, if you use wifi etc, syncing apps, games and so on.

All I know is:

I flashed r53 a few hours after I got my phone and haven't had any complaints concerning either battery life or performance. As soon as franco's kernel gets gamma management I'll buy his app for easier management and stuff :)
[Nexus 4 Original Android Development] tvdang7:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Thanks for posting this.helps me a lot
[Nexus 4 Original Android Development] svettipung:
Sv: [KERNEL][GPL][N4] franco.Kernel - r53

What is the " recommended" settings?

Skickat från min Nexus 4 via Tapatalk 2
[Nexus 4 Original Android Development] Kazliux:
Any suggestions?
[Nexus 4 Original Android Development] erikwervo:
this.. is THE recommended setting
[Nexus 4 Original Android Development] elcaro:
I think this is default in r62.
[Nexus 4 Original Android Development] revamper:
Yup. It is, I just checked.
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

The phone is NOT made for LTE! Every time I see your post I see you complaining about it when you're on LTE. Jeez. :)
[Nexus 4 Original Android Development] WastedJoker:
anyone?
[Nexus 4 Original Android Development] airchie:
Thanks for that, but it's not quite an exact science is it?

It splits CPUs into four groups, slow, nominal, fast and faster.

Not all 'fast' CPUs will have the same ability to UV, it's different on each and every CPU.

I'll take a look, do you know if it interfaces with the kernel to limit CPU frequencies to allow proper testing of each speed step? :)
[Nexus 4 Original Android Development] KingBeike:
Is the Notification Delay on cm 10.1 kernel related or rom related?

Got the problem a few days ago, but had no time to do a good research in the forum for a solution because of exams.

Whats app Messages have a huge delay, but when i activate the phone with touch control or buttons, then i get them directly.

Running r61 with latest Cm 10.1 nightly.

So do i have to switch ROM or wait for 4.2.2 which fix it with new kernel source?
[Nexus 4 Original Android Development] aMpeX:
when I used it, the CPU would just scale on its own, not on every step as it was supposed to.

Simply launch the Stability test app, start a regular stress test and limit the maximum CPU speed with franco's app.

Thats how i determined that my CPU undervolts all the way to -175 mV even though it is only a "fast" chip. I later raised the voltage for 384 Mhz by 25 mV because I had 2 cases where the phone would not wake up unless i pressed the powerbutton a few times.
[Nexus 4 Original Android Development] airchie:
Good thinking batman!

I'll give it a whirl later when I have some time... :)
[Nexus 4 Original Android Development] Hanny:
many people forget that a kernel loads ALL its default values on boot. yes, ALL. governor controls, colors, frequencies, voltages, whatever.

then, an app sets them, no matter its franco's updater, aokp's performance control, faux trinity trickster system tuner etc etc

therefore, when you uncheck the "set governor on boot" option, your values are gone after the next reboot

same as frequencies, voltages.... that franco (and other similar kernel tuning app devs) make a separate option for you to "set on boot" as those tunings might create ****.

the only thing you need to manually change / clear app data to return to default settings are those in "custom kernel settings" in franco's app. because you may forget the default choice for them once you modified it, but the default values of them are also easily found in the thread.

the clearing app data option is intended for users to reset every possible setting with 1-click easily, when **** happens between nightlies. on the other hand, for returning-to-default for small options, there are always easier methods instead of the need to set every single thing again ;)
[Nexus 4 Original Android Development] lightosx:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

osm0sis from the GNexus forum showed that this app was ineffective in testing UV. He recommended locking the frequency by setting min and max the same and running some intensive games instead.
[Nexus 4 Original Android Development] richteralan:
The app has its own interface to let you select frequency range you want to test it on. Hence that specific test needs ROOT.

You can also choose how long each frequency step you want to stress.
[Nexus 4 Original Android Development] SubyWill:
When is the next update? I'm looking forward to it.
[Nexus 4 Original Android Development] ilovesoad:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I'm gonna grab some popcorn.
[Nexus 4 Original Android Development] JNewms:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Never ask for ETA's man. I'm sure he will be doing something once his week with his girlfriend is Over.

Sent from my Nexus 4 using Xparent Skyblue Tapatalk 2

---------- Post added at 01:10 PM ---------- Previous post was at 12:47 PM ----------

Lol, that literally made me crack up, people in line with me must think I'm a loon.

Sent from my Nexus 4 using Xparent Skyblue Tapatalk 2
[Nexus 4 Original Android Development] Pulsu:
I was bored today.. So here's a little test. :)

r62 with out of the box settings except UV -50mV every step.. Using 3G all the time..

Mostly Browsing a web, Couple FB messages and a little bit of Youtube.
[Nexus 4 Original Android Development] EstarlinMReyes:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

These are my UV setup and my CPU binning is: Fast

Sent from my Nexus 4 using ParanoidAndroid + Franco Kernel
[Nexus 4 Original Android Development] abjexstallion:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I beg to differ. It's been tested in band IV Carriers that LTE does work on our phones. Here in the states isn't. I've seen it somewhere that Telus in Canada works on that band, and the guy in the video set the nexus 4 up for LTE, and it worked. Even a speed test on a video. I'll post a link about or just google it. You can set it up easily, but at least t-mobile is next on the states for band IV.

Sent from my Swaggin R60 MAKO!!!
[Nexus 4 Original Android Development] Rivermind:
Yes it "works" but the point is it was not designed/tested for LTE and some things don't really work well. As an example, WiFi hotspots don't work when the LTE radio is enabled.
[Nexus 4 Original Android Development] cobyman7035:
i think he means its not 'optimized' to run LTE fully, its partially unlocked to us cdns on the big 3 networks here, rogers,telus, bell or ROBELLUS

i think theres a mod on XDA on how to enable LTE tethering with the nexus 4

LTE usage really eats up the battery, even on franco kernels, makes my battery temps hit 40c easily in 30mins usage if not sooner, if i make a call, my ear on the screen littery can get burnt! i mean im exagerating a bit but it gets really hot to the touch on the screen
[Nexus 4 Original Android Development] scream4cheese:
I never said it doesn't work. What I meant was that the N4 was not made for LTE Lol

I have seen those videos and read about it when LTE was discovered months ago. .
[Nexus 4 Original Android Development] revamper:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

msm hsic host wakelock on r62

:what:
[Nexus 4 Original Android Development] Testraindrop:
So?

Whats new about that?
[Nexus 4 Original Android Development] elliot.newnham:
not even 2 hours over 20 hours of use? I'd say that's okay. You use your data, you have to turn it on right?

I am under the impression that it's basically stock in terms of hsic
[Nexus 4 Original Android Development] siscim23:
5% is pretty damn good, considering the Qualcomm fixes are not in r62.
[Nexus 4 Original Android Development] franciscofranco:
https://plus.google.com/113702637309752822154/posts/giNhQrAGriL
[Nexus 4 Original Android Development] kCelsius:
So I've been reading around a bit - as I'll be receiving my N4 tomorrow (switching from GN)...I was reading that r62 is dual core only. Is there any way to tell which of test .zips r54-r62 are dual and which are quad core?
[Nexus 4 Original Android Development] drawde40599:
62 is only duel version
[Nexus 4 Original Android Development] starscream92:
In addition to the comment above mine, R61 is quad-core and has auto_hotplug turned off. So your cores will all be running and clocked at 384 MHz when the screen is on (even when idle).

But it'll be back to only one core running when the screen is off.

I know it's probably the same amount of battery saving goodness, but the problem for me is heat. Having more than one core online greatly increases heat dissipation. I don't like it :( still a good kernel though. Best battery life out of my Nexus 4 :good:
[Nexus 4 Original Android Development] republicano:
were you on wifi with whatsup?

there is a bug with wifi sleeping when display if off, so you get delay with messages

4.2.2 fixes that apparently

gc.codehum.com/p/android/issues/detail?id=40065

things-linux.blogspot.co.nz/2013/02/what-is-evil.html

www.androidauthority.com/android-4-...-stop-android-5-0-key-lime-pie-launch-153819/
[Nexus 4 Original Android Development] vivanshah:
another really good test for UV is to take a lot of pictures. I would get artifacts in my images (looked like little neon crosshairs) when I undervolted too far.
[Nexus 4 Original Android Development] KingBeike:
AW: [KERNEL][GPL][N4] franco.Kernel - r53

Yes i was on wifi. So while using 2G oder 3G i wont have that Problem ? Will test tomorrow, thanks!

Gesendet von meinem Nexus 4