Friday, December 11, 2015

Install Android 6.0 marshmallow on Sony xperia Z2 using Aosp custom rom

Its been a while since Sony has  released a new android upgrade for Xperia z2 after the lollipop update.You might have receive some stability updates which of course might have improved device performance but surely wouldn't changed any user experience.Though you might have already installed custom roms on your xperia z2 for better user experience.

This snapdragon 801 processor handset is a beast when it comes to performance.But as you know without any upgrades to the software it you mayn't achieve what this device can do with that power. Even though Sony have plans to upgrade this device to android marshmallow,they didn't announce any specific release dates.

If you are obsessed with android updates and could hold any longer to taste android marshmallow on your xperia z2 then its time for you to try out the new aosp based custom rom.If you don't know to install this custom rom your smartphone then don't worry at all am here to help you out.But if its your first time to this kind of stuff then you let me introduce some precaution before going further.This is a risky process ,I and developer wont take any responsibility for any kind of damages that happen to your device if installation goes wrong and you have to proceed at your own risk.

Follow these steps before going further:
  • Root:You must have root access on your Sony Xperia Z2 sirius.Though it is not required but to make efs backup which is important we need it.
  • Battery: Charge your Xperia Z2 sirius to at least 90% so that you wont encounter any battery related problems while flashing this rom.
  • Enable usb debugging on your xperia z2 by going into developer settings.
  • Backup Efs partitions: Backup all your efs partition of your sony xperia Z2 sirius on current Rom or firmware.Just in case if you loose signal you can just restore it back.
  • Backup:Backup all your data which includes contacts,apps,photos videos etc everything to computer or any cloud networks as flashing android marshmallow based Aosp rom on Sony Xperia Z2 sirius will wipe all your data.
  • Lock Gps:Lock your gps position on your current rom.If you use this a lot then you have to lock it so that it could work even after flashing other roms.Its easy to lock gps .Turn on gps in settings and find your current location in google maps and now now have locked on to gps.
  • You must have a unlocked bootloader.
  • Downloads: Android marshmallow based aosp rom for xperia Z2 sirius(Mega link for system.img and for boot.img) on your computer and also you need to download fastboot driver on your computer without which you cant flash at all.

Android marshmallow based custom rom for Xperia z2 sirius:

This rom is completely based on pure aosp and we sincerely thank "rcstar6696" for bringing this to our device.Since this is in early stages of development there are some bugs like camera doesnot work properly and also video playback is not working.These bugs might get fixed in future updates and it might some time too as developer might be busy with his work life.
Android marshmallow based custom rom for Xperia z2 sirius
Android marshmallow based custom rom for Xperia z2 sirius
If you dont care about these bugs and want to taste android 6.0 marshmallow on your xperia z2 sirius before the final update from manufacture is out,you can go ahead and flash it without any hesitation.If you are un aware of major features of android 6.0 then have a look at some of them.

Features of android marshmallow:
  • System ui tuner: This is new feature that let you tweak ui a bit but has been hidden just like developer option.If you want to add it to setting app,swipe down the notification panel and on top you will notice a gear icon.Press and hold it and you will notice that it starts spinning.Just leave it once you notice the vigorous spin and you will see a toast message "system ui tuner" added to settings.
  • There are ton of brand new wallpapers.
  • Google launcher now has vertical scrolling instead of horizontal.
  • Multi window: Google finally introduced multi window concept in tablet version of os.You can run two apps in a single window.Activating multi window is also too easy.When you open recents you will notice there is another option beside the closing button on cards.Press on it and activate multi window.But this multi window is not configurable which means adjust width of apps that are running.
  • Phone short cut on lock screen is replaced with google now.
  • Search bar in settings menu.
  • New volume panel: You can now adjust volume of media, call and notification from single window .This feature is absent in previous versions of android though present in most of the oem provided firmwares.
  • Auto rotation on home screen is also added which you can find in launcher settings.
  • Now on tap: If you use google now frequently this feature might help you a lot.Usually when you press and hold on home button it will take you to google now.If you enable this feature when you try to access google now on any app it load some related suggestions along with some google now card.
  • Screen shot notification will also have delete button along with share option.
  • Memory option: This is available in settings .It gives you memory usage on your device from last "3hrs or 6 hrs or 1 day".
  • App permission manger is the major thing in android m.This lets you to block certain permission so that the app cannot access them.like if you don't want facebook to access your bluetooth you can now do it with out rooting your device,
These are some of the newly added features in android m marshmallow and there are lot of changes beneath which could improve performance and also battery life but as you know this is an early build which might not run as you expect.

Flash android Marshmallow on Xperia z2:

  • Download  fastboot on our laptop or Pc and install it.You can install it any location but choose location as c: which is default location.
  • open the fastboot folder which is located in "c:\programming files".Right click on empty space by holding shift and you see an option "open cmd here".
  • If you don't find this option then press windows and R buttons at same time ,Run pops up and type cmd to open command prompt.
  • Now go to fastboot folder and copy the location of it which you can see in address bar of folder.
  • In command prompt type the command "Cd location of fastboot folder" and press enter.You will notice that fastboot appears in command line.To paste location right click on empty space in cmd and several pops up.Select paste.
  • Once you press enter you will notice minimal adb and fastboot in command line instead of c or some thing.
  • Once you are in fastboot window type "adb devices" and press enter.If your device is detected you will get a serial number in list of  devices attached.If not uninstall drivers and install them again.
  • Type the command "adb reboot bootloader" to boot into bootloader mode.If you see any pop up message on your xperia z2 about adb just accept it and mark it forever.
  • Once the device is in fastboot mode,type the command fastboot devices to check if it is detected by Pc.
  • Download System.img file from above link and copy the extracted img files to minimal adb and fastboot folder.
  • Once you have done with copying system.img,boot.img and boot.img file(make sure that boot.img file is from second link not from first link or rename boot.img file to sirius.img from second link to avoid confusion).
  • Type command "fastboot flash boot boot.img" and hit enter.
  • Type the command "fastboot flash system system.img " and system img file will be flashed.It might take some time for flashing process.
  • Once system.img is flashed type the command "fastboot flash boot sirius.img" (second link).
  • Once flashing is done type the command fastboot reboot to boot xperia z2 normally.
Once the device reboots you can enjoy latest version of kitkat on your xperia z2 sirius.If you have anyother queries regarding this guide do leave a comment below.