Second, patch your boot.img
the newest Magisk 19.4 is not supported for Xperia 1.
You must use the Magisk 19.0 .
downlowd the rom and unpack it, find the "boot_X-FLASH-ALL-A2CD.sin", it's the xperia 1's boot.img.
Hi guys, I was doing my research about how to root Xperia 1. I have J9110 and running the latest firmware 55.1.A.8.1 with Android 10. I managed to root my device now. So, I decided to share it with you guys as clearer as possible for the guide. I'm rooting with Windows Laptop.
INFO: This guide can be applied to any series of Sony Xperia 1. PLEASE NOTE: Rooting a device may void the warranty on the device. It may also make the device unstable or if not done properly, may completely brick the device. Some methods may install additional apps/software on your device. I do not take any responsibility for your device. Root at your own risk and only if you understand what you are doing!
Remember to always setup your phone to enable USB Debugging Option.
Open the Settings application on your phone.
Open About Phone.
Then tap the Build Number option 7 times to enable Developer Mode.
Now go back to the main Settings screen and you should see a new Developer Options menu you can access.
Go in there and enable the USB Debugging mode option.
Install ADB (move to the next guide)
You are partially done with the phone setup process. Next up, you will need to scroll below and follow the rest of the instructions for your particular operating system.
Extract the contents of this ZIP file into an easily accessible folder (such as C:\adb) *I recommend you to put and rename the folder into "adb"*
Open Windows explorer and browse to where you extracted the contents of this ZIP file
Then open up a Command Prompt from the same directory as this ADB binary. This can be done by holding Shift and Right-clicking within the folder then click the “open command prompt here” option. (Some Windows 10 users may see “PowerShell” instead of “command prompt”.)
Connect your smartphone or tablet to your computer with a USB cable. Change the USB mode to “file transfer (MTP)” mode. Some OEMs may or may not require this, but it’s best to just leave it in this mode for general compatibility.
In the Command Prompt window, enter the following command to launch the ADB daemon: adb devices
On your phone’s screen, you should see a prompt to allow or deny USB Debugging access. Naturally, you will want to grant USB Debugging access when prompted (and tap the always allow check box if you never want to see that prompt again).
Finally, re-enter the command adb devices. If everything was successful, you should now see your device’s serial number in the command prompt. Yay! You can now run any ADB command on your device!
How to unlock the bootloader.
Get the IMEI code for your device: type *#06# in phone dialer to find it out, note only the digits (no dashes)
First, you should confirm that it is possible to unlock the bootloader of your phone by checking the service menu. In your phone, open the dialler and enter *#*#7378423#*#* to access the service menu.
In your phone, tap Service info > Configuration > Rooting Status. If Bootloader unlock allowed says Yes, then you can continue with the next step. If it says No, or if the status is missing, your device cannot be unlocked.
About locking your bootloader after unlocking it. I searched for two days and basically came to the conclusion you can't re lock your bootloader period. So I got a bit butt hurt about this and in a wave of anger just flashed my stock unsinned boot image back to both slots boot_a and boot_b then booted back to system and factory reset the phone. Once that was done I booted back into fastboot and just tried "fastboot oem lock" and to my surprise the bootloader locked and did a user wipe then I unplugged booted backup and sure as sh#t I was back to a bootloader locked j9110. So you can relock your bootloader I guess I wish I would have just tried that in the beginning . As far as something else not working be side of all this i certainly can't find anything permanently broken.