[GUIDE] Unpack system.new.dat

adomol

Senior Member
Jan 25, 2014
664
592
123
/etc/init.d
I've been struggling with these system.new.dat block images since lollipop came out. I searched high and low for a way to mount that image outside of twrp with no luck. So I just used twrp instead... These are the steps I take:

  1. Clean flash a lollipop rom that has a system.new.dat image in twrp.
  2. Reboot system.
  3. When device finishes booting use hardware power button to power down without messing with the rom itself yet so it stays fresh. (It's ok to confirm power down on touch screen.)
  4. In twrp make a backup of only the system partition.
  5. Boot back to system and use the method you prefer to move the file system.ext4.win from:

    /TWRP/BACKUPS/-ur-device-serial/-ur-backup-date

    to your pc and rename it system.tar so you can unpack it. (Of course make sure you have the proper decompression tools, which every OS usually does now.)
Now you have the complete fresh contents of /system as you would in a traditional rom zip. You can do with that as you please, or just throw it into a rom kitchen. :silly:
 
Last edited: