[Nokia 3.2 Guides, News, & Discussion] 7heMeowMeowCat:
Introduction:

I've seen multiple posts and rooting guides in the forum giving magisk patched boot images, but unfortunately those guides are spotty (links aren't working anymore). So, I gathered some files from various sources, to get stock android 9 with Magisk root. I didn't develop anything or code anything here. I just brought a few things together, for the sake of easiness of new users entering this forum. Special thanks to their authors of this forum's guides for helping me to make this.

If you want root without downgrading to Android 9, then you would need to:

Extract the boot.img of your currently installed android

Install the Magisk app and patch that boot.img

Grab that magisk-patched image, and continue from step 2 in the below "To Get Magisk Root" section.

Warning:

NOTE: You need an unlocked bootloader to run this script, and by doing so, your warranty will be void!

You can unlock your bootloader by (Make SURE to backup everything before proceeding):

fastboot oem unlock

This should work fine without a factory reset, but still, its overly important to BACK UP everything before proceeding. I'd recommend a factory reset too since that's what I did.

Instructions:

This zip contains a script that installs Android 9.0 on your device, and also has a magisk-patched boot.img, which can give you root. The steps are similar to this rooting guide here (huge thanks to the author for guiding us). Basically, by booting with a boot.img patched with Magisk, we can get Magisk root without the need of a TWRP (So you use root to root the phone. Pretty funny).

To Flash Stock Android 9.0:

Download the zip file given below

Extract, and run the install.bat file. This will initiate the Android 9.0 images flashing. Wait for it to finish.

Once done, you can safely boot into the stock Android 9.0. If you want root, follow the next steps.

To Get Magisk Root:

(These steps are similar to the provided ones in the link given above) In my given zip, the magisk folder contains two items, one is a generic Magisk APK ("Magisk-v24.3.apk"), and the other is the patched boot.img ("magisk_patched-boot.img", patched by the given Magisk APK).

First, install the Magisk-v24.3.apk on your device as you would install an APK normally. A Magisk app should appear, we need it later.

Once done, reboot to the bootloader: adb reboot bootloader

Here, you need to boot with the magisk_patched-boot.img provided:

fastboot boot magisk/magisk_patched-boot.img

This will take a moment, and soon should boot you into the android (without any problems for me).

Now your device is in a temporary rooted state. This root will go away if you reboot and you'll have to do the step 3 again if it does. We need to use this root to get permanent root. Head over and open your Magisk app, go to Install, and choose Direct Install (Recommended) and hit install (If you don't see any Direct Install (Recommended) option then you probably messed up trying to boot with the patched magisk, and the Magisk app didn't get even the temporary root).

If your Magisk app crashes for the first few times, don't worry and keep trying, it will eventually open up.

This will initiate the rooting process, and will take a while. Wait until this happens, and reboot.

Once you reboot, your device should be in a permanent root state, congratulations!

Download:

Google Drive Link

PSA for screenshots.