yashsingh1/xdaforums huggingface dataset:
[Sony XA2 Ultra Questions & Answers] li0nh3art3d:
It's the same unlock code no matter what device you choose on the site, the unlock code is based on the IMEI. I know this because I chose the XA1 originally, and ended up not unlocking til the XA2 was on sony mobile, however the exact same code was generated off the IMEI. I'm uploading my firmware to my google drive account right now but the files are large so it'll take about an hour. I noticed when running the getvar all command, the firmware and baseband and bootloader seem to be different versions

---------- Post added at 04:28 AM ---------- Previous post was at 04:15 AM ----------

i figured it out I think. You're on the original bootloader, and you're trying to flash the latest firmware. Try flashing the older system, vendor, and oem, along with the older boot.img (there should be 2 versions in Xperifirm, since the firmware had an update this month)

I'm almost positive that's the issue. Comparing your getvar all vs mine clearly shows we're on 2 different versions of firmware on the same device, and there was an update about 2 weeks ago

I'd say just flash the bootloader, but there's 3 sin files in my firmware, and I don't know which one is the right one to make the bootloader.img, so the safest bet is to revert back to the original firmware files, since you're already on the original bootloader and baseband. Just do what you did again, but with the original version of the firmware, not the newer updated version
[Sony XA2 Ultra Questions & Answers] makotech222:
How do i get the older version? I only see one option for the latest.
[Sony XA2 Ultra Questions & Answers] makotech222:
Heres a screenshot
[Sony XA2 Ultra Questions & Answers] li0nh3art3d:
Damn, I don't know why your your bootloader and baseband aren't on there. I'm going to PM a developer who works with Sony devices and ask him which sin in the boot folder is the right one. Meanwhile, i have the modem.img you will need to fastboot flash radio modem.img but do this when you flash the new bootloader.
[Sony XA2 Ultra Questions & Answers] makotech222:
Okay thanks so much for your help!
[Sony XA2 Ultra Questions & Answers] makotech222:
Out of curiousity, how do i flash a new bootloader? I tried usual command, but didn't work:

target reported max download size of 536870912 bytes

sending 'bootloader' (50880 KB)...

OKAY [ 1.141s]

writing 'bootloader'...

FAILED (remote: Flashing is not allowed for partition

)

finished. total time: 1.156s
[Sony XA2 Ultra Questions & Answers] Davide.porcelli:
Ok, solved.

I flashed the stock ROM with EMMA (the software by Sony). Once the phone was up and running again, used the ROM downloaded with EMMA to extract the boot.img file, transfer it to the phone and patched it with Magisk, copied back to the PC and flashed with ADB.

Now everything is working fine.

Thank You all
[Sony XA2 Ultra Questions & Answers] makotech222:
I'm trying using EMMA now. It doesn't seem to recognize my XA2 is fastboot mode right now. Any tips?

Edit: Nvm got it connected by holding volume down key on boot. But I'm getting message from EMMA: No available services matched the connected device.
[Sony XA2 Ultra Questions & Answers] Davide.porcelli:
I disconnected the phone from the PC and shut it down. After 30 seconds I held the volume down key and and kept it pressed while connecting the phone to the pc. And EMMA recnognized the phone without problem
[Sony XA2 Ultra Questions & Answers] li0nh3art3d:
What model number is your device?
[Sony XA2 Ultra Questions & Answers] Davide.porcelli:
H4213
[Sony XA2 Ultra Questions & Answers] li0nh3art3d:
That's exactly what happened to me. I never could get Emma to work. It seems like there's an issue between emma and the h3123

---------- Post added at 04:33 PM ---------- Previous post was at 04:28 PM ----------

so it flashed part of the file. might aswell flash the modem.img and run the fastboot getvar all and see if you're on the latest bootloader. which bootloader.sin did you make an img from?
[Sony XA2 Ultra Questions & Answers] serajr:
Devices supported by the sony open device program, and "maybe" emma too (source):

Xperia XA2 (H3113, H4113)

Xperia XA2 Ultra (H3213, H4213)
[Sony XA2 Ultra Questions & Answers] makotech222:
Yeah the phone is supported, but i think it doesn't recognize mine because of mismatched versions and ****. I'm also trying this tool called FlashTool, but the firmware from xperifirm doesn't contain the loader.sin, which i think i need.
[Sony XA2 Ultra Questions & Answers] serajr:
Flashtool does need fsc script indeed, also its dev stated that he will release a compatible version soon.

Did you already try munjeni's Newflasher? It's worth a try, but it's best to ask for compatibility with your device on its thread before attempting to use it!
[Sony XA2 Ultra Questions & Answers] li0nh3art3d:
Flashtool doesn't support the HXXXX series of devices yet.

Try NewFlasher

https://xdaforums.com/crossdevice-dev/sony/progress-newflasher-xperia-command-line-t3619426

just put the exe in the Xperifirm firmware folder and boot into flash mode (vol-) and see if it'll flash the firmware..
[Sony XA2 Ultra Questions & Answers] makotech222:
Newflasher didn't seem to work either. Fails to flash couple of the firmware, as well as bootloader specifically.
[Sony XA2 Ultra Questions & Answers] li0nh3art3d:
I'd be really surprised if a new version of Flashtool doesn't come out in the next week, that supports 2018 devices. It's ****ty the original firmware isn't available on Xperifirm - only the march update. I guess we'll have to wait. It's also upsetting to me Emma doesn't support this device :mad:
[Sony XA2 Ultra Questions & Answers] mchlbenner:
I would try a older flash tool the newer flash tool did work when I had my Sony xa ultra so used older one and it worked.
[Sony XA2 Ultra Questions & Answers] serajr:
I'm in contact with Newflasher's developer ( [MENTION=4120742]munjeni[/MENTION] friend of mine ) and he's already aware of new A/B partitioning platform (Seamless update) in which all 2018 sony devices have.

My 2 cents here... a Newflasher's fix may be necessary to get it working on XA2/Ultra devices (and in the near future for the XZ2/Compact too)!
[Sony XA2 Ultra Questions & Answers] munjeni:
Sony changed protocol a bit, to be precise he done some more hash files per some sin files (e.g. system.sin have two hash files)... I will need URB output from the Device Monitoring Studio usb sniff log durind Sony PC Companion software flashing, hope somebody have skills for do that! You need to sniff usb packets while you use Sony PC Companion software (repair - flash your phone), and usb in DMS must be set to URB view, when flashing stops save URB view to your PC and give me it. Without usb sniff log (URB mode) from DMS I can't update newflasher since I have no idea what sony changed in protocol. If you provide me that I can update newflasher easy!

In picture you can see what I need, need complete log!
[Sony XA2 Ultra Questions & Answers] li0nh3art3d:
The problem I have is the PC companion won't flash anything because the bootloader is unlocked (it tells me this whenever attempting a 'software repair'
[Sony XA2 Ultra Questions & Answers] tombassi:
I don't know how you will deal with this but here it's, let me know if I did something wrong, looks like some ancient language.
[Sony XA2 Ultra Questions & Answers] munjeni:
Thanks but your log is not enought since its too short! To be precise I need session where I can see whats going on with Sony last update to flashing protocol, e.g. SIN files which now have two hash files like system.sin ...
[Sony XA2 Ultra Questions & Answers] tombassi:
Yes you are right [MENTION=4120742]munjeni[/MENTION] the program crashed while saving the file and the one I saved before that is too big for me to upload almost 4GB, I will try again later.
[Sony XA2 Ultra Questions & Answers] munjeni:
No need to export as html, just save session which can be load later! And you are right file is big. If you understand what I need maybe you can extract only that part of it where we can see that two hashes processed? It can be seen at a start of system.sin and maybe at the and of system.sin! Newflasher worki g good for all si. files, ta files ...etc but stop working on sin files which bave two hasher, thats new things implemented in flash protocol and I need to see whats going on with it to be abble implement tbat changes
[Sony XA2 Ultra Questions & Answers] :
my XA2 with unlocked bootloader just started downloading system update. i'll post if it will install successfully.

ok it was downloaded and nothing happens
[Sony XA2 Ultra Questions & Answers] munjeni:
https://xdaforums.com/showpost.php?p=76153900&postcount=731
[Sony XA2 Ultra Questions & Answers] jimzhong:
That is interesting. Mine still says "Your device has the latest available system updates".
[Sony XA2 Ultra Questions & Answers] :
same here, maybe it was just some sony app update
[Sony XA2 Ultra Questions & Answers] li0nh3art3d:
Newflasher v11 just came out, and i can confirm it works. If you get on the newer baseband and bootloader, you can fastboot flash the patched boot.img. TWRP is also available now
[Sony XA2 Ultra Questions & Answers] sonyalmarshad:
flasher v11 worked like a charm with my Sony Xperia XA2 Ultra H4213

after flashing started my device like a new device and everything was ok..

but the message on the boot still remains :

Your Device Software Can't be Checked for Corruption

Please Lock your Bootloader..

i dont know if there is a solutiuon for this matter ??
[Sony XA2 Ultra Questions & Answers] piezan:
HELP

i have a h3223 and cannot get past this one part. i have been stumped for hours. every time i try to fast boot something from bootloader, i get waiting for device. i have tried updating everything and new drivers. nothing is working. any help would be appreciated.
[Sony XA2 Ultra Questions & Answers] TheLoonyRebel:
I'm having the same issue on the XA2 Ultra H3223 as well. ADB detects my device fine but when I go to the bootloader Fastboot doesn't detect the device and Device Manager (running Windows 10 x64) says the Android devices aren't installed. Yet I have the Fastboot devices installed via Minimal ADB And Fastboot. I feel like a dog chasing it's tail at this point. Normally I never have issues doing stuff like this as well. :confused:
[Sony XA2 Ultra Questions & Answers] mchlbenner:
I will take it you have already installed Sony USB drivers.

You may to check to see if you conflicting USB drivers.
[Sony XA2 Ultra Questions & Answers] TheLoonyRebel:
The Sony XA2 Ultra device shows up when it's running normally. But when in the bootloader mode under Android this is the message Windows gives me.

I tried using the "Latest USB Driver Windows" that Sony linked to with no success.
[Sony XA2 Ultra Questions & Answers] mchlbenner:
Oka you can try these keep mind you may have to manual install them.

https://www.mediafire.com/file/s4aidnkyacpidjq/latest_usb_driver_windows.zip
[Sony XA2 Ultra Questions & Answers] li0nh3art3d:
go into the device manager, update driver, select Android device, update driver, select driver, have disk, browse, navigate to the folder where you extracted the zip drivers for the XZ2, select the ini file.

that's what worked for me

https://developer.sony.com/develop/drivers/
[Sony XA2 Ultra Questions & Answers] piezan:
how did you unlock the bootloader? i was told by sony that h3223 is not unlockable
[Sony XA2 Ultra Questions & Answers] TheLoonyRebel:
I got it! These drivers finally let me get Fastboot working which in turn let me finish the bootloader unlock process. My XA2 Ultra is now unlocked with TWRP installed and Magisk rooted. Thanks for helping everyone involved! One thing I noticed is TWRP doesn't seem to want to stick even after flashing it (temp install via Fastboot then flashing the zip within TWRP for perm). Did I miss something?
[Sony XA2 Ultra Questions & Answers] li0nh3art3d:
If you have a 3rd party App such as GravityBox for Xposed or Quick Reboot from play store, you can reboot to recovery, but the only way to get in TWRP if you bootloop is through fastboot. but you can reboot to recovery with a 3rd party app if you sideloaded the zip
[Sony XA2 Ultra Questions & Answers] TheLoonyRebel:
I'm having issues getting Xposed to install. Which version did you use? I tried using the 90.1 beta 3 SDK26 one but sadly that sends my phone into a freaking boot loop.

I feel like such a freaking noob lately with this phone. Thanks everyone for helping me.
[Sony XA2 Ultra Questions & Answers] li0nh3art3d:
Xposed worked on the earlier firmware I originally had, but then when I updated the firmware to the newest version, it bootlooped on me

it works on 50.1.A.4.102 and lower, 50.1.A.5.59 breaks it.

I flashed the older firmware, but the baseband version won't downgrade, not sure if sony has something preventing it from being downgraded, so I'm waiting on a new version of Xposed. I already reported the issue on GitHub
[Sony XA2 Ultra Questions & Answers] TheLoonyRebel:
From what I see on the Xposed thread it's a bug in the current Sony firmware not just on the XA2 Ultra but other devices that is causing this. So hopefully either a work around is done or Sony fixes the issue themselves that is causing this. Thanks for the info. I was going nuts trying to figure out why I was boot looping after flashing Xposed.
[Sony XA2 Ultra Questions & Answers] piezan:
thanks for the help 2 times on this lionh3art3d. that flash did not work i was still in a boot loop upon completion. So i tried something that actually worked. i flashed the original boot image that i pulled with sin. then i booted up and flashed the patch boot. boot loop again.... so after again flashing the original boot img, i uninstalled the xposed app and flashed patch boot, and all is well. everything was still set up too, apps and settings.
[Sony XA2 Ultra Questions & Answers] davidhozic:
I made this topic on the sony forums,

it is for xa2 bit it might work for the ultra too as they both have snapdragon 630.

Make a backup just in case the twrp is not compatible.

https://talk.sonymobile.com/t5/Android-development/Tutorial-How-To-Root-Xperia-XA2/td-p/1314028
[Sony XA2 Ultra Questions & Answers] makotech222:
Hey [MENTION=7426713]li0nh3art3d[/MENTION] I managed to use the newflasher to get my device working again. Thanks very much for your help!
[Sony XA2 Ultra Questions & Answers] TheLoonyRebel:
I manually installed the drivers to "Android" when in bootloader/fastboot mode. As the previous posted noted when "Android" comes up in device manager....

When I did that finally I got fastboot to work. Took a good minute for Windows 10 to get the driver installed but worked like a charm for me once that got done.
[Sony XA2 Ultra Questions & Answers] roirraW "edor" ehT:
That's exactly what I tried, but thank you, anyway. I'll keep trying and try again on that Windows 7 x64 PC tomorrow. *shrug* :)

Edit: Solved the driver installation issue farther down this page.
[Sony XA2 Ultra Questions & Answers] TheLoonyRebel:
Sorry. It did work on a USB 2.0 port with the included USB-C cable that came with the phone for me.

Do you have any plans on developing for the XA2 Ultra by the way?
[Sony XA2 Ultra Questions & Answers] roirraW "edor" ehT:
I'm sure it'll all work out one way or another! :D I'm glad it worked for you all. As far as developing, I doubt it. Anything I've done previously resembling developing was extremely minimal effort (and yet it still consumed a large amount of time). I've never compiled anything - I've tried but I never persevered.

That said, I can see possibly at least creating a debloat script in a zip for myself to get rid of some of the obvious app bloat in the stock ROM, and Sony's Open Device program is interesting. The lack of TWRP for the H3223 (Discovery) also tempts me to fiddle with it.

First things first, if I can't get the drivers installed, then I can't even consider doing any developing since I'm my own first guinea pig. :)

Edit: Solved the driver installation issue a few posts below this one.
[Sony XA2 Ultra Questions & Answers] TheLoonyRebel:
The TWRP posted in the ROMs area works on the H3223. I can confirm that as I have that model myself.
[Sony XA2 Ultra Questions & Answers] roirraW "edor" ehT:
Okay, thanks for confirmation I can trust. Some posts led me to believe it wouldn't work and others that it would.
[Sony XA2 Ultra Questions & Answers] roirraW "edor" ehT:
[MENTION=2440946]AngryManMLS[/MENTION] I figured it out about the device driver. The exact steps were just slightly different on two different but identical Windows 7 laptops. Their only difference was I had used the first laptop to work on other/previous phones and the second one I hadn't, but although both methods were similar, there were more nuances to the steps that worked for others. Sadly, I only got screenshots from the second Windows 7 laptop of the exact steps, but I expect to have to take the exact or nearly exact same steps on Windows 10 when I get home from work today, so I'll get screenshots then and throw them up for reference.

Edit: Interestingly, the device manager entry (after properly loading the driver) on both identical Windows 7 laptops are different. Laptop #1 under the "Android Device" category in Device Manager just says "Android Bootloader Interface", while Laptop #2 lists it under a "Sony sa0118" category, and the entry itself is "Sony sa0118 ADB Interface Driver". In both cases, Fastboot appears to be working just fine.

Edit 2: For what it's worth, SuperSU v2.82 SR5 seems to work fine on the H3223 stock ROM v50.1.A.5.59. Why did I test it? Because I want to test [MENTION=631273]Chainfire[/MENTION] 's FlashFire on this device, and that can require only certain Magisk versions to use with FlashFire, and I haven't tested the latest Magisk versions with it. I love using FlashFire on the Pixel 32 GB (2016) to flash full new monthly firmware without wiping and without a PC, and I would've bought another Pixel except for no MicroSD slot, but I'm definitely liking this XA Ultra much better than the HTC 10. SuperSU doesn't work at all on Android 8.1 on the Pixel 2016, so it might not for the Sony, but it does for some phones on 8.1 so I'll cross that bridge when I come to it.
[Sony XA2 Ultra Questions & Answers] viperex37:
Maybe I missed it but where is the fix for the Android driver when the phone is in fastboot mode?
[Sony XA2 Ultra Questions & Answers] roirraW "edor" ehT:
Some others may have had a slightly different experience, and I don't have time to organize and label the screenshots I've made, but first, you get the Sony Xperia XZ2 (XA2 isn't available but XZ2 is) drivers from here.

In short, you'll extract the drivers and through Windows' Device Manager with the phone plugged in while in FastBoot mode, manually install the XZ2 driver to the Android device listing, however, I had to do this in a very specific way. I can't speak for others - what others described sounded slightly different but it's hard to be sure.

If you can make heads or tales from the screenshots here in Google Drive, that's how I got the driver installed on one PC. The experience was just slightly different on a different PC on which I had worked on several other types of phones previously, but very similar, but that was before I was capturing screenshots.

When I have time, I'm going to do the same thing on my Windows 10 desktop and it should be a very similar experience as the one I hadn't gotten the screenshots from. Then when I have time to organize and label the screenshots, I'll put them all up in some better post/format.

Good luck! Hope it helps.
[Sony XA2 Ultra Questions & Answers] srdjanLeo:
Windows 10 needs to be rebooted with shift pressed, Sony drivers instalation works just while installed in non signed drivers mode. Just came across this thing. Finally I managed to install them.
[Sony XA2 Ultra Questions & Answers] layyslvc@gmail.com:
I have a H4233,it’s china mobile.

When unlock bootloader,fastboot said: “FAILED (remote: Command not allowed)”

I guessing that it “OEM unlocking” no activate.but I don’t access the “OEM unlocking” setting on the Developer options.

How do I access the “OEM unlocking”?china phone no Google Services Framework。

Thanks！
[Sony XA2 Ultra Questions & Answers] roirraW "edor" ehT:
Follow the directions here https://developer.sony.com/develop/open-devices/get-started/unlock-bootloader/.
[Sony XA2 Ultra Questions & Answers] roirraW "edor" ehT:
[;76543810]

Are you getting the latest version of Fastboot directly from Google at https://dl.google.com/android/repository/platform-tools-latest-windows.zip?
[Sony XA2 Ultra Questions & Answers] layyslvc@gmail.com:
yes
[Sony XA2 Ultra Questions & Answers] li0nh3art3d:
what does it say when u do the command 'fastboot devices'?
[Sony XA2 Ultra Questions & Answers] roirraW "edor" ehT:
What [MENTION=7426713]li0nh3art3d[/MENTION] said - good question! Do you have the proper drivers installed? Use the Thanks button for [MENTION=7426713]li0nh3art3d[/MENTION] if this helps Easy steps/screenshots to install Windows drivers for FastBoot to work with XA2 Ultra.
[Sony XA2 Ultra Questions & Answers] Trikk-e:
Hi guys,

I have a XA2 (H3113). I'm tired of not being able to mount SD, ads, etc. but I'm worried about photos. What about pictures after breaking the bootloader, do they look worse?

Thanks for your help. Hope a DRM Fix will be released soon.
[Android Q&A, Help & Troubleshooting] tonypur:
Hi folks. I took an adb backup (adb -d backup -apk -shared -all -f C:\Users\Tony\backup.ab) and now only want to restore data for a few apps.

I've used the Android Backup Toolkit to turn the .ab into an openable .tar file, so I tried copying a few com.appmaker.appname folders to the sdcard, then used Es File Explorer in root mode to copy the folders to /data/data, but the app doesn't seem to use the data (it looks like it did on first run).

Can anyone outline the steps required to restore data folders?

Thanks.

Tony.
[Windows Mobile Development and Hacking General] LRC:
Hallo,

hat vieleicht jemand ne`idee um die buchstaben zu entfernen

in den outlook kontakten(wm6), (Hdy,M,H usw.)

hab in der Registry gesucht bin aber nicht fündig geworden

hello,

any idea how disable the extendet information in outlook contacts(wm6)

(Hdy,M,H etc.)

thx

XDA NEO/ XDA NovaXL
[Samsung Galaxy S9+ Questions & Answers] VeriSkye:
Anyone figured out how to change the messaging font and background? Was able to on the s8 but option isn't present on the 9 going it was just moved and not removed.
[Samsung Galaxy S9+ Questions & Answers] kolembo:
Have you gone messages>settings?

While in messaging there should be settings option

If not, try settings>apps>settings>default apps....
[Samsung Galaxy S9+ Questions & Answers] VeriSkye:
problem arises due to the fact it's not present in messages>Settings or messages> settings>more settings as it's been in previous versions.

didn't see anything under default apps from poking around quickly in it either.
[Samsung Galaxy S9+ Questions & Answers] nique0201:
Been wondering too... I have a purple phone with the purple infinity set up... But messaging is this baby blue bubble lol
[Samsung Galaxy S9+ Questions & Answers] Geekser:
I have a problem with some themes giving me Yellow Text on white background for the replies I get from my texts - makes it impossible to read - had to be careful about which themes I use - funny but when I looked at waht the theme said messages look like - it is not at all what I got (for the colors that is)

Forced me to use a messing ap from GoOGLE but then that doesn't get themed by the Samsung Theme I am using - oh the growing pains of using a new phone - :)
[Samsung Galaxy S9+ Questions & Answers] nique0201:
I'm not using a theme yet, just stock set up. I just have the purple infinity wall paper. And I wish I could make the text bubbles reflect similar color scheme

---------- Post added at 10:27 PM ---------- Previous post was at 10:26 PM ----------

I'm not using a theme yet, just stock set up. I just have the purple infinity wall paper. And I wish I could make the text bubbles reflect similar color scheme