Updating

From CyanogenMod
Jump to: navigation, search

These instructions are for those who have already installed CyanogenMod.

Use the CM Updater (CM10 and newer)

If you use the Google Apps addon (gapps) and are updating between versions where your old gapps is not compatible (e.g. upgrading CM 10.1 to 10.2), it is recommended you apply the update manually in recovery, because you need to flash an updated gapps package. If you do not use gapps or are upgrading a more minor version release, automatic upgrading is recommended.

To update CyanogenMod automatically:

  1. Ensure you've saved everything important, as doing an update requires the system be restarted.
  2. Go to the Settings, and then under About this [device], you should see a menu for checking for and installing updates.
  3. Follow the on-screen instructions to perform the update.

If your recovery does not support automatic update installing, you may have to install downloaded zip archive manually. In such case follow instructions in the section below, starting from step 2. You will find downloaded zip under /sdcard/cmupdater directory.

Updating Manually

Note:

These instructions should be accurate, but are a bit vague and could use some help. Feel free to fix it either by including better instructions located elsewhere, or by fixing it directly. Then remove this message!

To update CyanogenMod manually:

  1. Download the new version of CyanogenMod for your device. Also download other packages such as Google Apps. The file should typically have a name ending in .zip
  2. Boot device into recovery mode
  3. If you are doing a major upgrade like CyanogenMod 7 to CyanogenMod 10, you would want to do a Factory Reset from your recovery
    • Note: Different recovery images provide slightly different menu systems, so these instructions will have to be generic. If you have installed CM previously, the options in the recovery menu should already be familiar.
Click here to continue instructions using ADB Push (Preferred Method)
  1. In a computer terminal, make sure ADB is working by typing: adb devices. It should say XXXXXXXXXXXXX sideload where XXXXXXXXXXXXX are random characters (Not question marks)
  2. Place the CyanogenMod .zip package, as well as any optional .zip packages, on the root of /sdcard:
    • Using adb: adb push filename.zip /sdcard
    Note: You can copy the .zip packages to your device using any method you are familiar with. The adb method is used here because it is universal across all devices and works in both Android and recovery mode. If you are in recovery mode, you may need to ensure /sdcard (sometimes called Internal Storage) is mounted by checking its status in the Mounts menu. If you have booted regularly, USB debugging must be enabled.
  3. You want to use the recovery menu to select an option to flash the .zip file from sd, then locate the .zip and flash it
  4. If you have, do the same with optional packages like Google Apps
  5. Now select the option to restart the system, and hopefully it will have worked!
    • Note: If CyanogenMod 13 or above, you will have to flash CyanogenMod and Google Apps without rebooting the device in between.
Click here to continue instructions using ADB Sideload
  1. In Recovery navigate to Apply update or Install and choose ADB Sideload or Apply from ADB
    • Note: In TWRP Recovery, this is in Advanced --> ADB Sideload (You will have to swipe to start the function)
  2. In a computer terminal, make sure it is working by typing: adb devices. It should say XXXXXXXXXXXXX sideload where XXXXXXXXXXXXX are random characters (Not question marks)
  3. Type adb sideload filename.zip and press enter
  4. It should automatically flash the .zip file. To flash optional packages like Google Apps, repeat the process.
    • Note: If CyanogenMod 13 or above, you will have to flash CyanogenMod and Google Apps without rebooting the device in between.

External Links