yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] kelvin99:
It is working fine in me..just like what is said above just choose the 194 kernel....then the touch control is working fine...maybe it is because it is a free version...I'm using the paid version
[Nexus 4 Android Development] joshuab227:
R201 is out.

Sent from my Nexus 4
[Nexus 4 Android Development] fruity101079:
That's what I thought about the free version.

And I can't use r194, I'm on 4.4.2

Thanks
[Nexus 4 Android Development] RASTAVIPER:
What is the problem with using r194?

I am on 4.4.1 and is working fine.
[Nexus 4 Android Development] fruity101079:
Well I just would like to use the last release.

And I thought it was not compatbile due to what is written on post #1: "r198 are for Android 4.4.1 and 4.4.2 Kitkat (KOT)", and "r194 for KRT".

Let me try that.
[Nexus 4 Android Development] boeder9:
I have N4 with the latest stable CM 10.2, if I understand correctly I should use "franco.Kernel.Plus-r193-1110-JSS-CAF.zip"? Will this work?
[Nexus 4 Android Development] RASTAVIPER:
Don't confuse franco version for touch control with franco kernel for installing at phone.
[Nexus 4 Android Development] fruity101079:
I'm so stupid, I just found why it doesn't work... Ii forgot to give access to Touchcontrol in Xprivacy.....

But thanks for your help.
[Nexus 4 Android Development] Amibu:
I'm having a problem and it seems connected to touchboost and hotplug. Maybe someone can enlighten me.

With Sygic (navigation app) the UI is very smooth as long as I move around the map or in the menu. As soon as I start navigation (with 3D rendering), I see a lag, the graphic is choppy. If I touch the screen the graphic is smooth again for 5 seconds then goes back to being choppy.

As I understand, without touching the screen only 1 core will remain online unless there is enough load to the GPU in which case the touchboost is reactivated. I am thinking that the GPU has enough load in this case. I have the default settings (r200 - situation was similar with JB and r198) and Trickster Mod that I use to change color and activate Faux Sound. I also changed GPU up threshold to 30 without effect.

Is there any tweaking I can do? I know that Franco's app has PerApp settings. Would that work in this case?
[Nexus 4 Android Development] RASTAVIPER:
No problem here with any version of sygic.

It has to do with some specific settings of your kernel.

Can you reinstall the kernel?

Unleashed by my Nexus 4
[Nexus 4 Android Development] Amibu:
So when you navigate and touch shortly the screen, you don't see any change in the smoothness of the UI? The position cursor jumps instead of moving slowly.

I flashed every img except user.img when I upgraded to KitKat (in JB I noticed the same thing but did not made a connection to screen touching), flashed CWM, root and kernel. So I'm thinking there should be no leftovers, just Trickster Mod settings, but I use the default settings in the kernel, except Screen Profile and Sound Control.

Maybe I should reset Trickster or/and reinstall Sygic.
[Nexus 4 Android Development] xxspookyxx:
i Like very much this KERNEL!, the battery is very great! i waiting for the newer version =)
[Nexus 4 Android Development] RASTAVIPER:
My setup from 4.1 till 4.4 was always with Franco kernel original or plus.

I never wiped, just flashing newer stock roms over the previous, without userdata. Img

From Sygic version 13.2.2 till recent 13.4.1 never had such problems.

I use Franco kernel updater though.
[Nexus 4 Android Development] fruity101079:
Is it due to the kernel that I can't enable ART machine?

Envoyé de mon Nexus 4
[Nexus 4 Android Development] Tak3r07:
Have you installed xposed framework? If so it will stick with dalvik

Gesendet von meinem Nexus 4 mit Tapatalk
[Nexus 4 Android Development] fruity101079:
Yes I got Xposed.

Thanks for the info

It's explain here: http://xdaforums.com/showpost.php?p=47771876&postcount=5621
[Nexus 4 Android Development] pramyhoga:
Look at tricksterMOD the voltage for 1512 mhz is 1150mv. So this kernel not UV-ed?

