yashsingh1/xdaforums huggingface dataset:
[Nexus 4 Android Development] themike10452:
create a file in /system/etc/init.d that contains this code and restart

#Set Governor

echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo "interactive" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

echo "interactive" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor

echo "interactive" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

Sent using my nexus⁴ running Purity ROM 4.4.1 powered by Hells-Core b42-n Linux 3.4.71 kernel.
[Nexus 4 Android Development] provolinoo:
199 is out in the other thread
[Nexus 4 Android Development] ermacwins:
Compatible with cm11 nightlies?
[Nexus 4 Android Development] arlenwoot:
Ziddey posts them in his USB OTG thread, download from there. http://xdaforums.com/showthread.php?t=2181820

Yes
[Nexus 4 Android Development] lvdb:
same problem with r199-CM , stock on PERFORMANCE with reboot when changing to INTERACTIVE ;-(
[Nexus 4 Android Development] themike10452:
read people! it was just a few posts above, try this:

create a file in /system/etc/init.d that contains this code and restart

#Set Governor

echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

echo "interactive" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

echo "interactive" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor

echo "interactive" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

Sent using my nexus⁴ running Purity ROM 4.4.1 powered by Hells-Core b42-n Linux 3.4.71 kernel.

Sent using my nexus⁴ running Purity ROM 4.4.1 powered by Hells-Core b42-n Linux 3.4.71 kernel.
[Nexus 4 Android Development] joeski27:
Yeah I just did this and it didn't work, sampe problem. Even double checked the code and its exactly as you have it. Is there anything that this file should be named or does it not matter? I also tried changing the file permissions to match the rest of those in /system/etc/init.d but I have no idea what else is going on.

Edit - nevermind, I got it working. Was just a typo in the code upon further examination. But why don't these kernels have more options for governors (or maybe that's a dumb question?)?
[Nexus 4 Android Development] djdeeles:
Same problem for me :( I cant solve it.
[Nexus 4 Android Development] provolinoo:
yep, that's what I wanted to mean with my message :D
[Nexus 4 Android Development] joeski27:
Of course one other problem that isn't mentioned is that of course everytime you reflash a nightly you have to recreate this file. This is annoying as hell. Any tips on how to avoid this?
[Nexus 4 Android Development] rpcob:
This does not work, atleast not on r199. I created the file then restarted, however its still stuck on performance
[Nexus 4 Android Development] themike10452:
this self-discovered method worked for me before, and i'm glad it worked for you. About your question; Franco doesn't like to include "stupid" cpu governors as he calls'em. FAUX's has more governors.

Sent using my nexus⁴ running Purity ROM 4.4.1 powered by Hells-Core b42-n Linux 3.4.71 kernel.

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

this script should run only once, after that you can use trickster mod. You can create a file on your sdcard and call it govfix.sh for example, and run it once with SManager with root elevation after you flash a nightly. Anyway if you don't wipe the system partition before flashing the file will remain.

edit: If I'm thinking right, flashing a new nightly will not affect kernel settings at all. No need to do anything after flashing, it will keep working. Unless you flash a new version of Franco's kernel.

Conclusion: You need to create this file again only if you wipe your system. Flashing a new version of FK or a new ROM nightly will not affect the file. So keep a backup of the code on your sdcard just in case.

Sent using my nexus⁴ running Purity ROM 4.4.1 powered by Hells-Core b42-n Linux 3.4.71 kernel.
[Nexus 4 Android Development] anandbibek:
I take the zImage out from ziddey's otg modded zip file, put it inside the zip from r195 that has no otg mod files, but only anykernel files.

Then flash the self created zip. This way I don't get stuck on performance governor.

If I flash the otg zip, I also get stuck on performance governor.

Check if this helps. This is my created zip

https://www.dropbox.com/s/umrjbsn9m4050z3/franco-r199-cm-ziddey.zip
[Nexus 4 Android Development] djdeeles:
Broken link.
[Nexus 4 Android Development] anandbibek:
Here https://www.dropbox.com/s/umrjbsn9m4050z3/franco-r199-cm-ziddey.zip
[Nexus 4 Android Development] themike10452:
yea you only need the zImage file from kernel folder.

Sent using my nexus⁴ running Purity ROM 4.4.1 powered by Hells-Core b42-n Linux 3.4.71 kernel.
[Nexus 4 Android Development] provolinoo:
so the problem is in the otg mod, we should inform ziddey about that
[Nexus 4 Android Development] anandbibek:
Did anyone confirm if it works for others too?
[Nexus 4 Android Development] anandbibek:
Ziddey, if it'd help, I had this problem and created this workaround for myself since 197. So you could compare ramdisks between 195 and 197 (since cm11 nightly of 12/10
[Nexus 4 Android Development] ziddey:
That's exactly what the post above is.
[Nexus 4 Android Development] mnajem:
can you share the source for CM enabled faux and franco too?

thanks.

i want to learn compile these kernels (for CM patches) with my own toolchain/optimization flags
[Nexus 4 Android Development] mathorv:
ziddley I know its late but could you try to mod 4.3 franco kernel the way you did 4.4 kernel? Any newer adjustments at older kernel?

I know its really late request, just want to came up with something that is perfectly stable - 4.3 (10.2).
[Nexus 4 Android Development] joeski27:
Evidently this isn't true. I created the file as you instructed, and then after rebooting the script did work. However a short time later I flashed the next nightly, followed by the kernel, and after rebooting I found that the file with your script was no longer there. The best I could do was keep a copy of the file on the internal storage (SD) and copy it back to the system folder after setting up the new nightly.

---------- Post added at 10:23 PM ---------- Previous post was at 10:17 PM ----------

Yeah I couldn't agree more. I have no idea what the problem is. Been following the guy and his work faithfully for the so long, but now I just don't know what the deal is. I even purchased the full version of his updater app but now its completely effing useless to me, which is terrific. Incredible dev, but very disheartening. And yeah, when you see his explanation, he, in typical cranky Franco form, just *****es about cyanogen, "bull****" this and "****ty" that. And have you seen the OP in that thread, with all his warnings of what to ask and not to ask? Its a total PMS fest. In all honesty, I'm sure being a dev comes with a lot of crap with people hounding you about every little thing, but that does not give a person license to get all high and mighty. Really starts to become a negative vibe in an otherwise very friendly and approachable android community. Oh well.
[Nexus 4 Android Development] anandbibek:
Totally agree with you Joeski. I'm inclined to feel that android community is losing the cheerful approach I once loved it for.

It's not only franco being arrogant, but CM also being the same. I don't know why they are after destroying the general compatibility by modifying ramdisks which aren't absolutely necessary.

And there are people who just follow the hype and don't see the bigger picture.

I have asked for help on Opera Mini ART issue in a thread and there's no reply since many days and there on Franco thread we have 5 new posts every hour thanking the OP for "improved" performance and battery life in new version of kernel.
[Nexus 4 Android Development] terodeg:
Ziddey can u also make it on n5?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 4 Android Development] themike10452:
well it seems your rom or kennel zip clears init.d folder while installing. yes this is the best thing to do, keep a backup.

Sent using my nexus⁴ running Purity ROM 4.4.1 powered by Semaphore 1.8.7 Linux 3.4.74 kernel.
[Nexus 4 Android Development] provolinoo:
I totally agree with you, his developing skills are inversely proportional to his courteousness.

He's a some kind of rough diamond.

Maybe it should stop developing for a while and start to strongly work on his character.
[Nexus 4 Android Development] Step-han:
I've made a init.d franco.Kernel configuration for personal use. I've seen the issues u guys had with setting up a new governor. This script can help u. It places a init.d script in /etc/init.d/ named 88-step-han. U can changes things for ur personal config. Reboot to have the new settings.

Things u can changes with my init.d script:

- CPU governor

- CPU scheduler

- Min. CPU freq while screen is on

- Min. CPU freq while screen if off

- Max CPU freq while screen is on

- Max CPU freq while screen if off

- CPU touch input boost freq

- CPU touch boost duration

- CPU temp throttle

- Max GPU freq while screen in on

- USB fast charge

- Doubletap to wake

Download franco.Kernel init.d configuration (Version 2.2 tested on franco.Kernel r200)

Download franco.Kernel init.d configuration DELETER (this .zip will remove the script from your rom)

Download franco.Kernel init.d configuration WITH HALFBREED COLOR PROFILE (Version 2.4 tested on franco.Kernel r203)

