Install CyanogenMod 7 (Android 2.2 Froyo) on Nexus One
In this article
Installing Android 2.2 (Froyo) via CyanogenMod 7 on the Google Nexus One is a definitive way to breathe new life into this classic device, offering a smoother interface and better performance than the stock Gingerbread update. This process requires unlocking the bootloader, installing a custom recovery, and flashing specific zip files. Because this involves modifying system partitions, it carries a risk of bricking your phone if steps are missed, so proceed with caution and ensure you have backed up any critical data.
What You'll Need
- A Google Nexus One smartphone (model PASSION)
- A Windows, Mac, or Linux computer with USB connectivity
- USB cable compatible with the Nexus One
- Google USB Drivers installed on your computer (Windows users specifically need these)
- CyanogenMod 7 (CM7) Nightly or Stable ROM zip file
- GApps (Google Apps) package compatible with Android 2.2 for CM7
- A backup of your current data, as this process wipes the device completely
Step-by-Step
- Enable USB Debugging: On your Nexus One, go to Settings > Applications > Development and check the box for "USB debugging." This allows your computer to communicate with the phone's command line interface.
- Unlock the Bootloader: Connect the phone to your computer. Open a terminal or command prompt and navigate to the directory containing your Android SDK tools. Enter the command `fastboot oem unlock`. Confirm the warning on the phone screen using the volume keys and power button. This will erase all user data.
- Download Recovery Image: Download a custom recovery image such as ClockworkMod Recovery (CWM) version 4.0.0.6 or higher, which is stable for Froyo-era devices. Save the `.img` file to your computer.
- Flash the Recovery: With the phone still in fastboot mode (connected via USB), enter the command `fastboot flash recovery recovery.img` (replace `recovery.img` with the actual filename). Wait for the confirmation message that the flash was successful.
- Boot into Recovery: Power off the phone completely. Hold down the Volume Down and Power buttons simultaneously until the bootloader menu appears. Use the volume keys to scroll to "Recovery" and press the Power button to select it. The phone should boot into the ClockworkMod interface.
- Wipe Data and Cache: In the CWM menu, select "wipe data/factory reset" and confirm. Then select "wipe cache partition" and confirm. This ensures no old system files interfere with the new installation.
- Transfer Files: Copy the downloaded CyanogenMod 7 zip file and the corresponding GApps zip file to the root directory of your Nexus One's SD card. If you do not have an SD card inserted, connect the phone to your computer via USB mass storage mode and drag the files onto the internal storage or SD card.
- Flash the ROM: Go back to the CWM main menu. Select "install zip from sdcard," then choose "choose zip from sdcard." Navigate to and select the CyanogenMod 7 zip file. Wait for the installation to complete. Repeat this process for the GApps zip file.
- Reboot the System: Once both zips are flashed, return to the main menu and select "reboot system now." The first boot will take significantly longer than usual, potentially several minutes, as the system optimizes apps. Do not interrupt this process.
Common Mistakes
One of the most frequent errors is attempting to flash a ROM designed for a different device model. The Nexus One has a unique processor and radio configuration; using a ROM meant for the HTC Dream or other HTC devices will result in a hard brick. Another common mistake is skipping the "wipe data" step in recovery, which can lead to boot loops where the phone restarts repeatedly without reaching the home screen. Additionally, users often forget to install the GApps package after the ROM, resulting in a system without the Play Store or standard Google apps, though this is fixable by flashing GApps later.
Tips
Always verify the checksum of the downloaded files before flashing to ensure they are not corrupted. If your phone supports it, use a high-quality SD card, as slow cards can drastically increase the time it takes to flash the ROM. It is also advisable to keep the phone plugged into a charger during the entire process to prevent battery depletion mid-flash. Finally, join community forums like XDA Developers for the Nexus One; they provide updated nightly builds and troubleshooting threads that are invaluable when things go wrong.
Troubleshooting
If the phone gets stuck on the Google logo for more than 15 minutes, force restart it by removing the battery and reinserting it. If it enters a boot loop, you must re-enter recovery mode and perform another factory wipe. If the phone does not recognize the USB connection on your computer, reinstall the Google USB drivers and try a different USB port. For issues related to the baseband or radio, ensure you are using a CM7 build that includes the correct radio firmware for the Nexus One. If the device is completely unresponsive (dead), you may need to use the `fastboot format` commands to restore the partition table, though this erases everything.
Frequently Asked Questions
Will this void my warranty?
Yes, unlocking the bootloader and installing custom software typically voids the manufacturer's warranty. However, since the Nexus One is a legacy device, warranty support is likely no longer available from Google or HTC.
Can I go back to stock Android?
You can revert to stock firmware by flashing the original S-OFF bootloader and stock ROM images via fastboot, but this process is complex and requires specific factory images that may be difficult to find today.
Is Android 2.2 secure enough for modern use?
No. Android 2.2 lacks modern security patches and encryption standards. It is suitable only for offline use, basic calls, or nostalgic purposes. Do not use it for banking or sensitive communications.
Do I need an SD card for this process?
While some custom recoveries allow flashing from internal memory, it is highly recommended to use an SD card for storing the ROM and GApps zips to avoid storage conflicts during the wipe process.
Why is the first boot so slow?
The initial boot performs dex optimization for all installed applications. This is normal behavior for a fresh ROM installation and can take anywhere from 5 to 15 minutes depending on the speed of your SD card.