yashsingh1/xdaforums huggingface dataset:
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
You'll probably be surprised with FKUpdater's features.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] schaggo:
Yeah, after years of doing so, I'm so used to fastboot flash boot ... I used the wrong command.

Sorry for bothering anyone, the right command (for the time being) is fastboot flash kernel ...
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Taebom:
coming from stock i have HBM in the fku app and r7.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] TonikJDK:
Posted this in the XL thread, it should have gone here.

OK, got HBM working!!

Here is what I did.

Flash-all back to stock removing the -w

Fastboot flash kernel R7

Did NOT reboot instead went straight to fastboot boot TWRP

Installed SU SR3

And it works. The key is don't reboot, go straight to TWRP and root it.

So, some of your magic isn't happening unless you are rooted before you boot the kernel the first time.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] mngdew:
fastboot flash kernel fk-r7.gz

I check the SDK and it wasn't the latest version. Is that the cause?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
It's possible, I've seen people have problems with fastboot when their SDK is outdated, especially since the pixels have two partitions for the boot.img
[Google Pixel ROMs, Kernels, Recoveries, & Other De] kingmikel:
Has anyone tried r7 with the 7.1.2 beta?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] TonikJDK:
I saw one for sure in the other thread. Said it was all good.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] siddhesh.raikar:
Yes, works fine.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
Works fine. Google hasn't yet pushed the Kernel sources online though.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] milan187:
Very impressed with regular pixel and Franco Kernel. Running Pure Nexus.

View attachment 4025999
[Google Pixel ROMs, Kernels, Recoveries, & Other De] milan187:
By the way. How do I use the backlight dim? I don't see any difference.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
FKUpdater needs a small update to support everything, will be out until the end of the week (sooner than later).
[Google Pixel ROMs, Kernels, Recoveries, & Other De] varun.gid:
Anyone has the stock boot. Img? Would save hassle of flashing stock rom again..
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
Factory images. Stock boot.img is inside.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] shinesthru:
Not contributing to development, but I just have to say... damn it feels good to have some Franco love on my device again. I took a year break from the Nexus line and was using a MXPE, but I very much missed your work, [MENTION=3292224]franciscofranco[/MENTION].
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
Welcome back to a proper phone.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] jayfried:
After one day of use phone is good to go and there is definitely some battery improvement, one day light to medium use just under 2 hour screen time.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
Curious if any of you is suffering with IPA_WS wakelock. Saw a coupld users with stock Kernel/Rom having some hard time with that lock. Asking because I'm trying to decide if I should disable it by default on r2.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] johnandbodhi:
funny thing..yes on pixel..no on pixel xl..hmm
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
Yeah. On r2 I'll bypass IPA_WS.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
r2 is out. I spent some time with this seeing where I could push a little extra on lowering power requirements without touching cpu frequencies/governor parameters. I don't have numbers, but I wouldn't be surprised if r2 pushed screen on time further. Of course I can't control variables such as apps randomly wakelocking or bad signal, but the part that I can control I can safely say it'll help a bit. Besisdes there's other fixes from upstream & kernel_common-3.18 from Google which reduces overhead in some specific subsystems.

It also bypasses IPA_WS wakelock by default (you can enable it back if you need from FKUpdater or shell commands) because it's a common wakelock. If you've been having it that'll help lower your idle wakeup times. There's also a small patch that I cooked on the display subsystem which queues some important work to a high priority queue list, so that it does its thing faster (more info on on github).

I think this is a good step forward before the world of custom recoveries and being able to tweak some things on the ramdisk.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] JonMS:
I can't flash this? Download appears to be a GZ file not IMG. renaming it and the file inside with IMG still fails via fastboot flash
[Google Pixel ROMs, Kernels, Recoveries, & Other De] guaneet:
Fastboot flash kernel fk-r2.gz. make sure it's in your adb folder. Don't rename it or extract it.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] JonMS:
Ah okay so I dont need to touch the file format. Thanks!
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
Instructions in the OP are pretty straight forward. Just flash it as is.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] JonMS:
Yes, they are but it does not specify a file format and when looking at some of your other releases they are IMG format not GZ. Simple confusion.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
Latest FKUpdater beta release supports the Pixel. I pushed it out yesterday night. If everything goes right this goes to production next Tuesday.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] JohnnyMcG:
How do I join the beta? And does that mean no need for fastboot?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
https://play.google.com/apps/testing/com.franco.kernel

You still need fastboot for now. I'm waiting for custom recoveries to show up so that I change from Kernel binary to AK2 method.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
I'm having extraodinary battery life with r2. Much better than I thought. How about you?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] kvlt:
So glad to hear it. Just had the realization this morning that its really my one issue with this device so far. I've used your work to great result in the past though and am excited to give it a shot in these early stages. Thanks for all that you do!
[Google Pixel ROMs, Kernels, Recoveries, & Other De] duminduweera:
Works like a charm, maybe this should go to the OP?

Thanks again.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] crossen0:
Franco I have have been trying to use your kernel since I got this phone early December. Up until just now I've been using the fastboot command flash boot and it never booted. Someone just suggested try fastboot flash kernel instead and now it works! Can you please forgive my ignorance and tell me what the difference between those is?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] TonikJDK:
Fastboot boot

Means take the file and boot the phone with that file. That is, as you now know, not the right command for a kernel. It would be used to temporarily start the phone with a different recovery, like TWRP.

Fastboot flash kernel

Means take the file and flash it (copy/install) in the kernel area of the phone.

FYI, the proper commands are in the first post.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
You simply activate it and it'll then use a different algorithm to scale brightness.

They are different commands for different purposes. The command has been in the OP since day 1.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] iainaaldrich:
What the changes with 8? Changelog link doesn't work
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
r8 is up. Merged some security patches from Google and bypass qcom_rx_wakelock, wlan_extscan_wl and IPA_WS wakelocks by default. Should greatly improve standby battery life for those who have trouble with these wakelocks.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] milan187:
R8 loaded up, thanks. Will send donation soon.

Edit:

Order number:*GPA.1349-9521-8552-87656

Will support again.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] rohitece06:
How can I find that those wakelocks are infecting my battery life? I am not on your kerenl.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] b4u2:
So my phone ignored my "do not install/check for updates" and now I am on 7.1.1 build number NMF26U. Extremely annoyed right now. So at this point can I even try a kernel?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
This kernel is for latest build 7.1.1 and even works on the 7.1.2 beta, it's just a matter of getting your bootloader unlocked which the depixel8 method got patched starting with the first 7.1.1 build.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] y2kbugleung:
I have just installed the r8 kernel and FKUpdater Paid version. In the Updater app, it says "Uh oh! Although your device is officially supported there's currently no FK available for your Android version yet".

My Pixel is on 7.1.1. Is it normal to see this message?

Thanks.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
Yes. You will see that until there are TWRP flashable zips
[Google Pixel ROMs, Kernels, Recoveries, & Other De] kurt.gomez:
Any reason why I'm having trouble with SuperSU-SR4... Was running PureNexus Rooted and flashed r8... Deleted fstab.sailfish and flashed SuperSU and flashing seems to go fine but on boot up no SuperSU showing up and root checkers saying no root access... Got no issue re-flashing everything clean but just wanted to ask in case anyone had any thoughts... Kernel has flashed fine just no root
[Google Pixel ROMs, Kernels, Recoveries, & Other De] TonikJDK:
Something doesn't sound right.

There is no SR4 that I know of. Should be using 2.79 SR3 and there is no longer any need to delete fstab.

Trash the stock kernel and boot. Then flash Franco, and without booting flash or boot to TWRP and install SR3.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] kurt.gomez:
My bad... was flashing 2.78 SR4... tried the 2.79 SR3 but still no luck... will try flashing the stock kernel back and see..
[Google Pixel ROMs, Kernels, Recoveries, & Other De] milan187:
Don't delete anything when flashing 2.79 SR3. Works for me everytime. What's your issue?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
Just follow the instructions on SuperSu's thread and in this OP and you'll be just fine.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] kingmikel:
[MENTION=3292224]franciscofranco[/MENTION] I haven't created any per app profiles, but these two showed up. Is that normal? And I haven't enabled per app profiles in the settings, I'm holding off until I see if those two profiles are supposed to be there.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
They shouldn't show up there, but don't delete them. Next update they'll be gone.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] kingmikel:
So should I enable per app profiles in the settings so those two can work? Or do they not do anything?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
Those are not profiles, are just files that shouldn't show up in that list.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] pahlerc1:
This worked great for me! Had issues on the Pixel getting FK to boot up properly.. issue with something I am doing on my end, but followed this and worked perfectly for me on 7.1.2 beta

Thanks for the kernel, first time running it on the Pixeld so far so good :)
[Google Pixel ROMs, Kernels, Recoveries, & Other De] burtonlax:
How do I install this over Elemental?

*with SuperSU
[Google Pixel ROMs, Kernels, Recoveries, & Other De] milan187:
I was able to just flash over. SuperSU must be flashed again.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] kurt.gomez:
Figured out why I didn't have root... I forgot to install the SuperSU app after boot... Apologies for the amateur hour... Don't know how that slipped my mind... All good now.. Thanks!!!
[Google Pixel ROMs, Kernels, Recoveries, & Other De] burtonlax:
Did you have to use fastboot to flash? I'd like to flash from my phone if possible.

Thanks bud!
[Google Pixel ROMs, Kernels, Recoveries, & Other De] milan187:
There is no other way for now, until Franco figures it out.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
This is how it is for now.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] TonikJDK:
I have no complaints about the way it is.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] milan187:
Its not ideal the way it is but a small inconvenience to get the best kernel.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
It's actually much better this way. I miss the old boot.img style too, just hoping on bootloader and flash. But that would cause some user inconvenience.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] milan187:
Obviously I don't know how it works internally but from a user perspective it's easier when you don't need a PC. Boot TWRP and flash kernel. You don't even loose root.

Not complaining though it's not like I'm flashing the kernel everyday.

Thanks man.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] PsiPhiDan:
Agreed. I always like handling things on my phone if possible. But this method is easy enough for now. :)
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
Agreed.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] schaggo:
As always, FK is pure cream. After giving it a couple days, I can safely say, excellent stuff [MENTION=3292224]franciscofranco[/MENTION].

Apart from the kernel, 7.1.1 on the Pixel seems to be much more a sucker for location than 7.1.1 on the Nexus 5x was/is, I get tons and hours of NlpWakeLock and NlpCollectorWakeLock. And this despite agressive Naptime. Possibly assistant over Google Now or so.

Anyway, I come here asking to see if others may experience the same on sailfish/marlin. I specifically ask this, as I replicated my N5x on the Pixel and have no additional apps or services installed, which would/should trigger the location framework more often.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
Those wakelocks are part of location services. I don't know if those wakelocks can be blocked the same way in the Kernel layer. I can look at it though.

I can make a test Kernel for you trying to bypass these wakelocks (as it seems you can trigger them quite easily).

EDIT: please flash this zImage (same flashing method as in the OP) and let me know if those wakelocks can still be acquired. No promises though. https://www.dropbox.com/s/bki3t2qk64vnb2j/zImage?dl=0
[Google Pixel ROMs, Kernels, Recoveries, & Other De] rohitece06:
I know this maybe far fetched but will this kernel work on the 7.1.2 beta?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] crossen0:
Sure does.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Taebom:
Yes, but not recommended because sources for that kernel aren't out
[Google Pixel ROMs, Kernels, Recoveries, & Other De] TonikJDK:
R8 is fine on the February security updates.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
Yes.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] グリッチ:
R8

works

on Feb Security Updates?

or

R8

works & contains

the Feb Security Updates?

https://source.android.com/security/bulletin/2017-02-01.html
[Google Pixel ROMs, Kernels, Recoveries, & Other De] joetheshmo:
Works
[Google Pixel ROMs, Kernels, Recoveries, & Other De] TonikJDK:
Unknown.

But he made R8 on the 2nd. I would be shocked if he missed any security commits and Google didn't add any after the 2nd considering Sony released the update on the 1st.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
r9 is up with February security patches https://kernels.franco-lnx.net/Pixel/7.1.1/fk-r9
[Google Pixel ROMs, Kernels, Recoveries, & Other De] mrZoSo:
Thanks Fancisco! Just updated everything tonight :)
[Google Pixel ROMs, Kernels, Recoveries, & Other De] milan187:
Thanks for keeping us up to date.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Slomies:
What are your settings to achieve this?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] milan187:
Nothing. Franco kernel untouched. Pure Nexus ROM. I always hit at least 6 hours with this setup. My usage is chrome , YouTube, Tapatalk, light gaming, g+ and Facebook with metal app.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
Settings: magic.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Slomies:
I'm new to the Pixel... so for installation (with root) the steps are...

1 - adb reboot bootloader

2 - fastboot flash kernel fk-r9

3 - reboot

4 - flash supersu zip again from TWRP

5 - profit or magic :)
[Google Pixel ROMs, Kernels, Recoveries, & Other De] milan187:
Yup that's what I did.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] TonikJDK:
I skip 3 and after flashing the kernel I boot straight to TWRP and install su.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] varun.gid:
i'm running pure nexus. How should i go about flashing the kernel? Just fastboot the image?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] milan187:
Same way. I'm on PN as well.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] fracman:
Fastboot flash kernel ****.gz

Reboot recovery

Install SU

Reboot.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
Instructions in the OP.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] schaggo:
Geez, that's service!!

I went about and disabled Google Assistant (well, I changed the locale and it disabled itself, stupid piece of crap). The wakelocks immediately and noticeably diminished. It seems Assistant is a lot worse than Google Now.

With my request I addressed the general public, not you directly. I'm very surprised you cared, that's like over-cool! I went straight to r9, if you want me to, I'd run your testbuild for a couple days with Assistant renabled to get you some feedback. Dunno it it's of any use to you, you tell me.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
r9 has the testing code. I don't think these wakelocks can be blocked from the Kernel though, it doesn't seem to be working on my case.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Slomies:
I'm running Pure Nexus and flashed the r9 version of this kernel. I noticed my phone has been loosing battery quickly for a few days now and it looks like Android System is the reason every time. Any ideas on how to fix the drain? Maybe I need to flash the kernel back to stock and then reflash it? If so, how do I go about doing that?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] robocuff:
Have you restored a nandroid recently? If so and when you made the backup you backed up system and data, instead of system image and data, that could be the reason. For some reason doing backups that way causes this kind of issue. At least for some people. Me included.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
That's not Kernel related. Can be 2048329482 different things, I can't help you with that. I already bypass some major wakelocks through the Kernel, but I can't bypass everything. You gotta debug that yourself. Sorry.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] 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
[Google Pixel ROMs, Kernels, Recoveries, & Other De] Slomies:
I actually did and that could be the reason. What options should I check for backups so I can avoid that issue?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] robocuff:
System image, data image and vendor image. When I had the problem, I flashed a factory image to get it straightened out but somebody here posted later that they just flashed rom they were on and it fixed it. No need to start all over that way if it works. Wipe system and flash the rom. Can't vouch for it myself as I haven't had to try it since the first time but it can't hurt to try it. My guess is you'd have to flash TWRP, the kernel and root again though.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] kingmikel:
Looks good my man! I'm guessing that with Pixel we still have to use fastboot to install the kernel? I think you would have mentioned otherwise on the changelog, but just making sure!
[Google Pixel ROMs, Kernels, Recoveries, & Other De] TonikJDK:
Correct
[Google Pixel ROMs, Kernels, Recoveries, & Other De] robotnikz:
Why can elemental kernel be flashed through TWRP, Franco's not?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] schaggo:
Get Better Battery Stats, let it run along for a day or two, and then find out what's causing your drain instead of speculating what it could be, when there are according to franco some 2.4*10e15 possibilities.

Because of reasons.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
Because I (currently) ship a Kernel binary and flar ships a zip.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] robotnikz:
Thank you Franco. Installed your App and waiting. Take your time and thank you for your effort.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] milan187:
Out of curiosity how hard is it to make it a flashable zip? I'm assuming you have some other issues for which you are not releasing a zip.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
Injecting the Kernel binary in the boot.img + magically write the ramdisk changes in a slot system partitions system isn't particularly easy. I know AK2 method has been updated and I tried a few times without much success. osm0sis has been nagging me to try again, but truthfully I've been busy with other **** and I haven't felt like dealing with flashing and ocasional bootlooping.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] TonikJDK:
I am NOT rushing you. And I am fine the way it is. But if it helps, PM me links and I will be happy to flash and bootloop.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
This is still way earlier before I can share. I'd rather **** my device than anyone elses.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] LibiSC:
fku has an option to increase vibration intensity in the pixel???

Enviado desde mi Pixel mediante Tapatalk
[Google Pixel ROMs, Kernels, Recoveries, & Other De] shogun160:
I installed r9 on 7.1.2 (NPG05E) and it still says that I have Securitypatch from 5th January.

Does anyone know why?
[Google Pixel ROMs, Kernels, Recoveries, & Other De] largeselection:
I can't imagine this is this kernel related... But literally all I have changed on my phone in the last day has been to load this kernel instead of stock so I figured I might as well ask the question...

But ever since I loaded this kernel Google assistant launches itself automatically anytime I touch or wiggle or breathe on three headphone connection if I have headphones plugged in. I used to be able to listen to music and put my phone in my pocket, but now the phone goes berserk when the headphone jack gets touched. Tried with multiple sets of headphones... Is there anything that might cause this with the kernel?

Other than this I much prefer yours to stock.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] franciscofranco:
Absolutely not related to the Kernel.

The security patch level has nothing to do with the Kernel.

Yes.
[Google Pixel ROMs, Kernels, Recoveries, & Other De] LibiSC:
to the root mobile then...I didn't want to root but the vibration intensity is too soft

Enviado desde mi Pixel mediante Tapatalk