yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] ckarv:
Still no support for encrypted file systems? Phone hangs after going to sleep, and needs a hard reset.
[Nexus 5 Original Android Development] Swiftks:
Ppffff.... Don't I feel like a moron. Skipped right over it to the "you'll need this file link."

Hey, at least I was right about the load threshold. :p

Thanks
[Nexus 5 Original Android Development] Tzfardaya:
he means to enter 0 in that field, franco suggsted the other day that we try running our phones in pure quad core for a while to see what happens...

to do that you set load_threshold to 0 (setting to 100 forces dual core only)

simply put, when the cpu cores 0 or 1 reach the load_threshold level, it activates core 2 or 3 (0 and 2 are linked, 1 and 3 are linked iirc)

by setting l_t to 0, cores 2 and 3 are always on...

Keep in mind everything in this thread exists at a testing level, we are all beta/production testers of the franco kernel and related apps... :p

by using tunes/scripts that others have created, you're using what works best for them, not necessarily for you.... but, you also have the ability to play with their tunes and find what works best for you too...
[Nexus 5 Original Android Development] franciscofranco:
Its not that it doesn't support encrypted file systems, I just don't know what broke it and I don't encrypt my phone so can't test. I keep searching for the cause though.
[Nexus 5 Original Android Development] ckarv:
I see, thanks for the response! I'll keep trying, and will report when it works again :)
[Nexus 5 Original Android Development] fugn:
I'm using your fku settings [MENTION=1363323]vomer[/MENTION], I was wondering if you use per apps mode for more performance demanding apps? Thanks
[Nexus 5 Original Android Development] raijinshou:
How to change the kernel minimux brightness? It's too low for me, the one like r33 match me more.
[Nexus 5 Original Android Development] resynx:
You can disable it using FKU in kernel settings.
[Nexus 5 Original Android Development] RobLudo:
In FKU beta there's an option to disabile it.

Kernel settings -> backlight dimmer
[Nexus 5 Original Android Development] The Gingerbread Man:
I was at home most of the day on WiFi network with quite a low screen brightness. 3g network. I was also using apps with per app modes a fair bit, like Tapatalk, Nintendo D's emu. That was exceptional for me.

Today I'm at 15% left with 4.45 sot but been to work, no WiFi there, different usage of apps and poor signal in some areas of the building.
[Nexus 5 Original Android Development] psp9000333:
[MENTION=1363323]vomer[/MENTION] so do we just put your file into etc/init.d? does it a activate right after we reboot/boot our device? I set the permissions too. I really hope this claim of the extended battery life/performance helps.

Sent from my Nexus 5 running Carbon ROM using Franco Kernel R36
[Nexus 5 Original Android Development] Tzfardaya:
pretty much...

as long as your rom supports init.d scripts it should work...

there are apps that will replicate the init.d system in the app store if your rom doesn't.

the one I recommend for testing also has an init script replacement as well as the ability to test whether or not the your rom supports it.

try this one to test...
[Nexus 5 Original Android Development] Meakii:
I agree your settings are crazy good on battery when on WIFI, but the second I start using 3g my battery drops like a stone. Brilliant if you have conistently good reception though.
[Nexus 5 Original Android Development] Lownita:
Since the search doesn't seem to work right now, I need to ask: What was the command to disable the dim minimum auto brightness?

Also, I am still experiencing some audio stutter from time to time while listening to music over bluetooth in my car. Any ways to solve this? :silly:
[Nexus 5 Original Android Development] Tzfardaya:
echo 0 > /sys/module/lm3630_bl/parameters/backlight_dimmer

but you need to re apply it every boot,

use fku beta, vomer's init.d, or another app like tasker to set it.
[Nexus 5 Original Android Development] Nbsss:
Hmm might've found another tweak to help with smoothness, will share after I see how it affects battery..
[Nexus 5 Original Android Development] Tzfardaya:
nooo, share now share now!!! :p
[Nexus 5 Original Android Development] FAdrums:
Haha awesome!

Bem me parecia que era ali ao pé! Lol

PS. Too busy to do android stuff: inFamous Second Son arrived one day early! :D

Tapatalked from my Franco Vanilla ARTified Viper Nexus 5
[Nexus 5 Original Android Development] BullHorn7:
It makes sense now... Since I came home with 24% almost 6h ago, I've been using it a bit and it's only down to 17%. It is indeed insanely good while on WiFi. :eek:
[Nexus 5 Original Android Development] rockafellor:
[MENTION=1363323]vomer[/MENTION] any chance to get to know the settings from your script to enter it in fku? Or does your script make the changes in fku too? Thanks in advance

Sent from my francofied cataclysmd Nexus 5
[Nexus 5 Original Android Development] vomer:
The script takes care of everything.

Sent from my Nexus 7
[Nexus 5 Original Android Development] Tzfardaya:
once the init script has ran. the setting should show up in the fku app... the fku app gets the current values from the same files that the init script edits...
[Nexus 5 Original Android Development] TrenchKato:
Yup and anything you would like to tweak can be commented out of the the script.
[Nexus 5 Original Android Development] Tzfardaya:
or edited in the script as a fku replacement// :p
[Nexus 5 Original Android Development] TrenchKato:
Of course. I'm difficult. [emoji16]
[Nexus 5 Original Android Development] FAdrums:
Hey Vomer, first of all thanks for you work but I'm having some trouble running it through method 2 (via terminal emulator) it just says invalid path but the file is exactly where it should be (downloads). Any tips? Thanks

Tapatalked from my Franco Vanilla ARTified Viper Nexus 5
[Nexus 5 Original Android Development] Tzfardaya:
(first of... vomer, not comer... :p)

secondly, what is the terminal command you're having issue with?

walk me through the commands that you've successfully ran. and where you're bogged down at.

edit: just looked at vomers guide...

the first command ( Switch User )

should be lowercase su not capitalized SU

(I usually run "su -")
[Nexus 5 Original Android Development] PhantomGamers:
http://www.xda-developers.com/android/android-5-0-to-feature-linux-kernel-3-14-totally-possible/

Android kernel newz?!

I'm skeptical that 3.14 would be used at all, and if it was I doubt we'd see it officially on the N5... but the idea of a 3.14 based franco kernel makes me tingly ;P
[Nexus 5 Original Android Development] Tzfardaya:
[MENTION=4595250]FAdrums[/MENTION]

try running this set of commands..

su -

cd /sdcard/Download

ls

<check for 01VomerTweaks, if it exists run the following>

sh ./01VomerTweaks

<if it doesn't exist, try downloading it again>
[Nexus 5 Original Android Development] FAdrums:
LMAO yup I know but the autocorrect changed it to comer (which means to eat in portuguese lol ).

I managed to sort it out. It was download with no 's' and no capital 'D' at the begining! :D

Lets see how it behaves! :D

Thanks for the tips though! :)

Tapatalked from my Franco Vanilla ARTified Viper Nexus 5
[Nexus 5 Original Android Development] vomer:
Thanks for helping out buddy :)

Ah I have done that in the past lol. Glad it worked out and I also learned some Portuguese ;)

Sent from my Nexus 7
[Nexus 5 Original Android Development] FAdrums:
Yup small mistake on my side! Everything seems to be working fine. Just noticed that all 4 cores are on but at a lower frequency. Interesting. Let see how it runs. So far so good!

Once again thanks for your work! :)

Tapatalked from my Franco Vanilla ARTified Viper Nexus 5
[Nexus 5 Original Android Development] aow1980:
[MENTION=1363323]vomer[/MENTION] thanks for the script. Giving it a shot a now.
[Nexus 5 Original Android Development] Tzfardaya:
simple shell error, you might want to look at your own directions.. SU should be su, /sdcard/Downloads should be /sdcard/Download...

and it looks like [MENTION=3292224]franciscofranco[/MENTION] forgot he said he'd leave us those missing 4 paths after he got back from lunch....

either that... or he's enjoying some extended sexy time with his young lady friend who isn't his gf... :p
[Nexus 5 Original Android Development] BullHorn7:
OK, so here are my Day 1 results with The Gingerbread Man's settings. No PerApp settings were used. Most of the day (9h) was on 3G, 2h were on Airplane mode and the last 6h were on WiFi.

-It's the first time the phone lasted me more than 14h (usually with 2-2.5h SOT)

-It's the first time I got more than 3h SOT

I'll keep on testing and see if I can keep the same battery life but slightly improve performance.
[Nexus 5 Original Android Development] vomer:
Fixed already :)

Sent from my Nexus 7
[Nexus 5 Original Android Development] ebahena:
Can you i direct me to where you found gingerbread man's setting because the search is currently down with xda.
[Nexus 5 Original Android Development] BullHorn7:
http://xdaforums.com/showpost.php?p=48709010&postcount=230&nocache=1&z=1599064473994076
[Nexus 5 Original Android Development] Tzfardaya:
ooh, just found a way to adjust the min gpu freq as well... bwah hah ha..

and there's the fast charge toggle...
[Nexus 5 Original Android Development] franciscofranco:
Nah I don't do that :)

Can you remind me which paths you want?
[Nexus 5 Original Android Development] Tzfardaya:
just need the path/file to the following tunables:

fsync, thermal throttle, and the tcp congestion algorithm..

and if possible some clarification on the purpose of sampling_down_factor, up_threshold_any_freq, and up_threshold_any_load tunables... (I haven't found descriptions of the last two on google, and the descriptions I've found for sampling_down_factor don't mesh with your default setting..

edit: Please? and thank you... :p
[Nexus 5 Original Android Development] ConMcCRay:
These are my settings, I'm on R36, I have ART enabled and my max/min is 960/300 and my GPU max is 200... Its responsive and smooth for me. with great battery life. but I just wanted to share my settings. If anyone can give me some more tips to squeeze some more juice from my phone I'd love them. THANK YOU FRANCO.
[Nexus 5 Original Android Development] wardawgmalvicious:
It could've been a combination of things, because I think I did it pretty close at the same time. But my screen looks so much better all the time, and I think the way Franco's handles the screen is much better than Lux which is still good, Franco's is just that much better.

-wardawgmalvicious

Rooted N5/N7 2nd Gen

MultiROM TWRP

Franco Kernel

Stock 4.4.2 w/ GB & XUI

-Sent using Tapatalk
[Nexus 5 Original Android Development] holysnikey:
I'm having a weird issue. I try to flash Franco and I get issues with either GApps or boot loop. First I tried with the app and I'd get launcher.acore along with other GApps FCing to the point of not being able to use my ROM. So I tried just downloading and flashing but as soon as it goes to go through the apps after wiping caches it reboots and just keeps doing it. I'm in Liquid ROM and haven't flashed Franco before on my Nexus 5. I use to love it on my GNex. But anyway ideas why this happening?
[Nexus 5 Original Android Development] Tzfardaya:
I remember a big fight on this thread a while ago about liquid... whether it was CM based or not, I don't remember how it ended, but if (IF) liquid is based on CM or uses a lot of CAF patches, it won't be compatible with the franco kernel.

I'd suggest trying another rom if you'd really like to try franco's kernel....
[Nexus 5 Original Android Development] holysnikey:
Ya I would. Its weird because I tried 2 CAF kernels and it wouldn't boot but right now I'm running Trinity fine which is AOSP. I guess I'll skim the thread see what everyone's running and maybe hope someone replies.
[Nexus 5 Original Android Development] dead90:
I don t know why i can t put vomer profile manually with emulator. It says file Not found but the file is there

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] PetritH:
go ahead delete this System/etc/init.d/00_uber, then franco will run :)
[Nexus 5 Original Android Development] Tzfardaya:
vomer had a couple typo's in his directions before...

try

su

cd /sdcard/Download

sh ./01VomerTweaks

vomer has SU and sh /sdcard/Downloads/01VomerTweaks

should be su and sh /sdcard/Download/01VomerTweaks
[Nexus 5 Original Android Development] dead90:
I ve done it, till download dir all ok, after that no

Edit using first method, all ok

Inviato dal mio Nexus 5 utilizzando Tapatalk
[Nexus 5 Original Android Development] franciscofranco:
fsync: /sys/module/sync/parameters/fsync_enabled

thermal throttle: /sys/module/msm_thermal/parameters/temp_threshold

I already gave you the tcp congestion thingy on that list.
[Nexus 5 Original Android Development] Tzfardaya:
[MENTION=3292224]franciscofranco[/MENTION]

just found the temp threshold file at

/sys/module/msm_thermal/parameters/temp_threshold

so just need to track down the paths for:

fsync

tcp congestion algorithm

and a couple tunable descriptions.. :p

thanks again, I'm going to keep digging in the meantime. Try to find the rest while I wait. ;)

edit: ninja'd

yes, you did, but the tcp congestion thingy wasn't a path, how would we go about using it to change the congestion algorithm?

public static final String CONGESTION_ALGORITHM = "net.ipv4.tcp_available_congestion_control";
public static final String CONGESTION_ALGORITHM_APPLY = "net.ipv4.tcp_congestion_control";
[Nexus 5 Original Android Development] holysnikey:
It worked thanks dude!
[Nexus 5 Original Android Development] Tzfardaya:
Thanks again, sorry if I'm starting to get a little annoying with these.. :p
[Nexus 5 Original Android Development] peeweew:
Hello, how come when I tap -25 two times to have -50 UV. My phone suddenly restart? But when I use older version of FKU it works.
[Nexus 5 Original Android Development] Tzfardaya:
different versions of the kernel introduced different sensitivity to undervolting...
[Nexus 5 Original Android Development] holysnikey:
Got it running but was wondering is there a recommended settings in the thread for governor tunables anywhere or does everyone use the defaults mostly? I tried to search but didn't find anything.
[Nexus 5 Original Android Development] Tzfardaya:
most use defaults or self tunes...

The Gingerbread Man, Vomer, and a couple others (who I can't recall right now... sorry guys) have published their own tunes... (links are on their names)
[Nexus 5 Original Android Development] holysnikey:
Thanks again really appreciate it. I'm so glad I got back on a Nexus again! Brings me back to my GNex days running the same combo of Liquid and Franco. Beautiful.
[Nexus 5 Original Android Development] Tzfardaya:
yay, my turn to ask for tech support. :P

anyone know why /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq would get the permission set 444 (r/r/r) instead of 664 (rw/rw/r) on boot lately?

might be why some people (myself included) are having some issues setting the mac frequency via terminal.. either direct echo or vomer's script.

I've reinstalled the kernel, wiped fku settings (not sure what good that would do in this case though)

or is this your way of telling me to stop asking so many questions about the workings of your kernel, [MENTION=3292224]franciscofranco[/MENTION]? :p
[Nexus 5 Original Android Development] Curiousn00b:
[MENTION=1363323]vomer[/MENTION], How do I know the 01VomerTweaks is activated correctly?

I flashed fresh, installed everything I needed, then I moved the file to system/etc/init.d gave it the correct permissions, then rebooted.

When I open FKU, the values don't match anything that was set on the pastebin by you. Am I missing something?

Edit: NVM! I got it to work! Thanks. :)
[Nexus 5 Original Android Development] elnahir:
To the people with the battery drain on r36 (I saw you ~8 pages ago!), did you have a TimedEventQueue process eating your battery?

(How) Did you manage to fix this?
[Nexus 5 Original Android Development] Auramaster:
Thanks for the tip, worked perfectly with Liquid 3.0 beta (3-18 build)

For anyone wondering, you just open a root explorer prior to flashing, and delete the 00_uber file, then flash the kernel from recovery.
[Nexus 5 Original Android Development] Ben36:
Back to the auto brightness dimmer. I find it too dark in low light but if I disable it it's too bright, any chance of being able to set a minimum brightness level in fku so it can be tweaked a little higher if wanted?
[Nexus 5 Original Android Development] fbf2201:
Off your alarms [emoji1]
[Nexus 5 Original Android Development] elnahir:
Well, lol to that. :D This is on a stock 4.4.2 with final r36, no UC or UV, except for a PAM for Flappy Bird (yeah, I know..) - 960MHz CPU max / 300 MHz CPU min. That's it. Google Now is off, Scanning for WiFi networks is off.. and the strangest thing (to me) is that my battery was around 40% after ~15 hours of use. I went to bed at around midnight and decided not to charge the phone, but then I wake up 6 hours later and BAM!

I really have no idea what triggered this.

I'm attaching some GSAM screenshots if that will give more info, cause I'm honestly at a loss here.
[Nexus 5 Original Android Development] kecinzer:
[MENTION=1363323]vomer[/MENTION]

I'm trying your tweaks to test it little bit. All works great, but in CPU-Spy I still can see very rare use of higher frequencies than 1267 MHz.
[Nexus 5 Original Android Development] severin333:
Hello franco. It's been a while since I use your kernel on m'y encrypted phone.

My experience show me that yes it can take 'longer' to awake the device, but I assume it is related to encryption... Longer can be several seconds, but hard reboot is not necessary most of the time.

I also noticed this behavior is more likely tout happen if an app is opened, so I think some kernel settings might be able to solve the issue

Hope this will help, and thanks for this great kernel!

---------- Post added at 08:07 AM ---------- Previous post was at 08:07 AM ----------
[Nexus 5 Original Android Development] JeyLo:
r36 final works great, can 100% confirm that now all headphones glithches gone!

great battery at all, i think around +\-30 min SOT at 1.5 Ghz(Max)

BUT i saw new little issue yesterday: in FKU v.11.3, gpu tab i saw dublicating FREQUENCES(200 mhz*2 times, etc). I' made reset setting two times and rebooted and issue not gon

e! I use all the time 200 mhz GPU.
[Nexus 5 Original Android Development] nerotix:
Hmm that's very odd, I still have the audio glitches on latest r36, had so yesterday, did a full wipe and full fresh install with the rom and kernel and still experienced audio glitches this morning on the bike, screen off, in pocket. Using spotify and it happened again within the 1st 10 minutes of listening to music. The glitches I'm talking about are the weird sounding stuff, no stutter, like there's a robot, burping in my phone =p
[Nexus 5 Original Android Development] Virus1x:
Anyone ever find a solution for bam_dmux_wakelock?
[Nexus 5 Original Android Development] JeyLo:
I have stock 4.4.2 ROM and franko r36, for audio listening all the time use Tunein Radio, and on kernels from r33-r35 that's audio problems begin, and now all fine. Today i' listening audio from google chrome online, and all fine too. Maybe this is problem with SPOTIFY only, or your headphone input(if use case try to connect headphones without it) I can recommend try to listen online radio in chrome(or anothe browser) or simly download to the Internal storage some songs, and try to enable mic gain to 5 or 6 in FKU, for me this is now checked all the time to 6, and as previous said not use 3 last audio levels. Good luck!
[Nexus 5 Original Android Development] visceralpsyche:
As far as I understand it, it's the modem wakelock when not on wifi. It eats up the bulk of my battery too besides the screen. Something to do with the modem and OS not communicating properly? Hopefully the next Android version fixes it. HTH.
[Nexus 5 Original Android Development] The Gingerbread Man:
There defiantly is something going on with audio / music I've talked about it with Franco and he can't reproduce it him self. Hopefully its something which can fixed in the future.

Also for those who enjoyed my settings a few days ago I've made a few changes, here they are, only 2 changes to increase input boost freq a notch and duration by a hair. Enjoy :)

CPU

Max 1267 (000) MHz

Min 300 (000) MHz

Interactive

Deadline

Hot Plug

Load threshold 0

GPU

320 (000) MHz

Up threshold 25

Down threshold 15

Governor Control

Boost Duration 333000

Go Highspeed Load 95

Highspeed Freq 1190 (000) MHz

Input Boost Freq 729 (000) MHz ,
[Nexus 5 Original Android Development] outofthisworld:
this is how the GPU frequencies appear in stock. Franco has said a few times now, that he was removing the "duplicates". He is not adding on duplicates.

[MENTION=3292224]franciscofranco[/MENTION] I've read that you can now provide a separate changelog for the beta channel in Google play store.
[Nexus 5 Original Android Development] BullHorn7:
I'm having apps FC on me often. They don't hang or slow down... They just FC out of nowhere and then work continues as usual. ._.
[Nexus 5 Original Android Development] raijinshou:
Done and nothing's changed. Still too dimm. I can't use FKU Beta.
[Nexus 5 Original Android Development] -Cronos-:
Random reboot while using Google+, mostly stock settings aside from color calibration, vibration strength and enabling fast charge

http://pastebin.com/B7h81diQ
[Nexus 5 Original Android Development] harshalkatakia:
Can someone please post the command I need to enter to change the Hotplug threshold to 100

I tried searching it, and someone asked the same but no one replied.

Thanks!
[Nexus 5 Original Android Development] graffix31:
you no longer use a hi gfx mode?
[Nexus 5 Original Android Development] The Gingerbread Man:
Nope. I figured there's no point, riptide 2 ran perfect with the other settings and that's fairly intensive. It not often. I play games like that though really.
[Nexus 5 Original Android Development] Momotani-Hitoshi:
Since you don't encrypt your phone anything else I could provide beside kmsg logs to give you clues as to what is broken?
[Nexus 5 Original Android Development] KuChar_:
Do you use any pam for high end games such as Deus ex, mc4?

_____

Nexus 5 & SwiftKey_
[Nexus 5 Original Android Development] WettbackMartyr:
Why can't you use FKU Beta?
[Nexus 5 Original Android Development] fchowd0696:
Google now launcher keeps on resetting on me every now and then on me. On r36 and latest paranoid android.
[Nexus 5 Original Android Development] carlese:
Sorry for the noob question but is there a way to backup the current fku settings? I am using the latest beta (of course paid version) and I only see kernel backup.. Does kernel backup include my settings? If not, this would be an useful feature [MENTION=3292224]franciscofranco[/MENTION] ;)
[Nexus 5 Original Android Development] raijinshou:
No credit card
[Nexus 5 Original Android Development] WettbackMartyr:
Not to try and press the issue or anything but what about Google Play gift cards, adding to Google Wallet via a bank account, or even a prepaid card? Sorry it just bothers me when someone says they CAN'T do something. There are usually alternatives to achieving your goals. Not trying to be insulting... Legitimately trying to help you friend.
[Nexus 5 Original Android Development] bjoostema:
seems to be a common problem with PA's new build. there were a few folks talking about it, some on different kernels. leads me to believe it's rom related
[Nexus 5 Original Android Development] sjors86:
Few questions:

MAX CPU: you notice performance loss,it's pretty far downgraded?

Deadline: Can't find this option in FKU

Hotplug: Can't find anything under this option
[Nexus 5 Original Android Development] vomer:
No problem in that :)

Sent from my Nexus 5