yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact Questions & Answers] ah_hin:
bump.

EDIT: got it to work, had to move the folder to the root of my C drive, and connect to a USB 2.0 port.

now the Build Number is 47.1.A.16.20, Android 8.0.0, Android security patch level September 1, 2018
[Sony Xperia XZ1 Compact Questions & Answers] baldursgate:
A Singapore firmware with Android 9 (47.2.A.0.306_R3C) is available. Anyone able to get it working in in the US with T-Mobile VoLTE?

I flashed it myself and confirmed it's a functional Android Pie, but with no VoLTE. Tried putting in the US OEM file from 47.1.A.16.20_R8B and no luck so far. I'll try different things and report back if I'm successful.
[Sony Xperia XZ1 Compact Questions & Answers] TX-Brad:
Any updates on this? Was going to try this, but waiting to see if you or anyone has had success.
[Sony Xperia XZ1 Compact Questions & Answers] baldursgate:
No success so far after trying a few variations of flashing the OEM file from older versions of the US firmware. I'm periodically checking XperiFirm to see when an updated Customized US firmware is out.

I'm still using the Singapore firmware as-is, and even though I have no LTE, my area has good enough 4G/4G+ that I just live with it for now. It's actually not too bad and I can hardly notice the lack of LTE.
[Sony Xperia XZ1 Compact Questions & Answers] tonsofquestions:
Maybe try flashing older modem files from the US firmware, too? Elabel might also be useful.
[Sony Xperia XZ1 Compact Questions & Answers] baldursgate:
Tried that and no luck. I flashed the OEM and elabel file from the latest Customized US and it didn't help. The *#*#4636#*#* screen still shows VoLTE not provisioned.

I did notice that the phone seems to pick up LTE+ more than before, when it would be at 4G/4G+ most of the time. Although it could be placebo or I just didn't reboot the phone enough times after I flashed it last time.
[Sony Xperia XZ1 Compact Questions & Answers] baldursgate:
47.2.A.4.45 with Pie is out for Customized US - confirmed VoLTE working with fingerprint when flashed with the same version firmware for the customized Taiwan one. (Replace OEM file with the one from Customized US.)

Did this yesterday and it seems great so far.
[Sony Xperia XZ1 Compact Questions & Answers] andTab:
Is it possible to mix and match 47.2.A.4.45 US with 47.2.A.6.30? I have always used the Generic Latam plus US and they are on slightly different version numbers ...
[Sony Xperia XZ1 Compact Questions & Answers] alvin612:
I used 47.2.A.6.30 Custom DE and the OEM.sin file from 47.2.A.4.45 US. Works just fine!
[Sony Xperia XZ1 Compact Questions & Answers] Tron510:
When you use the us oem, are you able to use Google pay? It gave me an error saying my phone was rooted/altered when I had a us oem.sin file flashed with different firmware.

I just use customized gel now, since I don't really need volte since I'm not in T-Mobile here in the US.
[Sony Xperia XZ1 Compact Questions & Answers] mEREHAIGE:
Can anybody explain which firmwares have VoLTE? I mean is there any logic behind the firmware number (CDA) or is there a list of region firmwares that automatically have VoLTE enabled? Currently I have Customized NOBA (1311-0104) installed and VoLTE option is present and working great. But which one/region of the latest 47.2.A.6.30 has it enabled? So far I have tried Customized DE (1310-4373) and T-Moble NL (1311-0764) and no VoLTE option in the Mobile network settings :(.
[Sony Xperia XZ1 Compact Questions & Answers] cheezyphil:
I did this trick with UK's .374 from about a year ago.

Customized UK is not currently up to date compared to a lot of other countries' (Switzerland, Taiwan, etc...)

Does it matter if I switch countries in updating using your method?

Also, I assume this method of yours is a clean wipe?
[Sony Xperia XZ1 Compact Questions & Answers] muness:
I usually download a US and an international firmware that match version numbers (currently that is 47.2.A.4.45).

Then in the international firmware folder:

* I remove all the files listed in update.xml with NOERASE, FACTORY_ONLY. i.e. appslog_X-FLASH-ALL-C93B.sin, diag_X-FLASH-ALL-C93B.sin, ssd_X-FLASH-ALL-C93B.sin, Qnovo_X-FLASH-ALL-C93B.sin, persist_X-FLASH-ALL-C93B.sin, userdata_X-FLASH-CUST-C93B.sin

* I remove all the files with a .ta extension

* I replace the oem_X-FLASH-CUST-C93B.sin file with the one from US fimware

* I copy newsflasher.exe in

At this point I

* turn off my phone

* hold down the volume button

* while holding volume down I plug in the phone to my PC

* I run newsflasher.exe and follow the prompts

This gets me on the latest update but leaves my data intact.

I've had trouble when installing an oem file from a mismatched US firmware with Google Pay not working which is why I stick with the same version now.
[Sony Xperia XZ1 Compact Questions & Answers] baldursgate:
Yeah, it's a clean wipe, so it doesn't matter which country's firmware is used. I went from a UK one to Singapore, and it worked fine.

I just wiped it again to install the German one (Customized DE 47.2.A.6.30) since it's a newer version with the January 2019 security updates. Works fine and is simple if you're starting fresh and don't need to save user data.
[Sony Xperia XZ1 Compact Questions & Answers] StHalcyon:
I have a spare XZ1C, and I downloaded Customized CE1 47.2.A.8.24, and replaced the oem_X-FLASH-CUST-C93B.sin from the Customized US 47.2.A.8.24 (basically matching version), and performed a total overwrite flash. I have T-Mobile service.

Fingerprint: Works

WiFi Calling: Works

VoLTE toggle (in Settings page): Visible and enabled

VoLTE calling: Does not work. After turning off WiFi, I checked that my data is using LTE. I make a phone call, and the data icon drops down to 3G (sometimes 2G).

Does VoLTE take a while to register with T-Mobile? If I recall when I did this with customized UK 47.1.A.12.179 + oem file from customized US 47.1.A.12.1.145, I was able to test it fairly quickly after the flash.

Anybody else tried this combination yet and verify?
[Sony Xperia XZ1 Compact Questions & Answers] Iridal:
This is my first post on this forum ever but I was so excited I got it to work that I had to let you know. I have T-mobile (US). I just got a new XZ1c (yeah I know, been around awhile, but I was upgrading from an Xc I broke and I'm not interested in top of the line/giant phone, I have a tablet for that... the XZ1c fits all my criteria). It is the unlocked international version. I used the UK firmware and subbed in the US OEM file. Works like a charm. I am able to make WiFi and VoLTE calls. It did take a few minutes for it to sort itself out with the network. I had the wifi calling, then it dropped, then it showed VoLTE, then it dropped once... but since that initial registering period its been solid. AND I have the fingerprint scanner working.

Heckin excite!
[Sony Xperia XZ1 Compact Questions & Answers] StHalcyon:
Any issues with battery life, tethering or GPS not getting a signal? I haven't swapped over to the my spare XZ1c which I flashed to Android 9 yet.
[Sony Xperia XZ1 Compact Questions & Answers] T_Tank:
I'm still trying to figure out how to get the volte working correctly got the latest UK firmware an matching usa firmware an replaced the oem file from the uk one and it has the options but it doens't work also sometimes I don't recieve phonecalls when on wifi..

edit--

Ok figured out what I needed to do with a lot of back rereading!

-delete these from whatever firmware your flashing and delete them from the update xml fire

appslog_X-FLASH-ALL-C93B.sin

diag_X-FLASH-ALL-C93B.sin

ssd_X-FLASH-ALL-C93B.sin

Qnovo_X-FLASH-ALL-C93B.sin

persist_X-FLASH-ALL-C93B.sin

userdata_X-FLASH-CUST-C93B.sin

-Flash the rom with newflasher (drop the newflasher.exe into the firmware root folder)

-Start your phone up (it will say its optimizing for network or something an needs to restart THAT'S OK!) Once its fully started up go ahead in sign in to see if its getting data of any kind (might not be LTE)

-Shut the phone down an go back into flashing mode

-Flash the oem_X-FLASH-CUST-C93B.sin now then restart the phone

-It will bring up again optimizing for network and then if everything goes right you will have working wifi calling an volte with the fingerprint scanner.
[Sony Xperia XZ1 Compact Questions & Answers] kakishio:
hello guys, im from malaysia and on a telco called yes4g. Have tried flashing my xz1c with UK firmware+oem of US, couldnt get volte..

anyone has and idea which firmware to use?
[Sony Xperia XZ1 Compact Questions & Answers] lzy0702:
Hi, do you know what changes should I make to get VoLTE and WiFi-Calling on Mint Mobile network (another MVNO with T-mobile network)? I think it is generally the sim_config_id.

I'm using G8142 (I think the changes needed should be the same)
[Sony Xperia XZ1 Compact Questions & Answers] Gamer_1:
Any solution to work VoLTE on the latest PIE ? 47.2.A.11.228
[Sony Xperia XZ1 Compact Questions & Answers] Ephesus:
I got it to work by combining latest US and UK firmware.

Download the latest firmware for both US and UK

*US latest is G8441_Customized US_1310-4371_47.2.A.11.228_R7C

*UK latest is G8441_Customized UK_1310-6856_47.2.A.11.228_R2C

and follow instruction is post #295 which I copied here for ease of use:

* Open UK firmware in file manager

"

* I remove all the files listed in update.xml with NOERASE, FACTORY_ONLY. i.e. appslog_X-FLASH-ALL-C93B.sin, diag_X-FLASH-ALL-C93B.sin, ssd_X-FLASH-ALL-C93B.sin, Qnovo_X-FLASH-ALL-C93B.sin, persist_X-FLASH-ALL-C93B.sin, userdata_X-FLASH-CUST-C93B.sin

* I remove all the files with a .ta extension

* I replace the oem_X-FLASH-CUST-C93B.sin file with the one from US fimware

* I copy newsflasher.exe in

At this point I

* turn off my phone

* hold down the volume button

* while holding volume down I plug in the phone to my PC

* I run newsflasher.exe and follow the prompts

This gets me on the latest update but leaves my data intact."

Credit to [MENTION=1090400]muness[/MENTION] for outlining instructions.
[Sony Xperia XZ1 Compact Questions & Answers] Gamer_1:
This is not working for me :((

I think is enough to flash only the oem.sin file, but i completed the full process what you wrote.

In hungary not working. I'm so sad.
[Sony Xperia XZ1 Compact Questions & Answers] jal3223:
Has anyone gotten this to work on Android 10?

I currently have an XZ2 premium and would like to get Verizon working on it. The XZ2 Compact is certified on Verizon, so I figure I could use the files to get it working on my XZ2 Premium due to the similar file system and hardware.

I have searched in system/etc/customization/modem and I have found no mbn files matching any carriers. So I was wondering if the way things work has changed in Android 10?

I have de-compiled the modem file in the XZ2 Compact and see a reference to verizon listed in the generic/row... folders as an mnb file. Even the modem section in the OEM partition shows a file extension showing the same generic/row... file extention with just a generic modem mbn file at the end.

So I was wondering if the method of placing the Mbn file has changed since earlier Android versions?

I don't have access to the files at this time, but I can post the exact file extension tree as well as the exact file names if needed.
[Sony Xperia XZ1 Compact Questions & Answers] SGH-i200:
You have to flash the file "cust-reset.ta" to switch to the new customization. This is also done by switching SIM cards or factory resetting, but has to be done!

---------- Post added at 05:37 PM ---------- Previous post was at 05:32 PM ----------

Please create a new thread on that topic in the XZ2 Premium forum and link it here. I will try to help you work it out. But this is the wrong place, since the XZ1 did not get Android 10.
[Sony Xperia XZ1 Compact Questions & Answers] jal3223:
Awesome. Thank you so so much. I'll create a thread in little bit. Sorry for posting in the wrong thread.
[Sony Xperia XZ1 Compact Questions & Answers] jal3223:
The thread for Volte on the XZ2 Premium is here. Thank you to anyone that can assist.

https://xdaforums.com/sony-xz2-premium/help/lte-volte-fix-verizon-carriers-t4114961
[Sony Xperia XZ1 Compact Questions & Answers] bofis:
Okay, so now that T-Mobile is threatening to require all devices on their network properly support VoLTE, I'm looking into this thread. I currently have the nordic combined firmware on my XZ1 Compact, so could I dirty flash the oem_X-FLASH-ALL-C93B.sin and cust-reset.ta files via flashtool without doing the entire rom or resetting data? Does the cust-reset.ta only reset those settings? I think I've always just left out every .ta file when flashing new firmwares...
[Sony Xperia XZ1 Compact Questions & Answers] SGH-i200:
Yes.

You should read https://xdaforums.com/showpost.php?p=79165185&postcount=4
[Sony Xperia XZ1 Compact Questions & Answers] ezdi:
I need a copy of the US oem.sin from the last oreo (.16.20) or the entire set from any US oreo version. Does anyone have it stored somewhere?
[Sony Xperia XZ1 Compact Questions & Answers] redavenger:
ok so can someone confirm this for me.

this method of flashing the oem file from the US firmware is just to get volte working if your on t-mobile right?

there is no firmware/oem combo to get volte working generically eg for the telstra network in australia?
[Sony Xperia XZ1 Compact Questions & Answers] Aertus:
hey guys i have a xperia XZ1 G8342 US version. I want to get Wifi-calling and VOLTE enabled. I have never flashed anything before in my life what should i do?
[Sony Xperia XZ1 Compact Questions & Answers] mrbaa4:
is it other telco cant use volte?
[Sony Xperia XZ1 Compact Questions & Answers] Frontier3:
So what does this mean exactly for AT&T? Will this phone not get high speed internet without the US firmware (and thus no fingerprint scanner)?
[Sony Xperia XZ1 Compact Questions & Answers] andTab:
Too bad. Had high hopes for this phone.

without volte you are dead in the water in the US and without a fingerprint reader this phone is sh!t
[Sony Xperia XZ1 Compact Questions & Answers] pbarrette:
VoLTE and WiFi calling work with T-Mobile on the XZ1 Compact if you are using the US firmware.

Hell, even the official Sony pre-order page on US Amazon show it.

Can you stop trolling with your baseless speculation please?
[Sony Xperia XZ1 Compact Questions & Answers] 1230m:
andTab is just saying that the phone isn't worth it without both.
[Sony Xperia XZ1 Compact Questions & Answers] km8j:
Correct
[Sony Xperia XZ1 Compact Questions & Answers] pbarrette:
Having seen his posting history lately, I don't think that's what he was saying.

What we knew before the first phone or firmware was ever seen:

1] Sony disables the fingerprint scanner in US firmware.

2] T-Mobile requires certification and configuration for VoLTE.

What we know after seeing the firmware:

1] Sony disabled the fingerprint scanner in the US firmware.

2] Configuration files for T-Mobile VoLTE are present in the US firmware.

Sony's official line:

1] The fingerprint scanner doesn't work in US firmware.

2] The US firmware supports T-Mobile VoLTE and WiFi calling.

Literally none of this is news.

If you want T-Mobile VoLTE and fingerprint, you're going to have to unlock your bootloader, get root and mix/match firmware parts.

It's totally do-able, but you'll lose your DRM keys currently.
[Sony Xperia XZ1 Compact Questions & Answers] km8j:
Has anyone actually achieved this yet
[Sony Xperia XZ1 Compact Questions & Answers] theplasmastorm:
Pardon me for asking but where is the source of the fw you are using?
[Sony Xperia XZ1 Compact Questions & Answers] ms2398:
Yes, I currently have the XZ1 Compact US version and have T-mobile VoLTE, Wi-Fi Calling and FingerPrint reader all active and fully functional. I also did not have to unlock bootloader or root, so I have also retained my DRM keys. This phone is truly a great phone in a compact case now that fingerprint and T-mobile features are enabled.
[Sony Xperia XZ1 Compact Questions & Answers] ah_hin:
That's great news! How did you enable the fingerprint sensor on the US firmware?
[Sony Xperia XZ1 Compact Questions & Answers] pbarrette:
Frankly, I'd like to see screenshots to prove that.

The US firmware doesn't contain the fingerprint reader trustzone binaries, libraries or support software.

So you'd have to have a non-US firmware version that contains all the files required to support the fingerprint reader.

The US firmware's "oem_X-FLASH-ALL-C93B.sin" file contains the modem configuration for T-Mobile, as well as the framework overlay files that enable VoLTE and WiFi calling, but it also contains a file called "android-config/early_config.xml" which has entries named "config_packagesBlacklist" and "config_packagesFullBlacklist" that disable the fingerprint related software.

I assume this is to prevent people from flashing, say, the CE1 firmware with the US oem.sin file to get both TMO VoLTE and fingerprint working simultaneously.

The only way around this is to delete the "early_config.xml" file, and that requires root as well as RIC and verity disabled.

The only way to do that currently is by unlocking the bootloader and losing your DRM keys.
[Sony Xperia XZ1 Compact Questions & Answers] ms2398:
Screens 1
[Sony Xperia XZ1 Compact Questions & Answers] ms2398:
Screens 2
[Sony Xperia XZ1 Compact Questions & Answers] ms2398:
See my screens in the prior 2 posts. It's really much easier than what you are describing. Download the Customized UK firmware from Xperifirm. Download the Customized US firmware from Xperifirm. Copy the

system sin file

and

vendor sin file

from UK firmware and replace the files in US firmware with the copied files. Flash the modified US firmware using newflasher tool. Bingo!

I got the info from this Reddit thread and jumped right on testing it with XZ1C and had success. :good::D Major credit to ajeatssushi over on reddit for finding the right files.
[Sony Xperia XZ1 Compact Questions & Answers] pbarrette:
That's great news!

I haven't looked into the UK firmware that deeply yet, so it must be that the system files aren't expecting (and thus don't process) the "early_config.xml" file in the US firmware's

oem sin

.

From what I can tell without decompiling all the APKs in the /system tree, the CE1 firmware and the US firmware are exactly the same with the only differences being:

1] System Sin:

a - A fingerprint library is removed from the US firmware.

b - Various build.prop "ro.build.*" and "ro.product.*" names are changed.

c - The "ro.expect.recovery_id" hashes are different.

2] Vendor Sin:

a - Fingerprint apps, libraries, trustzone binaries and init scripts are removed from US firmware.

b - The build.prop reflects the US vs CE1 variant in the "ro.vendor.build.fingerprint"

3] OEM Sin:

a - The US version has the "early_config.xml" file intended to disable the fingerprint apps.

b - The US version has a gps.conf file overlay which doesn't exist in the CE1 version.

c - The "com.touchtype" languages are different.

d - The US version has a "modem.conf" file which contains the line "tmobile_us_ims"

e - Various APK overlays enable VoLTE (on US), change customization settings (both variants, but different settings).

f - The build.prop and cust.prop files reflect the firmware to be pulled for OTA updates.

I couldn't find any real differences in any of the other SIN files. Even the

modem

and

amss

files seemed essentially the same.

I also couldn't find any other references to "tmobile_us_ims" in the files.

I guess I'm going to have to hunt deeper to see where the "early_config.xml" file is getting read and processed.
[Sony Xperia XZ1 Compact Questions & Answers] VeixES:
pbarrette, quick fingers :) i was going to do exactly same and compare differences :) But you managed to be faster.

PS. It seems that in 8.0 Sony has finally split the system into system and vendor images

Anyone with comprehensive english skills can now write volte/fingerprintreader tutorial in xda, if its not done yet :)
[Sony Xperia XZ1 Compact Questions & Answers] maidguitar:
Awesome work!!!

