yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Original Android Development] PhantomGamers:
that's fine it's up to you, was just an idea.

another thing, i reported this before but i guess my timing was bad: if you delete all color profiles it doesn't actually delete them until you tap on one of the "ghosts" and it force closes and reopens, and then the list is empty.

i'm not sure if this is just me or an app issue but i was getting it on both cm and now minco so i assume the latter.

also: TRAITOR! XD

yeah a way to import and export lists of apps and rules would be a great alternative, and also a way to import multiple lists and switch between them. but i understand that would probably be a lot of work.
[Nexus 4 Original Android Development] pnut22r:
Is the max for the Simple GPU 487?
[Nexus 4 Original Android Development] franciscofranco:
The maximum delay between applying the Per-App settings is 10s after you opened the app which you've made the mode for. Maximum time. Sometimes its faster, sometimes its 10s, depends.
[Nexus 4 Original Android Development] limeaide:
maybe people that are part of the kernel app community could post them there and the app link to that area and you could grab them from there.
[Nexus 4 Original Android Development] drawde40599:
Looks like it cant be controlled from app yet? (gpu) are there commands we can play with? I may have missed it but i didn't see anything
[Nexus 4 Original Android Development] franciscofranco:
You mean tunables of faux's Simple governor?
[Nexus 4 Original Android Development] drawde40599:
Yes
[Nexus 4 Original Android Development] franciscofranco:
Nothing has been added to the beta app to control that. Next beta or something.
[Nexus 4 Original Android Development] ryanytchan:
Has fast charge disappeared from r666?
[Nexus 4 Original Android Development] Cuzz1369:
The per apps list definitely need to be alphabetized. Very hard to find something specific with 160 random apps listed. Plus I don't know if this is possible but stuff like Google services framework could be left out.

Carbonized and francofied N4
[Nexus 4 Original Android Development] jarjar124:
Still here for me.
[Nexus 4 Original Android Development] PhantomGamers:
same
[Nexus 4 Original Android Development] scream4cheese:
Still here
[Nexus 4 Original Android Development] JeffyLube0:
Iss this the app?
[Nexus 4 Original Android Development] sir*mez:
No, this is the test kernel franco just put up.
[Nexus 4 Original Android Development] pnut22r:
Using faux new kernel and his app, GPU max at 600. Using r666 and faux app, max GPU is 487.

I'm using faux app. Are the tunable s in the kernel side?

Sent from my Nexus 7
[Nexus 4 Original Android Development] thebryceee:
Wow. Server being hammered, I think. Download is super slow.
[Nexus 4 Original Android Development] PhantomGamers:
i assume you mean the nightly, if so mirror: https://sundergaming.com/FastDL/franco.Kernel-nightly-r156.zip
[Nexus 4 Original Android Development] JeffyLube0:
Heres a link to become a beta tester for franco.kernel.updater so you can get the newest beta:

https://play.google.com/apps/testing/com.franco.kernel
[Nexus 4 Original Android Development] franciscofranco:
Max GPU freq here is 400MHz, stock. His app is reading it wrong or something.
[Nexus 4 Original Android Development] drawde40599:
Max is 400 here also, his app says it will do 487 or whatever but it actually wont
[Nexus 4 Original Android Development] Luigiesin:
Hey Franco... So before the "simple" GPU governor the GPU was running solid at 400MHz? Or was it scaling?

I guess my question is if it was staying at 400MHz solid, with this new governor it should drain less battery since it's ramping down frequencies right?

Also, if the GPU is over clocked, battery should take a hit as well?

I understand using more GPU should free some CPU cycles and save battery... But if the GPU is over clocked, it would hit the battery more?

Sent from my Rock & Roll Nexus 4 \m/

ROM: PA 3.60

Kernel: Franco r156-Linaro T3

T-Mobile
[Nexus 4 Original Android Development] Mo'HAWK:
Franco has not over clocked the gpu so it does not go above 400 mhz but it does scale up and down more then on demand did so in theory should save battery
[Nexus 4 Original Android Development] Luigiesin:
I know he didn't OC GPU... Just asking as a matter of information ;)

So before the GPU governor was ondemand? Makes sense. Thanks

Sent from my Rock & Roll Nexus 4 \m/

ROM: PA 3.60

Kernel: Franco r156-Linaro T3

