yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] froniu:
Hello everyone,

I've got my pixel 2 xl from thursday last week.

yesterday i was trying to root it, but it doesn't work.

I've tried 2 ways:

1. Patched boot file from Flash kernel v1.05

2.TWRP beta.

Still magisk not seen....

Any clues?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Did you unlock the bootloaders?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] froniu:
I did ran the comends for that...can I check it somehow?

Edit: I did manage to flash Flash Kernel v1.05...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
You can reboot to see if you get a message stating you are unlocked during boot up or you can power down the phone, press and hold volume down+power till the phone boots to bootloader, at the bottom you would see a message stating you are unlocked or not.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] froniu:
Ack, so 100% I did unlock them
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
Download the magisk manager and zip from the op, also download twrp beta 2 IMG to your pc and place it in platform tools folder, download twrp zip and put that on your phone.

Install the manager apk

Adb boot bootloader

Fastboot twrp beta 2 img

Inside twrp, install twrp beta 2 zip

Install 14.4 magisk zip

Reboot.

Open magisk to see if you have root.

Bypass adding a kernel for the moment, just make sure you have working root. Flashing a kernel later is easy to do.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] froniu:
Would you be able to asist me with that?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
I just did.

Follow the op in twrp thread

And then

Follow the op in magisk thread
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] froniu:
Did everything as you wrote, same output.... No errors but magisk doesn't seem to see root...

There is one thing, after installing downloaded magisk from thread, it's asking me to update it... May it be the issue?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
No need to update for root to be there, maybe you have a bad download. It's a 4 step process, very easy. What magisk version are you flashing?

Should be 14.4 or latest one is 14.5 (not sure if that's the official version or unofficial, but I'm on 14.5)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] froniu:
14.4(1444) i'm guessing, I know it's easy , and I'm doing everything think as I suppose to... And nothing...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kush621:
I'm actually having this same problem. Weird. Root was working, then i tried to install TWRP. went through the process of fbooting into TWRP flashing stock boot, flashing TWRP zip, rebooted, patched stock boot, flashed the patched boot and now i' getting Magisk is not installed. I've flashed magisk while in TWRP and still nothing. Not sure what I am doing wrong since I've rooted before.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
That's not the way you are supposed to do it.

That's for damn sure.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] rester555:
Android 8.1 DP2 is available. Has anyone tried flashing Magisk over it and test it? I am not at my computer yet to try it out.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
From what has been said in the TWRP thread, Safetynet is being tripped (not working). Root only.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
Screenshot your twrp screen after each step and post it, something certainly isn't right.

Patching boot img isn't needed anymore, 14.3 (I believe it was that version) fixed it, it's done for you when you flash magisk zip in twrp

---------- Post added at 10:26 PM ---------- Previous post was at 10:23 PM ----------

Screenshot your twrp screen after each step and post it, something certainly isn't right.

Patching boot img isn't needed anymore, 14.3 (I believe it was that version) fixed it, it's done for you when you flash magisk zip in twrp and flashing stock in twrp... What!?

Way to many steps going on here, I'm not surprised it's not working.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] froniu:
https://photos.app.goo.gl/sCoBz15BYiV0tpRl2

Edit:

I've changed names of files, to make it easier and faster
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] an21281:
I had the same issue, twrp wouldn't stick. Not supposed to patch the boot img if flashing a custom kernel In twrp. Patching boot.img was made so we can fastboot flash the img since initial twrp wasn't working properly.

The way to make twrp permanent

1 fastboot boot twrp.img

2 flash Stk kernel img in twrp.

3 Then fully boot up device.

4Power down

5 go to bootloader

6 fastboot boot twrp.Img again

7 Flash twrp zip(make sure your not flashing the img!) then magisk(I think you can flash a custom kernel now but I waited for another reboot)

8 Reboot device.

Now twrp should be permanent. I had to install magisk manager 5.4.3 apk even though I flashed magisk 4.5 in recovery, couldn't find magisk manager apk in my apps for some reason.

Until I did all this, I must of lost twrp 10+ times. No need to patch anymore kernels, just twrp flash the zip, or img (must switch/click img) directly
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] kush621:
Those were the steps to install TWRP Beta 2. what did I do wrong?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] froniu:
Correct me if wrong guys, but in this method you're not supposed to flash patched boot IMG, but install magiskmanager zip file in twrp
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
I would start with a clean bootloader.

Extract the boot.img from your factory IMG zip folder

Fastboot boot boot.img (the one you extracted and placed in platform to old folder)

Boot the phone

Go back to adb bootloader

Flash twrp img

Install twrp zip

Install magisk

Reboot

Open magisk manager

Should have root.

Everything looks right in the pics, but I think too many things have been flashed and it's screwing it up. Don't worry, flashing the stock boot.img won't wipe your phone!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pahlerc1:
I just flashed DP2 via flash-all script on top of 8.0.. fully booted up, then booted to bootloader, boot twrp, flashed magisk, reboot... Profit
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] froniu:
Doing it now!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] PhoenixPath:
Safetynet on DP2.... Waiting did it. 15 minutes or so and another reboot and suddenly Android Pay and Netflix are available from the Play store again.

Now I just need a permissive selinux to get ARISE working. Might revert back to 8.0 - can't go until mid/end of December without my audio-mods. :sadface:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
Fastboot flash boot boot.img

fastboot boot TWRP.img

OPTIONAL: TWRP > Install > TWRP.zip

TWRP > Install > Magisk 14.5.zip

------If you want to install a kernel-----

If your kernel comes as a img:

Fastboot flash boot kernel.img

If your kernel comes as a zip:

fastboot boot TWRP.img

TWRP > Install > kernel.zip

OPTIONAL: TWRP > Install > TWRP.zip

-----THEN----

Reboot into recovery OR if you didn't flash TWRP, reboot bootloader and fasboot boot TWRP.img ONLY IF YOU DIDN'T INSTALL TWRP.zip

TWRP > Install > Magisk 14.5.zip

Reboot System

Sent from my Pixel 2 XL

---------- Post added at 04:55 PM ---------- Previous post was at 04:51 PM ----------

Just use something like Tasker to setenforce to 0 with a stock kernel.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joeyddr:
you are passing safetynet on dp2?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] zen kun:
I received the OTA for DP 2 and I patched my boot.img with Magisk 14.5.zip and root works great, safetyNet is not working tho
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TNS201:
nevermind please delete
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] froniu:
Didn't work either...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] PhoenixPath:
Yep. Check the Magisk thread.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joeyddr:
which one?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TNS201:
You need to download the TWRP beta 2 zip and img file. The zip file goes on your phone storage and the image goes on your PC

he put to flash TWRP.img after going to bootloader but

you should put the img file in your ADB folder and call it TWRP.IMG

then type

fastboot boot twrp.img

Then when you get into TWRP flash the TWRP Zip file you put on the phone, then flash the Magisk file, then reboot. This worked for me.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joeyddr:
waiting for what? how are you passing if this was said.....

https://xdaforums.com/showpost.php?p=74664233&postcount=20774
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] PhoenixPath:
Netflix and Android pay would not show up for me on the playstore after I set the device up. They would still not show up for me after installing TWRP/Magisk. After about 15 minutes and a few reboots, they started showing up.

Just tested Android Pay and it would not let me add a card, so ... apparently it's only partially working, or I am confusing two different things entirely - which I guess wouldn't be a first for me. :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] zen kun:
I flashed using TWRP beta2 and I got ctsprofile false :/

and a weird message everytime I start the phone something about the vendor issue
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
Does your phone flash anything?

Does twrp stick? Try just twrp and nothing else. I'm out of ideas for why your unable to get anything to work
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] froniu:
Yes it does, I was able to get Flash Kernel, and twrp sticks to it...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
Oh, so you have flash kernel then, I believe you have to use Magisk Manager to modify the kernel or boot img in order for root to work. I'm not completely certain, but I'm sure you have an extra step needed that I didn't mention as I thought you were on stock kernel
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] froniu:
Ok, but i did flash stock kernel from Google, then respected the procedure to get root...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jrbxx7:
What i did was boot twrp, install flash kernel img in twrp, flash twrp zip, then magisk zip 14.4.2 or higher all in the same session. Works every time for me.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drewski_1:
if you are on 8.1 DP2, both of these have been reported and addressed:

#1, are you on DP2? if so, Google broke it's own SafetyNet

https://xdaforums.com/showpost.php?p=74664233&postcount=20774

#2, regarding the vendor message, topjohnwu also posted that it's from the disabling of avb-verity (starting w/ v14.5 (or 14.4.3? non-official)). should not cause other issues over the warning @ boot.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] froniu:
Will try it now that way but that's how I did it I guess
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] zen kun:
I tried re flashing and doing crazy things and was not working... nice to know is the DP2 that is not working, THANKS!!!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joeyddr:
Safetynet is now passing for me, google must have fixed it on their side.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] zen kun:
Oh, is true!! safetynet pass now
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] xflowy:
flashing and stuff went well for me since days until now.

atm stuck at the booting g logo. what i did: flash stock, flash electron v3.img, boot temp. to twrp, flash twrp zip (since i went with fastboot till there), flashed magisk 14.5 beta.

first time using twrp. before then, i just flashed an magisk patched boot image to go with my kernel. since electrons v3 version couldnt get patched with magisk this time, i thought i could give magisk flash via twrp a chance. now i am stuck.

any ideas?:)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] mackentosh:
Google pay works now
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ctl7g:
not rooted after flashing patched boot

on my third Pixel 2xl (yea me!).

First two rooted with no problem, but with this third one, every time I've flashed the patched_boot.img, restarted and opened magisk manager it says magisk is not installed.

I've unlocked bootloader, updated to nov 8.0 image, installed magisk manager.apk, uploaded boot.img from nov 8.0 image, patched said boot.img, downloaded that patched_boot.img and flashed said patched_boot.img, rebooted, and opened magisk manager but it still says that it's not installed.

redownloaded current fastboot, developer options enabled, usb debugging enabled, magisk manager able to install from unknown sourced enabled. frustrations are enabled!

I'm at a loss here. Any help would be appreciated.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joetheshmo:
Try flashing the magisk zip in twrp?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ctl7g:
Just tried it in between my post and your response. I've got TWRP but no root sigh...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] zzhhzz:
I had Magisk working. I flashed my phone back to stock to fix some errors I was getting. I haven't been able to get Magisk to stick after flash. I've flashed it through TWRP as well as flashing the patched_boot.img. Nothing seems to stick with Magisk and I'm unable to root.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] fixxxer0:
So i just got the DP2 running with 14.5 and all is well. Safety net showing passing on both checks, yet my TD bank app gives me a warning that my device is rooted.

I thought if the magisk checks were passing, the root would be hidden from this app?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ilatimer1:
Did you go into Magisk Manager and select your bank app?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] zzhhzz:
For anyone having issues getting Magisk to stick. I flashed back to stock then relocked the bootloader and critical. I then unlocked and unlocked critical and went through the process again of installing Magisk Manager, TWRP, then Magisk and I am now rooted. Not sure if this will help all, but it helped me.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Vafoor:
I have had a lot of trouble even getting the computer to recognize the Pixel 2 at all when connected via USB. I tried all the various ports and went through multiple cables and the only solution that has worked for me to date is: an Anker USB A to micro USB cable with an Anker micro USB to USB C adapter.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sruel3216:
Idk what going on now...i was rooted and fine on electron v2. went to patch and flash v3 and lost root.

I flashed stock boot.img again and uninstalled magisk.

When i reinstall magisk 5.4.1 I get a "Cannot check for updates, no internet?" at the top of the app.

I go to install and it ask me if i want to "install Magisk-vnull.zip."

I go to patch and get "this version does not support boot image file patching"

EDIT: Nevermind i think i figured it out
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] idiotzach15:
If you don't mind me asking, what did you do to solve this issue? I'm getting the same thing after installing the apk on the new 8.1 beta
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sruel3216:
i uninstalled 5.4.1 and flashed 14.5 zip in twrp. it installs the app after you flash it
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] JimSmith94:
I haven't found this from searching, but in the Superuser option of Magisk Manager, most of my apps are listed twice. Everything seems to be working okay, but I wonder what caused it and if I should be concerned.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ctl7g:
Deleted. Wrong reply

---------- Post added at 02:00 AM ---------- Previous post was at 01:56 AM ----------

I tried that too since I wasn't too far in my restore. Didn't work for me. Although when I did fastboot flash lock it said there was no operations system until I unlocked and flashed the Nov image. Don't know what's going on.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joedajoester:
Edit: only the viper module doesnt install and gives me an error. Any idea whats up? https://i.imgur.com/0VkNYWI.png

I can't seem to get modules to install. Any idea whats happening here? https://i.imgur.com/0VkNYWI.png

I accidentally patched my bootloader with magisk 14 and then flashed it and it didnt give me root at all. I then properly patched my boot img with 14.5 and i have working root but i cant get modules to install. Says that magisk isnt active.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] scollops:
Hi All - appreciate the update may work on the 8.1 Beta, Can I ask if I have the 8.1 beta already installed - should I just use the factory OTA taimen-opp6.171019.012-factory in this case ? OR the version 8.0 stable OTA ? Guess the next question is I assume you would need to do the same every time there is an android update.

I went ahead anyway and unlocked the bootloader, installed Magisk and copied the Boot.img over. Odd thing on loading the app it says cannot check for updates, no internet ? I click install and patch boot image and displays Target Magisk version doesn't support boot image file patching.

Anyone ? Bootloader is unlocked and ADB commands to do pixel 2 xl.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] stevetrooper:
Anyone having a problem installing the ota (taimen-opp6.171019.012) with Magisk 14.5. The only error I get is Installation Failed. Have tried multiple times, same error. I tried flashed the original boot.img back and still getting the error trying to install the ota.

Any ideas? I did flash the original boot.img back into slot a and slot b.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] imaverik:
working great

Complete wipe/ Flashall -factory script image.

had to use Magixk app 5.4.3... and 14.5.... all root and apps working as expected. no issues. SOC enabled.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joedajoester:
Same thing here. Had to actually do the unlock_critical for my bootloader. Wipes your phone too
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] stevetrooper:
After you did the unlock_critical did the OTA complete or did you manually flash DP2?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ctl7g:
[Fixed] Root not sticking after patching and flashing boot.img

So I had to 14.0 zip (stable) and root was not sticking. Changed update channel to beta in the settings and it updated to download 14.5 zip. And from there it worked (rooting at least). It keeps crashing when i try to start safetynet check but it is letting me load up cards on android pay so hopefuly it's just an manager issue.

Hope that helps people having an issue in the last couple days.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] pa.pn2:
Did u also update the manager app to 5.4.3?

Will solve the fcs in safety net...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joedajoester:
What I did first was boot to twrp and wipe system data and cache so that I don't get any conflicting system issues from updating. Then I went to flash without the -w and I got the error about critical, so then I unlocked critical and then flashed the DP2 image without -w.

I'm so mad because I can't get viper working on this version. The drivers don't seem to be there after using the magisk module I always used on 8.0 and it worked fine. On 8.1 it just says the drivers are missing. If anyone has any info that can help I would be so happy since I'm gonna be on vacation soon and need the new update for the fixed video recording audio and I need viper to listen to music.

I was gonna try the old-school way and flash a zip and let it install drivers but I keep getting an I/O error. I need to rename audio_effects.conf but I can't touch the system. When I rename it, it just errors and doesn't do anything :/. Might need to rename it in twrp
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] ctl7g:
Yeah. It was the 5.4.3 from the beginning as far as I know
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
What should i do if i want root but also want to flash 'flash' kernel?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] nathanchance:
Patch the Flash boot image.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
So totally lost here

I am on Nov build

I ran both commands first normal unlock then critical unlock

Now should I boot my device and set it up?

I want twrp magisk and flash kernel

What should be the order for them?

Flashing twrp seems simple enough to first flash img and then boot recovery and flash twrp zip within

But really confused about magisk and kernel

Help is appreciated :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] metalcated:
Can you by chance stick a couple posts in this forum which explains how to root this phone in detail? I'd have to go back through and find the posts but I think instead of people explaining the same steps over and over to different visitors, it would be more beneficial to have those detailed posts easier to find for people. Thanks!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jamiejames:
Busybox pro Stericson updated. Now installs on latest Magisk. 8.0. Not sure about beta. Good.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] matt4321:
I'm happy to do so but don't have the time to write it all out or verify since I don't even own a Pixel 2XL so wouldn't know the procedure. I saw this post which looks to explain it well, I can create a sticky for 'how to root', I'd probably need to give someone OP as well so they can update it as needs, likely boot.imgs and procedures change. Is that something you'd be willing to do?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] metalcated:
Yeah I don't mind helping out. And yes that is the post.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
anyone with quick help? i am still in the fastboot mode and cannot figure it out:(
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] MontAlbert:
Boot twrp first, don't flash it from fastboot. Once in twrp you can flash twrp to make it stick and also flash magisk
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
okay so basically flash magisk within twrp

what about "flash" kernel?

thanks man
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joetheshmo:
Follow the OP of the flash kernel post
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
Cheers:)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] matt4321:
In fact I just looked in guides/news/discussion and saw this thread, seems best to just link people to that. I also created a sticky in dev which redirects to that thread
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] infamousvincci:
Wait, u can flash flash kernel img in twrp?

What if i already have twrp flashed in my pixel 2? I still have to reflash the twrp zip after flash kernel?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jrbxx7:
Yes, when u hit install select the img button, bottom right, select the img, then select boot, swipe to flash. Then go back to install, select zip. Flash twrp zip then magisk zip.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] infamousvincci:
Nice. Thanks! I will do that first thing in the morning. Lol.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] infamousvincci:
I got into a bootloop. :/

I flashed flash kernel img

Flash twrp beta1

Flash magisk

= Bootloop

---------- Post added at 09:24 AM ---------- Previous post was at 09:03 AM ----------

I got it fixed.

I followed the instructions in walleye flash kernel together with the dtbo.

Boot to twrp and flashed twrp and magisk.

Now i have a flash kernel and rooted pixel 2. Goodnight!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Prattham:
Mind sharing your steps?