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:
-
you are using a computer running
OS X or a similar Unix type environment
the
Android SDK is installed and appropriately configured
Step 1. Wipe the Telco Customisations
Connect the phone to your computer by USB cable
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'"
Run the edited script (this will delete many of the Telco customisations)
Ensure that you allow the commands to run as root when prompted
Step 2. Copy the CyanogenMod ROM to the SD Card
Step 3. Upload the ClockworkMod Recovery
Before starting ensure that you have downloaded this ClockworkMod recovery image.
Turn the phone off, and leave it connected to the computer
Wait for the charging batter indicator to appear
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
Hold down the power button and the volume down button at the same time
Wait for notification that the recovery image has been finished
Step 4. Reboot into the ClockworkMod recovery
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
Hold down the power button and the volume up button at the same time
Wait for the ClockworkMod recovery image to boot
Step 5. Use ClockworkMod to Install CyanogenMod
Use the menu provided by ClockworkMod to install the CyanogenMod ROM from the SD Card
Wait for the process to complete
Use the menu provided to undertake a “Factory Reset” of the device
Wait for the process to complete
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:
Turn on “Airplane Mode”
Remove all shortcut icons from the home screen and other screen
Set the date and time ensuring:
The timezone is set to “Adelaide”
The “Use 24-hour format” option is selected
Set the language to “English Australia”
Enable installation of applications from “Unknown sources”
Set the option to stay awake while charging
Disable the option to Allow mock locations
Step 7. Copy Additional Files
-
Install the Autoshutdown application
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/
Copy the Serval Project wallpaper to the device
Step 8. Configure the remaining changes
Set the Serval Project wallpaper as the currently active wallpaper
Configure the AutoShutdown application, accepting the default parameters
Reboot the phone and confirm the boot animation displays
Connect the phone to a charger to ensure the battery is at maximum capacity for the next user