T-Mobile
[Nexus 4 Original Android Development] jimbohurt:
Dont wanna distract from this thread since it for development but i just bought the app and flashed this kernel and just wanted to say thanks!! I might try out a nightlie since the milestone is so awesome.
[Nexus 4 Original Android Development] Cuzz1369:
r156(latest nightly) is a beast. I highly recommend it. Fancos nightlies ae 99% stable and if there is a derp it is fixed asap. Best dev on XDA!!!
[Nexus 4 Original Android Development] jimbohurt:
Well there we have it, flashing it now :) Thank you and thanks franco!
[Nexus 4 Original Android Development] Shano56:
Nightly > milestone

Besides, milestone 3 is coming soon.
[Nexus 4 Original Android Development] drawde40599:
New 666 is badass! Using at 486/1620 freq, everything else stock for few hours now and must say it is a beast! Cant comment on battery yet because i like to compare battery use on days that im working because my use is pretty identical from day to day, weekends r bad for comparison for me..

Thanks for your time Franco!
[Nexus 4 Original Android Development] Arstoien:
The "par app power modes" are nice but they'd be great if they allowed for changing the governor tunables as well.

PS: I just saw that's planned, sorry.

Sent from my Nexus 4
[Nexus 4 Original Android Development] giajp:
Masterpiece r666. Smoothness, responsiveness, fluidity, scrolling never seen.

Inviato dal mio Nexus 4 con Tapatalk 2
[Nexus 4 Original Android Development] kecinzer:
After latest commits I have problem with compile:

drivers/gpu/msm/kgsl_pwrscale_trustzone.c: In function 'tz_init':
drivers/gpu/msm/kgsl_pwrscale_trustzone.c:277:19: error: 'TZ_GOVERNOR_SIMPLE' undeclared (first use in this function)
drivers/gpu/msm/kgsl_pwrscale_trustzone.c:277:19: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [drivers/gpu/msm/kgsl_pwrscale_trustzone.o] Error 1
[Nexus 4 Original Android Development] The Gingerbread Man:
Franco new app beta looks cool, just to agree with a few points some of the guys raised here about correct ordering of apps, there's also quite a lot of **** which would be best left out like frame work things. Also increasing the text size to consistent with everything else in the app (perhaps my eyes are old at 26 years old hahaha)! Thanks for your awesomeness as always
[Nexus 4 Original Android Development] italia0101:
Fail of a post. I'll start again ...
[Nexus 4 Original Android Development] ben_pyett:
New beta app and 666 kernel, getting strange corrupted text in recent notification and alerts in application regarding New kernel see attached
[Nexus 4 Original Android Development] italia0101:
So I'm having am issue with the per app settings , could someone try this and see if you have the same issue .

Default settings : 1188 -384 , interactive , 70 threshold

App setting ( I used geekbench) : 1512 -1512 ,interactive ,0 threshold

So the threshold works fine . all the cores online when I go into geekbench ... But the minimum doesn't stick for all cores ... Only the first .. See attached picture ;
[Nexus 4 Original Android Development] ayusharad:
Can anyone tell me which built gives the best battery life amongst all?
[Nexus 4 Original Android Development] lzy23:
Since everyone uses their phones differently, and not every phone is the same, you really have to see what works for you.

But for me, I found r148 to be good for me so far.
[Nexus 4 Original Android Development] The Gingerbread Man:
Bug report for latest app beta

On tuna when I lower my Max CPU freq I find it keeps changing back to 1.2 GHz on its own.
[Nexus 4 Original Android Development] alen1901:
So default settings for simple governor are the same like faux put it or?

Sent from Sparkling Nexus 4
[Nexus 4 Original Android Development] Martin_Ro:
Ok, I think that has something to do with my bugreport or maybe suggestion to improvement... about new beta app:

1. As long as "per App" is on, the functions of Minimum and Maximum frequency in the normal settings are overwritten, maybe they should be linked together (if you change one, it will accordingly change the other) or they should be disabled respective the status of "per App Selection"

2. You only can set the "Default" for Minimum and Maximum frequency in the "per App" Settingspage one time. So, if you want to "play" with it, you have to reset all App Datas to change it. would be better, if you can change them anytime (if a App is selected, it changes the App Settings, if no App is selected, you change the Default settings).

Also a Question:

