•This tutorial is only for installing Android 6.0 AOSP ROM on Sony Xperia Z2.
•Please do not try on any other Xperia Z2 variants.
•Your phone should be rooted and haveClockworkMod recovery installed from before.
•This tutorial will wipe out all your data. Proceed at your own risk.
•Perform a Dalvik Cache wipe before proceeding from the recovery mode.
•Sony PC Companion will NOT detect your phone after installing this ROM because it is a custom firmware.
•Bootloader should be unlocked or you will not be able to install this ROM.
•Make sure you backup all your data in your phone before proceeding.
*Disclaimer:
Android Custom ROM fix ® provide various Firmware Updates and Rooting process along with Custom ROM,Modes,file are all belong to their owners/developers. The autor of this site or the developers are not responsible, if you damage or brick your device.Do it on your own risk and follow the instruction properly.
* Important:
Backup important files stored on your device before proceeding with the steps below, so that in case something goes wrong you’ll have backup of all your important files.
÷ How to Install Android 6.0 Marshmallow AOSP Custom Firmware On Xperia Z2 :
Step 1 –
Download AOSP Android 6.0 ROM for Sony Xperia Z2 to your computer and extract boot.imgfrom the zip file separately.And
Google Apps as well.
Step 2 – Connect and mount your Sony Xperia Z2 USB (mass) memory on your computer using the USB cable.
Step 3 – Now copy/paste the downloaded Android 6.0 ROM zip and Google Apps zip files to your SD card. Make sure the files are in the SD card root (not in any folder).
Step 4 – Copy/paste the boot.img file to android-sdk-windows\platform-tools directory.
Step 5 – Then turn OFF your phone.
Step 6 – Now to get into the Bootloader Mode. Press and hold the Volume Up button while connecting it again with the USB cable. Your phone LED will turn blue and it will get into the BootloaderMode.
Step 7 – Once in the Fastboot mode (on your phone), navigate to android-sdk-windows\platform-tools directory (on your computer) and openCommand Prompt (Shift + Right-click > OpenCommand Prompt).
Step 8 – Type the following command and press Enter.
fastboot flash boot boot.img
Step 9 – Then, type the following command and press Enter.
fastboot reboot
Step 10 – Now to get in the Recovery Mode. Switch ON the phone while pressing the Volume Up or Volume Down buttons a few times when you see the LED light turn pink or any other colour.
Step 11 – Once you are in ClockworkMod Recovery, select perform a full data wipe by selecting “wipe data/factory reset”. Use the Power button to select everything while in the Recovery Mode.
Step 12 – Then, perform a cache wipe by selecting “wipe cache partition” .
Step 13 – Now this is optional, but it is recommended to perform a wipe of your dalvik cache as well. You will not get into boot loops or any other errors. From CWM recovery, go to ‘advanced’ and then select “wipe dalvik cache”.
Step 14 – Then go back to the main recovery screen and select “install zip from SD card”.
Step 15 – Now select “choose zip from sdcard”. Using your volume keys, navigate to the Android 6.0 ROM zip file that you copied to your SD card and select it using the Power button. Confirm theinstallation on the next screen and the installationprocedure should start now.
Google Apps: Repeat the above step for the Gappszip file as well and install it on your phone.
Step 16 – After the installation completes, go to “+++++Go Back+++++” and reboot the phone by selecting “reboot system now” from the Recovery Menu .
Your Xperia Z2 will boot now and it might take about 5 minutes to boot on your first time. So, please wait.
That’s it! Your Xperia Z2 should now have Android 6.0 AOSP Marshmallow custom ROM installed on your phone! Go to Settings > About phone to verify.