Android How to Sony Update

Guide to Install AOSP Marshmallow ROM on Sony Xperia Z1, Xperia Z1 Compact

Install AOSP Marshmallow ROM on Sony Xperia Z1, Xperia Z1 Compact

Marshmallow AOSP ROM for Sony Xperia Z1 and Xperia Z1 Compact is now available and you can flash this ROM to taste the Marshmallow experience on your Xperia Z1 and Xperia Z1. Surely these two are the first devices in Sony family that receives the Marshmallow updates, although this a AOSP based custom ROM but you may take a long wait for the official update from Sony, however if you are getting impatient and cannot wait for manufacturer updated build stock ROM then you can install this AOSP Marshmallow ROM on your Sony Xperia Z1 and Xperia Z1 Compact.


Keep in mind that this is an initial update and the users may face some bugs, but not of so serious type of bugs and you may use your device normally. But as it is an unofficial ROM so you will lose your device warranty in this case.

 Disclaimer: this guide is for Sony Xperia Z1 and Z1 compact, so don’t try it on any other device, also we and the developers are not to be held responsible for any type of damage during or after flashing or following these instructions, try it on your own risk.



  • Unlock the Bootloader of your device first.
  • Install Sony USB driver on your PC [Download Link]
  • Enable USB Debugging Mode [Setting>Developer Options> USB Debugging]
  • Enable Allow oem unlock on Settings>Developer Options. If available.
  • Custom recovery must be installed on your phone.
  • Setup ADB/Fastboot drivers on your PC,
  • Download and Setup ADB/Fastboot drivers on your computer. [Click here]
  • Download and properly install the full Android SDK package. [Click here]

Required Downloads

Files to be downloaded (boot.img, cache.img, system.img and userdata.img)

Files to be downloaded (boot.img, cache.img, system.img and userdata.img)


Step to Install Marshmallow ROM on Sony Xperia Z1, Z1 Compact

Step-1:  ADB and fastboot drivers’ setup has been done already on your PC. Also select “always allow this computer” option when you first time plug the device enabling USB Debugging.

Step-2: Download your device specific image files, Gapps and SuperSU file from the above links

Step-3: Now connect your device to your PC and transfer those downloaded files to your PC. [Place these files on the root folder of phone internal storage]

Step-4: Now disconnect your device from your computer, and turn it off.

Step-5: Now enter your device into bootloader/ fastboot mode. By [holding and pressed the volume up and connect your device to your PC via USB cable] When bootloader screen displays. Tap on fastboot if such option displays.

Step-6: Now on your computer navigate to the folder where you placed the image files,  Now [hold shift key and right-click on any empty space at that folder and select “Open command window here option to run command prompt window.

Step-7: Now In the “command prompt window” enter the following commands.

“fastboot devices”

  • This will display the devices connected to your PC. If your device doesn’t, then try to re-install drivers then check the connectivity.

Step-8: Now enter the following commands one by one to install the ROM, on your device.

fastboot flash boot boot.img

fastboot flash cache cache.img

fastboot flash system system.img

fastboot flash userdata userdata.img

Step-9: Now wait until the flashing process completes and then reboot to system.

  • After boot your device you will see the newly installed logo which indicates that you have successfully installed Android Marshmallow ROM on Sony Xperia Z1 and Z1 Compact.
  • In case of force close apps error, perform a factory reset from TWRP.

Step-10: boot into your device on TWRP recovery mode, and on TWRP Recovery mode tap on “install” to flash the Gapps files that you have downloaded already. Located the Gapps file on your phone storage that you have copies on step1. select it and confirm to install.

Step-11: Finally from TWRP main menu again tap on “Install” to flash the SuperSU file, that you have already downloaded and copied on phone storage. Locate and select the SuperSU file for installation, to get root access also. wait until the installations completes

Step-12: Then on TWRP select “Reboot” then “System” to reboot your device.


That’s it,

Cheers! You have successfully installed Marshmallow ROM on Sony Xperia Z1, Z1 Compact



If there is any query please comment us.

Leave a Comment