yashsingh1/xdaforums huggingface dataset:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] joetheshmo:
Flash stock boot.img from PN. (Using fastboot or if you made a backup with twrp before you can use that)

Flash supersu

Reboot OS to allow it to install supersu

Boot into recovery

Flash ElementalX

Enjoy
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] flar2:
Yes, and see my responses there.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bleez99:
Not necessarily true. SuperSU or Magisk will modify your boot image for systemless roots.

When dialog fails, it's time for violence.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Juzman:
No worries mate, didn't read the comments on G+, I usually go to the XDA threads.

Interesting read. :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] graymatic:
What ROM are you running? Just curious. I was running purenexus unrooted. Now I am rooted with supersu and battery life is worse.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] rickysidhu_:
So I was flashing some other ROMs just to explore and see what else is out there. After a some time, I came back to my go-to ROM (PureNexus). I flashed the factory June images and then went ahead and flashed PN.

I rebooted back into TWRP to flash EX Kernel and when I reboot back into the system, the kernel is still stock.

Not sure what I'm doing wrong here but any help would be appreciated!

I'm trying to flash the latest version btw (1.14)

Update - so after a 3rd or 4th repeated attempt, the kernel finally stuck. Still curious as to why this happened though
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Ezrem:
That happened to me today on my Pixel when updating to the July PureNexus build. I flashed PN, vendor.img, EX Kernel 1.14, Magisk 13.3b3 and finally TWRP, and after the 5-minute cleared-cache boot time, all I had was PureNexus, with the PN kernel. No EX, no Magisk. I was happy I didn't have to run TWRP from adb/bootloader.

I went back into TWRP and reflashed EX, Magisk and TWRP and all is well.

Also, I have a question. PureNexus is now doing kernel upstreaming. Is ElementalX upstreamed? I haven't been able to find any info one way or another.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] rickysidhu_:
Ahh, glad I'm not the only one dealing with this issue!

Hey at least it only took you two trys to get it to stick, mine took about 4-5 :p

And as far as I know, EX Kernel is not upstreamed
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Ezrem:
Upstreaming was more of a general question. :)

With respect to flashing not taking I'm assuming it's an issue with TWRP.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] rickysidhu_:
What do you mean by more of a general question?

And which TWRP did you use?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Ezrem:
General to the thread, not specific to my reply to your original post...so anyone with the info is welcome to enlighten me.

I pretty much exclusively use 3.1.0 RC2 since that's the only thing that can install Magisk. I know I can't use it for backups, but I like living dangerously. Anyway, I don't use 3.0.2 RC1 unless I need to run it from bootloader, which is rare.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] rickysidhu_:
If you are looking for general info, this may help:

https://xdaforums.com/showpost.php?p=73180371&postcount=4514

As for TWRP, I also use RC2 so maybe that is causing the issue of EX not sticking after a reboot.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] whatthehckeric:
Just curious, is there not kernel readily available for Android O due to the fact that TWRP currently does not work on Android O?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] flar2:
I only pick patches relevant to the device from upstream Linux.

Keeping things simple and not deviating much from stock is how I am able to deliver a very reliable, highly compatible and super stable product to users on many phones.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Ezrem:
Makes sense, not criticizing at all, just wanted to keep myself informed. Thank you!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] alpaqut:
thank you
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ithehappy:
[MENTION=4684315]flar2[/MENTION]:

I am having the random freezing issue (where screen would just freeze for a second, regardless of what I am doing) and I just won't stop having it you see. I took a log (using that bug report thing under dev option in settings), could you please give a look at it and see what the heck is wrong with my phone, and I am on my fourth XL and all of them have this exact same issue! I took the bug report within less than 10 seconds of the freezing, so my dumb brain says just looking at that period might do. I know you are terribly busy and all that but please, I beg you.

Thanks in advance.

https://drive.google.com/file/d/0B3dAMHacbZmtQ1NEQTlpeUNyQjg/view?usp=sharing
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] MeetFace:
Hello [MENTION=4684315]flar2[/MENTION]

I have been using your kernel for years on multiple devices, top notch IMO.

Quick question. What is it that the Magisk guys would have to do to enable gesture and other typical "root" settings that are currently not available when running Magisk root?

Thanks!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] micmars:
You can adjust those settings using the Elemental X Kernel Manager if on Magisk, including gestures,

Color temperature,

I/O scheduler,

Etc.

Sent from my Pixel XL, #WhiteUIsMustDie, #EndDarkAppOppression
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] piccit:
As micmars said, you can set everything in the app (and set it to apply on boot).

In looking in the zip it looks like that during the install the aroma script gives you those options if "/boot/init.rc" exists. I guess that's something unique to super su.

You could try removing that check, but I don't know enough about Magisk vs supersu to know if the settings will actually get applied correctly during boot
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] tessut:
[MENTION=4684315]flar2[/MENTION] so as twrp works on O dp4 do you think getting Ur Kernel ready for O is relativley easy or will it be a pain in the a€& so U will either concentrate on O's Final relase ?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] flar2:
I'm not really sure why some people have issues with certain settings.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] flar2:
I think Android O is supposed to be released this month, so I will wait for release.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] flar2:
Update!!

Initial release for Android 8.0.0 Oreo. Everything is like the Nougat kernel, except the installation is tricky at the moment.

Something changed with SuperSU and my old way of keeping root seems to have stopped working. I have not had time to investigate, and likely won't until TWRP and everything is settled. For now, you will need to install the stock boot.img, flash ElementalX, then flash the latest SuperSU (doing this in a different order will probably either unroot or restore a backup boot.img).

I did not test with Magisk.

Android 8.0.0 (Oreo)

ElementalX-P-2.00

Changes:

-Oreo release
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] chazall1:
Thanks for the update. 1.15 functioning as expected.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] saneparadox:
hello! recently got a pixel xl. I was wondering if I could flash this over stock OS. I've previously used a nexus 6p and have gone through the processes of installing twrp and custom roms. I'm thinking this time around just to stay on stock, but use this kernel instead. My question is for the process of installation. Correct me if I'm wrong:

1. unlock bootloader.

2. install twrp

3. flash elementalx.

I'm also curious if I'd have to reflash elementalx after every ota update for stock rom?

has anyone experienced better battery life using this kernel?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Kisakuku:
Unless you specifically want to run unrooted, you should flash SuperSU between 2 and 3.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] saneparadox:
this was the information i relay needed thanks so much! Would i still get stock OTA updates normally?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] flar2:
No, because OTA doesn't work if you install a custom recovery.

You will need to download the factory image, extract it, remove the "-w" flag from the flash script, run the flash script to update.

Removing the "-w" flag from the factory image is really important. It prevents wiping your device clean.

Then install TWRP, SuperSU and EX.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] saneparadox:
Thanks for the verification

Also how would I update after I root?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] joetheshmo:
Read the paragraph that ends with "to update"
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] saneparadox:
Well i meant in terms of the stock rom. I know once I update stock rom, I do have to reflash EX, but am not sure how updating the stock rom is vs a custom rom
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] joetheshmo:
That is the method for updating the stock rom. It's pretty much implied by saying "factory image"
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
I've seen reports of users still getting the ota while rooted with twrp. Essentially they would keep putting off the notification until they downloaded automatically and when they rebooted they would be without root and twrp.

My idiots guess would be the pixel is different in that it doesn't need to boot into recovery to install otas because of the slot layout of the file system.

I wouldnt depend on this as a reliable method of getting otas but I've seen a few users with this happening to them
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Scottay5150:
I have DL 1.15 and flashed with aroma without errors and it still not updated in the phone. Thoughts?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] firewave:
Same here. But you're good. It's only a mistake of flar2 who forgot to bump the version number.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Juzman:
I just recently reflashed PN + Magisk, and noticed I can't select the Scheduler with EXKM.

Anyone else have this issue?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] pcriz:
Only works with super su
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Juzman:
Figured as much. Not a big deal really. :) Just wanted Magisk to hide MDM, since SuperSU + su-hide doesn't work.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] JakeDHS07:
Um SuperSU and suhide does work. I'm using it...
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Juzman:
I tried and MDM wouldn't work saying "device compromised" when I set Airwatch Agent to "hide root".

Swapped to Magisk and Magisk Hide and worked flawlessly.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] JakeDHS07:
Well it works for Android Pay and Play Store (to see Netflix) anyway. I have no idea what either of those apps are.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Juzman:
Airwatch Agent is a VPN app for work. If detects root doesn't work.

I don't use Android Pay as my banking app natively supports PayPass etc.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] abuttino:
I presume that we need to wait for Oreo support. Is that correct?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] dark2099:
Dude, the factory images haven't even been out a full 24 hours, Google's git doesn't have the official Oreo kernel posted, so yeah, guessing there's going to be a wait.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] JakeDHS07:
It's pretty sick as is already. Can't wait to see what ElementalX can do with it.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] abuttino:
I wasn't wondering about that. Just was wondering if the kernel might have been already 8.0 ready.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] tessut:
Why dont U try Out Android let US Know ? ;)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] abuttino:
What do you want to know? 13 second boot with 183 apps installed? I would say that's pretty damn good. Or the general speed of the entire thing. Google hit a home run. Just wish I knew why the battery was draining so fast. Hopefully a kernel will help.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] thefairlady350z:
Tried it, android pay wont work with 1.15 (= ElementalX not working) on Oreo, so looks like we will have to wait for a new ElementalX...

Nice, thanks for the great news!!

Now just need to wait for new ElementalX and go back to the rooting scene!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] JakeDHS07:
SuperSU and SUhide work on the Oreo release. I've got full Android Pay and safety net pass. The only things are TWRP doesn't have a flash able yet so you can only access it with a bootable img at the moment and no custom kernel but that's not really a deal breaker can wait for that. The update runs smooth on stock kernel.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] thefairlady350z:
Will try it tonight, thanks for the great news. :good:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] thefairlady350z:
Which TWRP img version do you use? I tried RC1 and alpha2 and i cant boot into the twrp recovery. Did you flash the Oreo boot.img file before going into TWRP? Didnt work for me at all.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] evilryry:
https://xdaforums.com/pixel/development/mod-twrp-recovery-pixel-android-o-dp4-t3651896
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] thefairlady350z:
Thanks guys, got it to work! :good:
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] sruel3216:
thanks for 2.00! loading it now

---------- Post added at 03:29 PM ---------- Previous post was at 03:27 PM ----------

dont have any options to modify in app after loading 2.00
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Tylog:
Yes, waiting for it. Thanks [MENTION=4684315]flar2[/MENTION] :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Kisakuku:
Release post with flashing instructions in Pixel thread.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] garrettsessions:
See if you lost root after flashing.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] sruel3216:
ah yes i did. il just flash su again?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] garrettsessions:
I tried that - I got root back, but no Elemental Ex.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Tylog:
By flashing the boot.img ( first step you have to do ). , You lose root, root is necessary for the kernel settings in the aroma installer, that is the reason. Settings in set EX Kernel app work from therefore no matter whether it is in the installer.

For me all is fine.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] sruel3216:
So what were the steps you took to be rooted on 2.00?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] tessut:
Guys you have to flash everything in one TWRP Session do Not reboot unless U flashed those three things of U flash as described from [MENTION=4684315]flar2[/MENTION] U still have root and will get elemental x after reboot
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Tylog:
Modified twrp for O

Stock Boot.img in twrp ( switch from install zip to img )

Ex Kernel

SuperSU

then reboot and enyoj
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Golf c:
Been trying to figure out this battery drain between Oreo and Nougat. My active screen on drain for Nougat was always between 8-10%. My Oreo drain never seems to drop below 14%. I'm assuming all my other settings and use are equal. The screen seems to be using more power in Oreo.

Edit: Or the processor is, because the phone is definitely moving faster.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] mannyalba:
Mamma mia! We are back and running with EX at last, thx mister flar.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] mannyalba:
Something interesting is happening to me, after i flashed ex up and running, charged my phone, 3 or 4 seconds after i unplugged it, it rebooted twice and went into stock recovery with an error message that the device can't boot into Android, my data might be corrupted, I rebooted to bootloader and try the steps of flashing ex once again, stock boot, ex, supersu, phone booted into Android fine, unplugged the cable and same thing happened, phone booted into stock recovery saying it can't load Android, so decided to flash stock boot img and supersu, did not flash ex this time and phone is running well with no errors now after i unplugged the cable. can anyone confirm this or is something bad on my side ? this is on Android O.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] dmb219:
I am on stock 8.0 with EX kernel but no root. I connected to my charger and disconnected a couple times and had no problems. Not the same as your setup though. Just fyi. Hope you figure it out.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] carlylemiii:
I feel ridiculously dumb asking this but is there any way this kernel could interfere with Tasker? I have a few profiles set up with an application context, and I've made sure the accessibility service for Tasker is still enabled, but far as I can tell, after switching to this kernel for O, none of my tasks work.

Edit: Maybe it just takes a realllly long time after booting for things to work properly. Seems good now. Sorry!
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ocbooger:
All good here
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] joeski27:
I've searched the thread but haven't found any recent posts pertaining to this - but is anyone successfully running elemental on the LineageOS nightlies? While I could get it to install & boot, everytime I'm running Elemental I find numerous apps start acting up; and I when I get go back to just the LineageOS default app, all is well again. Am I missing something?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] airmaxx23:
Thanks for this, installing it worked flawlessly. I've been missing High Brightness Mode, it's good to have it back again.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] JakeDHS07:
Unfortunately for the first time since using this kernel it was giving me issues. Randomly won't wake up or reboots using same settings I've had with Ex for months. Back to stock O kernel for now sadly. Need the phone to work. Hope to be able to return in the future.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] airmaxx23:
You should try it with the stock settings and see if you have issues, then start adjusting the settings to see if you can narrow down the cause of your problems. It would probably help the developer and others in the long run.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] JakeDHS07:
I know it's not the settings because these are my personal settings I've been using for ages. It's fine I have confidence in this developer that it will improve and become stable. The nougat kernel was great and this is only the first Oreo one. I'm sure it will improve.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] flar2:
Shouldn't be any issues, I've been using it for a few days. This is still my daily driver, everything running great. At this point, it is almost stock with the added features that I need (like HBM and sweep up to wake).
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Golf c:
No issues since release.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] mannyalba:
You rooted with supersu ?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] airmaxx23:
I am, if that matters.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] rod_ol_fo:
Delete.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] thefairlady350z:
Strange. I flashed the elemental kernel and then reflash Supersu again, but the stock kernal reappeared instead of the elemental kernel @@
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] dark2099:
If you had rooted your ROM before flashing ElementalX, the SuperSU install backed up the stock kernel, then when you reflashed SuperSU after flashing ElementalX, you restored the stock kernel.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] hokiealumnus:
LOS uses sdcardfs by default, and ElementalX doesn't have commits necessary to use sdcardfs, so whenever your phone accesses storage heavily it will cause a crash. You can use a LOS based ROM that has sdcardfs disabled (crDroid, in which I also bake in ElementalX for the pixels), or use a non LOSS ROM. Or use a different kernel on LOS, of course.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] thefairlady350z:
icic, flashed again and everything is good now :)
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] delanvital:
I seem to be unable to fix this. I either end up with no root (boot after ElementalX) or root in stock (installing SuperSU, restoring some old backup I don't know how to remove). Can you please explain what the right flash/boot order is to fix this? Many thanks :)

On another note: when I boot after installing ElementalX as the latest, and after updating the EX Kernel Manager, it report kernel as "ElementalX-2.00" but the app still states "could not find compatible version". I.e. the kernel has the right name, but the app doesn't recognise it?

Edit2: all steps to fix for me: boot recovery, flash to root again (stock kernel restored), boot to system, completely unrooted and remove what I could via uninstall guide, reboot to recovery, flash elementalX, reboot to sytem to confirm right kernel but app still doesnt recognise it, reboot to recovery, flash supersu which now cant find backup (yay), reboot to system, has root and right kernel yay! (3.18.52-ElementalX-2.00 #1) which now works feature-wise, i.e. the tabs are there (yay), but in the elementalX tab in the app, which searches for updates, it still reports "could not find compatible version".

TL;DR - So for me, it worked to remove SuperSU via the SuperSU app.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] bama17:
Hope this isn't a stupid question since I've been using this kernel for a good while now, but will flashing this affect suhide at all? I'm running the factory Oreo image for Verizon and used the twrp mod.img and SuperSu 282 SR3 to root and then flashed suhide and have Android Pay working for the first time in forever while rooted, so just wanted to double check that I wouldn't run into issues with it possibly breaking that. I saw in flar2's post that it was basically still stock kernel code for the most part, but just checking. Thanks
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] ocbooger:
Works for me, running stock Oreo on Verizon as well. No need to reflash suhide either.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] xobsoletex:
So I keep getting tossed to the stock recovery with the "can't boot/data may be corrupt" error.

Stock Oreo (not rooted)

Unlocked bootloader

Fastboot boot TWRP (modified for Oreo)

Flash kernel

Reboot

Get looped back to stock recovery

What am I doing wrong?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] flar2:
We can and will, once recovery is released

I haven't checked yet, but expect so.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] exxpired:
How do you find the boot slot?
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Benjamin150:
It's in the middle of the information when you're in your bootloader
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] Frankie1588:
Does it seem to affect battery life much? I want to try out this kernel, but I am a little cautious regarding battery life. I get phenomenal battery life on this thing and I would hate for it to be drastically reduced.
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] CZ Eddie:
It's crazy, but the top device in that screenshot (Le Eco Max 2) is selling for $222 on pre-order today:

http://www.gearbest.com/cell-phones...kid=10133643&gclid=CKnSh4PjgtACFQKtaQodjGIH5w
[Google Pixel XL ROMs, Kernels, Recoveries, & Other] guaneet:
If anything it'll increase battery I think but mileage might vary

Here is an article by [MENTION=4684315]flar2[/MENTION] that you might want to read: http://elementalx.org/the-truth-about-kernels-and-battery-life/