There is no word from Sony about the Marshmallow update for its Xperia Z Ultra handset. Even if it receives the latest update, it will take long before the update makes it to this device. However, here is a chance to get the latest Marshmallow ROM for your Xperia Z Ultra. This is an AOSP ROM which makes it lightweight and very close to the Nexus devices that have already received the update over-the-air.

This is an initial release and users may expect some bugs. Overall, the ROM doesn’t have any issues like system crashes or force close. However, it does have some bugs like camera problem and SD-card not detecting at this moment. With time, users can expect more builds from the developer. Let’s begin with the installation guide.

Warning: Warranty may be void if you root or install custom ROM on your device. We at DroidViews won’t be liable for any damage to your device whatsoever. We are not responsible if you brick or damage your device. Reader’s discretion is advised.


  • Download | Marshmallow files for Xperia Z Ultra (boot.img, cache.img, system.img and userdata.img)
  • Download |Google Apps (Gapps) For Sony Rhine devices, do not try on x86 and amd64 devices
  • Download | Mini Google Apps
  • Download | SuperSU v2.52 (File: (3.8 MB))

Backup your Apps and Data

Before you proceed, make sure you backup all your data. This process will wipe all the data from your device except for the internal storage. Hence, a full backup or nandroid backup is recommended. Also backup all your internal storage files just in case anything goes wrong. Take a nandroid backup from the custom recovery before flashing the ROM.

How to Install Android 6.0 Marshmallow AOSP ROM on Sony Xperia Z Ultra

Here is a tested and working tutorial to install the AOSP based Android 6.0 Marshmallow ROM on Sony Xperia Z Ultra. The listed ROM is an initial built and consists of some bugs at this moment. However, stability and bug fixes can be expected with future updates.


  • This AOSP ROM is compatible with Sony Xperia Z Ultra only.
  • Unlocked Bootloader is required in order to flash the packages through fastboot. To do so, get to the official guide.
  • Set up ADB and Fastboot on your computer. You can download the full Android SDK package from here or get the quick ADB and fastboot installer from here. For Mac or Linux OS, click here.
  • Make sure you have custom recovery installed on your device in order to install Google apps and SuperSU.
  • Install Sony USB Drivers on your computer.
  • Open Settings> Developer options and enable USB Debugging on your device.
  • Go to Developer options and enable Allow oem unlock, if available for your device.

Installation Instructions

  • Download the all the image files listed in the download section. Now transfer them to your PC.
  • Make sure you have setup ADB and fastboot on your PC. Also accept Always allow from this computer when you plug in the device for the first time to enable USB Debugging.
  • Now power off your device and unplug it from your PC.
  • Boot into the bootloader or fastboot mode. To do so, press and hold volume up and plug in your device to the PC via USB. You will see the bootloader screen. Select fastboot if such option is available.
  • Navigate to the location where you have placed the image files. While the folder with recovery.img file is open, hold shift key on keyboard and right-click on an empty space and select “Open command window here” option to launch a cmd window.
  • Now type the following in the command prompt to check your device connectivity. It should show device information. If it doesn’t, you need to re-install drivers and check the connectivity.

fastboot devices

  • Now issue the following commands to install the ROM onto your device:

fastboot flash boot boot.img

fastboot flash cache cache.img

fastboot flash system system.img

fastboot flash userdata userdata.img

fastboot reboot

  • Wait until the process completes and your device will self reboot to system otherwise just reboot manually.

Wait until your Xperia Z Ultra boots up and when you see the boot logo, that means the firmware has successfully been installed on your device. Now if you come across any force close on apps, then you should perform a factory reset from TWRP and that should solve your problem.

Now boot into TWRP and flash the Google Apps. You can also gain root access on your device. All you need to do is flash the SuperSU package, listed in the download section, through TWRP recovery. For a full tutorial on how to backup and install custom packages with TWRP, get to this link. For a full changelog and new builds, get to the developer page.

Also See:

Pure AOSP Android 6.0 Marshmallow ROM for LG Optimus G

For queries, comment down below.


  1. I like to know whether it will work with Sony Xperia z. Mine is just Sony Xperia Z not ultra.

This site uses Akismet to reduce spam. Learn how your comment data is processed.