yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] edd247:
getting Android System error "there's an internal problem with your device" after updating. Running 8.1, DP1. I am able to hit ok and then use the phone as normal

edit: appears to be normal per topjohnwu
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
I've read 2 post's about this working, but never attempted it myself. Can't recall which thread it was in, maybe buried in this one somewhere.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] TSGM:
Thanks. I was intending to use Magisk Manager instead of the TWRP option. Why should we prefer one method over the other? Any advantages to TWRP? (I suppose it gives you a recovery interface?)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] js042507:
No problem. Well, TWRP is a recovery and you can flash the Magisk zip directly from there. Otherwise, you have to take your current boot.img and flash from your PC via fastboot. However, updates to Magisk can be applied from Magisk Manager. But not the very first install.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drivie:
Hi all, I have a dumb question. I searched through the thread and can't determine whether an unlocked bootloader is required to install and use Magisk Manager to obtain root access. My goal is to root the phone for the sole purpose of using Ad-Away.

So the question is: Do I have to unlock the bootloader to accomplish this?

TIA
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
Yes, need to use twrp to flash magisk, need unlock to achieve this.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drivie:
Thanks. I guess my confusion stems from the original post which indicates that you don't need to have a custom recovery and that Magisk Manager allows you to install/flash the patched boot image to obtain root so I wasn't sure about the need to unlock the bootloader. I assumed the flash was through fastboot instead of a custom recovery.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
You can patch boot img and you can side load via a temp twrp
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jrbxx7:
If you dont want to use twrp you can flash the patched boot image via adb. But either way u need unlocked bootloader.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drivie:
Great! Can you walk me through that command please?

So the OP reads:

This method does not need root, and also does not require a custom recovery.

Press Install > Install > Patch Boot Image File, and select your stock boot image file

Magisk Manager will now patch your boot image, and store it in [Internal Storage]/MagiskManager/patched_boot.img

Flash the patched boot image to your device and reboot. Voilà!

I'm not sure how (or even if possible) to accomplish that last step with a stock Oreo 8.0 phone with locked bootloader. Can anyone provide a step-by-step please?

BTW, I've unlocked, rooted and flashed files to other phones in the past but I always had an unlocked bootloader and a custom recovery. I don't want to unlock on this phone if I can help it because I don't want to lose all of my data.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bryantjopplin:
Got to unlock to bro. Back everything up lol
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drivie:
LOL! Oh well, thanks anyway. Appreciate the help.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sn0warmy:
Running the 8.1 Beta with Magisk 14.4.3 and Magisk Manager 5.4.1 installed. Magisk Manager keeps prompting me to update to Magisk Manager 5.4.2. however, the 5.4.2 APK fails to install after successfully downloading. Multiple tries, all failed.

So I tried pushing the 5.4.2 APK (downloaded from this thread) to internal storage and installing manually. It still fails. So I'm thinking my only option is to hold off and flash Magisk 14.4.X with Magisk Manager 5.4.2 bundled via TWRP, as soon as the Magisk zip is updated to include 5.4.2.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] JasonVaritekMVP:
Just saw the beta channel. Thanks, I'm refamiliarizing myself with all the tools after a couple years being limited to 5.0.2 due to a Verizon s6. As always our developers seem to be doing lovely work.

I take it the direct install (recommend) is the best way to go?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] cwalker0906:
Delete current manager and then install
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sn0warmy:
The one it's trying to install is 5.4.3. But now that I've uninstalled 5.4.1 the downloaded 5.4.3 APK disappeared. Does anyone have the 5.4.3 APK you could share?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] joetheshmo:
https://www.apkmirror.com/apk/topjo...se/magisk-manager-5-4-3-android-apk-download/
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] sn0warmy:
That did the trick. Thank you!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Cowbell_Guy:
I just installed through the in-app update feature... Really couldn't have been any easier. Not sure why people are Downloading all this other files just make sure your update status is set to Beta
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Bottom line is if you want to root and install custom recovery, you need to unlock your bootloader and critical bootloader. You should read up and back up before you start. Otherwise, you may end up with a $1000 coaster.

Don't just rely on anonymous advice on a thread. Get a little education by reading up on the subject.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
Just more solid evidence that people do not read enough before acting... period!

You can't go 3 pages in any one of a half dozen threads without finding a post where someone "discovers" they didn't have up to date platform tools OR they needed to change out the C to C cable to complete all the commands OR they needed to unlock the boot loader (critical) to get out of some crisis OR they can't unlock a Verizon bought phone. It's the never ending new phone cycle. Lol

Read twice... Flash once...
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
What? These threads have information that is helpful? Must be a Thanksgiving special or something, here I thought all these posts were just random texts and useless knowledge.... Who knew?

?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Youngbloodx:
Posted in another thread but I thought I'd try here as well.

I was able to unlock bootloader and flash a 8.0 and 8.1 just to get the hang of using the android SDK, as this is my first time doing something this technical (I'm used tweaking my phones after devs have had enough ti.me to make it easy for noobs)

But I'm unable to root, I'm not sure what I'm doing wrong.

Step 1: I downloaded the factory image for 8.0 from google and extracted the boot.img from within the zip.

Step 2: moved the boot.img to my phone via google drive (i also tried this step via a regular usb cable transfer)

Step 3 (I think this is where I am screwing up): I downloaded the magisk apk 5.4.1 . Open the app, click install. This gives me a pop-up saying 'Do you want to install MagiskManager-v5.4.2apk now?' I click install. My device then downloads this in the background and click install. (I assume it's basically installing another version of the same magisk app)

Step 4: Another pop-up then reads "Do you want to install MagiskManager-v5.4.3apk now? My device downloads another app version in the background and installs it.

Step 5: Upon opening Magisk for a 3rd time a prompt shows up "do you want to install Magisk-v14.0zip now? I click install and this finally gives me the option to either download zip only or patch boot image file.

Step 6: I click patch boot image file that I transferred from my phone.

Step 7. I move the patched_boot.img file from the MagiskManager folder to my computer

Step 8: put my phone in bootloader mode (restart phone and hold the volume down button)

Step 9: On the command prompt window i type in "cd <location of my sdk platform tools> " then "fastboot flash boot <location of where the patched_boot.img file is on my computer>" (I read that its best for me to just drag and drop the file into the command window right after ...flash boot )

Step 10: I press enter and the command prompt window seems to do what its supposed to do. The command is completed in just under a second. (I'll take some screenshots when i get home). But my phone doesn't seem to do anything. It was in bootloader mode for a while and the background light had gone dark then lit up again when i hit enter on the last line of code, but that is the only response my phone had.

When i rebooted the phone to check if root worked, magisk app still showed me that the phone is not rooted. I tried this several times starting from step 1 with the same results. One time, however, it seemed to work but when i restarted my phone it was stock on the 'G' logo for about 10 minutes so I think it bricked (I was pretty scared cuz the phone obviously ain't cheap) I had to go back to bootloader mode and flash the factory image which saved me. Good thing I practiced doing that a few times before starting the rooting process.

So my question is... wtf am i doing wrong? lol. I think its step 3 to 5 that is not going so well.

Sorry for the lengthy post, but I just wanted to be thorough and make sure I communicate my steps properly. Thanks.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] KonoeKyon:
Go to settings in the app and change the update channel to beta, that will have it download 14.5. then you can patch the boot.img with that
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] estallings15:
I installed the latest magisk beta, patching snoke kernel and flashing. Now my fingerprint sensor refuses to unlock the device. I've tried deleting and re-adding the fingerprints. This happened last time I tried flashing magisk, also. Any ideas what I'm doing wrong here? Do I need to hide magisk from something that is seeing it and disabling the fingerprint unlock for security?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Youngbloodx:
Thanks for replying.

After downloading 5.4.1 magisk apk from the first page, I was prompted to install but I clicked 'not now' . Then I followed your instruction to switch to beta under the settings menu. After doing that, I refreshed the app and then chose to install.

Screenshot 1 is what the app looks like after I've installed using the beta channel.

On screenshot 2 .... Before your post I was not seeing the 4th line "A/B partition detected..." so I guess that is a step in the right direction but I'm still experiencing the same thing with bootloop 'G' screen. The file size of the patched_boot.img is 25.17mb. Maybe I'm not following the right order during the step for beta channel switch?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] KonoeKyon:
You can update to the newer magisk manager, the new one 5.4.3 is compatible so long as you have it set to use the beta channel. If you are 8.1 I'm not sure if it's compatible with that, I'm on the November 8.0 version. Just to be clear you are getting the boot.img file from the zip file inside of the factory image zip correct? And not the bootloader?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Youngbloodx:
Niceeee. That got it rooted for me. Just had to download 5.4.3 apk like you said. Thanks :)
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Juzman:
I had issues installing Unified Hosts on latest beta, and also the mods for Electron kernel as did others.

Uninstalled Magisk Manager & Magisk.

Installed Magisk Manager 5.4.1 (didn't update to 5.4.3).

Booted into TWRP and installed Magisk 14.4(1444).

Could then install Unified Hosts as a module.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
Are any of the modules showing installed for you in magisk modules?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Juzman:
Yep. With the version of Magisk Manager / Magisk I mentioned above.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
Hmm, strange. I'll try again. Modules say they install but don't show up.

Edit: finally got everything working right. Whew!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] radionerd:
I saw where someone asked if folks on 8.1 beta could update inside Magisk' Manager

I had time to kill so I took the update. Since Magisk root was already working on my device, I simply just took the update to Magisk manager, and Magisk. No fussing around with a bunch of unnecessary stuffs.

if you have Substratum Disable Magisk theme

Make sure beta channel is turned on in Magisk Manager

Open Magisk, Click update Magisk Manager (today v5.4.3.apk)

Follow prompts, and install manager

install Magisk ZIP (today v14.5)

Select Method "Direct Install" (if you had root already) just hit install, wait for it to finish.

Reboot and sip some iced tea.

If by chance anything goes wrong in the on screen log, click save log and upload to the official forum for halp
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] metalcated:
I have a new message that pops up at boot saying it could not verify the integrity of my system. Just FYI for those interested and developers.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Youngbloodx:
How do you do this with Android sdk?

---------- Post added at 08:35 AM ---------- Previous post was at 08:31 AM ----------

Quoted the wrong post -_-

How do you run this set of codes on Android sdk? I've added the line of text to the build.prod file "net.tethering.noprovisioning=true" and saved but I'm not sure how to go about the second step using Android sdk.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Alxoom33:
Yes, that is common when rooting 8.1. I have it too, as do others.

Just ignore for now.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
It's every phone that's unlocked. As soon as you unlock, that warning stays until you lock it again. It's been that way since the Pixel. Nothing new with 7 or 8 or 8.1. It's not going to go away until the day you decide that you don't want to have a locked phone.

Personally, I think that a thief shouldn't know that the phone has an unlocked bl. It is TMI.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] metalcated:
Funny thing is that it didn't show up on the previous build of Magisk. Only since I upgraded to the recent build.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
It has nothing to do with Magisk. It's the warning about the unlocked bootloader. If you didn't see it before, that means that you weren't properly unlocked.

Jeez. I mean, c'mon. That's some serious misinformation there. You might want to stop disseminating things you don't know about.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] metalcated:
It's completely unnecessary to be an like that in response to my statement. This is a community of people of all levels.

Mind you if you'd like to sit there and undermine my intelligence, I am a contributor of this community and have provided a root method for the ATT S6 at the time I owned it among many other helpful and kind posts. Please don't come here with the mindset simplified by the closing of your post. Share and be kind or don't post. With peace said, I will not be responding to any additional posts unrelated to the topic.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] clothednblack:
I'm guessing you went straight from unlocking to rooting, which is why you never saw it between those steps. But, it's due to the bootloader being unlocked as previously stated. Some people saw a "corruption text" during boot after trying root I believe, but that's a different story. Just another way of Google making it obvious that we like to customize lol.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bggold:
This is related to magisk. Look at page 442 in the 14.5 forum. It has to do with the /vendor partition being modified. I do not get it on my pixel 2 xl running 8.

I think you are referring to the unlocked bootloader message at power up. Look at his post again and see the screenshot.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] metalcated:
Yeah it's just the first time I've seen it before and kinda wish it would go away lol.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drewski_1:
It's in addition to the Bootloader Unlocked message.

You might take your own advice about misinformation :cyclops:
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bggold:
True it is you only get it with an unlocked bl of course. Common sense here. No unlocked bl no root. That not the original post issue. It was the message after it boots up.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drewski_1:
I think we're saying the same thing?!? ;)

It's the message caused by the abv-verity modification from Magisk 14.4.3 (unofficial) onwards, including 14.5
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
I wonder why I am not getting that warning. I'm running a custom kernel. Does that only show up on stock kernel? I'm not jealous. Lol
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
If you have a locked bootloader, you won't get that warning. It's built into the bootloader.

If you think you are rooted, my guess is, you aren't. I'd have to see a complete video from power off to a root check to believe that you are not getting that warning.

Sent from my Pixel 2 XL
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Golf c:
You are talking about a different warning. I am talking about this warning.

https://xdaforums.com/pixel-2-xl/development/2017-11-6-root-pixel-2-xl-t3701176/post74620452
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] drewski_1:
You're still thinking of the wrong warning. Look back a page. This is after the boot animation and you enter the OS
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] zathus:
What am I doing wrong? I feel like I'm missing something stupid obvious.

Bootloader is unlocked. Downloaded the app in the Op. Open said app, tells me I need to update. I update. Tells me I need to update again. I update. So at this point I have installed the app three times before I can do anything else. then I patched the boot image. Reboot to recovery, Flash the patched boot image. Reboot. And I'm right where I started. Telling me I need to update the app. And that magisk is not installed

NVM..I got it. Has to be in beta.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] blaze9090:
Getting same results, what did you do?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] shindiggity:
Go into Magisk app/settings/update channel. You need to be on beta to be able to get newest Magisk.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] DodoGTA:
Wait, why are you copying MKBHD?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] shindiggity:
Copying what?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] markp99:
Magisk root is working, confirmed SafetyNet passes via the Magisk app itself and via a PlayStore app.

Out for lunch yesterday, Android Pay did not work, respond or complain to tapping the cash register sensor.

Not sure of this was a Magisk/SafetyNet issue, or an equipment issue at the restaurant.

Can anyone confirm Android Pay is actually functional?

v5.4.3 (63)

v14.4
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] metalcated:
Yes it's functional. I use it all of the time. Haven't used it since updating to 14.5 but I will be doing so today at which I will update and let you know if it's working still. But since your on 14.4, It was working fine on that build.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] DodoGTA:
https://youtube.com/MKBHD
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] shindiggity:
Just an avatar I found on G+ yrs ago, not trying to copy anyone.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Ffgod1:
Small problem...

Somewhere during following the instructions, I ran into a problem. I unlocked bootloader in developer settings and enabled USB debugging. Got my stock boot image, transferred, patched and re transferred back to the computer. I followed the steps in command with sdk tools to unlock bootloader and the second "critical" one. Once that was done, I restarted the bootloader then flashed the patched boot image with a success message. Rebooted the phone to not see magisk installed (only one green checkmark). Had the magisk zip downloaded too. I can't figure out where I messed up. Back in bootloader it shows I'm unlocked and I get the message when booting. I tried to boot into recovery but it seems my device doesn't have a recovery anymore (message saying "no command" with dead android and red triangle.

I'm using a Pixel 2 xl with 8.0. I could really use some help figuring this out as I've never screwed up a root in my life and now I'm completely stumped. I'd be happy to compensate someone for their time if they want to vid chat or message media through this. Thank you in advance for anyone that might be able to help.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jrbxx7:
Relash the stock boot.img. Let it boot completely. Then flash patched img. Or boot twrp and flash kernel img, then flash twrp zip to make twrp permanent, then flash magisk 14.4.2 or higher. Feel free to pm me if u need help.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] holla420:
So flash the magisk zip in TWRP?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] jrbxx7:
Yes u can instead of manually patching img
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] holla420:
Nice cause I been having problems getting it to root for some reason
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] infamousvincci:
was able to achieve root by installing TWRP Beta and then flashing the zip file. Thank you!!!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Schroeder09:
Look at this screenshot guys. Am I even rooted? Root checker app says I am but I am having some problems with apps that make.me think I may not be rooted. Here's the magisk screen.

When I click the install button I see the how to install options. I flashed this with twrp. Am I good or not? Why does it have the install option and not a reinstall?

I'm on 5.4.3
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
Install this and see for yourself. :) Did you use the direct install option?

https://play.google.com/store/apps/details?id=org.freeandroidtools.root_checker
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Dielahn:
Looks like you are rooted.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] slaydog:
I had to check to see if this was my own post, lol. Literally posted the same thing, including going to Walmart for the new cable..!
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] Schroeder09:
Thanks guys. Root checker verified it.

Is there a free Tasker module in magisk to replace Tasker? It's $3. That's fine, but if there is already a module in magisk I might as well use it.

Every time I reboot my phone I have to go into my terminal emulator type in "sure", enter it, then type "setenforce 0" for the VIPER4android driver to be enabled and work. I was gonna have Tasker do it. Is there another way to just leave the driver enabled?
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] bggold:
Check out xda labs for the selinux switch. Runs on boot.
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] beezar:
Does granting WRITE_SECURE_SETTINGS permission to apps (eg: Autotools plugin for Tasker) cause safetynet to fail? Sorry for the noob question. On Magisk 14.3 and safetynet started to fail, wasn't sure if it was due to me granting and changing secure settings via Tasker or some other issue
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] CyberpodS2:
This has a few links in it so you can choose where you get it from. I think I got my copy from fdroid but the xda labs and direct download are there too.

https://xdaforums.com/showthread.php?t=2524485
[Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth] abuttino:
No. It will not cause safetynet to fail. I'm using it right now :)

Sent from my Pixel 2 XL