yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact Questions & Answers] pbarrette:
The US version of the XZP is the G8142, so you will see the firmware files there.

The firmware for the XZ1 and XZ1c are signed with the same key, so you can cross flash firmware components between them, but the firmware for the XZP is signed with a different key, so you cannot.

The only way T-Mobile VoLTE has worked on the XZP so far is here, with a factory reset required after flashing as described here.

This will only work with the G8142 firmware because the G8141 firmware lacks the correct T-Mobile modem file.

It also requires the bootloader to be unlocked because it is flashed in TWRP.

EDIT:

In response to your edit, the US G8142 firmware doesn't contain the bits required to turn on VoLTE for the XZP.
[Sony Xperia XZ1 Compact Questions & Answers] bpm2000:
Ah so the guy on post #158 must not have been doing it the way described in this thread. Wish that was made more clear but anyone else trying this on your XZP, now you know :silly:.

Thanks for the confirmation that this isn't going to work without unlocking.
[Sony Xperia XZ1 Compact Questions & Answers] pbarrette:
Yeah.. He should have been more clear that he was unlocked, rooted and copying files that I provided in the thread linked above.

You'll see what he did if you go backwards from my links.

I only provided an untested TWRP flashable zip because I was concerned that pikeylfc had just copied over all the files wholesale without regard to the ".prop" file settings despite my warnings about doing so in the post and didn't want other people falling into that same trap.

It worked out for him, but I think Pointless816 will be better off in the long run for not having garbled those files.
[Sony Xperia XZ1 Compact Questions & Answers] kirkm76:
Still Good?

Is this method still valid? Just got my XZ1c this week and was trying to get it to work, but Neither the adb driver from sony or the one that is installed via the New Flasher software seems to install and I get the could not be found error with NewFlasher.

Err, nevermind...It had been so long since I had done one I forgot to turn on USB debugging like a knucklehead. Flash worked now just need to make sure wifi calling is good to go!
[Sony Xperia XZ1 Compact Questions & Answers] prasanth44:
So did this work? I tried it and have a really bad battery life.
[Sony Xperia XZ1 Compact Questions & Answers] ins0mniac:
My apologies for asking this question on 25th page of this thread...

I'm on "Customized GEL .119" (Latin America) with fingerprint enabled.

To get VoLTE without losing data, should I do one of the followings:

1. Flash "Customized GEL .119" minus userdata.sin AND with replaced oem.sin from Customized US

or

2. Flash just oem.sin from Customized US

Thank you
[Sony Xperia XZ1 Compact Questions & Answers] pbarrette:
Option 2 will enable VoLTE on T-Mobile and let you keep using the fingerprint reader.

Sony will stop delivering you firmware updates, so if you want updated firmware, you'll have to flash those manually.

My process for flashing updates is:

- Flash all "Customized XX" SIN files (including the oem), except for the userdata, boot and partition SIN files.

- Power on then power off phone.

- Flash the US version's oem SIN file.

I've found that if I don't do it like that, then Sony's Customization Selector app doesn't always recognize that it should update the TA partition with the correct modem.
[Sony Xperia XZ1 Compact Questions & Answers] ins0mniac:
Thanks a looot [MENTION=4782500]pbarrette[/MENTION]. You are amazing & always willing to help.

All I did is just copy "oem.sin" file from customized US rom to newflasher folder & flash only that single file in my international (Latin America) XZ1 Compact. Now I have VoLTE + Wifi calling & of course fingerprint scanner. I'm using Mint Sim as carrier in USA, which is a T-Mobile MVNO.
[Sony Xperia XZ1 Compact Questions & Answers] genorok:
Has anyone had success with Newflasher and the March Update? I've been getting errors when attempting to flash any of the softwares. I've tried the UK and the Italy software and both gave me repartition errors. Also have you guys noticed that the oem-FLASH-ALL file says oem-FLASH-CUST on customized UK and IT firmwares? That's a change from what it was but the US firmware's latest still has the ALL file.

Processing partition-image-LUN0_X-FLASH-ALL-C93B.sin

- setting up infflate...

- infflating, please wait...

- infflate returned: 0

- gzpipe: ok.

- gunziped ok.

- Extracting from partition-image-LUN0_X-FLASH-ALL-C93B.sin

- Extracting signature partition/partitionimage_0.cms

- Uploading signature partition/partitionimage_0.cms

signature:0000053e

OKAY.

- Extracting sparse chunk partition/partitionimage_0.000

- Uploading sparse chunk partition/partitionimage_0.000

download:00006000

OKAY.

Repartition:partitionimage_0

Error, didn't got Repartition OKAY reply! Got reply: FAILCommand not authe

nticated
[Sony Xperia XZ1 Compact Questions & Answers] pbarrette:
Honestly.. I haven't had time to flash the March update yet. I'll give it a shot this weekend.

For one, I use the DE firmware with the US OEM these days, so I haven't pulled the UK or IT versions.

Additionally, I usually don't flash the boot or partition SIN files, so I wouldn't have noticed if you hadn't said something.

Also, the partition files haven't changed in content between 47.1.A.12.75 and 47.1.A.12.119, so you're not missing out by not flashing it.

Finally, the US variant of the 47.1.A.12.119 firmware also has

oem_X-FLASH-CUST-C93B

, which is a new thing.

It does make me wonder if Sony changed the bootloader to prevent user flashing of partitions though.

If they did, then the question is why? Was there an exploitable vulnerability there?

I wonder if you could flash the bootloader from 47.1.A.2.374 or earlier?

If so, can you then flash the partition SIN files?

If the bootloader is the problem, and it hasn't changed since 47.1.A.5.51, why is it suddenly a problem now?

Were you flashing the partitions in earlier versions?

One new thing about this firmware is that the partition SIN files are not contained in a separate zip file. Instead, they're pre-extracted in a folder called

partition

, which is exactly what Newflasher is looking for if you wanted to flash the partition files.

So I guess it's possible that nobody has been flashing the partition files since 47.1.A.5.51, so nobody actually noticed that you can't anymore.
[Sony Xperia XZ1 Compact Questions & Answers] joesee:
OK, so it looks like Xperifirm now has versions 47.1.A.12.119 for both customized US and UK. I just picked up a XZ1c new in the box and it currently has 47.1.A.2.281. What does anyone recommend to get Fingerprint working? I'll be using T-Mobile USA on this too, so I'd love to have VoLTE and wifi calling as well. Thanks!
[Sony Xperia XZ1 Compact Questions & Answers] taphius:
I downloaded .119 US and Customized Europe (CE1).

Swapped the oem_cust.sin file from US into CE1 then flashed the entire ce1 folder with newflasher, getting volte and fp scanner now.
[Sony Xperia XZ1 Compact Questions & Answers] beflythis:
Former Z3c and now Z5C user here on Tmobile... after having great data but no reception for calls (all going directly to voice mail.. outbound sometimes take 2-3 to land and then suffer poor quality at best) - i was hopeless. Until I found this thread and the knowledge base on US Tmobile and Band 12 LTE 'or bust' (needing carrier specific modem and settings within the firmware)... firstly THANK YOU ALL for giving me a light at the end of the tunnel.

Now the question... has anyone successfully done this for Z5C devices? I'd like to use a custom ROM but with the US firmware modem files. Is there a way for me to make a flashable .zip with the raw files from the US firmware?
[Sony Xperia XZ1 Compact Questions & Answers] bryan5255:
I've been looking through the forum and was unable to see someone verify this. Can you get the VoLTE working regardless of which firmware your phone originally had? I'm looking at getting an international model as it's about $30 cheaper, but I don't want to do it if VoLTE will never work with it. Can someone confirm that if I go through the right steps I can get VoLTE working with the fingerprint scanner. Also, as this thread is very long if someone knows of a link to the best step by step instruction to do so that would be great if not I don't mind trial and error working through it when it comes in.
[Sony Xperia XZ1 Compact Questions & Answers] will.m:
I figured it out. Delete the partition folder and you'll be able to flash it.

Read my posts on page 6.
[Sony Xperia XZ1 Compact Questions & Answers] camaro322hp:
In case this helps anyone (I was unsure, but went ahead anyway):

I flashed Generic DE 179 with the OEM file from US 145 (since US 179 was not released at this time). All went perfectly, and I have a 179 installation with fingerprint and T-Mobile VoLTE working.
[Sony Xperia XZ1 Compact Questions & Answers] StHalcyon:
[Edit: Should've read the final comment from camaro322hp, as that would've answered my question.]

I just received my XZ1c, and before I start using it, I am about to flash it. Has anyone tried using OEM file from US 47.1.A.12.145 with an international firmware 47.1.A.12.179? Works as expected? Thanks!
[Sony Xperia XZ1 Compact Questions & Answers] camaro322hp:
Yep, you're good. Still running my 179/145 mashup with no issues.
[Sony Xperia XZ1 Compact Questions & Answers] StHalcyon:
Thanks! I used Customized UK 179 + OEM from US 145, and it works as it expected based on your report.

Just out of curiosity, how much space free space was left on the internal drive after the flash? I didn't install anything on the US variant phone, other than system updates up to native US 145. After that, I performed the flash of cust_uk 179 + US 145 OEM - [ta + user files]. It just didn't seem right that I would only have about 17 GB free out of the 32 GB internal drive, with about 700 MB of that consumption from messaging history + contacts I transferred over. I should've looked before I transferred anything and started using the phone, but too late now.
[Sony Xperia XZ1 Compact Questions & Answers] camaro322hp:
I don't remember exactly, but I did look and I recall it being approximately 19GB free before I started installing my apps.
[Sony Xperia XZ1 Compact Questions & Answers] Tempeh:
Hello,

I'm in the US and bought the US version. I'm using AT&T and I followed these directions: well I can't post links yet but it was this topic on Reddit "XZ1 Compact Fingerprint Scanner + VoLTE + WiFi Calling in the US Guide" by a poster named weed_o_whirler

I have managed to get the fingerprint scanner working, but not VoLTE, nor WiFi calling. I used the Custom DE 179 (German) firmware as a base over my stock US 145 and kept all Custom DE 179 except for one file, I replaced the OEMFlash .sin file from the US version. I did not delete any TA files or user files as the guide I was using didn't specify and I didn't want to mess around with something I wasn't sure of my first time.

I had around 22gb Free after fresh install, NFC icon works and I can toggle it on and off as expected, LTE band icon works as well, when it drops down to 3G it says H

Service works fine, I can make calls, receive calls, texts, and even tested it on the road with Google Maps and all went well.

Edit: I'm on AT&T prepaid plan, which might be the issue with VoLTE?

Credit to FAUGuy I dialed *#*#INFO#*#* and went to the phone info and found out it's not compatible. It showed WiFi calling Provisoned and VoLTE calling Provisoned off.

To be fair I did this after flashing my firmware, because I didn't know the feature existed prior. The first thing I did with the phone before I changed anything was go to settings - mobile network, and did not see any VoLTE option there, I asked the rep in the store where the option would be and I looked all over the phone.

The rep I spoke to at the AT&T store said that Volte service can be choppy anyway unless you have a strong LTE signal. So it doesn't seem like I'm missing much. The phone is still great, and improved already.
[Sony Xperia XZ1 Compact Questions & Answers] quitit:
I've been reading this thread since the beginning to the end and I notice that the file we need to replace with is not named the same in prior firmware version, the earlier version had the oem file named: "oem_X-FLASH-ALL-C93B.sin" and the current firmware version has the file named: "oem_X-FLASH-CUST-C93B.sin".

Is "oem_X-FLASH-CUST-C93B.sin" the file you used to copy into the DE firmware to get VoLTE to work?
[Sony Xperia XZ1 Compact Questions & Answers] camaro322hp:
Yes, I used oem_X-FLASH-CUST-C93B.sin from US 145.
[Sony Xperia XZ1 Compact Questions & Answers] quitit:
Ah, okay, that clears that up for me.

And you mentioned, "Generic DE", did you mean "Customized DE"?
[Sony Xperia XZ1 Compact Questions & Answers] camaro322hp:
Ah, yeah, sorry about that. I should have paid more attention to the details. I used Customized DE 179 along with the OEM file from Customized US 145. I removed all the .ta files before flashing, according to an old guide I found on xperiablog.net (not sure if removing the .ta files was absolutely necessary - I suspect it doesn't matter either way). I left all other files alone.

I looked today, and it looks like US 179 has been released now, so you may want to use that instead of US 145. I haven't done a file compare, but the OEM file sizes are identical between US 179 and US 145, so I suspect the file has not been changed at all between those versions.

Good luck.
[Sony Xperia XZ1 Compact Questions & Answers] Tempeh:
Removing the .ta files from your newsflash folder means you aren't flashing them, hence retaining them. That's why people remove certain files, because they want to keep their user data as is. I'd prefer to do a full flash since I want to start from scratch. I'm going to try it again with the updated US 179 OEMFlash .sin and report back.

Edit: Not sure if it's going to be possible for my carrier, I updated to the latest build of the Custom US 179 .sin file using the Custom De 179 as a base. Glad to have the latest firmware on the device and retain fingerprint sensor unlocked, but no luck with Volte or Wifi calling still. I tried the info page again and both unchecked, so either I'm trying an impossible task, or perhaps I should try using the default Custom DE 179 .sim and flash it full DE. Some other users said in the past to flash one version at a time and then on a subsequent pass replace the .sin somehow to "reactivate" it, but I went from US 145 to Us 179 so I'd think that would trigger any necessary reactivation process. If anyone has a suggestion to try I'm open to it.

As for differences between versions, I can't tell much, it's possible this "video & TV sideview" app is new in 179, it's for using your phone as an IR remote, I didn't notice it before in the 145, but I also didn't really use my phone for that long before re-flashing it so not 100% certain if this is new or not. Also since I just flashed, I have an accurate read, it says 21.76 gb free.
[Sony Xperia XZ1 Compact Questions & Answers] camaro322hp:
Yep, understood that excluding them doesn't flash them. I was just saying that I didn't really know if the net result would be much different by excluding them or including them. I'm no expert, so I could be wrong, but I chose to follow the xperiablog.net guide as they have provided some knowledgeable guides over the years.

Sorry I can't help you with ATT VoLTE as I'm on T-Mobile. It may not even be as critical to you as it is to T-Mo users - my understanding is that TMo has some towers with only band 12 LTE and if your phone is not VoLTE certified with them, they will actively keep you off the tower, even for data usage, for liability reasons and not being able to dial 911 even when you have a signal. Not sure if any of that is even remotely applicable to ATT though.
[Sony Xperia XZ1 Compact Questions & Answers] baldursgate:
Planning to do a full wipe of my phone and upgrading to the latest FW (47.1.A.12.205) which is available on XperiFirm in international as well as US flavor. Has anyone tried replacing just the OEM file to do a full update w/reset?

Also, has anyone used the 205 FW and notice changes/improvements? I heard that in one of the recent updates with the March security patch, the Android Night Light feature is available.
[Sony Xperia XZ1 Compact Questions & Answers] ezdi:
I just updated to 205 from what I think was a mix of uk/us 8.49 (possibly us 2.324 based on folders I have sitting around). No Night Light in settings that I can find. SystemUI Tuner lets me add a quick setting tile for it, but it doesn't work. Sometimes if I add the tile and then hit it without closing QS, it'll make settings tell me Night Light is on, but there's no visible difference, so still using CFLumen.

An issue I'm having is that messaging keeps closing. I've tried uninstalling updates, updating, clearing data, it's broke.

I updated first trying UK minus .ta, partition, boot, userdata, substituting the US OEM. That resulted in the options for VoLTE and VoWiFi being there and it said I was provisioned, but calls went to 3G. I had to flash the UK OEM, let it reboot to update the modem info, then flash the US OEM and let it reboot to update the modem info again. Now they work, but messaging is still screwed up.
[Sony Xperia XZ1 Compact Questions & Answers] baldursgate:
Thanks. I'm going to try doing a full wipe, without keeping the .ta and other files. I'll report back if that grants me the Night Light feature.
[Sony Xperia XZ1 Compact Questions & Answers] ezdi:
Do you mean without *removing* the .ta and other files? If you're doing a clean install, why not flash it all? You might have to do the US OEM as a separate flash anyway.

BTW: I found that the issue I was having with messaging was from SX DarkRes. It hasn't been updated in a while and is no longer compatible. I keep auto update disabled for everything that is installed in system, so I didn't notice until now. Disabling that part of the theme lets it run, but, of course, blinds me if I look at it in the middle of the night.

I'm also noticing bad reception. LTE Discovery and Net Monitor tell me I'm still getting B12 and I can stay on calls in certain spots, but if I'm not in a call, the phone will say no signal. But maybe TMo just turned down the power again.
[Sony Xperia XZ1 Compact Questions & Answers] baldursgate:
I remember the original method of getting fingerprint & VoLTE to work on US phones was to replace the OEM file on an international FW and flashing that (as opposed to doing two flashes). Has the procedure changed?
[Sony Xperia XZ1 Compact Questions & Answers] ezdi:
I tried that, and it didn't work. See post #271.
[Sony Xperia XZ1 Compact Questions & Answers] baldursgate:
I just did a clean install of 47.1.A.12.205 without keeping user data, using the original method outlined in this thread. (Just replace the OEM sin file in the customized UK one with the customized US one and flash with newflasher.) It worked just as before, with fingerprint and VoLTE.

Night light didn't become available, but I followed the instructions in this thread to get it working. (The APK mentioned in the thread supposedly only works in more recent FWs with at least the March security update.)
[Sony Xperia XZ1 Compact Questions & Answers] sammybk:
Just did an install of 47.1.A.12.235 (keeping original userdata). As Post #271 suggested, the initial method of replacing the OEM...sin file from the USA to the UK firmware and flashing the modified UK on appeared to work until I attempted a call and VoLTE was not working.

Flashed on the standard UK firmware, got the message for updating carrier settings and a couple reboots. Again flashed the modified UK firmware. This time, the carrier update was triggered again. All seems to be working nicely.

Thanks again. Now, if we could only get the HDR+ camera to run without rooting...
[Sony Xperia XZ1 Compact Questions & Answers] taxidrivr:
has anyone successfully done this using a Mac instead of PC? have a XZ1C coming soon and would like to attempt having the fingerprint sensor enabled.

most of the guides/instructions I've found are PC/Windows specific.
[Sony Xperia XZ1 Compact Questions & Answers] POMF2K:
I've been searching all over XDA and likely asking in the wrong places....

Have any of you been able to root (and obviously keep camera and other features intact) AND enable fingerprint sensor AND wifi calling on tmobile us?

If so, what is the process (specifically in what order)? Any guides would help. Also this will be a new device so I'd like to know if I should take any OTA updates or not.

Thanks in advance. I want to make sure I can accomplish this before purchasing.
[Sony Xperia XZ1 Compact Questions & Answers] ezdi:
Sorry, I don't root my primary device anymore. Between Sony's stupid DRM and everything using SafetyNet for no good reason, it's not worth it. I can guess though:

First do all the stuff to get things working unrooted. Some of the following would be undone by flashtool.

AFAIK, the only known root method for the XZ1 is to unlock the bootloader first. Then you have DRM issues, which I believe is only the camera and everything else is just as before. Installing a recovery shouldn't break anything. Rooting with Magisk shouldn't break anything either because it only adds a little to the ramdisk. If it did reset the modem configuration, there should be a way to manually load the tmobile modem now that you have root.

But if you want the DRM fix for non-green pictures, now things are more complicated because you're running a different kernel and I think there's system modifications. Maybe ask in the DRM fix thread.
[Sony Xperia XZ1 Compact Questions & Answers] dcrin3:
Yes. I have a Win10 VM running within the macOS. I performed it on my XZ1 which should be similar to yours(XZ1c). I was also using newsflasher.

---------- Post added at 08:51 PM ---------- Previous post was at 08:45 PM ----------

I've accomplished the first part of your question. For my XZ1, I wanted support for group MMS and fingerprint. So I flashed Customized US firmware, I deleted system.sin and vendor.sin from US firmware. I then pulled system.sin and vendor.sin from Central Europe 1 and dumped them into the Customized US.

Group MMS works on Customized US but fingerprint does not, by pulling system and vendor from an CE1 I get fingerprint back.

Those two options work for me via newsflasher or flashtool
[Sony Xperia XZ1 Compact Questions & Answers] ah_hin:
I flashed the OEM file from the US version onto a UK version about a year ago, and left it alone since then.

I am trying to update my phone to the latest firmware, but I can't seem to flash the firmware using newflasher, hopefully someone can point out what I am doing wrong.

1. Install FlashTool, and install the drivers for the Fastmode and Fastboot Drivers. In order to get the drivers to install, I had to disable the driver certification thing from Windows 8.1 at startup.

2. Install the Sony Companion software, and be able to connect the phone to the software.

3. Download "G8441_Customized UK_1310-6856_47.1.A.16.20_R18B" and "G8441_Customized US_1310-4371_47.1.A.16.20_R8B" from Xperifirm.

4. Create a new folder and copy newflasher.exe in there.

5. Copy all files from the UK firmware to the new folder, replace OEM with the OEM file from US, and remove the following files:

all the .ta files

appslog_X-FLASH-ALL-C93B.sin

diag_X-FLASH-ALL-C93B.sin

ssd_X-FLASH-ALL-C93B.sin

Qnovo_X-FLASH-ALL-C93B.sin

userdata_X-FLASH-CUST-C93B.sin

6. Power off the phone, wait for 5 seconds, then hold volume down and plug in the cable until the light is green.

7. Run newflasher, and choose no to both questions.

8. Unplug device and turn it on.

After finishing all the steps above, I am still seeing Build Number 47.1.A.2.324, meaning nothing has been updated? Android version is still 8.0.0.

I have attached the folder I used for flashing, maybe one of the more experienced user can shed some light as to what I am doing wrong.