YOUR BOOTLOADER NEEDS TO BE/GET UNLOCKED. YOU CAN'T CONTINUE HERE OTHERWISE....
Please make sure You know what that means! HINT:
The Devices Hardware and Software Features can all be restored after re-locking except for the Device Key.
More about that at the very bottom of the Thread...
What You will need:
Windows 10 (With USB Access)
Xperia Bootloader Unlock Key (From HERE)
Platform Tools alias Fastboot/ADB (From HERE)
Fastboot and Flashmode Drivers (From HERE)
XperiFirm (From XDA)
NewFlasher (From XDA)
Unsin (From XDA)
Magisk Manager (GitHub)
A working Android System
A Backup of Your Internal Devices Storage (Maybe!?)
Let's start...
Done. You are unlocked and rooted now, just install the Magisk Manager and enjoy!
Flashing Firmwares and re-locking the Bootloader...
First of all. You can and should use NewFlasher, with an unlocked and locked Bootloader State.
That can prevent You from Bootloops and is the only way to Update Your Xperia in unlocked State since OTA don't work anymore.
Flashing a new Firmware will also wipe Your Device so make sure You have Backups!
So let's start with the Firmware Flashing (You should have followed the Steps from above before):
-Make sure Your Device is turned off and that it is disconnected from USB
-Press and hold the Volume DOWN Button while connecting to USB to access the Xperia Flashmode
-Go to Your Firmware Folder an start the NewFlasher Exe
-If it asks for rebooting choose what You want
-If it asks for extracting Drivers answer No as "n"
-If it asks for dumping the Trim Area answer No as "n"
-If it asks for flashing modem, bootloader etc. answer Yes as "y" (always do that)
Wait for it to finish and You're done with Updating/Flashing Your Firmware. Enjoy!
If You want to relock Your Bootloader...
-Just go into fastboot mode any type in the command prompt (like before in this Guide):
-Wait for Your Device and disconnect it from USB
-Download and Install the "Xperia Companion" from SONY
-Open the Xperia Companion and select Software Repair
-Select that Your Device can't get recognized (or is a Smartwatch 3 lol)
-Go to the next Page and select the Xperia Smartphone Option
-Continue and wait for the Initialization
-Press and hold Volume DOWN while connecting to USB (You will see the Green Flashmode LED again)
-Continue once Your Device gets recognized and let the Xperia Companion do his work...
Done. Your Bootloader is locked again and most of Your DRMs are restored. But please Note, that unlocking Your Bootloader erases Your unique Device Key FOREVER. That will flag Your Device as "it was unlocked". This can be checked by SONY and everyone else who has this Device in his Hands... (SONY knows it anyways).
That helped? Leave a Thanks! <3
Donations are actually also really welcome!
www.paypal.com
Please make sure You know what that means! HINT:
The Devices Hardware and Software Features can all be restored after re-locking except for the Device Key.
More about that at the very bottom of the Thread...
What You will need:
Windows 10 (With USB Access)
Xperia Bootloader Unlock Key (From HERE)
Platform Tools alias Fastboot/ADB (From HERE)
Fastboot and Flashmode Drivers (From HERE)
XperiFirm (From XDA)
NewFlasher (From XDA)
Unsin (From XDA)
Magisk Manager (GitHub)
A working Android System
A Backup of Your Internal Devices Storage (Maybe!?)
Let's start...
- Download the Drivers and install them with disabled Driver Signature Enforcement. To do so:
- Press and hold down the Shift key while you click the “Restart” Option in Windows 10 to do a advanced Restart
- Select the “Troubleshoot” Option, followed by the advanced Options and Select Startup Settings
- Click on Restart and select Option "7) Disable driver signature enforcement"
- Once back in Windows, Install the Fastboot and Flashmode Drivers
- Reboot Windows once more and You're prepared to flash Firmwares and to use Fastboot/ADB
- Download XperiFirm from XDA and extract it somewhere
- Download UnSin from XDA and extract it somewhere
- Download the Platform Tools (Fastboot/ADB) from Google and extract it to the root of Your Windows Drive
- Download the correct Firmware for Your Device Model with XperiFirm
- Download NewFlasher from XDA and extract it to Your Firmware Folder
- Download and install the Magisk Manager on Your Xperia Device
- Extract the File boot_********.sin with the Unsin Exe (Drag and drop the Image on the Exe)
- You will get a .img File which You can patch now with the Magisk Manager on Your Xperia
- Open the Magisk Manager and go into the Settings. Tap on the Update Channel and Select the Beta Channel
- Go back to the Main Page of Magisk and install Magisk by selecting the Image File You just got from UnSin
- Copy the magisk_patched.img in /download from Your Device to the Platform Tools Folder
- Grab Your Device again, go to "About Phone" in the Settings and tap several Times on the build Version
- Go now to the Developer Settings under "System" and enable "OEM-Unlock" and "USB-Debugging"
- Use now the Platform Tools with this Commands:
(You can acces Fastboot and ADB by starting the Windows Command Prompt) - Type now (Step by Step):
(To use the Platform Tools Folder as environment for Fastboot and ADB)Code:cd\ cd platform-tools
(In case You extracted the Google platform-tools Folder to Your Windows Drive) - Type now:
(You will get a prompt on Your Xperia Device)Code:adb reboot bootloader - Followed by Your Bootloader Unlock Code (You're in fastboot if You can see the BLUE LED on Your Xperia):
Code:fastboot oem unlock 0xYOURKEY - Wait for it... And type now:
Code:fastboot reboot - Wait for Your Device to Wipe and Start. Once in the Android System, turn Your Device off without USB Connected
- Press and hold now the Volume UP Button while connecting to USB to enable the fastboot Mode (You're in fastboot if You can see the BLUE LED on Your Xperia)
- Continue with flashing the Images for Root (Step by Step):
Code:fastboot flash boot_a magisk_patched.img fastboot flash boot_b magisk_patched.img fastboot reboot
Done. You are unlocked and rooted now, just install the Magisk Manager and enjoy!
Flashing Firmwares and re-locking the Bootloader...
First of all. You can and should use NewFlasher, with an unlocked and locked Bootloader State.
That can prevent You from Bootloops and is the only way to Update Your Xperia in unlocked State since OTA don't work anymore.
Flashing a new Firmware will also wipe Your Device so make sure You have Backups!
So let's start with the Firmware Flashing (You should have followed the Steps from above before):
-Make sure Your Device is turned off and that it is disconnected from USB
-Press and hold the Volume DOWN Button while connecting to USB to access the Xperia Flashmode
-Go to Your Firmware Folder an start the NewFlasher Exe
-If it asks for rebooting choose what You want
-If it asks for extracting Drivers answer No as "n"
-If it asks for dumping the Trim Area answer No as "n"
-If it asks for flashing modem, bootloader etc. answer Yes as "y" (always do that)
Wait for it to finish and You're done with Updating/Flashing Your Firmware. Enjoy!
If You want to relock Your Bootloader...
-Just go into fastboot mode any type in the command prompt (like before in this Guide):
Code:
cd\
cd platform-tools
fastboot oem lock
-Download and Install the "Xperia Companion" from SONY
-Open the Xperia Companion and select Software Repair
-Select that Your Device can't get recognized (or is a Smartwatch 3 lol)
-Go to the next Page and select the Xperia Smartphone Option
-Continue and wait for the Initialization
-Press and hold Volume DOWN while connecting to USB (You will see the Green Flashmode LED again)
-Continue once Your Device gets recognized and let the Xperia Companion do his work...
Done. Your Bootloader is locked again and most of Your DRMs are restored. But please Note, that unlocking Your Bootloader erases Your unique Device Key FOREVER. That will flag Your Device as "it was unlocked". This can be checked by SONY and everyone else who has this Device in his Hands... (SONY knows it anyways).
That helped? Leave a Thanks! <3
Donations are actually also really welcome!
Pay Marius Kopp using PayPal.Me
Go to paypal.me/miustone and type in the amount. Since it’s PayPal, it's easy and secure. Don’t have a PayPal account? No worries.
www.paypal.com
Last edited:
