GSM Shop GSM Shop

Welcome to the GSM-Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features.
Only registered members may post questions, contact other members or search our database of over 8 million posts.

Registration is fast, simple and absolutely free so please - Click to REGISTER!

If you have any problems with the registration process or your account login, please contact contact us .

Go Back   GSM-Forum > GSM & CDMA Phones / Tablets Software & Hardware Area > Xiaomi

LinkBack Thread Tools Display Modes
Old 01-06-2015, 18:54   #1 (permalink)
Super Moderator
Braycel's Avatar
Join Date: Jul 2008
Location: Villa del rosario/Nsd Colombia
Posts: 3,559
Member: 813309
Status: Online
Sonork: (Off Line)
Thanks Meter: 1,812
[Tips & Tutorials] UPDATE: How to back up your IMEI for Xiamoi Phones

Many people complain about their phone not able to get network after flashing a new rom. I have got some thing really useful that will ensure that people will not have this complain again, i.e Backing Up EFS for your phone. Always Remember it's better to be safe than be sorry later, so, just do the backup and save it some where safe. So that when you loose the IMEI of your phone accidently, you have a backup for it and can live in peace.

Question: What is EFS?
Answer: EFS stands for " Encrypted File System" , it encrypts the critial phone identification data like IMEI, MAC ADDRESS of the device and stores them in a EFS partition.

Question : Why do we loose our network connectivity once we flash a custom Rom?
Answer : When our phone is not able to find its IMEI number, it will not be able to connect onto a network. This generally happen if you have lost your EFS drive.

Question : Why do we loose EFS of our phone.
Answer : We can loose EFS if we flash wrong rom (something that is not made for your phone) like a custom rom. Every flasher sometime or the other has faced this issue in their life.

Question : What does EFS Backup Do ?
Answer : Backing Up EFS will make sure if ever you loosed your IMEI , You dont have to worry, and rather Fix your phone in minutes. Its a DIY.

Question : What are the files Backed up?
Answer : These are three (3) Partitions, which hold imei and Nv - data . These Partitions are MODEMST1, MODEMST2 and FSG .


You need to install Miflash, for the drivers (Miflash Setup link at end of post)
You need to enable usb debugging from developer options (go to about phone in setting and tap build version/ miui version 7 times to enable developer options in settings menu)
You need to have ADB fully setup
Your Device needs to have ROOT permissions (use forum search feature to seach rooting guide for specific device and rom version stable / dev)
You need to make sure the Adb drivers are installed well
You need to have a Windows Operating System or terminal Emulator on Phone with root access

***note- Miflash has inbuilt adb setup, and adb diver so, you can follow below guide to use the miflash default adb.

So, lets begin ...

Connect the phone to pc, open COMMAND PROMPT and browse to the Miflash installed directory.

Enter the below commands one by one (assuming miflash is installed in directory C:\Program Files (x86)\Xiaomi\MiPhone\)
cd program files (x86)
cd xiaomi
cd Miphone
cd google
cd android

Now, you have reached the Default ADB Configured Folder

Next enter the following commands one by one:
adb devices
adb shell

Now, you got the Root access (allow any thing popping up phone regarding root permissions).
if you get a error like permission denied, KINDLY CHECK FOR YOUR ROOT ACCESS AND PERMISSION

Now, we are good to backup Mi2/2S, Mi3, Mi4

Enter the following commands one by one:
dd if=/dev/block/mmcblk0p12 of=/sdcard/mmcblk0p12
dd if=/dev/block/mmcblk0p13 of=/sdcard/mmcblk0p13
dd if=/dev/block/mmcblk0p16 of=/sdcard/mmcblk0p16

Now, the backup is being done. You can check the Internal Storage from your phone for the files named mmcblk0p12, p13 and p16. Copy these files and keep them safe.

Now , we good to continue for Redmi 1S and Redmi Note LTE (4G)
dd if=/dev/block/mmcblk0p16 of=/sdcard/mmcblk0p16
dd if=/dev/block/mmcblk0p17 of=/sdcard/mmcblk0p17
dd if=/dev/block/mmcblk0p20 of=/sdcard/mmcblk0p20

After the the backup is made, you can check the Internal Storage from your phone for the files named mmcblk0p16, p17and p20. Copy these files and keep them safe.

Links :Miflash latest v 2014.05.09= MiPhone20140509 - Download - 4shared
  Reply With Quote
The Following User Says Thank You to Braycel For This Useful Post:
Old 02-19-2016, 09:36   #2 (permalink)
No Life Poster
RICKY great's Avatar
Join Date: Dec 2007
Posts: 724
Member: 641849
Status: Offline
Sonork: 100.1619689
Thanks Meter: 44
do u have a nv backup from a working set
  Reply With Quote
The Following User Says Thank You to RICKY great For This Useful Post:
Old 03-06-2016, 16:29   #3 (permalink)
Junior Member
Join Date: Apr 2013
Posts: 6
Member: 1911148
Status: Offline
Sonork: 999
Thanks Meter: 1
Please give tutorial how to repair imei/baseband null redmi 1s
  Reply With Quote
Old 01-26-2017, 22:06   #4 (permalink)
Junior Member
Join Date: Jul 2012
Posts: 2
Member: 1788615
Status: Offline
Thanks Meter: 0
Need already backed up follow for Mi4 please help
  Reply With Quote
Old 02-19-2017, 11:31   #5 (permalink)
sayed tarik's Avatar
Join Date: Apr 2011
Location: B.A.N.G.L.A.D.E.S.H
Age: 29
Posts: 1,178
Member: 1566464
Status: Offline
Sonork: 100.1611207
Thanks Meter: 828
Originally Posted by tono syaiba View Post
Please give tutorial how to repair imei/baseband null redmi 1s
bro use gcpro key dongale
Selected Model GT-I5510
Selected Task NV_Method
and tell me
  Reply With Quote
Old 03-23-2018, 00:08   #6 (permalink)
Junior Member
Join Date: Mar 2018
Posts: 12
Member: 2823679
Status: Offline
Thanks Meter: 4
Nice share bro, do you havefor 4a
  Reply With Quote
Old 05-15-2019, 05:22   #7 (permalink)
Junior Member
Join Date: Aug 2011
Location: maypajo,caloocan
Posts: 13
Member: 1627210
Status: Offline
Thanks Meter: 1
nice share bro,thanks
  Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT +1. The time now is 23:18.

Powered by Searchlight © 2019 Axivo Inc.
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
- GSM Hosting Ltd. - 1999-2017 -
Page generated in 0.26452 seconds with 7 queries