Can you confirm that it's on band12? I guess it's too new, but would this flash have some implications about OTA updates in the future?
[Sony Xperia XZ1 Compact Questions & Answers] pbarrette:
Now it looks like I'm going to have to do the same for the UK variant. Which I expect to be more difficult since the US and CE1 variants are both on 47.1.A.2.281 while the UK is on .324.

Have you found where the "modem.conf" is being called for the "tmobile_us_ims" instruction? I don't see that in the modem or amss sin files.

Also, with this solution, OTA updates are not recommended.

Additionally, I'd be interested to see how booting to recovery acts, as the hash values are different in the build.prop's "ro.expect.recovery_id" property.

---------- Post added at 11:40 PM ---------- Previous post was at 11:37 PM ----------

If you look closely at his screenshots, you can see that he has WiFi calling enabled and shows LTE while in a call. So I don't expect that Band-12 would be a problem, because both are T-Mobile specific enhancements with the US firmware and both are enabled via the US firmware's OEM sin file.
[Sony Xperia XZ1 Compact Questions & Answers] ms2398:
I can confirm that VoLTE works on band 12. Tested it tonight while at a red light. Will get a screen shot tomorrow. I have also noticed that I'm getting LTE+ where it is available.

And yes, I'd say that OTA will definitely break this. Though it should be an easy fix if the file structures stay the same.
[Sony Xperia XZ1 Compact Questions & Answers] VeixES:
It used to be qcril.db(sqlite db) which directly called out the .mbn files. It detected the mcc/mnc from sim and then used that db to load appropiate mbn. You can still find it under vendor image. But the table qcril_sw_mbn_mcc_mnc_table is empty.

But in Sony, .mbn configurations are loaded by CustomizationSelector.apk(system image). In oem image you have com.sonymobile.customizationselector-res-305.apk which has 2 xml files in it.

service_providers.xml which gives every MNC a "sim_config_id" and then configuration_selectors.xml(different in every oem.sin most likely) which maps the "sim_config_id" to folder name where the modem.conf lives.
[Sony Xperia XZ1 Compact Questions & Answers] km8j:
Whoa this is crazy. Does anyone have full instructions on how to do this?
[Sony Xperia XZ1 Compact Questions & Answers] will.m:
Can you upload the files? It looks like Customized UK and CE1 has been updated and no longer at 281.

I'd love to give this a whirl!
[Sony Xperia XZ1 Compact Questions & Answers] km8j:
Also... are these Customized firmwares changed by an individual developer? Are they safe? Or are they coming right from Sony?
[Sony Xperia XZ1 Compact Questions & Answers] ms2398:
These are firmwares directly from Sony. They are just called customized firmware bc they are for a specific region and not tied to a specific carrier. I'm on the road so I will tell you exact builds later tonight but when I checked a few hours ago, the US and UK builds were still the same as the ones I used.
[Sony Xperia XZ1 Compact Questions & Answers] ms2398:
Here are my screens for band 12 VoLTE.
[Sony Xperia XZ1 Compact Questions & Answers] will.m:
I just flashed the Tmobile NL system/vendor sins and I can confirm the fingerprint scanner is working with VOLTE.

I also tried the UK .324 and it had the grid crashing loop.
[Sony Xperia XZ1 Compact Questions & Answers] pbarrette:
I'm having some trouble deodexing the Oreo jars and apps, but I can at least tell that the "early_config.xml" in the US firmware's

OEM SIN

file is getting processed somewhere in "/system/framework/services.jar" and "/system/priv-app/SEMCSetupWizard/SEMCSetupWizard.apk".

It looks like the code is present in both the US and the UK firmware, but not working correctly. This may explain why they stripped out the libs and apps from the US firmware.

Let's hope Sony doesn't fix this particular problem.
[Sony Xperia XZ1 Compact Questions & Answers] ms2398:
I had the grid loop with 324 UK files when I only flashed the two sin files. But then I flashed the 324 UK system and vendor sin with ALL of the US files during the same flash session and then it all worked without the grid loop.