yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] Hanny:
Totally understood. But what have been changed from r70's hotplugging to r80's hotplugging making the 3rd and 4th cores online not as easier than before? (and even you attempted to fix it in 82 it did not go back to heavy-gaming-performance-wise)

the thresholds 375-275-125 are the same on the 3 kernels. while the fps can actually go 1X, I assume the load should be higher than the values 375/275 you have set as default, in order to prevent observable stutters. Also what is going on with the 0mhz with certain utilization / certain mhz but 0% utilization thing? :confused:

Your new idea of locking does worth a try and best of luck on that :) but while the gaming performance was once fine before, it may be useful to look back and see what has been disabling the goodies. anyways, respecting your decisions as always :cool:
[Nexus 4 Original Android Development] Skillfulshoe:
Re: [KERNEL][GPL][N4] franco.Kernel - r72

Was on r80 for half the day and r82 the other half. 5 hours screen time here. Thanks for the great kernel franco.

No problems from r82, it's great.

Edit: on 4.2.2 stock if you're curious and screen brightness was on 50% all day
[Nexus 4 Original Android Development] Archmag3:
btw.I think you should edit thread title now ;) will get you more hits :P
[Nexus 4 Original Android Development] franciscofranco:
You sure r70 works fine? Almost nothing changed from r70 apart from the timers for the several works (works that are called to do the hotplug on/off). And the timers are much more aggressive now which means they react much faster. I'll explain how the driver works in a bit more technical terms in hope you or someone wants to discuss this as a real development forum should be:

r70:

- scheduled_work called hotplug_decision_work every HZ. HZ is the frequency of the internal kernel clock, called ticks. We run a tickless kernel so the HZ is only used as an argument for the scheduled_work function. The argument expects a jiffie so it takes the HZ value and in jiffies it equals 1 second. So after the function is called it works 1 second after the call (thats why its called schedule_delayed_work). Then after that second it offlines/onlines the cores based on the load and restarts all over again 1 second later. The whole operation might take up to 2-3 seconds to finish which includes calling the hotplug_decision function, checking the load, calling the scheduled_work, operating the cores and calling the decision again.

r82:

- all of the above with the exception that it calls the works are called with 10 jiffies delays (on r70 it was 100 jiffies because HZ = 100) so now its basically every 1/10 of a second.

Thats the only functionality change between r70 and r82, the other things I changed were just fixes to make sure the system didn't try to online that was already online, and offline a core that was already offline.

That's it mostly.
[Nexus 4 Original Android Development] penzoilguy:
Silent Observer and Google is my Library....

Hi Franco and others....been observed this thread quite sometimes....and decide to post....first of all...FRANCO...you are MY MAN!!!...Superb Custom Kernel and User friendly Kernel Update App...bought it and hands down to u :highfive: ....Keep Up the good work and I've always support ( Very Limited Thanks button per day :p )....

Anyway...I see many users being asking what is this what is that to Franco Kernel Related.....I might not be expert here....but here a link that might help you to Understand more about Kernel parameters do's and dont's http://www.neckbeard.ca/r/nexus4/comments/158t1i/custom_kernels_a_guide_on_what_you_need_to_know/#link (highly speak of Franco's) and credit goes to IAmAN00bie as he the one made it and believed one of dev/ veteran xda user? correct me if I'm wrong....so guys...cheers and have faith at Franco's Work Piece :D

p/s: Sorry for my TL;DR "broken" English and being n00b here ;)

NEXUS 4 | Stock 4.2.2 ROM+Baseband .48 | Franco Kernel = R82 + "functional" PGM Touch
[Nexus 4 Original Android Development] tilllt:
AW: [KERNEL][GPL][N4] franco.Kernel - r82

I was running r72 and then i was offered the OTA to 4.2.2. I changed back to the stock rom i had backupped using francos app. Downloaded OTA, tried to install, some error occurred. Then it booted the 4.2.1 but the OTA notification was gone. So what can i do to get it back? Would much prefer an automatic solution then doing this manually.

Btw. How do i get rid of the franco kernel boot animation? It looks kind of cheap and i liked the original better.

tapatanexus
[Nexus 4 Original Android Development] Hans QC:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

r82 is the most responsive kernel I've seen! Thanks Franco.

Envoyé depuis mon Nexus 4 avec Tapatalk
[Nexus 4 Original Android Development] franciscofranco:
rm /data/local/bootanimation.zip
[Nexus 4 Original Android Development] cobyman7035:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

Why so much contrast 300?

http://minooch.com/franciscofranco/Nexus4/zips/

I don't see r82... What is URL link

Google Voice via my r72 NeXus⁴ using XDA Premium
[Nexus 4 Original Android Development] brodern:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

To cobyman:

http://minooch.com/franciscofranco/Nexus4/4.2.2/zips/

Next time, look at the links in OP.

Sent from my Nexus 4
[Nexus 4 Original Android Development] opticaldh:
It's obviously in the OP, in section Download :D
[Nexus 4 Original Android Development] syncopy:
Here: http://minooch.com/franciscofranco/Nexus4/4.2.2/ :good:
[Nexus 4 Original Android Development] DforDesign:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

I am getting random reboots on r82 on pa 3.0. Anyone else? How can i find the log?
[Nexus 4 Original Android Development] ben_pyett:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

it's the file /proc/last_kmesg
[Nexus 4 Original Android Development] brodern:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

I'm guessing you have not adjusted your UV since you flashed r80. Raise every frequency by 25 mV and see if that helps. If not, raise by 50.

Sent from my Nexus 4
[Nexus 4 Original Android Development] mgear356:
If you are uv you need to increase 1512mhz voltage.

Mine is fast bin and used to be stable on 975.

Then in r70 - 72 it become 985

R 80 - 990

Finally in r82 have to up it to 1005

Tested it in nfs mw and rest of frequencies are stock voltage.. Anything lower than the above values will result in reboot
[Nexus 4 Original Android Development] cobyman7035:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

I'm on r82 now. Felt lag swiping is 2cores off all the time?

What values to use in threshold settings? I just notice that in app

Google Voice via my r72 NeXus⁴ using XDA Premium
[Nexus 4 Original Android Development] Martin_Ro:
Franco, some suggestion for the hotplugging / core raise in terms of gaming:

How difficult it would be for you to determinate the current fps ? Is it even possible (i don't know how exactly the layer engine works) ?

If so, maybe it would be possible to do something like that:

If the overall usage on CPU0 + 1 is >as an given threshold (changeable per App ?) and also the overall FPS is lower as an given value (25 fps ? changeable via App) toggle CPU2 and 3 and raise the MHz till FPS is around given value...

So kind of FPS driven if system is detecting "gaming mode" by overal load of cpu 0+1...

So you would be able to implement some kind of "UI Mode" and "Gaming Mode"...
[Nexus 4 Original Android Development] DforDesign:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

Thank you for your time, but how can I do that when it's rebooting? In other kernel? Will the settings stick?
[Nexus 4 Original Android Development] Weedalot:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

What configuration are you using in the kernel manager to have six hours of screen? I get four at most. Also is it the lowest brightness?
[Nexus 4 Original Android Development] franciscofranco:
Lag when swiping on r82? Something is seriously wrong with your setup... I can easily see the amount of **** you have running in your notification bar. Fix it, its on your side.

I have no idea how to measure FPS from the Kernel at all, I don't know how the video layer works. FPS is also subjective, so I don't know how that would be useful.
[Nexus 4 Original Android Development] tim.smart:
Still getting a boot loop if I try set gamma settings in init.d. Sorry if something already reported this.

/proc/last_kmsg - https://gist.github.com/073f4f094b0f0eb9cb24
[Nexus 4 Original Android Development] Luigiesin:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

I have a fast chip as well... What's your table?

I'm starting with 775mv with 925mv at 1026Hz.

But would like to drop it a bit more.

Sent from my Rock & Roll Nexus 4 \m/

ROM: PA 3.0

Kernel: Franco r82

T-Mobile
[Nexus 4 Original Android Development] brodern:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

I'm using default config, interactive, deadline and Westwood. Undervolted -75 mV on all (except 1026 -25 mV).

I have my brightness set pretty high at 40% because I'm using visceralphyces (spelling?) gamma settings. Sync on, Google now off.

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

Hallo everyone I just met a problem when trying to update to Android 4.2.2 via recovery with update ota zip file. I have already reverted the power so file back to original. But the failure information appear when checking the system. Is that related to the kernel? Or what can I do with it? Obviously there isn't any backup or original file for that one.
[Nexus 4 Original Android Development] Kazliux:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

Reflash stock kernel again.

Sent from my sexy Nexus 4
[Nexus 4 Original Android Development] Utini:
where is the changelog for r82 ? :/
[Nexus 4 Original Android Development] Saiger:
dude what about search on this thread...... :confused:
[Nexus 4 Original Android Development] Archmag3:
Running nice.May be it just a feeling but phone is little warm than before.

Can anyone please post the stable voltage table ?? Also how do I test if the changes in volts are stable ?
[Nexus 4 Original Android Development] ben_pyett:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

this isn't a general Q&A thread... There is in fact a special sticky thread for that along with an entire section of the forum.

there is an extensive one by @FF further up on the thread.... Read the last two pages again.
[Nexus 4 Original Android Development] Ljung:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

This is with r80 and PA during the night, wth?
[Nexus 4 Original Android Development] Saiger:
here are the stock/stable voltages:

-

to test if ur custom voltages are stable u just have to wait

if ur phone getting reboots or something, ur voltages are not stable..

edit: i use this voltages right now
[Nexus 4 Original Android Development] italia0101:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

These are my voltages ...been good so far on 82

Also loving those settings for screen !
[Nexus 4 Original Android Development] ReD_AvEnGeR:
AW: [KERNEL][GPL][N4] franco.Kernel - r82

Is there a flashable zip for pa colors? :p
[Nexus 4 Original Android Development] fguy85:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

Cm 10.1 16 Feb + R82 + UV

Works perfect for me
[Nexus 4 Original Android Development] drawde40599:
Can't help u with undervolt cause i dont , but would recommend just keep lowering all by 25 until u find your " spot" .

If u think this kernel runs hot use stock for few hours , now that's hot ;)

---------- Post added at 01:31 AM ---------- Previous post was at 01:24 AM ----------

Love your settings !!!! Tweaked a Lil for ME and raised brightness to 200 and lowered all RGB to 175 , finally happy after screwing with colors for a week .

Thanks
[Nexus 4 Original Android Development] DforDesign:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

Seems like r80 was smoother that r82 for me.
[Nexus 4 Original Android Development] KingBeike:
I always get a few seconds after boot a reboot with R82!

Stock settings, no UV, latest Liquidsmooth ROM.

Did a complete clean install of the ROM and Kernel.

Try to get the log and upload it.
[Nexus 4 Original Android Development] KingBeike:
Here the log from the latest reboot. Hope it has some infos for you.
[Nexus 4 Original Android Development] diglam:
I'm using same UV settings for fast bin CPU, and works perfect.
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

I still suspect that 7 is the maximum and what you're seeing is the saturation value overflowing and altering some other settings. Though I don't have any hard evidence to back that up.

Would be nice if we could get to the bottom of this.

Sent from my Nexus 4
[Nexus 4 Original Android Development] mgear356:
you may want to flash the stock kernel then go back in franco's app to disable apply on start up

---------- Post added at 07:37 PM ---------- Previous post was at 07:35 PM ----------

Mine is

700 384

715 xxx

730 xxx

750 925mhz

850 1026mhz

900 1125mhsz

950

and 1005 1512
[Nexus 4 Original Android Development] franciscofranco:
Just pushed app version 8.7 which tons of goodies. It should be up as soon as Google refreshes their servers. Tomorrow I'll push it to AndroidPit and I'll update my Free franco.Kernel updater and the Nexus 4 Display app.

8.7:

Common:

* Fixed FC when rotating the device while downloading a kernel

* Major cleanup and code improvement in the settings and cpu freqs activities

* Add support for 4.2.2 kernels

Nexus 4:

* Gamma settings are now added automatically in a new color profile

* Add Core Management interface that includes some modes exported from the kernel: Hotplug, Dual-Core and Quad-Core. Changing modes in a single click

Thanks for all the awesome support :) ! If you find any problem please e-mail me!
[Nexus 4 Original Android Development] penzoilguy:
Woot2....thanks for your snappy update Franco :D
[Nexus 4 Original Android Development] Imperticus:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

I thought Franco increased the limit on saturation on r82, not limited to 7 anymore.
[Nexus 4 Original Android Development] DforDesign:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

Hey guys. Another question. Is there any guide how to understand these values:

I mean what for example is 375? What is the unit? Thanks in advance and sorry for silly questions. I could find the answer.
[Nexus 4 Original Android Development] mefistos:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

Hmm when I go that low every time my phone goes to deep sleep and I wake it up it reboots :/
[Nexus 4 Original Android Development] zakoo2:
running cm10.1 15.02 nightly with r82 on 1ghz with interactive gov. love it! sadly, i have nominal cpu so uv doesnt play that much of a role, but a few minor tweaks are still better than nothing. :)
[Nexus 4 Original Android Development] franciscofranco:
[KERNEL][GPL][N4] franco.Kernel - r82

There is no unit, its just the value calculated for the average in the kernel. Increase or decrease it by 25 each time and you will be fine.
[Nexus 4 Original Android Development] wildbizzar:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

Hi Franco, just to double confirm, by saying adding support for 4.2.2 kernels in v8.7' changelog, does it mean the tweak settings in v8.6 doesn't support/is not working with your r82 kernel yet?
[Nexus 4 Original Android Development] grubbster:
Hey Franco, just updated to the new app version and I get an app crash when I go into the new hotplug control function. On my side or app side? Thanks
[Nexus 4 Original Android Development] trailblazerz11:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

Same for me
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

He did, yes. But we don't understand what the real limit is (i.e. e maximum value that makes a real difference to the kernel). You can set it higher but we don't know exactly what the effect of doing so is. Those who have done some playing with the values have found some odd effects.

Like I said, I wonder if the real limit is 7 but if you set it "higher" then perhaps it is just wrapping around and at the same time overflowing another value. I could of course be wrong.

Sent from my Nexus 4
[Nexus 4 Original Android Development] fguy85:
Me too
[Nexus 4 Original Android Development] steviewevie:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

I just sent a report on the app crash in hotplug section.

Sent from my Nexus 4
[Nexus 4 Original Android Development] enursed:
AW: [KERNEL][GPL][N4] franco.Kernel - r82

+1
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

Of course not. It still works.

---------- Post added at 08:24 AM ---------- Previous post was at 08:19 AM ----------

Well you're obviously looking in the wrong thread.
[Nexus 4 Original Android Development] cguru:
We really need to get more info (datasheet or something)...

It doesn't matter which settings I try or tweak myself, the green always (especially my own posts in whatsapp) get way oversaturated. Neon style. I can only lower the overall saturation..

We put the same gamma values at all the channels, I think we could tweak every color seperated.

static char p_gamma_r_setting[10] = {...};
static char n_gamma_r_setting[10] = {...};
static char p_gamma_g_setting[10] = {...};
static char n_gamma_g_setting[10] = {...};
static char p_gamma_b_setting[10] = {...};
static char n_gamma_b_setting[10] = {...};
[Nexus 4 Original Android Development] TheByteSmasher:
App Hotplugging Crash

The app crashes when I try to open Hotplug control. logcat attached.
[Nexus 4 Original Android Development] AutruiP:
Sorry for noob question, but what is the difference between those modes ? Dual-core is activating two core and only two, quad-core for four and only four ? And hotplug ?
[Nexus 4 Original Android Development] lacion:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

The latest version of Franco app force closes on me when I try to change anything in r82
[Nexus 4 Original Android Development] strikelight:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

Green does seem to be a bit more dominant than red and blue on our displays, or at least, yours and mine.

To compensate, I have green a bit lower than red and blue in the rgb settings.

My setup that gets me 2.2 rgb without being too contrasty, dark, or bright:

Rgb: 238, 235, 238

Whites:0

Blacks: 70

Mids: 7

Contrast: 31

Brightness: 10

Greys: 0

Saturation: 7

So even green appears calibrated to the same as red and blue.
[Nexus 4 Original Android Development] siscim23:
Hot plugging enables/disables CPU cores depending on the load.
[Nexus 4 Original Android Development] kjacksonmusic:
Logcat attached for FC when loading color profiles, as well I am uncertain if this is a cause for alarm "E/PowerHAL( 479): Error opening /sys/devices/system/cpu/cpufreq/interactive/boostpulse: No such file or directory" but that seems to populate most of the log, pretty much whenever I am sliding my finger across my device I it prints that.

Thanks

Update: I uninstalled and reinstalled the app and saved a new color profile and that loaded fine must of been something with the way the old ones were saved. Still curious about that PowerHAL Error?
[Nexus 4 Original Android Development] mgear356:
Having fc when trying to go in hotplug control. Cleared app data but still persist.
[Nexus 4 Original Android Development] atub:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

App force closes when clicking on hotplug control with r82.
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

Aw man!
[Nexus 4 Original Android Development] Vanhoud:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

Based on some context clues contained within this thread I suspect that the app force closes when entering the hot plug control section of the app.....:)
[Nexus 4 Original Android Development] iamsmallpang:
x2 ...me too
[Nexus 4 Original Android Development] cobyman7035:
can someone please give a newbie quickie tutorial on how to get 4.2.2 without losing apps/data/settings and back to franco kernel again using CMW flashing .zips only please!

1) find the stock factory .zip file? where do i get this exact link?

2) then install CMW ?

3) then flash franco kernels like normal again/

am i missing anyting?

want to test the battery life with 4.2.2, i've read everyone gets increase battery life

thanks
[Nexus 4 Original Android Development] rxmxsh:
I think you need to do some research before popping back in this thread. Based on your questions, I wouldn't feel comfortable giving you the simple answers.
[Nexus 4 Original Android Development] kelmar13:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

Check the "question" sub forum. Or, check the "how to/help desk" sticky in the general sub forum.
[Nexus 4 Original Android Development] scream4cheese:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

Please check the questions and answers sub forum.

---------- Post added at 10:02 AM ---------- Previous post was at 10:01 AM ----------
[Nexus 4 Original Android Development] Utini:
fastboot flash boot.img from 4.2.1

fastboot flash system.img from 4.2.1

flash 4.2.2 ota update via recovery

flash supersu via recovery

reboot system

flash franco kernel
[Nexus 4 Original Android Development] cobyman7035:
im not too worried bout the bricking part, but i just don't want to lose all my apps and settings, and if i did lose all my data, i'd probably try a custom ROM + franco kernel
[Nexus 4 Original Android Development] scream4cheese:
That's why we are lucky to have an app called "Titanium backup". It works like magic.

https://play.google.com/store/apps/...DMsImNvbS5rZXJhbWlkYXMuVGl0YW5pdW1CYWNrdXAiXQ..

You can use it to backup all your desire apps and store them in your closet.
[Nexus 4 Original Android Development] Sayonara123:
Happens to me as well.

I also noticed, that with this kernel I always have two cores active.
[Nexus 4 Original Android Development] vomer:
FYI - check out carbon as well. Great alternative and good interface. :good:
[Nexus 4 Original Android Development] kjacksonmusic:
****this is assuming you already have an unlocked bootloader and cwm or twrp installed and are not on factory kernel, if you are then my post is pointless and I apologize to adding to the thread count. *************

I feel like being nice, I did post this a few pages back and verified that it works:

1. Download stock kernel from here:

http://xdaforums.com/show....php?t=2024982

2. Flash it in recovery.

3. Boot into android.

4. Go from root explorer to system/lib/hw and

i) Delete power.msm8960.so

ii) Remove .fkbak extension from power.msm8960.so.fkbak so it looks like, power.msm8960.so

iii) Fix the permissions to rw-r--r--

5. Reboot

When youre done with these steps you can flash the update zip to 4.2.2 from google, then after this you will have to flash recovery img and flash SU.

I followed these steps and my settings and apps remained in tact.
[Nexus 4 Original Android Development] keyra74:
yep, same on 0.87
[Nexus 4 Original Android Development] bkai:
Kernel updater 8.7... crashes when loading a color profile prior to 8.7 and won't save profiles with spaces in the name. Confirmed? Or is it just me :)
[Nexus 4 Original Android Development] Testraindrop:
@Franco

About the faster on/offlining cores, while I like it that they online faster, I think I remember you said a time ago that frequent on/offlining is using more juice than just staying online for a few seconds...

My suggestion would be to leave the onlining as is now on r82 (fast), but delay the offlining for some seconds, say 5.

I believe that would avoid those frequent offlining like seen by Miasmic many times per second...

What do you think?
[Nexus 4 Original Android Development] shr33kant:
Re: [KERNEL][GPL][N4] franco.Kernel - r82

Edited: bug already reported

Sent from my Nexus 4