A root package is available for the Xperia Z3 or Z2 updated with the last stock update, which Sony issued in May with build number 23.1.A.28. It brings back the "close-all-button" feature in the activity menu along with fixes and stability improvements.
Apart from the root file, the package contains recovery, SuperSU and Busybox. Advanced users can go ahead and install the root package on their Xperia Z3/Z2, but rooting the device voids it of the manufacturer's warranty. The root supports both locked and unlocked bootloaders.
IBTimes UK will not be held liable for any damage to the device during the process, therefore, proceed with extreme caution.
How to root Xperia Z3 and Z2 on Android 5.0.2 stock build 23.1.A.28
Step-1: Download the root package and extract the zip file. You should be getting a folder named XperiaRoot
Step-2: Opening the folder you should see APL folder containing the following files
Step-3: Copy the files into the SD card of your phone
Step-4: Head over to the Settings>> Securities and check the option to install applications from Unknown sources
Step-5: Now install Root.apk. Open it and tap on Root button and wait for the process to complete
Step-6: Install Busybox.apk and Recovery.apk
Step-7: Open the installed Recovery app and tap on Install Recovery
Step-8: Boot into recovery mode. For this first switch off the phone and press Power button followed by Volume Up or, Down button for a couple of times
Step-9: In Recovery, select Install and locate the SuperSU zip
Step-10: Reboot the phone. You should now find the SuperSU in the App drawer.
To check the root access on your Xperia Z2/Z3, use any root checker app available in the Play Store.
Via Droid Views