[Xperia Z2 General] kakashi7593:
So I managed to root my Xperia Z2 with locked bootloader !

​

View attachment 5478579

I would like to document my little journey here for anyone who might need help.

So first flashed the stock firmware by downloading it via XperiFirm+5.6.2+(by+Igor+Eisberg)

But that tool only downloads "File" files, it downloaded 4 of them, but you need only one FTF file.

So I used FlashTool 0.9.34.0(also called Sony Mobile Flasher by Androxyde), it has a tool, Tools > Bundles > FILESET decrypt and by following the Youtube video I used that tool to create the FTF file I needed but for some reason the FlashTool put that FTF file in C:\Users\USERNAME\.flashTool\firmwares

I also needed to install the the drivers for my phone as well as fastboot drivers, this is covered in the original guide that I included in the archive above.

Steps 7,9 and 10.

Btw sorry if I skip something I did, you can fill in the gaps, I'm sure.

Anyways after FlashTool detected my device I flashed the stock firmware(23.5.A.1.291).

Then comes the moment of rooting.

So all the drivers are installed, files are there and nicely organizd, I am ready.

I opened both guides, the original one and Russian one translated to English.

Turned out both added up together to create the ultimate guide, I will explain why in a minute.

-Put the files on SD, check;

-Rename the 575 kernel files extension to .TFT , check;

-Turn off the phone, check;

-FlashTool is opened and waiting,check;

-At this moment I actually clicked on lightning bolt icon, then I clicked Flashmode and then under Source folder I located the folder where 575.tft kernel file is located.

Then I selected THE FOLDER

After that under Firmwares, the 575 kernel shows up and I go trough drop down arrows to click on it 23.5.A.0.575.

Then I click on kernel.sin in Content section.

Then under Device filter I double click and find Xperia Z2;

-At this point I slide the Firmware Selector window to the right and I don't close it, so I can see the console and what Flashtool is reporting, the console would be the part where Flashtool is writing something, all that text under those big icons(lightning bolt,BLU,lock,key..)

-After that I hold the volume down and connect the USB cable to the phone

And I notice Flashtool tells me phone is connected in flashmode

-I click Flash in the Firmware Selector window that was still open

-It does its thing and reports success.

-I disconnect the phone and close the Flashtool as Russian instructions also recommend it, dont skip this

-I turn on the phone, all boots fine and I do check the kernel by opening the service menu(dial *#*#7378423#*#* and find Service info, first line Phone software version at the end theres .575)

Actually at this point I had minor ****pants moment, Service menu wouldn't open instantly, took about 20 seconds

-Then I proceeded to flash the recovery

But here I ran into the problem, error adb server version (40) doesn't match this client (36)

That is because 3 files inside Recovery_for_MM575-291>files folder, named

adb.exe , AdbWinApi.dll , AdbWinUsbApi.dll

need to be replaced with version 40.

So I browsed online and downloaded platform-tools_r28.0.2-windows

Here is where you can find more versions

adb-win/SDK_Platform-Tools_for_Windows at master · awake558/adb-win

adb.exe fastboot.exe. Contribute to awake558/adb-win development by creating an account on GitHub.

github.com

Theres a readme that tells you what file is what version.

So I extracted the archive and inside the platform-tools folder I found the 3 files, copied them and replaced those files I mentioned earlier located in Recovery_for_MM575-291>files .

-After that I run the install.bat without admin right actually and it all goes smooth.

-Instantly phone rebooted into recovery which made me smile :)

Also I pressed any key to continue and that closed the install.bat window that opened earlier on the computer.

-Then I installed SuperSU, no problem there.

-I press the arrow to go back,

-And find and finally install 291 kernel.

-After that I click reboot button

-Phone reboots without any issues.

Boom, rooted.

Hope and wish you all the best with rooting yours.