yashsingh1/xdaforums huggingface dataset:
[Nexus 5X Original Android Development] CazeW:
Had a third reboot but still no logs. Wonder why they aren't getting created. I'm suspecting though that it's the same wlan driver crash, as I've had wifi on every time and it happens after the phone has gone to sleep.
[Nexus 5X Original Android Development] franciscofranco:
I'm pretty sure there's an issue with Oreo's Kernel source somewhere, I've had a similar crash with a 100% stock device, and I've seen other users with other custom Kernels having the same sympthom. The crash logs I've seen are from 100% stock altered drivers and I don't know why they crash. Sorry for being unhelpful :(
[Nexus 5X Original Android Development] BS86:
no problem. At least for me, the crashes happen only once or twice a week. I have yet to run into the crash on stock kernel ;)

Btw: Stock kernel seems to have improved A LOT by now. I only changed zRAM to 1GB and swapiness to 100 like it is on Franco.Kernel and I can feel no real difference. Battery life is a little bit worse though.
[Nexus 5X Original Android Development] franciscofranco:
Yes the extra ZRAM helps slightly!
[Nexus 5X Original Android Development] Seyaru:
Hi [MENTION=3292224]franciscofranco[/MENTION] this kernel is amazing thanks, I have a problem with FK app all time send me a update notification. I have the last version in Stock Android O with Magisk.

Enviado desde mi Nexus 5X mediante Tapatalk
[Nexus 5X Original Android Development] SlimSnoopOS:
He's aware (discussed in 6P thread). Wait for an app update.
[Nexus 5X Original Android Development] SubwayJrd:
Please use the Hide tag in the future, obnoxious to have to scroll that far past an image.
[Nexus 5X Original Android Development] franciscofranco:
r47 is up with the newer security patches, newer Binder driver code and other security patches not included in the October release. Also this October release has a lot of WiFi driver fixes, possibly fixing those wierd random reboots present since Oreo.

Auto-flash with http://get.franciscofranco.xyz
[Nexus 5X Original Android Development] pkelly517:
And yet you quote the entire post, having others scroll past the image again.

(sigh)
[Nexus 5X Original Android Development] BS86:
The app still shows me r46 as newest release
[Nexus 5X Original Android Development] franciscofranco:
It's just the changelog that does. Fixed.
[Nexus 5X Original Android Development] Captain_Hungary:
The new kernel is working fine, however the reboot bug is still there. It happens when WiFi is sleeping. I use the keep WiFi on during sleep option as only when plugged in (for battery saving purposes) and every time it kicks in, the device reboots itself. It never happens on stock kernel, but on every other I have tried (your's, ex and shadow).

I'm running September's stock rom, with twrp and supersu. No other mods

(I will try it with October's update, when I'll have time, but I think it will be the same)

Thanks for the update by the way :)
[Nexus 5X Original Android Development] franciscofranco:
You should test it with the October release, I'm pretty sure there's new WiFi firmware.
[Nexus 5X Original Android Development] chavocarlos:
Using with October security patch since yesterday at morning and no problem at all. Thanks [MENTION=3292224]franciscofranco[/MENTION]
[Nexus 5X Original Android Development] j-a-d-z:
After factory reset of my N5X. Already uninstalled and reinstalled from Play Store. Then I can use it for some time, but later:
[Nexus 5X Original Android Development] Andi17:
Hello,

I installed the latest Kernel r47 andere then my phone tried to reebot, the Keys to enter pin come for short Time and then my phone went into bootloader.

I'm on latest ABC rom did after flashing Kernel clean Cache /dalvik.

What did i wrong?
[Nexus 5X Original Android Development] franciscofranco:
Gotta love Play Store's authentication servers after a factory reset. Unfortunately I can't help that since it's out of my control. Try to reboot or force close the app and open again. Sorry though :(

Dunno. I don't know what ABC rom is, is it Oreo based? Do you have your vendor partition updated?
[Nexus 5X Original Android Development] Andi17:
Yes it's oreo based on October Update with latest vendor
[Nexus 5X Original Android Development] zurik:
Hello [MENTION=3292224]franciscofranco[/MENTION] , how you set on by default the wakelock restrictions? I don't mean how to add the commit for this but how you turned the restrictions on by default.
[Nexus 5X Original Android Development] franciscofranco:
No idea then, everything works as it should on stock rom :(

Sorry but I'm having trouble understanding your question. Can you rephrase it? Thanks.
[Nexus 5X Original Android Development] harib12:
what is any kernel?
[Nexus 5X Original Android Development] franciscofranco:
I'm working on a new backend which will allow FK to work on any rom with any ramdisk. r3 which will be out tomorrow (too late now, almost 7am...) will be the last to ship with this boot.img format. Just giving you the heads-up.
[Nexus 5X Original Android Development] david.degraw54:
Hey [MENTION=3292224]franciscofranco[/MENTION] it seems the option to disable toast messages for per app profiles in FKU isn't working. Anyone else noticing this?

Edit: never mind! Seems it's working now.
[Nexus 5X Original Android Development] Antique_Angel:
Thanks. I'll try to flash franco today :)
[Nexus 5X Original Android Development] Tomyk89:
One weird thing that I've seen since switching to Franco kernel. Every once in awhile my keyboard will default to caps lock on. Has anyone else seen this?
[Nexus 5X Original Android Development] franciscofranco:
Nothing to do with the Kernel.
[Nexus 5X Original Android Development] Tomyk89:
I certainly wouldn't think so but just something I noticed immediately after switching from ElementalX to franco.
[Nexus 5X Original Android Development] kristof95:
Does your last sentence mean we will no longer be able to flash the kernel using fastboot but we'll have to go through TWRP?

Thank you
[Nexus 5X Original Android Development] nathanchance:
Yes, since it will be in an AnyKernel format, it will not included a full boot.img so it must be flashed with TWRP.
[Nexus 5X Original Android Development] kristof95:
Ok thank you for the details.

That is unfortunate because anytime I use TWRP, I have to allow it to modify file systems but this flags my device in the Google Device Policy app and I am not able to sync my emails then. Flashing the boot.img doesn't flag it.
[Nexus 5X Original Android Development] dickenam:
I think you can pull the boot.img from the zip and flash via fastboot. Someone correct me if I'm wrong...
[Nexus 5X Original Android Development] nathanchance:
An AnyKernel zip doesn't include a boot.img. It takes the current ramdisk/boot.img, unpacks it, modifies it, repacks it, then puts it back (at least I believe that is the process from looking at a few kernel scripts, Franco or osm0sis is free to correct me).
[Nexus 5X Original Android Development] franciscofranco:
And r3 is here! Grab it now. It's the last release before changing to the anyKernel2 method which'll work in any rom.
[Nexus 5X Original Android Development] dickenam:
did input_boost_ms go from 750ms to 500ms recently?

If not, somehow mine defaults to 500ms on r3 after reboot (and flashing stock boot.img, then franco r3, then supersu 2.66, etc.)

EDIT: maybe some governor tunable changes too? Either Franco is being sneaky magic/I can't read Github or my app/phone are being DUMB :silly:

http://imgur.com/R7eISte
[Nexus 5X Original Android Development] franciscofranco:
Yes and yes.
[Nexus 5X Original Android Development] dickenam:
I knew I was dumb! :good:
[Nexus 5X Original Android Development] franciscofranco:
[emoji57]
[Nexus 5X Original Android Development] AKtheAT:
Sorry if this is a stupid question. If going from say r2 to r3, does using the auto update feature with FKU updater work or must I do that and fastboot the new boot-r3.img?
[Nexus 5X Original Android Development] franciscofranco:
It'll work, but you'll still need to boot into the recovery to flash SuperSu afterwards.
[Nexus 5X Original Android Development] kurt.gomez:
Brilliant... waiting for the anykernel version... thanks :D
[Nexus 5X Original Android Development] nvertigo:
sorry if this was answered somewhere, I'm on superSU 2.66 and kernel r3. is there any way to get android pay working? I'm getting the "unable to verify" message on stock rom.
[Nexus 5X Original Android Development] zurik:
I mean, when I flashed the Franco Kernel before, I saw in kernel manager that wakelock restriction is turned on without doing anything. And I cherry picked the commit for Wakelocks into stock kernel. What I need to do to turn on by default the wakelock block ?
[Nexus 5X Original Android Development] osm0sis:
https://xdaforums.com/showthread.php?t=2670512
[Nexus 5X Original Android Development] harib12:
Thank you sir. :o
[Nexus 5X Original Android Development] franciscofranco:
You set the parameters to false.
[Nexus 5X Original Android Development] zurik:
Maybe there is a commit for it? mr.ace has given the commit for Wakelocks but there is another commit for that ?
[Nexus 5X Original Android Development] franciscofranco:
You don't need a commit for it, just open the file and set the params to false, save, and compile.
[Nexus 5X Original Android Development] mr.ace:
You can change manually true to false and make a commit for yourself

After do changes in the drivers/base/power/wakeup.c type these command lines :

sudo git add .

sudo git commit -m "force disable wakelocks"
[Nexus 5X Original Android Development] zurik:
May I edit the file and compile without doing anything else? I mean, to open text editor, I will edit the parameters and I will save that and then I will compile the Kernel, without typing git commands. I don't know if this will work ..
[Nexus 5X Original Android Development] mr.ace:
Yes it's possible but you can't cherry-pick commits which is related to drivers/base/power path
[Nexus 5X Original Android Development] zurik:
I mean to change directly the parameters from the file source and save it without cherry picking.
[Nexus 5X Original Android Development] mr.ace:
I know what you talk about, it's possible
[Nexus 5X Original Android Development] zurik:
If I press Fork on github it will clone the whole source to my account? I pressed this one just for curiosity.

I don't know if I made some s... there. If I did mistake, my apologies... I don't know use Github yet. I don't know if I Fork the source and change this only, the change also will appear to the original source.

Edit: I made some research about deleting a fork from my git and I understand that it will not affect the original one...

I'm calm now.
[Nexus 5X Original Android Development] zurik:
I directly edited the wakeup.c and changed from true to false. I also added it to backup folder that is nothing touched (backup to not download the source again and again) and now I build the kernel. Thanks to all for their answers.
[Nexus 5X Original Android Development] jefeezy:
kernel version : r1?

I've downloaded the latest franco kernel build, running on Oreo (oct update), and bought the FK manager from playstore.

upon opening the FK manager, it shows "UPDATE AVAILABLE and lists my kernel version as r1"

am i missing something?
[Nexus 5X Original Android Development] SlimSnoopOS:
He's aware. FKU needs to be updated to support Oreo.
[Nexus 5X Original Android Development] jefeezy:
Thank you, another question....any guides for optimizing the CPU?
[Nexus 5X Original Android Development] SlimSnoopOS:
https://xdaforums.com/showthread.php?t=3269557

Edit: Don't ask Franco about this though. He uses this kernel with the defaults settings.
[Nexus 5X Original Android Development] Nicktheprofessor:
Why would you run git commands as superuser?

---------- Post added at 07:52 PM ---------- Previous post was at 07:46 PM ----------

Learn how to use git, you're going to save so very much time by learning how to do that.

After the edit, run git commit -a, write a commit message, hit ctrl + o and ctrl + x and you are done, you now have the commit added to your source and can move on.

Do this after every single change and you'll eventually have a range of your own commits that you can revert if something doesn't work or upload to your github if it does.

If you keep the code hanging without committing it you'll run into problems when you git am a commit later on and have to edit some file, after that running git add you have to be specific so you don't add your own earlier changes that are hanging edited code now as part of the commit you are adding.

It's not that hard.
[Nexus 5X Original Android Development] zurik:
When I committed the wakelocks into stock kernel, I saved a copy of wakeup.c into other directory (On my desktop) for future use. I replaced the original file with the committed one and changed the values of wakelocks and now is fine.
[Nexus 5X Original Android Development] Nicktheprofessor:
Until you change something else or try to add another commit from some other source....

You'll simply be stuck with your kernel as is, you can't change anything using git nor update when a new security update comes along either without having to keep track of everything and doing it manually.

I won't bother anymore, if you are too lazy to learn git then there is no point in trying to teach you anything at all.
[Nexus 5X Original Android Development] zurik:
I use the stock kernel as I have no plans to make a custom one. I only need what I like.
[Nexus 5X Original Android Development] Nicktheprofessor:
As I said, I'm done with you. I'll expect you back with a thousand questions when nothing works as you try to add commits you'd like and when reverting it suddenly wakelock blocks is just gone... or when you are trying to cherry pick the new stuff from November update.

Last reply, I promise Franco and my apologies for entertaining this fools idiocy.
[Nexus 5X Original Android Development] zurik:
Anyway, thanks for all answers.
[Nexus 5X Original Android Development] lizardd:
Legit question here I couldn't find on Google.

I have unlocked the bootloader and installed Franco Kernel. Do I have to do something before installing the OTA October's update?
[Nexus 5X Original Android Development] osm0sis:
Are you rooted also?

For incremental OTAs you can use FlashFire to install them, reroot and even reinstall FK after.

Check out my FF "Recipe Book" here:

https://xdaforums.com/showpost.php?p=67124458&postcount=3480
[Nexus 5X Original Android Development] lizardd:
Not rooted. Only unlocked bootloader, custom recovery and Franco Kernel.

I think I need to restock everything to get the official OTA's right?
[Nexus 5X Original Android Development] osm0sis:
Yeah, if you don't want to root and use FlashFire, then you'll need to flash stock recovery.img and boot.img before every OTA.
[Nexus 5X Original Android Development] handyr:
Issues with r47

So I'm rooted, stock Rom. Upon updating to r47, the FK Updater App continues to tell me that I am on "r1" and tells me an "Update Available!".

Version 2.2.16 of FK Updater.

Android 8.0.0 Security patch level: September 5, 2017.

Baseband version: M8994F-2.6.39.3.03

Kernel:

3.10.73

francisco@franco #47

Tue Oct 3 01:02:24 UTC 2017
[Nexus 5X Original Android Development] franciscofranco:
The app needs an update because of Oreo's security changes. Update is almost finished.
[Nexus 5X Original Android Development] 57DeNiK57:
Hi, Franco. Can I help you with translating your app to Russian language?
[Nexus 5X Original Android Development] franciscofranco:
Not yet, I need to re-upload all the strings since stuff's changing in this update.
[Nexus 5X Original Android Development] marcelojudoka:
Hi, Franco.

Any chance to update the nougat kernel version with the latest security patches, like blueborne and KRACK (WPA2 vulnerability)?

Thanks!
[Nexus 5X Original Android Development] creeve4:
Deleted.
[Nexus 5X Original Android Development] franciscofranco:
Ok so for next FK Manager & Updater version will have built-in interactive profiles available from XDA.

Can you link me the profiles you use so that I can make it prebuilt in the app?

Thanks.
[Nexus 5X Original Android Development] franciscofranco:
Sorry, but I don't have plans for updating older Kernels when there's a new platform update. That's my policy since 2012 unless something is very broken. It's just not possible to maintain everything and we're using a Nexus so we should be using updated OS anyway.

KRACK isn't a Kernel vulnerability anyway, at least not for Android.
[Nexus 5X Original Android Development] Lughnasadh:
Links to various profiles:

https://xdaforums.com/nexus-5x/general/guide-advanced-interactive-governor-t3269557

https://docs.google.com/spreadsheets/d/1P1LXnJnUdz9cC_qpcwMpfParUBlaPbIhyLZHOWjknUE/edit#gid=0

Links to specific profiles I use:

Butterfly- https://xdaforums.com/showpost.php?p=64715483&postcount=1163

Hawktail 1.2- https://xdaforums.com/showpost.php?p=68223776&postcount=4203

Heimdall_5X_v4- https://xdaforums.com/showpost.php?p=65426708&postcount=1223 & https://onedrive.live.com/?authkey=!AEvS6yncruE8Ki0&id=C9E77668F08DB9DD!55623&cid=C9E77668F08DB9DD

GlassFish 1.2- https://xdaforums.com/showpost.php?p=68330029&postcount=4418

Thank you so much for doing this. Very cool :cool:
[Nexus 5X Original Android Development] BS86:
I am using GlassCannon since 2 days ago and it is quite huge in drain improvement, at least for me:

https://xdaforums.com/nexus-5x/general/alpha-glasscannon-interactive-tweak-t3587980
[Nexus 5X Original Android Development] Benjamin_L:
any chance we will see the custom rom compatibility fixes like the n6p? at least on aicp oreo the current version oes not work (reboots before any UI is shown (must be right before the sim pin dialog))
[Nexus 5X Original Android Development] Lughnasadh:
I've been running the latest AICP Oreo nightlies with Franco fk-r47 and have had no problems at all. I did have a similar sounding issue as the one you describe at one point but that was due to a Substratum issue, not a kernel issue.
[Nexus 5X Original Android Development] Benjamin_L:
Was a fresh install without any themes. I will try again
[Nexus 5X Original Android Development] :
You told me that you stopped playing with CPU profiles since a long time because you think that Google devs know what they do...
[Nexus 5X Original Android Development] Ryanrioz:
i'm back guys [for few weeks hiatus]

Need some suggestions profile for the kernels based on stock ROM

cheers up for [MENTION=3292224]franciscofranco[/MENTION]
[Nexus 5X Original Android Development] Milan P.:
Does this work with Android 8.1?
[Nexus 5X Original Android Development] :
r47 works fine on 8.1 preview image, for me anyway.
[Nexus 5X Original Android Development] Homeye:
https://play.google.com/store/apps/details?id=com.franco.kernel.free

It says it's not available in my country, but i installed it from the Play Store before (still on my nexus 5x). What happened? Will i able to get updates? Why did you changed the country restriction?

(i'm from Hungary)
[Nexus 5X Original Android Development] Captain_Hungary:
+1 also from Hungary
[Nexus 5X Original Android Development] Milan P.:
I noticed for 8.1.0, the per-app profiles don't work... Is there any fix for this?
[Nexus 5X Original Android Development] eak1080:
Nov images are up... anyone know if there are kernel patches? Supposed to solve KRACK vulnerablility...?
[Nexus 5X Original Android Development] osm0sis:
It should. KRACK isn't kernel side though, it's ROM side.
[Nexus 5X Original Android Development] franciscofranco:
They know better than any of us but I receive daily emails about governor profiles so I value my sanity over anything else :)
[Nexus 5X Original Android Development] franciscofranco:
The free app is dead for a long time, I de-listed it almost a year ago. It wasn't worth it and idiots ended up downloading it and downrating it before reading the app description. Just not worth my time.
[Nexus 5X Original Android Development] franciscofranco:
r48 is out with November security patchset! Also compatibility improvements for custom roms. Just warning on this one, don't auto-flash, you need to manually flash it in the recovery since the flashing method internally changed and it needs an app update (it's almost finished). Major props to [MENTION=4544860]osm0sis[/MENTION] on figuring must of the flashing issues/improvements.
[Nexus 5X Original Android Development] Homeye:
it's sounds strange because i was able to download it a couple weeks ago when official oreo ota came out
[Nexus 5X Original Android Development] franciscofranco:
You can download the zip with my app, just not auto-flash it because of internal changes.
[Nexus 5X Original Android Development] 666Leosch:
Pretty sure that guy meant he could download the free FK Manager app from play store.
[Nexus 5X Original Android Development] BS86:
If you restored your device with the integrated Backup and Restore of Android (via your google account) it also installs de-listed apps as long as you had it installed at the backup time and it is still saved on the play store servers. Thats intended behaviour. [MENTION=3292224]franciscofranco[/MENTION] You would need to purge the apk from the servers to prevent that.
[Nexus 5X Original Android Development] lizardd:
How can I tell if I successfully installed this kernel?

