Results 1 to 12 of 12

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


Thread: iPhone Serial Hacked, Fully Interactive Shell

  1. #1
    Owner / Founder - ModMyi
    aka poetic_folly
    Kyle Matthews's Avatar
    Join Date
    May 2007
    Location
    Tampa, Florida, United States
    Posts
    8,478
    Thanks
    569
    Thanked 4,805 Times in 1,226 Posts

    Default iPhone Serial Hacked, Fully Interactive Shell
    Your friends at #iPhone made a major breakthrough this morning.
    we got a serial console working, here is how
    the serial has the same pinouts as iPod serial
    use a 6.8kish resistor from pin 21 to gnd
    tie pin 11-sergnd to the real ground
    use iphoneinterface to send the following commands in recovery mode:
    setenv debug-uarts 1
    saveenv
    reboot
    that should work

    IT GIVES YOU A FULL INTERACTIVE SHELL
    I REPEAT, A FULL INTERACTIVE SHELL

    You need a level convertor, like the max 232 to make this work

    ~geohot
    Hackintosh

    The command list is at
    http://www.modmyi.com/forums/showthread.php?t=603
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews

  2. #2
    Just ordered a RS-232 Driver Module

  3. #3
    Green Apple TomFrost's Avatar
    Join Date
    Jun 2007
    Location
    Southcentral NJ, USA
    Posts
    71
    Thanks
    19
    Thanked 15 Times in 5 Posts

    If you haven't been following the shabang, we finally have full access to the filesystem . The sandbox is broken, and it turns out it's just a few config files INSIDE the sandbox that you can change to break out.

    Instructions are

    Breaking out of chroot jail

    Okay in normal mode files are accessed using afc.
    You'll need to change Services.plist and fstab

    Add two more params to afcd, "-d", and "/"
    Change the fstab to mount /dev/disk0s1 rw

    Upload these two files to the sandbox
    Enter recovery with the button combo
    Type "grestore" in the recovery shell

    Now you are in restore mode
    cmds:
    FileSystemCheck /dev/disk0s2
    Mount /dev/disk0s1 /mnt1
    Mount /dev/disk0s2 /mnt2

    Use ditto to copy the files to their proper locations
    The sandbox in at /mnt2/root/Media, Heavenly is in /mnt1
    Services.plist and fstab need to go back into heavenly

    Reboot and have fun
    from here

    Doing this gives you access to everything -- wallpapers, ringtones, you name it And if you play around in the plists you find there...



    Let the modding begin. The icon files are just begging to be replaced!

  4. #4
    What we need are simple instructions for hooking up all the gear from Radio Shack that we need. I'd like to order some parts and try this out. Anyone got a shopping list?


    Post #11 in the Hackint0sh link that PF posted is the one to read:

    For those needing a bit of spoonfeedin'

    http://pinouts.ru/Devices/ipod_pinout.shtml

    For those (like me) who solder well enough to destroy just about anything they touch, prebuilt TTL-RS232 converters are not terribly expensive.

    http://www.embedinc.com/products/ser/index.htm

    This one's a bit smaller and half the price but in this case smaller=harder to work on/solder in my case.

    http://www.hvwtech.com/products_view.asp?ProductID=289

    And for the iPod end of things, a breakout board attached to the connector. No soldering on that itty bitty connector.

    http://www.sparkfun.com/commerce/pro...oducts_id=8295



    There's also a cable with all this built in but I have NO idea if it will work. I ordered one as well to check. The price is DEFINITELY right.

    http://www.rush2112.net/phpBB2/viewtopic.php?t=111
    Last edited by exNavy; 07-09-2007 at 11:34 PM.
    Hmm...

  5. #5
    Owner / Founder - ModMyi
    aka poetic_folly
    Kyle Matthews's Avatar
    Join Date
    May 2007
    Location
    Tampa, Florida, United States
    Posts
    8,478
    Thanks
    569
    Thanked 4,805 Times in 1,226 Posts

    Hot Damn!
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews

  6. #6

  7. #7
    Wow! Now we can finally customize those boring, tired, so-last-month-looking program icons on our nearly 2 week old iPhones!! Actually I love the icons but I would LOVE to add some new ringtones and maybe add a custom icon or two to the homepage.

    All in hopes that we don't fry our baby in the process!

  8. #8
    Interesting comment made today:

    "FWIW
    I've been told by a friend at Apple, the serial interface rumor is just a rumor. He said, "we have been watching the forums and find a lot of the information amusing!"

    He went on to tell me that to really achieve any functionality you will need leopard. I don't know if he fed me a line of bull or not, but he's always been truthful with me in the past. He also said to be careful with the resistor because it is the wrong resistance and it may cause a problem."
    Hmm...

  9. #9
    How can it be a rumor? Many people have reported it working.

  10. #10
    Owner / Founder - ModMyi
    aka poetic_folly
    Kyle Matthews's Avatar
    Join Date
    May 2007
    Location
    Tampa, Florida, United States
    Posts
    8,478
    Thanks
    569
    Thanked 4,805 Times in 1,226 Posts

    I heard the serial thing was a load of crap too. But iPhone Interface is not serial access, its a separate deal, and I can verify from personal experience it works at least for read access...
    .


    ↑ ↑ ↓ ↓ ← → ← → B A [select] [start] Kyle Matthews

  11. #11
    He just got ringtones working. It had to be an unprotected AAC.

    [I had a link here] he took the movie down, it was nice to see this in action.

    The price to pay for his method though is you can't sync anymore.

    Someone else got it working with an mp3 tonight too.

    I'm no programmer I just spent a couple of hours listening. I guess we are all just waiting on the newer iPhoneInterface program to hit the SVN. It was very entertaining to listen to those who were the active members in the project strategize about what they had to do tomorrow, including returning their iPhone for a new one to get a virgin dump of the flash.

    http://www.youtube.com/watch?v=yHng9NRqTIQ "Chris" got his to work here. He can no longer sync his phone either.

    One thing mentioned again and again in the dev chat room was that breaking out of "jail" cancels your ability to sync to iTunes. You are forced to restore and start from scratch.
    Last edited by exNavy; 07-11-2007 at 03:05 AM.
    Hmm...

  12. #12

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