yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] Sunny9701:
Hey can you guys suggest any good profile for tremendous battery saving .. I'm using elementalx kernel manager
[Nexus 5X Original Android Development] Mrcactuseater:
Don't use your phone.
[Nexus 5X Original Android Development] dreamland2000:
I wouldn't get worked up about these posts. From what I've seen around the forums most of the posts reporting problems are from people that have no real idea what their doing but just jumping on the bandwagon because they saw it mentioned somewhere.

As with any custom ROM/kernel etc most things come down to trial and error to see what works for your device. Unfortunately most people want an easy fix and have someone do it for them instead of researching and experimenting themselves.

Any way, your work is greatly appreciated by us all and those that complain clearly don't belong in these threads.

Sorry for the OT
[Nexus 5X Original Android Development] andQlimax:
Thanks.. I will try...It's just strange because I was already stock.. That's it

Well I just said "I think" it was the kernel. Anyway it's just an error in logcat, no other issue.

So, I'm sorry.. please don't sad, I just asked in the forum, I didn't blame anyone, nor I expected anything, nor I said this kernel is bad or anything, in fact I'm still happily using it [emoji6]

You take comments to much serious, my was just a curiosity about the error I saw in logs,this doesn't mean that you have to stop your great work [emoji106]

Sorry for OT

Inviato dal mio Nexus 5X utilizzando Tapatalk
[Nexus 5X Original Android Development] franciscofranco:
Stock FK configuration is pretty balanced out of the box.

I was just venting, don't forget I have a lot of threads, I read a lot of ****. I never really point at anyone, was just venting out loud.
[Nexus 5X Original Android Development] fleischbanane:
Are here some Lineage users or users with very slow camera apps? My camera apps need very long to open and I don't know whats the reason. I usually use the google camera but tried some others without better results. I want to ask here first, because I use this custom kernel. With stock rom the camera launches immediately and is fully functional. I use Lineage only with this kernel because of the encryption and want to aks if anyone else faces very long opening times for the camera. I speak about 10 - 15 seconds.

My setup:

lineage-14.1-20170130-nightly

franco.Kernel r32 (without any modifications)

open_gapps-arm64-7.1-super

Gapps-config:

# Exclude Google Applications
AndroidPay
GoogleNow
PixelIcons
PixelLauncher
ProjectFi

# Input
Indic
Japanese
Korean
Pinyin
Zhuyin

# Drive & Docs
Docs
Sheets
Slides

# Removal of Stock applications
Browser
CameraStock
CMFileManager
CMMusic
CMWeatherProvider
DashClock
Email
Gallery
Hexo
[Nexus 5X Original Android Development] weaselskhs:
I am running liniage also and I am having no camera problems and more then likely it's not the kernel that would cause that.
[Nexus 5X Original Android Development] franciscofranco:
Not Kernel related. Camera drivers are stock.
[Nexus 5X Original Android Development] HesThatGuy:
Hi [MENTION=3292224]franciscofranco[/MENTION], I've been thinking about the possibility of a 32-bit kernel and rom running on the 5X.

I would think that if it were possible it could potentially run better on this device as it wouldn't be as memory intensive as our current 64-bit kernels and roms.

I wanted to know your thoughts about this. Do you think it's possible to build 32-bit software with the current sources we have now?

I apologize for making an off topic post, there isn't a way to send you a private message through XDA.
[Nexus 5X Original Android Development] yochananmarqos:
Not possible as there is no 32-bit kernel source.
[Nexus 5X Original Android Development] eatsleep:
Why do you think running 32 bit system would result in better performance?

Only gain i can think of is from the address tables ( which only costs some MBs of main memory), other wise you'll be losing everything 64 bit system offers
[Nexus 5X Original Android Development] HesThatGuy:
Do you think it would ever be possible to create one, given that someone takes a 32-bit base such as a Nexus 5 or 6 kernel source and adds/removes necessary code? I apologize for my lack of software knowledge I'm still learning all there is to know about Android.

I believe that a 32-bit system would require about half as much memory as our current 64-bit system does. If you look at various threads about the Nexus 5(closest thing to our 5X in 32-bit form) you'll see that it generally has 600 - 900 MB of memory available when no apps are open while the 5X can range from 300 - 600 MB(on a good day). As I said above sorry if this sounds wrong/stupid just curious about this.
[Nexus 5X Original Android Development] eatsleep:
Nope it won't :D

It doesn't has anything related to memory usage other than what i wrote before, i suggest you to go and read something on it
[Nexus 5X Original Android Development] franciscofranco:
There isn't much to say about it. It's absurd and it wouldn't, most likely, even work.
[Nexus 5X Original Android Development] papayayoghurt:
Is the newest build compatible with Android 7.1.2 Beta? Or should I use stock Kernel (which I don't want because of encryption...)
[Nexus 5X Original Android Development] :
Working fine here, including camera.
[Nexus 5X Original Android Development] MaLiXs:
I'm gonna try it then, I've just flash 7.1.2 ota over latest 7.1.1 this morning without reverting the system, recovery or boot

Envoyé de mon Nexus 5X
[Nexus 5X Original Android Development] franciscofranco:
Should work fine. I'll push a new build today with some merges though.
[Nexus 5X Original Android Development] Schneewitzchen:
R33 works nicely on 7.1.2 beta...thx

Gesendet von meinem Nexus 5X mit Tapatalk
[Nexus 5X Original Android Development] :
I'm going to have a drink to r33. :silly: Thanks Franco! I'm about to make the jump to One plus 3t. I see you are there too. :good:
[Nexus 5X Original Android Development] franciscofranco:
New franco.Kernel version for the Nexus 5X

r33

1. Fixed some SELinux denials

2. Merged some security patches from Google

3. Enable NFS2, NFS3 and CIFS+SMB2

zip: https://kernels.franco-lnx.net/Nexus5X/7.1/anyKernel/fk-r33-anykernel2.zip

Franco Kernel Manager & Updater is the best companion for this Kernel (https://play.google.com/store/apps/details?id=com.franco.kernel)

If you don't (yet) have my full featured app you can always just download its free counter part which lets you seamlessly and automagically update Franco Kernel on your device. It's free and my cat approves! (https://play.google.com/store/apps/details?id=com.franco.kernel.free)

I also strongly suggest you install Naptime (https://play.google.com/store/apps/details?id=com.franco.doze), for free, to achieve the best battery life through out the day. Try it, you won't be
[Nexus 5X Original Android Development] icrunchbanger:
Hey [MENTION=3292224]franciscofranco[/MENTION]

I dont know if it has been reported yet but kernel somehow messes with phh superuser. Every time i flash kernel afterwards phh zip it notifice me that my root binary is out of date. If I flash kernel before superuser it works just fine.

Great job and keep up the good work.
[Nexus 5X Original Android Development] icrunchbanger:
[MENTION=3292224]franciscofranco[/MENTION]
[Nexus 5X Original Android Development] franciscofranco:
No idea, I don't touch any of that.
[Nexus 5X Original Android Development] icrunchbanger:
Not big of a deal. Flashing superuser.zip via recovery afterwards fixes the issue. Happens to me every time.
[Nexus 5X Original Android Development] :
[MENTION=3292224]franciscofranco[/MENTION], what do you think of implementing Google's SDCardFS? :o
[Nexus 5X Original Android Development] yochananmarqos:
That's because phh superuser needs to patch the kernel, so you'll always need to flash phh after flashing a kernel.
[Nexus 5X Original Android Development] suku_patel_22:
[MENTION=410271]fransisco[/MENTION]franco How do we make use of CIFS? Can I now natively mount my samba shared drives ?
[Nexus 5X Original Android Development] ulxerker:
[MENTION=6733592]icrunchbanger[/MENTION] not kernel related, you have to update your SuperSu / superuser binary.
[Nexus 5X Original Android Development] yochananmarqos:
Not exactly. See my post above.
[Nexus 5X Original Android Development] :
Either use CIFS Manager (apk can be found on xda if you look) or mount it via command line/init script, you'll also need change to permissive mode otherwise apps won't have access to the mounts.
[Nexus 5X Original Android Development] dreamland2000:
Hi,

[MENTION=3292224]franciscofranco[/MENTION] with the new update to the kernel is there anyway it could have caused GPS fixes to drop every few minutes? It may be a coincidence but since flashing the r33 version my GPS has been dropping every few minutes.

I'm running Pure Nexus (rooted) and on the previous r32 all was fine.

I just wanted to see if this was an issue you were aware of before I look at possibly clean flashing.

Thanks
[Nexus 5X Original Android Development] SKUndef:
Try to flash r32 and see if it fixes the bug.
[Nexus 5X Original Android Development] franciscofranco:
SdcardFS is part of the 5X since Nougat.

I really doubt that's the case. Good luck patching a compiled Kernel binary.

Obviously not.
[Nexus 5X Original Android Development] :
oh, maybe I was unlucky because I tried to enable it together with your kernel (ro.sys.sdcardfs=true in build.prop) but I think I had problems with photos not saving on the storage itself. Anyway, thank you! :o
[Nexus 5X Original Android Development] dreamland2000:
I'm guessing it probably will be as the r32 build worked fine. Thanks for your reply though.
[Nexus 5X Original Android Development] franciscofranco:
root@franciscofranco:/home/bullhead# cat .config | grep SDCARD_FS

CONFIG_SDCARD_FS=y
[Nexus 5X Original Android Development] yochananmarqos:
Good point. I should have said it patches the boot.img, not kernel. More specifically the ramdisk.
[Nexus 5X Original Android Development] franciscofranco:
Now that's a whole different story. But I don't replace the ramdisk during flashes, so I dunno wtf is going on.
[Nexus 5X Original Android Development] ulxerker:
February images version N4F26O have been released:

full factory images

full OTA
[Nexus 5X Original Android Development] franciscofranco:
New franco.Kernel version for the Nexus 5X

r34

1. Merged the latest security patches from the February 2017 Security patchset

zip: https://kernels.franco-lnx.net/Nexus5X/7.1/anyKernel/fk-r34-anykernel2.zip

Franco Kernel Manager & Updater is the best companion for this Kernel (https://play.google.com/store/apps/details?id=com.franco.kernel)

If you don't (yet) have my full featured app you can always just download its free counter part which lets you seamlessly and automagically update Franco Kernel on your device. It's free and my cat approves! (https://play.google.com/store/apps/details?id=com.franco.kernel.free)

I also strongly suggest you install Naptime (https://play.google.com/store/apps/details?id=com.franco.doze), for free, to achieve the best battery life through out the day. Try it, you won't be disappointed!
[Nexus 5X Original Android Development] vandyman:
Is there a thread for Naptime?

I my have a question or two and I don't

want to impose in this great thread.

Sent from my Nexus 5X
[Nexus 5X Original Android Development] fire7777777:
r34 version is compatible with beta 7.1.2 ?
[Nexus 5X Original Android Development] albedebbi:
I am on 7.1.2 and r34 works without problem.
[Nexus 5X Original Android Development] franciscofranco:
You can ask here, it's ok.
[Nexus 5X Original Android Development] vandyman:
Thank you.

My only concern is it okay to use Naptime with Greenify? I don't know if Greenify will cut off Naptime from doing its job. For some reason I can not put Naptime on Greenify's white list.

When I have more time I will dig a little deeper.

Thx vandyman

Sent from my Nexus 5X
[Nexus 5X Original Android Development] buffer overflow:
Is a nonsense to enable Aggressive Doze in Greenify and use Naptime at the same time.
[Nexus 5X Original Android Development] vandyman:
That is what I thought, I will have to decide on what my needs are. Greenify is the only mod that I use besides Su and FK.

Sent from my Nexus 5X
[Nexus 5X Original Android Development] buffer overflow:
You can use both at the same time only if you choose Greenify just for hibernate apps and Naptime for doze.
[Nexus 5X Original Android Development] franciscofranco:
Exactly.
[Nexus 5X Original Android Development] :
EDIT: never mind, fixed.
[Nexus 5X Original Android Development] vandyman:
That is what am doing. So am good.

Thanks.......

Sent from my Nexus 5X
[Nexus 5X Original Android Development] nydmt:
Is it me or is there no way to change the I/O read ahead buffer size in the FKU app?
[Nexus 5X Original Android Development] franciscofranco:
That's exactly it. Changing that is pointless.
[Nexus 5X Original Android Development] j-a-d-z:
Is there any difference between using your naptime app and greenify's agressive doze implementation? Which one works better? Or is it the same?
[Nexus 5X Original Android Development] :
Why you don't add cpu governor ?
[Nexus 5X Original Android Development] franciscofranco:
I don't know what Greenify does.

Oh really, how do you think the CPU frequencies are scaling then? Magic?
[Nexus 5X Original Android Development] :
Ahah no seriously I would say other governors than stocks (other than conservative) or you let them because you had optimize them.
[Nexus 5X Original Android Development] franciscofranco:
There's no point in adding anything else.
[Nexus 5X Original Android Development] buffer overflow:
Gentalmen answer ! ?
[Nexus 5X Original Android Development] nydmt:
Has anyone in here changed there read ahead buffer or know how? I tried making a su.d script, just can't get it to work.
[Nexus 5X Original Android Development] LazerL0rd:
It's found at /sys/block/[BLOCK NAME]/queue/read_ahead_kb you should change it from there...
[Nexus 5X Original Android Development] :
So you are saying that the current governors profiles are enough optimized (sorry to ask but as I saw that other kernel add new profiles and new Io schedulers I founded this strange)
[Nexus 5X Original Android Development] franciscofranco:
Everything is fine as it is the way I set it up for everyone. You're free to change/tweak whatever, but the settings I provide out of the box are good enough for the average joe.
[Nexus 5X Original Android Development] Ta3hi:
Is it bad to use the speakers with the sound gain at 15 or 20? And will it work with the surround sound mod on. For example will both speakers play really loud? I also want sweep2sleep and I know you won't add it but is jolla a good rom with just as good battery?
[Nexus 5X Original Android Development] ndarkside93:
Yes, that is excessive. The 5x had bad speakers and they are easily blown. Anything above 6/7 can be dangerous. But yes, it works with the surround sound
[Nexus 5X Original Android Development] yochananmarqos:
Yes. Franco magic. :cool:
[Nexus 5X Original Android Development] jcmm11:
To expound just a bit on what Franco already said there was a time when he played around with various other governors, including a few of his own. It was ultimately determined through lots of experimentation by lots of people that they added nothing to the stock governors. I've tried other governors both on PC's running Linux and on Android. I always ended up coming back to interactive for my daily usage.

Any perceived benefit of the other governors is almost certainly placebo. (Not to say that performance or power saving don't have there uses for specific reasons, they do what they're supposed to do). The stock governors are all mature at this point and have been tweaked by people that really know what they're doing (Linux kernel development isn't being done by dummies). And all that experimentation I mentioned? They played with all the settings until they were all fine tuned as well.
[Nexus 5X Original Android Development] :
Thanks for this really useful answer ?
[Nexus 5X Original Android Development] fire7777777:
thanks for the answer me!
[Nexus 5X Original Android Development] franciscofranco:
Thanks. I sometimes lack the motivation to make these long ass replies. It's nobody's fault, but I've answered these things so many times :p
[Nexus 5X Original Android Development] jugoslavpetrovic:
Is interactive gov and other gov in general the exact same in all kernels for exact device?
[Nexus 5X Original Android Development] franciscofranco:
Standard governors should be the same across the board. Interactive I don't know what others do with it.
[Nexus 5X Original Android Development] ndarkside93:
Should be very similar. I know most of the kernel devs only update it to be up to fate with the CAF patches for the interactive governor. But otherwise they're similar and from experience most devs use your tunable figures as well
[Nexus 5X Original Android Development] sugarinos:
Does the kernel support double tap 2 wake?

Στάλθηκε από το Nexus 5X μου χρησιμοποιώντας Tapatalk
[Nexus 5X Original Android Development] yochananmarqos:
No.
[Nexus 5X Original Android Development] sugarinos:
Thank you so much for your quick answer.

Στάλθηκε από το Nexus 5X μου χρησιμοποιώντας Tapatalk
[Nexus 5X Original Android Development] LazerL0rd:
Unfortunately, no. Franco had decided that he'll not add support for this on phones that never had it. It'll be too much trouble, cause bugs, and may affect battery life negatively :(.
[Nexus 5X Original Android Development] sugarinos:
I see, i can tottaly understand it. It' s a very useful feature though.

Στάλθηκε από το SM-N7505 μου χρησιμοποιώντας Tapatalk
[Nexus 5X Original Android Development] franciscofranco:
Just released Franco Kernel Manager & Updater 2.2. Slightly rebranded for moar downloads! Read my G+ post explaining whats changed: https://plus.google.com/u/0/+FranciscoFranco1990/posts/hsHNejwRRbb
[Nexus 5X Original Android Development] dickenam:
Honestly, I've used both extensively. Both are great developers and you can't go wrong either way. That said, I prefer Franco's approach myself.

Make yourself a backup and give it a whirl.....I'd be surprised if you're disappointed.
[Nexus 5X Original Android Development] franciscofranco:
Actually, I'm doing it wrong, I was inspecting the display driver and what I should have on my app is minimum of 1 and max of 256, my apologies and it'll be fixed on 14.0.3. I'll add your profile to the app :) Thank you.
[Nexus 5X Original Android Development] sgravel:
Not very scientific, but I used ElementalX with just the default settings, and also the "tweaked" settings from the thread that's going in the General forum, and always had a little hesitation and stutter here and there. I've been on Franco for 24 hours so far. Not even a hint of lag. Battery is acceptable, but I'm not overly fussy about that. I'm preferring the Franco experience so far...
[Nexus 5X Original Android Development] franciscofranco:
Well... let's stick on the Balanced profile (which is what I ship FK with). When you touch the display it goes to 1440MHz for 750ms (0,75s) (stock goes to 1280MHz for 1,5s) (the power usage difference between 1440MHz and 1280MHz is negligible). And more, on FK, the big cluster (the very power hungry A57 cores) are not boosted on touch UNLESS they have tasks running, which saves a LOT of power. On stock the big cluster is boosted to 864MHz for 0.5s regardless.

That out of the way, on the N5X if you don't have the CPUs boosted during input touches you'll have lag, and I mean really LAG. Yeah you can change interactive tunables and have the governor take care of the scaling bla bla bla, but I don't think that's the right approach since there will be times where an animation will roll and there isn't enough load for the CPU to scale up to a decent frequency and you'll see frame drops etc. And the contrary will also happen, the governor will ramp up unnecessarily. By boosting the CPU on touch you'll have a sustained frequency for at least a portion of time, running on the A53 cores (which are plenty power friendly), then the governor will pick up and scale accordingly.

Again that out of the way, we are not seeing your device, we can't see how you use it, your signal, your display brightness etc, so I can't gauge everything, but 64% left with almost 2hrs SoT seems pretty darn good to me. Also, I think you have a high count of Wakelocks. The PowerManagerService.WakeLocks is the interface that's called from userSpace when there's an app that acquires a wakelock. PowerManagerService.Display is just the display being on.

That said, I think you shouldn't worry, but I would check if you have apps keeping your device awake for too long. Other than that, your signal will be the most power hungry peripheral so if you have low signal you're pretty much ****ed no matter what Kernel you use.

With all to due respect to flar2, I believe in my approach will give you a better battery experience without losing performance. BUT flar2 has added other features that I will NOT implement (such as wake gestures). I think we can be happy that we have choice and you're free to test both Kernels and use which solves your problems better than the other :)
[Nexus 5X Original Android Development] aamir123:
The numbers above make my display very warm, I use the values 235R 240G 250B with a saturation of 35. Just my 2c. On R2.
[Nexus 5X Original Android Development] franciscofranco:
I can add your profile if you want. What name do you want for it?
[Nexus 5X Original Android Development] oubravs2b:
I've also tried both extensively and I much prefer Franco. I'm getting extreme battery performance with my usage. I have it on Battery Saving and I haven't seen a bit of lag anywhere. Getting about 6 hrs SOT with 20% battery remaining on a daily basis. I'm always on WiFi though.
[Nexus 5X Original Android Development] franciscofranco:
FKUpdater 14.0.3 is out.
[Nexus 5X Original Android Development] drdrewdown:
A quick update, at the beginning of this thread I mentioned all the problems my wife has with her 5x. I've taken some drastic measures to make it simply usable for her & wanted to let you know that in comination with several other tweaks she's finally getting (nearly) acceptable performance.

I believe she noticed the biggest improvement since running R2, so many thanks for your continued effort on this kernel. For future/others reference these are the steps i've taken thus far

*Listed in order of perceived importance*

Franco Kernel

Thermal Throttle Threshold (increased to prevent premature offline of big cores)

Advanced Interactive Governor Tweaks (currently pleased with Butterfly, but Silverfish worked nice too)

Encryption Removed

I tested these tweaks individually & believe most of them were required to get to this point. Now when I ask the wife how her phone's doing I don't get the "like sh*t" response i got since day 1 lol
[Nexus 5X Original Android Development] franciscofranco:
I'm very happy about that.

Thermal Throttle Threshold (increased to prevent premature offline of big cores) -> you don't need this anymore since r2, I removed the ability for the big cores to go offline entirely on r2, that's why she notices the big improvement since then!

I'm not sure I would run those interactive "tweaks", I would rather just use stock FK settings and if she still complains about performance then bump the input_boost_ms inside CPU-Manager (if you have the app of course, otherwise I'll tell you the command) to 1000 or even 1500.
[Nexus 5X Original Android Development] aamir123:
I don't care if what you call it but I just wanted to point it out in case someone uses one of these presets and things somethings wrong with their phone. Personally I would rather you wait to see what people's consensus is on these settings. But it is your kernel and app and obviously your very experienced.
[Nexus 5X Original Android Development] dg4prez:
Does selinux enforcing work with this kernel? I'd like to continue using pay...
[Nexus 5X Original Android Development] nathanchance:
Yes, the kernel is Enforcing but that doesn't make a difference with Android Pay.