A NOOB using Nexus 4 - Franco Kernel Plus with STOCK ROM :D
[Nexus 4 Android Development] perrocaliente:
No I don't believe it is.

---------- Post added at 10:00 AM ---------- Previous post was at 09:25 AM ----------

Has anyone figured out a way to keep root (Superuser) when flashing this kernel? There was one instance when I flashed Franco r201 I believe and my phone somehow magically kept root access, but ever since then I haven't been able to replicate that result. Now I know you can flash supersu bla bla but I prefer my built in Superuser from my rom (Slimkat). So does anybody know how to not break root with franco kernel?
[Nexus 4 Android Development] pramyhoga:
Ok i get that, this kernel is not undervoltage-ed

A NOOB using Nexus 4 - Franco Kernel Plus with STOCK ROM :D

---------- Post added at 10:23 AM ---------- Previous post was at 10:20 AM ----------

Is this kernel doesnt support for gamma or color profile? Since in first page i dont find any explanation that mention gamma editor. Thanks in advance.

A NOOB using Nexus 4 - Franco Kernel Plus with STOCK ROM :D
[Nexus 4 Android Development] RASTAVIPER:
If you use an application like Franco kernel updater, you can do UVIng or change colors and gamma.
[Nexus 4 Android Development] pramyhoga:
I'll try then. Thanks for the post.

A NOOB using Nexus 4 - Franco Kernel Plus with STOCK ROM :D

---------- Post added at 10:00 PM ---------- Previous post was at 09:32 PM ----------

Guys, just want to ask if this kernel different from usual franco kernel (which version is r202)? Fku say that there is update r202, if i flash that would my kernel change to "usual" franco kernel?

A NOOB using Nexus 4 - Franco Kernel Plus with STOCK ROM :D
[Nexus 4 Android Development] perrocaliente:
Yes it is different, the one that the app has is the regular franco kernel. Right now there isn't any update for Franco Plus
[Nexus 4 Android Development] aventu:
Sorry for the delay, I have to learn for my exams right now.

new build:

based on r203

- updated franco's interactive gpu governor

- lowered threshold for 4th cpu core

- added (modified) generic touchboost driver from franco

- updated FauxSound to version 3.2
[Nexus 4 Android Development] Scythe:
Trying first cycle now. nothing wrong so far...

----edit----

Battery drain while sleep is %0.5 per hour with touch control is enabled(which was %1.5 per hour with franco original r203, I think min cpu frequency-below 384mhz- is responsible), seems good, thanks for your good work.
[Nexus 4 Android Development] joshuab227:
Experienced some music stutters and distortion on r203

Sent from my Nexus 4
[Nexus 4 Android Development] worstenbrood:
Got a deadlock overnight, went from 57% to 0%. Only thing i changed was kernel, was running r200 before, flashed back to r200.
[Nexus 4 Android Development] wuith:
After updating from r200 plus to r203 plus I got quite battery drain. After getting back to r200 it didn't solve. I reflash r203 and now is ok. Good battery life again

Thank's for your work
[Nexus 4 Android Development] aventu:
I got a relative high Android OS battery drain, but I think the rom is responsible for this. I will try a new cycle now.

edit: Purity rom has a problem with wakelocks atm.

edit2: I recommend PA now, very simple, stock feeling, useful additions and for me bug free.
[Nexus 4 Android Development] street675:
First day running this kernel.

Had already some reboots (kernel panic) today.

http://pastebin.com/kGaAiH9z
[Nexus 4 Android Development] aventu:
Thank you for the log file, I think the bug will be gone in the next build because I completely rework the touchboost now. It should be ready this weekend.
[Nexus 4 Android Development] Jurai:
is the purity wake lock problem documented somewhere or is this purely your own analysis? just curious as I use purity
[Nexus 4 Android Development] aventu:
Just read the thread.

The bug in r203 is pretty bad, I removed the download. You should use r200 until the next build comes out in a few days.
[Nexus 4 Android Development] pramyhoga:
Yes! I think better r200 still. For a few days I had some random reboot and unwaked deepsleep. Waiting for new release :D

