Results 1 to 2 of 2

Your favorite Apple, iPhone, iPad, iOS, Jailbreak, and Cydia site.


Thread: Recovery ramdisk with SSH

  1. #1
    Green Apple
    Join Date
    Mar 2010
    Location
    Bellevue WA
    Posts
    30
    Thanks
    1
    Thanked 7 Times in 7 Posts

    Lightbulb Recovery ramdisk with SSH
    Please check this wave for most recent version of the instructions!
    blog_title: Working iPhone recovery ramdisk with SSH ;-)

    Requirements: an untethered* jailbroken device

    *If your device has a new bootrom (tethered jailbreak), this requires some extra steps/advanced skills.

    If your iPhone does not boot and you are too lazy to reinstall everything/have some data that needs to be recovered, this may just work for you. Allows you to copy full disk images among other things.

    Ramdisk preparation tool:
    RecoveryRamdiskBuilder_rev_2.zip - iphonetunnel-usbmuxconnectbyport - Ramdisk builder package rev '2' - now finds its tar file ;-) - Project Hosting on Google Code

    Now we can boot the ramdisk using iRecovery:

    !! Put your iPhone in recovery mode!

    iRecovery -f 018-6051-014.dmg.ssh
    iRecovery -s
    Wait for the prompt; type 'ramdisk' command and press Enter.

    !!You should get this back:

    Code:
    creating ramdisk at 0x44000000 of size 0xf2d600, from image at 0x41000000
    If you don't, you probably have a new bootrom. Read instructions in the wave about additional steps required.

    iRecovery -f kernelcache.release.s5l8920x
    iRecovery -c bootx

    Note: If you get errors uploading kernelcache (iRecovery cannot connect to the iPhone), try disconnecting and reconnecting USB cable after issuing 'ramdisk' command. This seems to happen more often with larger ramdisks..

    Now you need a custom build of iPhone_tunnel utility to connect to SSH:
    iphonetunnel-usbmuxconnectbyport - Project Hosting on Google Code
    Changes made for this custom build:
    Launch iPhone_tunnel, forward remote port 22 as local port 60022: ./iPhone_tunnel 22 60022
    Connect using SSH: ssh [email protected] -p 60022

    Password is alpine, as usual ;-)
    Last edited by msft.guy; 2010-05-20 at 08:08 PM. Reason: Added a wave link

  2. #2
    Hi,

    Thanks for the tutorial.

    I've been looking for the ramdisk keys on Google at this step: "Google restore ramdisk keys for your phone model and firmware version ", but I only found a couple of tutorials. I might be dumb, but if you have any address don't hesitate to tell me!

    Thanks!

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •