Install Android SDK
First and foremost, you will have to install the Android SDK Platform Tools on your PC. This is the official ADB and Fastboot binary provided by Google and is the only recommended one. So download it and then extract it to any convenient location on your PC. Doing so will give you the platform-tools folder, which will be used throughout this guide.
Unlock the Device’s Bootloader
First snd foremost, you will have to unlock the device’s bootloader. Doing so will wipe off all the data from your device and could also nullify its warranty. So if that is all well and good, then please refer to our guide on How to Unlock the Bootloader on Any Android Device.
Get Stock Boot. img File
Patch Stock Boot. img File via Magisk
Now comes the most important part of this guide to temporarily root your Android device via Magisk. We would now be temporarily booting your device via the magisk patched boot.img. However, do keep in mind that this is a one-time root. The next time you reboot your device, the root would be gone.
Therefore, when the device is rooted, it is highly recommended that you don’t do any heavy modifications to the system partition. This is because when your device boots the next time, it wouldn’t be having root and if you have installed any mods that are root dependent, then it would result in your device going to a bootloop.
Tasks such as making changes to build.prop, changing app permissions, uninstalling a system app, checking whether a banking apps conflicts with Safetynet, could all be performed without any issues. Howevr, if you are planning to install a module, then make sure to uninstall it before the next reboot. With that said, let’s now make you aware of the steps to temporarily root your Android device via Magisk.
So with that, we conclude the guide on how to temporarily root your Android device via Magisk. If you have any queries concerning the aforementioned steps, do let us know in the comments. We will get back to you with a solution at the earliest.
Converting Temporary Root to Permanent
A technical geek by birth, he always has a keen interest in the Android platform right since the birth of the HTC Dream. The open-source environment always seems to intrigue him with the plethora of options available at his fingertips. “MBA by profession, blogger by choice!”