A NOOB using Nexus 4 - Franco Kernel Plus with STOCK ROM :D
[Nexus 4 Android Development] fromhungarytolnacounty:
will be the best kernel, after next update if the deadlock and random (usually in-call) reboots are fixed. TY the hard work.
[Nexus 4 Android Development] pramyhoga:
I just get random reboot once in about a month im using this kernel. But sometimes i get unwaken deepsleep, but only 2 or 3 times since i use this kernel

A NOOB using Nexus 4 - Franco Kernel Plus with STOCK ROM :D
[Nexus 4 Android Development] Jurai:
thanks for the helpful response
[Nexus 4 Android Development] perrocaliente:
I have a question. Will reducing my gpu frequency to half save battery since the gpu runs the whole time my screen is on? Also I usually like to set my suspend frequency to 384000 is that helping or hurting my battery life when in standby?
[Nexus 4 Android Development] pramyhoga:
Add question from Jurai :) is problem if i decrease cpu min freq to 192mhz? For my one day experience i feel my device getting hotter than before? I decrease freq because i think its more saving the battery. Cmiiw :)

A NOOB using Nexus 4 - Franco Kernel Plus with STOCK ROM :D
[Nexus 4 Android Development] perrocaliente:
If you reduce your minimum cpu that won't hurt anything. However reducing your max cpu *may* cause reduced performance. If your device is getting hot You might need to undervolt a little but and Check to make sure nothing is running
[Nexus 4 Android Development] deltatux:
It does help, but by how much, I don't have a solid number, but I have found better battery savings. I don't game on my phone so I capped it to 200 MHz.

deltatux
[Nexus 4 Android Development] pramyhoga:
Thanks, ill try to lowering the voltage again. Btw is it normal if when im using facebook whatsapp bbm than the backcover getting warmer? But still not too hot as i using for games :)

A NOOB using Nexus 4 - Franco Kernel Plus with STOCK ROM :D
[Nexus 4 Android Development] perrocaliente:
If you're on 3g it gets MUCH hotter also if you don't undervolt at all then yes getting warm might not be that odd
[Nexus 4 Android Development] deltatux:
Well, the weekend went by and there's no r203 fix still :(?

deltatux
[Nexus 4 Android Development] street675:
Please, give him the time to rewrite his code.

Verstuurd vanaf mijn Nexus 4 met Tapatalk
[Nexus 4 Android Development] Jakkumn:
Was just noticing those wakelocks. Glad to see the issue is in the mend and will be posted when completed. Keep up the most excellent work!
[Nexus 4 Android Development] aventu:
psst, don't tell anyone, but here is the new pre release candidate (now RC1)

based on r203

- major interactive governor update

- - newest version from CAF

- - added a lot of dynamic values

- hotplug updates

- touchboost updates

- rewritten gpu interactive governor

- deadly sleeping should be gone, because the code is

If you want to know more about the new interactive tunables you need to read this:

https://android.googlesource.com/kernel/common/+/android-3.4^/Documentation/cpu-freq/governors.txt

I have added additional values for idle (nothing moving), busy (action on the screen) and (touch)boost. Keep in mind that the hotplug values a hardcoded atm. So the changes have to fit with these values.

/* down_threshold, up threshold */
static unsigned int hotplug_val[GPU_STATE][ACTIVE_CORES][TUNABLES] =
{{
/* gpu idle */
{0, 80},
{40, 85},
{50, 90},
{60, 100}
},{
/* gpu busy */
{0, 60},
{30, 60},
{30, 65},
{40, 100}
}};

little disclaimer: I compiled the code, flashed it and uploaded this shortly after, so I can't guarantee stability.

