How to install CyanogenMod 13 in Sony Xperia Z5 ?

Install a stable custom ROM on Sony Xperia Z5 by flashing CyanogenMod 13. CM13 is built on Android Marshmallow 6.0 with excellent features.

An unofficial but very stable CyanogenMod 13 ROM for Sony Xperia Z5 has been developed by developers at XDA. The ROM is quite stable with latest release eliminating most of bugs and issues. CyanogenMod is one of the best Android custom ROM. It has many superb features that are lacked in stock Android ROM.

  • Inbuilt root support.
  • Minimum bloatware.
  • Good speed and performance.
  • Enhanced security.
  • Large variety of themes and skin.
  • Advanced Gestures and Equalizer


  1. Take Backup of your device data
  2. Keep the battery above 60%
  3. Please read the guide carefully
  4. Above all, we are not responsible for any damage caused to your phone. Proceed at your own risk


Install CyanogenMod in Sony Xperia Z5

Note: Make sure you have unlocked the bootloader and flashed TWRP in your device. Rooting is not required for installing CM.

Flash a Custom Kernel

You need to first install a custom kernel on your device for smooth running of Xperia Z5 on CyanogenMod (Alpha). If you  wish you can skip flashing custom kernel on your device but ROM may not  work smoothly with stock kernel.

  1. Download the Sunkernel_CM kernel and store it in internal storage of your device.
  2. You should have an unlocked bootloader and TWRP installed on your device. Look section under prerequisites)
  3. Reboot your device in recovery mode by powering off the device and pressing power key and volume up key simultaneously.
  4. In recovery mode tap on install and navigate to the folder where kernel file is stored. (Its better if you wide data and cache before installing kernel)
  5. Tap on the file and swipe to confirm the installation.
  6. Reboot the device.

    CyanogenMod Booting Logo

    CyanogenMod Booting Logo

Flash CM 13

After you have installed a custom kernel on your device you can now flash CyanogenMod 13 ROM.

  1. Download the latest CyanogenMod file and store it in internal storage of your device.
  2. Reboot in recovery mode.
  3. In TWRP recovery take the backup of your data.
  4. Tap Backup and swipe to confirm.
  5. Once done backing up.
  6. Tap wipe, wipe data and cache.
  7. Now tap and install and look for the file and swipe to confirm installation.
  8. Reboot your device. An initial reboot may take a bit long time so do not panic.


    TWRP Recovery

Flash Google Apps package for CM (optional)

Once you have flashed CM 13 in your Sony Xperia Z5 you can now flash package of Gapps on your device.

  1. Download and store the Gapps in internal storage of your Xperia.
  2. Again reboot in recovery mode and wipe data and cache.
  3. Tap on install and flash Gapps on your Device

Holla! CyanogenMod 13 ROM is installed on your device.

Working features with CyanogenMod in Xperia Z5

  • Camera
  • Mic
  • Internet
  • Flash light
  • Voice call/microphone/volume
  • Wifi/Hotspot/Bluetooth
  • proximity sensor
  • Gestures
  • Fingerprint sensor having small issues but working
  • GPS
  • And all major working features and software

Not working features/issues with CM

  • Long booting times
  • Issues with Class 10+ MicroSD cards
  • Color glitche issue when booting the device.
  • And some minor negligible bugs like force closing for some 3rd party apps.

Credit: XDA

Note & conclusion: We do not recommend you to flash an unofficial custom ROM on your device. DigitBin is not liable for any damage caused what so ever. Readers discretion is advised. 

I hope the post was helpful. Do comment below for any assistance required.

If you've any thoughts on How to install CyanogenMod 13 in Sony Xperia Z5 ?, then feel free to drop in below comment box. Also, please subscribe to our DigitBin YouTube channel for videos tutorials. Cheers!

Nikhil Azza
Nikhil is a Tech Blogger who sometimes loves to write real-life lore. He has been writing content for the past 8 years, with over 1K+ articles written on Android, Mac, iOS, Social Media, Cloud Storage, Software, and General Tech. Know More

Leave a Reply

Your email address will not be published. Required fields are marked *