How to Update Xperia Z2 to Android 6.0 Marshmallow using AOSP ROM

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:

Flash Android 6.0 Marshmallow on

Not Working Features:

  • Camera not Working
  • Video playback colour calibration is wrong (Use MX player and it will work.

Note:

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.

Warning:

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.

Pre-Requirements:

  • 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.

Required Files:

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.

7:- Rename the boot and system to simple names like  boot.img and system.img respectively.

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.

fastboot devices

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.

You might also like

Leave A Reply

Your email address will not be published.

android 1, android, android studio, android device manager, android pie, android games, android one, android emulator, android versions, android emulator for pc, android apps, android app development, android authority, android apk, android arsenal, android apps on pc, android auto, android activity lifecycle, android app download, android architecture, android codes, android color codes, android central, android cdc driver, android car stereo, android course, android camera, android omponents, android box, android beta, android best games, android beam, android backup, android backup to pc, android basics, android games, android games apk, android games free download, android go, android gamer, android games 2018, android games on pc, android glide, android game development, android emulator online, android emulator download, android emulator for mac, android emulator for windows 10, android file transfer, android file host, android framework, android flash tool, android firmware, android hacking tools, android hd wallpapers, android hard reset, android heavy games, android data recovery, android keyboard, android kitkat, android keyboard apk, android keylogger, android imei check, android multi tools, android manager, android material design, android mobile games, android modded games, android latest version, android lollipop, android nougat, android oreo, android pie, android play store, android pc suite, android pie update, android police, android programming, android questions, android ringtones, android root, android root apk, android root apps, android tv box, android themes, android tools, android wallpapers, android wallpapers hd, android usb driver, android ui design, android update 8.0, android update 9.0, android studio, android sdk manager, android secret codes, android vidmate, android youtube downloader, android youtube downloader apk, android youtube background play, android zapya