Originally Posted by RestlessScreams
And how could I edit the pds.img to find/restore my imei?
Because if I'm in fastboot and type getvar imei it's there, but in dialer it says "0".
Maybe with a HEX editor?
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 ----------
Originally Posted by lost101
fastboot erase modemst1
fastboot erase modemst2
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.
Device: Moto G XT1032 bought from Amazon.de
Current ROM: GPE 4.4.4
Previous ROMs: almost every stock firmware for XT1032 you can think of
Workflow: 1. read - 2. think - 3. try - 4. goto 1
Useful info: How to restore stock firmware
When flashing OTA updates of stock firmwares:
1. root is not an obstacle 2. XPosed is not an obstacle 3. use stock recovery or Philz recovery only