yashsingh1/xdaforums huggingface dataset:
[Nexus 5 Original Android Development] franciscofranco:
Need some insight before I go through. We already have a bunch of prebuilt display profiles for the N5 with FKUpdater. Although FK is using a very old display gammut calibration code from late 2013, early 2014. It's so complicated that I don't even show the "gamma" part on my app and only allow for RGB white point adjustments. For some reason I only found out about an updated driver that mimics the options we have on all newer Nexuses (old pal RGB white point, saturation, contrast, value, invert, etc). Are you ok if I change to this interface from now on which'll let you change things on the app instead of just RGB, or you wanna keep things as is and keep the large collection of display profiles?

Let me know.
[Nexus 5 Original Android Development] franciscofranco:
Also, the users who noticed VPN connection to cause Kernel panic, I think I found the cause.
[Nexus 5 Original Android Development] thelittlesteevee:
I'm all for newer stuff! Gonna miss the profiles though, had a couple I loved... (Is there absolutely no way to get the newer driver and keep the old profiles?)
[Nexus 5 Original Android Development] fatspirit:
If we cannot have both and the switch maybe current profiles could be converted to the new format with new fields filled with base values?
[Nexus 5 Original Android Development] osm0sis:
Same downside as on flo, I'd imagine. Switching to pcc rgb will cause conflicts on ROMs with Live Display and (especially) f.Ku's Night Shift mode, unless you intentionally rename the sysfs interface to break Live Display.
[Nexus 5 Original Android Development] visceralpsyche:
As someone who is very keen to have a correct colour profile (I'm a Cinematographer and Colorist for movies), I'm still OK with this. As long as we get a default sRGB profile and/or the ability to adjust the different variables to make that, I'd love to see newer, unified code that helps all phones get proper colours on screen :)

Cheers!
[Nexus 5 Original Android Development] franciscofranco:
Well I don't have a colorimeter to make a sRGB profile, but yes, you'll have proper tools to achieve that, RGB white point, contrast, saturation & value are enough to get that and yes it'll be way more unified and better for user experience in the end.
[Nexus 5 Original Android Development] arsal_93:
Dump Question Alert!

r103 is compatible with the latest MM stock rom (m4b30z), right?

Please do answer as it will take only 10 seconds of your time. And also because i am new to the Nexus lineup, previously a Samsung owner and there they had different versions of a kernel for CM based AND stock rom's.
[Nexus 5 Original Android Development] Arstoien:
Yes. Don't know about the build number but it's compatible with the latest stock rom
[Nexus 5 Original Android Development] franciscofranco:
Yup.
[Nexus 5 Original Android Development] franciscofranco:
r103 is out! I urge you to take the time and read the changelog. Thank you.

https://plus.google.com/u/0/+FranciscoFranco1990/posts/Y37Dhd2oiEW
[Nexus 5 Original Android Development] kted:
Finally! I can connect to my VPN from my N5!

Tapatalked from my Nexus 5
[Nexus 5 Original Android Development] kissme99:
Sorry for noob question, but how to install OTA security update with this custom kernel? Every time I press "install" phone boots to the recocery. Thanks
[Nexus 5 Original Android Development] franciscofranco:
https://developers.google.com/android/ota
[Nexus 5 Original Android Development] glocksman:
You might have already fixed this, but I downloaded the r103 kernel from the OP's link, and after installation it was listed as the December r102 kernel in the Settings-About page.

A few days later I tried again, this time through the FK Updater app, and the kernel listed as the correct r103.
[Nexus 5 Original Android Development] franciscofranco:
Are you sure you downloaded r103 zip? Because the app downloads the same zip that's available from the link.
[Nexus 5 Original Android Development] swaroopce:
Hi ! How to use Naptime ? Just install it and leave it as it is ? Should i change any settings ??

Using 103 kernel on stock marshmallow
[Nexus 5 Original Android Development] franciscofranco:
Ugh, the app is pretty self-explanatory, each setting is explained and it even has a FAQ... what part are you struggling with?
[Nexus 5 Original Android Development] franciscofranco:
FKUpdater 2.2 Beta is out. If you're on the beta channel I would appreciate some feedback on the new stuff!

https://plus.google.com/u/0/+FranciscoFranco1990/posts/bXBSvq2w5ea
[Nexus 5 Original Android Development] Sashko98:
Once enabled the color inversion cannot be disabled. When you restart the app it says that it is disabled, yet only a phone reboot fix this issue/truly disables it.

Edit: Once Restarting the app or turning off the device screen every Display settings saturation,display value contrast, hue, color inversion resets..

Edit1: Some parts of the Battery life lab are requiring to re-enter the Battery life lab category or to restart the FKUpdater in order to refresh the category information and show that those changes have been reverted/restored to stock.

I am talking for the Underclock the GPU, Power-Saving profile and Lower max brightness.

Edit2: The Display profiles doesn't seem to work either.
[Nexus 5 Original Android Development] alessio89g:
[MENTION=3292224]franciscofranco[/MENTION]

Can you add Westwood TCP Congestion Algorithm, please? :)
[Nexus 5 Original Android Development] visceralpsyche:
If I remember right there used to be a setting to change it to Vegas and one or two others (of which one might have been Westwood?).

But I can't find it in the FKU app now.
[Nexus 5 Original Android Development] alessio89g:
I use Kernel Adiutor and with this Kernel I only see Cubic and Reno TCP Congestion Algorithms.
[Nexus 5 Original Android Development] swaroopce:
I know it is self explanatory ! Since this device is my daily driver I could not test/try different options. I would be glad if you let me know some default values of all options in naptime for getting sufficient battery backup. I get nearly 3-3.5 hours of SOT on an average in my day to day usage and overnight drain is less than 2-3% at max for now (Using 102 kernel for now) :cowboy:
[Nexus 5 Original Android Development] AdmiralulNipples:
Not trying to be an asshole or anything but I am pretty sure it is 13th of January not 13rd

Just a small notice:)
[Nexus 5 Original Android Development] sga999:
Sorry to be so unaware, but how do I get your app from the beta channel in the Play Store?
[Nexus 5 Original Android Development] Paschfire:
Visit the G+ Franco Kernel Community, click the link in the Description, follow the beta opt in steps.

https://plus.google.com/communities/117966512071636110546
[Nexus 5 Original Android Development] Riddle5:
Some configuration to improve the battery in the version of the 13th and some profile for display?
[Nexus 5 Original Android Development] costlyman:
Hey FK dude.. have a feedback on the updater app. After unplugging the phone from charging, the power saving profile does not automatically switch on Android power saving (I have toggled it and I am on power saving profile all the time).

I have to manually click on the power saving profile again to activate the Android power saving.

Kernel - 103

App version - 2.2 beta 4 (1701270315)

ROM - Fake nexus 7.1.1

Great app and kernel btw.. keep up the good work
[Nexus 5 Original Android Development] fatspirit:
Use any automation tool to send intents to fku.
[Nexus 5 Original Android Development] fatspirit:
[MENTION=3292224]franciscofranco[/MENTION], I think fk actually have some BT issues. See how many CPU BT service uses. I'm talking about r103.
[Nexus 5 Original Android Development] sga999:
I have updated to kernel 103 and fkupdater beta version 2.2 beta 4. Setting a color profile does not seem to be working for me. If I keep that same version of the app but go back to Kernel 102, it works properly. I know there was a mention in the changelog of app changes coming soon, but since it appears to work with the older kernel, I think I have a good app. Any others noticing this?
[Nexus 5 Original Android Development] Paschfire:
That is the change, Color Profiles are no longer being used starting with r103. Now you use the Display Controls of RGB adjustments, Saturation, Display value, Hue..etc.
[Nexus 5 Original Android Development] sga999:
I do see all those new settings in display control. But above those, there is a setting called display profiles. And it contains the one that I have been using for years. So that made me think that the profiles are still supported.
[Nexus 5 Original Android Development] pitagora11:
I make an update from version #83 to #103 (without wipe cache :( ) but I have issues with WiFi: I can't see any access point available. I tried to install before the stock kernel (and WiFi worked properly), then install the #103 (with wipe cache after) and I have the same issue. How I can solve it?
[Nexus 5 Original Android Development] iSplassh:
Your ROM is outdated, you have to update it or you can use the WiFi_Fix.zip wich can be found some pages back on this thread.

Just search a little more...this has been answered 6351537 Times...
[Nexus 5 Original Android Development] pitagora11:
Sorry, it works. Thank you
[Nexus 5 Original Android Development] franciscofranco:
But with USB charging cut off how do you plan on charging the device during usb connection?

Well... the Android Battery Saver is disabled when it notices you're charging. I see what you mean though - will fix!

Not Kernel related, system_server is an userspace daemon.

I know, I haven't touched that part yet, I gotta hide the older profiles for users with the newer interface.
[Nexus 5 Original Android Development] Modej:
Do i need root access to modify kernel settings?
[Nexus 5 Original Android Development] fmir864:
[MENTION=3292224]franciscofranco[/MENTION] I tried to flash r103 on top of Krexus 7.1.1. It completed successfully but when I reboot, the ROM has the default kernel not the r103. Weird.

Then I flashed the kernel alone. Then the kernel is flashed. Actually the culprit is SuperSU. When I tried to flash SuperSU zip to root the N5 boots back with the default kernel.

Is this because f2fs commits? I have that SuperSU having issues with f2fs lately.

Now I'm with Krexus 7.1.1 and franco.kernel v103 and phh's superuser.
[Nexus 5 Original Android Development] fatspirit:
Of course. But maybe something in fk triggers userspace drainage? This behaviour is 100% reproduceable on fk and doesn't happen on stock kernel.
[Nexus 5 Original Android Development] franciscofranco:
I understand, but then once it stops charging then it'll fall below 100% and it'll charge again. I'll see what I can do.

Obviously...

Nah. I see a lot of MediaScanner action in your screenshot, I think you might have some corrupt media file. Just a guess though.

It's just SuperSu ****ery. Don't ask me about it, I think [MENTION=4544860]osm0sis[/MENTION] knows what it is he can explain better if he wants.
[Nexus 5 Original Android Development] osm0sis:
Start by flashing the ROM's included boot.img (extract it from the zip), then flash SuperSU, then flash franco.Kernel. Repeat flashing the last 2 for every new nightly/delta.
[Nexus 5 Original Android Development] jordiiB:
Can anyone confirm that NFC works on r103 ? Running darkROM from Jan 23th, I flashed r103 yesterday and can't read NFC tags :(
[Nexus 5 Original Android Development] franciscofranco:
Of course it works.
[Nexus 5 Original Android Development] jordiiB:
I just reflashed the ROM and still doesn't work, maybe ROM related :)
[Nexus 5 Original Android Development] gari5:
What kind of USB tethering bug?

Sorry but all this seems a strange request for something that maybe is not caused by the phone.

And I used the USB tethering in the past without any problem.
[Nexus 5 Original Android Development] tom0769:
Did you recently open your back cover?

Maybe it's not snapped in completely when reassembled.

There's a clip right in the middle of the back cover, just ~1,5 cm (1inch) above the NEXUS label.

Just press on this point to hear it snap in.
[Nexus 5 Original Android Development] justeam:
Please add TTL target to the kernel

Hello, [MENTION=3292224]franciscofranco[/MENTION]

Thank you for your great work on this kernel.

Let me explain: some telco providers have tariffs with unlimited internet, but they do not allow to share it through the tethering. To bypass this limitation there's a trick that needs TTL target for the netfilter (http://cateee.net/lkddb/web-lkddb/IP_NF_TARGET_TTL.html) compiled in. The string is used looks like "iptables -t mangle -A POSTROUTING -j TTL --ttl-set 64"

Option looks like like that: https://habrastorage.org/files/a29/df9/4d0/a29df94d0c6a4926ba0343422717d2d9.png

It would be great if you include it in the next build of the kernel (preferably for the android 7.1).

Thanks in advance!
[Nexus 5 Original Android Development] franciscofranco:
Sure, shouldn't be too much of a problem.
[Nexus 5 Original Android Development] franciscofranco:
Have you tried doing "adb shell dumpsys battery unplug" to trick the system in thinking you're not plugged in? Or "adb shell dumpsys battery set status 4" to set it to "Not charging" state?

My initial attempts in the Kernel driver didn't go so well.
[Nexus 5 Original Android Development] :
You may want to modify the USB cable itself. I have not tried it personally but this mod should be the easiest one:

http://www.instructables.com/id/USB-Condom

They block the data pins though while you would have to block the other two.
[Nexus 5 Original Android Development] gari5:
--- 8.8.8.8 ping statistics ---
1390 packets transmitted, 1389 received, 0% packet loss, time 4170967ms
rtt min/avg/max/mdev = 47.808/77.365/1071.106/74.679 ms

TL;DR I can't reproduce after an hour of use.

My pc connected to my home router in wifi using the USB tethering of the nexus 5 (PC to Nexus 5 using USB tethering, than from the phone to my router I use the wifi of the phone).

One hour of pings every 3 seconds, I updated linux, used Chrome and zero problems.

PC is using Linux Arch kernel version 4.9.6-1-ARCH

Nexus 5 with nitrogen ROM Android 7.1.1 with Franco kernel 103.

Some months ago I used skype with USB tethering and the phone in 4G, even that (with Ubuntu and no Arch linux) zero problems.

---------- Post added at 08:39 PM ---------- Previous post was at 08:37 PM ----------

By the way Windows 10 is a totaly different story...
[Nexus 5 Original Android Development] gari5:
Was your battery full?

Yes, charged from the wall adapter than connected to the PC.

If so, can you send me your system and priv-app list?

Search for Nitrogen Rom on xda, flash the Rom and use the USB tethering provided by Android and you will have pretty much my setup :fingers-crossed:

The apps installed (if I understand correctly what you mean) should not matter but if you insist I can give you the list.
[Nexus 5 Original Android Development] gari5:
:good:No problem, in the next few days I will do another test and save the logcat.

By if I cannot reproduce the problem a doubt my logcat will be useful.
[Nexus 5 Original Android Development] gari5:
Oh:silly:...Then yes, but first be sure the problem reside on the phone and not in system connected through the tethering.

Side note: all this seems to start going off topic.
[Nexus 5 Original Android Development] fatspirit:
Is there anyone with fk + mi band + mi fit?
[Nexus 5 Original Android Development] thelittlesteevee:
Me!
[Nexus 5 Original Android Development] franciscofranco:
New franco.Kernel version for the Nexus 5

r104

1. Fixed some SELinux denials

2. Enable NFS2, NFS3 and CIFS+SMB2

3. Enabled IPTables TTL in the config folllowing a user request

4. Increase consecutive re-charging delta period when the device is near-at 100% to reduce battery wear

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 5 Original Android Development] osm0sis:
Hey, check Hangouts damnit!
[Nexus 5 Original Android Development] numb_:
Hi [MENTION=3292224]franciscofranco[/MENTION]

