ROM Android: Backup IMEI

From OnnoWiki
Revision as of 12:36, 23 December 2014 by Onnowpurbo (talk | contribs)
Jump to navigation Jump to search

1) if u have made the backup of MP0B_001 file in /data/nvram/md/NVRAM/NVD_IMEI/MP0B_001 , then install root explorer and simply replace your current file with the backed up MP0B_001 and set the permissions to rw-rw---- and restart.


lakukan

adb devices
adb shell
su
cd /data/nvram/md/NVRAM/NVD_IMEI

disitu file IMEI

MP0B_001
ST6TA001
ST6TB001


:: backup to sdcard
IF /I "%option%" == "b" (
	ECHO Performing backup... 
	adb shell su -c "dd if=/dev/block/platform/msm_sdcc.1/by-name/pds of=/sdcard/pds.img"
	GOTO :proc_end
)

:: restore from sdcard
IF /I "%option%" == "r" (
	ECHO Performing restore...
	adb shell su -c "dd if=/sdcard/pds.img of=/dev/block/platform/msm_sdcc.1/by-name/pds"
	GOTO :proc_end
)




2.A. For galaxy S4 GT-I9500 Type :

dd if=/dev/block/mmcblk0p3 of=/sdcard/efs.img

B. For galaxy S4 all LTE and US variant Type :

dd if=/dev/block/mmcblk0p10 of=/sdcard/efs.img
dd if=/dev/block/mmcblk0p11 of=/sdcard/mod1.bin
dd if=/dev/block/mmcblk0p12 of=/sdcard/mod2.bin

Then enter

   C.  For galaxy S3 all LTE and US variant Type :
   dd if=/dev/block/mmcblk0p11 of=/sdcard/efs.img
   dd if=/dev/block/mmcblk0p12 of=/sdcard/mod1.bin
   dd if=/dev/block/mmcblk0p13 of=/sdcard/mod2.bin
   Then enter

3. Backup the created files on your phone's internal storage to your PC or the cloud.

EFS Restoring Steps : 1. Send the files (Step 3) to the internal storage of your device 2. Open "Android Terminal Emulator" and type

su

It will ask for root permission 3.A. For galaxy S4 GT-I9500 Type :

dd if=/sdcard/efs.img of=/dev/block/mmcblk0p3


B. For galaxy S4 all LTE and US variant Type :

dd if=/sdcard/efs.img of=/dev/block/mmcblk0p10
dd if=/sdcard/mod1.bin of=/dev/block/mmcblk0p11
dd if=/sdcard/mod2.bin of=/dev/block/mmcblk0p12 

Then enter

   C. For galaxy S3 all LTE and US variant Type :
   dd if=/sdcard/efs.img of=/dev/block/mmcblk0p11
   dd if=/sdcard/mod1.bin of=/dev/block/mmcblk0p12
   dd if=/sdcard/mod2.bin of=/dev/block/mmcblk0p13 
   Then enter

4. Restart your device - See more at: http://www.w0lfdroid.com/2013/08/backup-restore-efs-imei-galaxy-s4.html#sthash.eDbcIY68.dpuf





Backup sec_ro >

dd if=/dev/block/mmcblk0p4 of=/sdcard/secro.bin

Restore sec_ro >

dd  if=/sdcard/secro.bin of=/dev/block/mmcblk0p4