I went back to stock to update to November's update and I noticed I'm having the same battery life using vanilla stock that I had with September's update and Franko kernel.

I'm not sure if the kernel is not working or if I never installed it at all.

I'm using TWRP.

Edit: I'm not rooted.
[Nexus 5X Original Android Development] BS86:
In settings --> System --> about phone you should see franco kernel in the kernel section.

Battery Life of Stock Android improved a lot, but custom kernels still add more performance with a bit better battery life, but depending on your individual usecase you will not feel that much of a difference anymore.
[Nexus 5X Original Android Development] Milan P.:
I am getting the " Uh oh!" warning when I run the Franco Kernel Manager app. It has given me this message ever since I upgraded to 8.1 (OPP5). Franco kernel does seem work, but per-app profiles don't work anymore...
[Nexus 5X Original Android Development] SlimSnoopOS:
Franco knows the app needs an update. Read eight posts back.
[Nexus 5X Original Android Development] Seanbest:
Just switched to AICP Oreo ROM and this kernel causes it to boot to the bootloader only. Anyone else use this combo or have suggestions? Old ROM I used is no longer supported, but this is my favorite kernel. Thanks in advance!
[Nexus 5X Original Android Development] yochananmarqos:
I would try flashing the stock boot.img from the Google factory image matching your current security patch then FrancoKernel.
[Nexus 5X Original Android Development] Seanbest:
Did that already and rebooted and it worked fine. It only gets stuck booting to the bootloader after flashing Franco kernel.
[Nexus 5X Original Android Development] Seanbest:
Using the latest Magisk 14.3 and still booting only to bootloader when I flash Franco kernel. Any other ideas? Thanks in advance
[Nexus 5X Original Android Development] jugoslavpetrovic:
I would avoid magisk. Try SuperSU.
[Nexus 5X Original Android Development] Seanbest:
How would I replace Magisk with SuperSU? Thanks in advance.

I should say, what's the best way to do it?
[Nexus 5X Original Android Development] jugoslavpetrovic:
I can't really tell but I would go for wipe system and then flash rom, kernel, SuperSU at once. If that don't do the trick ten I would go for full clean install the same steps.
[Nexus 5X Original Android Development] Seanbest:
Got it thanks!
[Nexus 5X Original Android Development] yochananmarqos:
Not necessary. The Magisk uninstaller is all he needs. Magisk does not touch /system, it only patches the kernel ramdisk and writes to /data.

By the way, this discussion is getting a bit off topic.
[Nexus 5X Original Android Development] jugoslavpetrovic:
Sorry for off topic, guy needed help. Bootloop is not pleasent situation.