ubunix
09-12-2008, 06:48 PM
I just download the 1.4gb DMG image, and I cant extract it. Please help!
SkaterGOD/DOOD23
09-12-2008, 09:17 PM
Via: http://www.backports.ubuntuforums.org/showthread.php?t=588893
---------------cleaned up a bit----------------
Download this file on Linux:
http://vu1tur.eu.org/tools/download.pl?dmg2img.tar.gz
Extract the file (onto Desktop for example) - open up command line/enter console, cd <DIRECTORY WHERE EXTRACTED> (on Desktop it would be /home/<username>/Desktop/<foldername>), now this:
make
sudo make install
Now type (in base directory of where the .dmg was):
dmg2img -i image.img -o newimage.img
NOTE FROM ME (SkaterGOD/DOOD23): It might be dmg2img -i image.dmg -o newimage.img
Now you can mount it from root:
modprobe hfsplus
mount -t hfsplus -o loop newimage.img /folder_you_want
I'm not sure if you can burn directly the newimage.img, but at least you can mount it and get the files you need.
Please note that AcetoneISO2 1.95 beta 1 will do all this for you in a nice graphical set but it's not for 64-bit. you must compile dmg2img and run make install to make AcetoneISO2 be compatible with 64-bit
cheers!
ubunix
09-13-2008, 11:34 AM
Via: http://www.backports.ubuntuforums.org/showthread.php?t=588893
---------------cleaned up a bit----------------
I LOVE YOU....Dont worry im straight!
------------------double post merged------------------
Wait it says cant open input file?
SkaterGOD/DOOD23
09-13-2008, 03:42 PM
I LOVE YOU....Dont worry im straight!
------------------double post merged------------------
Wait it says cant open input file?
Err, you tried both of these?:
dmg2img -i image.img -o newimage.img
NOTE FROM ME (SkaterGOD/DOOD23): It might be dmg2img -i image.dmg -o newimage.img
ubunix
09-13-2008, 06:50 PM
Err, you tried both of these?: Nevermind mate, both those methods dont work, I just run UltraIso through Wine to extract the image.
gojohnnyboi
09-13-2008, 07:29 PM
do this:
compile or download the dmg2img binary. run it on the sdk. then mount it i think the command is like
sudo mount -t hfsplus -o loop /path/to/iphonesdkconvertedimage.img /path/to/mount/image/at
then, find inside that mounted image, iPhoneSDKHeadersAndLibs.pkg
run sudo apt-get install xar in terminal, and run these commands on the package.
xar -xf iPhoneSDKHeadersAndLibs.pkg Payload
mv Payload Payload.gz
gunzip Payload.gz
cat Payload | cpio -i
and you will have the sdk frameworks, which hold a folder in each named "Headers", that holds the headers.
ubunix
09-13-2008, 08:06 PM
do this:
compile or download the dmg2img binary. run it on the sdk. then mount it i think the command is like
sudo mount -t hfsplus -o loop /path/to/iphonesdkconvertedimage.img /path/to/mount/image/at
then, find inside that mounted image, iPhoneSDKHeadersAndLibs.pkg
run sudo apt-get install xar in terminal, and run these commands on the package.
xar -xf iPhoneSDKHeadersAndLibs.pkg Payload
mv Payload Payload.gz
gunzip Payload.gz
cat Payload | cpio -i
and you will have the sdk frameworks, which hold a folder in each named "Headers", that holds the headers.
Thanks, but I already extracted the image using wine to run UltraIso then followed the guide at theiphonewiki.
Cyanidepoison
09-15-2008, 07:26 PM
XPwn contains three tools that can do this: hdutil, dmg, and hfsplus.
Howell21
06-14-2009, 07:44 PM
Thanks, but I already extracted the image using wine to run UltraIso then followed the guide at theiphonewiki.
Ubunix.. can you link the guide at thiphonewiki? I haven't been able to find it. And did it all work for you?
Whoa, whoa, whoa, wait. Can you use the iphone SDK on linux?
Cyanidepoison
06-17-2009, 11:31 PM
No, he just wanted the header files.