About this site's lack of design: Yes, it's supposed to look this way — I'm helping create a new sandbox theme for WordPress (see it on GitHub).

Dan Rubin's SuperfluousBanter

Suffering from chronic idiocy since 1977

|

Customize your iPhone: DockSwap

Update: “Dock­Swap” is now known as “Cus­tomize”. Also, for more theme-like options, you may want to use Sum­mer­board instead »

Note: Before fol­low­ing this tuto­r­ial, make sure you have every­thing you need »

With the intro­duc­tion of the iPod Touch, many iPhone own­ers (myself included) let slip a few quiet “ooohs” and “ahhs” at the more Leopard-esque Dock back­ground behind the 4 main appli­ca­tion icons:

iPod Touch Dock

Ini­tially, I just resigned myself to the hope that Apple would update the look of the Dock in the next major iPhone Soft­ware Update. But then a few days ago, a new appli­ca­tion appeared in the Installer.app list: Dock­Swap, along with some cus­tom Dock back­ground images. Bleeding-edge devel­op­ers be praised! Of course, I had to install it and make my own cus­tom back­ground, and this tuto­r­ial is a result.

Before and after

By fol­low­ing the steps below, we’re going to take our iPhone Dock from its default style:

the default iPhone Dock

to a shiny new “iPhone Touch” version:

customized iPhone Dock

We won’t be replac­ing the default appli­ca­tions or icons in this tuto­r­ial, though I plan to cover launch­ers and Spring­Board cus­tomiza­tion in the future.

Get Dock­Swap

Before we dig into the graph­ics, launch Installer.app on your iPhone, and install Dock­Swap. There are also some cus­tom back­ground images for Dock­Swap, so go ahead and install them if you want to play around with some alter­nate options.

Do not touch?

When I started writ­ing this tuto­r­ial, the default pack­age of cus­tom Dock back­grounds did not include any iPod Touch ver­sions, how­ever this has since been reme­died. For those of you who don’t want to cre­ate a cus­tom ver­sion (e.g. chang­ing the back­ground color to some­thing other than black) or haven’t cus­tomized the four default iPhone appli­ca­tion icons (Phone, Mail, Safari, iPod), you can just install the cus­tom images and use one of the included iPod Touch back­ground images—however, as of this writ­ing, I still pre­fer my ver­sion since it is closer to the real iPod Touch background.

The tem­plate

To make it as easy as pos­si­ble to cus­tomize the dock image, I’ve cre­ated a sim­ple, lay­ered Pho­to­shop file that includes the default set of icons, a cus­tomiz­able back­ground color layer, and the other ele­ments in sep­a­rate lay­ers in case you want to play around on your own:

If you don’t have Pho­to­shop, I’ve also cre­ated two PNGs, one with reflec­tions and one without:

You can just use these as-is, or edit them using your non-Photoshop image edi­tor of choice.

Your cus­tom background

If you don’t plan to make any cus­tomiza­tions, and just want the iPod Touch look, you can just down­load one of the PNGs above and skip to the next sec­tion. Oth­er­wise, read on.

The PSD includes a text layer with reminder instruc­tions, so make sure you hide that before export­ing your image.

You can eas­ily change the back­ground color of the dock by double-clicking the bot­tom layer in the layer group (named “bg color”). Some col­ors will work bet­ter than oth­ers, so play around until you get the desired result. Darker col­ors will work better:

alternate Dock background colors

Of course, there’s no limit to what you can do visu­ally, but I’ll leave fur­ther explo­rations to you.

Once you have your back­ground image the way you want it, just save it as a PNG (via Save As… or as a 24-bit PNG using the web export option).

Upload and apply

Now that you have your cus­tom back­ground image(s), it’s time to get them on your iPhone, and the eas­i­est way is via SFTP. If you fol­lowed the instruc­tions, you will be able to con­nect directly to your iPhone via its IP address (your iPhone must be con­nected to a WiFi net­work for this to work). To find your iPhone’s IP address, tap Settings→Wi-Fi, then the blue arrow next to the name of the net­work to which you are connected.

Con­nect to that IP address using your SFTP client, with “root” as the user­name and “dot­tie” as the pass­word (to keep the con­nec­tion alive, you may need to tem­porar­ily change your iPhone’s Auto-Lock set­ting to “Never”, under Settings→General→Auto-Lock, to pre­vent the iPhone from enter­ing sleep mode).

Once logged in, nav­i­gate into the “Library” direc­tory that appears (the full path to this direc­tory is /private/var/root/Library). Once there, nav­i­gate into the “Dock­Swap” direc­tory (if it doesn’t exist, cre­ate it), and then cre­ate a new direc­tory named “Cus­tom”.

Upload your back­ground images into the newly cre­ated “Cus­tom” direc­tory, then launch Dock­Swap on the iPhone and select your new back­ground image. Press your “Home” but­ton to return to the Spring­Board (which auto­mat­i­cally restarts), slide the unlock switch, and your Dock should now be graced by your cus­tom back­ground image!

Share your customizations

In the grand spirit of shar­ing, if you cre­ate some snazzy new cus­tom Dock back­ground, post it online and link to it in the com­ments of this entry, and I’ll start cre­at­ing a col­lec­tion that can be posted as a pack­age. I may also see about get­ting such a pack­age added to the Installer.app sources so it can be reg­u­larly updated and eas­ily installed on iPhones everywhere.

Even if you pre­fer to not share your cus­tom images, go ahead and post screen­shots of your cus­tomiza­tions to Flickr and add them to the iPhone Cus­tomiza­tion group.

This item was posted by Dan Rubin on Monday, September 10th, 2007.

Categories:

You can follow comments on this item via the RSS 2.0 feed.

Comments are closed.

8 comments on “Customize your iPhone: DockSwap”

  1. Posted by diana on Tuesday, September 18th, 2007.

    sorry i’m a bit new to all this and i’m pretty excited about get­ting started. i’m hav­ing a hard time con­nect­ing to my iphone via sftp.. am i doing some­thing wrong? i got the ip address, but what do i do with it? i’m using ws_ftp pro.. will that work?

  2. Posted by Wheng on Sunday, September 23rd, 2007.

    I was try­ing to con­nect using sftp “WS_FTP pro” to my iphone to upload sum­mer­board themes I made but I keep get­ting con­nec­tion fail­ure.. Am I miss­ing some­thing? :( even tried to install mobilefinder and ishare on my iphone but when I was try­ing to even login on ishare my IPHONE FROZE! I was about to break down since my iphone is only 2 days old. but I got it rebooted press­ing and hold­ing “home and power at the same time” Thank Goodness.

    Pls help?

  3. Posted by DrDiesel on Tuesday, September 25th, 2007.

    My under­stand­ing is that WS_FTP Pro is not SFTP. I may be wrong since I don’t like the pro ver­sion myself. How­ever, Win­SCP does have SFTP abil­i­ties and that’s what I have always use for SFTP con­nec­tions. With that said, I to am get­ting a con­nec­tion error when I try to con­nect. Does Dock­Swap need to be installed in order to use that user­name and pass­word? Or, if not, what else might it be? I ask this because I can’t even find Dock­Swap in the installer.app any­more, did it get removed or am I maybe look­ing at it from the wrong Ser­vice (is that even possible)?

  4. Posted by Dan Rubin on Friday, September 28th, 2007.

    @Diana/Wheng: As DrDiesel noted, WS_FTP Pro doesn’t seem to sup­port SFTP. CuteFTP (as linked in the orig­i­nal instruc­tions) does, as does Win­SCP, and a few oth­ers, but since I’m not on Win­dows I don’t have an exten­sive list.

    If you are still hav­ing con­nec­tion prob­lems, make sure you have installed Com­mu­nity Sources from within Installer.app. You should do that before installing SSH on the iPhone. Also, you may have to restart your iPhone after installing SSH, and your iPhone *must* be con­nected to the same wi-fi net­work as your laptop/desktop that you are using to con­nect. If you aren’t on the same sub­net, you won’t be able to reach the IP address (unless it’s a publicly-accessible IP, which is very unlikely).

    Finally, Dock­Swap is now “Cus­tomize”, and has a bunch of extra fea­tures. Chances are, you’ll want to swap your dock image using Sum­mer­board now (along with all its theme options), but if you don’t want all that, Cus­tomize is the way to go.

  5. Posted by gaurav on Thursday, October 25th, 2007.

    ok i bought a iphone in belize it was work­ing fine until i uploded ssh with i brickr and no mat­ter how i reset iphone wont work keeps freezzing and aslo keeps soft reset­ing by itself some one please help me

  6. Posted by Justin on Saturday, January 19th, 2008.

    hi, i cant seem find Dock­swap in the installer.. Some­one got a source?

  7. Posted by sam on Wednesday, January 30th, 2008.

    i need iphone Dock back­ground for ipod touch 1.1.2, coz i dont need 1.1.3 rite now „„ can some1 gimme the link 2 down­load the iphone Dock background???