Skip to content

Instantly share code, notes, and snippets.

@ksysctl
Created February 12, 2012 03:56
Show Gist options
  • Save ksysctl/1806133 to your computer and use it in GitHub Desktop.
Save ksysctl/1806133 to your computer and use it in GitHub Desktop.
Install busybox on HTC Desire with Android 2.2
Connect HTC Desire via USB cable.
Make sure USB debugging is enabled.
$ cd /path/to/android/sdk/tools
$ adb push busybox /sdcard/busybox
$ adb reboot recovery
The phone should restart in recovery mode.
$ adb shell
device># mount /sdcard
device># mount -o rw -t yaffs2 /dev/block/mtdblock3 /system
device># dd if=/sdcard/busybox of=/system/bin/busybox
device># chmod 4755 /system/bin/busybox
device># mkdir /data/busybox
device># /system/bin/busybox --install -s /system/bin/
device># reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment