yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Tusnal:
request

Sound / recording tweaks - improvements
[Nexus 4 Original Android Development] cobyman7035:
can someone post their custom settings in franco,kernel.updater app please?

if i change the settings, i don't need to use setCPU right? should i uninstall setCPU or keep it if im using the franco updater settings?

i don't want to conflict the two apps and slow down the n4
[Nexus 4 Original Android Development] cocchiararo:
it will be a tremendous surprise if disabling hotpluging does not kill the battery in the no so short run :P
[Nexus 4 Original Android Development] meanwhile:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Right..

Second day on stock kernel.

So far no data drops. No strange and unexplained gtalk switch offs which were commonly when on Franco kernel. Battery wisey, yeah massive drop, from my usually achieving 5hrs on screen, drop to 3,5hrs.

Though have to say idea of switching screen on and find gtalk and notifications not working against everything working kinda beats screen on time. and frustration to switch to/off airplane mode.

Great work Franco, but I think until stable mode released ill stick with stock.

Granted I bought the app in galaxy nexus days and was keen and avid promoter of your work through my circles.

Keep those kernels coming mate!

Sent from microwave
[Nexus 4 Original Android Development] cobyman7035:
anyone able to get a higher score using geekbench 2? i set max cpu 1500mhz and min 1500mhz, got 2240 score, i don' think i've hit over 2300 yet
[Nexus 4 Original Android Development] JNewms:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Dude, benchmarks seriously mean nothing.

Sent from my Nexus 4 using Xparent Skyblue Tapatalk 2
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Edit: Removed
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Kernel r53 does not "bump cores" on swipe. Only on touch is the clock raised... Cores are not turned on as a direct result of a user interaction tweak.

sent from my r53-Franco nexus 4
[Nexus 4 Original Android Development] crossrt:
Thanks Franco, I'm using your r53. Give you a big thanks!

It is works very well with everything! But except the mic, it seem like got little undertone.

I have this issue after flash r53, is it kernel problem?
[Nexus 4 Original Android Development] meangreenie:
To get good battery life and have message apps work properly again find a kernel made before wakelock fixes.

When putting phone down for a period of time open recent apps and swipe them all away, that seems to stop wakelocks on those kernels.

AFAIK all the kernels with the wake lock fixes break message apps, though I haven't tried them all.
[Nexus 4 Original Android Development] valkyrjur:
Hello, I have installed the aosp build posted in the first page with gapps and the keyboard is normal, not swype at all. ¿Anyone else have this issue?
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Franco outlined how to check if something is a kernel issue. Flash the ROM in the OP (that's the first post in the thread) and then flash his kernel. Of the problem still occurs then it is kernel. If not then it your own weird issue. Gluck

sent from my r53-Franco nexus 4

---------- Post added at 07:27 PM ---------- Previous post was at 07:23 PM ----------

I am assuming the keyboard swipe built into 4.2.1 did not make it into AOSP.

sent from my r53-Franco nexus 4
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Franco... There is no way you use your device on full backlight all the time... at night it hurts my eyes :(

sent from my r53-Franco nexus 4
[Nexus 4 Original Android Development] nokkenas:
Such as? r22 and earlier?
[Nexus 4 Original Android Development] meangreenie:
you have to look at the changelogs...off the top of my head matrix3.5 works well... any of them before hsic patches (whatever they are called) are introduced.
[Nexus 4 Original Android Development] eagleeyetom:
Thread cleaned up a bit.
[Nexus 4 Original Android Development] franciscofranco:
Yeah, I've come to realize that as well :laugh:
[Nexus 4 Original Android Development] persheshhater:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Better than this? R53
[Nexus 4 Original Android Development] ben_pyett:
100% brightness - I live in the country so at night on the way home from the pub I strap my phone to the front of the mountain bike - best to be safe!:p
[Nexus 4 Original Android Development] i860:
Very happy with the battery under r53, thank you Franco!
[Nexus 4 Original Android Development] schizophrenia:
i am just curious

your eWeather HD drained that much battery?

you have 3 hours screen on time but yet it accounts for only 19% of the 50% of battery?

and yet your weather HD is 55% of the 50% of the battery.

So without the weather HD app, your battery can last really a lot longer eh?
[Nexus 4 Original Android Development] desiromeo719:
I flashed r46 after updating my rom and feel like it does a better job of keeping up with my usage and has less micro stutters etc. For now im gonna try this out and might even regress further to maybe r33(which i feel was the best balance of battery/performance/stability) after a couple days. I feel since then the kernel has strayed too far away from stock feel and might not have been much beneficial or worth the extra couple of mins of screen on time...I've never gotten more then 4 hours with my usage anyway. Just putting in my 2 cents.
[Nexus 4 Original Android Development] alcurtis93:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Get a flashlight app and use the flash as a torch ha!
[Nexus 4 Original Android Development] :
What happened with the app?

"Online all core threshold" Wasn't that the function you said was in very early testing on your own phone franco? Is it supposed to be available in your app yet?

Also: The value you can enter there: What kind of value is it? Isn't frequency from what I can tell.
[Nexus 4 Original Android Development] kypeth:
Short inquiry. Stock ROM with franco r53. The only available governor I have to choose from is interactive, no ondemand or anything else available.

Any idea as to cause of this and solution?
[Nexus 4 Original Android Development] mitchdickson:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Le sigh.
[Nexus 4 Original Android Development] androidfoshizzle:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

So this is the best kernel for stock rooted ?

"Vanilla android >jail broken iOS>90" TV's"
[Nexus 4 Original Android Development] franciscofranco:
I never said such thing. I just said Im testing a kernel without hotplug during screen on. Im testing it with undervolting to see if thats a good combo. I might drop a test kernel later today as a test version.

The value doesnt mean anything specific, its just a value to compare with the current average load at some certain point in time.
[Nexus 4 Original Android Development] zephiK:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

No such thing as a best kernel. That's like me asking, what is the best car?
[Nexus 4 Original Android Development] drawde40599:
It depends on what u like , all kernels out there have there benefits over the other, personally I like this one. But its a preference they all work great , if ur new to flahing kernels ID recommend running each dev's kernels for few DAYS At a time with there STOCK settings and make your choice that way , then start tweaking to your liking and make final choice . this is what I do
[Nexus 4 Original Android Development] franciscofranco:
Exactly!:cyclops:
[Nexus 4 Original Android Development] :
Ah, misunderstanding. Thanks for enlightening me.
[Nexus 4 Original Android Development] persheshhater:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Yeah had gps on and its refresh rate every one hour. Will be fine next time i fully charge the phone.
[Nexus 4 Original Android Development] NoLunchBox_:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Kernel is running pretty good. Pretty smooth and good battery. Only problem (not really a problem) is that it lags while typing.

Any ideas? Running PA Jan 24 build and using your kernel defaults and kernel app.

Thanks
[Nexus 4 Original Android Development] kypeth:
you will notice I post as least often as possible regarding my problems so as not to clog the thread with unnecessary issues or responses. trying my hardest to only speak of critical issues, your pointless response becomes something beyond wasteful, it becomes near spam with the uselessness of it's goal.

that being said

I sarcastically say good job on your assistance, I can see you must be well versed in clarity. I am quite experienced with all aspects of this device and many others, I was just making an inquiry as to what the issue may be. It wasn't resolved with cache/dalvik wipe, nor did your sigh assist me in this instance. and drop the le, this isn't reddit.
[Nexus 4 Original Android Development] stormtroopercs:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Interactive is and will always be the only governor in Franco's kernel.

Edit: I was wrong :p oops!
[Nexus 4 Original Android Development] franciscofranco:
Nope :) I removed ondemand and performance for my local testing and I stupidly forgot to re-enable them :(
[Nexus 4 Original Android Development] visceralpsyche:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Franco,

In regard to offlining cores and how it's computationally expensive, on my old Galaxy Nexus I used to use the GLaDOS kernel which used the Wheatley governor. It was great because it kept all the cores online at maximum frequency, but would put them into the C4 sleep state when not under load. This was apparently very quick to change states and provided excellent battery life with zero lag, because the cores could ramp up almost instantly (it was a function of the processor I believe).

Perhaps using the S4's sleep states in a similar fashion might be a way to get fast ramp up along with good battery life?

Disclaimer: I'm not an expert on these things at all, so I'm not sure if this is even possible. Just putting it out there in case it sparks something :)

Thanks for your tireless efforts!
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Very interesting.... interesting indeed...

sent from my r53-Franco nexus 4
[Nexus 4 Original Android Development] franciscofranco:
True story. Difference is that TI provided a very good implementation for Power States. Unfortunately Qualcomm didn't do that for this chip - there are SO MANY constrains for changing power states here. For example when a core is online it can only be Clock Gated. I tried to enable Power Retention on all cores yesterday - resulted in a instant crash because only cpu0 can enter Power Retention when all other cores are offline. Then again when the device is suspended only cpu0 can enter the lowest state called Power Collapse Standalone, while other cores only do Power Collapse. Great hum?
[Nexus 4 Original Android Development] republicano:
touch control 1.3 works with this kernel,

only tried two functions

backup beforehand,

swipe to wake and taping on the screen after standby will wake the display.

power button can rest now
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Franco... Where is that power state documentation found for our Qualcomm chip? I was cruising Qualcomm's website and couldn't find any technical info...

sent from my r53-Franco nexus 4
[Nexus 4 Original Android Development] danillll:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Francisco, So you guys are reimplementing the whole power States algorithm for our chipset from scratch? Is it worth the effort?

I have been watching people commenting with and against r53, lag vs smooth, battery vs performance. The more I learn about the kernel mechanism and the variables/ constraints you are playing with the less optimistic I get to see a kernel that can satisfy both teams (performance vs battery), can't see the magical recipe, unless you move away from hotplug into another algorithm as you are currently trying with power states, or you find a major solution.

I've been running r53 since it was published, battery is awesome! performance wise, yes it lags! I just updated my cm ROM, using their kernel, I feel the performance boost, but battery sucks! I think they turn 2 cores online every time you touch the screen, which reduces threads from been delayed/ waiting on CPU.

My question, with all your other customization, if you bring up 2 cores on swipe, would the battery cost be the same as in CM.

Looking forward for your next build!

Thanks again!
[Nexus 4 Original Android Development] strikelight:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

For those still complaining about lag while using stock settings, do us all a favour, and switch your scheduler from row to deadline as was mentioned many times, many pages ago.

Why is it that everything has to be repeated every few pages? Just wondering, sincerely.
[Nexus 4 Original Android Development] benrees21:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

There is nothing wrong with ROW. Why would it cause lag?

Sent from my Nexus 4
[Nexus 4 Original Android Development] bleuf1sh:
according to this release: http://www.anandtech.com/show/6095/qualcomm-shows-off-apq8064-quadcore-krait-and-adreno-320

not sure if it will help battery life but we should be able to clock the first core all the way to 1.7GHz while the others are off.... only when all four are on are we limited to 1.5GHz...

also... if someone can somehow get this apk.... i think it may be useful for us.....

https://developer.qualcomm.com/mobile-development/development-devices/trepn-profiler

also, franco... where can I find the power state documentation? -thanks
[Nexus 4 Original Android Development] strikelight:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

If you search, you will find Franco's reasoning for us to switch to deadline.

Apparently, there are still issues with row from Qualcomms end I believe it was stated.
[Nexus 4 Original Android Development] franciscofranco:
I didn't search for documentation, I just spent a whole day reading drivers and debugging with kernel log and ftrace.

Not re-implementing, but rather trying to understand which states we can use, when we can use them and if that is viable vs hotplugging. Well its a truth and known fact that for better battery life some performance needs to go. We just have to find a good balance - thats what - afterall - XDA is all about.

r60-test is out in the test folder. Have a play. Major differences is that it has undervolting interface and cores are always online on screen on. I also enabled memory chip power management so it achieves some different power states depending if its idling or suspending, that seems to help a little bit. Have fun.
[Nexus 4 Original Android Development] AshtonTS:
Does deadline use more battery?
[Nexus 4 Original Android Development] franciscofranco:
IO scheduler just organizes IO requests, merge them, etc etc, not sure how it could ever possibly mess with the battery life.
[Nexus 4 Original Android Development] flxdms:
Does that mean the CPU will stay at 702 most of the time while browsing? When should it hit 1026?

edit: Oh, I see it hits several frequencies. Not just one.

editedit: I've found Temple Run 2 to stutter a little bit more than on the previous build. I'm still tweaking things, though. This is just my initial impression.
[Nexus 4 Original Android Development] drawde40599:
I went back to deadline days ago then switched back to row last night for testing , and forgot I did , the performance hit was very very noticeable , and couldn't figure out y , till I remembered .... Row slows this kernel down pretty bad , least on my phone
[Nexus 4 Original Android Development] ansysic:
r60:

Is it possible or a good idea to only touch boost one core and then raise hispeed_freq back to 1026? I think Android benefits from frequency instead of muli cores.

All in all I like the idea of disabling hotpluggin. Let's see how this impacts battery life on browsing or watching videos, where most of the time one or two cores are online.
[Nexus 4 Original Android Development] immunityx:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

The performance and smoothness has returned in r60 thank you:thumbup:

And finally undervolting
[Nexus 4 Original Android Development] ben_pyett:
why the switch to cfq on latest test 60, after the evidence that deadline appeared better than row?
[Nexus 4 Original Android Development] franciscofranco:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Testing something.
[Nexus 4 Original Android Development] ben_pyett:
you're the boss....:good::confused:
[Nexus 4 Original Android Development] Vangelis13:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Was there ever any doubt..? :p
[Nexus 4 Original Android Development] pedxing:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I'm hesitant to even post this given how people seem to freak out when someone talks about greater than four hours screen on time. It's not bs or a crippled smartphone... I have auto brightness on and three emails syncing. Google now and plus are on, latitude tracking is off. This is certainly light use...50/50 between book reading and web browsing. And yet I think the stats speak for themselves.

A day and a half off charger with over Nine hours screen on time. This is a first for me on any device. The one possibly weird part of my setup is I use 100% VoIP using Google voice and a sip client. So airplane mode is on usually along with WiFi. I find the sip client usage typically equals the phone radio battery drain or is a tad better.

Anyway, regardless if you say pffft airplane mode, its a valid use case that allows calls and texts like normal.

Great job Franco!!!!!

Oh this is r53 and official AOKP build 2.
[Nexus 4 Original Android Development] :
Damn. And I was so proud of my 7 1/2 hours :D (mine's without flightmode though).

But yeah. One more reason to hate the fact that there is no google voice in europe yet -.-
[Nexus 4 Original Android Development] mymonkeyballs:
Thank you for your continued hard work Franco, i'm sure everyone appreciates it!

Did you change the voltage values at all or are those the stock ones? Thanks r60 is great so far!
[Nexus 4 Original Android Development] special.k:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

R60 feels the smoothest thus far, even compared to R53 which was exceptional. Great work!
[Nexus 4 Original Android Development] tazer808:
latest nightly r60:

all 4 cores on for me.

Smoother but ? on how this'll affect battery consumption.

Pic: Perfmon running 5 min after start up.....
[Nexus 4 Original Android Development] icepuente:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Minimally if none at all. He implemented power states which is a much more efficient method than expensive hotplugging is
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Really?... because there isn't anything like that on github.......

All he did was remove hot plugging on "screen on".....

sent from my r53-Franco nexus 4
[Nexus 4 Original Android Development] icepuente:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Check out msm-pm.
[Nexus 4 Original Android Development] kypeth:
thanks for a more informative reply, but aside from Franco correcting you on the post beneath yours, I must stipulate I only asked because at one point in time on past versions, I know that ondemand was present, if not performance as well.
[Nexus 4 Original Android Development] bleuf1sh:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I see there that he cut down to about half the number of possible states....

sent from my r53-Franco nexus 4
[Nexus 4 Original Android Development] :
AW: [KERNEL][GPL][N4] franco.Kernel - r53

r60 is incredibly fast. I'll test battery and report back. (175uv on every step) Thanks franco :)
[Nexus 4 Original Android Development] mycomputerisjunk:
I'm running AOKP and nova launcher, when I flash franco, the nova launcher settings no longer open after the flash. The default kernel works fine. Anyone else see this?
[Nexus 4 Original Android Development] immunityx:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

What CPU binned? faster?
[Nexus 4 Original Android Development] flxdms:
I'm scared of going under -50 and I'm fast binned. I don't really know my limits.
[Nexus 4 Original Android Development] Arstoien:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Nova Settings work fine here (stock ROM).

I definitely see performance improvement. It's very noticeable on scrolling through widgets, Chrome pages, XDA app…

Sent from my Nexus 4
[Nexus 4 Original Android Development] drawde40599:
Deleted

---------- Post added at 04:04 PM ---------- Previous post was at 04:02 PM ----------

Just a question !!! how will u no if UV actually dose anything for u if u haven't tested stock first ?
[Nexus 4 Original Android Development] Bluewall:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

It's called physics. Using less voltage for the same frequency drain less battery :p

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Original Android Development] drawde40599:
Guess I'm just one of the few that likes to have a " control" before I go screwing with **** ;) but thanks for the schooling :P :) ;)
[Nexus 4 Original Android Development] sucre213:
I noticed that four cores are at 702 MHZ even when playing large games

Already UV 125mv . Stable for now.

And I have a question here, 2 cores with 1512 vs 4 cores with 1026

which one saves more battery?
[Nexus 4 Original Android Development] Arstoien:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Though scrolling is smoother in many places, it seems a bit less snappy and lagier. I get lag some times on opening apps, sometimes if I press the back button rapidly several times, some times with the recent apps button, and a couple of times on opening the notification tray.

I'm not completely sure about this, since I don't play games very often, but on GTA VC I got some fps drops on about middle graphics.

That's all on stock settings.

Edit: When I said "fps drops“ I actually meant steadily lower fps.

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

The system ui feels very smooth but games such as subway surfers and temple run seem to have a lower frame rate
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

UV? What?!
[Nexus 4 Original Android Development] mymonkeyballs:
Yup in r60 its in the test folder :)
[Nexus 4 Original Android Development] drawde40599:
I think I had a bad flash of 60 , reflashed 60 with ROM now things feel like Franco kernel :) !!
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Oh snap. I spoke too soon. Lol.
[Nexus 4 Original Android Development] Vanhoud:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

I'm a little hesitant to mess with undervolting past -100mv because the last time I did it my phone shut off and my sim card completely stop working and I had to get a new one lol
[Nexus 4 Original Android Development] stormtroopercs:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Is there something special when applying the UV for 384? Whatever I set it at it doesn't apply. The other frequencies apply when I UV.
[Nexus 4 Original Android Development] zephiK:
don't set voltages on boot unless you know that those undervolt numbers you inputted are safe.

edit: games such as temple run 2 (as someone pointed out earlier) is laggy at certain places during the game. the android os (outside of games) feels very smooth though.
[Nexus 4 Original Android Development] sucre213:
Re: [KERNEL][GPL][N4] franco.Kernel - r53

Every time I use a kernel with uv enabled this wakelock appears It is odd ....
[Nexus 4 Original Android Development] flxdms:
Works fine here.