yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XA Ultra Guides, News, & Discussion] arjun.arora:
Hey guys, just go through the following thread very carefully.

http://xdaforums.com/xperia-xa/how-to/f31xx-how-to-root-xperia-xa-noob-t3430170

A big thanks to rrvuhpg for compiling the recovery for Xperia XA Ultra Dual.

Please thank him and not me for all his efforts.

Though he compiled it for the .100 fw, it's also working on the .111 fw.

Here are the files he compiled:

DRM functions are fully restored after flashing the mod created by tobias.waldvogel
[Sony Xperia XA Ultra Guides, News, & Discussion] mekar07:
Can u guide me how to root xa ultra safely..
[Sony Xperia XA Ultra Guides, News, & Discussion] arjun.arora:
Root on locked bootloader is not available yet. There is some degree of risk in unlocking the bootloader and rooting. Just go through the post but do it at your own risk.
[Sony Xperia XA Ultra Guides, News, & Discussion] bimori:
I've been trying to unlock my bootloader, and following the directions, but i cant get into fastboot mode. Any ideas?
[Sony Xperia XA Ultra Guides, News, & Discussion] arjun.arora:
What error are you getting??
[Sony Xperia XA Ultra Guides, News, & Discussion] bimori:
So I followed the video instructions and installed the custom forward. It was for the USA ultra. Now the phone won't come on, but the led light comes on when connected to computer via usb. I think it's soft bricked. Any ideas.
[Sony Xperia XA Ultra Guides, News, & Discussion] arjun.arora:
Which model do u have, dual or single sim?
[Sony Xperia XA Ultra Guides, News, & Discussion] bimori:
I have single sim
[Sony Xperia XA Ultra Guides, News, & Discussion] arjun.arora:
Why did you do it buddy, I've clearly mentioned that it's for the dual sim variant. Has your phone started, if not, download and flash the single sim firmware using flashtool. Ask rrvuhpg to compile recovery for the single sim variant, he'll surely help you out.
[Sony Xperia XA Ultra Guides, News, & Discussion] bimori:
I actually haven't flashed any file you posted. I just used flash tool to update my firmware to the latest one, now it won't boot. Only led comes on
[Sony Xperia XA Ultra Guides, News, & Discussion] arjun.arora:
Oh ok..

Any luck today??
[Sony Xperia XA Ultra Guides, News, & Discussion] bimori:
lol yup. I exchanged for a new one, and was able to unlock my bootloader. Just waiting to see if rrvuhpg would compile files to root for me now!
[Sony Xperia XA Ultra Guides, News, & Discussion] Final12345:
What model number did you mean, F3212?
[Sony Xperia XA Ultra Guides, News, & Discussion] arjun.arora:
Well, I've successfully rooted my F3216 using this, I don't have any idea about F3212. They both are dual sim models, you can try it but do it at your own risk.
[Sony Xperia XA Ultra Guides, News, & Discussion] Final12345:
It has another radio (LTE bands).
[Sony Xperia XA Ultra Guides, News, & Discussion] arjun.arora:
Yes that's true but I never had any problems in my previous Z3 dual 6683, I flashed the 6633 firmware many times via recovery.
[Sony Xperia XA Ultra Guides, News, & Discussion] rrvuhpg:
Only 2 possibilities, Single or Dual sim ( with A or with B in the firmware version) radio is an other part of the firmware.

Edit: Rootpack for single Sim is on the road, I'm waiting for feedback from [MENTION=312538]bimori[/MENTION]
[Sony Xperia XA Ultra Guides, News, & Discussion] mekar07:
Why my xa ultra dont have stock recovery? Feel wierd..any comment?
[Sony Xperia XA Ultra Guides, News, & Discussion] Final12345:
For safety purposes. If you want to get an unsafe system, you can unlock the bootloader and change everything you want (viruses also can) ;)
[Sony Xperia XA Ultra Guides, News, & Discussion] Final12345:
this mod DO NOT fully restore DRM functions without TA backup (it means DRM keys backup). How do you make TA backup? It is unable for XA phones at present.
[Sony Xperia XA Ultra Guides, News, & Discussion] arjun.arora:
Once you unlock the bootloader the DRM keys are gone forever. They can only be restored if you've taken a backup before unlocking the bootloader which is not yet possible.
[Sony Xperia XA Ultra Guides, News, & Discussion] Final12345:
I know it. Therefore bootloader on my phone is locked, and I'm not going to unlock it until backup method for DRM keys would be not found, or until would be not found another method to avoid DRM functions loss for both 6 and 7 android.

I'm sorry, is my English so bad? YOU (not me, YOU) wrote that tobias.waldvogel's mod is fully restore DRM functions. That is not true for XA/XA Ultra!

It possible you mean this mod for Z3+, however should be aware that it not expected to work on android 7 firmwares.
[Sony Xperia XA Ultra Guides, News, & Discussion] rrvuhpg:
Can you explain why you say Drm are not fully emulated on XA and Ultra?? for me it's working as expected :confused:
[Sony Xperia XA Ultra Guides, News, & Discussion] Final12345:
It working now, on android 6, but i think it will not work on android 7.
[Sony Xperia XA Ultra Guides, News, & Discussion] rrvuhpg:
Yes you probably right but for me DRM backup on XA/Ultra is just a beautiful dream, far more than emulating them ;)

And we are lucky the drm fix is not expected to work for our devices.
[Sony Xperia XA Ultra Guides, News, & Discussion] aidy.lucas:
I just wish there was a way to back up the ta keys.
[Sony Xperia XA Ultra Guides, News, & Discussion] rrvuhpg:
Me too, my girlfriend just received the Ultra (very nice phone) and she will wait for a backup solution to root it... and for me, play with it :D
[Sony Xperia XA Ultra Guides, News, & Discussion] Final12345:
in my case, girlfriend has XA and I have Ultra
[Sony Xperia XA Ultra Guides, News, & Discussion] 982681887:
I encountered a problem: now I can not find the root will be prompted to drive. . .

I have flashtool(version:0.9.22.3), DO you have the latest flashtool ？
[Sony Xperia XA Ultra Guides, News, & Discussion] Android74_FTW:
Did you notice any problems after root, for example with the camera or other features? Since you most likely lost the DRM keys, and can't restore them, is your phone rooted and still functioning perfectly? I have the XA Ultra Dual Sim and want to root it badly.. but what I'm reading worries me. I would like to run a custom rom and I need root access for other reasons, but I want the phone to ramain as awesome as it is now! I don't care about X- Reality, as that's one of the Sony apps I will delete first ;)

Thanks in advance
[Sony Xperia XA Ultra Guides, News, & Discussion] arjun.arora:
No issues at all.. Infact I'm getting 6 hours of screen on time with heavy usage.. I have to charge it daily though..
[Sony Xperia XA Ultra Guides, News, & Discussion] rickgillyon:
There's unlikely to be any custom ROMs on a MediaTek SOC.
[Sony Xperia XA Ultra Guides, News, & Discussion] Android74_FTW:
If that's so, I'll be happy enough being able to run apps that require root. This is my first Sony and I like it so far. I've had almost all Samsung since Android launched, with the exception of the original Motorola Droid and one HTC. I hate bloatware with a passion...
[Sony Xperia XA Ultra Guides, News, & Discussion] rickgillyon:
Yeah, I used Samsung before Sony, far less need for root and ROM on a Sony IMO. They look good to start with, just TiB that's a big miss with no root.
[Sony Xperia XA Ultra Guides, News, & Discussion] Android74_FTW:
Thanks for the reply. 6 hours is pretty impressive.

Losing the bloatware should improve my battery life and overall performance as well. Do you run a custom ROM?

I have all the latest updates and software on my XA (see below) and none of the available build numbers in the tutorial match my version. Will I be able to successfully follow the steps within?

Also, you mentioned your phone's features and camera work fine after root. Did you also use the DRM recovery methods mentioned, or just unlock the bootloader and root away?

Thx again

________________________________________

Model number

F3216 (dual sim)

Android version

6.0

Android security patch level

May 1, 2016

Baseband version

MOLY.LR11.Wi535.MD.MP.V24.T10, 2016/07/21 23:03

Kernel version

3.18.22+

builduser@buildhost #1

Tue Jun 21 10:52:55 2016

Build number

36.0.B.1.111

________________________________________
[Sony Xperia XA Ultra Guides, News, & Discussion] rrvuhpg:
No custom rom on Mediatek Soc is not a rule. Look Others MT6755 devices, we can have CM13 and some 6.0.1 build. We only need dev/coockers. Did you know rom porting on Mtk is not so hard? My next goal is to build a modified kernel to boot others roms, the stock one can boot only stock firmwares.
[Sony Xperia XA Ultra Guides, News, & Discussion] liddodragon:
I'm curious about this as well since I noticed the "OEM Unlocking" option in the Developers Options.
[Sony Xperia XA Ultra Guides, News, & Discussion] rickgillyon:
Glad to hear it, none of the MT6755 phones I looked at had any ROMs. Good luck! :fingers-crossed:
[Sony Xperia XA Ultra Guides, News, & Discussion] rrvuhpg:
That's just because they have no dev too, XA/U recovery is coming from Elephone M3 for example ;) I hope we will have strong devs on XA/U or our devices will die young...
[Sony Xperia XA Ultra Guides, News, & Discussion] hmnk:
Hi.. Thanks for sharing this the tutorial via this thread.

Can you please clear out to me and I'm sure many others here at XA Ultra@XDA, if we unlocl Bootloader, we loose the DRM keys, but you say that the DRM functions are fully restored after flashing the mod created by tobias.waldvogel.

You mean the DRM functions are emulated or restored completely.

If emulated, then how well emulated?? Is the camera performance in low light same or similar or poor as compared to a bootloader locked and DRM keys intact XA Ultra?

Thanks a lot.

Regards,

hmnk
[Sony Xperia XA Ultra Guides, News, & Discussion] najoor:
Read before unlocking bootloader

In my opinion unlocking the bootloader on this phone at this point in time is a big mistake and here is why. Probably the reason you bought this phone is that you like sony's manufacturing quality both in build and software, or you like big screens, or you like this phone for its camera. It is almost certain that you didn't buy the phone because of its processor or is overall performance. Even if you root this phone and tweak the kernel you can only make it perform similar to a Galaxy Note 3 from 3 years ago. So except for the camera this phone is a mid tier and rather ordinary phone. Now if you unlock the bootloader it will result in a significant deterioration of the camera picture quality, which will now make your phone a very ordinary phone in all respects.

I would wait for a root exploit to come out that allows backing up the TA partition. This phone doesn't really have much bloat and what little it has can be mostly disabled. Install ad guard to control the Internet access answer you'll be set.
[Sony Xperia XA Ultra Guides, News, & Discussion] rrvuhpg:
The DRM fix just say to the phone "OK the drm keys are here" but in reality they are wiped forever. The phone will work like locked bootloader with full ta partition (OTA updates will not work like on others devices). Until now Sony apps don't read drm keys. For now nobody know if it will work with Nougat.

Rooted users can confirm. :)

Edit: The better answer is in the original thread of the fix http://xdaforums.com/crossdevice-dev/sony/xperia-z1-z2-z3-series-devices-drm-t2930672/post56541777
[Sony Xperia XA Ultra Guides, News, & Discussion] mramgopal:
Hi. I unlocked my boot loader from Sony using official link. Now I am trying to root my F3216. I have Build Number - 36.0.B.2.109

Is it bootable?
[Sony Xperia XA Ultra Guides, News, & Discussion] arjun.arora:
I'm afraid this is going to be my last mediatek device. It got hard bricked after I flashed the 109 firmware using flashtool. The same thing happened with my previous C5 ultra. I've submitted it to the service centre..

The funny thing is flashtool displayed that flashing was successful.. I just don't understand why sony uses mediatek processors, mid range snapdragons are much faster..

As for your query, you can try to root it using the given files, read the instructions carefully. But do it at your own peril.
[Sony Xperia XA Ultra Guides, News, & Discussion] aidy.lucas:
Strange, I've flashed my F3111 xa using the latest flashtool version numerous times no problems at all.
[Sony Xperia XA Ultra Guides, News, & Discussion] uhes:
How to root for fw 109 :)
[Sony Xperia XA Ultra Guides, News, & Discussion] twhhhco:
please help me for root F3212 (36.0.B.2.109). tnx
[Sony Xperia XA Ultra Guides, News, & Discussion] myat mtmt:
Plz Help

What kinds of flastool version is suitable bro ? What kinds of update.zip is suitable
[Sony Xperia XA Ultra Guides, News, & Discussion] garikay:
In reality, it is very necessary!

Xperia flashing tool release v.0.9.22.3 But the update.zip I do not know.

Guys actually - Root on XA and XA Ultra priority problem. First we need to make at least a temporary root. Secondly, we need to write a script to remove protection Sony_RIC. Third, we will can make a copy of TA-partition. It is right and good. So far, there is bad. Who is in a hurry then it will be sorry. I'm not a developer, but I need at least a temporary root. Could you help me find it but not to unlock the bootloader. Then I can say that the DRM - keys can be saved, and we have the best phone. Sorry for my english. I am russian, and there is no practice in english.

P.S. Do not spoil the phones, looking for how to make a temporary Root without unlocking the bootloader !!! :)
[Sony Xperia XA Ultra Guides, News, & Discussion] mekar07:
I agreed..we need expert dev to make this come true!
[Sony Xperia XA Ultra Guides, News, & Discussion] mekar07:
Can i use same fileboot.zip and recovery.zip to root my F3216 (36.0.B.2.109)??
[Sony Xperia XA Ultra Guides, News, & Discussion] rrvuhpg:
Yes you can.
[Sony Xperia XA Ultra Guides, News, & Discussion] mekar07:
Little question..

Do I need to reflash stock firmware before root? Is it mandatory?

Process:

1. Install adb drivers etc..

2. Unlock bootloader..

3. Flash stock firmware again? (Thats I mean)
[Sony Xperia XA Ultra Guides, News, & Discussion] rrvuhpg:
You can root without reflashing stock firmware.

Edit: [MENTION=4553348]mekar[/MENTION], Use the latest version of Flashtool. Don't forget to exclude all "ta" partitions or you will brick your device. Be careful, some unlucky guys have their device bricked with Flashtool but I don't know why.

Other thing, ask all questions at the same time. A forum is not a shoutbox ;)
[Sony Xperia XA Ultra Guides, News, & Discussion] mekar07:
Edit: ok..use latest flashtool IF want to flash firmware,boot.img and recovery.img..

And..if i want to reflash firmware,i need to exclude all ta partitions..right?

Btw,sorry for many question abt flashing xa ultra..

I only hv experience in rooting c5 ultra,z3 tblet compact..but i saw xa ultra little bit different and risky.

LATEST-Now my xa ultra rooted with latest supersu! thanx to rrvuhpg!! But, everytime booted to twrp,it need password. i choose CANCEL and NOT "swipe to allow modification"

Any solution to remove this "nag screen"?? TQ
[Sony Xperia XA Ultra Guides, News, & Discussion] partorg67:
Please lay out stock boot.img and recovery.img 100 or 111 firmware (F3212)
[Sony Xperia XA Ultra Guides, News, & Discussion] uhes:
What version of flash tool that matches this ultra xa please me and ask if I can link its flash tool thanks
[Sony Xperia XA Ultra Guides, News, & Discussion] garikay:
FlashTool 09.22.3

-------------------------------------------------------------------

First sorry for the offtop.

I want to return the phone to its original state.I have F3212 and I rooted it with this rootpack it was very good! But now I need to stock not rooted device.

But I can not find anywhere stock boot.img and fotakernel.img .Please ?yone help me find it.

---------- Post added at 10:06 PM ---------- Previous post was at 10:04 PM ----------

FlashTool 09.22.3

First sorry for the offtop.

I want to return the phone to its original state.I have F3212 and I rooted it with this rootpack it was very good! But now I need to stock not rooted device.

But I can not find anywhere stock boot.img and fotakernel.img .Please Ð°nyone help me find it.
[Sony Xperia XA Ultra Guides, News, & Discussion] rrvuhpg:
Flash the stock boot and fotakernel with Flashtool. Be careful it can brick your device. Or you can extract them from the firmware with an Android kitchen and flash via fastboot (safe way). I will not explain how to do, you can find many guides for that.
[Sony Xperia XA Ultra Guides, News, & Discussion] garikay:
Thank you, I flash the kernel and fotakernel with FlashTool and flash full firmware and I don't brick my device. But I need the kernel in the * .img to modify and experiment with root. Following your advice and extract kernel from the firmware with an Android kitchen.
[Sony Xperia XA Ultra Guides, News, & Discussion] godlikearmour:
I faced with a trouble

Trying to unlock bootloader, I boot my xa ultra dual sim into flashboot mode but my laptop(window 8)doesn't know the device. I type 'fastboot device' in cmd and it showed 'waiting for device' and then nothing happened.

I think it happened bcuz I failed to install driver. I downloaded xa ultra driver, but hoestly I don't know how to install it.

Can you help me how to do it in detail.

Thanks.
[Sony Xperia XA Ultra Guides, News, & Discussion] garikay:
Go to Device Manager. If you do not see your phone Click "View" and select "Show hidden devices". You will see the device Sony so0117. Right click on it and select Update Driver. In the pop-up window click - to search for drivers on this computer. In the next window, click - select a driver from a list of device drivers and in next window select Sony so117 fnd press Next.

[IMG="1"]http://imagizer.imageshack.com/img921/2945/sev71c.png[/IMG] [IMG="2"]http://imagizer.imageshack.com/img921/4910/neNSBQ.png[/IMG] [IMG="3"]http://imagizer.imageshack.com/img924/3518/5jsUFq.png[/IMG] [IMG="4"]http://imagizer.imageshack.com/img921/7761/Yq0eXP.png[/IMG]
[Sony Xperia XA Ultra Guides, News, & Discussion] godlikearmour:
Thanks alot. I will try it.

Thanks again.
[Sony Xperia XA Ultra Guides, News, & Discussion] Marcus1408:
Hi, Just want to know if the attached boot and recovery zips are compatible with: F3216 fw: 36.0.B.2.109? thanks!
[Sony Xperia XA Ultra Guides, News, & Discussion] mekar07:
You can use attached boot.img and recovery.img at 1st page BUT on my experienced, my front camera just stopped focusing and the camera app crashes when it need to adjust the exposure. I found this issue and make an experiment and i believe this problem existed after flash boot.img...we need help from [MENTION=1461342]rrvuhpg[/MENTION] to compile boot.img from latest firmware (36.0.B.2.109).
[Sony Xperia XA Ultra Guides, News, & Discussion] Marcus1408:
Thanks man for the headsup! Will wait for it then, really want to root my XA ultra. :)

And oh, another question (Sorry): Do I really need to flash stock firmware before I Flash the boot and recovery image? Can't I just Flash those 2 straight away?

and also for your Camera problem, have you tried this?:

'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, I found a workaround here: http://xdaforums.com/cros...s-drm-t2930672, use zip for Z3+ devices.'

Again, Thanks Buddy! :)
[Sony Xperia XA Ultra Guides, News, & Discussion] mekar07:
You dont need to reflash stock firmware before flash the boot and recovery.img..if you want to root, just flash boot.img and AFTER that, u flash recovery.img..(all using fastboot)..

Camera problem can solve when you reflash stock firmware..and i already done..the camera problem solved but root disappear. BEWARE!! when you reflash boot.img, recovery img and supersu.zip to get root,the problem come again..This is my experience based on 36.0.B.2.109 fw
[Sony Xperia XA Ultra Guides, News, & Discussion] rrvuhpg:
I will update the kernel for XA Ultra but I don't have the devices to test, I have the XA F3112. You can PM me for tests. Before that I have to set up my new computer, I try to do it on next week end.
[Sony Xperia XA Ultra Guides, News, & Discussion] garikay:
You are the best! We will wait patiently for your work. You can share in the PM how do you do it? From the source code or firmware, or from your phone?
[Sony Xperia XA Ultra Guides, News, & Discussion] Marcus1408:
Hi Mekar07, when you reflash your firmware back to original, what is your setting in flashtool? (e.g. Exclude'TA' component or not?). I'll wait for rrvuhpg to cook something for us (Thanks!!) and test it. I heard that some 109s who tried this lost front Cam functionality completely! (Always crashing), and that scares me a lot. :( Without root, our phone is just and icandy. :(

---------- Post added at 12:49 AM ---------- Previous post was at 12:47 AM ----------

Thanks kind Sir. :) we will test it after you finish cooking it. :) Again thanks!
[Sony Xperia XA Ultra Guides, News, & Discussion] mekar07:
Dear Marcus1408,

Better u wipe userdata, and exclude all. ta files.

Note from [MENTION=1461342]rrvuhpg[/MENTION] : Excluding TA partitions is a master rule for all Sony devices.

FLASH AT YOUR OWN RISK!! Beware..
[Sony Xperia XA Ultra Guides, News, & Discussion] Ant38:
Xposed work with xa ultra ? 3211 rooted on 36.A.0.2.109
[Sony Xperia XA Ultra Guides, News, & Discussion] jackxperiap:
Hi can v root xa ultra without unlocking bootloader??
[Sony Xperia XA Ultra Guides, News, & Discussion] Ant38:
No

This root work with unlocking bootloader only.
[Sony Xperia XA Ultra Guides, News, & Discussion] aidy.lucas:
Nope not possible and highly unlikely it ever will be since dm-verity security was introduced on the z3+ all xperia devices since then require a unlocked bootloader for root. At least there is now a way to back up the ta keys on xa+xa ultra devices as well as the the rest of the x range.
[Sony Xperia XA Ultra Guides, News, & Discussion] milloscadc13:
camera sucks

Hi friends, i rooted my xa ultra single sim and unlocked the bootloader but how i can get again the drm keys?. What is the best solution to fix it?. Because now my camera sucks . Thanks
[Sony Xperia XA Ultra Guides, News, & Discussion] szucsi1996:
do you have f3216?

you need flash it
[Sony Xperia XA Ultra Guides, News, & Discussion] garikay:
Really stock kernel can fix camera? I think only the locked bootloader can make it. Or DRM fix. To lock the bootloader you need to have a backup TA. To restore your backup TA you need to put it in the phone's root rename it to TA.img. Then enter the phone in recovery mode, run adb and run > adb shell dd if=/sdcard/TA.img of=/dev/block/platform/mtk-msdc.0/11230000.msdc0/by-name/TA

Then flash stock firmware. If you do not have a backup of the TA apply the DRM fix.
[Sony Xperia XA Ultra Guides, News, & Discussion] Jaxhen:
root help!

Hey, i had downloaded the 2 files, now i do i need to flash them both? or speperate each time? and that is it? i need instruction please!!!
[Sony Xperia XA Ultra Guides, News, & Discussion] dMonsta86:
Ive got an F3213 here (single sim). Its sim unlocked, but the bootloader is unlockable. Surely, if theres a temp exploit that can backup the TS key, then perhaps that can be used as a sort of temp root exploit? or read/write the bootloader to make it unlockable?