HTC Tattoo: Full Update Guide

From CyanogenMod Wiki
Jump to: navigation, search

This guide will walk you through the process of taking the HTC Tattoo from stock to having the ability to flash the latest version of CyanogenMod.

Contents

Before you do anything — Make a backup

Don't forget to back up your data. If you have synced the device with a Google account, then the contacts, calendar, Gmail, & select other Google-related data will not be lost and will come back after the next sync. However, you should backup anything you want to keep that is not stored on the SD card:

It would also be a good idea to backup everything stored on the SD card in the rare case the SD card must be formatted to resolve any major problems.

MyBackup Root, SMS Backup & Restore, and Call Backup & Restore are all free applications that can assist with backing up your data.

Rooting the HTC Tattoo

Warning: Rooting the HTC Tattoo will void the warranty.
  1. You will need ADB on the computer to root the HTC Tattoo. Follow the Android SDK guide, to get the ADB shell on the computer.
  2. Download m7 & Superuser package:
    • m7: Download
      md5: 0f8c613cc665009b11adcb1b8816b320
    • Superuser package: Download
      md5: 476d49f9895a3cff0d0609240e572c05
  3. Unzip both zipfiles and copy the contents to the same folder as adb (the /platform-tools folder within the Android SDK folder).
  4. Connect the HTC Tattoo to the computer via USB.
  5. On the computer, open terminal and run the following commands:
    adb shell "mkdir /data/local/bin"
    NOTE: If it returns an error, it means that the directory already exists, just proceed on.
    adb push m7 /data/local/bin/
    adb shell
    cd /data/local/bin
    chmod 755 m7
    while ./m7 ; do : ; done
  6. A lot of of text will start appear in the terminal. This is normal. After a moment you should see #. Run the following commands:
    export LD_LIBRARY_PATH=/system/lib
    export PATH=/system/bin
    id
  7. You should get something similar to this: uid=0(root) gid=1000(shell) groups=1003(graphics),1004(input),1007(log),1011(adb),1015(sdcard_rw),3001(net_bt_admin),3002(net_bt),3003(inet). uid=0(root) is the important bit here; this means the root was successful. We still need to make it permanent & easier to us. Run the following commands:
    exit
    NOTE: This is to exit the adb shell. Do not exit the terminal.
    adb push su /data/local/bin/
    adb shell
    cd /data/local/bin/
    chmod 755 su
    while 'true' ; do ./m7 ; done
    export LD_LIBRARY_PATH=/system/lib
    export PATH=/system/bin
    chown root.root su
    chmod 4755 su
    mount -o rw,remount /dev/block/mtdblock5 /data
    mount -o rw,remount /dev/block/mtdblock3 /system
  8. At this point the HTC Tattoo is fully rooted. Continue to the next section.

Installing the ClockworkMod Recovery

  1. Download flash_image & the latest version of the ClockworkMod Recovery:
    • flash_image: Download
      md5: bd475f29e0665c702f8eaf57a0423b58
    • ClockworkMod Recovery 3.0.2.7: Download
      md5: b3dccd7ee67ac8bbf263f41b10df72f6
  2. Unzip flash_image to the same folder as adb (the /platform-tools folder within the Android SDK folder).
  3. Copy the ClockworkMod Recovery to the root of the SD card (NOT in any folders).
  4. Connect the HTC Tattoo to the computer via USB.
  5. On the computer, open terminal and run the following commands:
    adb push flash_image /data/local/bin/
    adb shell
    su
    cd /data/local/bin/
    chmod 755 flash_image
    ./flash_image recovery /sdcard/recovery-clockwork-3.0.2.7-click.img
  6. The ClockworkMod Recovery is now installed on the HTC Tattoo. Continue to the next section.

Flashing CyanogenMod

Method via Recovery

  1. Download the latest version of CyanogenMod.
    Optional: Download the Google Apps for the device.
  2. Place the CyanogenMod update.zip file on the root of the SD card.
    Optional: Place the Google Apps .zip on the root of the SD card also.
  3. Boot into the ClockworkMod Recovery.
  4. Once the device boots into the ClockworkMod Recovery, use the side volume buttons to move around, and either the power button or the trackball to select.
    Optional: Select backup and restore to create a backup of current installation on the HTC Tattoo.
  5. Select the option to Wipe data/factory reset.
  6. Then select the option to Wipe cache partition.
  7. Select Install zip from sdcard.
  8. Select Choose zip from sdcard.
  9. Select the CyanogenMod update.zip.
    Optional: Install the Google Apps by performing steps 7 - 9 again and choosing the Google Apps update.zip.
  10. Once the installation has finished, select +++++Go Back+++++ to get back to the main menu, and select the Reboot system now option. The HTC Tattoo should now boot into CyanogenMod.

Method via ROM Manager

  1. Launch RomManager.
    Optional: Choose the first option in the app, Flash ClockworkMod Recovery to update to the latest version.
  2. Select the Download ROM option from the main menu in the ROM Manager.
  3. Select the CyanogenMod option, and then choose the latest version of CyanogenMod from the menu.
    Optional: When you select the latest version of CyanogenMod, check the Google Apps option.
  4. Once the ROM is finished downloading, it asks if you would like to Backup Existing ROM and Wipe Data and Cache.
  5. If Superuser prompts for root permissions check to Remember and then Allow.
  6. The HTC Tattoo will now reboot into the recovery, wipe data and cache, and then install CyanogenMod. When it's finished installing it will reboot into CyanogenMod.
Personal tools