all-clear: no problems after a day usage
[Nexus 4 Android Development] anitgandhi:
Has anyone tried r200 with the official carbon nightlies? It completely breaks root for me, can someone else confirm?
[Nexus 4 Android Development] aventu:
flashing supersu should fix the problem, I will add it to the kernel zip maybe.
[Nexus 4 Android Development] perrocaliente:
It's like a damn spaceship up in here! All these new adjustable options in my governor control and I don't understand any! Also there's no hotplug control. Is this intentional or is it coming back?
[Nexus 4 Android Development] aventu:
I think I will link them to the interactive values, because we are now able to determine the cpu load within a specific frequency range.
[Nexus 4 Android Development] perrocaliente:
Also THANK YOU for linking the governor information it's the first thing with some ACTUAL explanation of all these new tunables you added.

---------- Post added at 02:25 PM ---------- Previous post was at 02:01 PM ----------

Am I retarded or is there no way to edit the touch boost frequency in the new release candidate?
[Nexus 4 Android Development] aventu:
You can do this with boost_target_loads, these are the default values:

hold 30% load ---- 702MHz ---- hold 40% load ---- 1026MHz ---- hold 50% load ---- 1350MHz ---- hold 65% load

read the posted .txt file for more explanation
[Nexus 4 Android Development] perrocaliente:
This might sound dumb but I don't quite understand what these figures mean.
[Nexus 4 Android Development] aventu:
There is a current cpu load and the governor has to choose a frequency. If the load gets too high, lags could appear. But high frequencies need need exponentially more battery. Early high frequencies like 702MHz can also prevent high load spikes.

#1512MHz

The cpu core gets to his limit, hotplugging is imminent. Highest authorized load, hotplug driver reacts to this.

#1350MHz

Even higher cpu load, we need to think even more economical.

#1026MHz

The load gets higher and we need higher frequencies, but they cost more energy now, so we choose a higher target load.

#702MHz

These frequencies don't need much energy, so we can try to hold a low cpu load.

#384MHz

With this kernel you have three different configurations of target loads for certain situations.

boost: You are touching the screen and there is movement on the screen, so we choose very low target loads for a short time.

busy: Movement on the screen and normal target loads.

idle: No movement, so we can't see lags, very conservative target loads and highspeed frequency.
[Nexus 4 Android Development] hrishi420:
It support "Any kernel" format or not ????
[Nexus 4 Android Development] anshumandash:
No. It doesn't. Franco uses custom ram disk.
[Nexus 4 Android Development] Matteo Mazzu:
I have Franco kernel app, but with franco kernel plus 203-204 it doesn't display the hotplug setting, and the tooch boot setting in governor setting.. Why?
[Nexus 4 Android Development] Viper780:
I didn't find it here. But has this Kernel init.d enabled? The original Franco doesn't have it and I'll need an Kernel with it.
[Nexus 4 Android Development] aventu:
important changes and a bugfix

check this post for RC1 changes

RC2

based on r203

- hotplug changes for better performance

- fixed: boostpulse_duration size (usec->msec)

boostpulse_duration was a bit too long (1500 seconds^^), the value 1500 default is correct now.

Hotplug control will come back, maybe a bit different.

note: My system time was wrong, so the kernel info shows Feb. 04, but it was compiled today.
[Nexus 4 Android Development] suyashc:
Does 200 forwards are for 4.4?
[Nexus 4 Android Development] Abd121:
You got it
[Nexus 4 Android Development] rohit297:
Can you please add otg support please
[Nexus 4 Android Development] pramyhoga:
I think r203 rc2 is a lot better than r200 that i've used before. Starting a day at office with 70% battery and go home with 30%, i'm use the device as usual. Usually i get 30% when go home but starting with 100% at the morning.

Good Job dev.

Im using cpu min freq 270mhz, max 1242mhz. Max gpu 200mhz. Undervoltaged 50mv.

A NOOB using Nexus 4 - Franco Kernel Plus with STOCK ROM :D
[Nexus 4 Android Development] fluffier:
First Cycle - Franco kernel plus r203 0209 - Stock Rom

Hello!

Reborn90, thank you for your work, I have been following this thread for quite some time, you´ve improved my nexus 4 a lot!

