Upgrade the Android Developer Phone (ADP) to RC33 Manually

Please note that you will lose all data on your phone when performing these steps.

  • Mount the ADP MicroSD card
  • Download hboot-0.95.0000.zip to the mount and rename it to update.zip
  • Unmount the card and shutdown the phone (unplug the USB cable if connected)
  • Hold Home+Power to boot
  • When prompted press Alt+S and wait for the update to finish
  • Press Home+Back to reboot and wait for second update to finish and boot into the Android recovery system
  • Press Home+Back to reboot again
  • Mount the MicroSD card
  • Delete update.zip
  • Download signed-holiday_devphone-ota-130444-debug.55489994.zip to the mount and rename it to update.zip
  • Unmount the card and shutdown the phone
  • Hold Home+Power to boot
  • Press Alt+S to update and wait for update to finish
  • Press Home+Back to reboot and wait for the second update to finish and boot into the Android system recovery utility
  • Press Alt+W to wipe all data
  • Press Home+Back to reboot and wait for the reboot to finish (this could take a couple of minutes)
  • Re-setup the ADP (hint: press menu to setup custom APN settings)

Adroid Dev Phone 1

I just ordered the Adroid Dev Phone 1, an unlocked Android device available through the Developer Console.

Front - Open Front - Closed Back Side - Left Side - Right Profile - Open Profile - Closed

Price: $399.00 USD

Overview

Run and debug your Android applications directly on a device. Modify and rebuild the Android operating system, and flash it onto a phone. The Android Dev Phone 1 is carrier independent, and available for purchase by any developer registered with Android Market.

Development Platform Features

  • SIM unlocked - Put any SIM in the device
  • Hardware unlocked - Rebuild the Android operating system, and load it onto the device
  • Test out your apps on real hardware before publishing them to the world

Hardware Features

  • Touch screen
  • Trackball
  • 3.2 Megapixel camera with auto focus
  • Wi-Fi
  • Bluetooth v2.0
    • Handsfree profile v1.5
    • Headset profile v1.0
  • 3G WCDMA (1700/2100 MHz)
  • Quad-band GSM (850/900/1800/1900 MHz)
  • QWERTY slider keyboard
  • Includes 1GB MicroSD card (Can be replaced with up to 16GB card)
  • Included in the box
    • HTC Android Dev Phone 1
    • USB Cable
    • AC Adapter (with US plug)
    • Stereo Hands-Free Headset
    • Battery
    • Getting Starting Guide
    • 1G Micro SD Card (inserted into Device)

Software Features

  • Real web browsing
  • Customizable home screen
  • One-touch Google Search
  • Android Market
  • Full-featured Google applications:
    • Google Maps
    • Gmail
    • YouTube
    • Google Calendar
    • Google Talk
  • SMS and MMS
  • Music Player

OS X’s GNU Screen – Open in the Current Working Directory

How to get GNU Screen working properly in Mac OS X.

~/.bashrc

alias screen='export SCREENPWD=$(pwd); /usr/bin/screen'
export SHELL='/bin/bash -rcfile ~/.bash_profile';

case "$TERM" in 
    'screen')
         cd $SCREENPWD
         ;; 
esac

~/.screenrc

startup_message off
shell -$SHELL

Four Ways to Make Safari Better

OS X GNU Screen Proper Bash Prompt

How to get GNU Screen working properly in Mac OS X.

~/.bashrc

alias screen='export SCREENPWD=$(pwd); /usr/bin/screen'
export SHELL='/bin/bash -rcfile ~/.bash_profile';

case "$TERM" in
    'screen')
         cd $SCREENPWD
         ;;
esac

~/.screenrc

startup_message off
shell -$SHELL

Gracefully restart Apache in Debian

alias graceful="sudo /usr/sbin/apache2 -t && sudo /etc/init.d/apache2 stop && sleep 2 && sudo /etc/init.d/apache2 start"

Simple Shell Script to Manage SSH Tunnels

Manage SSH Tunnel is a simple shell script to start and stop ssh tunnels from the terminal.

Setup

Note: the setup assumes bash as the default shell

  1. Download tunnel.sh and save it to ~/bin/
  2. Add to ~/.bash_profile or ~/.bashrc

    alias tunnel_home='/bin/sh ~/bin/tunnel.sh example.net sam 22 8888'
    
  3. Replace example.net with the hostname of the server, sam with the username on the server, and 8888 with the local tunnel port

  4. Type source ~/.bash_profile or source ~/.bashrc

Usage

  1. To open the tunnel

    tunnel_home start
    
  2. To close the tunnel

    tunnel_home close
    

Better Terminal Font in OS X (GNOME)

With the release of Leopard (OS X 10.5) came a sufficiently usable Terminal (aka tabs). The only real complaint I had was the font.

Terminal

I ended up tracking down the default font used in the GNOME terminal and installed it using the steps below:

  1. Download Bitstream Vera Mono 1.10
  2. Extract the archive
  3. Double click on VeraMono.ttf
  4. Click Install Font
  5. From Terminal click Terminal->Preferences
  6. To the right of Font click Change...
  7. Select Bitstream Vera Sans for the Family
  8. Select 12 for the Size
  9. Close the Fonts window
  10. Enable Antialias text under Text
  11. Restart the Terminal