Upgrading from CyanogenMod 4.2 to CyanogenMod 5/6
This guide will tell you how to upgrade from an older (4.2.15.1 or less) version of CyanogenMod (or any other rooted ROM) to CyanogenMod 5+ for Dream/Sapphire.
Note: it is recommended that you upgrade to Amon_Ra recovery 1.7.0 for the device. Dream or Magic
Note: Dream users Follow the DangerSPL instructions to update to CyanogenMod 5+.
It is recommended to start all this with a full charge on the battery.
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:
- SMS/MMS messages,
- Call Log,
- Bookmarks,
- Applications; use Titanium Backup or the Astro File Manager, for example,
- Any application data not 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.
Installation instructions
- Download the latest version of CyanogenMod.
- Magic32A / Roger's / Orange ONLY: Download the latest version of the EBI1 kernel.
- Note: This does not apply to Magics with 3.5mm jacks.
- Optional: Download the corresponding Google Apps for the device.*
- Place all the files you downloaded on the root the device's SD card
- Reboot into recovery (Hold Home + Power)
- If you want, perform a full Wipe (wipe->factory reset)-- this will sometimes prevent various issues, but at the cost of all your data/settings/etc.
- If you don't perform a full wipe, it is recommended to clear the dalvik-cache (wipe->dalvik-cache).
- Select "Flash zip from sdcard".
- Select the CyanogenMod update.zip
- Magic32A / Roger's / Orange Only: Once installation is complete, select "Flash zip from sdcard" again, then
- Select the EBI1 update.zip
- Optional: Once installation is complete, select "Flash zip from sdcard" again, then
- Select the Google Apps update.zip
- Once complete, reboot the device
- The first boot after flashing a new ROM will be substantially longer than "normal". 5 minutes is not unusual.
Troubleshooting
- Because this upgrade involves a wipe of data, you're wiping battery stats as well. Your first boot and use of the new CyanogenMod 5 should be treated as a recalibration, e.g. draining until it dies, then charge up fully and use normally). Expect the % (if enabled) to drop quickly, then last quite some time on the lower percentages.
- If, after this calibration, you still experience higher-than-average battery drain, there are several threads on the forums regarding various things to try/disable/fix/test to correct this.
- As always, fix permissions might help on no-wipe upgrades.
- The upgrade should leave your already installed applications and data intact (unless you wiped). You have to open the Market to rebuild your application database, or you will not get application updates.
- Apps2SD works differently in CyanogenMod 5 but existing apps2sd apps will be converted to the new method at first boot. userinit.sh is now run from /sd-ext/, references to /system/sd inside it will have to be changed. You may have to manually enable apps2sd (see link) to get apps working.
- Apps2SD works "even more" differently in 6.0. Android 2.2 uses the FAT partition of the SD card to store the apps on the SD card. See the links below for more information:
- http://forum.cyanogenmod.com/topic/3520-sd-partitions-in-cm6/page__view__findpost__p__31870 - A short technical description on how the apps2sd (using fat) works in Android 2.2
- http://forum.cyanogenmod.com/topic/2636-froyo-apps2sdext-2010-08-12-new-v12-include-apkmanager/ - Script to enable apps2ext in CyanogenMod 6
- Discussions on Swap and performance settings for CyanogenMod 6:
- CyanogenMod 5 Only: DangerSPL changes all keyboards to QWERTY layout; if you have QWERTZ, follow http://forum.xda-developers.com/showthread.php?t=642518 or use http://forum.xda-developers.com/showthread.php?p=5361798
- If you do a no-wipe install over 4.2 and have issues with contacts/calendar/gmail sync, market, etc; clear 'Google Apps' login information: settings->applications->manage applications; menu->filter->all; scroll to 'Google Apps', tap clear data. Open Market (or reboot the device) and sign-in with your Google login. Also, make sure sync is enabled: Settings->Accounts & Sync->gmail account, check Calendar, Contacts, Gmail.
- If you did a full wipe and some processes are crashing immediately during the setup wizard and signing in to Google fails, make sure that the date and time are correctly set! While not having the correct date/time set would appear to be a trivial problem it appears that when the date/time defaults to early 1900's that causes massive application failures.
- CyanogenMod 5.0.8 contains a bug that causes garbled text output in various applications, for example ConnectBot. You can fix this problem by flashing cm-5.0.8-DS-bidifix-signed.zip, which is linked to from this bug report comment. Put the file into the root directory of your SD card, boot into recovery, and flash it.