yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] Jointedman:
am asking because it keep resetting back to 5 after i reboot.

How can i make it survive a reboot?

Setting backlight_Dimmer to enable and set on boot does not keep my custom setting of 9
[Nexus 5 Original Android Development] pkelly517:
Did you wait to check until the Superuser toasts popped up and set everything like it should.

Patience is a virtue. Especially on a reboot.

Otherwise, check superuser settings. Is FK.U asking for permission, and is it being granted, etc.
[Nexus 5 Original Android Development] dead90:
Sorry guys, i ve got vomer setting and i would like to try ginger one. There is bin file? Because i can t found it

Tapatalked with my N5 Franco Pure
[Nexus 5 Original Android Development] Jointedman:
Trust me am very patient and i waited patiently for everything to settle down. superSU grants permission just fine, btw this is the only option that does not stick, everything else does.

why don't you try it yourself and report back. Thanks for the help :)
[Nexus 5 Original Android Development] Tzfardaya:
Sine the 2 new tunables ARE NOT IN FKU yet, they have no set on boot option...

to make it persist across reboots you'll need to use something like tasker or init.d to run the command every reboot... only until they get added into the fku (my guess is the next beta will have both)
[Nexus 5 Original Android Development] franciscofranco:
For the 1238723498237423th time: sysfs changes do not persist on reboot. How many times has this frakk been asked? That's why we use init.d or apps to have stuff persist on reboots. It has not been added to FKU for obvious reasons, but it will be present soon.
[Nexus 5 Original Android Development] Tzfardaya:
Scripts

Okay, so with the addition of two new tunable kernel settings, I've had to update my scripts...

Here they are, packaged in a nice little zip file...

The first, all-in-one-tunable.sh is a collection of all the adjustable settings (including stock voltages, but no OC voltages..) with descriptions of what they all do. (please, If I have made any mistakes in the descriptions, let me know so I can update it..)

The second backup-script.sh is a script to backup all the kernel settings. The output of this file is /sdcard/setting_backup/restore-script.sh

the names should be self explanatory, backup takes backup, and restore restores those values...

since the backup script always overwrites the restore script, and restore script you want to keep for future use needs to be renamed before running backup again.
[Nexus 5 Original Android Development] Tzfardaya:
Watch your blood pressure franco, hate to lose you to an aneurysm... :p
[Nexus 5 Original Android Development] aow1980:
[MENTION=3292224]franciscofranco[/MENTION] is one of the few developers who can prefect perfection. Keep up the great work and thank you for this awesome kernel.
[Nexus 5 Original Android Development] CDeviant:
I'm also having FCs on the camera app on r37, but I'm not sure if it was even working before I updated, because I just restored r36 and it still FCs. Camera apk version: (2.0.012 (947118-31)

It's been a while since I used the camera on the N5, I just saw some people saying it was FCing on them, figured I would see if it was happening to me.

Eh, it's been since December 12'th since I did a clean install, (Cataclysm) probably time for a full wipe. :good:
[Nexus 5 Original Android Development] toyfj2k7:
My camera is fine on 37 with the stock rom.
[Nexus 5 Original Android Development] fugn:
oh my gawd, this is a gold mine...thanks!
[Nexus 5 Original Android Development] franciscofranco:
But there are 0 commits to the Camera Kernel driver... its userspace derp, sorry.
[Nexus 5 Original Android Development] CDeviant:
I agree, no worrys! :angel:
[Nexus 5 Original Android Development] Tzfardaya:
I'm just surprised that no one else wrote these scripts before...

They're not overly complex...

although, I would like it [MENTION=3292224]franciscofranco[/MENTION], if you could take a look through the all-in-one and let me know how badly I screwed up the description of each tunable path and it's purpose...
[Nexus 5 Original Android Development] fugn:
Using fku I didn't bother trying look into the scripts but it's a good tool to have.
[Nexus 5 Original Android Development] Tzfardaya:
the scripts I wrote aren't to replace fku, but to help..

basically the one script describes what each tunable setting is for.

the other provides a backup service that fku currently lacks.

and provides a simpler way to trade settings like tgm's and vomer's.

I wouldn't use my scripts in an init.d (unless for some reason you do not have access to the fku app) but as an easier way to experiment with different setting while not having to worry about needing to record your daily driver settings. take a backup, try out some new settings, if you don't like how they're working, just restore the settings from the backup scripts.
[Nexus 5 Original Android Development] ali262883:
Just had this problem.. Got up just now and when tried to unlock phone the screen dosent appear only.. i cant ever restart my phone by long pressing power button.. But I connected to the charger immediately and then it finally woke up from deep slepp.. so no need to reset .. and about yesterdays charging problem, i reflashed rom and then franco on top and everythings fine now :)

Thank you for the great update
[Nexus 5 Original Android Development] Technecium:
r37 is very snappy! well done!
[Nexus 5 Original Android Development] :
I think it's Franco's fault, FKU works perfectly so why go through unnecessary effort to make scripts, I considered doing it but opted to take the easy route
[Nexus 5 Original Android Development] omvir:
[MENTION=3292224]franciscofranco[/MENTION] hey man! What did you do to the RAM? Its hella awesome, never hovered around 600-700mb used RAM before r37. Good job!

Sent from my Nexus 5
[Nexus 5 Original Android Development] Tzfardaya:
Why should we rely on [MENTION=3292224]franciscofranco[/MENTION] to provide an app for every possible use we may have for his kernel? If we have the knowledge to create a tool that Franco either hasn't foreseen or had time to build yet, we should use that knowledge... Again, why wait for Franco to spoon feed us when we have the capability to feed ourselves?

It took me about an hour to write these scripts, and when I started I only had minimal knowledge of how to do this, but I knew where to look and who to talk to for help. So yes, I wrote these scripts for my benefit, I learned something from them... And that was the biggest reason that I wanted to write them.
[Nexus 5 Original Android Development] TJKV:
I think you misunderstood his tone there :p or maybe not. I dunno. Ignore this :p

Sent from my Nexus 5
[Nexus 5 Original Android Development] sordna:
Francisco will be adding ability in FKU to call a user's custom script, for all the tunables that are not in FKU.

This is an exciting feature that will:

1. Eliminate the need to setup init.d

2. Assure the custom script will be called at the right time, typically after FKU has finished applying its own settings to the kernel

3. Allow users to easily take advantage of new tunables as they come along
[Nexus 5 Original Android Development] Tzfardaya:
That ability already exists (to an extent) in the per app modes app... Can enter custom tunable paths, so you could change the min brightness in stand alone per app mode already..

Until these abilities are in place in the main fku app, custom scripts, custom tune paths, backup settings to files, restore settings from file, I'll keep tweaking my backup/restore scripts, and helping vomer with the init.d troubleshooting...
[Nexus 5 Original Android Development] sordna:
Hmm, I did not try Per App Modes app because I have no need for per-app modes. But I hope the feature will allow calling any arbitrary shell command, not just specify tunable paths that the app will "echo" values to. Let's see what cool stuff Francisco comes up with :)
[Nexus 5 Original Android Development] franciscofranco:
Backup settings to file its not really coming. I can see potential amount of **** coming from it which I do NOT want to deal with.
[Nexus 5 Original Android Development] :
I just tested it, and R37 does not play well with Jishnu's Camera Mod. If you're having problems with the camera FC-ing, reflash the stock camera, and wipe caches.
[Nexus 5 Original Android Development] knapz:
Minus the letter s in modules... :D

echo "your_value" > /sys/module/lm3630_bl/parameters/min_brightness
[Nexus 5 Original Android Development] 1337RYoN:
Whenever I'm calling people they say I sound extremely soft and far away. When I put the call on speaker mode it's fine. I'm using R36 with Cataclysm, would appreciate any help. Thanks in advance!
[Nexus 5 Original Android Development] :
People get worked up for nothing on the interwebz!! I'm fully capable of writing scripts for all FKU functions except per-app modes, so I wouldn't be learning anything and I just don't feel like doing it. Why waste time writing scripts when I could install FKU and enjoy life!!
[Nexus 5 Original Android Development] Enddo:
ive heard franco say this is from the noise cancellation feature/mic. maybe try covering the hole to help test
[Nexus 5 Original Android Development] GtrCraft:
I have no issues, try to reflash the mod it works perfectly
[Nexus 5 Original Android Development] The Gingerbread Man:
I dont have a file you can use but there's a post with my settings you can copy. Link in my sig
[Nexus 5 Original Android Development] Ben36:
So will fku get minimum brightness settings with set at boot options?
[Nexus 5 Original Android Development] PetritH:
update your before christ rom dude
[Nexus 5 Original Android Development] Ben36:
How is it before christ? It's build KOT49H. The latest release from Google
[Nexus 5 Original Android Development] 1337RYoN:
A great deal of sense you are making there, good sir.
[Nexus 5 Original Android Development] PetritH:
oh well, its Franco's fault then sorry :)
[Nexus 5 Original Android Development] :
Did you flash the video fix as well? That's what messes it up for me. Can't even wipe the cache after applying the video fix; the screen freaks out if I try.
[Nexus 5 Original Android Development] jaggyjags:
So I bought FKU but with r37 I am missing the "custom paths" to adjust minimum brightness from "per-app modes" standalone app.

Are there any other similar app with this functionality?

[MENTION=3292224]franciscofranco[/MENTION] are you planning to include "custom paths" on future FKU versions?
[Nexus 5 Original Android Development] LaboDJ:
Hi [MENTION=3292224]franciscofranco[/MENTION]

Compiling with gcc 4.8 I can see these warnings coming out from crypto drivers folder, it could be related?

drivers/crypto/msm/qcedev.c: In function ‘qcedev_vbuf_ablk_cipher’:
drivers/crypto/msm/qcedev.c:1541:21: warning: array subscript is above array bounds [-Warray-bounds]
creq->vbuf.src[i+k].len;
^
drivers/crypto/msm/qcedev.c:1543:21: warning: array subscript is above array bounds [-Warray-bounds]
creq->vbuf.src[i+k].vaddr;
^
drivers/crypto/msm/qcedev.c: In function ‘qcedev_sha_update.part.3’:
drivers/crypto/msm/qcedev.c:951:18: warning: array subscript is above array bounds [-Warray-bounds]
sreq->data[i+k].len;
^
drivers/crypto/msm/qcedev.c:953:18: warning: array subscript is above array bounds [-Warray-bounds]
sreq->data[i+k].vaddr;
^
drivers/crypto/msm/qcedev.c: In function ‘qcedev_set_hmac_auth_key.constprop.8’:
drivers/crypto/msm/qcedev.c:951:18: warning: array subscript is above array bounds [-Warray-bounds]
sreq->data[i+k].len;
^
drivers/crypto/msm/qcedev.c:953:18: warning: array subscript is above array bounds [-Warray-bounds]
sreq->data[i+k].vaddr;
^
[Nexus 5 Original Android Development] topgeardave:
Hey, I've just switched from CM to Mahdi ROM and this kernel. The audio clipping thing only happens to me when I'm switching masts. Weird bug but I'll try and find a way round it
[Nexus 5 Original Android Development] Technecium:
Do you get the same errors with 4.7? Makefile leads me to believe it's not built with 4.8. I use 4.6 and have not seen the errors you posted. However, I also have never tried encryption. EDIT: But I will try shortly. I just need to get to an outlet.
[Nexus 5 Original Android Development] rofik_gitara:
flash r37 from r32,

open explore

sys/module/lm3630_bl/parameters

i get 2 file,backlight_dimmer from r32 and min_brightness i get after flash r37

that normal?

how standart min brightness,i change to 10,

thanks for good response
[Nexus 5 Original Android Development] danieljcf:
Flashed FK for the first time in my N5 and with the r37 I was getting the bluetooth connection problems (disconnecting and connecting my pebble, randomly). Flashed r36 and bt is ok.
[Nexus 5 Original Android Development] shinesthru:
Logs or it didn't happen.
[Nexus 5 Original Android Development] Tzfardaya:
Let's see... The script I wrote is to supplement fku, not replace it... Provide a function that Franco has said he is not going to add to fku... Vomer decided to write a how to for init.d for those who for whatever reason can't access fku...
[Nexus 5 Original Android Development] The Gingerbread Man:
Its nice to see a lot of the old faces from all the other nexus forums here to reunite
[Nexus 5 Original Android Development] harihacker:
"Knockon" featue request!!

Will it be possible for someone to incluse the "Knockon" unlock feature from LG G2 added to this kernal? Or is that too much to get done?? Am a noob to Nexus teritory.. First time owner of a nexus device..!!
[Nexus 5 Original Android Development] zephiK:
Franco had something similar to "double tap to wake" in the kernel for N4 but it wasn't fully complete. When he has some time, he might work on it more. Maybe not. We'll see.
[Nexus 5 Original Android Development] pappy97:
Any chance your kernel has or will have full USB Audio Support as you were able to get going on the kernel for the Nexus 10?

There was a dump of a Android 4.4 log file that suggested the nexus 5 would have full USB audio support, but I got my phone today, and, well, nothing. Very disappointing. IIRC, your Nexus 4 kernel did not support this, but holding out hope you might work on getting full USB Audio Support for the Nexus 5.

Thanks!!!!!
[Nexus 5 Original Android Development] asim0:
Remind me to send you a present for your first day of work...
[Nexus 5 Original Android Development] alanwyl:
Cupertino wow! If you are really working for Apple, please do tell us the secret why those devices can run smoothly on legacy hardware.

(And get some of that into our kernel)
[Nexus 5 Original Android Development] QUEDRO:
geez, I just got my N5 and there is already franco build #4 :good:

That's why I always stick with Nexus devices. Best support ever.
[Nexus 5 Original Android Development] anaglich:
My apologies for asking what I am sure is a very noob question, (have been away on iOS holiday) but what does this kernel in its current state have that the stock kernel does not? If Franco does not have his N5 yet, what can/ has he done to improve the device?
[Nexus 5 Original Android Development] franciscofranco:
Pringles is just a codename - I started a 100% re-code of FKU about 40 days ago. Going strong and pushing a new update today, moving close to beta testing.

I don't predict the future. As long as CM doesn't derp, I'm sure it will be compatible.

You're right but I like to differentiate between each device from the different block paths.

I see what you did there :p

Welcome to the N5 playground :D Glad to see friendly faces all over again!

Dunno at this point, need the device on my hands.

I'm not a very knowledgeable person regarding sound and how that stuff works, but I can always try to understand. No promises though, need the device first.

I'm not gonna go to Apple :p but that t-shirt is cool!

Can someone hit me up on G+ hangouts? I seriously need a tester for a couple hours to move this forward a bunch before I receive my N5 :) I'll be awake for the next 7 hours.
[Nexus 5 Original Android Development] franciscofranco:
Currently has this:

- stripped clean of debug flags from the Kernel config and added NTFS support (the N5 has USB OTG enabled as far as I know after reading some Kernel commits);

- added undervolt support, you can already undervolt your device safely;

- toggle to fsync on/off

- couple of patches I always merge with improvements to the VM writeback subsystem, iowait awareness for the block subsystem and a couple more (check git)

- fixed a mismatch present in the stock Kernel

- made ROW IO default

- no bullshít "features"

I think that's it for now.
[Nexus 5 Original Android Development] Apolyxon:
Hey Franco,

I saw you talking about things that were wrong with the Nexus 4's power management on G+. (Old drivers, stupid states, etc.)

Since it has a Qualcomm SoC, do you have any indication if those problems will be there with the Nexus 5, too?
[Nexus 5 Original Android Development] franciscofranco:
For what I could see they are both fixed. N5 uses the new-ish wakeup power management Kernel drivers and their power states seem to be fixed for this SoC.
[Nexus 5 Original Android Development] Apolyxon:
Does that mean idle magic like you did with the Nexus 10 is imminent?
[Nexus 5 Original Android Development] franciscofranco:
You can't have the same idle consumption as the N10 because we have a GSM radio inside.

The trick for a good idle consumption is not having apps that keep your device awake.
[Nexus 5 Original Android Development] caribouxda:
Seems like you will end up "unemployed" this year with us, since they have done a good job :p just kidding, keep up the good work!
[Nexus 5 Original Android Development] Bobtehblob:
Nexus 5 is waiting for me when I get home from uni! Will be flashing Franco as soon as I get home! :D Also, the new UI for colour control and per-app power modes in Pringle is much nicer!
[Nexus 5 Original Android Development] rockafellor:
Is the n5 kernel only manageable with the alpha pringles fku version? Or can I use the playstore version?

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] Audioboxer:
Pringles version is working good for me now, no more FC on CPU settings with boot test 4.
[Nexus 5 Original Android Development] nexusmaniac:
Is the default CPU governor on demand
[Nexus 5 Original Android Development] rockafellor:
Yes

Gesendet von meinem Nexus 5 mit Tapatalk
[Nexus 5 Original Android Development] Confused_Cheese:
First of all, thanks for all the work... Made my nexus 4 even more awesome and now my nexus 5!

I'm using the latest beta app but my haptic feedback keeps getting set back to 100 from 50. Known issue or am I doing something wrong? I know its a beta so expecting issues but just checking!
[Nexus 5 Original Android Development] franciscofranco:
Long press, tick set on boot.
[Nexus 5 Original Android Development] dipzb90:
Flashed r12 all good here
[Nexus 5 Original Android Development] Testraindrop:
Franco I saw in github that you changed back to old thermal behavior... why?

Gesendet von meinem Nexus 5
[Nexus 5 Original Android Development] PhantomGamers:
After flashing r12 Antutu completes again for me, I'm unsure if this was due to something you fixed or if it's just a fluke since it seems inconsistent.

Antutu isn't a huge concern to me either way just thought I would report my findings. Thanks. :)
[Nexus 5 Original Android Development] franciscofranco:
Stock way is thermal-engine-hh, we're free from that now. I just returned to stock msm_thermal because of some of its internal functions that might be useful during throttling, but the finality is the same as it was before.
[Nexus 5 Original Android Development] Nocturnal86:
Hey franco is there a way to stop the FKU "battery service" from starting after every reboot besides force closing it? Only reason I ask is because I already have bought the System Monitor app and it's native battery service is already running and dont want or think I need them both running after a reboot.
[Nexus 5 Original Android Development] webvictim:
To be honest I think that's just because there's nothing else to drain the battery. Maintaining a signal with the mobile network does cost battery regardless of signal strength, and I think that's what you're seeing. It just won't get lower.
[Nexus 5 Original Android Development] Khaiyan:
Impressive. And do these settings come default or is it necessary to install FKU and make these optimisations?
[Nexus 5 Original Android Development] DerItaliener:
Mh, sure that could simply be it, but then I don't really see how people can get 1-2% battery loss over the whole night, where as I get 1-2% drain per hour. :eek: I know thats complaining on a very, very high level, but I'd still like to get the most out of my device :)
[Nexus 5 Original Android Development] franciscofranco:
I see what you mean because if you have the full system monitor FKU will open it and you won't be able to change the settings of the free version inside my app. I'll make it disabled by default - thanks for pointing it out.

Default of course.
[Nexus 5 Original Android Development] lkthomas:
does franco.Kernel updater on Play Store support nexus 5? I am planning to buy it but I can't see it's supported on the list.
[Nexus 5 Original Android Development] Khaiyan:
Awesome. I've bought FKU anyway as a sign of thank you :) Could I just ask though, any ETA on changing colour profiles on FKU?
[Nexus 5 Original Android Development] BoOsT:
You CAN ask that BUT you shouldn't :D
[Nexus 5 Original Android Development] lkthomas:
I bought FKU, and in the apps, when I choose updater, it shows empty page, any idea why?
[Nexus 5 Original Android Development] JNewms:
Don't ask for ETAs man. There's a lot more to it than him typing a code that says "enable gamma control"
[Nexus 5 Original Android Development] franciscofranco:
Not yet, coming very soon.

:)

Not yet, haven't finished the Kernel interface.
[Nexus 5 Original Android Development] franciscofranco:
Not yet compatible with the N5, coming soon...
[Nexus 5 Original Android Development] Khaiyan:
Thank you for the clarification. Happy to wait :)
[Nexus 5 Original Android Development] lkthomas:
Thanks for letting me know. Let me flash it using recovery method.
[Nexus 5 Original Android Development] danieljcf:
Bah, sorry, it was a problem with my pebble :facepalm:.
[Nexus 5 Original Android Development] Tzfardaya:
Yes, that's normal.. If you read the release notes you'd see Franco added a tunable...
[Nexus 5 Original Android Development] :
You started rambling about laziness and people should learn. Hence my response, what I've quoted above is unrelated.

Good for you, I'm not in a hurry to use features, it's not gonna alter my experience one bit so I flash and forget.
[Nexus 5 Original Android Development] kenkiller:
Anyone who's GPS is screwed on r37? I wouldn't want to attribute it to the kernel, but a reboot didn't fix it until I flashed back to a copy of the trusted r32 I retained on the phone.

Or am I just imagining things again.... :)
[Nexus 5 Original Android Development] Technecium:
working fine here
[Nexus 5 Original Android Development] Decimation:
My GPS is working
[Nexus 5 Original Android Development] floepie:
Question. If the backlight dimmer is switched off in the tunable, is the second tunable for min brightness then disabled or disregarded?
[Nexus 5 Original Android Development] Tzfardaya:
my understanding is that if you switch off the backlight_dimmer, then it goes back to the stock system and would ignore/disregard the min_brightness value... (you can still change the value in min_brightness, it will just have no effect)
[Nexus 5 Original Android Development] IVIanuu:
Shell scripts in tasker won't work on r37... Any ideas?
[Nexus 5 Original Android Development] Tzfardaya:
check your tasker set up?

I don't see how the kernel would affect taskers ability to run shell scripts...
[Nexus 5 Original Android Development] EarlZ:
Is there another mirror for the r37 as I cannot download it with the FKU app and even while using a PC, connection seems to be very intermittent to the server.