+ Reply
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?

is a discussion within the

General

forums, a part of the

Jailbreak / Downgrading / Upgrading

section;
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
...
  1. #1
    What's Jailbreak?
    Join Date
    Oct 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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
    8,857
    Thanks
    39,174
    Thanked 16,388 Times in 6,001 Posts

    Did you try redsnow?
    Widget-Weather App Now Available! Also with MyLocation Support!
    Check out the thread here - Widget-Weather
    To install the Widget-Weather app, just go to Cydia and install. This will also remove MyLocation, as it is built in!
    Want to protect your JailBreak! Add this repo http://cydia.myrepospace.com/iLEXiNFO/ & Install "iLEX R.A.T."
    It will allow you to bring your phone back to a fresh jailbroken state!

  3. #3
    Super Penguin Mod i.Annie's Avatar
    Join Date
    Jun 2009
    Location
    SW Ohio
    Posts
    16,903
    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
    What's Jailbreak?
    Join Date
    Oct 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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 04:10 AM.

  5. #5
    My iPhone is a Part of Me
    Join Date
    Oct 2010
    Location
    UK
    Posts
    903
    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,903
    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
    30,283
    Thanks
    3,669
    Thanked 9,534 Times in 5,852 Posts

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

  8. #8
    What's Jailbreak? iphonecaptain's Avatar
    Join Date
    Oct 2012
    Location
    KY
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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
    30,283
    Thanks
    3,669
    Thanked 9,534 Times in 5,852 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
    903
    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
    What's Jailbreak?
    Join Date
    Oct 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I think you should have a look at this tool;
    Mostly iPhone hacking: Automatic SSH ramdisk creation and loading

LinkBacks (?)


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