FORUMS
Remove All Ads from XDA

[UPDATED][2017.11.6][Magisk] Root Pixel 2 (XL)

1,834 posts
Thanks Meter: 54,260
 
By topjohnwu, Recognized Developer / Recognized Contributor on 6th November 2017, 05:00 PM
Post Reply Email Thread
Pixel 2 (XL) is now officially added on the Magisk support list, please install Magisk v14.5+. These builds here are deprecated
Check out the latest beta from the official beta thread


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

Root for Pixel 2 XL has been achieved!
There are still some things I'd like to add before I push out an official release, but since people can't wait to ROOT their shiny new Pixel 2s, I figured I'd build one for you!
I do not own either Pixel 2 or Pixel 2 XL, so testing is limited. This build is ONLY tested on Pixel 2 XL Android 8.0 OPD1.170816.010.
For Android 8.1 beta, Pixel 2 etc, it should work IN THEORY.


Magisk Version: v14.4 (code: 1444)
Magisk Manager Version: 5.4.1 (code: 58)

Instructions
Since TWRP cannot decrypt /data yet, the proper way to install Magisk is via Magisk Manager. You will need a stock boot image from official factory images.
Download MagiskManager-v5.4.1.apk from attachments and install it to your device.
This Magisk Manager is specifically built for this release ONLY, both stable and beta channels points to the same custom URL.
Once you've got Magisk Manager installed, I'll just copy and paste the instructions from the Magisk OP here:
Quote:

  • 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Ă !

Please don't share a patched boot image in the forums since it will help no one. Flashing a patched boot image alone is not sufficient to run Magisk properly. The "patch through Magisk Manager" step is actually mandatory if you wonder why.

Special Thanks
@nathanchance for his Pixel 2 XL and speedy tests
@Dees_Troy for TWRP on Pixel 2 XL - thanks to TWRP's root shell, the debugging process is 1000 times faster

Donations
I spent endless hours on Magisk. If you like my work, feel free to donate.
https://www.paypal.me/topjohnwu

P.S. Magisk-v14.4(1444).zip is also hosted here because I do not have my own server
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20171106-075812.png
Views:	31508
Size:	179.3 KB
ID:	4324982   Click image for larger version

Name:	Screenshot_20171106-075821.png
Views:	31224
Size:	161.8 KB
ID:	4324983  
Attached Files
File Type: apk MagiskManager-v5.4.1.apk - [Click for QR Code] (2.24 MB, 30346 views)
File Type: zip Magisk-v14.4(1444).zip - [Click for QR Code] (5.97 MB, 89042 views)
The Following 242 Users Say Thank You to topjohnwu For This Useful Post: [ View ]
 
 
6th November 2017, 05:04 PM |#2  
OP Recognized Developer / Recognized Contributor
Flag Taipei
Thanks Meter: 54,260
 
Donate to Me
More
Reserved
The Following 19 Users Say Thank You to topjohnwu For This Useful Post: [ View ]
6th November 2017, 05:05 PM |#3  
danon.brown's Avatar
Senior Member
Flag Austin, TX
Thanks Meter: 1,291
 
Donate to Me
More
Donating later
The Following 3 Users Say Thank You to danon.brown For This Useful Post: [ View ] Gift danon.brown Ad-Free
6th November 2017, 05:05 PM |#4  
nathanchance's Avatar
Recognized Developer / Recognized Contributor
Flag Mesa, AZ
Thanks Meter: 50,704
 
More
Glad to help be a part of testing and here's to the future of root
The Following 38 Users Say Thank You to nathanchance For This Useful Post: [ View ]
6th November 2017, 05:06 PM |#5  
northmendo's Avatar
Senior Member
Flag California
Thanks Meter: 122
 
Donate to Me
More
Thank you @topjohnwu!!!
The Following 3 Users Say Thank You to northmendo For This Useful Post: [ View ] Gift northmendo Ad-Free
6th November 2017, 05:07 PM |#6  
Senior Member
Thanks Meter: 50
 
More
Thanks again! Also for people using BusyBox it goes in /system/bin
The Following 2 Users Say Thank You to ne0ns4l4m4nder For This Useful Post: [ View ] Gift ne0ns4l4m4nder Ad-Free
6th November 2017, 05:09 PM |#7  
Quote:
Originally Posted by topjohnwu

Root for Pixel 2 XL has been achieved!
There are still some things I'd like to add before I push out an official release, but since people can't wait to ROOT their shiny new Pixel 2s, I figured I'd build one for you!
I do not own either Pixel 2 or Pixel 2 XL, so testing is limited. This build is ONLY tested on Pixel 2 XL Android 8.0 OPD1.170816.010.
For Android 8.1 beta, Pixel 2 etc, it should work IN THEORY.


Magisk Version: v14.4 (code: 1444)
Magisk Manager Version: 5.4.1 (code: 58)

Instructions
Since TWRP cannot decrypt /data yet, the proper way to install Magisk is via Magisk Manager. You will need a stock boot image from official factory images.
Download MagiskManager-v5.4.1.apk from attachments and install it to your device.
This Magisk Manager is specifically built for this release ONLY, both stable and beta channels points to the same custom URL.
Once you've got Magisk Manager installed, I'll just copy and paste the instructions from the Magisk OP here:


Please don't share a patched boot image in the forums since it will help no one. Flashing a patched boot image alone is not sufficient to run Magisk properly. The "patch through Magisk Manager" step is actually mandatory if you wonder why.

Special Thanks
@nathanchance for his Pixel 2 XL and speedy tests
@Dees_Troy for TWRP on Pixel 2 XL - thanks to TWRP's root shell, the debugging process is 1000 times faster

Donations
I spent endless hours on Magisk. If you like my work, feel free to donate.
https://www.paypal.me/topjohnwu

P.S. Magisk-v14.4(1444).zip is also hosted here because I do not have my own server

Can we use a custom kernel like the Snoke kernel from Despair after we root or will it break root?

Also I've seen a few posts about needing to do this before any Google accounts are on the phone, etc. Any truth to any of those; or just flash original boot back on and follow your instructions?

Thanks for all your work!
The Following User Says Thank You to Megaflop666 For This Useful Post: [ View ] Gift Megaflop666 Ad-Free
6th November 2017, 05:11 PM |#8  
Senior Member
Thanks Meter: 50
 
More
Install snokes kernel first then root with magisk
6th November 2017, 05:12 PM |#9  
Senior Member
Thanks Meter: 20
 
More
Hopefully will have a 2 XL coming and will be happy to test this on 8.1.
6th November 2017, 05:12 PM |#10  
Senior Member
Thanks Meter: 50
 
More
I would flash snokes first, then root with magisk , also I have Google account in my device and am not encrypted in twrp
The Following 4 Users Say Thank You to ne0ns4l4m4nder For This Useful Post: [ View ] Gift ne0ns4l4m4nder Ad-Free
6th November 2017, 05:12 PM |#11  
metalcated's Avatar
Senior Member
Thanks Meter: 247
 
Donate to Me
More
Sweetness! Thanks all for getting this going.

Sent from my Pixel 2 XL using Tapatalk
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes