[Android General] Thothally:
Preface​

Luckily, it looks like Infinix is following the general trend of Android root solutions being more straightforward than in the recent past. Besides the usual spiel about your warranty being voided, and the annoying chirp each time you boot your phone, this hopefully won't present any problems for you if you do end up rooting your phone.

Notices​

Still, I'm not responsible for anything bad that will happen to your phone if you do this, and there's no support guaranteed either from me or your OEM/support centre.

There's quite a few steps to this, and naturally you're gonna need a few more things to setup before you even start.

Your phone's data will be reset, please backup everything you'd like to keep before rooting your phone (now and in general).

You do need to know some things already, mainly what ADB and Fastboot are, and how to keep your working environment clean and straightforward.

Please do review all the tools you're working with, be sure that you personally trust all the software you're running.

And last but not least, you won't be able to update your phone through OTA updates anymore unless you go back to stock firmware.

The process​

Make an environment for easy access:

Setup ADB and Fastboot (either as a local executable or a global environment variable to that executable).

Setup an easy to access directory with the Google Fastboot driver in it.

Grab your firmware's boot.img file, or grab the one attached to this post, or from here (and skip to the preliminary work section):

1. Download your phone's current ROM.

2. Extract it, as it should be a simple .zip file.

3. Look for the file of the same name (boot.img).

4. Copy it to your phone's storage, anywhere works.

Install the Magisk APK (from their Github).

Once it's installed, Magisk's app frontend allows you to patch your stock boot.img with itself, the gist of it is:

Click on Install within the app, in the "Magisk" section of the main menu.

Click "Select and patch a file", a file selection menu will show up, select the stock boot.img, then start the installation.

Magisk should spit out a patched boot.img named in the format of magisk_patched_[random_strings].img, in your phone's /sdcard/Download/ directory.

Copy that back into our working directory, and rename it to magisk_patched.img for easier usage.

Now, let's do some preliminary work, in any order, really:

Let's start:

Restart the phone into Fastboot, adb reboot bootloader loader, it'll take a second, the phone is slow.

Unlock flashing 3rd party software, fastboot flashing unlock, the phone will prompt you on the screen to confirm doing this. Yes, this will void your warranty.

Flash magisk_patched.img to both A and B virtual partitions, fastboot flash boot_a magisk_patched.img and then fastboot flash boot_b magisk_patched.img.

That should be it! fastboot reboot to boot normally!

Be sure to also run the Magisk app so it finishes setting itself up, with another reboot, naturally.

Technicalities​

The Infinix Hot 30 Play does have a dedicated vbmeta partition, it's advised that you also flash it alongside flashing the patched boot.img for Verified Boot, but that's not necessary if you don't want to tinker with your super partition's crypto keys.

Thank yous​

- topjohnwu for their work on Magisk.

- ansh_/ and their post/guide on rooting the Infinix Hot 11, that I used originally.