231

[2017.11.6][Magisk] Root Pixel 2 (XL) | Google Pixel 2 XL

 6 years ago
source link: https://forum.xda-developers.com/pixel-2-xl/development/2017-11-6-root-pixel-2-xl-t3701176
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

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

topjohnwu

Senior Recognized Developer / Recog. Contributor
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:
  • 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

Attachments

  • MagiskManager-v5.4.1.apk
    2.2 MB · Views: 35,800
  • Magisk-v14.4(1444).zip
    6 MB · Views: 93,056
  • Screenshot_20171106-075812.png

    Screenshot_20171106-075812.png
    179.3 KB · Views: 33,924
  • Screenshot_20171106-075821.png

    Screenshot_20171106-075821.png
    161.8 KB · Views: 33,576
Last edited: Nov 22, 2017

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK