I need the boot.img to root my Samsung smartphone with Magisk. Is there a way I can extract the boot.img on a smartphone that doesn’t have root access yet? Resolution:
There are two parts to your question. It sounds like you want to extract the boot.img on the smartphone itself. Generally, you need a desktop to get root with Magisk anyway, so why do you need to extract the boot.img from the smartphone? There is no way to extract the boot.img without root access directly from the smartphone itself; however, you can extract the boot.img from the firmware file on your desktop regardless of what root status your smartphone has.
We have already covered this topic extensively in our how to install Magisk article. We have also touched on the topic in our post on how to extract the boot.img from Samsung firmware. And perhaps best of all for this topic is our post on how to get the boot.img for Magisk since you plan on getting root access with Magisk.
Arguably the most challenging part of rooting with Magisk is coming up with the firmware file separate from your device so you can extract the boot.img from it. You might not already know that Samsung has several tools you can use for downloading firmware from Samsung’s servers directly which means you don’t have to rely on third-party sites for something as important as firmware files. We go into detail how to download them here: Download: Free Samsung Firmware Update Tools.
In conclusion, that is how to extract the boot.img without root access. Please leave comments if you have any further information to add that others may find helpful.