Difference between revisions of "ROM Android: Backup IMEI"

From OnnoWiki
Jump to navigation Jump to search
(New page: 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 se...)
 
Line 14: Line 14:
 
  ST6TA001
 
  ST6TA001
 
  ST6TB001
 
  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
 +
)

Revision as of 12:05, 23 December 2014

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
)