March 2016

Upgrading Nexus 5 from CyanogenMod 12.1 (Lollipop) to 13.0 (Marshmallow)

CyanogenMod 13.0 release post

  1. On the phone, perform a Nandroid backup from ROM Manager
  2. Under Settings > Developer options, enable Android debugging
  3. Connect the phone via USB to your computer
  4. On your computer, run [sudo] adb pull /mnt/shell/emulated/clockworkmod/backup
  5. Remove all backups on phone other than the most recent with adb shell
  6. Update to the latest TWRP image
  7. Under settings > About Phone > CyanogenMod Updates, download the update–it will go in /sdcard/cmupdater
  8. Download Google Apps for CyanogenMod 13 (ARM, 6.0, Nano)
  9. Send the package to the phone with adb push file /sdcard/.
  10. Unplug the phone
  11. Boot into recovery
  12. Wipe the System, Cache, & Dalvik partitions
  13. Install the CM snapshot and Open Gapps package

If you trigger an assert violation (radio, bootloader, etc), fulfill the requirement it complains about. These asserts are in place to make sure your firmware matches what CM13/Android 6.0.1 needs and you can actually use your device/phone as a device/phone.

I got repeated errors that has stopped.  This is the fix:

adb shell
rm -fr /data/data/
rm -fr /data/data/


Comments (0)


Install Team Win Recovery Project (TWRP)

Install TWRP Manager on the phone (requires root):


Comments (1)