If I get it right, you currently check every 10 Seconds, if the running Application has changed (ActivityManager I guess). So maybe it would be better to implement such function better into the framework directly, wouldn't it ? Like the "per App DPI"-Settings in PA. This would be more batteryfriendly (because no need to test it every 10 seconds even if nothing is going on) and it also would be faster applied (like PA's DPI directly when App is in foreground)...
[Nexus 4 Original Android Development] The Gingerbread Man:
Ah yes my derp I forgot about the default profile in per app settings. Really the default settings should be linked to min max speeds under freq and voltage
[Nexus 4 Original Android Development] cesco73:
the link don't work.. error 404

why?
[Nexus 4 Original Android Development] bokagavrilov:
You need to be in franco's google plus community
[Nexus 4 Original Android Development] roilosh11:
sorry for being a noob but I can't figure out how to use this feature, it will be very helpful if anyone could post a tutorial or a video showing how to set the Min/Max frequencies for each app. Thanks!﻿
[Nexus 4 Original Android Development] ironjon:
Wipe app data

I have no problem with r666 and FKU

[MENTION=1162267]francisco [/MENTION]r666 is very smooooooooth :)

Enviado desde mi Nexus 4 usando Tapatalk 4 Beta
[Nexus 4 Original Android Development] Kindatired:
I am actually blown away by how smooth it is. I had resorted to going back to kernels that used mpdecision to get decent performance. 666 is even smoother than those. Will have to see how battery life is but francos kernels have never disappointed me when it came to battery.
[Nexus 4 Original Android Development] gallardo5:
With r666 my GPU governor is performance by default, and when I'm trying to change it there are only performance and ondemand. Should it be like this, and oerformance is actually that new governor?
[Nexus 4 Original Android Development] Kindatired:
I don't think trickster has been updated for simple gpu governor. If you leave the gpu settings alone it should be set to simple governor with max 400, even if trickster doesn't say so.
[Nexus 4 Original Android Development] biomech91:
I'm running CM RC5 and have been getting amazing results with franco kernel, except on my home wifi where I keep getting suspend_backoff wakelocks preventing my phone from entering deep sleep.

I've checked for all the usual culprits for this wakeclock (for example, I don't have Chrome installed so it can't be that) but haven't been able to fix it.

Anyone know of a solution?
[Nexus 4 Original Android Development] Ulver:
I'll occasionally get that, where my phone won't deep sleep when connected to my WiFi. A reboot of my router fixes the issue.
[Nexus 4 Original Android Development] franciscofranco:
Lets see if I can explain. The GPU governor runs under a policy called TrustZone, and inside that policy there are two governors by default, Performance and Ondemand. Performance speaks for itself and Ondemand scaled the GPU freqs based on how busy the chip was. Unfortunately it spends just too damn time on max GPU freq for no bloody reason. My understanding of faux's code is that now it won't spend much time on max freq, its actually balanced . Nobody needs 400MHz to render the UI, heck I'm pretty sure most of the UI is rendered by the CPU, we don't need GPU cycles for that. On Android the CPU and GPU I believe that they are not entirely connected. I'm not sure if they even share the same memory pool (if anyone knows this for sure let me know) so that saving cycles thing you posted about doesn't really work in this context. I don't say this a lot, but I think [MENTION=3332811]faux123[/MENTION] nailed this one. He exposed two sysfs tunables for us to control how often the function checks for the chip busy state, but I don't remember the path. I'll expose them to the app in the future.

You have to set CONFIG_MSM_KGSL_SIMPLE_GOV=y.

As I said this new beta is just a preview of 2 days work. I need to order the apps alphabetically. I won't filter it because there might be some System apps that users want special settings. If I start to filter them that will make the code complex and... thats not good for the algorithm for reasons that I don't want to share. The text is 14dp, matches Play Store Movies when you try to change from Seasons on a series. I'll be changing most dialogs with lists to this format soon.

Strange ****, try to wipe data app.

Yes, thats actually my derp, I ****ing forgot that stupid Mako CPU are not synchronous, so I have to apply CPU freqs for all cores...

1 - Its a hard task to tie everything together in a reasonable good fashion. This is harder to do than it looks :)

2 - Default mode is going to be customisable on the next beta version as I wrote on the G+ post.

I can't just change the framework like that... thats on the rom side... The way I implemented this there is no system hit, either performance or battery. The check runs on a background thread (just like any other Google background work) and has no code complexity involved, its function with only one return, has O(1) complexity (I think thats the lowest complexity, damn I don't remember it 100% from my C college classes). I don't mind a 10s max delay at all. Don't forget that PA is a rom, they change the framework as they like, I have an app, app can't just change the framework like that. My first iteration 2 days ago had a function with a for each loop, and around 10-12 lines of code, I managed to reduce it to a return. As I said, no battery or performance hit what-so-ever. Doesn't hold a wakelock and it runs on a background timer thread.

