How to Fix Null IMEI by Restoring nvram & nvdata in SP Flash Tool
In this guide, we will show you the steps to fix the null IMEI by restoring the NVRAM and NVDATA in the SP Flash Tool. Right after you unlock the device’s bootloader and before you flash any custom binary or root your device, the first step is to take a backup of some of your device’s important partitions, among which the IMEI number would occupy the topmost position in the pecking order.
While some devices have it in the EFS partition, others have it in the devinfo, both of which can easily be recovered just by flashing the file via Fastboot Commands. However, that isn’t the case with MediaTek devices, whose IMEI number is stored in the NVRAM and NVDATA. To recover the data from these partitions, you’ll have to take the help of a dedicated tool. And in this guide, we will show you how to do just that. So without further ado, let’s get started.
How to Fix Null IMEI by Restoring NVRAM & NVDATA in SP Flash Tool

Before starting, please take a complete device backup. Moreover, you should have the NVRAM and NVDATA files, and you should have taken a backup of them from your own phone when the IMEI was available. If that’s all well and good, then let’s get started. Droidwin and its members wouldn’t be held responsible in case of a thermonuclear war, your alarm doesn’t wake you up, or if anything happens to your device and data by performing the below steps.
- Download and extract the stock firmware of your device.
- Then get the Android Scatter text file from that firmware.
- Next up, download and extract SP Flash Tool on your PC.
- It is recommended to use an old version of SP Flash Tool.
- After that, download & install the MediaTek USB Drivers .
- Once that’s done, open the Scatter text file in Notepad++.
- Now hit Ctrl+F, type NVRAM, and hit Enter. Now change: file_name: nvram.bin is_download: true
- Then search nvdata and make the following changes there: file_name: nvdata.img is_download: true
- Now hit Ctrl+S to save the changes. Then launch SP Flash Tool.
- Click on Download Agent and load the MTK_AllInOne_DA.bin.
- Click on Scatter Loading and load the Android Scatter text file.
- Now click on Authentication file and load the auth_sv5.auth file.
- Then check the nvram and nvdata partitions and hit Download.
- Now power off your device and connect it to PC via a USB cable.
- SP Flash Tool will now flash the NVRAM & NVDATA partitions.
- Once the flashing is done, you’ll get the Download OK message.
- You can now boot the device to the OS and verify the IMEI via: *#06#
- How to Backup EFS Partition/IMEI Number on Android
- Fix Broken/Missing/Corrupt IMEI Number in Xiaomi
- How to Dump devinfo Partition and Read IMEI Number
- How to Fix Null/0/Missing IMEI Numbers on Pixel Devices
(Cancel Reply)
Δ