Update Xperia M with Android 6.0 Marshmallow AOSP

Its been a while for Android 6.0 Marshmallow launched in the market as we know that Sony Xperia M, which released in 2013 so you should not expect that it will receive the latest Android Marshmallow update officially, and not to forget that the device did not even receive Android 5.0 Lollipop update.Sony Xperia MBut not to worry as Developer PecanCM over at Xda has just released an AOSP based Android 6.0 Marshmallow ROM for Sony Xperia M it seems to be very good at starting stage level. It has everything working except few minor things like NFC, GPS, MTP and Dual SIM (on Xperia M Dual).


This update needs Android 4.3 base so, if your device is running at lower version of Android that this you must first update the device to Android 4.3 then go further to update it to Android Marshmallow.

Preparing your Sony Xperia M Phone:

  • Device should be fully charged upto 100%.
  • Backup all the important data to some external storage.
  • USB drivers  for Sony Xperia M should be installed on the PC.
  • Make a Nandroid backup of the current ROM in case the new version does not work properly you can restore it.
  • Custom recovery like TWRP must be installed on the device.
  • Device should be rooted and its bootloader must be unlocked.
  • USB debugging mode should be enabled on the device. Go to Settings > Developer options > USB Debugging mode.USB Debugging

Install Android Marshmallow AOSP on Sony Xperia M:

  1. Download the Android Marshmallow AOSP file from here.
  2. Download the Android Marshmallow Gapps file from here.
  3. Transfer the Files to Device internal or external storage.
  4. Turn off the device and reboot it into Recovery mode by using appropriate hardware buttons.
  5. In recovery select Wipe Option and then tick the Data, Cache, Dalvik Cache from the next page.
  6. Swipe the Swipe to wipe button at bottom of the Screen.
  7. Now return to main menu and select the Install options.
  8. Navigate to the ROM zip file and select it, then swipe the button at bottom to flash it.
  9. In the same way flash the GApps file.
  10. Return to main menu and select the Reboot option to reboot the device.

Your device will now be updated to Android Marshmallow, you can check the version of Android in Settings > About device.