[AOSP] Install Android Marshmallow On Xperia Z2

In this tutorial, you will learn How to download & Flash / Install Android Marshmallow On Xperia Z2 Via AOSP ROM.Now there is an AOSP ROM available for Xperia Z2 which is really a very good news.The ROM is based on latest Android 6.0 Marshmallow.Follow the step by step guide below to Flash Android Marshmallow On Xperia Z2

Sony is not good at updating their device to latest firmware.Xperia Z2 was updated to Android Lollipop 5.1.1 recently.According to Sony’s announcement, Xperia Z2 is also going to get the Marshmallow Update (Official), but the time is unknown.It may come next year mid.So you only have one option if you want to try Marshmallow on your Sony Z2 and that is Custom ROMs.

The AOSP ROM is developed by rcstar6696, Senior Member from Xda.The ROM is in its development stage and this is the first release of the ROM so there will be bugs but we are sure in future updates everything will be fixed.Below we share bugs list

What’s not working / Bugs

– Camera not Working
– Video playback colour calibration is wrong ( use MX player and it will work but not all apps can use MX player to play Videos)
All other seems to Work for now

→ Flash Android Marshmallow On Xperia Z2

Warning:

rootmygalaxy.net will not be held responsible for any kind of damage occurred to your Xperia Z2 while following this tutorial.Do it at your own risk.

Important Read:

Follow the guide below to download & Install Android Marshmallow On Xperia Z2 Via AOSP ROM

Download

Download Sirius image boot.img

Check out the official Xda post for more info

Download ROM

Marshmallow Gapps — Link 

How to Flash / Install Android Marshmallow On Xperia Z2 (AOSP ROM)

Step By Step Guide

Android Marshmallow On Xperia Z2

  • First make your ADB and Fastboot is installed on your PC
  • Next, Copy  the Sirius image boot.img file, ROM files (boot.img, system.img etc) to this Minimal ADB & Fastboot folder.
  • Now connect your phone to your PC in fastboot mode.

To do so, turn off your Xperia Z2 completely. Now press and hold Volume Up and plug the data cable in. Your phone will be connected to your PC in fastboot mode.

  • Then Open the ADB and Fastboot folder from program and open “Py_cmd.exe” file.
  • Now in the command window input below commands
fastboot device

This will verify the connection of your device in fastboot mode.

fastboot flash [sirius]boot.img 

(Replace sirius boot.img with the exact name of the sirius image file you have)

  • Then reboot your device to recovery.To do so, turn off your phone completely. Now turn it on and see the purple LED, as soon as it blinks press the volume up or down key to boot into recovery.
  • From recovery do a full factory reset
  • Now again go to fastboot mode & connect your device to PC via USB
  • Now give the following commands one by one
fastboot flash boot boot.img 

(replace boot.img with the name of the boot.img that you have in ROM folder)

fastboot flash system system.img
fastboot flash [sirius]boot.img   

(Replace sirius boot.img with the exact name of the sirius image file)

  • Now your Xperia Z2 should have the latest AOSP android marshamallow ROM
  • Now From Recovery Flash the Gapps Zip file
  • Done!!!

Source Xda

Dibyashree Sharma
Dibyashree Sharma
Dibyashree Sharma graduated in Computer Science from NIT Rourkela. For the past eight years, she has been blogging about Android, which she is really passionate about. She has built a good reputation as a reliable source. Away from the digital sphere, Dibyashree enjoys playing tennis, a sport she is as passionate about as she is about technology.

Leave a Comment