does anyone have a copy of an original iapd file for fw3.1.3, i replaced mine and didnt backup the original? if not does anyone know how i can find the original iapd file from a copy of fw3.1.3 that i have and using a hex editor?
Printable View
does anyone have a copy of an original iapd file for fw3.1.3, i replaced mine and didnt backup the original? if not does anyone know how i can find the original iapd file from a copy of fw3.1.3 that i have and using a hex editor?
Backup is for weak people.
Open firmware, extract rootfs (the biggest file). Get the proper key (from PwnageTool or hxxp://theiphonewiki.com/wiki/index.php?title=Firmware). Decrypt rootfs with dmg2img/vfdecrypt suite (hxxp://vu1tur.eu.org/tools/). mount and grab your file.
hey i was able to extract the file but how do i use vfdecrypt i figured out that i have to use command prompt but how do i input the command to decrypt the root?
/path/to/vfdecrypt -i path_to_encrypted_dmg -o decrypted_dmg_name -k rootfs_key
decrypted_dmg_name will still be a dmg, not an iso. To mount it you should either use a tool that understands dmg out-of-the-box, or convert it to iso, using dmg2img:
/path/to/dmg2img -i decrypted_dmg_name -o iso_name
iso_name can be mounted with whatever tool you want. In Linux, just use (as root):
mount -t hfsplus -o loop,ro,offset=0x9000 iso_name mountpoint
ok so i was able to decrypt the .dmg but I am having two problems, i downloaded transmac and when i try to open it it tells me No Mac HFS volumes found, and when I try converting it using dmg2img it tells me the dmg file is corrupted
any help is still appreciatied
Perhaps you used the wrong key? The first bytes of a (correctly) decrypted rootfs should read: 78 01 73 ... in a hex viewer/editor.
hey you were right, i was using the wrong key :woz:
thanks for the help really appreciate it :)