Magisk allows modules to "spoof" system files without permanently altering the /system partition, which is useful for "soft" IMEI changing (tricking apps) rather than "hard" changing (tricking the network).
On Qualcomm devices, the IMEI is stored in the ( /dev/block/bootdevice/by-name/efs ). On MediaTek, it's in /dev/nvram . On Exynos (Samsung), it’s in /efs . change imei with magisk
Reboot the device to let Magisk reload the modified parameters. Method 3: Qualcomm Diag Mode and Hardware Writing Magisk allows modules to "spoof" system files without