NEW YORK, 12:58 AM, WED MAY 14 | 51 POSTS IN THE LAST 24 HOURS | tips@gizmodo.com | SUBMIT A TIP | RSS
UK | FR | NL | IT | DE | SP | JP | AU

iPhone Can Now Serve Web Pages, Run Python, Open Source Apps

After the first Hello World application, hacker NerveGas and the people at #iphone-shell have built Apache, Python and other Open Source apps for the iPhone. Yes, your iPhone can now be a web server and do all sort of 1337 things. This also means that third-party applications for iPhone will happen no matter what. People, Doom could be just around the corner. [UPDATED 3:07AM EST: As a bonus, check their progress on the iPhone unlocking after the jump.]

The working installations, created using iPhone-hacking-genius Nightwatch's toolchain, include a working Apache installation, Pytho and "a growing binary kit including routing tools, vim, curl and much more." The binaries can be downloaded from the iPhone web wiki web page, but keep in mind that these are only indicated for technical-oriented people, not consumers.

As for the unlocking progress, here's the latest update:

We have confirmation of the existence of some attempt counter for the unlock: with no unlock attempts +XLOCK returns: "PN",1,0,"PU",5,0,"PP",5,0,"PC",5,0,"PS",5,0 with unlock attempts +XLOCK returns: "PN",3,0,"PU",5,0,"PP",5,0,"PC",5,0,"PS",5,0

The unlock handler dies if the first number is >1 but we're still not sure of its exact meaning and how it is set due to some odd behaviour we observed.

Currently the semantic is believed to be:

0=Unknown, 1=Default/Locked, 2=Unknown, 3=Unknown (has to do with attempts), 4=Lockable, 5=Unlocked

While this could seem irrelevant, it probably means that they could try to control the unlocking attempts counter so they can start a full force attack on the total unlocking without making their iPhones useless. One step at time, but steady progress.

These guys are really amazing. If you know what you are doing and want to help, join the effort at the #iPhone IRC channel. If not, stay tuned for the ready-for-public-consumption versions of their applications.

8:07 AM on Wed Jul 25 2007
By Jesus Diaz
64,100 views
27 comments

Comments

  • I think they'll eventually succeed in perfecting a lame, unacceptably complicated process that no one except other hackers will EVER be interested in using. Oh well, good effort though.

  • Cleverboy is not so clever.

    Anyway, if they can just unlock the phone so you can use SIM cards from any provider with any plan...I think that's what most people are waiting for. I am, at least.

  • Image of Jesus Diaz Jesus Diaz at 06:18 AM on 07/25/07 *

    Cleverboy, I remember people saying the same things as you are saying now when the Apple II hit the world. It's good that they were just passive watchers. It's good that there are people out there who believe that there's more to achieve. That's what changes the world.

  • @Cleverboy: Sure. And then someone will slap a friendly GUI on it and a bunch of people will brick their iphones because of assorted bugs with it, and then there will be bugfixes, and eventually something simple and reasonably bug free will be available, shortly after which Apple will probably drop a firmware update that either breaks or makes obsolete most of the functionality therein. Isn't that how most projects work?

  • I cant wait until they get WM6 running on it.

    Hahahahaha. Hows that Cleverboy? Good nuff 4 ya?

  • Okay here we go for all the Microsofties
    PARALLELS > VISTA
    VISTA ON THE IPHON... wait I don't think it has enough ram :(. XP maybe? Win ME? Win 95?

  • @jesusdiaz: Wow, way to take it from technology to life statements. I seriously teared up a little... I'm having one of those days. If I wasn't a guy, I'd think I'm pregnant.

  • Image of Jesus Diaz Jesus Diaz at 08:58 AM on 07/25/07 *

    I suggest getting a test asap or a change on your sexual practices. You never know, jawzxy.

  • Err... if reaching down the front of yer tighty-whities doesn't confirm manhood, your problems are larger than whining about a hack for a product you likely don't even own.

  • I know this maybe old, but just remember what happened with PalmOS back in the days:

    PalmOS was so unflexible that some guys programmed hacks for the OS. After a while and many crashes some guy programmed the "HackMaster" and that minimized all the problems.
    Still, a friend of mine turned his Palm V into a paperweight after applying a bad hack.

    Nowadays Palm has integrated many features into PalmOS that were once achieved by hacks.

    Apple will not be able to keep up with the people and will eventually release some kind of SDK or at least guidelines for programmers.
    The sooner it happens, the better!

  • Image of SchruteBuck SchruteBuck at 09:21 AM on 07/25/07 *

    Too funny. I just got done reading about the iPhone single user screen and saw the title of this: Breaking: iPhone

  • @Narual:

    Yes, but that hasnt stopped people from making software for the PSP, and that thing is one of the most hacked portable devices out there today.

    And what has that done for the PSP? It has kept it out of obscurity and from being a giant failure for Sony (in terms of hardware sales at least, their software is suffering severly, as well as their profits).

    Everyone trying it knows the risks when it comes to the PSP, but they do it anyways. Apparently, having a bricked PSP is the equivalent to having a PSP with sonys firmware to these people, and I agree. Theres improvements to be made on the iPhone, some of them unattainable (hardware related, etc), so since Apple doesnt feel its necessary to give people the opprotunity to do what they will with the device they paid money for (it is true that they must lock the phone to AT&T due to contracts, but no SDK? Come on!), hackers will save the day and give us a device that people should have had from day one.

    Apple isnt the only company, and i can understand why companies lock devices. But do understand why theres a need to unlock them.

  • CleverBoy are you Quikboy? The guy who got banned on here last time for bitch talking?

  • hehe if they can get wince or winmob6 running on it im sold :) I don't want the pretty eyecandy i want my winmobile apps working!

  • Extra credit to the first person who has their web site URL pointing to their iPhone.

  • I wish the hackers would concentrate more on useful features than "proof of concept" hacks. Is getting a LAMP server running on the iPhone useful?

    Why not get Bluetooth filetransfer working? How about MMS? How about a video capture app? How about iChat or Jabber or Messenger or something?

  • cleverboy is right. no normal consumer, and probably 90% of the people on this site will ever be able to get any of these hacks to work. oh, im sure that trying also voids your warranty, goodluck with that. if they ever get a graphic install made for them apple will be updating to block it. and comparing a modern 21st century phone to one of the original computers is the most asinine thing ive ever heard. they didnt know what they were doing on the apple II. they sure as hell knew what they were doing when they locked the iphone.

  • instead of wasting their time on the iphone, could you imagine what we could have going if these guys worked on the [www.openmoko.com] platform?

  • schadenfreude -noun
    satisfaction or pleasure felt at someone else's misfortune.

    I completely understand why people take pleasure in Apple's occasional troubles. I use macs, have an iPhone, but also use Vista and XP machines in my home office. They all break. The big thing is that there are so fewer Apple users that the number of problems and complaints is much smaller although the percentage may very well be the same. However, the hype that 'apples never crash' is very loud and of course untruthful. Whenever a group of people come off as both smug and generally less technically informed geekfolk the world-over are bound to want to see them take a kick in the balls once in a while. It's unfortunate, but it's human nature.

  • @trickypuss: ah feck. I posted this to the wrong iPhone thread. Bah. With so many going it was bound to happen.

  • @TheRealChip:
    why not go at it then? what these guys are doing for free is putting the rest of us developers much much further on the path to creating applications like that. But you can't expect them to wipe your ass too.


  • Cleverboy etc, remember what happened with the project to get windows running on an intel mac?

    After they succeeded (with a similar, not so user-friendly solution), Apple soon released bootcamp (after initially saying they would do nothing to help people wanting to run windows on a mac).

    In my opinion, the project basically pressured Apple into doing something. I chipped in 10 bucks toward that bounty (which ended up being in the neighborhood of $14,000), and I thought my money was well spent. (and I also say this as someone who's got 90% of my savings in apple stock....so I have apple's interests in mind here too)

  • This still might be a time far off, but does anyone see a 3rd party, or even a 1st party graphical editing app hittingthe iPhone? I would love to see something like Photoshop on my toy.

  • Well. Its all simple actually get me an iphone.
    Give me a month and it'll be unlocked.
    If not unlocked it'll have WM6 apps running on it.
    And that's a promise.
    If not then i'll give you the phone back and you'll have an iphone with custom ringtones.





  • @DIABOLUSUNKNOWN

    I must say, all this iPhone hype has made me go back to my PSP and appreciate how much value it holds. $200 for PSP + 4gb stick, which (with homebrew) has a nice web browser, movie and music players, email client, IM, document reader (great screen for reading books), VNC, game emulator, spreadsheet, etc -- plus, there are even a few PSP games out there worth playing. Without a strong hacking community I would never have bought it, and even as the PSP as a gaming platform languishes, the homebrew scene charges onward.

  • One thing no one seems to mention about the iPhone is that it is both the most alluring phone to thieves (and when that inevitable sad day comes when my is stolen, please Lord let it be by a gentleman thief, a cellular Robin Hood intent on robbing iPhones to feed swans or free turkeys or something)... but also uniquely and beautifully captures their fingerprints - tis genius!

    Also anyone know where I can get hold of Nervegas I want to give him some money?

  • Filed under: Internet Tools, iPhoneUsing the port of lighttpd on his jailbroken iPhone, Mark Hoekstra of GEEKtechnique offers real-world proof that an iPhone can, indeed, function as a web server.

Comment on this post

Reply by Email

Login with your username and password below. Or comment on this post via email.