How to Install CyanogenMod 13 Nightly on Sony Xperia M

CyanogenMod is actively supporting lots of Android devices which are long abandoned by manufacturers and one of those devices is Sony’s Xperia M. CyanogenMod has started releasing CyanogenMod 13 nightly builds for the Xperia M which are based on Android 6.0.1 i.e. Marshmallow. Here’s how they can be installed.

Steps to Install CyanogenMod 13 on Sony Xperia M


(adsbygoogle = window.adsbygoogle || []).push({});
  • Before Installing CM13 make sure you have your bootloader unlocked. If you haven’t unlocked then follow the unlock tutorial.
  • Make sure that you are either on CM11/12.1 build or on Android 4.3 Stock build. If you are on Android 4.1 then do update your phone to either of the builds. The reason for having those build is that they have different radio base band. If you install CM13 over android 4.1 you might be facing the following issues.
    • IMEI Null
    • SIM not Detected
    • No Services
  • Your device has at least around 50% battery.


  1. Download the latest build from here and copy it to your device’s internal storage.
  2. As Sony doesn’t come with recovery installed in it so you need to use the boot.img to get the recovery installed.
  3. From the downloaded ROM extract boot.img and place it in the folder where ADB is installed. (If not installed then you can get ADB Drivers from here.)
  4. Connect your device to PC. Then open command prompt and run the following commands one by one to install the recovery.
    adb reboot bootloader
    fastboot devices
    fastboot flash boot boot.img
    fastboot rebooot

    Install Recovery- Sony Xperia M

    Install Recovery

  5. When the device is booting, at the screen when SONY logo is flashing start pressing Volume UP button once you seen PINK LED at the bottom to boot to recovery. When the LED changes it’s color  from PINK to BLUE means you are entering to Recovery.
  6. After you boot to recovery navigate to Factory reset and wipe data and cache.
  7. Now Select Apply Update and select the ROM and flash it.
  8. Once the flashing process is completed reboot your device.

Take a look at the video for better understanding.

That’s it. You have installed CyanogenMod 13 on Sony Xperia M. First boot will take some good time so don’t worry. Let us know if you faced any issue in installing it, we will be happy to help you. 🙂

, ,

4 Responses to How to Install CyanogenMod 13 Nightly on Sony Xperia M

  1. sanjay August 27, 2016 at 10:22 pm #

    it takeing too time

    • Saif August 28, 2016 at 8:26 am #

      Time for what ? Booting ? or Installing ?

  2. Mefna September 8, 2016 at 2:46 am #

    I successfully installed CM-13 20160904, then 2 days later came a OTA update request and I OKed.
    And after re initializing the phone doesn’t turn on, just keep blinking the screen whit a blue led ligth at the bottom.
    I already retake the procedure step by step trying to do a fresh install but it didn’t take.
    What should I do?

    • Saif September 8, 2016 at 8:08 pm #

      Install again the build via recovery.
      Just wipe the Caches and Dalvik caches and flash back.
      If still it doesn’t work the wipe the complete DATA and do fresh install.

Leave a Reply