How to Root Android 10! [Pixel/Pixel 2/Pixel 3/Pixel 3a/Pixel 4]

Here’s how to root Android 10 on your Pixel, Pixel XL, Pixel 2, Pixel 2XL, Pixel 3/3XL, Pixel 3a/3a XL, and should actually work on most Android devices.

Step 1. Obviously you should have unlocked the bootloader and also install Android 10. (See my universal guide on how to unlock bootloader)

Step 2. Download Magisk Canary and install it.

Step 3. Download the correct firmware for your Pixel smartphone.  For non-Pixel phones, you also need to grab firmware and extract the boot.img file, you can Google on how to do this.

Step 4. Copy the boot.img extracted from the firmware into your phone’s storage.  (Watch the video tutorial on how to do this.)

Step 5. Open Magisk Manager app then choose “Install” twice and choose “Select and Patch a File”.  Select the boot.img file on your phone’s storage.

Step 6. Copy the file magisk_patched.img to your computer.

Step 7. Download, unzip it, then copy the magisk_patched.img file into the fastboot folder.

Reboot into fastboot mode by turning power off, then hold down Volume Down + Power.

Step 8. Open a command prompt for Windows and terminal emulator for Linux/Mac/Chromebook.

Step 9. Then type:

For Windows:

cd Downloads
cd fastboot
fastboot flash boot magisk_patched.img
fastboot reboot

For Linux:
cd Downloads
cd fastboot
chmod 755 *
sudo ./fastboot-linux flash boot magisk_patched.img
sudo ./fastboot-linux reboot

For Mac:
cd Downloads
cd fastboot
chmod 755 *
./fastboot-mac flash boot magisk_patched.img
./fastboot-mac reboot

Step 10. Your phone should reboot and you have successfully rooted your Pixel Android!

29 Responses

  1. Andre says:

    Hello max, just to clarify..
    If i want to unroot, i just boot the original boot.img?

    is it correct?

    • Max Lee says:

      You can flash original boot.img yes using fastboot.

      • john says:

        hey Max, any way you can make a tutorial rooting on a chromebook. thank you. fyi, i gave away my mac and pc is just old and so i donated it. all i have is an hp x360 that i love, but not really familiar with using crosh. thanks again.

  2. Женечка says:


  3. Vladyslav says:

    I did first time and my Pixel 3a was successfully rooted. After I install fuckedup mode in Magisk and phone star bagging, so I boot original boot.img. and do all steps anew, but this time root wasn’t installed. Why does it happened?

  4. Кристина says:

    Добрый день.

  5. Benjamin says:

    Followed all the steps and am now stuck on the G-Screen when at last rebooting.
    Tried the magisk and the boot images.

  6. Катрин says:

    Привет! мой номер +79161904905

  7. Brett says:

    Hi- Is the canary channel still up? I’m stuck on updating and stable doesn’t seem to like my Pixel 3a. Thank you!

  8. daniel says:

    why is my phone still on g logo?

  9. Russell Taylor says:

    yea mine is stuck as well

  10. Luke Peterson says:

    Firstly, thank you for the work you’ve put into this site!
    I’ve hit a snag (A catastrophe, really) My phone is a Pixel 2
    I followed your instructions up to the point of running fastboot to flash the bootloader, but it said the “Device State: locked”, and wouldn’t let me flash anything. So, I ran “fastboot flashing unlock”, and then said “OK” to the prompt on the phone. And then some trippy colored circles said “Erasing” and I thought “OH CRAP!!!!” because the whole reason I’m trying to root is to rescue some critical data.

    Anyway, I panicked, yanked the USB out, mashed the power button, and then it came up saying the device was now unlocked, so I then ran “fastboot flash boot magisk_patched.img”, and “fastboot reboot”, but it comes up to the bootloader screen with the message “ERROR: BootLinux Failed: Not Found”.

    So I tried to run fastboot to reflash the original boot loader, but fastboot gives this error:
    Sending ‘boot_b’ (65536 KB) OKAY [ 1.442s]
    Writing ‘boot_b’ FAILED (remote: ‘Error flashing partition.’)

    So I’m stuck. The magisk bootloader won’t boot, and the original boot loader won’t reflash. And I’m horrified that somehow the data that I am trying to save (Pictures and voicemail from my mom who died recently) has already been erased.

    Please help. I am begging. Please Please Please.

    Thank you.

  11. manthan tailor says:

    i followed exact steps and i tried downloading riru core and it says installation failed and device is system-as-root??? any tips?

  12. Kyle Loree says:

    mac terminal stuck said waiting on any device?

  13. Michael says:

    Hi, you can try use one click tool RootKHP.Pro 3.2 for getting root on Android 10, i had experience with Samsung Galaxy S10, it’s comfortably, but not stable works with Android 10

  14. Micheal says:

    When I type commands it says waiting for any device

  15. Kerry says:

    My OEM unlock is greyed out. Is there a workaround? It is an unlocked Pixel 2 XL (Not Verizon)

  16. Josh says:

    So i rooted my phone— followed steps exactly —- everything was a success — now touch does not work on my pixel 3 xl.

  17. James says:

    When I try and send the patched file it says partition not found. ADB nor fastboot will load on windows 10. Any way to assist?

  18. Paul says:

    Successfully rooted my pixel 2 thank you!
    For Magisk beta only the new version 20.3 (instead of 19.3) worked

  19. Leo says:

    It is STUCK on G-screen, please update with a solution
    Device: Pixel 2 XL

  20. scott says:

    On my pixel XL I got stuck. I did
    Hold down power and volumedown
    > fastboot boot twrp.xxxxxxx.img
    > adb push /sdcard/
    > adb push

    I was not able to get factory image to load.

  21. Doubs says:

    someone tell me when he will update this page please because last time I tried it failed and boot looped
    and I would rather know more precise details before I make another attempt.

    I have a pixel 3a

Leave a Reply

Your email address will not be published. Required fields are marked *

Join the HighOnAndroid VIP Fans List for free help from Max and discounts on Android accessories.

Max Lee

Max Lee is the founder of Max makes Android tutorials and review videos for people who want to get high on Android over at his YouTube channel and Korean YouTube channel.