Saturday, 19 December 2015

[ROOT] Backup restore IMEI manually [REDMI 1S]

No comments
http://cdn-img.xda-developers.com/NdFHf--Q9m6_v7ooUm0-T5uVzPo=/300x300/smart/forum.xda-developers.com/devdb/deviceForum/screenshots/3699/20141015T040141.jpg
We all known that EFS partition holds the imei,sn ,wifi mac & other important data.
In Snapdragon the EFS partition are modemst1 ,modemst2 & FSG partitions. so it's important to take backup of these partitions.

INSTRUCTIONS

1. Connect your phone to PC , adb debugging enabled & goto adb shell by,
Code:
adb shell su
OR

Open terminal emulator app in your phone & take super user permissions, by

Code:
su

2. Type following commands to backup imei partitions.
Code:
dd if=/dev/block/mmcblk0p16 of=/sdcard/mmcblk0p16_modemst1
dd if=/dev/block/mmcblk0p17 of=/sdcard/mmcblk0p17_modemst2
dd if=/dev/block/mmcblk0p20 of=/sdcard/mmcblk0p20_fsg

Also these are some important partition you should consider to backup.
modem, fsc, bk1, ddr.

Code:
dd if=/dev/block/mmcblk0p23 of=/sdcard/mmcblk0p23_modem
dd if=/dev/block/mmcblk0p9 of=/sdcard/mmcblk0p9_DDR
dd if=/dev/block/mmcblk0p12 of=/sdcard/mmcblk0p12_bk1
dd if=/dev/block/mmcblk0p18 of=/sdcard/mmcblk0p18_fsc

Now the backup is stored in you internal storage ,store these files in safe place.
in case u get invalid imei or unknown, restore these partitions.

To restore these partitions

Code:
dd if=/sdcard/mmcblk0p16_modemst1 of=/dev/block/mmcblk0p16
dd if=/sdcard/mmcblk0p17_modemst2 of=/dev/block/mmcblk0p17
dd if=/sdcard/mmcblk0p20_fsg of=/dev/block/mmcblk0p20
dd if=/sdcard/mmcblk0p23_modem of=/dev/block/mmcblk0p23
dd if=/sdcard/mmcblk0p9_DDR of=/dev/block/mmcblk0p9
dd if=/sdcard/mmcblk0p12_bk1 of=/dev/block/mmcblk0p12
dd if=/sdcard/mmcblk0p18_fsc of=/dev/block/mmcblk0p18

NOTE: Don't use tools or commands from other device because different devices has different partition address, that will result in wrong backups.

To use this method to backup other phones EFS , u should find your partition info.
Redmi 1s Partition tables can be found HERE

CREDITS :  Sector1369@xda

No comments :

Post a Comment

Powered by Blogger.