Instructables

Apple iOS Serial/USB Cable for Kernel Debugging

FeaturedContest Winner
Picture of Apple iOS Serial/USB Cable for Kernel Debugging
During the presentation "iOS Kernel Exploitation" at Blackhat/Syscan 2011, Stefan Esser provided some details about how to build an iDevice (iPad/iPod/iPhone) cable that could be used to enable serial console functionality and kernel debugging capabilities within an iOS device. The following instructions will show the complete steps needed to build this cable as some of the information within the publicly available slides was found to be incomplete. You will need the following materials to build this cable:

* Soldering Iron, Solder, Wire, Wire Cutters & Wire Strippers.
* 2x mini-USB-B to USB-A cables
* FT232RL USB to Serial break-out board
* PodGizmo PodBreakout (v1.5 used here)
* 470k (or near enough to 500k) resistor
* An old iPhone or similar for testing purposes.


Please be aware that this is not an Apple approved accessory and connecting it to your IDevice is unsupported and you may damage the iDevice. I cannot be held responsible for anything you choose to do with your equipment or indeed this cable!
 
Remove these adsRemove these ads by Signing Up

Step 1: Apple iOS Serial/USB Cable for Kernel Debugging

Picture of Apple iOS Serial/USB Cable for Kernel Debugging
Solder pieces of wire to pin 12, pin 13 and pin 18 of the PodBreakout v1.5 board. You may wish to construct the PodBreakout plastic housing AFTER construction (despite what is shown here) to ease soldering to the PCB. With the three short pieces of wire attach (3cm or so) solder the 470k resistor to pin 21. You will also need to solder a piece of wire of similar length to pin 1 and the last leg of the resistor to the same location.

Step 2: Apple iOS Serial/USB Cable for Kernel Debugging

Picture of Apple iOS Serial/USB Cable for Kernel Debugging
You should now have four pieces of wire and a resistor soldered to the PodBreakout PCB. You will now solder these four pieces of wire to the FT232RL break-out board which will be used to provide serial capabilities to the UART. The resistor between pin 1 and pin 21 of the PodBreakout is an "accessory" indicator, this indicates to the connected iPhone/iPad that serial connectivity is to be enabled by placing resistance between the two pins.
drexfrancis8 months ago
do u live in muscat ?
cndg1 year ago
If you install perl on your jailbroken device, that allows you to set up and read/write the serial port directly (eg: via ssh).
poofrabbit1 year ago
Hey congratulations on being a finalist in the hack it contest! Good luck to you!
Gabse1 year ago
I have the same Soldering station in Black!
corim1231 year ago
Now the question, how can this be replicated for iPhone 5s lightning connector?
fellfrosch1 year ago
Sorry to sound/be ignorant, but what are those pliers in the main pic, and what are their purpose?
hackerfantastic (author)  fellfrosch1 year ago
Hi fellfrosch those pliers are wire strippers.
Weirdest looking pair I've ever seen, but that's what I was suspecting they were. ^_^
Mind if i ask what brand they are?
hackerfantastic (author)  fellfrosch1 year ago
I believe they are roison or similar to these http://www.maplin.co.uk/wire-stripper-31689 hope that helps!
thegrendel1 year ago
Great idea and great hack,
but I hope you don't get the Apple
litigation machine after you.
khan121 year ago
Great project by you...wanted to ask that what are the alternatives for the podgizmo setup as in live in Pakistan, it not available in Karachi.
hackerfantastic (author)  khan121 year ago
Hi khan12, I am not aware of any alternative to the PodGizmo. Sorry to hear your difficulties in obtaining one.
nikropht1 year ago
You can get the PodBreakout here
http://shop.kineteka.com/p/92/podbreakout-ipod-iphone-ipad-breakout-board
randofo1 year ago
That's a cool hack. Thanks for posting this.
hackerfantastic (author)  randofo1 year ago
Your welcome! I hope others have the same success making it. :-)
Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!