Sony Xperia Z2 device owners have some good news that they can now upgrade their devices to Android 6.0 Marshmallow using AOSP ROM. latest Android 6.0 AOSP source code was previously released by Google and the developers have started porting this ROM to various smartphones. This AOSP ROM based on Android M is one of those ported ROMs which is now available for Xperia Z2. If you are interested to upgrade your phone to get this latest Android OS version then we’ve a step-by-step detailed guide. In this tutorial we’ll install the ROM via fastboot (system + boot image files) and then we’ll flash Gapps and SuperSU package to root the Xperia Z2.
Keep in mind that this AOSP ROM is a custom ROM which is developed by third-party developers, not officially released by Google. Thus you’ll be required to have a custom recovery such as TWRP pre-installed on your phone in order to flash Google Apps and SuperSU after the installation of AOSP ROM. Ready to get started? Go ahead and follow the given instructions carefully. First have a look on the bugs:
Not Working Features:
- Camera not Working
- Video playback colour calibration is wrong (Use MX player and it will work.
This given guide containing the AOSP Android 6.0 Marshmallow ROM is only working with Sony Xperia Z2. Do not apply this guide on any other or incorrect variant, as a result the device might get bricked. You can verify the model number of your device by going to Settings > About Phone.
AndroidBlog.gs will not be responsible for any kind of damage occurred to the device during or after the installation of this AOSP Android 6.0 Marshmallow ROM on your Xperia Z2. Proceed at your own risk.
- Take a proper backup of all your important data like your SMS, MMS, APN Settings, Call Logs, Contacts and media files etc with a recommended custom recovery such as TWRP recovery. In case anything goes wrong then you’ll be able to restore your data.
- Download and configure ADB and Fastboot on your PC. Get the full Android SDK from here.
- Download and install Sony Xperia Z2 (Sirius) USB Drivers on your PC.
- Enable USB debugging on your Xperia Z2 by going to Settings > Developer Options.
- Make sure that you have at least 80% of battery charge in your device before proceeding to the installation guide.
- Download Sirius Image modified boot image
- Download System Image
- Download Marshmallow Gogle Apps
- Download SuperSU v2.52
Steps to Flash AOSP ROM Android 6.0 Marshmallow on Sony Xperia Z2 and Root it:
1:- First, download the the boot image, system, suitable Google apps and SuperSU zip files from the above given links on the desktop of your PC.
2:- Copy/paste the downloaded Google Apps and SuperSU package files to the internal storage of your phone.
3:- Disconnect the Xperia Z2 and turn it OFF in order to boot into bootloader/fastboot mode.
4:- Now, turn ON the device by pressing and holding Volume Down + Power buttons at the same time for about 5-6 seconds until the bootloader screen appears.
5:- Connect again the Xperia Z2 using its USB data cable and select Fastboot (if available). Give the following command to boot into bootloader.
adb reboot bootloader
6:- Locate the folder where you have already transferred the boot image and recovery files. Extract the zipped files to get .img extension files.
8:- Open the folder where you have placed the boot and recovery files and run command prompt. Type the following command and hit enter to verify if the fastboot is working properly.
9:- Type and enter this command to flash the modified boot image:
fastboot flash boot boot.img
9:- Give the following command to flash he system image.
fastboot flash system system.img
10:- Flash the modified boot image from Sirius by giving this command:
fastboot flash boot boot.img
10:- Boot the Xperia Z2 into Recovery mode. Turn OFF the phone and then press and hold Volume Down + Power keys altogether.
12:- Go back to the main recovery menu and tap Install. Navigate to the Google Apps and SuperSU files and install.
13:- Once the installation is completed successfully, reboot system.
You have successfully installed Android 6.0 Marshmallow AOSP ROM.
Let us know in the comments area below i you have any question or trouble.