yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] zacharias.maladroit:
You could give sultan's simple LMK a try - that one meanwhile shouldn't suffer from intermittent stuttering and other slowdowns or issues (referring to: https://xdaforums.com/showpost.php?p=77540215&postcount=3345 )

I'm using the NAP state in my kernel on the LG V30 for quite some time and afaik [MENTION=3428502]Freak07[/MENTION] is using it in the Kirisakura Kernel without problems (?) as well, so it could be something else
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Officechris:
So I gather the update failed validation? Or had you already reverted the factory boot image through Magisk before checking for updates? How did it go? My OTA still isnt showing up :(.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Likkleskip:
Just download and install through TWRP
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
I have, it works fine but Sultan himself has found minor issues with it so I'm waiting for those to be fully ironed out and verified before adding it to my kernel. I am not a heavy user so I don't notice any jank.

It very well could be; as I noted in the commit message, it was a shot in the dark but one user who was having crashes on the regular hasn't had them since that revert. Only more time will tell.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
I did not receive the update notification automatically, so I manually searched for it and the update was installed immediately. Then I followed the OTA Magisk process and it worked. After the restart my device was up-to-date and rooted. But I don't think I'll do it again in the next update. Other users have flashed the OTA file in TWRP; maybe next time I'll do it this way. The OTA Magisk method does not make it more pleasant for me (:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] saham424:
you have to do it via ADB

https://xdaforums.com/showpost.php?p=77452940&postcount=2349
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] praveen6585:
It installed the OTA automatically even though this step was done?

Please disable Automatic system updates in developer options, so it won't install OTAs without your acknowledgement

https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md#ota-installation-tips
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] :
I know that, and I'm very sure it was disabled.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joedajoester:
I followed the instructions to flash the factory image and also did "fastboot set_active other" and flashed the image again. This left my phone booting in slot B. I tried to switch to slot A and that resulted in a bootloop. My phone booted so I flashed magisk and after that I started bootlooping. To stop bootlooping I had to switch to slot A and flash the image. That makes no sense to me, I followed those instructions so I'd never need my PC to update. It seems like my phone doesn't like to boot slot B and if it does, I can't flash anything
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
USE TWRP! It works great! Decrypts, backs up, everything.

Download the factory OTA.zip from Google. Flash in TWRP, reboot and done!

Easiest update ever.

Unless you are a developer, using Magisk to take an OTA in my opinion is complicated, cumbrsome, and usually does not work.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Nekromantik:
Im in the UK so still not got a update message.

Will update manually over weekend.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Ph@nta:
So one thing I'm still unsure about: can I use the magisk procedure to flash an OTA if I have a custom kernel installed? Or do I need to also flash a stock boot.img beforehand? If I can update without flashing stock kernel, I assume I just need to use the app to reinstall the custom kernel after rebooting?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cd993:
Hmm not sure if it's just me but I flashed latest v3.07 and experienced 3 complete system freezes (to the point of total unresponsiveness required holding power button to reset). Flashed back v3.06 and all is well again.

Didn't/unable to provide a log, but just wanted to inform...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Yes, a custom kernel will not change things, as long as you flashed the Magisk.zip before installing the kernel. If you flashed the kernel first, then you may have issues.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
I haven't had any issues and not to be rude but without logs, your post is completely useless.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cd993:
Slightly rude, but that's cool as I somewhat agree... :)

Simply posting and sharing my experience with no complaint intended as indeed I could be the exception and of course not expecting you to "fix" my issue, given I can't (or haven't) suggested it was the fault of the kernel, nor prove it, granted.

To further elaborate, I flashed the latest, with no further changes to my phone being made (apps, magistrates modules etc.) and then experienced the mentioned freezes.

I'll sit this one out and will await the next release. Or perhaps if someone else is also experiencing, perhaps if I get round to it I'll reflash that version again (subject to no update being released) and run a log cat until I possibly experience it again, if that was the case.

In any case, your kernel and response is appreciated and I prefer no other kernel!

Many thanks
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joetheshmo:
What rom and security patch are you experiencing this on?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cd993:
RR Oreo v6.1.3 August
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] D-m-x:
As far as I remember RR has not the greatest reputation. I recall they add in a lot of (sometimes useless) Features which creates problems naturally. Either that or some App. I've only had once a problem on stock with Flash Kernel installed and it turned out to be a rogue App.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sirxdroid:
Noticed in the latest versions of Magisk "Preserve Force Encryption" checkbox doesn't stick. Is that an issue I should worry about or just cosmetic? I'd like my phone to stay encrypted.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chikimonke:
As far as I know, it's mainly aesthetic, but if you want it to stick, check the box then click Install and do a Direct Install. Reboot and profit.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joetheshmo:
Unless you wipe your phone and remove force encryption, having the checkbox unchecked won't make your phone suddenly unencrypted
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prey521:
Anyone lend a newb a hand? I was running Dirty Unicorns and I decided to give Pie a chance. So I clean wiped and started from scratch with the September image. Here' what I did afterwards

1. Flashed the latest TWRP without a problem

2. Flashed Flash 3.07 and booted without a problem

3. Flashed Nathan's version of Magisk and the phone would stay stuck at the Google boot animation

4. Flashed Magisk Uninstaller and phone booted without a problem

5. Flashed the new Magisk 17.1 and also installed the new APK and the phone will still not boot past the boot animation

Any ideas?

Thank you
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Your sequence actually looks fine, it's going to 9.0 that has caused many issues initially, including myself when I updated to 9.0. So here's a couple of different sequences that may help, and then again may not.

Flash the magisk uninstaller and boot up. Then fastboot the stock boot.img and let the OS boot up. Then fastboot into twrp 3.2.3-1 and flash your kernel, and let the OS boot up, then fastboot into twrp again and flash magisk 17.1 and see if it boots up.

If that doesn't work, then try...flash the magisk uninstaller and boot up. Then fastboot the stock boot image and boot up to OS. Then fastboot into twrp and flash the twrp installer zip and your custom kernel, and let the OS boot up. Go back to twrp and flash magisk 17.1, then reboot back into twrp, and flash your custom kernel again, then see if it boots up.

I can't promise you anything since the P2XL seems to have a mind of it's own from user to user. Also, make sure your SDK platform-tools are up to date as well. Good luck my friend :cool:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
Along with what Badger said, when you get stuck on the G loading screen, try holding the power button down to force a reboot. This has happened to myself before and doing that process has always made my device boot up and be fine after that.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
In TWRP flash Magisk uninstaller, flash Magisk 17.1 and then flash a custom kernel. Reboot!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
Just as an FYI to everyone, I've retired my Magisk builds, please migrate to the official canary channel: https://xdaforums.com/apps/magisk/dev-magisk-canary-channel-bleeding-edge-t3839337

Just uninstall my Magisk Manager, install an official one, plug the channel URL into the custom option in the Manager's settings, and update.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prey521:
Thanks for all the tips!! I'll give it a try in a few minutes!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Valeriuz:
Hello, has anybody tried undervolting the kernel? The pixel is quite hot most of the time, maybe because we're in summer...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Undervolting is 1) not included and 2) a thing of the past.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] arvylas:
In exkm I get the port-overheat-monitor wakelock. Does anyone know if this just monitors for overheat or is something wrong with the cable/charger and it overheats and this wakelock tried to tame it?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sublimaze:
What are you using to monitor wakelocks, and how much time does it consume? A screenshot would be helpful.

My Better Battery Stats doesn't show that on Kernel Wakelocks or Partial Wakelocks at all.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] arvylas:
I saw it in exkm if you enable advanced mode on wakelocks. It is roughly the time the phone was charging. You can't see it in bbs because it doesn't record wakelocks while charging.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ridobe:
I've been getting that for the last month.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bobbarker2:
Ignore.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
It does, he's just saying don't report any SafetyNet issues.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
It'll be fixed in the next Magisk release. Until then, either just ignore it or use the unofficial builds.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Look in the unofficial build thread on this forum. That fixes that stupid message about dtbo.

Then, look in the questions answers forum and look for the Viper on 8.1 thread. Download Quinn's zip and MERGE not NOT delete and replace the system and vendor in /magisk/Viper4Android/ with his.

Sent from my Pixel 2 XL

---------- Post added at 04:00 PM ---------- Previous post was at 03:54 PM ----------

@flar2 This is something that is happening with multiple custom kernels. I just figured to let you know the when you start work on ElementalX. Please scroll up for more ;)

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
It's probably just something I screwed up, if it isn't happening on stock.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
But both Electron and Flash? On both 8.0 and 8.1?

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
Well Electron is based on Flash and we share a lot of the same commits so yeah, entirely possible. I just don't know why I don't have any issues. If you get rid of all additional mods like Magisk and Viper and just install Flash 2.00, does it happen?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Tylog:
On board now :cowboy:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
I'll give it a shot.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Any recommendations for cpu Governors and settings?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joetheshmo:
schedutil with stock settings

EAS handled things very well [emoji106]
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
YEA what he says here... with my 4-7+ hours SOT (ranging from little to no cell service to full boat LTE AND WI-FI) I gotta say if someone finds a better way than Google did with factory settings they will be a genius. I can't imagine cpu tweaks being much of a thing on this phone. Only time will tell as the devs wade deeper into the pool...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drewski_1:
Pull last_dmesg after the reboot?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Glad you mentioned that!

I'll try it next time it crashes.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MrBrady:
What's a good app to adjust kernel settings? I'm using KA Mod but it doesn't seem to show a lot of options.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
I'll always prefer EXKM but there isn't really a lot to tweak. The stock settings have more than satisfied my need for performance and battery life so I see no reason to add anything to change that. You are free to poke around though and ask about any settings you come across.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MrBrady:
Sorry, newbie to this device. What's EAS?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
EX KERNEL Manger

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joetheshmo:
https://developer.arm.com/open-source/energy-aware-scheduling
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] THEbigSWEEN:
I've also had it happen once on Snoke kernel. Details about that one HERE. That was the first time it happened, then I've had two other instances on Electron where it happened. The first one on Electron was when I got in my car and the phone paired with my bluetooth receiver and started playing the music then a few seconds later started rebooting. Second one was shortly after waking up and unplugging the phone after about 15-20 minutes went to open an app and then it rebooted.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] grinchyyy:
Just got a new Pixel XL 2, I'm one of those weirdos that uses a wireless charging receiver. I always got pretty decent charging rates with custom kernels on my Pixel XL and custom kernels.

I'm currently running stock kernel on 8.1 and I'm only getting USB (5v I think) charging rates and the wireless receiver isn't charging the XL 2.

Question is, does this kernel have the option for higher voltage USB charging?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Schroeder09:
I just updated to 8.1 final, flash kernel 2.0, installed twrp 3.1.1 beta 2, and installed magisk 14.5 5.4.3 manager coming off the stable v14msgisk with 5.4.3 manager prior to the updates.

There are some issues. When i try to open YouTube iytbp I can't. It crashes before opening with the message "waiting for wifi to download has stopped"or waiting for wifi to download keeps stopping." Also VIPER4android isn't working even tho my se Linux switch is on permissive. I get the driver installed, IO error.

I want to just Reflash magisk 14 in twrp. Will this work? Where do I find the logs you guys need to help me?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bobbarker2:
Oops my fault, misread.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
Update to 3.08!

Remember any and all bug reports need to include logs and clear steps to reproduce (see the info in the OP). You should also know what version it started with. If you want to be a tester and get builds before they are released here or just hangout, feel free to stop by Telegram!

Short changelog

Linux 4.4.155

Attempt to fix panics/freezes, part 2

Downloads

Primary: https://nathanchance.me/downloads/kernels/wahoo/9/stable/

Mirror: https://github.com/nathanchance/fk-zips

Remember it can be auto-flashed with FK Kernel Manager!

Commits

Kernel: https://github.com/nathanchance/wahoo/commits/pie-r2

AnyKernel2: https://github.com/nathanchance/AnyKernel2/commits/wahoo-flash-9
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sirxdroid:
What are these panics/freezes you are speaking of? FWIW, I noticed that after the latest Sept Pie update and kernel 3.07 idle battery hasn't been that great. Not sure if ROM, kernel, some app ... ideas for investigation appreciated. I used BBS before but don't know if it still works on Pie.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] arvylas:
I saw a regression in battery life as well with September update especially with screen on. I doubt it's the kernel though.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] trim81:
Just installed 3.08, so far seems snappier than 3.07 on sepetemeber update.

Originally, I thought I had a bad sepetemeber flash, thta made my phone laggy, 3.08 seems to be much better with the sepetemeber security combo.

I am only ten minutes in, Will continue to test for a few more days.

Thnaks again for this update
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Nekromantik:
Yeah pie generally for me has had worse battery life then Oreo. Idle I used to get 2-2.5 per hour with LTE but now it's around 4-4.5.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prey521:
I had almost 7 hours of SOT with the September image and 3.07. Almost 24 hours off the charger.....was very impressed!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sirxdroid:
No ideas how you guys get 7 hours of SOT. What kind of apps do you run? Just read books on the phone? :) If you watch any videos or play a game or use maps/nav, no way you can get 7 hours.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] infamousvincci:
Holy guacamole what do u do in fb haha. Almost 3 hrs lol.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Jiggs82:
Yo I'm pissed off idk what you did with kernel 3.0.8 but it just borked my phone ..,,after I flashed it i get stuck the Google screen, so I tried restoring my rom and it still happens I even restored another rom and still the same issue idk if the kernel patched something that gives me this issue but even flashing an older kernel. It still happens so now I guess I have to reflash a clean rom or stock all over again ugh this phone has been the worst ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cwalker0906:
It flashed fine for me
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prey521:
Troll my fam and friends lol

---------- Post added at 09:46 PM ---------- Previous post was at 09:44 PM ----------

Yeah, obviously if you do anything cpu/gpu intensive you're not gonna get 7 hours SOT like I did. If I had gone on a Candy Crush or Ballers Journey run, it would have been a lot less lol

---------- Post added at 10:29 PM ---------- Previous post was at 09:46 PM ----------

Same here....3.08 caused my phone to hang on the Google loading animation screen. Flashing 3.07 didn't work. Going to flash stock boot and try again.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Jiggs82:
Stock boot as in what? Kernel or stock rom?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
This has never happened to me.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Jiggs82:
Well it did for me and the other guy above oddly lol this phone is just so sensitive it seems to have weird issues randomly when flashing anything and Ive been flashing since the g1 days lol Google really made it hard with the Pixel line
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
¯\_(ツ)_/¯

What version of Magisk are you using?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Jiggs82:
V17.1 official
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jamiejames:
I just can't get it freeze up or even lag. I've been trying since it's release. I think you all got it this time.

Always moving forward. TY to everyone involved.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] franciscofranco:
Shat happens. :cyclops:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MSF Jarvis:
If the bug is legitimate then it's gonna stay there on the next release too because you haven't made any attempt to make it easy to locate and fix it by providing a dmesg.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prey521:
Stock boot image.

That wasn't working for me, so I ended up flashing the stock ROM and didn't wipe any of my data, then i booted into TWRP, flashed Magisk and then Flash 3.08 and all came back online without any issues.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MrWilsonxD:
If you're unwilling to deal with a random bootloop or perform an occasional clean flash then having an unlocked bootloader and modified system night not be the best thing for you. And there's nothing wrong with that.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mirwolf:
+1

Also got stuck on Google after flashing 3.08
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] PeteT:
FYI 3.08 flashed fine on mine this morning. Thank you Nathan
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cd993:
Agreed. I've stuck with the kernel that comes with RR and so far no further issue is being experienced.

If/when I return to Flash kernel I'll be sure to provide a more detailed and helpful log.

Many thanks
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] arvylas:
I had the same problem but not immediately after i flashed 3.08. The 1st time it booted fine. 2nd and 3rd time it stuck and then booted fine again.

Also with magisk 17.1. I'll try to catch a log next time
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sublimaze:
Mine gets stuck on Google logo every now and then. Just hold the power button down until it restarts. I have never been stuck in endless bootloop.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bland.life:
Updated to 3.08 fine.

Not rooted though.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Az Biker:
I'll conservatively estimate several hundred users are running the latest Flash Kernel, myself included.

If only a very few have experienced issues with it, that would tend to point to the issue being environmental with those very few devices, and not the kernel.

Lashing out at the dev, and not providing any logs or anything other than frustration isn't going to make it any easier for the dev to look into it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Jiggs82:
Lol yeah I know and I really wasn't lashing out at him but more so at this phone and situation but anyways thanks God flashing the stock ota ,twrp magisk then kernel (beta 3.09) I was able to boot up with no issues ???
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Lagarde:
As someone who routinely gets gremlins in his devices and expects EVERY bug that could happen to happen, I've been very happy with the 3.0x versions of Flash Kernel. Went from 3.06 to 3.08 without any issues so far. Will submit dmesg/logs if anything does come up, but so far it's rock solid.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
I suggest that you ask [MENTION=6842057]nathanchance[/MENTION] to refund all of the money you paid him to develop and update a custom kernel for your use. After firing him as your kernel develloper, go and flash the stock kernel and stick with it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Jiggs82:
Lol got it ??
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MrMeeseeks:
I agree with you about this phone. I've never personally used another device that is so stubborn about custom stuff lol.