rooting a tmobile mytouch 4g (htc glacier)

i didn’t really have sufficient reason for rooting the mytouch 4g when it was my main phone. since i’ve moved on to another phone i figured why not root it now.

the process wasn’t that difficult, but it felt more involved than the process for the tmobile g1. also i made a couple of mistakes that made the process take way longer than it should have.

the ADB (android debug bridge) is required; it’s a component of the android SDK. i have the android SDK installed via the eclipse IDE. something i found odd is that the SDK isn’t located in the eclipse directory. the path is ~/android-sdks/platform-tools, from this directory ADB can be ran like so: ./adb

./adb devices will list android devices currently connected via usb.

one thing i missed here was that USB debugging must first be enabled on the phone by going to Settings->Applications->Development->USB debugging. also you’ll want the phone to connect in a “charge only” state to avoid permission errors when copying to the phone’s sdcard.

when i was messing around troubleshooting i gathered the following info:

root@emobile:/etc/udev/rules.d# lsusb
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 05ca:1814 Ricoh Co., Ltd HD Webcam
Bus 002 Device 008: ID 046d:c00c Logitech, Inc. Optical Wheel Mouse
Bus 002 Device 016: ID 0bb4:0ff9 HTC (High Tech Computer Corp.) Desire / Desire HD / Hero (Charge Mode)

root@emobile:/etc/udev/rules.d# udevadm info -q all -n /dev/bus/usb/002/016
P: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4
N: bus/usb/002/016
E: BUSNUM=002
E: DEVNAME=/dev/bus/usb/002/016
E: DEVNUM=016
E: DEVPATH=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4
E: DEVTYPE=usb_device
E: DRIVER=usb
E: ID_BUS=usb
E: ID_MEDIA_PLAYER=htc_desire_hero_evo-4g_legend
E: ID_MODEL=myTouch_4G
E: ID_MODEL_ENC=myTouch\x204G
E: ID_MODEL_ID=0ff9
E: ID_REVISION=0226
E: ID_SERIAL=T-Mobile_myTouch_4G_SH16VRM02504
E: ID_SERIAL_SHORT=SH16VRM02504
E: ID_USB_INTERFACES=:080650:
E: ID_VENDOR=T-Mobile
E: ID_VENDOR_ENC=T-Mobile
E: ID_VENDOR_ID=0bb4
E: MAJOR=189
E: MINOR=143
E: PRODUCT=bb4/ff9/226
E: SUBSYSTEM=usb
E: TAGS=:udev-acl:
E: TYPE=0/0/0
E: UDEV_LOG=3
E: USEC_INITIALIZED=5833363341

and here’s absolutely everything you need to know for installing cyanogenmod on the htc glacier:
http://wiki.cyanogenmod.org/w/Install_CM_for_glacier

some ADB info:
http://developer.android.com/tools/device.html

This entry was written by resinblade , posted on Saturday April 06 2013at 08:04 pm , filed under IT . Bookmark the permalink . Post a comment below or leave a trackback: Trackback URL.

Comments are closed.