How to take screen shots of the iPhone

intel Mac & PPC


Erica Sadun over at The Unofficial Apple Weblog wrote a nice program for capturing the screen of the iPhone. This is great for those of us who mod our iPhones, so we can now show off our work instead of having to settle for not so great snap shots of our iPhone in less than ideal lighting conditions. You can read her article here.





Attention

I will be using Fugu to upload the files in this tutorial. These instructions can be applied to any files you want to add to your iPhone, provided you already have SSH installed. If you have not installed BSD Subsystem, OpenSSH, or BossPrefs (via the Installer) or used Fugu before, then you must read this tutorial first.



Step 1.

Download the screenshot program here.




Step 2.

On your iPhone, press Home, "Settings", "General", "Auto-Lock", then select "Never". This will keep the iPhone from disconnecting the SSH connection while working on this install.

iPhone



Start Fugu. Navigate to where screenshot is on your computer on the left side. Then navigate to /usr/bin on the right side.

iPhone



Drag the screenshot file to the /bin folder. Now that the program is installed, it needs to have its permissions set so that it is executable (i.e. it will "run"). Right click screenshot and select "Get Info".

iPhone



Make sure you see the number 0755 in the "Octal Mode Representation" box. Click "Apply", if you had to change it, and close the window.

iPhone



To take a screen shot, you need to open the Terminal on your Mac (it is in the Applications, Utilities folder). Login in to the iPhone via SSH: ssh -l root (YOUR IP), enter your password and type: cd /bin   Then press enter. Type: screenshot   Then press enter.

iPhone



The pictures are stored in .png format in the /tmp directory. They don't get saved incremently, they will continue to overwrite the previous file, so you'll need to save them right away. You can either just drag them out of the program onto the desktop or copy them to the left side.

iPhone



Here's the final product.

iPhone







Return to top of page