In the last version of FKUpdarer (2.2 b7) I just noticed this app profile.. it's safe to delete it? Apparently no apps use it..
[Nexus 5 Original Android Development] franciscofranco:
Don't delete that. It was supposed to not show up there, ****ing **** :)
[Nexus 5 Original Android Development] fatspirit:
Could you please install https://play.google.com/store/apps/details?id=org.uguess.android.sysinfo.pro then switch to processes tab and set cpu sorting mode - do you see any bluetooth service with high cpu usage?
[Nexus 5 Original Android Development] numb_:
:D now there is also system_monitor_prefs app profile
[Nexus 5 Original Android Development] franciscofranco:
Will be fixed in the next update.
[Nexus 5 Original Android Development] thelittlesteevee:
Nope. (Idk if it's actually working though...)
[Nexus 5 Original Android Development] fatspirit:
Try these settings. What's your android version?
[Nexus 5 Original Android Development] thelittlesteevee:
No dice. Everything still shows 0. :P

I'm on LOS14.1.
[Nexus 5 Original Android Development] fatspirit:
Well, I'm seems to be unlucky one.
[Nexus 5 Original Android Development] tixed:
Hi!

Recently installed AOSP 7.1.1 and your latest kernel through Franco Kernel Manager & Updater on my N5.

Sadly, I can't find color profiles there anymore, there're only night shift and manual RGB adjustments under Display control.

How do I find them or bring them back?
[Nexus 5 Original Android Development] justeam:
Hello,

just downloaded the kernel, flashed and tried to apply the ttl rule. Well, works like a charm.

Thank you!
[Nexus 5 Original Android Development] franciscofranco:
It's explained in r103 changelog. Newer color controls, older profiles don't work anymore.
[Nexus 5 Original Android Development] Riddle5:
Any profile for display control?
[Nexus 5 Original Android Development] redj12:
[MENTION=3292224]franciscofranco[/MENTION]

Hi FF. I am looking for a solution about troubles that I have with my phone. I tested many kernel and the issue is same : freeze, reboots reboots and reboots ! I explained here my problem and made some logcat : https://xdaforums.com/google-nexus-5/orig-development/kernel-t2697951

I flashed your latest kernel, opened a YT video on firefox. There was a freeze and reboot as usualy. Here is the last_ksmg. Can you please take a min and tell me if you see something wrong ? https://framabin.org/?a6b9e0f43193446e#OuA1boCgu7E0bZb6o6rDIjf8EqXhlwyHHg50DqloRPQ=

Thank you. I really don't know what to do with this f****ng phone.
[Nexus 5 Original Android Development] redj12:
Sure. I was on the stock google ROM for more than one week. No reboots, no freeze. I tried many AOSP and CM rom, all kernels, all of these things make the phone freeze and reboot.
[Nexus 5 Original Android Development] redj12:
Thank you for your suggestions. I checked the radio and bootloader and I am using the latest.

Baseband : m8974a-2.0.50.2.30

Bootloader : hhz20h

Any others idea ? Maybe I should downgrade bootloader and radio and see if there wil be any difference ? I am not a complete noob but this is really a particular issue and I have no idea how solve it.
[Nexus 5 Original Android Development] franciscofranco:
I checked your Kernel panic. There's a bunch of **** in there. But for starters, your ramdisk isn't stock. You flashed FK after flashing blu_spark so there's some **** going on. If you're changing Kernels you should flash the rom's stock boot.img first. Other than that I see some important services failing (dunno why) and then some crashes on the WiFi drivers and then everything goes south really quickly.
[Nexus 5 Original Android Development] redj12:
Thank you. I flashed your kernel this morning and probably forgot to flash rom zip before the new kernel one. But I don't think that is the problem. I had reboots even with clean install and stock kernel.

Can I provide you more informations about those crash ? If so can you told me how to do it please ?
[Nexus 5 Original Android Development] Paschfire:
Seriously? Answer to this question is one post above your own.
[Nexus 5 Original Android Development] occtec:
Hi guys, is there a backlight dimmer adjustment in FKU app? I'm using Santosh Nougat rom and since flashing the latest r104 kernel I've noticed when my backlight dims half my screen seems darker then the other?? Cheers
[Nexus 5 Original Android Development] occtec:
Is there a workaround or anyway to fix this?
[Nexus 5 Original Android Development] franciscofranco:
I don't see how that's an issue caused by the Kernel.
[Nexus 5 Original Android Development] occtec:
Never said it was, just seems coincidental that after flashing your kernel this issue arises but that's not too say it's caused by the kernel. Possibly incompatibility with Santosh Rom? I don't know hence why I asked the question. Going back to the days of marshmallow using your kernel I do recall there was an option to disable backlight dimmer within FKU that had resolved the same issue. Don't know, food for thought. Thanks anyway.
[Nexus 5 Original Android Development] :
Is there any way to roughly convert the values of an old profile to the settings available in the new color controls? For example, the profiles Piereligio_TrueRGBv7 or Bear_Perfect? I looked around for information on how the old profiles were made but resources are scattered and the best I could find was this old app you made that defines some of the values when a profile is loaded into it.
[Nexus 5 Original Android Development] sivy83:
Is it only me that i can only set RGB and brightness in color control in Franco app? No saturation,display value contrast, hue, color inversion etc.

[edit]Works fine with different app
[Nexus 5 Original Android Development] jacomail95:
Any thought about testing the EAS governor found in the Pixel devices? Maybe it can be useful for also our S800 SoC :)

Inviato dal mio Nexus 5 con Tapatalk 2
[Nexus 5 Original Android Development] Mrcactuseater:
If you conducted any research at all before this post, you would know the different kernel versions between the pixel and the Nexus 5 is too great and the effort required to backport it would be substantial. I also think it's benefits would be minimal to a device nearly 4 years old at this point.
[Nexus 5 Original Android Development] jacomail95:
No need to be rude. I do my researches but since i'm not a dev or expert i believe it's legit to ask for a simple explanation even if i know the devices are different. Thank you
[Nexus 5 Original Android Development] franciscofranco:
Things changed a bit. They'll be back on the newer app version coming out this week if all goes well.

It's impossible to backport.
[Nexus 5 Original Android Development] bartolinio:
Github just got an update (small fixed code issue): https://github.com/OnePlusOSS/andro...mmit/888051b366e0dd9067ce769959a461cd9454912c (ohh wrong thread)
[Nexus 5 Original Android Development] redj12:
Guys, I installed the stock ROM. After that I installed EX kernel. The ramdisk must be stock if I want to flash another kenel. How can I get it ? Can I just flash the boot.img from the factory image zip, via adb ?
[Nexus 5 Original Android Development] Sashko98:
Yes
[Nexus 5 Original Android Development] franciscofranco:
This is the Nexus 5 forum, not the One Plus 3/3T.
[Nexus 5 Original Android Development] bartolinio:
oh krap, I made a mistake topics, too much watchlist :D
[Nexus 5 Original Android Development] L.F.B.:
r104 is out. Just updated now...

I liked the battery fix to not wear it... Ive just replace my battery. Its a good thing!?