These are the results with the first cycle of the kernel mentioned above. I was hooked on wifi for about 9 hours, the rest was 3G. I got one unwanted reboot otherwise, smooth.
[Nexus 4 Android Development] fluffier:
Second cycle - Franco kernel plus r203 0209 - Stock Rom

This was with 50min GPS on (sports tracker) 8 hours wifi the rest on 3G
[Nexus 4 Android Development] aventu:
Thank you for your battery stats, I think they are quite good. Idle time and/or wakelocks always eat a lot of possible on screen time, but the ratio is good.

I especially try to improve the on screen time, the idle time should be the same like original franco kernel.
[Nexus 4 Android Development] IndDoc:
As far as SOT goes, JB kernel 198 had the best I've had amongst all kernels, period. UV by 150 mv, min freq at 162 used to give me 4.5 hours on 3G, 8 hours plus on wifi.

I'd love to try the kitkat versions but so many soft reboots keep happening. Mostly when I turn the screen off. I'll try to grab a log next time.
[Nexus 4 Android Development] fluffier:
+1 totally agree
[Nexus 4 Android Development] aventu:
Some stats, sorry for the German, but you know the ui, don't you.
[Nexus 4 Android Development] pramyhoga:
Is this OK or not guys?

A NOOB using Nexus 4 - Franco Kernel Plus with STOCK ROM :D
[Nexus 4 Android Development] pxdx:
Any solution for this??
[Nexus 4 Android Development] :
Solution for what? Don't see anything wrong.
[Nexus 4 Android Development] Micoolef:
r203 RC2 runs great. No issues to report.

Tapatalked from my Nexus 4
[Nexus 4 Android Development] pramyhoga:
Sorry first post get error upload pics.

How about my battery stats guys?

A NOOB using Nexus 4 - Franco Kernel Plus with STOCK ROM :D
[Nexus 4 Android Development] RASTAVIPER:
No issues here also with 203 Rc2.

Don't know if its connected but latest tapatalk pro has some small lag through browsing.

Is anyone else experiencing something similar?

Unleashed by my Nexus 4
[Nexus 4 Android Development] blttalas:
Thanks for this kernel. ;)
[Nexus 4 Android Development] blttalas:
Using PrimaL v28 and RC2
[Nexus 4 Android Development] amar1548:
Will it work with cm11??
[Nexus 4 Android Development] Pollie81:
OP says CM11 is not compatible
[Nexus 4 Android Development] blttalas:
Not compatible with caf patched cm11's
[Nexus 4 Android Development] fluffier:
Hi, these are my results with the r200. 9h wifi the rest 3g. This was first cycle.
[Nexus 4 Android Development] RASTAVIPER:
2h SOT its not that much I believe.
[Nexus 4 Android Development] fluffier:
2nd cycle results, similar use.
[Nexus 4 Android Development] fluffier:
I used to get 3.5h SOT with android 4.3 and franko kernel plus 183. In any case, i have tried a few kernels with 4.4 and so far this is the best battery wise.
[Nexus 4 Android Development] RASTAVIPER:
Are you hearing music or playing games?

My use is just tapatalk, fb messenger, browsing pages and checking emails and can get easily 4+ hours SOT on Wi-Fi, with most known kernels.

Stock 4.4.1

Unleashed by my Nexus 4
[Nexus 4 Android Development] fluffier:
No, I dont hear music and I dont play games. I use whatsapp and read the news or xda. I am not hooked to a wifi AP as much as you (although my wifi is always on) just 8 or 9h while at work. Maybe that makes a big difference, but the conditions when I used 4.3 and kernel 183 were the same and my SOT back then was much higher.

Maybe you can share your screenshots so we can compare. :)
[Nexus 4 Android Development] RASTAVIPER:
I will check next days if I will have a whole day with only wifi use, so that I could post some battery screenshot.

These days I am doing a bit of mix use of 3g+wifi, but still getting over 2.5 hours of SOT.

Most important for me is that this Kernel works with no extra settings.

I use Franco Updater only for doing some UV (-75) and this is it. Everything else works great right out from the box. :D
[Nexus 4 Android Development] leader288:
Is a slower IO speed part of this kernel? Because I've noticed a drop in read write speeds in r203 rc2...
[Nexus 4 Android Development] leader288:
I've attached the the pictures to show the difference...View attachment 2612491View attachment 2612490
[Nexus 4 Android Development] amar1548:
Will it work on cm11
[Nexus 4 Android Development] RASTAVIPER:
According to first post is not compatible.

Unleashed by my Nexus 4
[Nexus 4 Android Development] aventu:
Hi, I'm back.

Sorry for the late new build, I needed some free time.

Next final build should be ready in a few days.

ps: I changed my forum user name. :)
[Nexus 4 Android Development] TheNerd:]:
I noticed.... The username threw me off.... .__.
[Nexus 4 Android Development] RASTAVIPER:
Someone is hunting you?

Unleashed by my Nexus 4
[Nexus 4 Android Development] aventu:
Nobody :eek: I'm confused, why are you asking?
[Nexus 4 Android Development] roby998:
does it work with xposed moduls and framework installed?
[Nexus 4 Android Development] RASTAVIPER:
Sure.

No problem with gravitybox for example.

Unleashed by my Nexus 4
[Nexus 4 Android Development] boeder9:
Will the r203 work with CAF (CM11)?
[Nexus 4 Android Development] fajarlazuarding:
Nope. Try at least read one page before the last post, it sometimes would be helpful :)
[Nexus 4 Android Development] aventu:
probably the last release candidate :fingers-crossed:

check this post for RC2 changes and the posts after for interactive governor explanations. I will update the OP later.

RC3

based on r203

- big hotplug update

- all hotplug values are now controllable

You can control now pretty much everything.

You have different values for every gpu_idle and online-cpus state. So your phone will scale differently when playing games, doing nothing or just swiping on the screen. Here is an example:

pm_busy_up_threshold -> 55 60 65 100

1 CPU cores online: 55% up threshold

2 CPU cores online: 60% up threshold

3 CPU cores online: 65% up threshold

4 CPU cores online: 100% up threshold, because we can't get more

All values explained:

up_threshold: If the cpu load gets higher than x%, the hotplug driver will start counting up to max_up_counter

down_threshold: If the cpu load gets lower than x%, the hotplug driver will start counting up to max_down_counter

max_up_counter/max_down_counter: Every sample_time_ms the hotplug driver can count +1, -1 or nothing, when the max_ value is reached, 1 core can go on- or offline.

sample_time_ms: It will take this long until the driver will check again all the things, mentioned above.

So the minimum time until a cpu core goes on or offline is: sample_time_ms * max_counter. For example:

busy_max_down_counter[3 cores online] * busy_sample_time_ms => 100 * 30ms = 3000ms = 3 seconds

You must set 4 values or 1 for sample_time_ms.

boost_values => touchboost + gpu busy

edit: Alright, the kernel apps don't work at all, you can't type space between the number. Also there is a bug which makes init.d scripts not usable for now.

If you want to use custom values, this is the best way for now:

1. Download 01kernel_config.zip and extract it

2. Put the file somewhere on your sdcard

3. Install and open Script Manager

4. Click the file and select "Su" and "boot" (values will be automatically set at boot)

5. Click "start" and all values will be set

01kernel_config contains updated RC3 values (03/16)

little bug: idle_min_sample_time is confused with busy_min_sample_time

clear your kernel app settings, compare them with the values from the 01kernel_config script
[Nexus 4 Android Development] llsantiago:
How can I set two cores online all time? Thanks in advance
[Nexus 4 Android Development] aventu:
Apply this to boost, busy and idle:

up_threshold: 0 x x x

down_threshold: x 0 x x

max_up_counter: 0 x x x

max_down_counter: x 999 x x

x = doesn't matter, keep default
[Nexus 4 Android Development] RootNightmareX:
How is gaming performance compared to the original Franco build ?
[Nexus 4 Android Development] RASTAVIPER:
I would love to try, but please provide script instructions on how to install and run this.

Unleashed by my Nexus 4