[Sony Xperia XA Guides, News, & Discussion] my_old_user_sucked:
This guide only works for the Single SIM model!

Only for: [F3111/F3113/F3115][N][33.3.A.1.97]

Requirements:

http://www.flashtool.net/downloads.php

https://mega.nz/#!Btg10D6L!-WX6Aa0Z6qpVSUcAiaF2W8fYl2UlM9fGDB0EVpkA4Tc

https://drive.google.com/file/d/17NBChXsL15GyQaqaJYUwu0ZijBMRzwMl/view

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

For Magisk click Donload 'latest stable'

https://mega.nz/#!Y0lQnTZI!WG5F2Cf_JpxqsZx59ZOVBydkQMy4Gb25kmWYl1HkzQI

Instructions:

Copy the Magisk and DRM zips to an SD card and put it in you phone or copy the files directly to your phones internal storage

Rename the recovery file to 'recovery.img'

Then copy both the boot.img and the recovery.img to C:\Flashtool\x10flasher_lib

Check if bootloader can be unlocked:

1. Open the phone application on your device and type *#*#7378423#*#*

2. Tap service info then configuration then rooting status

3. If bootloader unlock allowed says yes then continue with this guide if it says no this guide cannot help you

Unlock bootloader:

1. Go to your phones settings then click about phone and tap build number around 7 to 10 times until it tells you you are now a developer

2. Then go to developer options and turn them on

3. Next turn on OEM unlocking

4. Next turn on USB debugging and click ok

5. Next open flashtool and click on the BLU button

6. Then turn off your phone and plug it into the computer whilst holding volume- until the green LED appears

7. Then click on unlock this will unlock your bootloader and let us continue

Installing custom recovery (TWRP) and Rooting(Magisk):

1. Connect the phone to your PC whilst holding Volume+ and keep holding it until the blue light turns on.

2. Open the command window in C:\Flashtool\x10flasher_lib. Then flash boot and recovery with the commands "fastboot flash boot boot.img" and "fastboot flash recovery recovery.img".

3. Disconnect the USB cable and press Volume- and Power button until you hear a vibration. You are now in the recovery. When it prompts for a password, press Cancel and Swipe to allow modifications.

4. Then go to Wipe and press Format Data. You must do this as if you don't, a boot loop will occur. Then go back and go to Install and select your Magisk file and swipe to install it. Then reboot to system.

5. It will take a couple of minutes for the phone to boot up (For me it took 5mins). Once it boots up, setup Android and be sure to skip logging into google or myXperia as it doesn't work without the DRM fix.

6. Turn off your phone and press Volume- and Power button until you hear a vibration. Swipe to allow modifications. Then go to Install, select your DRM fix file and swipe to install it and wait for the installation to complete. Then reboot to system.

7. That's it. Your phone is now rooted and the DRM functions now work. You should have the Magisk app on your app list now.

Bootloop Repair:

1. Open flashtool and click on the BLU button

2. Then plug your phone into the computer whilst holding volume- until the green LED appears

3. Then click on relock this will relock your bootloader and let us continue

4. Then download and install xperia companion and open the software

5. Then click software repair and click on 'My device cannot be detected or started, or is a SmartWatch 3' and click next

6. Then select 'Xperia phone or tablet' and click next

7. Check the check box for your google details and click next then let it initialise and follow the steps on screen

Thanks for reading :good: and thank me if i helped :)