How to Root Google Pixel (2, 3/a, 4/a & XL) on Android 11

Video Update & Information

Original Publish Date: 16 October, 2020

Please read over the changes that have occured since release, most of them are usually minor changes to the process.

Changes to Magisk

  • Magisk Manager is no more! They've consolidated all Magisk realated things into just one thing: Magisk. When I talk about "Magisk Manager", I mean the "Magisk" app.
  • When patching your boot.img you'll see that the generated file name is not just magisk_patched.img anymore. Magisk now appends a random string to the end of the file. e.g. cf0sla4. So your command to pull the file might look like this now: adb pull /sdcard/Download/magisk_patched-cf0sla4.img ...

Changes to SafetyNet

Recently Google have started implementing hardware backed attestation of SafetyNet, so the previous workarounds (e.g. just enabling Magisk Hide) no longer work.

For those running stock ROMs, you'll just need to install the Universal SafetyNet Fix Magisk Module by kdrag0n, and reboot. You may have to clear the app data for Google Play Service and make sure you have the appropriate apps hidden with Magisk Hide as well.

Info: Magisk Hide
The default apps that Magisk hides already when you first enable Magisk Hide should be sufficient (Google Play Services & Google Pay), but you'll need to add in any other apps that you need to hide root & signs of a modded device from as well (e.g. Pokémon GO, Ingress Prime, Snapchat, your other banking apps, etc.).

If you're using a custom ROM, you'll also need to change your device's fingerprint to match one that is officially being used by Google Play certified devices. You can use the 'MagiskHide Props' Magisk Module and follow the prompts to change your device's fingerprint to one that looks official. It's probably good to choose the same device model that you're using.

Last updated 20 August 2021.