Hey! If you were coming from this video: Update a Rooted Pixel Device to Android 11 (R) Final Release you haven't followed a broken link, but the changes to Magisk v22.0 and above are the same as outlined in this video.
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.
boot.imgyou'll see that the generated file name is not just
magisk_patched.imganymore. 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 ...
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.
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.