Read explanation above.

I wrote that Simple GPU governor is default, do you trust an app or do you trust what I said? If you don't trust either go read my latest git commit ;)
[Nexus 4 Original Android Development] italia0101:
Ah cool . no worries :)
[Nexus 4 Original Android Development] giangi88:
[MENTION=2079928]biomech91[/MENTION]

Which radio do you use? Same issue as you with radio before .48 ... try it or .54 ;)
[Nexus 4 Original Android Development] biomech91:
I've got .48, I'll give .54 a try and see if it helps.

Thank you!
[Nexus 4 Original Android Development] yethz:
I didnt knew the r666 is using gpu performance as default.

I wonder where my battery drains faster, now i set it to ondemand and see how energy goes.

• Sent from Nexus 4 via Tapatalk

• Rom: AXI0M (6/18) / Kernel: Franco r666(pre-M3)
[Nexus 4 Original Android Development] franciscofranco:
Please, don't take this personally, but:

S H I T... ITS NOT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

That "where my battery went" is the biggest placebo I've seen in a while. I just posted about it 3 posts ago saying that its using faux's Simple GPU governor by default.
[Nexus 4 Original Android Development] Martin_Ro:
Don't get me wrong, I appriciate your work very much, just wanted to collaborate with some thoughts. That on an first beta not everything works like supposed to is clear, I only write my observations to help you with your app.

And regarding framework:

Yes I know exactly what you mean (and I think it's a great lag of functionality that the Activitymanager don't has an event "OnForgroundAppChanged" where you can put an listener on).

What I thought was, that maybe this would be something for MinCo or PA-Rom to implement into the framework to make it an even more fluid expirience (hence I'm allready thinking about implementing it into my own Custom ROM because your idea of "per App CPU settings" is absolut brilliant).

And btw:

Battery is complete normal to very good on 666 for me :)
[Nexus 4 Original Android Development] yethz:
Not? What? I just installed your r666 and used ur app (paid version).

I only changed the color profiles, others are default.

But after checking on Trickster i saw gpu is on performance (maybe trickster doesnt read it right)

• Sent from Nexus 4 via Tapatalk

• Rom: AXI0M (6/18) / Kernel: Franco #156 - Linaro
[Nexus 4 Original Android Development] franciscofranco:
Of course, all feedback is welcomed. All app Intents should be System wide. IF they were I could just write a broadcast Receiver with activity intent MAIN being filtered and it would catch which app was just launched. I'm really fine with the way I managed to make it and I plan on making a standalone app for everyone to use outside of devices that I support, because this method works regardless of the device :)
[Nexus 4 Original Android Development] franciscofranco:
Trickster doesn't read it right. Reboot your phone and do cat /sys/class/kgsl/kgsl-3d0/pwrscale/trustzone/governor if you don't believe me.
[Nexus 4 Original Android Development] yethz:
If the app doesnt read it right then please dont take it personally.

Its like your shouting at my comment.

You should control how u ANNNNNSSSSWWWWEEEERRRRR!!!!!!!!!!!!!!!!!!!

Lol... Peace out bro. Thanks always.

• Sent from Nexus 4 via Tapatalk

• Rom: AXI0M (6/18) / Kernel: Franco #156 - Linaro
[Nexus 4 Original Android Development] rmead01:
My favorite part of this kernel is just when i think everything is running super well, franco comes in and says something was derped and will be fixed and I can't believe it could be better.

---------- Post added at 09:47 AM ---------- Previous post was at 09:46 AM ----------

He answered this same questions less than 1 page before you post. Maybe try reading some of the thread before making statements
[Nexus 4 Original Android Development] franciscofranco:
I didn't take it personally, but I wrote the exact same thing 3 posts before yours. And I was not shouting, I just locked caps
[Nexus 4 Original Android Development] yethz:
Damn this tapatalk, so late to refresh the page.. Too lazy to turn on my pc... Patience guys.

• Sent from Nexus 4 via Tapatalk

• Rom: AXI0M (6/18) / Kernel: Franco #156 - Linaro
[Nexus 4 Original Android Development] alen1901:
Trickster app needs to be updated to support new "simple" governor, thats why there are differences. And dont use both apps, i tried using two apps and trickster is overriding another app. So, delete trickster app, or freeze it, reboot, than use francos app to adjust what you want/need.

Sent from Sparkling Nexus 4
[Nexus 4 Original Android Development] yethz:
I dont need to freeze either apps, they dont conflict each other unless u set them at boot, but i dont.

If i use FKU then i dont touch Trickster and not set at boot.

If i use trickster i cleared App data on FKU and reboot

• Sent from Nexus 4 via Tapatalk

• Rom: AXI0M (6/18) / Kernel: Franco #156 - Linaro
[Nexus 4 Original Android Development] ciprianruse88:
Battery seems to be improved in r666...I really didn't believed that it can get any better than r156 in terms of battery :) Fantastic job as always and thanx to faux for simple gov :thumbup:

Sent from Inferno
[Nexus 4 Original Android Development] Timo_SGS2:
New GPU Gov

Hi Franco, all,

Just curios, is the new GPU Govener device specific, or is there any chance that it may be ported to other devices like GNEX or N7?
[Nexus 4 Original Android Development] franciscofranco:
Specific for devices using Adreno GPU.
[Nexus 4 Original Android Development] nyyankees1237:
Can't wait for M3!!!! Thank you Franco I can't display my gratitude enough for all your hard work. Mako without your kernel is like cake without icing.
[Nexus 4 Original Android Development] manulemaboul:
Can't be perf gov, so obvious, it'd heat up as hell beeing locked at 400, it's a GPU, thoses sh*t are toasters.

Envoyé depuis mon Nexus 4 en utilisant Tapatalk 4 Beta
[Nexus 4 Original Android Development] elzafir:
Guys, little help.

How do I backup and restore custom governor/voltage settings when I want to flash new kernel?

Sent from my Nexus 4 pimped with ParanoidAndroid and Franco.kernel
[Nexus 4 Original Android Development] gallardo5:
I trust you, but I just want to know, if I've got checked optiom "set at boot" in trickster for my undervolting, wouldn't it overwrite default settings and set the performance governor on boot?
[Nexus 4 Original Android Development] Cuzz1369:
Can't do that.....yet. Franco said its coming though.

Carbonized and francofied N4
[Nexus 4 Original Android Development] Imppy:
Tried joining the beta page...but gave me an error
[Nexus 4 Original Android Development] aimcr7:
Just take screenshot of the settings and flash new kernel, so you can always re-apply your last settings from that images.
[Nexus 4 Original Android Development] elzafir:
Thanks for the info!

LOL. That's a neat advice. Never thought it before. Thanks.

Sent from my Nexus 4 pimped with ParanoidAndroid and Franco.kernel
[Nexus 4 Original Android Development] Cuzz1369:
You have join the community first. There are links all over this thread. Just search for them.

Carbonized and francofied N4
[Nexus 4 Original Android Development] gpvecchi:
[MENTION=3292224]franciscofranco[/MENTION] Suggestione for FKU: clicking on field in status page could open relative selection page, if available.
[Nexus 4 Original Android Development] jarayn:
yeah i thought this would be nice too.

Clicked many times on those areas wondering what was going on before my tired mind caught up.
[Nexus 4 Original Android Development] Shano56:
I suggested this some time ago :p
[Nexus 4 Original Android Development] 3dupunk:
[MENTION=2476475]franco t[/MENTION]he per app settings are great and all that but why not leave the system-wide power mode as well? I like the convenience of setting what I want system wide. I'm depressed just thinking about going through my apps and setting each one up. I'm sure I will use the per app settings at some point and I am not ungrateful, I honestly appreciate the work you have done but please if at all possible make it so that the people like myself who have a ton of apps can have their power modes.
[Nexus 4 Original Android Development] goTouch:
Off-topic (not FKU). After playing around a little bit, I decided to use this custom values and I have never seen a system so smooth and fast:

governor - interactive

dynamic_scaling - unchecked

above_hispeed_delay - 20000

hispeed_freq - 1350 Mhz

min_sample_time - 80000

timer_rate - 20000

input_boost_freq - 702 MHz

I even decided to underclock a little bit, setting max frequency to 1350 Mhz.

If someone is willing to try this settings and give a feedback I would appreciate.
[Nexus 4 Original Android Development] fozzie:
I used to have both Trickster & f.Ku installed and believe me, Trickster still interfered even though nothing was set to run on boot. I'd uninstall it if I were you.
[Nexus 4 Original Android Development] Cuzz1369:
Reboot. r156. Here the lastkmsg:

http://db.tt/5QoFjgig

Carbonized and francofied N4