While Magisk itself provides root access, the actual modification is usually handled by additional tools or modules. 1. Software-Level Masking (LSPosed/Xposed)
Are you attempting to fix a lost IMEI after a software update, or IMEI Change: Everything You Need To Know - Ftp change imei with magisk
Since IMEI data is stored in sensitive areas like the EFS partition, even "systemless" attempts can occasionally cause permanent corruption of hardware-encrypted keys. Legal and Ethical Considerations While Magisk itself provides root access, the actual