In this article we’re going to show you a very easy and simple method on how to restore lost and broken IMEI code on your Xiaomi MIUI smartphone. Download all required files, follow the steps carefully after reading the whole tutorial and you’ll be good. First of all, you must backup NVRAM and NVDATA partitions in TWRP in case of any errors.
This method will most probably work on different Android and Xiaomi device models. Please pay attention, in order for this method to work on your phone you must have root (or superuser) enabled.
Then you’ll need to download and install any of the file explorer applications, for example, one of the most popular app ES Explorer.
Fix IMEI Issues on Redmi 6A
Download “Restore IMEI”, unpack it and locate the “Run” file, then open it with some notepad app. We’ll need to change a few things there.
Instead of the numbers which you’ll see in the opened window type your IMEI code. Save the changes, close the notepad and double click on “Run”.
If everything was done correctly, you’ll see a new «MP0B_001» file which we’ll need to copy to your Android device. Let’s see where we need to upload it…
Rename MP0B_11 to LD0B_001. Then copy to your phone external memory card.
Open ES Filemanager and move the LD0B_001 file to /system/vendor/nvdata/md/NVRAM/NVD_IMEI.
Setup the required permissions for LD0B_001 rw-rw—-.
Reboot your device and check for IMEI status.
I’m pretty sure if you’ve followed the steps in this article carefully, you’ve already restored the IMEI on your phone.
Just one more little thing for Redmi 6A device owners to pay attention to. Sometimes it happens that Redmi 6A won’t save changes in system partition after the reboot. We can recommend to replace the file from TWRP using AROMA Filemanager to be completely sure.