[Xperia Z2 Android Development] arul20be:
[Stock]5.1.1][546,200 & 232][Root&Recovery][LB/UB] 6502/03 | Complete Guide | 03/10

Dear friends,

Here is the pre-rooted Android lollipop 5.1.1 stock firmware with the build number 23.4.A.0.546 for your Sony Xperia Z2 D6502/6503.

The complete guide for rooting your device is found in this thread. But, that thread is for Lollipop 5.0.2 with build number 23.1.A.0.726 fw. But the process are similar to that only.

Whatever, the experienced guys and experts can easily understand that. But for newbies and noobs? Dont worry. I will give you complete guide to root your device in an easy method. All you need is download the required files first. Before that, just know what we are going to do in this process.

*** This method is for both Rooted and Non-rooted users and for both Locked and Unlocked bootloaders. ***

What we are going to do?

1. We need to downgrade your firmware to the rootable one (17.1.2.A.0.314).

2. Then root it and, install dual recovery

3. Then flash the latest 23.4.A.0.546 zip file, which is pre rooted.

4. Reboot the phone

5. That's all!!

Required files

1. Flash tool

2. adb setup

3. Root toolkit for .314 rooting

4. Nut's dual recovery installer

5. 17.1.2.A.0.314 ftf firmware file

6. Flashable zip of 23.4.A.0.546 firmware

Downloads

The first five files are found in this thread ---> http://xdaforums.com/xperia-z2.................guide-t3085893

6. Flashable zip of 23.4.A.0.546 for D6503 variant [Mega]

7. Flashable zip of 23.4.A.0.546 for D6502 variant [Mega]

Mirror [Google drive]

6. Flashable zip of 23.4.A.0.546 for D6503 variant

7. Flashable zip of 23.4.A.0.546 for D6502 variant

Steps to install on a already rooted phone

1. Copy the flashable_D65xx_23.4.A.0.546.zip to memory card. (xx refers your variant, whether it is D6503 or D6502)

2. Boot the phone via recovery, and install the pre-rooted zip.

3. Clear cache/dalvik.

4. Reboot the phone.

5. That's all.

Steps for the non-rooted users

Make sure you have atleast 70% charge on your phone

Do not use windows 10 operating system. Instead use win 7/8/8.1

Please take backup of your apps and data, if necessary. Clean installation is best here.

1. First we need to setup our computer with all the pre required tools and drivers.

So, install the adb-setup-1.4.2.exe

2. Install the flashtool

3. Go to the flashtool installation directory and, go to drivers folder (C:\Flashtool\drivers by default).

Double click on Flashtool-drivers.exe and install the required Z2 drivers.

4. Now, copy the 17.1.2.A.0.314 ftf file into, C:\Flashtool\firmwares folder

4.1 Enable debugging mode in mobile and enable unknown sources installation​

4.1.1. To enable debugging mode in your phone, tap on build number ( Settings->About Phone-> Build number) continuously for 7 times​

4.1.2 Go back and see the developer options above the about phone menu. There you can enable debugging mode​

4.1.3. To enable unknown sources installation, go to Setting-> security and enable it​

5. Copy the flashable_D65xx_23.4.A.0.546.zip to your external sd card and remember the location, where its been copied. And, Switch off your phone.

6. Open flashtools from Computer's menu

7. Now, click on the lightning symbol on top left of flashtool

7.1. Select flash mode​

8. Now select the .314 firmware, Make sure that the APPSLOG, CACHE and DATA are checked under wipe section. Otherwise it results in a BootLoop

9. Click on flash (Bottom Right corner) and wait until it asks you to connect the phone.

10. Now, press the volume down button and connect the phone, flashing will be started.

11. Once flash is done, switch on your phone. (Close the flashtool)

12. Again, enable debugging mode and unknown sources.

13. Now open the Xperia root tool kit.

14. Double click on install.bat and connect your phone. Once rooting is done, it will automatically restart your phone.

15. Now we have to install dual recovery, open Z2-lockeddualrecovery2.7.154-BETA.installer.zip and extract.

16. open the extracted folder and double click install.bat

17. Command prompt will open. Select the option 1 and press enter

18. Dual recovery will be installed and the phone boot into recovery for the first time.

19. Keep it in recovery and select install.

20. Select the copied flashable_D65xx_23.4.A.0.546.zip

21. Swipe to confirm flash.

22. After the flashing is done, clear cache/dalvik and switch on the phone.

23. Voila!! You have installed a pre rooted lollipop firmware on your Xperia Z2 D6502/6503 with the build number 23.4.A.0.546.

The first boot may take some more time than the normal boot. Please be patient!!