Page 6 of 7 FirstFirst 1234567 LastLast
Results 51 to 60 of 66
Discuss Working iPhone recovery ramdisk with SSH at the Tools - Hackint0sh.org; removing the --ibec makes me get stuck here; Kernelcache kernelcache.release.s5l8900x loaded where should I be ...
  1. #51
    Newbie Array

    Join Date
    Feb 2011
    Posts
    5
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    removing the --ibec makes me get stuck here;
    Kernelcache kernelcache.release.s5l8900x loaded

    where should I be getting the kernelcache file? I'm pulling one out an PwnageTool created IPSW.
    Last edited by enterman; 02-21-2011 at 05:30 AM.


  2. #52
    Newbie Array

    Join Date
    Feb 2011
    Posts
    5
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    I'm trying to use a different computer now to rule that out.

    I can not get iReb to work on this computer. older version seems to do nothing, newer version crashes dl.exe then says it can't download the essential files.

    If I skip iRed and go straight into recovery mode I can connect over irecovery. I upload my ramdisk 018-6136-014.dmg.ssh, then irecovery -s and do a "ramdisk 0x90000000" I just get a new line, no feedback. then I upload the kernelcache, go back into irecovery -s and do a bootx, but I get an "attenting to vailidate kernelcache." eventually that fails.

  3. #53
    Newbie Array

    Join Date
    Feb 2011
    Posts
    5
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Ok, I dug through the source fpr iReb, figured otu what it was trying to do and did it manually.
    I have itunes 10.0.1.22

    I used 4.0 firmware and did the following;
    itunnel_mux.exe --ibec iBEC.n82ap.RELEASE.dfu --ramdisk 018-6460-388.dmg.ssh --devicetree DeviceTree.n82ap.img3 --kernelcache kernelcache.release.n82 --ramdisk-delay 5 --ramdisk-command "ramdisk 0x90000000"
    [INFO] Waiting for a device in Recovery mode to connect..
    [INFO] iBEC iBEC.n82ap.RELEASE.dfu loaded
    [INFO] Ramdisk 018-6460-388.dmg.ssh loaded
    [INFO] Devicetree DeviceTree.n82ap.img3 loaded
    [INFO] Kernelcache kernelcache.release.n82 loaded
    It hung here.

    The phone rebooted into what I'm assuming the ramdisk.
    So I ran;
    itunnel_mux.exe --lport 22
    [INFO] Waiting for new TCP connection on port 22
    [INFO] Waiting for device...
    [INFO] Device connected: [my device ID]

    When I try to open putty -ssh root@localhost the screen running the tunnel says;
    [INFO] Info: New connection...
    [ERROR] AMDeviceConnect = -402653083
    [ERROR] Error: Device Connect

    putty never connects.

    any advice?

  4. #54
    Newbie Array

    Join Date
    Apr 2011
    Posts
    1
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Wink Iphone 4 4.2.1 stuck on greenp0ison logo

    I've tried numerous methods, but still no luck.
    This method, with ramdisk gets me error getting status after i try to upload ramdisk to iphone.
    Is there a different way for iphone 4 ?
    Isn't there a simple way to just get it to boot ?
    Modify what's getting in the way or just start with safe / working settings, like windows ?
    I don't want to restore,cause i'll loose all my data on the iphone.

    Awaiting answers.

  5. #55
    iPhone Moderator Array

    Join Date
    Aug 2007
    Posts
    3,620
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    220

    Default Working recovery ramdisk with SSH for iOS 4.3.1 on a Mac

    Cause I needed it for some iPhone accident I have put together a how to for iPhone 4 and iOS 4.3.1. It's for Mac, should work on Windows but some different tools.


    I have combined a lot of msft.guy's information to get "Working recovery ramdisk with SSH" working for my iPhone 4 at iOS 4.3.1. Plus his tools of cause. So all the glory goes to msft.guy. I just compiled it and did it on my Mac.

    Works for iPhone 4/3GS, iPod Touch 3rd/4th and iPad 1 - not for iPad 2. Example is for iPhone 4.
    The ramdisk of iOS 4.3.1 no longer has key and IV plus Ramdiskbuilder refuses to work on my f... Win7 machine. We have to create the custom ram disk manually. msft.guy had a great description for iPhone 3G, still working

    1. Preparations (download):

    Get Firmware for iPhone 4 here: http://appldnld.apple.com/iPhone4/04...4_Restore.ipsw
    Get PwnageTool 4.3 here: Dev-Team Blog - Three years of pwnage(tool)
    Get msft.guy's RecoveryRamdiskBuilder_rev_2 (we need the SSH package) here:
    RecoveryRamdiskBuilder_rev_2.zip - iphonetunnel-usbmuxconnectbyport - Ramdisk builder package rev '2' - now finds its tar file ;-) - USB mux TCP tunneling and basic iRecovery functionality without libUSB - Google Project Hosting
    Get xpwntool here:
    https://wave.googleusercontent.com/w...yT4dTUxRCgd81A
    Get itnl_rec71 here:
    itnl_rev71.zip - iphonetunnel-usbmuxconnectbyport - OS X version - rev '7.1' - USB mux TCP tunneling and basic iRecovery functionality without libUSB - Google Project Hosting
    Get tetheredboot here:
    https://github.com/msftguy/syringe/downloads

    2. Create the custom ramdisk with SSH (description mostly taken from msft.guy)

    - create a folder on your Desktop, name it mkramdisk or as you like.
    - Put xpwntool inside the folder.
    - Put RecoveryRamdiskBuilder_rev_2.zip inside the folder and unzip it.
    - Unpack the ssh.tar archive inside the unzipped RecoveryRamdiskBuilder_rev_2 archive
    - Use PwnageTool to create a custom firmware of iOS 4.3.1.
    - Rename pwned ipsw to zip and unzip it.
    - Copy 038-0902-005.dmg (Ramdisk) from unzipped ipsw into your folder mkramdisk
    - Start Terminal change to you work directory and make xpwntool executable
    cd Desktop/mkramdisk
    chmod 755 xpwntool
    - Unpack the pwned ramdisk with
    ./xpwntool 038-0902-005.dmg 038-0902-005.unpacked.dmg
    - Mount the dmg
    - Delete /Volumes/ramdisk/usr/local/standalone/firmware/* to free some space (baseband flash files there)
    - Put the contents of the unpacked ssh.tar archive inside the mounted dmg so that reboot file at the root of the ramdisk gets replaced.
    - If you end up with an 'ssh' directory at the root of the ramdisk, you did previous step incorrectly. So for example: The contents of /ssh/bin goes into ramdisk/bin aso.
    - Unmount the dmg
    - re-pack the dmg and create the custom ramdisk with ssh
    ./xpwntool 038-0902-005.unpacked.dmg 038-0902-005.dmg.ssh -t 038-0902-005.dmg


    3. Use the recovery ramdisk with SSH

    - create a folder on your Desktop, name it crd or as you like.
    - copy 038-0902-005.dmg.ssh into the folder crd
    - from the pwned and unzipped ipsw put kernelcache.release.n90 and iBSS.n90ap.RELEASE.dfu (it's in /Firmware/dfu) into the folder crd
    - unzip itnl_rec71.zip and put itnl and libmd.dylib into crd
    - unzip tetheredboot_mac_universal.zip and put tetheredboot into crd
    - Start Terminal and open three windows (thats what i did - worked for me)
    - Connect your iPhone 4 to your Mac and put it into DFU mode
    - In Terminal window 1 type
    cd Desktop/crd/
    ./tetheredboot -i iBSS.n90ap.RELEASE.dfu
    - Wait until upload is done and you see the prompt again, then type
    ./itnl --ramdisk 038-0902-005.dmg.ssh --kernelcache kernelcache.release.n90
    - Wait until you see:
    [INFO] Waiting for a device in Recovery mode to connect..
    [INFO] Ramdisk 038-0902-005.dmg.ssh loaded
    [INFO] Kernelcache kernelcache.release.n90 loaded
    The screen of my iPhone 4 turned white YMMV
    - In Terminal window 2 type
    ./itnl --iport 22 --lport 2222
    - You'll see something like
    [INFO] Waiting for new TCP connection on port 2222
    [INFO] Waiting for device...
    [INFO] Device connected: <your device id will show up here>
    The screen of my iPhone 4 looks like restoring with Apple logo
    - In Terminal window 3 type
    ssh -p 2222 root@localhost
    - You'll need the password - alpine as usual


    Thats it, you're in. msft.guy recommends some commands to get all the gizmos you want, here they are. In Terminal windows 3 type:
    mount /
    mount_hfs /dev/disk0s1 /mnt1
    mount_hfs /dev/disk0s2s1 /mnt2
    export PATH=$PATH:/mnt1/bin:/mnt1/sbin:/mnt2/stash/bin:
    export DYLD_LIBRARY_PATH=/mnt1/usr/lib


    Besides Terminal you can use any SFTP client like Transmit or Cyberduck to access the iPhones disks and play around

    BTW: If you're done playing around, type kill -1 in Terminal window 3.

    hope this helps, v.
    Read the stickies and search the forum before posting!
    If you want to become a Hackint0sh supporter click here
    ----------
    iPhone 4 factory unlocked, iOS 4.3.1, jailbroken
    iPad Wi-Fi + 3G (1G), iOS 4.3.1, jailbroken
    iPad 2


  6. #56
    Newbie Array

    Join Date
    Sep 2011
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Cant connect with sftp

    I got this working just fine following the guide. I can ssh to it and look around, but I cant connect using sftp. I am trying port 2222 username: root@localhost password: alpine.

    Cyberduck just disconnects and Transmit says that the username or password is bad.

    What am I doing wrong??

    Thanks
    -J

  7. #57
    Newbie Array

    Join Date
    Sep 2011
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default Got it!

    I spoke too soon. I got it with scp.

    Thanks
    -j

  8. #58
    Newbie Array

    Join Date
    Dec 2011
    Location
    Surat, Gujarat, India
    Posts
    3
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    pals....
    heres my case....from the start....

    my device: iPhone 4 (IOS 5.0.1) freeze on apple logo (tried 2 tether boot but still same freeze)

    so i followed the tut posted in this thread... and here r the results....


    1. extracted the 4 files from custom IOS 5.0.1 snowbreeze.
    i upload the ibss using tetheredboot successfully, but
    when i upload the ramdisk and othe 2 files using itunnel,,,,
    itunnel just gets stuck at..
    "Waiting for device in recovery mode to connect...."
    nothing happens after this...

    2. this time extracted 4 files from custom IOS 4.2.1.
    and uploaded ibss from IOS 4.2.1 while rest of the files remained from IOS 5.0.1.
    this time the itunnel uploaded teh 3 fiiles successfully....
    but when i tried itunnel --iport 22 --lport 2222
    itunnel gets stuck at...
    "Waiting for device...."

    3. this time, i used all the files from IOS 4.2.1 and only used the ramdisk from IOS 5.0.1. and same thing happened, when i tried itunnel --iport 22 --lport 2222
    itunnel gets stuck at...
    "Waiting for device...."

    4. now i used all the files from IOS 4.2.1, adn everything got connected.....
    uploaded allt eh 4 files,,,when i tried itunnel --iport 22 --lport 2222
    it got connected to the phone successfully. now the problem is..

    mount / ------> getmasterblock: error opening /dev/md0

    fsck_hfs -r /dev/disk0s1 --------> /dev/disk0s1:no such file or directory. cant stat /dev/disk0s1

    mount_hfs /dev/disk0s1 /mnt1/ -------------> getmasterblock: error 2 opening /dev/rdisk0s1
    mount_hfs : no such file or directory.

    __________________________________________

    i had also installed semi-tether previously but when i try 2 start phone it just goes into recovery mode, and when i try 2 tether boot, it stucks at apple logo.

    pals, now needed help in recoverying my data....

    hoping 4 a positive help..and responce..

    thanx

    angel

  9. #59
    Newbie Array

    Join Date
    Dec 2011
    Location
    Surat, Gujarat, India
    Posts
    3
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    i checked teh dev folder via ssh with winscp, but couldnt fild any file as disk0s1 or disk0s2s1.
    as well as, all the files in dev folder are 0 bytes....
    wot m i doin wrong???
    thasnx

    angel

  10. #60
    sam
    sam is offline
    Chief of Administration
    iPhone Dev Team
    Array sam's Avatar

    Join Date
    Jun 2007
    Posts
    1,852
    Post Thanks / Like
    Downloads
    35
    Uploads
    277
    Rep Power
    10

    Default

    devices technicaly have no size, they are devices. You need to mount them. Can you post a ls of your /dev/ dir?
    If you just want to support hackint0sh.org with a donation click here.
    Follow me on twitter: http://twitter.com/sam_hackint0sh


 

 
Page 6 of 7 FirstFirst 1234567 LastLast

Similar Threads

  1. Replies: 1
    Last Post: 05-02-2011, 09:35 AM
  2. iPhone 3G SSH RAMDisk loading with iRecovery
    By ccsccs7 in forum iOS 3.x (iPhone OS 3.x)
    Replies: 3
    Last Post: 02-25-2011, 01:56 AM
  3. iPhone 3GS - iRecovery RAMDisk
    By _DL_ in forum Free Toolchain Software (Cydia App's)
    Replies: 16
    Last Post: 05-20-2010, 07:04 AM
  4. How to upload RamDisk to the iphone 3Gs ?!!
    By ti_zana in forum iPhone 3GS
    Replies: 3
    Last Post: 04-01-2010, 04:50 PM
  5. [1.1.4 OTB] [Problem] Recovery Mode not working
    By Shackalone in forum iPhone "2G" (Rev. 1)
    Replies: 4
    Last Post: 05-06-2008, 05:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 04:57 AM.
twitter, follow us!