yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] yokuyuki:
Well, it's probably the only place where Franco can make a significant impact on battery life and smoothness from the kernel side.

What's the effect of having 4 cores online for lighter loads on battery?
[Nexus 4 Original Android Development] ManOnTheMoon:
Update failed.
[Nexus 4 Original Android Development] LibiSC:
You are probably right... But I'm happy with almost every version of the mako hotplug... I want entertainment... I want flashy stuff... :cool:
[Nexus 4 Original Android Development] Luigiesin:
Yes... Deadline is working a bit smoother for me too in this last 999

Sent from my Rock & Roll Nexus 4 \m/

ROM: PA 3.60

Kernel: Franco r146-Linaro

T-Mobile
[Nexus 4 Original Android Development] Hanny:
Nope, you won't have 4 cores online for lighter loads. (Franco taught me the following)

every 0.1 second it polls for load. if the load is higher than the "threshold" (configurable via first_level), it scores 1 point. if the load is lower than the "threshold", it takes away 1 point. On the scoreboard, if the points reach 10 --> 4 cores -> polls every 0.25 second from now on. Whenever the points on the scoreboard drops below 10 --> 1 core operation --> polling (frequency of calculating scores) back to 0.1 second.

So basically the hotplug driver has either 1 core or 4 cores. and 2 cores were done by touch boosts.

I said "lighter games" will have 4 cores too because the load is not calculated by all cores (like if u have 100% load on cpu0 and 10% load on cpu1 during 2 cores online then it balances out something like that). Instead the new driver only takes the load from cpu0 (most games, esp light ones focus on stressing cpu0) so there will be a higher chance to reach 10 points on the scoreboard --> 4 cores --> points dont drop becuz of constant gaming --> constant 4 cores ->> ultimate fps while gaming

our theory is that whenever u game, u dont care about battery and so the kernel gives best fps. out of gaming? the prevention of unnecessary cores jumping will save more juice!

also for anyone worrying about the scoreboard having too many points, the maximum points for the cpus to score is 50 :D

Omg I've exposed top secret! dont shoot me franco!
[Nexus 4 Original Android Development] sam razzy:
I have no lag and no data/WiFi issues.. Awesome work Franco.. You are a beast to beat all the lags and stuttering.. :P But only sad is that I dunno how to use other settings such as hot plug control, voltage and governor control.. Lol I keep everything as it is.. :D
[Nexus 4 Original Android Development] blueren:
I know this is off topic here but just wanted to know out of curiosity. Battery junkies - please respond :) - Does snap dragon's battery guru app have any added improvements over the already battery friendly kernel?
[Nexus 4 Original Android Development] scream4cheese:
Simply no. Useless app IMO. No need for it. You don't need an app to save power. Manage your phone yourself and it will be fine.
[Nexus 4 Original Android Development] ThatsMajor:
Whats the difference between:

franco.Kernel-Milestone.1.zip

franco.Kernel-Milestone.2.zip

?
[Nexus 4 Original Android Development] ÜBER™:
Ones newer than the other. Can you guess which one? :D
[Nexus 4 Original Android Development] blueren:
True that, I've only been using greenify to subdue viber and maps. Was simply curious.
[Nexus 4 Original Android Development] espionage724:
http://minooch.com/franciscofranco/Nexus4/4.2.2/appfiles/milestone-changelog
[Nexus 4 Original Android Development] franciscofranco:
Spot on ;)

I will post the code tomorrow.
[Nexus 4 Original Android Development] yokuyuki:
Interesting. It seems it undoes all what we were going for in the crowdsourced version of the hotplug by making a linear onlining and offlining of cores to handle load.

The issue in the last iteration of the hotplug before we crowdsourced it was that it would constantly jump between onlining cores and quickly offlining them because when we were over the threshold on 1 core and onlined more cores, we'd drop below the threshold and drop back down to 1 core, but the load shoots up again because it's no longer distributed causing the cycle of constantly onlining and offlining. It seems like this version of the hotplug would do that even more so now that there is only two states for the cores: 1 core and 4 cores.

But who knows? It may be better. The scoring system seems to be a smoothing system for spiky loads to prevent onlining of cores too early when it's only a transient high load instead of a consistent high load.
[Nexus 4 Original Android Development] noonecanhide:
I read the last 20 pages and found nothing about the following issue: couldn't update from r146 to r148 with fku yesterday. Everytime md5sum mismatch, tried it on wifi and 3g. Two hours ago the same problem. But flashing the Kernel after downloading it using the browser works on the first try. Fku app derping? :D
[Nexus 4 Original Android Development] zephiK:
updated just fine earlier today without any problems..
[Nexus 4 Original Android Development] drawde40599:
I always try stock settings for few hours for comparison but ive been switching back to deadline since noop was introduced, i fine it alot snappier
[Nexus 4 Original Android Development] republitarian:
So I am running the boot.img kernel and now games have completely lagged out and cores are not going online in the game. Surprisingly, when I on the home screen or non intensive app, phone and cores are extremely responsive. Running 10/15/30/60 load thresholds. Pics to follow. The lag is so bad in tr2 I can't even play. Going to revert back to 148, was running smooth with those settings.
[Nexus 4 Original Android Development] Cuzz1369:
Did you remember to clear the app data?

Carbonized N4
[Nexus 4 Original Android Development] republitarian:
And back to normal on 148. Something is funky on r999
[Nexus 4 Original Android Development] drawde40599:
Actually i just reinstall that game and with defults the game is very laggy, ur right u cant even play it right
[Nexus 4 Original Android Development] Redneck Trash:
Seems like a low high load threshold on latest boot.img.
[Nexus 4 Original Android Development] SacredAce:
I'm also not on Orange, but Telenor (Serbia). Had some signal issues yesterday (148), pretty sure its not network related.
[Nexus 4 Original Android Development] pikachukaki:
No prob with the 2 games i have only
[Nexus 4 Original Android Development] Bobtehblob:
What's the first game with the focus called?
[Nexus 4 Original Android Development] republitarian:
Of course ;)
[Nexus 4 Original Android Development] rwaempires:
Drag Racing ?
[Nexus 4 Original Android Development] cesabas:
i've the same problem
[Nexus 4 Original Android Development] bruc3lee:
Keep getting md5 mismatch errors on latest nightly when choosing auto flash both on wifi and 3g. But if I choose download is fine?

Think it ok to flash? I assume it still checks the md5 when you download it instead of auto flash?
[Nexus 4 Original Android Development] admiez:
I don't know what everyone else is doing but I'm not experiencing a great fluid UI with the test kernel (stock rom).

- There is no lag.

- Scrolling on lists is not as smooth. Gmail, Play store list of installed apps are usually very good.

- Scrolling on lists that are notoriously bad, like Tapatalk, is choppier than on past kernels.

- Some animations show 'hiccups' (pauses in the middle at times). Opening an app, restoring focus to an app . Fade-only animations are fine.

- Have experienced a delayed display of the swipe trail when starting to swipe on the keyboard. Fine thereafter.

- Some lack of fluidity overall.

I'm not complaining, just giving feedback. I haven't tried modifying the hot plug settings yet, as per miasmic informational post. I don't usually play games, thus overall UI performance is more relevant to me.
[Nexus 4 Original Android Development] pikachukaki:
CSR racing
[Nexus 4 Original Android Development] zellleonhart:
I find myself keep coming back to r142 for smoothness, maybe placebo effect?

Beamed from my Paranoid HALO r148 Nexus⁴
[Nexus 4 Original Android Development] gharrrrrr:
So far test img seems smooth. Animations are quick and not noticing lag in multitasking or scrolling. I did change scheduler to row (personal preference), UV by a wee bit, and set custom gov controls. Liking how it feels.

Sent from my Nexus 4 using a flounder.
[Nexus 4 Original Android Development] kerngehirn:
Clear app data (all your settings will be lost) or update to ver. 9.5.3.

sent from my nexus4 with PA, not speaking English natively. so you're welcome to correct me anytime.
[Nexus 4 Original Android Development] Janne79:
Sorry for OT but what's the second one?
[Nexus 4 Original Android Development] lolbazor:
Vector, I think.

https://play.google.com/store/apps/details?id=com.nekki.vector

Sent from my Nexus 4
[Nexus 4 Original Android Development] admiez:
Update to my previous post: http://xdaforums.com/showthread.php?p=42225425

It seems that something's wrong with mine. Only one core is online most times even when doing continuous scrolling. And when I do see other cores come on, due to disk or network I/O, I see all 3 get online together and back offline right after.
[Nexus 4 Original Android Development] ricey1986:
All seems good here, only change is UV -100
[Nexus 4 Original Android Development] lordvj:
what's that app for real time cpu core monitoring?
[Nexus 4 Original Android Development] darwinwin:
hey there

sorry for not being able to read 3000+ pages

so i just bought a n4 and its still stock locked unrooted ( for now :P) , im facing 2 problems, wifi disconnecting while asleep when connected to wpa2, and random S.O.D happening while the phone is just sitting there ( not when plugged to a charger, not overheating, not doing anything important...) the phone just shuts itself

will this kernel fix them both?

thanks
[Nexus 4 Original Android Development] thenameistoms:
Tried to flash the latest kernel in CWM recovery. It got aborted saying that the zip file couldn't be opened.
[Nexus 4 Original Android Development] alanwyl:
No for the WIFI part, it is the same as stock in this kernel.

I haven't encounter the SOD issue so far. I had the phone in stock for 1 month, and 5 months now with franco

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

System Monitor
[Nexus 4 Original Android Development] TheDarkDefender:
Wow. All these on stock and locked? Looks like someone sold you a "test phone". Go get that guy! :)

Sent from my Nexus⁴

---------- Post added at 01:56 AM ---------- Previous post was at 01:54 AM ----------

Probably a bad download. Redownload and re flash.

Sent from my Nexus⁴
[Nexus 4 Original Android Development] darwinwin:
man i live in the most corrupt country in the world...the government just stopped the guys who imported unlocked devices and this is what you can get for double the price/ without a warranty for now
[Nexus 4 Original Android Development] TheDarkDefender:
Ah damn. Bad. I think you should do something about this. Such behaviour of the phone isn't normal.
[Nexus 4 Original Android Development] gambe89:
You should try system monitor by cgollner https://play.google.com/store/apps/details?id=com.cgollner.systemmonitor

Definitely worth it. A free lite version is available too ;)

---------- Post added at 11:22 AM ---------- Previous post was at 11:20 AM ----------

Do you live in Italy?! :P

(Just kiddin', I'm italian ;) )
[Nexus 4 Original Android Development] Taxiback:
Flashed r148 and I'm getting weird connection issues on Vodafone UK. Just tried to phone someone and it says "To place a call, first turn off aeroplane mode" I don't even have aeroplane mode on! I have the empty signal box where you would normally have bars.

Anyone else experienced this?

Just re-booted the phone and it works now, very strange.
[Nexus 4 Original Android Development] italia0101:
I was having that issue as well, my signal would die at certain times....

Not having the issue on 999 though
[Nexus 4 Original Android Development] Taxiback:
Where is 999? I have 666 on my phone as a backup and that's always worked well.
[Nexus 4 Original Android Development] italia0101:
Page 3484
[Nexus 4 Original Android Development] gambe89:
Delivered http://xdaforums.com/showpost.php?p=42218879&postcount=34839
[Nexus 4 Original Android Development] nachordez:
For me is the opposite way. I was fine in 148, but loosing completely my signal from time to time in 999, been at home with nice signal (my mother's phone, in the same carrier, had no signal drops).

I don't mean grey bars, I mean no signal at all...

Some of the changes in 3g in 148, perhaps? Even if I started with that now in 999, that probably has not changed that.

After rebooting, it seems not happening now, but let's see how it evolves.

Nexus 4, stock ROM, last Franco.kernel nightly, V4A sound
[Nexus 4 Original Android Development] Janne79:
I had the same problem with TWRP. Unchecking "zip file signature verification" helped. Don't know if CWM has this option too.
[Nexus 4 Original Android Development] Taxiback:
Now that's what I call service. ;)

You can see why I'm not a beta tester. Why are the images in my kernel backup folder 22MB and this 999 image only 5.5MB?
[Nexus 4 Original Android Development] manulemaboul:
Testing the boot.img, directly saw the difference once I launched tapatalk 4, good game Mr Franco :thumbup:

Envoyé depuis mon Nexus 4
[Nexus 4 Original Android Development] z3r0_x:
Wow the new r999 makes a huuuuge difference, haven't had that smooth experience since a long time!
[Nexus 4 Original Android Development] Arstoien:
The 999's hotplugging logic is actually very clever. I would only worry that scrolling might be choppy since it drops to 1 core quickly but I haven't experienced that so Franco must have done something to prevent it.

I'd love to see the max possible points user-controllable, thought, but I'd imagine that's coming. Great work!

PS: Also would be nice to be able to control how long should the phone stay on 2 cores after the screen interaction.

Sent from my Nexus 4
[Nexus 4 Original Android Development] gambe89:
I suppose it backups the entire boot partition which is 22MB. But i could be wrong.
[Nexus 4 Original Android Development] italia0101:
I'm also having that temple run problem ...I watched the cores and it goes from 4 to 1 every few seconds
[Nexus 4 Original Android Development] manulemaboul:
Yeah, I confirm, issue is with light games. In benji bananas, a 2d game, it goes down to 384 on one core, then online when I touch the screen, then single 384 again, making the game fluid- stuttery fluid...

Envoyé depuis mon Nexus 4
[Nexus 4 Original Android Development] Firekostas:
Just flashed 999.definitely cooler and snappier.battery consumption feels pretty good too! Good job as always Franco!:thumbup:

Sent from my shaked and baked Nexus 4
[Nexus 4 Original Android Development] Net.silb:
I'm on the latest r999 and I am very impressed, very smooth and responsive! Thanks [MENTION=3292224]franciscofranco[/MENTION]!!! :)

The way I see it and according to [MENTION=3614073]Miasmic[/MENTION]'s explanation, on touch cpu0 frequency is bumped to input_boost_freq and cpu1 is onlined. Two seconds after the last touch was recorded, the frequency ramps back down and cpu1 is offlined. If there is a load above High load threshold, using [MENTION=3614073]Miasmic[/MENTION]'s explanation of how the load is calculated, all four cores will be onlined (high performance mode).

Can't wait to see the new code for this!
[Nexus 4 Original Android Development] copi:
feedback : flashed 999, having stuttery in subway surfer game.
[Nexus 4 Original Android Development] Net.silb:
I see that too. In lets call them medium performance games, they don't seem to be generating enough load so 4 cores aren't always online, it keeps going back and forth...

But maybe those games don't actually need 4 cores but only 2 cores?

Maybe there should also be a "medium performance mode" (2 cores) where the load is medium but not higher than High load threshold so only cpu0 and cpu1 need to be online? This can be implemented the same way the "high performance mode" (4 cores) was implemented in the latest r999.

[MENTION=3292224]franciscofranco[/MENTION] What do you think?
[Nexus 4 Original Android Development] Arstoien:
I agree that we need a way to keep 2 cores on depending on load, not only touch.

Sent from my Nexus 4
[Nexus 4 Original Android Development] alen1901:
Cant you tweak that with trickster app? Min and max number of online cores.

Sent from Sparkling Nexus 4
[Nexus 4 Original Android Development] Net.silb:
Probably not and that's not what he meant...

Him and I think its best to do the following:

Note: The touch event based hotplugging and frequency boosting work great, we are talking about the regular hotplugging.

If ( Load > High load threshold ) {

4 cores online (); // high performance mode

}

Else {

If ( Load > Medium load threshold ) {

2 cores online (); // medium performance mode

}

Else {

1 core online (); // low performance mode

}

}
[Nexus 4 Original Android Development] Arstoien:
Maybe we could have the 2-cores mode triggering using the old method based on load, and the 4-cores mode based on the points miasmic described.

I've actually been thinking just how beneficial is it to go down to 1 core compared to having 2 cores on all the time.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Net.silb:
I have also thought about keeping 2 cores online all the time, but the problem is that sometimes you don't need anything more than 1 core at 384 MHz, which means that if you had two cores at 384 MHz you would be wasting twice the amount of battery life for nothing. Therefore, you need 3 modes - 1, 2 & 4 cores online.
[Nexus 4 Original Android Development] Janne79:
I don't know if this has been asked before but I hope not:

Is it possible to create different Tasker shortcuts linked to different kernel/fku settings? Then you could switch between battery settings (for browsing, reading etc.) and performance settings (games) with just one tap.

A fku widget would be the best but I don't think it's on [MENTION=3292224]franciscofranco[/MENTION] agenda, is it?
[Nexus 4 Original Android Development] Arstoien:
I don't know if it'll be twice the battery life but even if it is, that could be compensated by the lower needed overall frequency, the lack of hotplugging cpu1 on and off, and also the overall better smoothness – even if I have no complains currently whatsoever.

A long time ago Franco made two test builds with 2 and 4 cores all the time and I can't remember to have heard anyone complaining about battery life. But then again that was a long time ago and the current battery saving from Franco's hotplugging is probably much better.

With that said, I think it might be good to try only 2 or 4 cores with optimized governor.

Sent from my Nexus 4

---------- Post added at 01:43 PM ---------- Previous post was at 01:41 PM ----------

Franco said in a previous post that Tasker plugin for his app is a good idea so we might see that in the future. Currently you can change most values with Tasker Shell command, the same way you would with a terminal.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Net.silb:
I see your point, I guess we should test it and see whats better, minimum 1 core online or minimum 2 cores online...
[Nexus 4 Original Android Development] franciscofranco:
I don't really want to increase the complexity of the code, thats one of the reasons I scrapped everything out and re-coded from scratch. I don't have any plans to add a second core up based on load, sorry folks.
[Nexus 4 Original Android Development] Net.silb:
I completely understand, but whats the plan for those "light" games which don't cause a load over the high load threshold but still need more processing power than available and therefore lag and stutter?

Maybe just make the minimum online cores 2 like [MENTION=4928198]Arstoien[/MENTION] suggested?

It won't make the code more complex, it will actually make it even simpler (touch event hotplugging won't be needed...). Also, there will be much less onlining and offlining of cores, simple and effective. [MENTION=4928198]Arstoien[/MENTION] has convinced me that having a minimum of 2 cores online will not have a significant impact (if at all) on battery consumption, so I think its worth a shot!

PS: Haha Arstoien, right back at ya!
[Nexus 4 Original Android Development] Arstoien:
With 2 cores min, that should actually make it simpler? Would you consider testing that out?

PS: Net.silb, just saw your post. We share the same opinion, it seems.

Sent from my Nexus 4
[Nexus 4 Original Android Development] Danny.ns:
Simpler, but at the cost of battery :p
[Nexus 4 Original Android Development] Net.silb:
A very minor loss of battery if any...
[Nexus 4 Original Android Development] LuisLAN:
It's kind of a long shot, but did you check that the "Wifi sleep policy" is set to never. That could be why your Wifi disconnects.
[Nexus 4 Original Android Development] franciscofranco:
I'll find a solution for those light loaded games. For now the only alternative is to lower the load threshold, that should do it for now.
[Nexus 4 Original Android Development] darwinwin:
yeah man of course i did. it has nothing to do with it
[Nexus 4 Original Android Development] Dmw017:
Still getting frequent data drops, señor Franco.

Sent from my Nexus 4
[Nexus 4 Original Android Development] franciscofranco:
Need more info, carrier, radio etc.
[Nexus 4 Original Android Development] Arstoien:
Just to say that so far I haven't seen the lag in the lock screen ring that I used to see very often with the previous versions.

One observations I've seen is that when I'm typing now (with the 999), if I type longer texts than a typical IM response, 4 cores kick in more often (compared to previous nightlies) and stay till I finish. I'll try to raise the threshold and see how it goes. I think it might not need to be that low.

Sent from my Nexus 4
[Nexus 4 Original Android Development] RussianBear:
Franco, any chance you'd consider creating a widget for the live monitoring stats? I can't find a good one on the market. Mainly interested in cpu temp and load. Thanks for all the hard work!
[Nexus 4 Original Android Development] Mo'HAWK:
System monitor is a good one for cpu loads but does not have the cpu temp.
[Nexus 4 Original Android Development] RussianBear:
Yup, have that app :)
[Nexus 4 Original Android Development] LuisLAN:
That's why I said it was a long shot. :D

If you are thinking about using this kernel then why don't you try flashing the full stock image and see if that solve those issues for you.

Good luck.
[Nexus 4 Original Android Development] franciscofranco:
Just pushed the code, will release r150 later.

I'll ask [MENTION=4446775]cgollner[/MENTION] to add CPU temperature on the Flying Monitor for Nexus 4 users.
[Nexus 4 Original Android Development] darwinwin:
i am currently on stock locked unrooted 4.2.2 (just got the phone 2 days ago)

and honestly i still prefer my galaxy note 2 over this...its just rock stable never had an issue in the last 7 months
[Nexus 4 Original Android Development] ArclightX:
I support this man's usage habit...
[Nexus 4 Original Android Development] Mo'HAWK:
That sounds great. Can't wait for that release... still waiting for that faster refresh rate :D
[Nexus 4 Original Android Development] Dan53:
Noticed someone few days ago say they had data problems on the Three UK network. Three UK are having massive problems right now all over the country they fixed London yesterday (maybe two days ago) now fixing the rest. So it isn't likely to be Franco.Kernel

I'll throw a source in in case anyone thinks I'm a Franco defender:

http://www.independent.co.uk/life-s...twork-customers-without-internet-8643488.html
[Nexus 4 Original Android Development] Stretlow:
His app on the Gnex had this, i'd imagine its on his 1000000001 thinkgs to do!!

:silly: