Installing CyanogenMod 7 on Your Motorola Milestone

If your Milestone does not auto-mount to /media/milestone (and it probably doesn’t), adjust the first step to account for your path. Additionally, these instructions assume you are using a Linux workstation to install CyanogenMod. If you are using an alternative operating system, you’ll either need to adapt these instructions, or boot a LiveCD.

Set Up Your Path

$ export DEVICE='/media/milestone'

Connect Your Phone to Transfer Files

  1. Connect your phone via USB.
  2. In your notification area, tap “USB connection”.
  3. Select “Memory Card Access”.
  4. Tap “OK”.

Download and Install OpenRecovery

For our device, we use a version of OpenRecovery modified by 89luca89 and Azhad . This is known to work well on the Milestone.

$ wget http://android.downloadspark.com/milestone/recovery/OpenRecovery-3_3.zip
$ unzip OpenRecovery-3_3.zip -d $DEVICE/

Reboot your phone into Bootloader Mode

  1. Power off your phone.
  2. Holding the phone in portrait mode, hold right on the d-pad, and power the phone on.
  3. Connect your phone via USB

You should see the following (your bootloader version may vary):

Bootloader
90.74

Battery OK
OK to Program
Transfer Mode:
USB

Flash a Vulnerable Recovery

$ wget http://android.downloadspark.com/tools/sbf_flash
$ wget http://android.downloadspark.com/milestone/exploits/vulnerable_recovery_only_RAMDLD90_78.sbf
$ chmod u+x sbf_flash
$ sudo ./sbf_flash vulnerable_recovery_only_RAMDLD90_78.sbf

If you run into problems with this step, try another USB port.

Reboot into OpenRecovery

  1. Power off your phone.
  2. While holding the camera button, power the phone on.
  3. When presented with an exclamation mark in a triangle, hold the camera button and tap volume-up.
  4. Using the phone in portrait mode, use the d-pad up/down to navigate the menus and “click” to select items.
  5. Select “apply sdcard:update.zip”

Enable  USB Mass Storage Mode in OpenRecovery

  1. From the Main Menu, select “USB Mass Storage Mode”
  2. When you finish transfering files, select “Disable” to return to the Main Menu.

Download CyanogenMod and (Optional) Google Apps

With minor changes, you can use these steps to install any Custom ROM compatible with your device, though the examples here only cover CyanogenMod 6 and 7. Also, while installing Google Apps is (strictly speaking) optional, most users will want to, if only for access to the Android Market. Nearly every guide I’ve seen that does not explicitly include this step generates questions such as “Why can’t I access Market?”.

Option 2: Install CyanogenMod 7.1/- (based on Android 2.3.3 “Gingerbread”)

$ wget http://android.downloadspark.com/milestone/roms/cyanogenmod/update-cm-7.1.0-RC3-11.05.15-Milestone-signed.zip
$ mv update-cm-7.1.0-RC3-11.05.15-Milestone-signed.zip $DEVICE/OpenRecovery/updates/cyanogenmod.zip
$ wget http://android.downloadspark.com/google-apps/gapps-gb-20110503-signed.zip
$ mv gapps-gb-20110503-signed.zip $DEVICE/OpenRecovery/updates/google-apps.zip

Install CyanogenMod

  1. From OpenRecovery, select “Apply Update”.
  2. Select “cyanogenmod.zip”.
  3. Select “Yes”, when prompted to “Confirm installing update package”.

Congratulations and welcome to the new world! If you have made it this far, you are now running CyanogenMod, arguably the most actively-developed community ROM available for Android devices. There are a few more steps you should consider before rebooting, but the bulk of the work is over.

Install Google Apps

  1. From OpenRecovery, select "Apply Update".
  2. Select "google-apps.zip".
  3. Select "Yes", when prompted to "Confirm installing update package".
Reconfigure Baseband

  1. From OpenRecovery, select "Change Baseband".
  2. Select "Telus.zip" (or whichever one matches your carrier)
  3. Select "Yes", when prompted to "Confirm installing update package".
Change Keyboard Layout

  1. From OpenRecovery, select "Settings".
  2. Select "Keyboard Layout".
  3. Select "qwerty".
Disable OTA Updates

$ wget http://android.downloadspark.com/scripts/Disable_recovery_check_by_OTA.sh

$ mv Disable_recovery_check_by_OTA.sh $DEVICE/OpenRecovery/scripts/

  1. From OpenRecovery, select "Run Script".
  2. Select "Disable_recovery_check_by_OTA.sh"
Block Advertising

  1. From OpenRecovery, select "Menu Utility".
  2. Select "Adblock".
Fix Your Mobile Data Connection


While I have only found this issue with one device, these instructions are here for when it happens to you.

If you are unable to connect to your mobile data service after installing CyanogenMod, don't panic! Specifically, if you can make and receive calls, connect to WiFi, and only your mobile data is unavailable, try the following steps to resolve the issue.

  1. From your home screen, press Menu, select "Settings".
  2. Select "Wireless & networks".
  3. Select "Mobile networks".
  4. Check both "International data roaming" and "National data roaming".
  5. Reboot your phone (or toggle Airplane mode).

Your mobile data service should work now. Interestingly, if you repeat the steps and disable roaming data, the problem does not recur (even after rebooting).


Copyright secured by Digiprove © 2011 Chris Olstrom

Finished reading? Try one of the following:

  • Tell me what you think in the comments!
  • Get the feed, and keep tabs on new content.
  • Write a response on your blog, and post a link in the comments.
Readability - (FRE: 55.1 | FKI: 7.6 | GFI: 9.9)
3 Responses to Installing CyanogenMod 7 on Your Motorola Milestone
  1. Phil Dufault
    March 29, 2011 | 11:40

    [...] Here’s the link: Installing CyanogenMod on a Motorola Milestone [...]

    • Cayden
      June 2, 2011 | 09:51

      Very true! Makes a change to see someone spell it out like that. :)

  2. Jennylee
    June 2, 2011 | 05:34

    I bow down humbly in the presence of such greatness.

Leave a Reply

Wanting to leave an <em>phasis on your comment?

Trackback URL http://chris.olstrom.com/howto/install-cyanogenmod-on-milestone/trackback/
More in Guides (1 of 10 articles)