How to install CyanogenMod on a Huawei IDEOS X1 u8180

IMPORTANT NOTE This process can break your phone and therefore should only be undertaken if you are absolutely sure that you know what you are doing and accept the responsibility for breaking the phone.

This process wipes all data on the phone and therefore a backup of any important data should be made before starting.

This process assumes you are using a U8180 phone that has been customised by Optus.

Step 0. Prerequisites

This procedure assumes that:

Step 1. Wipe the Telco Customisations

  1. Connect the phone to your computer by USB cable
  2. Edit the following script to replace {path-to-platform-tools} with the full path to the platform-tools directory in the Android SDK
    #!/bin/bash
    # delete the telco customisations from a u8180 phone that has already been rooted
    # assumes that only one device is attached at a time
    #
    # declare paths
    PLATFORM_TOOLS={path-to-platform-tools}
    #
    # empty the external storage
    $PLATFORM_TOOLS/adb -d shell "rm -r /mnt/sdcard/*"
    # delete the optus boot splash
    # remount the cust partition
    $PLATFORM_TOOLS/adb -d shell "su -c 'mount -t yaffs2 -o rw,remount /dev/block/mtdblock8 /cust'"
    # delete the optus boot splash and stuff
    $PLATFORM_TOOLS/adb -d shell "su -c 'rm -r /cust/optus'"
  3. Run the edited script (this will delete many of the Telco customisations)
  4. Ensure that you allow the commands to run as root when prompted

Step 2. Copy the CyanogenMod ROM to the SD Card

  1. Copy the CyanogenMod ROM to the SD Card on the phone

Step 3. Upload the ClockworkMod Recovery

Before starting ensure that you have downloaded this ClockworkMod recovery image.

  1. Turn the phone off, and leave it connected to the computer
  2. Wait for the charging batter indicator to appear
  3. Execute the following command, replacing {path-to-platform-tools} with the full path to the platform-tools directory in the Android SDK and {path-to-img}' with the full path to the ClockworkMod recovery image
    {path-to-platform-tools}/fastboot flash recovery {path-to-img}/recovery-clockwork-5.0.2.8-u8160.img
  4. Hold down the power button and the volume down button at the same time
  5. Wait for notification that the recovery image has been finished

Step 4. Reboot into the ClockworkMod recovery

  1. Execute the following command to reboot the phone, replacing {path-to-platform-tools} with the full path to the platform-tools directory
    {path-to-platform-tools}/fastboot reboot
  2. Hold down the power button and the volume up button at the same time
  3. Wait for the ClockworkMod recovery image to boot

Step 5. Use ClockworkMod to Install CyanogenMod

  1. Use the menu provided by ClockworkMod to install the CyanogenMod ROM from the SD Card
  2. Wait for the process to complete
  3. Use the menu provided to undertake a “Factory Reset” of the device
  4. Wait for the process to complete
  5. Reboot the phone

Step 6. Standardise the Android Operating Environment

Only undertake these last remaining steps if you're preparing the phone for use by The Serval Project developers:

  1. Turn on “Airplane Mode”
  2. Remove all shortcut icons from the home screen and other screen
  3. Set the date and time ensuring:
    1. The timezone is set to “Adelaide”
    2. The “Use 24-hour format” option is selected
  4. Set the language to “English Australia”
  5. Enable installation of applications from “Unknown sources”
  6. Set the option to stay awake while charging
  7. Disable the option to Allow mock locations

Step 7. Copy Additional Files

  1. Download a copy of the boot animation, the Autoshutdown application and [[http://developer.servalproject.org/files/u8180/serval-wallpaper.png|Serval Project wallpaper.
  2. Install the Autoshutdown application
  3. Copy the bootanimation to the device using the following command, replacing {path-to-platform-tools} with the full path to the platform-tools directory in the Android SDK, and {path-to-boot-animation} to the full path of the bootanimation
    {path-to-platform-tools}/adb -d push {path-to-boot-animation}/bootanimation.zip /data/local/
  4. Copy the Serval Project wallpaper to the device

Step 8. Configure the remaining changes

  1. Set the Serval Project wallpaper as the currently active wallpaper
  2. Configure the AutoShutdown application, accepting the default parameters
  3. Reboot the phone and confirm the boot animation displays
  4. Connect the phone to a charger to ensure the battery is at maximum capacity for the next user

Login