Sent from my XT1034 using xda app-developers app
adb shellTo restore:
dd if=/dev/block/platform/msm_sdcc.1/by-name/pds of=/sdcard/pds.img
dd if=pds.img of=/dev/block/platform/msm_sdcc.1/by-name/pdsThe pds.img could also be turned into a cwm flashable zip:
ui_print("Restoring IMEI ...");Maybe someone could make a tool to simply the process further?
In addition to the EFS partition, there are several partitions on our n9005 devices that do not exist in official odin roms.
This means that they must be unique to your phone, and they might be as important to back up as the EFS folder to prevent IMEI loss or other problems (like those bootloops many people get when flashing kernels, which appear to be tied to corrupted modemst1 partitions).
These partitions are: modemst1, modemst2, fsg, fsc, backup, dbi, ddr, pad
fastboot erase modemst1That is not to say IMEI is not stored there temporarily; but it must exist another more permanent location. AFAIK, 'pds' is not touched by any normal fastboot firmware flashing process making it a good candidate.
fastboot erase modemst2
Well it's kinda obvious, you need to flash a retail /pds partition. The thing is, you wont get it, cuz it has sensitive data like IMEI, MAC address, serial number, etc.[source]
You canīt edit it, I tried to look with hex editor. Thatīs why it is good idea to back it up before something bad happens, sorry.
---------- Post added at 04:38 PM ---------- Previous post was at 04:32 PM ----------
Yeah, thatīs what I realized too.
Even if itīs there just temporarily, itīs there and it wonīt do any harm to back them up besides the pds partition.
Edit: btw just noticed that the pds size is exactly a sum of modemst1 + 2 sizes. I know that that doesnīt prove anything but...
Another thing - Iīve read somewhere from a user who compared hashes of his multiple modemst backups and they differed. Apparently there are some other non-constant infos stored there besides IMEI, thatīs why it is erased during fastboot flash.