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

Search This thread

rrvuhpg

Senior Member
  • Jan 2, 2009
    713
    659
    OnePlus 8 Pro
    So I'm finding after doing this that my phone now claims that my 128 GB sd is corrupt, when it didn't before the root process. Is there any way to correct this and get access to my SD card back. My smaller cards work just fine, it's the larger cards that stopped working after this process. Any help would be greatly appreciated. Thanks

    Hi, you have to format the card from a computer. Windows format tool is not working to repair correctly your card. I use Ubuntu and Gparted and format to fat32.
     
    Jun 20, 2013
    11
    0
    Hi, you have to format the card from a computer. Windows format tool is not working to repair correctly your card. I use Ubuntu and Gparted and format to fat32.

    I've done that. Also, again, the smaller cards work fine, and this particular SD card works fine on my computer and other phones. Also if I do a complete wipe and flash original firmware on my rooted Sony phone, the 128 GB SD card works fine. Hence my confusion :/
     
    Last edited:

    btb55

    Senior Member
    Jan 18, 2013
    309
    106
    Having followed this guide and got root, whats the recommended way to update Magisk? Can we simply update through the Manager app or download new Magisk and flash in TWRP ?

    Has anyone updated Magisk after the original root method?
     

    kenfire159

    New member
    Apr 1, 2013
    1
    0
    cannot find Marshmallow firmware

    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.

    I have a question about this step. Where can I find this Marshmallow firmware?
    I try to download another firmware is Marshmallow on the website "https://samsony.net/en/mobiles/F3215/download/1249"]https://samsony.net/en/mobiles/F3215/download/1249. But how can I put this image in flashtool that make me only flush "boot_delivery.xml" into my phone.
     

    ultramagneto

    Member
    Dec 18, 2013
    8
    0
    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.

    I have a question about this step. Where can I find this Marshmallow firmware?
    I try to download another firmware is Marshmallow on the website "https://samsony.net/en/mobiles/F3215/download/1249"]https://samsony.net/en/mobiles/F3215/download/1249. But how can I put this image in flashtool that make me only flush "boot_delivery.xml" into my phone.

    I supppose your phone model is F3215, and if not please find the correct firmware.

    If your downloaded file is .zip, unzip it to the .ftf format.
    Open flashtool and click the lightning button (i suppose your phone driver is ready for flashmode, fastboot and debug)
    Browse to the location where you unzip your download.
    It should load all the content, now click all exclude boxes until only "boot delivery.xml" left.
    click all exclude boxes in TA also.
    Flash.
     

    hysnbrg

    New member
    Oct 24, 2020
    1
    0
    hello!
    Thank you for the guide @rrvuhpg :)
    I tried to follow the guide exactly but unfortunately i got stuck in step 6 :/
    can anyone point me to the site or wherever i could find MM FW for flashing.
    and also,Do I HAVE to download the whole FW package as ONLY the boot delivery.xml is required?
     

    Top Liked Posts

    • There are no posts matching your filters.
    • 42
      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/xp...ia-xa-noob-t3430170/post67988142#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/crossdevice-dev/sony/universal-dirtycow-based-ta-backup-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/development/f32xx-twrp-recovery-xa-ultra-t3639722

      Boot: https://forum.xda-developers.com/xa-ultra/development/f32xx-stock-kernel-built-sources-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! :good:" 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.
      4
      Important update! I forgot to remove encryption in the released boot so your Data partition is encrypted again after wipe... Sorry for this mistake :rolleyes: I reuploaded the boot with the correction:
      https://mega.nz/#!kgYgFCZJ!gmf6ptCwGJRdOeYwIJo3eGa-1er--yQPxjtxy6kbppU
      3
      @rrvuhpg I just remembered that Elephone P9000 had that feature and kernel sources are released.

      https://forum.xda-developers.com/el.../kernel-elephone-p9000-kernel-source-t3425554

      It's exactly on it that I found the interesting thing but thank you ;)
      I searched for dt2w but the exact feature is smart gesture, that's why I found nothing before :D
      2
      @BlueTR I think that I found something interesting to try for dt2w, I will try (probably this week end).
      2
      ah, darn. but i'd still like to know how to restore TA backup, i just do not know how....

      Look here on post #176
      https://forum.xda-developers.com/xperia-xa/how-to/f31xx-how-to-root-xperia-xa-noob-t3430170/page18