On Windows, press the Windows button on your keyboard, then type in "cmd" and hit enter to do so. Then, open a command prompt or terminal window. Once you've found the platform-tools folder, copy the location from the address bar at the top of your file browser (e.g., Windows Explorer). For Linux and Mac users, the folder's location will vary, so use your computer's search function to find the platform-tools folder. For Windows users, this can usually be found at C:\Program Files (x86)\Android\android-sdk\platform-tools. The easiest way I've found to do this is to locate the platform-tools folder inside of your ADB and Fastboot installation directory. This next part is where most people struggle with ADB and Fastboot: Getting a command window open to the proper directory. Step 9: Open a Command Window in the Right Directory You've probably already done this since your bootloader's already unlocked, but just in case, you can use this guide for full setup instructions.
Flash magisk install#
On your computer now, it's time to install ADB and Fastboot. Step 8: Install ADB & Fastboot on Your Computer Image by Dallas Thomas/Gadget Hacksįrom there, don't select anything on the phone - simply leave it on the main bootloader screen as shown at the end of the above GIF, then connect your phone to your computer with a USB data cable. Next, match the build number you found on your phone with one of the firmware downloads on Google's site, then click the "Link" button to download the firmware.īooting into bootloader mode. From there, head to Google's firmware download page for Pixel devices and select your model from the menu on the right. To start, head to Settings –> About Phone, then take note of your current firmware's build number.
Flash magisk how to#
Most people will be patching the stock boot image from Google, so I'll outline how to do that. Alternatively, you can use a custom kernel, but only if the kernel is formatted for fastboot flashing (i.e., the kernel comes as an IMG file). If you're running the stock firmware that came with your Pixel 2 or Pixel 2 XL, you can download this file from Google. This root method works by patching your phone's boot image, but that means you'll need a copy of the boot image itself. The only thing you'll need to do before you can try this is to unlock the bootloader on your Pixel 2 or Pixel 2 XL.
Flash magisk Patch#
It's somewhat involved, but really, all you have to do is download a copy of your phone's boot image, patch it with the Magisk Manager app, then flash the patched version with Fastboot.
This root method uses Magisk, so you'll still be able to play Pokémon GO, use Android Pay, and enjoy all the little things that other root methods typically break. The Pixel 2 and Pixel 2 XL continue this tradition, and now they have an official root method. Every phone they sell has an unlockable bootloader, so you can toggle a setting and send a Fastboot command, then start flashing custom firmware right away. Despite concerns with SafetyNet, Google actually cares about root.