themanofthedark
03-21-2008, 02:20 PM
If you think you bricked your iPhone/iPod don't worry. Just download ZiPhone 2.6b and update you iPod/iPhone to firmware 1.1.4. If when the update finishes and the iPod Touch goes back into recovery mode, follow these steps:
1) Open ZiPhone GUI and click Jailbreak (iPod Touch)
2) If your iPhone/iPod is still in recovery, open the "Advanced Features" tab.
3) Click on NVRAM Fix, and your iPhone/iPod should have scrolling lines of text, then reboot to 1.1.4!
First off, you need a freshly restored iPod/iPhone running 1.1.1
After you restore your iPoT, go to www.jailbreakme.com (http://www.jailbreakme.com/) and jailbreak it.
Once jailbroken go into installer and install BSD Subsystem, OpenSSH, and the BSD Fix.
Download this file and extract it: http://www.sendspace.com/file/53dwvj
Put all the files inside of this folder into /usr/sbin.
Time to execute commands, use your SSH Client or Install Term Vt-100 from installer.
1) Create a directory in "/" and name it "jb".
2) Copy the files inside of the downloaded files above into /jb/ and /usr/sbin/
3) Now copy the below s:
[quote] cd /jb
PATH=.:$PATH
tar -cf /private.tar --preserve /private/var Don't mind the errors, it's normal, ignore them.
umount -f /private/var []:
mount
fdisk -e /dev/disk0 It's going to say that it could not open the file, it's okay too.
4) Now you have entered a "sub directory" in Terminal. This is the trick part:
edit 2 This says that we want to edit the OS 2.
This will pop up: Partition id ('0' to disable) [0 - FF]: [AF] (? for help)
Just press enter. Then this will pop up: Do you wish to edit in CHS mode? [n]
Press enter again, until this pops up: Partition offset [0 - 3964928]:
This time enter the offset that is equal to your iPhone, under EDIT 2.
Next this will pop up: Partition size [1 - 3888065]: [3888065].
This time enter the size according to you iPhone under EDIT 2.
Once this is done type:
edit 3 This time type:
AF When Do you wish to edit in CHS mode? [n] pops up, press enter.
When Partition offset [0 - 3964928]: [3887922] pops up, type in the correct offset for your iPod, but this time in EDIT 3.
Again, when Partition size [1 - 77006]: [77006] comes up, enter the correct size for your iPod from EDIT 3.
________________________________
iPhone 8GB:
EDIT 2
offset: 153720
size: 3657465
EDIT 3
offset: 3811185
size: 153600
iPhone 16GB
EDIT 2
offset:76863
size:3811059
EDIT 3
offset:3887922
size:77006
_________________________________
Now that the "hard" part is done, you have to submit the changes you just made and create the new partition.
print This shows you what changes you just set so that you can review them.
write This part writes the changes to the iPod. It tells disk0 to save the new changes. Warning will pop up, press y.
Device could not be accessed exclusively.
A reboot will be needed for changes to take effect. OK? [n]
y
quit Now type this command to sync the partitions with eachother:
sync; sync; sync; This next command may take a few seconds.
newfs_hfs /dev/disk0s2
mount -t hfs /dev/disk0s2 /private/var
cd /private/var
tar -xf /private.tar An error will then pop up, and it is completely normal.
mv ./private/var/* /private/var && rm -rf ./private
mount -o ro / For this next command, it takes around 6 minutes or so, so go take a nice bathroom break.
dd if=/dev/rdisk0s1 of=/dev/rdisk0s3 bs=4096
fsck_hfs /dev/disk0s3 This should end with telling you that Snowbird appears to be OK. GOOD!
[]:
mount -o rw / This next command makes the folder where we put our new partition.
mkdir /mnt
mount -t hfs /dev/disk0s3 /mnt :
sed -e "s/disk0s1/disk0s3/" < /mnt/etc/fstab > /tmp/fstab && mv /tmp/fstab /mnt/etc/fstab && cat /mnt/etc/fstab
cd /mnt
mv sbin mysbin
ln -s /mysbin sbin
cd /jb
umount /mnt
find /private/var -name Installer -exec rm -rf {} \; You are now going to boot from the new partition!
nvram boot-partition=2
nvram boot-args="rd=disk0s3 -v"
nvram -p :
sync :
reboot If it reboots perfectly, Congratulations!!!
1) Open ZiPhone GUI and click Jailbreak (iPod Touch)
2) If your iPhone/iPod is still in recovery, open the "Advanced Features" tab.
3) Click on NVRAM Fix, and your iPhone/iPod should have scrolling lines of text, then reboot to 1.1.4!
First off, you need a freshly restored iPod/iPhone running 1.1.1
After you restore your iPoT, go to www.jailbreakme.com (http://www.jailbreakme.com/) and jailbreak it.
Once jailbroken go into installer and install BSD Subsystem, OpenSSH, and the BSD Fix.
Download this file and extract it: http://www.sendspace.com/file/53dwvj
Put all the files inside of this folder into /usr/sbin.
Time to execute commands, use your SSH Client or Install Term Vt-100 from installer.
1) Create a directory in "/" and name it "jb".
2) Copy the files inside of the downloaded files above into /jb/ and /usr/sbin/
3) Now copy the below s:
[quote] cd /jb
PATH=.:$PATH
tar -cf /private.tar --preserve /private/var Don't mind the errors, it's normal, ignore them.
umount -f /private/var []:
mount
fdisk -e /dev/disk0 It's going to say that it could not open the file, it's okay too.
4) Now you have entered a "sub directory" in Terminal. This is the trick part:
edit 2 This says that we want to edit the OS 2.
This will pop up: Partition id ('0' to disable) [0 - FF]: [AF] (? for help)
Just press enter. Then this will pop up: Do you wish to edit in CHS mode? [n]
Press enter again, until this pops up: Partition offset [0 - 3964928]:
This time enter the offset that is equal to your iPhone, under EDIT 2.
Next this will pop up: Partition size [1 - 3888065]: [3888065].
This time enter the size according to you iPhone under EDIT 2.
Once this is done type:
edit 3 This time type:
AF When Do you wish to edit in CHS mode? [n] pops up, press enter.
When Partition offset [0 - 3964928]: [3887922] pops up, type in the correct offset for your iPod, but this time in EDIT 3.
Again, when Partition size [1 - 77006]: [77006] comes up, enter the correct size for your iPod from EDIT 3.
________________________________
iPhone 8GB:
EDIT 2
offset: 153720
size: 3657465
EDIT 3
offset: 3811185
size: 153600
iPhone 16GB
EDIT 2
offset:76863
size:3811059
EDIT 3
offset:3887922
size:77006
_________________________________
Now that the "hard" part is done, you have to submit the changes you just made and create the new partition.
print This shows you what changes you just set so that you can review them.
write This part writes the changes to the iPod. It tells disk0 to save the new changes. Warning will pop up, press y.
Device could not be accessed exclusively.
A reboot will be needed for changes to take effect. OK? [n]
y
quit Now type this command to sync the partitions with eachother:
sync; sync; sync; This next command may take a few seconds.
newfs_hfs /dev/disk0s2
mount -t hfs /dev/disk0s2 /private/var
cd /private/var
tar -xf /private.tar An error will then pop up, and it is completely normal.
mv ./private/var/* /private/var && rm -rf ./private
mount -o ro / For this next command, it takes around 6 minutes or so, so go take a nice bathroom break.
dd if=/dev/rdisk0s1 of=/dev/rdisk0s3 bs=4096
fsck_hfs /dev/disk0s3 This should end with telling you that Snowbird appears to be OK. GOOD!
[]:
mount -o rw / This next command makes the folder where we put our new partition.
mkdir /mnt
mount -t hfs /dev/disk0s3 /mnt :
sed -e "s/disk0s1/disk0s3/" < /mnt/etc/fstab > /tmp/fstab && mv /tmp/fstab /mnt/etc/fstab && cat /mnt/etc/fstab
cd /mnt
mv sbin mysbin
ln -s /mysbin sbin
cd /jb
umount /mnt
find /private/var -name Installer -exec rm -rf {} \; You are now going to boot from the new partition!
nvram boot-partition=2
nvram boot-args="rd=disk0s3 -v"
nvram -p :
sync :
reboot If it reboots perfectly, Congratulations!!!