[GUIDE] Unlock/Flash/Root for the Pixel 2 (walleye)

dimmak

Member
Feb 27, 2012
28
1
0
Magisk says I can't use a stock bootloader image. What am I doing wrong? I have te latest feb update on my Pixel 2 and have the lates Magisk manager.
 

Snow_ball

Senior Member
Mar 10, 2012
68
21
28
you get the error because you try to just flash the data (system, vendor etc). you need to flash bootloader and radio first.

so i got a new carrier unlocked Pixel 2. i was able to unlock the bootloader, but am unable to flash a factory image. it says
"Device version-bootloader is 'mw8998-002.0059.00'.
Update requires 'mw8998-002.0067.00'."

I am trying to flash to most recent update, but I noticed that my phone is running OPD1.170816.010, which is the oldest build available on the google factory image site.

Do i need to stair step my updates by doing any number of sequential updates before taking the most recent?
 

floepie

Senior Member
Feb 28, 2006
1,991
454
0
Amsterdam
When I boot to TWRP 3.2.1 (fastboot boot twrp...), TWRP prompts me for the password to decrypt. However, my 4-digit PIN does not work to decrypt. I haven't installed the TWRP zip, but then again, according to the instructions here, it shouldn't be needed.

Any ideas?
 

BS86

Senior Member
Jan 20, 2013
872
1,163
0
Regensburg
When I boot to TWRP 3.2.1 (fastboot boot twrp...), TWRP prompts me for the password to decrypt. However, my 4-digit PIN does not work to decrypt. I haven't installed the TWRP zip, but then again, according to the instructions here, it shouldn't be needed.

Any ideas?
according to the reply here, TWRP 3.2.1 does not yet support device encryption on Android 8.1:
https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1129

I ran into the same issue yesterday when updating to the March security patch, so I went with the manual patching of the boot.img for installing Magisk. I don't need TWRP for anything else, so that is ok for me and I can wait for a TWRP with encryption support.

When I first set up the device on february patch, I rooted it before the first boot (together with the unlock - step), so TWRP worked back then because the device was not yet encrypted at that point.
 
  • Like
Reactions: floepie

BrianMDenby

Member
Jun 28, 2014
19
0
0
It's been years since I had an Android and rooted. Been in the Apple family but I'm back with the Google Pixel 2. I'm trying to ROOT this phone but unfortunately "OEM unlocking" is greyed out and I cannot get it to be select-able.

How can I root this phone without being able to do this? Can someone help because I can't figure this out to save my freaking life.
 

V0latyle

Senior Member
Feb 20, 2011
672
113
43
When I boot to TWRP 3.2.1 (fastboot boot twrp...), TWRP prompts me for the password to decrypt. However, my 4-digit PIN does not work to decrypt. I haven't installed the TWRP zip, but then again, according to the instructions here, it shouldn't be needed.

Any ideas?
TWRP decryption works as of 3.2.1-1. Update the TWRP img you are booting, and leave the latest Magisk zip on your SDcard for patching boot images.

according to the reply here, TWRP 3.2.1 does not yet support device encryption on Android 8.1:
https://github.com/TeamWin/Team-Win-Recovery-Project/issues/1129

I ran into the same issue yesterday when updating to the March security patch, so I went with the manual patching of the boot.img for installing Magisk. I don't need TWRP for anything else, so that is ok for me and I can wait for a TWRP with encryption support.

When I first set up the device on february patch, I rooted it before the first boot (together with the unlock - step), so TWRP worked back then because the device was not yet encrypted at that point.
As stated above, the most recent version of TWRP works with decryption, so you should be able to simply flash Magisk through TWRP after flashing a kernel.

It's been years since I had an Android and rooted. Been in the Apple family but I'm back with the Google Pixel 2. I'm trying to ROOT this phone but unfortunately "OEM unlocking" is greyed out and I cannot get it to be select-able.

How can I root this phone without being able to do this? Can someone help because I can't figure this out to save my freaking life.
I had this same issue; some users including myself have been able to unlock by performing a factory reset, then skipping the setup wizard and going straight to Developer Options. There is currently no way to unlock the bootloader without wiping /data.
 

BS86

Senior Member
Jan 20, 2013
872
1,163
0
Regensburg
TWRP decryption works as of 3.2.1-1. Update the TWRP img you are booting, and leave the latest Magisk zip on your SDcard for patching boot images.



As stated above, the most recent version of TWRP works with decryption, so you should be able to simply flash Magisk through TWRP after flashing a kernel.



I had this same issue; some users including myself have been able to unlock by performing a factory reset, then skipping the setup wizard and going straight to Developer Options. There is currently no way to unlock the bootloader without wiping /data.
Yes, it was updated two days after my reply and works now (tested 3.2.1-2)
 

BrianMDenby

Member
Jun 28, 2014
19
0
0
TWRP decryption works as of 3.2.1-1. Update the TWRP img you are booting, and leave the latest Magisk zip on your SDcard for patching boot images.



As stated above, the most recent version of TWRP works with decryption, so you should be able to simply flash Magisk through TWRP after flashing a kernel.



I had this same issue; some users including myself have been able to unlock by performing a factory reset, then skipping the setup wizard and going straight to Developer Options. There is currently no way to unlock the bootloader without wiping /data.
I tried to skip what I could of the setup wizard, I think, and it still was greyed out. Is there a way to root without OEM unlocking???
 

V0latyle

Senior Member
Feb 20, 2011
672
113
43
I tried to skip what I could of the setup wizard, I think, and it still was greyed out. Is there a way to root without OEM unlocking???
Not currently. Rooting requires patching of the boot image; patched boot images will not flash without an unlocked bootloader.

Is your phone a Verizon or Google model, and what's your build number?