It's a flashable .zip. Flash with recovery

Q: What is HALFBREED Color Profile?

A: Answer

Hit the ''thanks'' button if it helped you! :D
[Nexus 4 Android Development] thunder2k:
Hi guys,

I'm experiencing a weird thing: my CPU Max freq sticks on 1315! No matter what I set in fku, cm settings, or Step-han script : it always come back to 1315.

What can I check? I've already wiped fku data, unchecked the set on boot stuff in cm settings.

I'm on latest cm11 nightly with r199-mod kernel taken from this 3d.

Please give me some hints as this is driving me nuts, and I suspect it's what is giving me a lot of random reboots.

Bye

EDIT: Here is a link to a kmsg after a random reboot, I hope someone can understand what's wrong!

https://www.dropbox.com/s/7u6acee1nlngfzr/last_kmsg

Inviato dal mio Nexus 4 con Tapatalk 4
[Nexus 4 Android Development] terodeg:
Please can u also make fauxkernel for n5?

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 4 Android Development] mastel97:
Did you try to change your governor?

Sent from my Nexus 4
[Nexus 4 Android Development] thunder2k:
Nope, cause it only shows me Interactive and Performance, and I think the second one is too battery hungry for me..

Inviato dal mio Nexus 4 con Tapatalk 4
[Nexus 4 Android Development] anandbibek:
Why you no use my edited zip and have working interactive governor?

http://xdaforums.com/showthread.php?p=48418595
[Nexus 4 Android Development] thunder2k:
I'm actually using your modified zip file.. Interactive governor works.. My problem is with CPU freq and some random reboots.

By the way, here are some kmsg from last reboots, I hope someone can give me some hints cause I'm groping in the dark:

https://www.dropbox.com/s/e22gnp7eocn770j/last_kmsg_hw_reset

https://www.dropbox.com/s/sc1ytrerpius2pq/last_kmsg_kernel_panic

Inviato dal mio Nexus 4 con Tapatalk 4
[Nexus 4 Android Development] ziddey:
[ 79.734869] PC is at thread_migration_notify+0x40/0xf4

[ 79.734961] LR is at notifier_call_chain+0x44/0x84

[ 79.769784] init: cannot execve('/sbin/fkbootscript.sh'): Permission denied
[Nexus 4 Android Development] thunder2k:
Is it something kernel related? Please tell me how to solve this stuff cause it's becoming pretty frustrating.. A couple of times per day, it reboots itself.. If you need more kmsg, I have a Tasker profile that creates it at every boot, so don't be shy :)

Inviato dal mio Nexus 4 con Tapatalk 4
[Nexus 4 Android Development] anandbibek:
Let's all spam Franco's thread. At least he should get his ramdisk compatible with CM, leave alone CAF.

I mean who uses a bleeding edge custom kernel and stays on stock ROM? Earlier people would've said XPOSED. But now that xposed doesn't work on ART and dalvik feels so laggy after using ART, I don't see any reason for using stock.
[Nexus 4 Android Development] thunder2k:
r200 is out, [MENTION=584916]ziddey[/MENTION], please make the magic happen :)

Inviato dal mio Nexus 4 con Tapatalk 4
[Nexus 4 Android Development] arlenwoot:
He already did, its posted in his USB OTG thread. http://xdaforums.com/showpost.php?p=48954164&postcount=1373
[Nexus 4 Android Development] provolinoo:
I totally agree with you, it's quite uncommon to see users with stock roms using custom kernels.

Usually, users of custom kernels are users of custom roms as well.

Anyway, I really do not understand why Franco keeps unreleasing his kernel with a cm-compatible caf version when it's just a matter of few lines code.

Several kernel devs use this approach (two versions of their kernel, one for aosp-based and one for cm-based roms), Franco should do the same.

We are talking about CM11 here, maybe the most used custom rom in the world, it should count something, shouldn't it?

---------- Post added at 01:32 PM ---------- Previous post was at 01:14 PM ----------

another cm11 compatible version of franco r200 is available here:

http://xdaforums.com/showthread.php?p=49013484
[Nexus 4 Android Development] anandbibek:
Just in case someone wanted a flashable zip with fixed interactive governor https://www.dropbox.com/s/7oeod88crzo2kn6/franco-r200-cm-fixed-governor.zip

---------- Post added at 08:10 PM ---------- Previous post was at 08:07 PM ----------

Are your reboots happening during boot time?
[Nexus 4 Android Development] howard bamber:
That's totally wrong now. The days of needing custom roms has gone. Kk, debloated is great. Kernels are the problem. I use stock roms and custom Kernels. Improves the colour, sound bluetooth etc. They just rush the kernel.

By backwards engineered alien technology.....
[Nexus 4 Android Development] anandbibek:
They rush the ROMs too
[Nexus 4 Android Development] thunder2k:
They happen at boot time AND during normal usage.

Do you have any hints?

Inviato dal mio Nexus 4 con Tapatalk 4
[Nexus 4 Android Development] anandbibek:
As your kmesg shows, problem in sbin/fkbootscript. Check of it has proper permission of. rw r r
[Nexus 4 Android Development] thunder2k:
Actually, that file is no longer present, but I'm still having those reboots.

Here's a new kmsg from last random reboot (I was sleeping during last reboot, so my usage is not involved) :

https://copy.com/6JeoW

Inviato dal mio Nexus 4 con Tapatalk 4
[Nexus 4 Android Development] anandbibek:
That file should be there if you are using Franco kernel. I suggest you flash CM or whatever rom u r using, again to go back to rom's default kernel, then flash the zip I posted.

I believe your ramdisks are messed up
[Nexus 4 Android Development] thunder2k:
I flash New nightly everyday with cyandelta. It also flashes Gapps, modified fk from zidley otg 3d and the dalvik patch. So, basically, I refresh everything everyday.

How is it possible that I haven't got that file?

Please tell me something else I can check out.

Thanks

Bye

Inviato dal mio Nexus 4 con Tapatalk 4
[Nexus 4 Android Development] anandbibek:
You gotta figure it out yourself. It's so impossible an error. Try cwm recovery from koush
[Nexus 4 Android Development] willybarca:
there is a new fauxkernel, desperately waiting for your cm version
[Nexus 4 Android Development] EnginEAR:
+1

http://faux.androidro.ms/mako/kk44/mako-kk-kernel-031u.zip
[Nexus 4 Android Development] natzy85:
I am also waiting for the newest faux kernel :)
[Nexus 4 Android Development] kekko986:
+1

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Android Development] NUNsLAUGHTER92:
Franco r195 seems to break WiFi for some reason. When flashing it on 4 different nightly builds on P.A.C it wouldn't let me turn WiFi or tethering on. I went back to r193 and it's fine.

Probably something franco did though since you only compile with those two extra things.
[Nexus 4 Android Development] c_86:
No new version for fauxs new kernel? OP are you able update for this new kernel?
[Nexus 4 Android Development] xtrymind:
here it's faux 031m for CM 11, i'm compile it with linaro 4.8.3

http://goo.gl/CsId3U
[Nexus 4 Android Development] kekko986:
Hi... I dont understand..i can flash it or i have to compile it?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Android Development] xtrymind:
you just flash it, i mean i compile it using linaro 4.8.3 :D

my bad
[Nexus 4 Android Development] kekko986:
Woooonderful! THX for sharing! Is it date-build releated? Or i can flash over nightly after nightly?

I m on 11-20140113-NIGHTLY-mako build

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Android Development] thunder2k:
Nothing about fk r201?

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Android Development] kekko986:
I have flashed it ...it works! Bit now i have half-boot animation...i m the only one??

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Android Development] xtrymind:
yes, you can flash it nightly there's no build related

---------- Post added at 05:52 AM ---------- Previous post was at 05:49 AM ----------

yes it's, dont know why, i have faux kernel compile with 2 commit and one with modified lib on calculin thread, it show only half boot animation :D
[Nexus 4 Android Development] kekko986:
"trouble shared is a trouble halved" i dont know if is correct translated...but it means that if i m not the only one...all goes right! ?

THX a lot!!

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Android Development] xtrymind:
Well i'm using it too and havent got any trouble for now :D
[Nexus 4 Android Development] xtrymind:
and here it's franco r201, i'm compile it with linaro 4.8 too

http://goo.gl/eIe0cW
[Nexus 4 Android Development] thunder2k:
I've just downloaded it, and it seems to be more than half Mb less then the standard one.

Is it expected?
[Nexus 4 Android Development] xtrymind:
which is standard one? official franco or modiffied by ziddey?
[Nexus 4 Android Development] thunder2k:
Ziddey one

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Android Development] xtrymind:
well yes, maybe it's because i'm using with linaro 4.8,

but at least it was working fine :p
[Nexus 4 Android Development] thunder2k:
Fine, I was scared that my download is corrupted

Inviato dal mio Nexus 4 utilizzando Tapatalk
[Nexus 4 Android Development] spider623:
Works just fine
[Nexus 4 Android Development] xtrymind:
nope :)
[Nexus 4 Android Development] spider623:
Can you please update the op with the new faux?
[Nexus 4 Android Development] xtrymind:
nope, i'm not the OP :p

but here it's faux 31m http://goo.gl/CsId3U
[Nexus 4 Android Development] spider623:
I know that, it's 4 post above this, the op is stacked at 30
[Nexus 4 Android Development] xtrymind:
franco r202 for cm 11

http://goo.gl/nu5kjS

:victory:
[Nexus 4 Android Development] thunder2k:
Is it possible for you to create a folder on your drive to put this kernels in?

It would be great, so that I can add It to my account and have them automatically downloaded when you add them :)

If you haven't got enough space left, I can host it for you :)

Besides, thanks for keeping this project updated!

Sent from my Nexus⁴
[Nexus 4 Android Development] xtrymind:
Yes i can,

I will do it later when i get home :)
[Nexus 4 Android Development] anandbibek:
Thank you so much. Please upload somewhere else if possible
[Nexus 4 Android Development] xtrymind:
here it's folder http://goo.gl/KDUL1c :)

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

i think i cant, i'm still using 3g modem :(

dl is good, but up very2 bad
[Nexus 4 Android Development] xtrymind:
franco r203 :)

http://goo.gl/hnS0M8

some mirror http://xtrymind.com/android/download.php?file=franco-r203-CM-linaro.zip
[Nexus 4 Android Development] zaraza23:
Sorry for noob questions, but how I can install franco kernel from ziddey on CM? I don't se zip for recovery

neXus⁴
[Nexus 4 Android Development] xtrymind:
All of franco ziddey kernel is zip file, you just download it, put it on internal memory, and flash via recovery
[Nexus 4 Android Development] zaraza23:
I can't find zip file, mirror download for me download.PHP

neXus⁴
[Nexus 4 Android Development] xtrymind:
Try download with browser, don't use download manager like idm,
[Nexus 4 Android Development] zaraza23:
Ok thanks, one more things, I am on last nightly CM, just download and flash recovery? Or must something do else? Some script or binary files instal?

neXus⁴
[Nexus 4 Android Development] xtrymind:
Yes, just download and flash with recovery :)
[Nexus 4 Android Development] justanut:
Keep going into preview on my phone's browser.. how to download? Lol..
[Nexus 4 Android Development] xtrymind:
there is mirror if you cannot download from google drive
[Nexus 4 Android Development] justanut:
Ah missed that post. Awesome. Thanks!
[Nexus 4 Android Development] xtrymind:
You are welcome, happy flashing :D
[Nexus 4 Android Development] FPChaim:
Can you please make a cm compatible faux kernel with overclock?(faux-031u-CM-linaro.zip)

Thanks in advance :D
[Nexus 4 Android Development] xtrymind:
uploading right now :)

---------- Post added at 11:35 PM ---------- Previous post was at 11:27 PM ----------

here faux 031u cm version

http://www.androidfilehost.com/?fid=23329332407567179
[Nexus 4 Android Development] krispuniq:
I think this implementation breaks the color setting options in faux kernel? I'm not able to choose any color profile from faux clock
[Nexus 4 Android Development] xtrymind:
in theoretical, yes it will break, because it change colour invertion

but read from ak thread that faux color setting wont work on CAF
[Nexus 4 Android Development] stab244:
I'm using the CAF version of faux from the crDroid thread and color control works fine for me with faux's display app. On the nightly from the 25th.
[Nexus 4 Android Development] FPChaim:
Thanks!!

You made my day :D
[Nexus 4 Android Development] xtrymind:
So thats worked, thats good, ak said it not compatible to caf

---------- Post added at 10:19 AM ---------- Previous post was at 10:18 AM ----------

You are welcome buddy :)
[Nexus 4 Android Development] thunder2k:
Hi,

from r202 I'm experiencing a lot of random reboots.

What is it changed? I reverted back to r201 and it's working pretty well.

Sent from my Nexus⁴
[Nexus 4 Android Development] Step-han:
Try r203. r202 is kinda buggy..

Sent from my LG Nexus 4 running Android 4.4.2/CM11.0
[Nexus 4 Android Development] thunder2k:
I tried both, but same result: a lot of random reboots.

Is anyone experiencing the same?

Sent from my Nexus⁴
[Nexus 4 Android Development] xtrymind:
i'm on 203 and never encountered random reboot, all is well

after random reboot occur, please look at last_ksmg
[Nexus 4 Android Development] thunder2k:
I've got a drive folder https://docs.google.com/folder/d/0B0v9UR9LXOPUUzQzNzNoY1ZIRm8/edit Where u can find all my kmsg.

Please have a look from 17th Jan, until I moved to hells core due to those reboots, but I experienced with it as well.

I try to look at them, but I can't figure out the root cause..

Sent from my Nexus⁴
[Nexus 4 Android Development] xtrymind:
wow a lot of last_kmsg :D

have you got last_kmsg on 203?

on 202 it caused by kernel panic, there is a lot error that make kernel panic, heat is one of it

---------- Post added at 07:02 PM ---------- Previous post was at 06:58 PM ----------

on 203, your problem is also kernel_panic, strange that on my mako, i'm never encountered random reboot since 202
[Nexus 4 Android Development] thunder2k:
Due to those random reboots, I set up a Tasker job that pulls automatically kmsg after every reboot. With a sync app, it put automatically on this shared drive, so you have it always updated :)

On 203 maybe I disabled it.. Do you need me to enable again?

Sent from my Nexus⁴
[Nexus 4 Android Development] xtrymind:
nope, on your last_kmsg 22 jan, it's on 203,

will try to dig it up later, thanks for kmsg :)