yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] D3ATHBoy:
Hey so I'm on Liquid Remix with Flash kernel and Magisk root and its modules.. I want to jump to Sultans.. so do i just flash sultans thru TWRP or are there anymore steps? like flash magisk after that or clear cache or something?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] SageWilliams:
Same as other kernels but you will need to reflash magisk.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] WillowTree:
What if im on a custom ROM?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Benjamin_L:
Just dirty flash your rom then instead of stock
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] WillowTree:
Thanks for the help :o
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rodcpierce:
This kernel is by far the quickest kernel I have been on yet! Curious to see how battery life stacks up against Flash and EX. So far though it opens apps so quickly!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] marbertshere:
It's been a while since I've had to do this. I must flash the stock boot image before flashing a different kernel, correct? If I'm coming from flash or ex, for example?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] WillowTree:
Just boot into twrp and flash kernel and magisk, reboot.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kevtrejo37:
Thanks bro, any plans of upgrading to pixel 3 ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Maybe in 6-8 months when it's cheaper.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
New build is up with November security fixes.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] def-g:
Smooth as always.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Reuben_skelz92:
First time using this kernel. Everything running great
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rodcpierce:
currently my favorite kernel as well. Just seems to open apps much faster than Flash or EX for me, and still provides great battery life.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] def-g:
Agreed. Try it with Unified Script. Next level goodness.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rodcpierce:
Wait, this might be what I'm on. I'll double check here. I forget which I'm currently using. I switch between them both.

*Edit*

Yep, 6.2 maintenance edition is what's currently in there. Looks like I was wrong. Lol.

I use my phone for hotspot a lot at work and I'm using about 4.5 - 5 hours of hotspot a night on LTE, and still getting about 2 hours SOT all while returning home at the end of the day with 35-40% battery left .

That's unheard of!

Mind you, this is all off the charger. I don't plug the phone in at work at all.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] BREE1997:
Rooted with stock rom using magisk

I am new to this so please guide me.

So my Pixel 2 Xl is rooted with stock rom using magisk, I didn't do anything other than that. So how can I flash this new kernel? Any help is appreciated. Thank you.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sublimaze:
Download kernel to your phone, reboot to recovery, flash kernel then flash Magisk in the same recovery session, reboot system... done.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rodcpierce:
Assuming you have TWRP, do the above. The process is a bit more demanding if you're on stock recovery.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sublimaze:
True. I assumed he already flashed TWRP since he has Magisk and wants to play with kernels.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rodcpierce:
I'm still on stock recovery myself. I just boot TWRP via ADB and flash the kernel and magisk. Then reboot.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sublimaze:
Correct. Use ADB to boot TWRP image, flash kernel, then flash Magisk if you want to be rooted, then reboot system.

If you plan to bounce between kernels, you should flash TWRP permanently. Makes kernel flashing much easier. You can always revert to stock recovery by flashing a factory image.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] BREE1997:
Thank you so much for the help. Already flashed the kernel. I'm really new to this so I didn't do anything other than root and flash kernel. Is this the best kernel to use? What about any other ROMS?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TekRantGaming:
Excuse me there was no sarcasm there and I don't have the time to do that I simply asked a question I respect this developer and have been following and used most of his work for years since my OnePlus one and my OnePlus 3 please don't compare me to scumbag users who always ***** about things

I simply asked if it was meant to do it as in "is this build currently bugged"
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] steviewunderr:
Does this kernel have a specific app that is best for controlling its features? I am coming from Flash kernel so I have FK manager and I used to run ElementalX and have EX manager. Took a peek in FK (naturally) but didn't seem to find anything. Do I need to look harder or?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Take a look at my script. It have everything already tuned, adjusted and controlled for everyone without any compromises or/and tradeoffs.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] steviewunderr:
I saw your original thread post and wasn't sure if Sultan would be supported. So I should execute your script and revoke root access for EX and FK managers?

EDIT: I thoroughly read your thread and have your script successfully running (as per Magisk log). Uninstalled other kernel managers to avoid having them meddle with the settings. I'm excited to see if the performance on my end lives up to your hype!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
If it doesn't live up to the hype, then I owe you a beer!

Btw.. Did you install / flash the Busybox Magisk module?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chikimonke:
A bear you say? That seems risky.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Beer*

I have to get some bear-able sleep, I think.. ?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] steviewunderr:
Yep! I had it flashed before already in case.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Ap3xGam3r:
I am assuming you can't flash this kernel over flash kernel nor elementalx? Sorry if it has been asked already
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] def-g:
Absolutely. Just flash in TWRP then flash MAGISK. Reboot and you.good
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Az Biker:
Question for someone smarter than me.

Could a cust kernel have any affect on the backup process of TWRP? I'm thinking not, but I'm not that savvy on the inner workings of kernels or TWRP.

I had trouble with TWRP backup, and the only thing I did differently (than I have the last 8 months) during my Nov factory image install was switching from Flash kernel to Sultan kernel.

All three attempts at clean factory installs ended in failed backups at 1000 files / 35%, with the device rebooting to system , backup names were created each time, but only the boot and vendor partitions appeared to be backed up.

I tried a clean factory install the 4th time, using the same process as always, except going back to the latest Flash kernel (3.19), and the backup went flawless. I'm pretty sure Sultan and Flash kernels are fairly similar, so I still don't see how it could be the kernel.

Since no one else reported this happening to them, I seriously doubt it's the kernel, but it's the only thing I changed (well, and the Nov factory image).

Thanks for any insight or help on this.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kost7:
I tried to make a TWRP backup and get the same as you; regardless if the backup name is autogenerated or not, the process is indeed interrupted after around 10 seconds.

Mind you, this was not after a clean installl - I just tried to backup my current status. Still, I never encountered such a problem before.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] def-g:
I've had the same problem. Usually takes 3 or 4 trys. Then it works. I've experienced it with different kernels also. Post the problem in TWRP thread. See what they say.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Az Biker:
I posted in 2 XL Twrp first, no response yet. Since the kernel was the only thing I changed, I thought posting here might be effective as well.

Very odd that this is happening. I created a backup without problem just before I updated to Nov and Sultan.

Thanks for the replies.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] def-g:
For whatever reason. I flashed Flash and the backup worked on first try. More testing required.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] reawo:
Hello, what would be the best app to adjust the vibration strength, thanks in advance for your suggestions.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] onliner:
Free: Kernel Adiutor.

Paid: EX Kernel Manager.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] def-g:
Vibration is maxxed out on this Kernel. If you want less. The above will work.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] steviewunderr:
Don't tempt me to fudge my experience for a free beer! :laugh: So far through a couple charge cycles SOT is impressive (6hrs 10min and I still have 27% left, around 65% brightness) and I haven't noticed any drops in performance (need more time to see if there are any boosts). I'm liking what you've done so far for sure! Will there be ongoing updates alongside Sultan updates?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
There seems to be some other chatter about November update giving folks trouble with twrp. From what I have read, I chalk it up to another update that changed the encryption. (As we have seen several time this year) I'm sure someone will come up with a root cause and fix in the near future like they always do. Lol
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sui77:
Same here
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
I recently learned about this bug and it's related to Simple LMK (TWRP does not fully initialize the kernel and Simple LMK tries to kill something that it isn't supposed to). It'll be fixed the next time I update.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Az Biker:
Sweet! Can't wait for the next build. Thanks for your hard work, looking forward to this!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TekRantGaming:
Amazing thank you

Your work is outstanding over the years i loved your ROMs for opo and op3 thanks for supporting this device. your amazing
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Is it possible in any way to reduce power consumption during audio playback / streaming on this phone / the Wahoo line-up?

I mean, 12-14%/hour when streaming music through Spotify on lowest possible quality is a shame, specially when compared to the fact that other devices with the same SOC (like my Sony Xperia XZ1) is not even draining 4,5-5%/hour during the same circumstance(s).
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Galactus:
That sounds overly high to be honest. I'm on a different kernel (Flash) but I can't imagine there being that much of a difference. Listening to music via Spotify and bluetooth headphones and I usually lose around 5% in an hour
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Strange.

I am getting horrible high battery drain (both active and idle drain) during audio playback on both mobile data and Wifi. It is though the same ugly case when streaming / playing audio tracks that is stored locally on my Walleye.

And I don't think it is happening of my script (see my Unified kernel script thread) because the drain is also there when everything is used the pure stock way (+my custom kernel of choice).
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nezebilo:
Can confirm the same thing happens to me. I get about 12% idle drain when streaming Spotify. I'm on sultan kernel with your script. The phone also gets quite warm
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Galactus:
Hmmmm interesting. My phone is as cold as listening to music via Bluetooth. Mainly local playback. Streaming with data would be more understandable if drain was higher. Only differences in our use case right now though is I'm on a different kernel. Stock ROM too.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MrBrady:
I'm in the same boat, except typically over 14%. I remember back in the days, on my Samsung Galaxy S3, there was a kernel available that had near 1% drain when playing local music (non streaming). That was incredible! Different ballgame now, I'm sure.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Freak07:
I saw you asking this in flash kernel thread too.

I never got the excessive drain you are experiencing. just like [MENTION=2247605]Galactus[/MENTION] mentioned I’m getting roughly 5%/h when streaming music via spotify. Most of the time less.

This is roughly the same regardless of using Bluetooth/ usb c dongles or usb c headphones. ( only my dragonfly dac uses a LOT more power but that’s expected.)

I did a test just to be sure. Note, this is with airplane mode (sim is in another phone currently) and only on wifi but still. streaming music over Bluetooth. also I’m often driving an hour to and from work with screen off in the car and this is consistent with this test.

Now that I see other having this issue too I’m wondering what’s it related to. The results are with my kernel on stock rom. No other mods.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
I've enabled so Spotify can get access to the storage, and set background activity to limited. Will try tomorrow and see if this have fixed the weird battery drain for good.

Maybe the app could use the internal storage for caching every played track this way (for future playback / streaming purposes) instead of streaming it on the fly straight from Spotifys servers. Or?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xflowy:
this has no swipe to wake, right?

thanks! :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] SnafuGG:
Do you need to flash magisk after the kernel in twrp or does the zip automatically patch the kernel like flash kernel? If you do are there any plans to add that feature to this kernel? Thanks! :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] neekless:
Needs kcal and swipe to wake
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] def-g:
You have to Flash Magisk.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Samuel Holland:
Hi ,I wanted to add not too far off topic that I've never been able to unencrypt without disabling my lockscreen. I've had two 128gb black versions and both have been the same. Originally when I first got the phone late November early December, I was told it was using the encryption from the previous pixelxl. I've tried everything I could think of with no cigar. I just thought I'd add this since I found it so strange for this to be the case. Thanks
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Nikos2k:
+1

For us coming from flash kernel [emoji3]
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] willl03:
+1

Display calibration varies quite a bit between hardware revisions, early P2XL like mine are bad and kcal makes it bearable.

Thanks for the work you do sultan
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] tspnews:
General heads up. I was having a heck of a time upgrading from flash kernel (or so i thought) and being able to root. Every time I patched it would boot to "Can't load Android System. Your data may be corrupt ... etc"

After much head banging because I am too lazy to clean flash and my titanium backup was out of date (beta magisk builds, kernel flash, reflash, reflash, flash-all, reflash curse, reflash again) ... found someone in the Pixel 3 thread with the most straight forward fix ... had to fully uninstall Magisk via their uninstall zip. Once I did that I was able to install Sultan and Magisk 17.1 and boot without issue.

Derp. So anyway some combination or piece of Magisk, the newest image from google, having Flash kernel before .... meant Magisk had to be fully removed.

Big thanks for the kernel work!

- Tsp
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] chikimonke:
Were you using the Edge Sense module? If not, what, if any, modules were you using in Magisk? After the November upgrade Edge Sense didn't work right away and caused the same issues you described. This could be why the uninstall of Magisk worked for you. Edge Sense is upgraded and working with Nov patch now though.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] tspnews:
No modules at all. Only things I ran were flash kernel and magisk.

I did for half a day a bit ago play with some UI tweaks but ditched them after flakyness. Maybe there was some residue. I actually have my edge squeeze turned off.

-tsp
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kevtrejo37:
Lol I'm waiting for you to surprise us with your kernel over at xhatch development
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] saham424:
yah uninstalling Magisk is what works for me :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joedajoester:
My cousin's pixel 2 had the same issue after flashing magisk 17.3. Had to flash to stock, still couldn't boot and then factory reset from the screen that said it was corrupt. Really strange especially since a flash-all.bat couldn't help on it's own. Wish I'd known that I had to flash the uninstaller but his phone was brand new so there wasn't any data anyway. Thanks for the info!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sirxdroid:
So with the Dec update right around the corner, I assume there will also be a new kernel version of Sultan. Coming from Flash, what's the proper way to try Sultan, given the reported Magisk issues above? Sounds like a full uninstall of Magisk is in order?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Shamestick:
If you flash the December update, just flash the kernel and then magisk and you'll be fine. I use magisk version 17.1. whenever I see people post issues, as the poster shortly above, they're on some beta build of magisk.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sirxdroid:
All we need now is a Dec Sultan version :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Iloveeporkchop:
+1
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] lil_ith:
Jumping on the wagon. I can't wait for the December update but only because this kernel is the only one that fixes my battery gauge issue somehow. Every other kernel/stock and I turn my screen off and my battery goes down a %..however on another point...does simple lmk be better now with Google's optimisations regarding ram management since that in itself has improved. Or would they conflict with each other?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Simple LMK replaces stock Android LMK, which means that you won't "experience" the memory managment optimizations that Google have added for the December security patch / firmware, if you now are using Sultans kernel.

As far as I know, I could though be wrong.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Kenmichi:
Forgive my ignorance but does Sultan's kernel include access to the Google server side updates? I only ask because my patch still says August (since switching to Sultan) and the December patch is supposed to include the 'Pixel Sounds' app/setting.

https://9to5google.com/2018/12/03/google-pixel-sounds-app-uploads-play-store/amp/
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rodcpierce:
Im not positive on this, but I can say that my December update didnt include the new sounds app/menu. The playstore shows its installed on my device, but doesnt show the new UI yet.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Phoenix Wright:
The kernel doesn't have to do with supporting apps, so yes, there shouldn't be a problem
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] def-g:
December Update....Yes Please.:D
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Phoenix Wright:
If anyone needs it, I added the December security patches (taken from the stock kernel repo, attached as a diff) to the latest Github sources, and recompiled with the latest stable GCC 8 (same as Sultan uses). No other changes, I've been using it since yesterday.

View attachment Decpatches.diff

View attachment Sultan-kernel-wahoo_20181106-Decpatches.zip
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] smartfoner:
Hey. You can do the same for the Flash kernel?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
Flash kernel have been partially replaced, with approval from Nathan himself, by Caesium kernel.

So. No need.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] smartfoner:
Wow. I did not know about it. Can you share a link to this core? I can not find it
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Go to telegram and look for "Flash kernel" :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pa.pn2:
Interested also.but i have no telegram...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Badger50:
Download it from the play store :cool:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pa.pn2:
That's a good one.no thx
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Sorry for the late update; I was busy with finals and work. New build is up with December fixes and the random reboots in TWRP fixed.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MrBrady:
Curious if the LMK was removed or adjusted considering the December factory update had memory management fixes.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Simple LMK is still in use, so any memory management changes in the December update don't apply here.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Darriousx:
I just read the GitHub about Simple LMK vs Android LMK. I'm curious as to if, in your opinion/experience, Google's reworking of Android's LMK(Memory management) is improved enough where Simple LMK is no longer necessary?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Sultanxda:
Google's "reworking" is just a small change that's actually very similar to how Simple LMK works. Also, the change that was made to Android's LMK only affects Pixel 3 because Google isn't using Android's LMK on stock for Pixel 2 (they use the old kernel LMK instead).

I'm pretty confident that Simple LMK works better than Android's LMK, so I'm not going to ditch it.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mickyw1980:
I've just switched back to this latest kernel and it is very good. Very smooth and fast, no problems as of yet thank you
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sublimaze:
Sultan LMK is definitely improved over stock LMK. I forgot how much better it is. When the December update dropped, I switched to another kernel and immediately noticed more app refreshes/redraws when flipping between recent apps. Sultan LMK holds more apps in memory for longer periods of time, and the phone spends less time trying to remember where you left off :good:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] SageWilliams:
I was getting random app closures using the Dec version. Switched back to Ex for the time being
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] senthilrameshjv:
Is it possible to get only the LMK parameters so that I can apply in EX kernel and try and see if it makes my experience better?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xFirefly93:
There is no parameters to adjust on Simple LMK.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] senthilrameshjv:
Thanks, so the only way to use is by flashing this kernel? I thought we could do like you tweak LMK in your script..
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] onliner:
Exactly.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] taichichuan:
Can you provide a pointer to the GCC 8.2 toolchain that you used to compile your kernel?

TIA