Difference between revisions of "Tutorial:Mounting the Ramdisk of IPSW in Betas 4-7"

From The iPhone Wiki
Jump to: navigation, search
m
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
'''How to decrypt beta 4-7 ramdisks'''
+
'''How to mount beta 4-7 ramdisks'''
   
First unzip your ipsw, and take out the ramdisk file (it will be around 18mb). Then put it on your desktop
+
First unzip your [[IPSW]], and take out the ramdisk file. It will be around 18MB. Then put it on your desktop.
  +
In Terminal...
 
  +
== In Terminal... ==
   
 
Launch /Applications/Utilities/Terminal.app
 
Launch /Applications/Utilities/Terminal.app
Line 8: Line 9:
 
Then type the following:
 
Then type the following:
   
* cd Desktop
+
cd Desktop
* echo `hexdump -s12 -n4 -e '"%d\n"' ramdisks-hould-just-be-a-bunch-of-numbers.dmg ` / 32 | bc
+
echo `hexdump -s12 -n4 -e '"%d\n"' ramdisk-should-just-be-a-bunch-of-numbers.dmg ` / 32 | bc
   
 
A number should appear. For example, in the case of beta 5, it would be 604800.
 
A number should appear. For example, in the case of beta 5, it would be 604800.
Line 15: Line 16:
 
So you will type the following command now:
 
So you will type the following command now:
   
* dd if=ramdisk-name-aka-a-bunch-of-numbers.dmg of=ramdiskb5.dmg bs=32 skip=1 count=**NUMBERS-GO-HERE** conv=sync
+
dd if=ramdisk-name-aka-a-bunch-of-numbers.dmg of=ramdiskb5.dmg bs=32 skip=1 count=**NUMBERS-GO-HERE** conv=sync
   
 
After this, you will have a file called ramdiskb5.dmg on your desktop. Just double click this file and it should mount fine.
 
After this, you will have a file called ramdiskb5.dmg on your desktop. Just double click this file and it should mount fine.
 
Example: Beta 5 Ramdisk
 
Example: Beta 5 Ramdisk
   
* Macintosh:~ xxxxxxxxx$ cd /Users/xxxxxxx/Desktop/iPhone1,1_2.0_5A274d_Resto (THIS IS WHERE I UNZIPPED MY IPSW. I was a bit sloppy and did it the quick but annoying way, and accidently deleted some letters. But my point is that this is a folder name. You'd probably be better off just unzipping the ramdisk to your desktop rather than to a folder)
+
Macintosh:~ xxxxxxxxx$ cd /Users/xxxxxxx/Desktop/iPhone1,1_2.0_5A274d_Resto
  +
(THIS IS WHERE I UNZIPPED MY IPSW. I was a bit sloppy and did it the quick but annoying way, and accidently deleted some letters. But my point is that this is a folder name. You'd probably be better off just unzipping the ramdisk to your desktop rather than to a folder)
* Macintosh:iPhone1,1_2.0_5A274d_Resto xxxxxxx$ echo `hexdump -s12 -n4 -e '"%d\n"' 018-3615-6.dmg ` / 32 | bc (**THIS GETS ME THE NUMBER I NEED FOR THE NEXT STETP**)
 
  +
Macintosh:iPhone1,1_2.0_5A274d_Resto xxxxxxx$ echo `hexdump -s12 -n4 -e '"%d\n"' 018-3615-6.dmg ` / 32 | bc 604800
* 604800 (**THIS IS THE NUMBER I NEED FOR THE NEXT COMMAND**)
 
  +
(**THIS GETS ME THE NUMBER I NEED FOR THE NEXT STETP / 604800 THIS IS THE NUMBER I NEED FOR THE NEXT COMMAND**)
* Macintosh:iPhone1,1_2.0_5A274d_Resto xxxxxxxx$ dd if=018-3615-6.dmg of=ramdiskb5.dmg bs=32 skip=1 count=604800 conv=sync
 
  +
Macintosh:iPhone1,1_2.0_5A274d_Resto xxxxxxxx$ dd if=018-3615-6.dmg of=ramdiskb5.dmg bs=32 skip=1 count=604800 conv=sync
* 604800+0 records in
 
  +
604800+0 records out
* 19353600 bytes transferred in 5.721840 secs (3382408 bytes/sec) (**THIS MADE MY RAMDISK MOUNTABLE**)
 
  +
19353600 bytes transferred in 5.721840 secs (3382408 bytes/sec)
* (**AT THIS POINT, THE DECRYPTED RAMDISK WAS ON MY DESKTOP, READY FOR USE**)
 
  +
(**THIS MADE MY RAMDISK MOUNTABLE**)
 
* 604800+0 records out
+
604800+0 records in
  +
(**AT THIS POINT, THE DECRYPTED RAMDISK WAS ON MY DESKTOP, READY FOR USE**)
   
  +
== External Links ==
 
source: [http://www.chronic-dev.org ChronicDev User Wiki]
 
source: [http://www.chronic-dev.org ChronicDev User Wiki]
  +
  +
[[Category:Tutorials]]

Latest revision as of 15:26, 24 February 2017

How to mount beta 4-7 ramdisks

First unzip your IPSW, and take out the ramdisk file. It will be around 18MB. Then put it on your desktop.

In Terminal...

Launch /Applications/Utilities/Terminal.app

Then type the following:

cd Desktop
echo `hexdump -s12 -n4 -e '"%d\n"' ramdisk-should-just-be-a-bunch-of-numbers.dmg ` / 32 | bc

A number should appear. For example, in the case of beta 5, it would be 604800.

So you will type the following command now:

dd if=ramdisk-name-aka-a-bunch-of-numbers.dmg of=ramdiskb5.dmg bs=32 skip=1 count=**NUMBERS-GO-HERE** conv=sync

After this, you will have a file called ramdiskb5.dmg on your desktop. Just double click this file and it should mount fine. Example: Beta 5 Ramdisk

Macintosh:~ xxxxxxxxx$ cd /Users/xxxxxxx/Desktop/iPhone1,1_2.0_5A274d_Resto

(THIS IS WHERE I UNZIPPED MY IPSW. I was a bit sloppy and did it the quick but annoying way, and accidently deleted some letters. But my point is that this is a folder name. You'd probably be better off just unzipping the ramdisk to your desktop rather than to a folder)

Macintosh:iPhone1,1_2.0_5A274d_Resto xxxxxxx$ echo `hexdump -s12 -n4 -e '"%d\n"' 018-3615-6.dmg ` / 32 | bc 604800

(**THIS GETS ME THE NUMBER I NEED FOR THE NEXT STETP / 604800 THIS IS THE NUMBER I NEED FOR THE NEXT COMMAND**)

Macintosh:iPhone1,1_2.0_5A274d_Resto xxxxxxxx$ dd if=018-3615-6.dmg of=ramdiskb5.dmg bs=32 skip=1 count=604800 conv=sync
604800+0 records in
604800+0 records out
19353600 bytes transferred in 5.721840 secs (3382408 bytes/sec)

(**THIS MADE MY RAMDISK MOUNTABLE**) (**AT THIS POINT, THE DECRYPTED RAMDISK WAS ON MY DESKTOP, READY FOR USE**)

External Links

source: ChronicDev User Wiki