Archive: iPhone

Page 2 of 6 1 2 3 4 5 6

January 19, 2008

Using the serial port on the iPhone

iphonedevcamp2.jpg

Collin Meyer put together a working tutorial for making use of the iPhone and iPod Touch's RX and TX lines as a standard unix serial port.

This tutorial will explain how to use the serial RX and TX lines on the Iphone as a standard UART serial port. Software on the Iphone can access the UART using the same libraries and functions as in any UNIX software.

With this, you could attach an external GPS unit to your iPhone, or even connect an Arduino and use your iPhone as a data uplink and control system for your next embedded project.

Iphone Serial Port Tutorial - [via] Link

Posted by Jason Striegel | Jan 19, 2008 06:20 PM
iPhone | Permalink | Comments (0) | TrackBack | Digg It | Tag w/del.icio.us

January 5, 2008

VoIP on the iPod Touch

The Touchmods team recently released a working version of their iPod Touch VoIP app, making it possible for Touch owners to place outgoing calls on the device.

The Touch doesn't come with a built-in mic, so part of the hack involves either modifying a Walmart iVoice III mic, buying a Touchmods designed add-on, or building your own from their schematics. After that, you just need to add http://touchmods.net/rep.xml to the Installer's package source list, install the SIP-VoIP.app, configure it with a SIP account and hop on a WiFi connection.

Incoming calls are not supported yet, and as far as I can tell this isn't an open source project. Charlie Sorrel from Wired's Gadget Lab describes it as being fairly buggy at this stage, and was unable to get it to function, but we'll see how things progress after a few version updates. Anyone out there with an iTouch who wants to give this a shot and report back their findings?

VoIP For iPod Touch - [via] Link
DIY iPod Touch Mic - Link

Posted by Jason Striegel | Jan 5, 2008 08:47 PM
iPhone, iPod | Permalink | Comments (2) | TrackBack | Digg It | Tag w/del.icio.us

December 20, 2007

Add hidden iPhone properties to the Settings screen

iphonesettings_20071220.jpg

Erica Sadun is at it again with another useful iPhone hack. By updating the Preferences.app's Settings-iPhone.plist file with a tweaked version, you can enable a number of hidden options right within the Settings screen. Prior to this, you could tweak these parameters with various property list edits, but this makes it easy to customize your phone in a more user-friendly manner.

Mess with your iPhone Settings screens - Link
Replacement Settings-iPhone.plist - Link

Posted by Jason Striegel | Dec 20, 2007 08:03 PM
iPhone | Permalink | Comments (0) | TrackBack | Digg It | Tag w/del.icio.us

December 14, 2007

iPhone HD video recorder

drunknbass_20071214.jpg

The Monster and Friends Design Studio released a beta version of an iPhone camcorder app today. The hack's author, drunknbass, was able to squeeze about 10fps out of the camera when capturing data at a 2 megapixel HD framesize.

The current beta will do this for 5 seconds, but the author alludes to a future version being able to record indefinitely long clips at a higher frame rate. This may only be achievable at the sacrifice of the huge frame size, though. I'd assume that there are some non-trivial data throughput and compression horsepower limitations that would make long recordings at high framerate and high resolution pretty difficult.

I'm hoping the next version is released with source. Hopefully, with a few heads taking a crack at optimizing things, iPhone users will get a slick guerilla video platform out of this.

iPhone Video Recording - [via] Link

Posted by Jason Striegel | Dec 14, 2007 08:47 PM
Video, iPhone | Permalink | Comments (2) | TrackBack | Digg It | Tag w/del.icio.us

October 24, 2007

iPhone "revirginizing" tool

iphonedevcamp2.jpg

If you bricked your iPhone by updating an unlocked device, the iPhone Elite dev team has a tool that will restore it to its inital virgin state. It will safely back up and then restore the seczone area of the phone, undoing the bug created by the inital unlock code.

RevirginizingTool - Link

Posted by Jason Striegel | Oct 24, 2007 06:19 PM
iPhone | Permalink | Comments (0) | TrackBack | Digg It | Tag w/del.icio.us

October 22, 2007

iPhone OpenStreetMap

iphoneosm_20071022.jpg

If you have a jailbreak'd iPhone, you can update the Maps.app database with tiles from OpenStreetMap. Mikel Maron figured out how to update the Maps sqlite DB and was able to import the street tiles for London.

My first idea was to modify the configuration or constant that the Maps App used for constructing Google Maps tile requests. Andrew helped with decompiling and pointers to other files, but we had no luck as yet. But looking at the app or at the GMM module in a hex editor, there appeared to be SQL inserts of tile pointers .. perhaps Maps was using a database to cache requested tiles. Searching through the filesystem found MapTiles.sqlitedb. That db has just two tables..

This is slick. You still use the built-in Maps interface, but you can add whatever you like to its database. Technically you could alter the database with any map tiles you like. One idea would be to make an alternate database file and fill it with topo-maps. Just swap the file out and you can use the Maps application when you're backpacking.

OpenStreetMap on the iPhone - Link
OpenStreetMap - Link
SQLite Tutorial - Link

Posted by Jason Striegel | Oct 22, 2007 06:47 PM
Google Maps, Mapping, iPhone | Permalink | Comments (0) | TrackBack | Digg It | Tag w/del.icio.us

October 13, 2007

HOWTO - stream music from your iPhone in Ubuntu

ubuntuiphone_20071013.jpg

Listening to music on your Linux desktop doesn't mean having to duplicate all your audio onto your local harddrive. By streaming your music over WiFi from the iPhone or iPod Touch, you can keep your music portable.

Using two programs called FUSE (Filesystem in Userspace) and sshfs we can mount the iPhone filesystem in Linux, then configure ssh key pairs so we can connect without needing to sudo or login as root every time we want to sync the phone, then we'll install beta versions of Libgpod and Rythmbox to end up with something insanely great.

We've talked about the sshfs FUSE filesystem before, but this is a pretty cool application for it. You're basically turning your iPhone into a wireless harddisk. Unlike a normal portable drive, you can access it from multiple machines at the same time. This allows a couple people to listen to different tunes off the same iPhone library simultaneously.

How To: Stream Music From The iPhone In Ubuntu - Link

Posted by Jason Striegel | Oct 13, 2007 08:29 PM
Music, Ubuntu, iPhone, iPod | Permalink | Comments (1) | TrackBack | Digg It | Tag w/del.icio.us

October 10, 2007

HOWTO: iPod Touch and iPhone 1.1.1 Jailbreak

ipodtouch_20070914.jpg

A working TIFF buffer overflow exploit was finally released for the iPhone 1.1.1 firware and the iPod Touch! This is huge for iPod Touch fans, as it means we can finally install other apps on the device. Like before, it'll probably be a few days before there is a user-friendly tool, but if you don't mind working through it, there are now working instructions available for both devices.

The first step to jailbreaking the devices is loading up a special TIFF file in Safari which remounts the storage in read-write mode. I don't want to be a fear monger, but I'm a little concerned about a couple of things here:

  1. I haven't seen source released anywhere, so who knows what the image is doing with root access on your phone
  2. It's completely realistic to think that a more sinister version of the TIFF exploit could eventually be peppered around the web in comments and forum postings

It'd be smart for the iPhone and iPod Touch Dev teams to release the exploit code as well as instructions to manually apply the patch for libtiff. It'd be pretty ironic (not to mention good PR) for the dev teams to beat Apple to the security update. Especially since the update requires the jailbreak process to get it installed.

Links:
iPod Touch Jailbreak Guide - Link
iPhone Dev Team announces public iPhone 1.1.1 Jailbreak - Link
iPhone v1.1.1 Jailbreak & AppTapp Installation Guide - Link

Also Worth Reading:
Heap-based buffer overflow: how the iPhone and iPod Touch could be hacked - Link

Posted by Jason Striegel | Oct 10, 2007 07:09 PM
iPhone, iPod | Permalink | Comments (0) | TrackBack | Digg It | Tag w/del.icio.us

October 9, 2007

Use your iPhone as a stargazing companion

iphone_astronomy_hak.jpg

NightLight wrote in with a request for a red overlay to "use your iphone in the dark but keep your night vision." I was reminded of the hacks about using red film in Astronomy Hacks: put it over your PDA or notebook computer, and you are all set. But to try it out, I needed to find an astronomy site that works well on the iPhone. Many online planetariums use Java to do their thing, but Your Sky is a great web site that does a couple of things simply and quite well: you can punch in your latitude and longitude, and you get a view of exactly what's above you at the moment. You can tap to zoom in, and you can pan around. Just what I needed. (To save a little time, figure out your latitude and longitude on your Mac, save a bookmark for your Your Sky page in Safari, and sync your bookmarks to your iPhone so you can get to the star chart quickly.)

Read full story

Posted by Brian Jepson | Oct 9, 2007 09:00 AM
Astronomy, iPhone | Permalink | Comments (2) | TrackBack | Digg It | Tag w/del.icio.us

October 6, 2007

Heap-based buffer overflow: how the iPhone and iPod Touch could be hacked

The recent scuttlebutt in the iPhone and iPod Touch developer forums is that there is a buffer overflow bug in the code used to load TIFF images in Safari (libtiff). The letdown is that the stack is not executable on the devices, leading many to think this is a dead end.

The heap, however, _is_ executable, and a heap based buffer overflow which exploits the libtiff bug may be the way to gain usable access to the iPod Touch and the 1.1.1 upgraded iPhone.

Read full story

Posted by Jason Striegel | Oct 6, 2007 05:45 AM
Software Engineering, iPhone, iPod | Permalink | Comments (1) | TrackBack | Digg It | Tag w/del.icio.us

September 30, 2007

Don't update your iPhone... yet.

iphonedevcamp2.jpg

If you've previously unlocked your iPhone, or you are considering doing it in the future, you should probably hold off updating your phone for the moment. Apple's recent 1.1.1 firmware update has been bricking hacked phones, and though there's a method for downgrading back to 1.0.2, the telephony portion of the device will remain broken (well.. until someone resolves this, hopefully soon).

Hackintosh has this quick summary:

1) If you have unlocked your phone at all, regardless of whether it's to use another sim / carrier or even just for fun and you're still using the AT&T sim, DO NOT UPDATE to 1.1.1 unless you want to render your phone useless. It will not work afterwards as things stand at the moment.

2) If you haven't unlocked your phone and you haven't jailbroken it and want to update to 1.1.1, you will not be able to jailbreak it afterwards as things stand. Until someone does Jailbreak 1.1.1, this will not change.

3) If you are still using Firmware 1.0.2, you can still synch with iTunes. If iTunes suggests you update your iPhone, just say no. In Preferences, you can turn off the setting to look for updates automatically so iTunes won't even bother asking.

4) Your 1.0.2 Phone will not just brick itself. Apple can't beam an auto bricker to your phone....You have to help them by trying to update to 1.1.1 after you've hacked it. Apple warned you, there's countless tales of woe on these forums that should serve as a warning....JUST DON"T DO IT!!!

5) If you haven't hacked your phone in anyway whatsoever and you want a cute Starbucks logo to appear everytime you're near one (as well as the other updates) then you should be fine, as long as you're aware of point 2.

As I mentioned, if you've already performed the update, you can restore the previous os firmware. None of the phone features will work, but at least you'll have your applications and WiFi connectivity back. Methods for restoring the phone's original baseband firmware, as well as an unlock method for the new firware are in the works, so my recommendation would be to just hold tight with the 1.0.2 firmware until the kinks are worked out.

Downgrade from 1.1.1 to 1.0.2 - Link
Want to update to FW 1.1.1? READ THIS FIRST! - Link

Posted by Jason Striegel | Sep 30, 2007 08:51 PM
iPhone | Permalink | Comments (0) | TrackBack | Digg It | Tag w/del.icio.us

September 22, 2007

T-Zones and iPhone: the $5.99 data plan

T-Mobile has a unlimited WAP data plan called T-Zones that's $5.99 a month. Unlike the normal $20/mo full-internet package, the T-Zones service blocks ports 80 and 443 (the default http and https ports).

There is, however, a T-Mobile WAP to HTTP proxy server that will (assuming your device is configured correctly) allow you to browse the web on the cheap plan, and this is just what Windows Mobile users have been doing for a while to get affordable, unlimited, mobile web service. Now that the iPhone is easily unlocked and usable with T-Mobile's service, you can do the same. You just need to configure your iPhone to use the proxy server. It's a little slower, but at 6 bucks, it's probably the cheapest data plan available.

T-Zones (a.k.a. $5.99 Internet access) on the iPhone - Link
iUnlock: free software-based iPhone unlock utility - Link

Posted by Jason Striegel | Sep 22, 2007 10:11 PM
iPhone | Permalink | Comments (0) | TrackBack | Digg It | Tag w/del.icio.us

September 14, 2007

What's in store for the iPod Touch?

ipodtouch_20070914.jpg

Over at the iPhone Dev Wiki, people are taking a crack at hacking the iPod Touch. The discussion so far is that Apple has encoded the firmware image differently for the iPod Touch. Because of this, there is currently no working jailbreak method that will allow you to get 3rd party software onto the deivce. I'm pretty excited for this to get sorted out... there are some key features that are sadly missing from the iPod Touch.

Keep your fingers crossed, though. Here are a few things you'll be able to do once this obstacle is surmounted:

  • enable SSH access
  • copy Mail, Maps, Stocks and Weather apps from an iPhone to the iPod
  • install important 3rd party software like Apollo IM (AIM client) and NES.app (Nintendo emulator)

Personally, I just want a nice little WiFi-enabled web client that I can install apps on for, say, a hundred bucks less than the iPhone.

Posted by Jason Striegel | Sep 14, 2007 07:47 PM
iPhone, iPod | Permalink | Comments (0) | TrackBack | Digg It | Tag w/del.icio.us

September 11, 2007

iUnlock: free software-based iPhone unlock utility

iunlock1_20070911.jpg

Today was a busy day for iPhone hacking. First, example exploit code that unlocked the iPhone was released by the iPhone hacker Zappaz. Shortly thereafter a full iPhone unlocking utility became available at the iPhone Dev Wiki, along with step-by-step instructions for making it all work. The source is available for both codebases, so it's cool to see that the hack is no longer exclusively in the hands of closed-source, iPhone unlocking profiteers.

It takes about 20 minutes, but when you're done you'll be able to use your iPhone with any network you please, without even cracking the case. [via]

iUnlock - Link (Source)
iUnlock guide - Link
iPhone imode exploit example code - Link

Posted by Jason Striegel | Sep 11, 2007 07:12 PM
iPhone | Permalink | Comments (2) | TrackBack | Digg It | Tag w/del.icio.us

September 7, 2007

NES.app - Nintendo emulator for the iPhone

nesiphone_20070907.jpg

NES.app is a full blown Nintendo emulator for the iPhone. It supports the device's multitouch interface, so you can use the virtual on-screen game pad with your thumbs, just like the Nintendo gods intended.

NES.app uses a heavily modified version of the InfoNES emulation core to mimic the 6502 processor in a Nintendo Entertainment System, allowing you to play ROM dumps of games designed for the NES console.

NES.app started as a fork of iPhoneNES v0.01, but has been completely rewritten to run very fast, and with many additional features including sound, multitouch support, full-screen, landscape mode, game genie codes, saved games and much more.

It's supposed to run pretty well, but if you're using game genie codes or a more graphically demanding title, there's a frame-drop feature... It'll still play realtime, but just a bit choppier.

What I'm really excited about, though, is the state saving ability, which allows you to stop a game mid-play and then start it again from that point at a later time. I could never beat Contra even after resorting to some "up, up, down, down, left, right, left, right, b, a, b, a, select, start" business, and my Super Mario skills have always been wanting, so maybe this is my chance to regain some 1980s self respect.

NES.app: The Nintendo Emulator for iPhone - Link

Posted by Jason Striegel | Sep 7, 2007 05:59 PM
Retro Gaming, iPhone | Permalink | Comments (1) | TrackBack | Digg It | Tag w/del.icio.us

Page 2 of 6 1 2 3 4 5 6

Bloggers

Welcome to the Hacks Blog!

Brian Jepson.Brian Jepson


Jason Striegel.Jason Striegel


Philip Torrone.Phillip Torrone



See all of the books in the Hacks Series!
Advertise here.

Recent Posts

www.flickr.com
photos in Hacks More photos in Hacks