This is how I got root (Magisk) on my Pixel 2.

Search This thread

giant22000

Senior Member
Oct 2, 2011
546
173
***Bootloader must be unlocked as a prerequisite.

11/4/2017 - Scroll down to find new method that doesn't require TWRP.

You will need to download the alpha version of twrp, snoke kernel r7-p2-root and magisk 14.3 (1437)

1. Reboot phone to bootloader.
2. fastboot flash boot Snoke-R7-P2-Root.img
3 fastboot boot twrp-3.1.1-alpha1-walleye.img
4. Once in twrp, start adb sideload.
5. From cmd, adb sideload Magisk-v14.3(1437).zip
6. Reboot and enjoy root!!!!!

All credit comes from this post.


11/4/2017 - Post updated.
Just wanted to add this as another option for those who may find this method easier. No TWRP needed.

I just found a much faster and easier way to install magisk on the wonderful Pixel 2...
1. Download Magisk Manager 5.4.0 apk
2. Open app and tap install
3. Use the patch boot img option.
4. Locate the patched_boot.img within internal sd/MagiskManager and move it to root of phone memory.
5. Send that file to your pc.
6. Boot to bootloader.
7. Input command into cmd "fastboot flash boot patched_boot.img"
8. Reboot and you have latest root package or whichever you downloaded.
 
Last edited:

mac796

Senior Member
Aug 20, 2014
1,235
397
Long Beach
You will need to download the alpha version of twrp, snoke kernel r7-p2-root and magisk 14.3 (1437)

1. Reboot phone to bootloader.
2. fastboot flash boot Snoke-R7-P2-Root.img
3 fastboot boot twrp-3.1.1-alpha1-walleye.img
4. Once in twrp, start adb sideload.
5. From cmd, adb sideload Magisk-v14.3(1437).zip
6. Reboot and enjoy root!!!!!


All credit comes from this post.

I gave this a shot on the XL. Couldn't get it to sideload. Maybe I'm doing the sequence wrong. Doing something wrong. Doesn't see the file. Thanks for the guide
 

mac796

Senior Member
Aug 20, 2014
1,235
397
Long Beach
Are you enabling sideload once booted into twrp?


Been a long time since I sideload. But I flashed the root kernel, then booted TWRP, then advanced, side load then swiped, gave me an error about no encryption but started then I opened command window in folder I had magisk beta file, entered command. I got error, no such file I believe
 

Chronzy

Senior Member
Jun 28, 2010
876
481
Austin, TX
Been a long time since I sideload. But I flashed the root kernel, then booted TWRP, then advanced, side load then swiped, gave me an error about no encryption but started then I opened command window in folder I had magisk beta file, entered command. I got error, no such file I believe
Doesn't work on XL. Currently don't know exactly why.
 
  • Like
Reactions: mac796

jco23

Senior Member
Nov 17, 2011
2,480
638
You will need to download the alpha version of twrp, snoke kernel r7-p2-root and magisk 14.3 (1437)

1. Reboot phone to bootloader.
2. fastboot flash boot Snoke-R7-P2-Root.img
3 fastboot boot twrp-3.1.1-alpha1-walleye.img
4. Once in twrp, start adb sideload.
5. From cmd, adb sideload Magisk-v14.3(1437).zip
6. Reboot and enjoy root!!!!!


All credit comes from this post.

thanks for providing/testing this.

does root stick even after subsequent reboots? are root apps (like adaway, TiBu, Root Explorer, etc.) working as they should? any screenies would be helpful.
 
  • Like
Reactions: Ashyford

GohanBurner

Senior Member
May 8, 2011
831
155
Waukesha, WI
I keep trying and it keeps failing.

C:\Users\gohan\AppData\Local\Android\sdk\platform-tools>adb sideload Magisk-v14.3(1437).zip
opening 'Magisk-v14.3(1437).zip'...
connecting...
falling back to older sideload method...
error: closed

Edit: For those of you like myself who have never sideloaded anything before, you need to actually enable the feature first in TWRP before you can use it. >_<
 
Last edited:
  • Like
Reactions: Ashyford

giant22000

Senior Member
Oct 2, 2011
546
173
I gave this a shot on the XL. Couldn't get it to sideload. Maybe I'm doing the sequence wrong. Doing something wrong. Doesn't see the file. Thanks for the guide

I keep trying and it keeps failing.

C:\Users\gohan\AppData\Local\Android\sdk\platform-tools>adb sideload Magisk-v14.3(1437).zip
opening 'Magisk-v14.3(1437).zip'...
connecting...
falling back to older sideload method...
error: closed

Edit: For those of you like myself who have never sideloaded anything before, you need to actually enable the feature first in TWRP before you can use it. >_<

Do you have the lastest adb/fastboot running or is it an older version?
 

MrGimpGrumble

Senior Member
Jun 14, 2012
279
57
Philadelphia
For XL i did the following

fastboot flashing unlock-critical for bootloader

then followed the instructions but used the Taiwen TWRP version

going to reboot it now and test but it looks better than before!
 
Last edited:

gaijinsmash

New member
Nov 2, 2017
3
0
Thank you

Thank you for the efforts and information sharing here. Using the Snoke kernel and the root process outlined here I was able to enable native tethering on the Pixel 2.

This is hugely appreciated!
 

Xechorizo

Member
Jan 5, 2008
13
1
You will need to download the alpha version of twrp, snoke kernel r7-p2-root and magisk 14.3 (1437)

1. Reboot phone to bootloader.
2. fastboot flash boot Snoke-R7-P2-Root.img
3 fastboot boot twrp-3.1.1-alpha1-walleye.img
4. Once in twrp, start adb sideload.
5. From cmd, adb sideload Magisk-v14.3(1437).zip
6. Reboot and enjoy root!!!!!


All credit comes from this post.

Works great! Thanks to the original discovery and for the succinct instructions.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 20
    ***Bootloader must be unlocked as a prerequisite.

    11/4/2017 - Scroll down to find new method that doesn't require TWRP.

    You will need to download the alpha version of twrp, snoke kernel r7-p2-root and magisk 14.3 (1437)

    1. Reboot phone to bootloader.
    2. fastboot flash boot Snoke-R7-P2-Root.img
    3 fastboot boot twrp-3.1.1-alpha1-walleye.img
    4. Once in twrp, start adb sideload.
    5. From cmd, adb sideload Magisk-v14.3(1437).zip
    6. Reboot and enjoy root!!!!!

    All credit comes from this post.


    11/4/2017 - Post updated.
    Just wanted to add this as another option for those who may find this method easier. No TWRP needed.

    I just found a much faster and easier way to install magisk on the wonderful Pixel 2...
    1. Download Magisk Manager 5.4.0 apk
    2. Open app and tap install
    3. Use the patch boot img option.
    4. Locate the patched_boot.img within internal sd/MagiskManager and move it to root of phone memory.
    5. Send that file to your pc.
    6. Boot to bootloader.
    7. Input command into cmd "fastboot flash boot patched_boot.img"
    8. Reboot and you have latest root package or whichever you downloaded.
    9
    I just found a much faster and easier way to install magisk on the wonderful Pixel 2...
    1. Download Magisk Manager 5.4.0 apk
    2. Open app and tap install
    3. Use the patch boot img option.
    4. Locate the patched_boot.img within internal sd/MagiskManager and move it to root of phone memory.
    5. Send that file to your pc.
    6. Boot to bootloader.
    7. Input command into cmd "fastboot flash boot patched_boot.img"
    8. Reboot and you have latest root package or whichever you downloaded.
    No need to use twrp for this at all. I posted this because following OP's instructions very carefully it didn't work.

    ---------- Post added at 03:47 PM ---------- Previous post was at 03:41 PM ----------

    Where are you guys getting the image for P2-Root? I don't see anything on the Snoke page for a root specific boot image. Thanks!

    Here's Snoke's Kernel link. https://drive.google.com/drive/folders/0B4tnYt16-NAUeUtkRUVna1FGVW8
    3
    It will not work with 8.1. Those who have tried have reported bootloops and have had to re-flash the factory image in order to get their phone to boot.


    Thanks.

    I'm also curious. Do you know if while one is rooted one will still get notifications that there is an update available, even if you can't do the OTA update?

    Usually, you do get the notification but the update doesn't go through.

    Anyway, I just tried rooting 8.1 with stock kernel, twrp alpha and magisk 14.4 and guess what? It worked!
    3
    thanks for providing/testing this.

    does root stick even after subsequent reboots? are root apps (like adaway, TiBu, Root Explorer, etc.) working as they should? any screenies would be helpful.

    This process seems to work perfectly. Adaway works as expected, and root persists after a reboot. Big thanks to those who worked on it!
    2
    So the command your entering is:
    "adb sideload C:\your\computers\filepath\Magisk-v14.3(1437).zip" ?
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone