Results 1 to 11 of 11

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


Thread: ($10 reward) Broke iPhone by changing file, how to SSH while in DFU/recovery?

  1. #1
    Default ($10 reward) Broke iPhone by changing file, how to SSH while in DFU/recovery?
    Hey there people,

    I'm sorry if this is the wrong section but I had no idea where else to post it, anyway $10 paypal for the one who can help me out I'm utterly desperate!

    So here's the thing: I went into iFile and changed the 'fstab' file and now it can't boot, anymore, it's stuck in a loop. it shows the Apple logo for 10 seconds and then restarts.
    The file is 'fstab', and it's in /private/etc. I've already tried TinyUmbrella to kick it out of recovery but it doesn't work.

    The file first looked like this:



    /dev/disk0s1 / hfs rw 0 1

    /dev/disk0s2 /private/var hfs rw 0
    2

    And I changed that to: su

    alpine

    sysctl -w
    hw.cpufrequency_max=600000000

    sysctl -w hw.cpufrequency=600000000

    sysctl -w
    hw.cpufrequency_min=475000000

    /dev/disk0s1 / hfs rw 0 1

    /dev/disk0s2 /private/var hfs rw 0
    2



    My question: How do I SSH into the iPhone and change it back? It's in DFU/recovery mode and i'm really really desperate, I have no backup because I just got a new pc. Firmware 5.0 & please no paid software.

    Thanks!!!

  2. #2
    King Kong ain't got nothing on me! King_O_Hill's Avatar
    Join Date
    Apr 2011
    Location
    USA
    Posts
    9,736
    Thanks
    43,075
    Thanked 18,660 Times in 6,722 Posts

    Did you try redsnow?
    Widget-Weather App Currently Being Updated for iOS 8!
    Check out the thread here - Widget-Weather
    If you need to generate the MyLocation.txt file in the mean time for widgets, install the MyLocation app from here:
    http://cydia.myrepospace.com/kohidevice/

  3. #3
    Super Penguin Mod i.Annie's Avatar
    Join Date
    Jun 2009
    Location
    SW Ohio
    Posts
    16,907
    Thanks
    137
    Thanked 2,202 Times in 1,924 Posts

    Cyberduck has gotten me into my device in a boot loop before. I'm not sure if it will get you in with recovery/dfu mode but give it a go if you'd like. You of course will have to know your wifi ip address to connect your phone to your computer, hopefully your phone is connected to the same wifi network.

  4. #4
    Quote Originally Posted by i.Annie View Post
    Cyberduck has gotten me into my device in a boot loop before. I'm not sure if it will get you in with recovery/dfu mode but give it a go if you'd like. You of course will have to know your wifi ip address to connect your phone to your computer, hopefully your phone is connected to the same wifi network.
    I'll give it a try, thanks!

    Quote Originally Posted by King_O_Hill View Post
    Did you try redsnow?
    What am I supposed to do in redsn0w exactly? I tried the 'just boot' option and it said that I have an unrecognized build..

    Turns out I don't have OpenSSH on my iPhone, is it still possible?
    Last edited by Gibson123; 10-06-2012 at 05:10 AM.

  5. #5
    My iPhone is a Part of Me
    Join Date
    Oct 2010
    Location
    UK
    Posts
    905
    Thanks
    5
    Thanked 69 Times in 66 Posts

    Hi, you could try and make a NO_ERASE_IPSW and restore with it. Then do an iTunes right click backup and a normal fresh restore.
    Instructions at post #18
    iphone 4 - stuck in infinite boot loop - Page 2

  6. #6
    Super Penguin Mod i.Annie's Avatar
    Join Date
    Jun 2009
    Location
    SW Ohio
    Posts
    16,907
    Thanks
    137
    Thanked 2,202 Times in 1,924 Posts

    Ah no, sorry Cyberduck won't work without OpenSSH. Cyberduck is the only client I've tried of all the rest that actually can get me into my phone regardless of what state my phone has ever been in. I would say give iFunBox a try since you can't use Cyberduck but I don't know how well that'll go.

    If all of this fails, you're probably going to be stuck restoring.

    Quote Originally Posted by Gibson123 View Post
    I'll give it a try, thanks!



    What am I supposed to do in redsn0w exactly? I tried the 'just boot' option and it said that I have an unrecognized build..

    Turns out I don't have OpenSSH on my iPhone, is it still possible?
    Edit: If you've got a Mac you could try and see I JuicePhone will recognize your device and extract your data so you won't lose anything.

  7. #7
    Super Duper Moderator blkcadi's Avatar
    Join Date
    Aug 2008
    Location
     Valley of the Sun, ARIZONA ♥♥♥
    Posts
    31,024
    Thanks
    3,880
    Thanked 10,049 Times in 6,139 Posts

    iPhoneBrowser may work, not sure though. worth a try I guess.
    iPhoneBrowser - Download

  8. #8
    NO OpenSSH you cant get in with those type tools I dont think
    Mitch

    iPhone 4S
    iPhone 5 -Ordered
    iMac 27 inch
    13 inch Macbook pro
    iPad 3

  9. #9
    Super Duper Moderator blkcadi's Avatar
    Join Date
    Aug 2008
    Location
     Valley of the Sun, ARIZONA ♥♥♥
    Posts
    31,024
    Thanks
    3,880
    Thanked 10,049 Times in 6,139 Posts

    ^Not according to their site. Never used it myself.

  10. #10
    My iPhone is a Part of Me
    Join Date
    Oct 2010
    Location
    UK
    Posts
    905
    Thanks
    5
    Thanked 69 Times in 66 Posts

    Hi, this probably won't work but it's worth trying...
    Press the home and power buttons until you have powered the phone off. Then power back on while keeping the volume + button held in.

  11. #11

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