yashsingh1/xdaforums huggingface dataset:
[Google Pixel 2 Guides, News, & Discussion] bakemcbride21:
Having a pain in the arse quandary. Have been flashing monthly images (removing the "-w" in the flash script) and updating as per this guide every month without issue since December. Huge time saver not removing PIN/fingerprints etc

Upgraded to Android P Official today. (from latest Oreo update in July....not running any Beta "P" releases)

So far what I have learned....

1. Needed the latest platform tools from June 28th ish (otherwise it fails) That should help anyone having error issues while upgrading.

2. Once I did that it upgraded no problem. However I cannot get Magisk to install.

I follow the steps as I always have except now I am temp booting the 3.2.2.0 TWRP img (assuming the latest one is the one I need) and pushing to the temp folder Magisk 16.7 and then installing it as per instructions. This is causing a bootloop and then a very scary error message telling me my system is corrupt and I may need to factory reset.

At this point I hold power/volume up and get back to the bootloader and I have to flash Android P image again and I get my phone back but no Magisk root.

Anyone have any ideas?

Thanks in advance.

**EDIT** I am now at the point where I am on Andoid P, have uninstalled Magisk Manager and have TWRP 3.2.2.0 installed as a custom recovery up and running fine. (PIN and fingerprints removed)

All I should have to do is reboot to recovery (TWRP) and install the Magisk 16.7 zip I have on the phone, reboot and reinstall Magisk Manager, correct?
[Google Pixel 2 Guides, News, & Discussion] Olympus593:
I had no problems at all, I followed the exact same steps described here, always pushing the TWRP and Magisk files from my PC.
[Google Pixel 2 Guides, News, & Discussion] ZeoFateX:
Happening to me a ton as well. It just decides to randomly stop on one of the Sending sparse xx/5 options. Sometimes 2, sometimes 3. Just failed on 5. Tried different computers, ports, cables, etc.

Seems the more I keep doing it, the further it gets. Up to like vendor b or something...

Edit 2: Yep, now stuck at vendor_b, and seems the phone becomes unresponsive or something. I have to restart the bootloader to get it to accept commands again.

Error is different now though, now it's 'FAILED (data write failure (Unknown error))'

Eh, switched cables again back to an A->C cable and totally different port and it went all the way through. Took me a good 20-30 tries.

Edit again: Hmmmm failing safetynet according to magisk... Device is listed as uncertified in Google Play Store as well. Sad face. =(

Thanks for the guide!
[Google Pixel 2 Guides, News, & Discussion] rickz0714:
Hi I'm using the original google pixel, magiskhide doesn't work after updating to android 9. Have any idea why this happens?
[Google Pixel 2 Guides, News, & Discussion] moviti:
This guide always useful for me, updating from DP5 to Pie was perfect. TWRP and Magisk 16.7 works charm, thanks
[Google Pixel 2 Guides, News, & Discussion] zokin26:
Does anyone have camera issue after update?
[Google Pixel 2 Guides, News, & Discussion] bakemcbride21:
I think I had some software corruption going on. I did a Wipe Dalvik/Cache/Data (but not my internal storage files) and then Magisk installed without issue right away doing exactly what I was doing when it was failing prior and bootlooping. Had to reinstall my apps, but that isn't the worst thing in the world....helps to minimize what I really need :)
[Google Pixel 2 Guides, News, & Discussion] galion1:
Do you think this was an issue specific to you? I'm planning to use this method to go from magisk'd 8.1 to Pie, and I'm wondering if I should expect the same thing happening.

Would love to hear from anyone else who tried something similar.
[Google Pixel 2 Guides, News, & Discussion] pfriedman:
I also had this happen to me. Thanks for your advice, I just tried different ports and being persistent and it worked.

One problem I have is that Magisk reports SafetyNet check failure - any tips?

Thanks.
[Google Pixel 2 Guides, News, & Discussion] butman:
This is my 8th attempt an nothing. Coming from 8.1 trying to put 9.0. There's any logical reason with this fails constantly? It is normal?

Now i can't reboot either. I'm stuck in bootloader.

EDIT: Ok. I tried a USB-C to regular USB cable and it worked at the first attempt.
[Google Pixel 2 Guides, News, & Discussion] crixley:
Instead of using the flash all script, use the fastboot commands yourself, try flashing the failed vendor.img to see if that fixes it. Fastboot flash vendor vendor.img
[Google Pixel 2 Guides, News, & Discussion] lpsld:
Does it really? Would be a big lol for me
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
Actually, it does. But, why would anyone that was unlocked sideload an OTA, when it's so much simpler to flash the factory image? Way too much overthinking going on. I've used the OP method for as long as I've had my phone, and I have the Verizon variant. This just works.
[Google Pixel 2 Guides, News, & Discussion] V0latyle:
Either way - whether you flash an OTA or the factory image, it WILL overwrite /boot, so you lose custom recovery and kernel. Not a big issue, just means you have to boot TWRP via fastboot, and flash TWRP and your kernel of choice.
[Google Pixel 2 Guides, News, & Discussion] lpsld:
The thing is I'm on vacation and have no pc by me..so I'll just wait for being home
[Google Pixel 2 Guides, News, & Discussion] Dunge2:
There's multiple factory image of the same version / release month. With Oreo I would download the factory image called "OPM2" because that's what my phone originally came with. Now with Pie there's only PPR1 and PPR1 Telstra. I'm not on Telstra, so I guess the other one is the right one, but what's the difference and why are there less different versions/carriers than before?

Anything else I should know about upgrading from 8.1 to 9? I was using twrp/magisk/xposed/gravitybox. I guess the last two won't be available, but anything else I should know?
[Google Pixel 2 Guides, News, & Discussion] ImIntoStuff:
Hi. I am on version 8.1.0 OPM1.171019.011 and trying to update to version 9.0.0 PPR1.180610.011. It gives me an error that says

What should I do?
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
Flash the latest 8.1 first, because you need the updated bootloader for it to pass.
[Google Pixel 2 Guides, News, & Discussion] ImIntoStuff:
[/COLOR]Ok. I updated to the latest 8.1.0 (8.1.0 (OPM4.171019.021.Q1, Jul 2018, T-Mobile)

Then I tried to update to 9.0.0 (PPR1.180610.011, Aug 2018, Telstra). It gave this error

Quote:

Sending 'bootloader_a' (36364 KB) OKAY [ 0.105s]

Writing 'bootloader_a' FAILED (remote: Invalid bootloader)

Finished. Total time: 0.112s

rebooting into bootloader OKAY [ 0.002s]

Finished. Total time: 0.002s

Sending 'radio_a' (60388 KB) OKAY [ 0.165s]

Writing 'radio_a' (bootloader) Updating: modem [MENTION=6558468]00001[/MENTION]000 sz=03AF7000

OKAY [ 0.545s]

Finished. Total time: 0.713s

rebooting into bootloader OKAY [ 0.002s]

Finished. Total time: 0.003s

extracting android-info.txt (0 MB) to RAM...

--------------------------------------------

Bootloader Version...: mw8998-002.0069.00

Baseband Version.....: g8998-00253-1805232234

Serial Number........: HT79G1A02163

--------------------------------------------

Checking product FAILED

Device product is 'walleye'.

Update requires 'taimen'.

fastboot: error: requirements not met!

Press any key to exit...

I also tried 9.0.0 (PPR1.180610.009, Aug 2018) but still the same error

Should I have not used (8.1.0 (OPM4.171019.021.Q1, Jul 2018, T-Mobile)) for my Rogers phone and maybe used 8.1.0 (OPM2.171026.006.G1, Jul 2018)?
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
Dude, do you have a P2 or P2XL?
[Google Pixel 2 Guides, News, & Discussion] ZeoFateX:
Ok so, I installed beta version of magisk via magisk installer and it made it so my pin wouldn't work.

However I just overwrote that with the beta version I downloaded and TWRP installed it using the method in OP which allowed my pin to work and also I'm passing SafetyNet now.

Op consider adding a link to Magisk Beta for use with your instructions, thanks! I think it's 16.7, I'm on a Verizon Pixel 2 and everything is working status quo!

Thanks Op!
[Google Pixel 2 Guides, News, & Discussion] ImIntoStuff:
Yeah I figured out my dumb ass mistake. Thank you. The first error I got was legit though. Wrong bootloader. Thank you guys

---------- Post added at 12:29 AM ---------- Previous post was at 12:06 AM ----------

It seems to only boot into recovery now. I boot to system from twrp and it boots, restarts and back into twrp

Should I have not used 9.0.0 (PPR1.180610.011, Aug 2018, Telstra) because I have a Rogers phone? There is 9.0.0 (PPR1.180610.009, Aug 2018) that does not specify which phone it works on.
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
It sounds to me like you flashed Magisk before flashing TWRP. If that's the case, just go back into fastboot and flash everything in the proper order.
[Google Pixel 2 Guides, News, & Discussion] ImIntoStuff:
That sounds right. I did do that. Will the one labeled Telstra work for me? I am already halfway to reflashing stock 8.1.0 and back to 9.0.0 but I was going to try the one not labeled Telstra

---------- Post added at 12:54 AM ---------- Previous post was at 12:51 AM ----------

In the guide it says:

I did the optional install except without custom kernel in between
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
If you're not on Telstra, there is no reason to use that version. Always use the unified build, unless your specific carrier has a different version.

If you install TWRP last, you won't be able to get out of it. Believe me, I know... got into a hurry a couple of times and learned the hard way ?
[Google Pixel 2 Guides, News, & Discussion] ImIntoStuff:
I guess I will bite the bullet and not remove the -w from flash-all.bat

---------- Post added at 01:17 AM ---------- Previous post was at 01:15 AM ----------

Well that worked to get out of the bootloop. But I did install the Telstra version :(
[Google Pixel 2 Guides, News, & Discussion] ImIntoStuff:
Now I have installed the "not Telstra" version. I fastboot'd twrp, pushed twrp, pushed magisk, installed twrp "persistant", installed Magisk and when I reboot it goes into a loop

---------- Post added at 04:50 AM ---------- Previous post was at 04:26 AM ----------

I can't get root on 9.0.0 right now can I?
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
Are you flashing the "Taimen" specific versions? If not, you need to.
[Google Pixel 2 Guides, News, & Discussion] Dunge2:
Just flashing Android 9 booted fine. Flashing magisk (16.7) bug.

I always get stuck at the G logo. Not a bootloop, just staying stuck there. I tried reflashing magisk, nothing, reflashing twrp (it start to always boot on twrp). Reflash magisk again, still stuck to the G logo.

Also twrp (3.2.3.0) often get stuck at the enter password screen, touchscreen don't work. Need to reboot a second time.

I redid a flash-all and now it boot fine, but not Magisk. Gonna wait for a new version until it's fixed I guess?

Edit: ok the solution as I found in other threads is to flash magisk uninstaller first. Then reflash magisk and it will work.
[Google Pixel 2 Guides, News, & Discussion] ImIntoStuff:
That worked very well. Thank you very muchly
[Google Pixel 2 Guides, News, & Discussion] kittygotwet:
Sorry new to all of this. If I'm already on 9.0 Pie. Do I still need to re-download the image from google to reflash then flash twrp+magisk?
[Google Pixel 2 Guides, News, & Discussion] but2002:
Every time I follow any guide in this area and go to install TWRP, I always end up in a situation where it -ALWAYS- boots to TWRP, even when attempting to boot to System. How do I resolve this?
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
Are you flashing TWRP then Magisk, not the other way around?
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
No, you don't. Just follow the second part of the guide, and make sure to flash TWRP, kernel (optional), then Magisk, in that order.
[Google Pixel 2 Guides, News, & Discussion] kittygotwet:
the twrp i'm flashing is twrp-walleye and NOT twrp-mata_11, correct?
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
Yep.
[Google Pixel 2 Guides, News, & Discussion] markcov:
Had the same issue.

Pixel 2, was running 8.1 with July security update.

Removed my fingerprint / password security

Followed instructions on page 1 doing the following:

Installed 9.0 without the -w

Installed twrp

installed magisk-uninstaller (20180708 was the newest version at the time)

installed magisk-1674

Upon reboot I was stuck on the G screen. Just spinning over and over.

reboot back to twrp, ran magisk uninstaller

Phone booted up fine at that point.

reboot back to twrp, ran magisk-1674 installer again and this time device booted past the G logo fine.

TL,DR; rebooting between magisk-uninstaller and the installer worked for me.

Thanks to everyone for the great work and support on this forum.
[Google Pixel 2 Guides, News, & Discussion] xdaninja:
hey all, having issues flashing 9.0 stock on my unlocked pixel 2

using walleye-ppr1.180610.009-factory-4149f7e5, running flash-all.bat with the "-w" flag removed. everything is successful except for:

Sending 'vendor_a' (359560 KB) FAILED (data write failure (Unknown error))

if i try to do/flash anything else at this point (TWRP, kernel, etc) it fails with "unable to mount /vendor" errors

i have the latest platform tools

any advice? TIA

EDIT/UPDATE: i read in another post ( https://xdaforums.com/pixel-2/how-to/guide-unlock-flash-root-pixel-2-walleye-t3702417/page13 ) to use a USB 2 port instead of USB 3. sure enough, i was able to flash vendor.img when i switched to a USB 2 port.
[Google Pixel 2 Guides, News, & Discussion] the1wolf:
Thank you for making such a nice guide to follow! Worked just like your guide said it would, running Pie and kept all my data and settings. Thanks!
[Google Pixel 2 Guides, News, & Discussion] kittygotwet:
So I downloaded the twrp-pixel2-installer-walleye-3.2.0 zip. Inside has METAINF, magiskboot and ramdisk -twrp.cpio. I don't see the twrp img. Can I just flash the entire zip?

So i flashed the zip, went into recover mode I get a yellow warning: loadimageandauth failed: no media.
[Google Pixel 2 Guides, News, & Discussion] Turnilemikus:
On the site you downloaded the zip, there is an .img file. Look lower down. You'll download two files (zip & img).

You'll fastboot boot the img to load TWRP first, from inside TWRP you'll flash the zip. Make sure both files are on your computer and phone .

Might as well use the current TWRP 3.2.3.0. Why not? And use another normal USB to USB C cord. I had that issue.
[Google Pixel 2 Guides, News, & Discussion] kittygotwet:
But to fix the error I would need to reflash the stock walleye before 3.2.3?
[Google Pixel 2 Guides, News, & Discussion] Turnilemikus:
Does Android boot up normal? Obviously, Recovery is not.
[Google Pixel 2 Guides, News, & Discussion] kittygotwet:
No it does not. After I guess I failed to flash the twrp-eye. It just goes into bootloader and tells me the error.
[Google Pixel 2 Guides, News, & Discussion] Turnilemikus:
Then yes. I found success using the extracted SDK tool posted in OP (Open Command Prompt here only) + Normal USB C Cord (not the one you got in the box). Follow the OPs directions to the "T". Ensure you pay attention to #s 4 & 5, as well as #8. You should return to your normal previous settings/datas.

Success above? Then retry TWRP with BOTH files (zip and .img). Put both files in BOTH SDK Tool folder & side loaded via File Transfer Mode from computer to Android Downloads folder while fully booted

Don't flash TWRP initially. Fastboot Mode: (ensure you have these files in your SDK Tool folder!)

fastboot boot twrp-3.2.3-0-walleye.img

Inside TWRP, find where you side loaded the TWRP Files (downloads folder perhaps?)

Install TWRP then and there INSIDE TWRP

I hope this helps. I'm by no means an expert, I just keep trying till it works
[Google Pixel 2 Guides, News, & Discussion] kittygotwet:
Cool the first part worked, however I couldn't turn on Wifi.

I'm trying to download ttwrp3.2.3 from twrp.me and the zip doesn't contain an img file...
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
Scroll down and you will find the .img files.
[Google Pixel 2 Guides, News, & Discussion] Turnilemikus:
.img file is a separate download. Look halfway down the links provided, you'll see it. Ensure you pick the same release # as the .zip. 3.2.3-0 is the current release.
[Google Pixel 2 Guides, News, & Discussion] kittygotwet:
Ahh found it, weird they don't include it into the zip.

Now that I can load back onto android and have twrp, I'm getting an error loading after I flash twrp and magisk. After rebooting it doesn't boot into the system.
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
Well, not really, because many users don't install TWRP persist, they just need the image to flash Magisk and maybe a custom kernel.

What version of Magisk did you install? I used this one and everything is perfect: https://xdaforums.com/pixel-2-xl/development/taimen-flash-kernel-1-00-t3702057/post77240449 Yes, it says Taimen, but the kernel is unified between both models.
[Google Pixel 2 Guides, News, & Discussion] kittygotwet:
Magisk 16.0

So I flash-all to get back to be able to boot.

Flash boot twrp-walleye 3.2.3

then install magisk and it messes up.

In the OP it says custom/kernal is optional... So i opt out I just want to be rooted with magisk.
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
You need the 16.7 beta for it to function properly in 9.0 The link I posted is a modified version that plays nice with Pie...use it on your next attempt.
[Google Pixel 2 Guides, News, & Discussion] kittygotwet:
Is that the reason why it's not letting me boot after I flash twrp and magisk?
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
It's worth a try.
[Google Pixel 2 Guides, News, & Discussion] kittygotwet:
Thanks for the suggestion, but it's still not working.

I flash boot twrp-3.2.3 --> flash the twrp.zip then magisk 16.7. It loads and tries to boot into android and it fails and goes back to twrp.

Flash twrp-3.2.3 --> flash twrp.zip then 16.7 magisk ( the one you suggested) https://xdaforums.com/pixel-2-xl/de...ernel-1-00-t3702057/post77240449#post77240449. It just loops trying to reboot over and over again.

When I flash twrp then the magisk. But magisk 16.7 failed to install.
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
You're doing something wrong, or missing a step. This method works, and has for me for the last five months. If you want a diagnosis, post a list of every command you execute in the EXACT order, followed by the response from the command prompt and the device. Also, watch what is going on with your device, as there is a lot going on on the screen and you need to pay attention to it. If you have followed the steps to a T, then I am totally baffled. But, if you provide more info, we might be able to figure it out.
[Google Pixel 2 Guides, News, & Discussion] kittygotwet:
The one thing I probably don't do according to the guide is push magisk. I drag the file onto the phone. I don't see how push and transfering via mtp will change a thing.

flow:

adb reboot bootloader

fastboot boot twrp-3.2.3.img

[boots into twrp] go into install and try to install magisk 16.7. tries and fails to install.

Conversely, I was watching a youtube guide where he installs the twrp3.2.3 zip before installing magisk. He also transfer via MTP.

----

Used Magisk 16.7

So I've retried every thing this time using push, Magisk didn't show any error or saying it failed. After installing and rebooting into the OS there's no Magisk installed.

Tried installing the twrp-walleye-3.2.3zip then Magisk and tried Magisk alone. it's not showing up.
[Google Pixel 2 Guides, News, & Discussion] ooom416354:
Hi, my kid was on my phone and ended up taking the OTA update to Android 9. I had previously had magisk root installed and have an unlocked bootloader. Just wondering, to get root back would I follow the steps listed under "Restoring root and/or a custom recovery" in the first post?

Thanks in advance for your help.
[Google Pixel 2 Guides, News, & Discussion] Turnilemikus:
Yes
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
Yes, but you need to flash Magisk 16.7. This is modified version that fixes issues some users have reported, but not my work. https://xdaforums.com/pixel-2-xl/development/taimen-flash-kernel-1-00-t3702057/post77240449

Yes, it says Taimen, but the kernel is unified and it works great
[Google Pixel 2 Guides, News, & Discussion] kittygotwet:
Hey for some reason magiskv16.7 won't install.

Do you know why?

I grabbed the boot image, the latest one not OTA, from google and tried isntalling both 16.0 and 16.7 magisk both won't install.

I'm on android 9.0 Pie.
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
Follow the instructions in the OP. Push Magisk to /tmp, then TWRP install from /tmp
[Google Pixel 2 Guides, News, & Discussion] kittygotwet:
Yeah, I've been pushing magisk to /tmp and i'l still getting an error. using Magiskv17.1 now too.

attached an image.
[Google Pixel 2 Guides, News, & Discussion] Duhman72:
Magisk OTA installation for 17.0+

Has anyone tried the below linked method now that the Magisk tips page has been updated for Magisk versions 17.0+? I want to test it, but haven't gotten the update yet via the System -> Check for update. I usually just follow the guide in this thread, but always keep checking to see if any progress has been made on the Magisk OTA method. Hoping it works.. so that the need to use a PC is eliminated.. and we can just take the OTA like an unrooted phone.

Magisk OTA installation

If anyone has successfully tested this with the Sept update, please reply.

Thanks!
[Google Pixel 2 Guides, News, & Discussion] DuckRuckus:
It's worked perfectly for me.
[Google Pixel 2 Guides, News, & Discussion] kittygotwet:
I finally figured it out. I just needed to use the Magisk uninstaller then reinstall and it worked perfectly. Thanks guys
[Google Pixel 2 Guides, News, & Discussion] K1196A:
Any idea why when I go to check for an update still nothing shows up? Automatic updates are disabled, and I'm restoring the image through Magisk prior to opening up updates to manually check.
[Google Pixel 2 Guides, News, & Discussion] starkruzr:
Hi,

I'm on Magisk'd Oreo (an April release, I think), otherwise unmodified, and would like to move up to Magisk'd Pie -- if it's easier I am totally fine with wiping my device. Can someone tell me which parts of this I should/n't follow and where to get the files?

TIA.
[Google Pixel 2 Guides, News, & Discussion] Diesel_Jeremiah:
I updated from July to October last night.

If you follow Telperion's guide, using the factory image, you'll be fine and keep your data. No wipe is needed, unless you want to start fresh.

Note: The update to 9 is larger, about 1.5 gig, so be patient.

Have the most up-to-date SDK Platform Tools.

Make sure which update you are on.

Remove PIN, password, or fingerprint if you have them. (I do this to be safe with TWRP issues in the past, might not be needed.)

Get into the bootloader

Double click to run "flash-all" (-w deleted) if you don't delete the -w, it will wipe your device.

Let device reboot and finish install

Repeat going into bootloader and "flash-all" as needed until on the October update

Once you get to the October update you can install TWRP, Kernel, Magisk, and Mods as you choose.

Put your PIN, password, or fingerprint back into Security.

Magisk

Factory Images for Nexus and Pixel Devices

SDK Platform Tools

TWRP for walleye

ElementalX Kernel for Pixel 2 (walleye)

Android Pie Various Mods, Aroma installer & Magisk version

If you want step by step instructions, I can provide them. I feel my way is a little easier than Telperion's, though his way works well.