Article metadata

Flashing Cyanogenmod on Nexus 6

Procedures to flash Cyanogenmod nightly onto Nexus 6

Based on instruction from cyanogenmod wiki1

Install Android tools2

sudo emerge --ask dev-util/android-tools

Unlock the device

  • Enable USB debugging3

    • Enable Developer mode: DEVICE: Settings | About Phone

      • Tap "Build Number" 7 times
    • Enable USB debugging: DEVICE: Settings | Developer Options | USB debugging

  • Connect device to computer through USB

  • Go into fastboot

    • DEVICE: Power down

    • Boot into boot loader DEVICE: Hold down + for ~5 seconds

  • Unlock

    # Verify device is recognized
    fastboot devices
    # unlock
    fastboot oem unlock
  • Device: Highlight "Yes" with volume keys

  • Device: Select with power key

Install TWRPi4

  • Download the latest openrecovery twrp image from http://techerrata.com/browse/twrp2/shamu

  • Verify MD5 checksum

    md5sum ~/Downloads/openrecovery-twrp-2.8.5.0-shamu.img
  • Go into fastboot (as above)

  • Install recovery

    fastboot devices
    fastboot flash recovery ~/Downloads/openrecovery-twrp-2.8.5.0-shamu.img
  • Verify

    • Shutdown with vol keys and power

    • Go into fastboot (as above)

    • Select "Recovery Mode"

Install CyanogenMod from Recovery

  • Download latest cyanogenmod5

  • Download latest Google Apps6

  • Go into recovery mode (per above)

  • Push to sdcard

    adb push ~/Downloads/cm-12-20150213-NIGHTLY-shamu.zip /sdcard/
    adb push ~/Downloads/gapps-lp-20141212-signed.zip /sdcard/
  • Select "Backup"

    • Partitions: System, Data, Boot

    • Swipe to backup

  • Select "Wipe"

    • Select swipe "Factory Reset"
  • Select Install

    • Select /sdcard/cm-12-20150213-NIGHTLY-shamu.zip

    • Add more zips

    • Select /sdcard/gapps-lp-20141212-signed.zip

    • Swipe to Confirm Flash

    • Select Reboot System

References

Cyanogen. “CyanogenMod Downloads.” Accessed February 14, 2015. http://download.cyanogenmod.org/?device=shamu.

Gentoo Project. “Android - Gentoo Wiki.” Accessed February 14, 2015. http://wiki.gentoo.org/wiki/Android.

Kingoapp. “How to Enable USB Debugging Mode on Android 5.0 Lollipop? | Kingo Android Root.” Accessed February 14, 2015. http://www.kingoapp.com/root-tutorials/how-to-enable-usb-debugging-mode-on-android-5-lollipop.htm.

Multiple. “Google Apps - CyanogenMod.” Accessed February 14, 2015. http://wiki.cyanogenmod.org/w/Google_Apps.

———. “How to Install CyanogenMod on the Google Nexus 6 (‘Shamu’) - CyanogenMod.” Accessed February 14, 2015. http://wiki.cyanogenmod.org/w/Install_CM_for_shamu.

TeamWin Projects. “TeamWin Projects - TWRP 2.8 - Nexus 6 | TeamWin.” Accessed February 14, 2015. http://teamw.in/project/twrp2/270.


  1. Multiple, “How to Install CyanogenMod on the Google Nexus 6 (‘Shamu’) - CyanogenMod.”

  2. Gentoo Project, “Android - Gentoo Wiki.”

  3. Kingoapp, “How to Enable USB Debugging Mode on Android 5.0 Lollipop? | Kingo Android Root.”

  4. TeamWin Projects, “TeamWin Projects - TWRP 2.8 - Nexus 6 | TeamWin.”

  5. Cyanogen, “CyanogenMod Downloads.”

  6. Multiple, “Google Apps - CyanogenMod.”