Thread: Jailbreaking iphones

  1. #1
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300

    Jailbreaking iphones

    I posted this a few days ago, evidently it go lost in the db shuffle.

    Anyway, someone gave me an iphone 3G to play with and I am thinking of "jailbreaking it" with redsnOw so I can install Cydia stuff like bash and perl. Then instead of playing pong on the bus I can brush up on my shell scripting.

    Has anyone done this? Any caveats?
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Just that you void your warranty when you do it and Apple hates you when you do it. Nevertheless, from what I am told, you can just undo the breaking and no one will know.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Finally got around to this last night and of course, ended up with a wrecked phone which took me hours of wading thru internet posts to fix, lost all the user data on it. And the warranty is probably very very void, lol.

    Redsnow on my MS laptop was a complete disaster, but I think that is the standard for this stuff. "iREB"'s dysfunctionality made me cringe. Redsnow on OS X seemed much much better. Probably if you actually make regular use of these devices and the respective OS's it'd be easier.

    Re-enforced my loathing for the proprietary OS's because of their intense user unfriendliness. They are just horrible awful things to have to use. Not fighting words, just a very honest feeling. Completely hate it. On top of the clumsyness, the restrictions and paranoia are TOTALLY INSANE. I cannot believe people pay for this tish.

    Anyway, I do now have the phone mounted "ifuse --root"
    Last edited by MK27; 04-25-2011 at 11:31 AM.
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  4. #4
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    OMG! Is that the world's greatest file browser running in a terminal emulator on iOS 4.2.1??? Yes, in fact it is!! Right along with bash! And -- as if that weren't enough to get you a date in an elevator already -- VIM.
    Attached Images Attached Images Jailbreaking iphones-mc_ios4-jpg 
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  5. #5
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Wow, why the blur? If that's your porn collection, I'd like to see the titles.
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  6. #6
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Probably a mobile phone camera, or a very poor digital camera.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  7. #7
    In my head happyclown's Avatar
    Join Date
    Dec 2008
    Location
    In my head
    Posts
    391
    Good to see you're still around, MK27.
    OS: Linux Mint 13(Maya) LTS 64 bit.

  8. #8
    Registered User
    Join Date
    Mar 2007
    Posts
    142
    What are those yellowish circles on the left? Does it say Lego?

    Here's something I did almost thirty years ago:

    Jailbreaking iphones-image041-jpg

  9. #9
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by idelovski View Post
    Here's something I did almost thirty years ago:
    As in, the pic is from 30 years ago or you never took it apart, lol? My dad's Danish -- and a mechanical engineer -- I always had a lot of Lego. I would build 2-3' battlecruisers with helicopters on them and stuff.

    I recently moved back near my hometown and my sis has some of the old blocks for her kids, so after showing them a few tricks I palmed a couple pieces
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  10. #10
    Registered User
    Join Date
    Mar 2007
    Posts
    142
    The picture is 5-6 years old and the GoCart is still alive. The sole survivor of my Lego collection.

  11. #11
    (?<!re)tired Mario F.'s Avatar
    Join Date
    May 2006
    Location
    Ireland
    Posts
    8,446
    Quote Originally Posted by MK27 View Post
    I recently moved back near my hometown and my sis has some of the old blocks for her kids, so after showing them a few tricks I palmed a couple pieces
    You stole from your little nephews. Man, that is so cool! :
    Originally Posted by brewbuck:
    Reimplementing a large system in another language to get a 25% performance boost is nonsense. It would be cheaper to just get a computer which is 25% faster.

  12. #12
    Registered User
    Join Date
    Mar 2007
    Posts
    142
    And BTW, I've been using the Lego car picture above as I was developing my iPhone slider game. My designer replaced it with his own images for the final version, of course. I didn't complain too much as maybe we could have had copyright problems with Lego or whatever.

    So the game went live on iTunes today. It's one of the zillion slider puzzle games on iTunes but it has few things that make it a bit different. You can add your own images with camera or from the Photo Album and you can play over WiFi or Bluetooth with someone else. You can play against others, or in Assist mode a parent and kid can solve the game together, each on his own device.

    I don't think many people here have iPhones, but if anyone cares about such game, here are a few promo codes so you can have it for free:

    MKTTT9AMP6R4
    PPPTNXPWPH4F
    44KFW7YTWRHL

    Hope someone might like it.
    Last edited by idelovski; 04-30-2011 at 05:14 AM.

  13. #13
    spurious conceit MK27's Avatar
    Join Date
    Jul 2008
    Location
    segmentation fault
    Posts
    8,300
    Quote Originally Posted by idelovski View Post
    It's one of the zillion slider puzzle games on iTunes but it has few things that make it a bit different. You can add your own images with camera or from the Photo Album and you can play over WiFi or Bluetooth with someone else. You can play against others, or in Assist mode a parent and kid can solve the game together, each on his own device.
    Yeah, that's pretty cool (thanks). I'm kind of obsessed with figuring out some kind of system now after getting times ranging from 15 seconds to 15 minutes, lol.

    So is that written in objective C? What's the graphics API you used?
    C programming resources:
    GNU C Function and Macro Index -- glibc reference manual
    The C Book -- nice online learner guide
    Current ISO draft standard
    CCAN -- new CPAN like open source library repository
    3 (different) GNU debugger tutorials: #1 -- #2 -- #3
    cpwiki -- our wiki on sourceforge

  14. #14
    Registered User
    Join Date
    Mar 2007
    Posts
    142
    Quote Originally Posted by MK27 View Post
    Yeah, that's pretty cool (thanks).
    I'm glad you like it.

    I'm kind of obsessed with figuring out some kind of system now after getting times ranging from 15 seconds to 15 minutes, lol.
    I've played this game thousand times in every phase of its development and I sometimes lose 30 seconds or more just to swap two tiles. Then, next time I solve the whole game in 15 seconds. There's no justice in this world.

    So is that written in objective C? What's the graphics API you used?
    Objective C, yes. Three years ago I was sure this is the ugliest language on the planet. Now I love it. Graphics is mainly just UIKit objects containing PNG images. Some transparency here and there, some scaling and rotations done with CoreGraphics. That badge with the number at the bottom is an oval rect with barely visible white background just to make it glow a bit.

    The only thing related to graphics that was more challenging was rotating and scaling images in the background. UIKit has methods for that, but they were not thread safe, so I had to go low level with CoreGraphics. So the thole application is actually an exercise in NSOperation (used for background threads) that rotates, scales and slices images and stores results in SQLite database.

    Then I discovered networking, Bonjour, GameKit (for Bluetooth communication) and put it all in a single game. I had all of this last November, but then it took six months for someone to design backgrounds and all PNG images for buttons. I worked with three guys. People say we programers are hard people to deal with, but designers,... well, they are definitely worse.

    The thing is, I am working on several other projects that build on top of these technologies and I hope I'll have at least one really cool application this summer or fall (or next May at the latest).

    Last edited by idelovski; 05-01-2011 at 06:19 AM. Reason: Stye and grammar

Popular pages Recent additions subscribe to a feed