FORUMS
Remove All Ads from XDA

[F32xx][Guide][N] How to root your Xperia XA Ultra (as noob friendly as possible)

694 posts
Thanks Meter: 626
 
By rrvuhpg, Senior Member on 20th July 2017, 06:44 PM
Post Reply Email Thread
Hi all,

I'm happy to share with you an updated guide on how to root the Xperia XA Ultra.

This guide is Only for Nougat (Android 7.0), for Marshmallow (Android 6.0) it's here: https://forum.xda-developers.com/xpe...2#post67988142

## How to root the Sony Xperia XA Ultra

The Sony Xperia XA Ultra is a midrange smartphone with a bezeless design. It has adequate specs and run Android aptly. These aspects make this phone a great daily driver, however the Sony stock Android is plagued with trashware and all the hurdles Android itself has several privacy problems.

By rooting the phone one can circumvent these limitations. You will be able to improve sound with Viper4Android, block hosts, install dns-crypt and improve overall customability. In the follwing sections I will present the steps to root your phone.

But before proceeding a word of caution (or why you wouldn't like to root your phone):

1. Unlocking your BootLoader will void your warranty, break your device DRM and lose X-Reality and image optimisation on low light when taking pictures.
2. You can save your DRM keys (TA backup) by following this guide: http://forum.xda-developers.com/cros...ackup-t3514236. You have to do it BEFORE unlocking the bootloader, fro this you need to downgrade to an old Marshmallow firmware, for now you can't root AND restore your backup.
3. You can re-lock your phone and it will restore DRM if you have a backup but you lose root and recovery.
4. Unlocking your bootloader will wipe the device (factory reset)
5. If you have confidential files in your phone don't unlock your bootloader, as long as your phone is locked your data are officially secured.
6. Make a full backup of your personnal data before following this guide.

## Method

1. Find out whether if you bootloader can be unlocked, which is needed to proceed. Type: *#*#7378423#*#* then choose Service info ---> Configuration ---> Check for "Bootloader unlock allowed: Yes". At this point if the phone has No or any other answer at the screen you shouldn't porceed as rooting will be impossible.

2. Download XA Ultra ADB and Fastboot drivers: https://developer.sonymobile.com/downloads/drivers/

3. Download FLASHTOOL with integrated Xperifirm 0.9.23.2 for Windows, note that you can also use it to unlock your
bootloader(http://www.flashtool.net/downloads_windows.php) DON'T USE AN OLDER VERSION OF FLASHTOOL AND DOWNLOAD FIRMWARES FROM THE
INTEGRATED XPERIFIRM


4. Follow the official Sony instructions for getting the unlock code from [here](https://developer.sonymobile.com/unlockbootloader/). Further paste the code in BLU menu of Flashtool. You can also find video instructions [here](https://www.youtube.com/watch?v=6lKWd5LlUoA).

5. Download the proper files for your phone:

Magisk Manager apk package: http://www.apkmirror.com/apk/topjohnwu/magisk-manager/

For XA Single Sim and Dual Sim:

TWRP recovery: https://forum.xda-developers.com/xa-...ultra-t3639722

Boot: https://forum.xda-developers.com/xa-...urces-t3639725

6. Power off the phone and flash ONLY "BOOT_DELIVERY" from a Marshmallow firmware with Flashtool ( exclude all other partitions), you must only see
"boot_delivery.xml" in the "Content" column.

7. Power off the phone again and enter the phone in Fastboot mode (when power off, hold Vol+ and plug the phone). The led should be blue.

8. Copy the downloaded boot and recovery to "C:\Flashtool\x10flasher_lib" and rename them to boot.img and recovery.img, if your computer is not set to show file extentions remane them
without .img at the end.

9. Flash recovery and boot with "fastboot flash boot boot.img" and "fastboot flash recovery recovery.img" commands and then delete them.

10. Unplug the phone, hold "Vol-" and "Power" buttons. Release all buttons after phone vibrate.

11. You are in TWRP recovery, on password prompt press "Cancel"

12. On next screen press "Swipe to allow".

13. Format "userdata" partition to remove internal encrytion for restoring TWRP backups/acces of /data partition, go to "wipe" and tap "format data". If you don't do this your phone will
bootloop on Xperia logo. Don't forget to backup your personnal data before !!

14. Reboot to Android (it will takes about 10 minutes) and follow instructions until you are on the Home screen.

15. Install Magisk Manager apk package from the given link, you have to enable "Unknown sources" in the security menu before.

16. Open Magisk Manager and tap "Download" at the bottom, wait until you see download complete and reboot to recovery.

17. Go to "Install" and select "Magisk-vX.XX.zip" located in /sdcard/magisk manager, swipe to intall.

18. Reboot the phone.

19. Tap the "Thanks! " button at the bottom right of this post, optionally you can offer me a coffee/beer/tea or energy drink to support my work, my PayPal adress is in my profil.

20. Your phone is rooted


## Conclusion

After these steps your phone should be rooted and you will be able to have root access to the system. This tutorial comes with no garanties that it will work and the author does not take any responsibility for you bricking your device. Also, installing third party files are a security liability, you should be aware of that. If you don't follow exactly the guide you will probably brick your phone.
Despite these issues, rooting the Xperia XA Ultra has been confirmed to work on Single Sim and Dual Sim.
The Following 37 Users Say Thank You to rrvuhpg For This Useful Post: [ View ] Gift rrvuhpg Ad-Free
 
 
20th July 2017, 08:18 PM |#2  
Member
Flag Monterey CA
Thanks Meter: 35
 
More
You Rock man!!
Seriously I just posted about your valiant efforts on rooting this thing in another thread! Bravo good sir BRAVO!!
20th July 2017, 08:54 PM |#3  
Senior Member
Flag Bursa
Thanks Meter: 50
 
More
Done. It works. The only thing we need is something like drm fix but that seems impossible
21st July 2017, 12:13 AM |#4  
Senior Member
Flag Brooklyn, NY
Thanks Meter: 610
 
More
Thanks for your work. i will set it up in few days.
21st July 2017, 01:43 PM |#5  
Senior Member
Thanks Meter: 66
 
More
@rrvuhpg I really appreciate your work bro, I didn't expect you to do this but I am grateful!
21st July 2017, 02:03 PM |#6  
Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by rrvuhpg

hi all,

i'm happy to share with you an updated guide on how to root the xperia xa ultra.

This guide is only for nougat (android 7.0), for marshmallow (android 6.0) it's here: https://forum.xda-developers.com/xpe...2#post67988142

## how to root the sony xperia xa ultra

the sony xperia xa ultra is a midrange smartphone with a bezeless design. It has adequate specs and run android aptly. These aspects make this phone a great daily driver, however the sony stock android is plagued with trashware and all the hurdles android itself has several privacy problems.

By rooting the phone one can circumvent these limitations. You will be able to install the xposed framework, improve sound with viper4android, block hosts, install dns-crypt and improve overall customability. In the follwing sections i will present the steps to root your phone.

But before proceeding a word of caution (or why you wouldn't like to root your phone):

1. Unlocking your bootloader will void your warranty, break your device drm and lose x-reality and image optimisation on low light when taking pictures.
2. You can save your drm keys (ta backup) by following this guide: http://forum.xda-developers.com/cros...ckup-t3514236. you have to do it before unlocking the bootloader, fro this you need to downgrade to an old marshmallow firmware, for now you can't root and restore your backup.
3. You can re-lock your phone and it will restore drm if you have a backup but you lose root and recovery.
4. Unlocking your bootloader will wipe the device (factory reset)
5. If you have confidential files in your phone don't unlock your bootloader, as long as your phone is locked your data are officially secured.
6. Make a full backup of your personnal data before following this guide.

## method

1. Find out whether if you bootloader can be unlocked, which is needed to proceed. Type: *#*#7378423#*#* then choose service info ---> configuration ---> check for "bootloader unlock allowed: Yes". At this point if the phone has no or any other answer at the screen you shouldn't porceed as rooting will be impossible.

2. Download xa ultra adb and fastboot drivers: https://developer.sonymobile.com/downloads/drivers/

3. Download flashtool with integrated xperifirm 0.9.23.2 for windows, note that you can also use it to unlock your
bootloader(http://www.flashtool.net/downloads_windows.php) don't use an older version of flashtool and download firmwares from the
integrated xperifirm

4. Follow the official sony instructions for getting the unlock code from [here](https://developer.sonymobile.com/unlockbootloader/). further paste the code in blu menu of flashtool. You can also find video instructions [here]().

5. Download the proper files for your phone:

Magisk manager apk package: http://www.apkmirror.com/apk/topjohnwu/magisk-manager/

for xa single sim and dual sim:

Twrp recovery: https://forum.xda-developers.com/xa-...ultra-t3639722

boot: https://forum.xda-developers.com/xa-...urces-t3639725

6. Power off the phone and flash only "boot_delivery" from a marshmallow firmware with flashtool ( exclude all other patitions), you must only see
"boot_delivery.xml" in the "content" column.

7. Power off the phone again and enter the phone in fastboot mode (when power off, hold vol+ and plug the phone). The led should be blue.

8. Copy the downloaded boot and recovery to "c:\flashtool\x10flasher_lib" and rename them to boot.img and recovery.img, if you computer is not set to show file extentions remane them
without .img at the end.

9. Flash recovery and boot with "fastboot flash boot boot.img" and "fastboot flash recovery recovery.img" commands and then delete them.

10. Unplug the phone, hold "vol-" and "power" buttons. Release all buttons after phone vibrate.

11. You are in twrp recovery, on password prompt press "cancel"

12. On next screen press "swipe to allow".

13. Format "userdata" partition to remove internal encrytion for restoring twrp backups/acces of /data partition, go to "wipe" and tap "format data". If you don't this your phone will
bootloop on xperia logo. Don't forget to backup your personnal data before !!

14. Reboot to android (it will takes about 10 minutes) and follow instructions until you are on the home screen.

15. Install magisk manager apk package from the given link, you have to enable "unknown sources" in the security menu before.

16. Open magisk manager and tap "download" at the bottom, wait until you see download complete and reboot to recovery.

17. Go to "install" and select "magisk-vx.xx.zip" located in /sdcard/magisk manager, swipe to intall.

18. Reboot the phone.

19. Tap the "thanks! " button at the bottom right of this post, optionally you can offer me a coffee/beer/tea or energy drink to support my work, my paypal adress is in my profil.

20. Your phone is rooted


## conclusion

after these steps your phone should be rooted and you will be able to have root access to the system. This tutorial comes with no garanties that it will work and the author does not take any responsibility for you bricking your device. Also, installing third party files are a security liability, you should be aware of that. If you don't follow exactly the guide you will probably brick your phone.
Despite these issues, rooting the xperia xa has been confirmed to work on single sim but need confirmation for dual sim.

thank you so much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'!

---------- Post added at 02:03 PM ---------- Previous post was at 01:46 PM ----------

Quote:
Originally Posted by EternalRageX7

thank you so much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'!

Btw do I have to change back to marshmallow or can I keep it in Nougat? For some of the xperifirm things
The Following User Says Thank You to EternalRageX7 For This Useful Post: [ View ] Gift EternalRageX7 Ad-Free
21st July 2017, 02:16 PM |#7  
OP Senior Member
Thanks Meter: 626
 
Donate to Me
More
Quote:
Originally Posted by EternalRageX7

thank you so much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'!

---------- Post added at 02:03 PM ---------- Previous post was at 01:46 PM ----------



Btw do I have to change back to marshmallow or can I keep it in Nougat? For some of the xperifirm things

Why want you go back to MM? What things about Xperifirm? You only need to use boot_delivery from MM to downgrade the preloader because there is a bug or a new kind of security with the one from Nougat firmware, nothing more
21st July 2017, 02:16 PM |#8  
Member
Thanks Meter: 2
 
More
Quote:
Originally Posted by EternalRageX7

thank you so much!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!'!

---------- Post added at 02:03 PM ---------- Previous post was at 01:46 PM ----------



Btw do I have to change back to marshmallow or can I keep it in Nougat? For some of the xperifirm things

and I dont understand step 6 under methods what is that?
21st July 2017, 02:25 PM |#9  
OP Senior Member
Thanks Meter: 626
 
Donate to Me
More
Quote:
Originally Posted by EternalRageX7

and I dont understand step 6 under methods what is that?

The answer is just above of your question 😁
The Following User Says Thank You to rrvuhpg For This Useful Post: [ View ] Gift rrvuhpg Ad-Free
21st July 2017, 08:01 PM |#10  
Member
Thanks Meter: 15
 
More
Yes dude thank you so much for being a genius x)
Thank you for your time we really appreciate

I'm trying this tonight

Edit: It does work on dual sim
21st July 2017, 08:40 PM |#11  
Junior Member
Flag Hyderabad
Thanks Meter: 3
 
More
help me with the step six
22/007/2017 01:07:03 - INFO - Preparing files for flashing
22/007/2017 01:07:03 - INFO - Please connect your device into flashmode.
22/007/2017 01:07:10 - INFO - Device connected in flash mode
22/007/2017 01:07:10 - INFO - Opening device for R/W
22/007/2017 01:07:10 - INFO - Reading device information
22/007/2017 01:07:11 - INFO - Phone ready for flashmode operations.
22/007/2017 01:07:11 - INFO - Opening TA partition 2
22/007/2017 01:07:11 - INFO - Current device : F3216 - WUJ01NML4N - 1303-3635_R4B - 1300-9522_36.1.A.0.182 - GENERIC_36.1.A.0.182
22/007/2017 01:07:11 - INFO - Closing TA partition
22/007/2017 01:07:11 - INFO - Start Flashing
22/007/2017 01:07:11 - INFO - Processing loader.sin
22/007/2017 01:07:11 - INFO - Checking header
22/007/2017 01:07:11 - INFO - Flashing data
22/007/2017 01:07:11 - INFO - Loader : S1_Root_cf2a - Version : MT6755_13 / Boot version : S1_Boot_MT6755_N0.MP103_307 / Bootloader status : ROOTED
22/007/2017 01:07:11 - INFO - Max packet size set to 8M
22/007/2017 01:07:11 - INFO - USB buffer size set to 512K
22/007/2017 01:07:11 - INFO - Parsing boot delivery
22/007/2017 01:07:11 - INFO - No flash script found.
22/007/2017 01:07:11 - INFO - Flash script is mandatory. Closing session
22/007/2017 01:07:11 - INFO - Ending flash session
22/007/2017 01:07:11 - INFO - Flashing finished.
22/007/2017 01:07:11 - INFO - Please unplug and start your phone
22/007/2017 01:07:11 - INFO - For flashtool, Unknown Sources and Debugging must be checked in phone settings
22/007/2017 01:07:11 - INFO - Device connected in flash mode
22/007/2017 01:07:39 - INFO - Device disconnected
22/007/2017 01:07:48 - INFO - Device connected in fastboot mode
22/008/2017 01:08:20 - INFO - Device disconnected
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes