Install AOSP Marshmallow ROM on Sony Xperia Z1 and Z1 Compact

3

Xperia Z1 seems to be the first among Xperia family to receive the Android 6.0 Marshmallow update. Although its not official, here is an AOSP Marshmallow ROM that can be installed readily on your device.

Its very likely that Xperia Z1 shall receive the official update from Sony, but this could take long until the manufacturer builds a stock ROM for the device. However, if you are growing impatient, you can try out the latest Android software from Google. Now you can install the AOSP Marshmallow ROM on your Xperia Z1.

Its an initial release and users may expect some bugs. However, as it is AOSP based, it’s light weight and users can expect more builds from the developer. Lets begin with the procedure.

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.

Downloads

  • Download | Marshmallow files for Xperia Z1 (boot.img, cache.img, system.img and userdata.img)
  • Download | Marshmallow files for Xperia Z1 Compact (boot.img, cache.img, system.img and userdata.img)
  • Download |Google Apps (Gapps) For Sony Rhine devices, don not try on x86 and amd64 devices
  • Download | Mini Google Apps
  • Download | SuperSU v2.52

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 Marshmallow ROM on Sony Xperia Z1 and Z1 Compact

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

Prerequisites

  • This AOSP ROM is compatible with Sony Xperia Z1 and Z1 Compact.
  • Unlocked Bootloader is required in order to flash the packages through fastboot. To know more 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 or get to this link.
  • 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 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 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

  • Wait until the process completes and then reboot to system once done.

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

Now boot into TWRP and flash the Google apps listed in the download section. You can also gain root acess on your device. All you need to do is flash the SuperSU package, listed in the deownload 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 tutorial on how to install custom packages with TWRP, get to this link. For a full changelog and new builds, get to the developer page.

Also See:

Install Android 6.0 Marshmallow AOSP ROM on Sony Xperia Z Ultra

For queries, comment down below.

  • Praveen Madhushan

    Hey I’m willing to install AOSP Marshmallow on my z1..Can any one tell me whether is it good to do this.I’ve seen some sites syaing that camera and many features are not working..Pls help someone

  • Mohana Raju Kanakala (Mohan)

    Hay Thanks for the nice article, but downloads are missed. Please fix

  • Pingback: Get CyanogenMod 13 for Moto G 2014 LTE [Android 6.0 Marshmallow]()