yashsingh1/xdaforums huggingface dataset:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ExDeeEy:
Could you, or someone else, please expand on that? I understand FTF is a Sony firmware file format, but not much else. Some instructions say I need a locked bootloader to get this file, mine is unlocked as is required for this ROM. I'm confused.

What's the difference between this and the ODM file from #3 of the requirements in the first post?

Which partition does it go on and can it also be flashed with fastboot or is that separate Flashtool the only way? If so, why is this file so different?

Can it be downloaded from the Sony website?

If I never touched a FTF file before, can I assume that I already/still have the required stock FTF on my phone?

Trying to flash the ODM image from the first post (SW_binaries_for_Xperia_Android_8.1.6.4_r1_v10_loire.img), I get

FAILED (remote: Command not allowed)

Is that related to the FTF problem?

Edit: BTW, I just tried downloading that Flashtool from http://www.flashtool.net/downloads_macos.php . The download link to Uploaded.to on is dead and the Magnet/Torrent link produce a file whose MD5 doesn't match what the website shows. Don't want to install apps that might have malware or otherwise have been tampered with.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Ftf can only be flashed with Flashtool, (or munjeni's xflasher tool). The FTF is the entire fw file, containing boot, fota, system, etc. The ODM image is a single partition to be flashed with Flashtool by command in op. If you haven't flashed anything else, you still have stock, but not the latest, (which is required, according to instructions), so you'll have to update. Sony has an official tool, Emma, but it's only for Windows.

'Remote command not allowed' is usually due to a locked bl. If you're unlocked and still getting it, I don't know, Try to reboot and try again.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ExDeeEy:
Thanks for your reply. What does ODM stand for? And, if the FTF contains everything, what does that separate ODM file do? Both come from Sony, why wouldn't that ODM partition be included in the FTF package?

Has anyone here done this on a Mac? What version of Flashtool are you using and where did you get it from?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jd22:
The ODM image is required if you want to flash a non-stock ROM and it is provided by Sony (see developer.sony.com). You need fastboot to flash the ODM image and it will be written on the oem partition (see flash command in first post).

The flashtool is available on http://www.flashtool.net. It is mainly used to flash stock-ROMs. The non-stock ROMs that I have seen so far, are flashed via fastboot or TWRP.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ExDeeEy:
Thanks.

Yes, I've seen that, see my post #120. The problem is, the latest version listed there is 0.9.24.4, but the Mac download is still at 0.9.23.1. Even so, the download link via Upload.to is broken, and if you use the torrent, you get a file whose MD5 doesn't match what's listed on the site. That means something isn't right and the file has probably been tampered with. And although the torrent says 0.9.23, the (possibly infected) app inside is actually 0.9.10.

That's all too dodgy for me. I don't want to have my computer and / or the connected phone infested with malware from some questionable torrent download.

Also there is no contact info on that flashtool.net site except a Twitter handle, which hasn't had any activity since 2016. I couldn't find a thread for Flashtool here on XDA either, so I don't have a way to ask the developer. Not very trust-inspiring.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
https://www.google.com/url?q=https:...WBBcQFggLMAA&usg=AOvVaw3xuiLOlCAs8lTytO66zakm
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ExDeeEy:
Oh man, thanks! :) You found it on Google, I was using the forum search function, didn't come up with anything useful.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Thanks to the 11th version of the ODM image which has just been released by Sony, the fingerprint sensor now works with this rom.

Only minor nag is that my banking app still won't recognize my authorized fingerprint. I'm not sure if this is an issue with the app (although the app works fine with the fingerprint sensor on the stock rom) or that it's the rom\odm image.

This is the logcat from the banking app refusing to recognize my fingerprint:

http://ix.io/VDr

This is the dmesg:

http://ix.io/VDq
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] z0mg.jer1Cho:
Clean Flash or Dirty Flash?

Fingerprint is not working for me with ne ODM.

Have u done the workaround before? Or just flashed the ODM and it started working?

regards
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
You might need to remove the pre-existing user.db from /data/system/users/0/fpdata/ and reboot. Then after reboot you should be able to successfully enroll fingerprints.

I've done a clean flash, but according to oshmoun removing the user.db should also suffice.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] z0mg.jer1Cho:
Confirmation: works with dirty flash + deleting user.db

Thanks to all of you!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] firefexx:
When I regularly installed Stock OTA updates, do I already have latest FTF or is this independent?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jd22:
The content of the FTF is the same as the Stock OTA firmwares.

The latest version has Build Number 34.4.A.2.32.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] enterich:
car bluetooth

does anyone know if car bluetooth is working by now?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DJHasis:
Fingerprint still doesn't work even with the latest odm.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
it has been confirmed multiple times. it does work.

did you also remove user.db?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DJHasis:
Yes, I removed. But I still can't register a fingerprint. It fails at the end.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
and you flashed the latest odm image from Sony?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DJHasis:
Yes, v11 march 8th.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ramirowski:
for me everything is working fine, but my problem is the gallery and camera, the gallery don't show the sdcard content, installed poweramp too and don't show mp3 in the sdcard, in the file explorer I can see my files... anyone experiment this issue?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
your sdcard is exfat formatted, that's the reason.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi! On today's weekly ( 20180401 ), I've got a strange problem.

First boot after the update, my sdcard totally missed. In settings or in a file explorer or poweramp... I can't see it. I think i check it out on twrp. And there was it. After a second boot, sdcard detected by the system, but its sad damaged and must be formatted. ( In settings at storage show the "sdcard /vfat" ).

I think ok, but first i save everything on it to my pc. So, i take it out, saved the data, and place it back to may phone.

After the third restart, i saw again the "/vfat" text in the settings storage, but now i can reach everything on it. With file explorer, or with poweramp, it's worked like before.

So, are tgere any tipp why was it? Is it normal at settings/storage its show it with "/vfat"? May i format it with the phone? Or, it was maybe a bad placing sdcard in its tray? ( Previously weeklies, there was never problem with my sdcard, and until today, i'm not take it off my phone ).
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] KumarAnup:
VoLte

There is any way to enable VoLte function on this rom??
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] gecko8k:
I upgraded to the latest stock rom - 34.4.A.2.32 - unlocked the bootloader and installed the TWRP from https://xdaforums.com/x-compact/development/twrp-3-2-1-decryption-t3751998. Now the phone bootloops, saying it has been unlocked and can't be trusted. When I enter TWRP it want me to enter a password to decrypt data. I have set no such password. What can I do to get a working OmniROM 8.1? Format data? Wipe?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
yeah you'll need to format data to remove stock encryption. After that device should boot, assuming you have flashed the odm image.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] gecko8k:
Thank you so much for that reply. So just to be 100% sure, what I should do is:

1) Format data

2) Flash odm

This should make the phone boot into the stock rom. Now I can

3) Flash OmniRom 8.1 in TWRP on top of the stock rom, so no wiping. Flash gapps. Reboot.

This should get me a working OmniRom, right?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
no don't boot stock after formatting data, you'll end up encrypting again!

first flash omni, then format data and flash oem.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] gecko8k:
But the whole point is that I cannot flash omni right now since the internal storage is encrypted. Could I format data, flash omni and flash oem? And could you confirm that I should not do a wipe/factory reset in any case?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
first let me clear up something:

formatting userdata is more extreme than a wipe, because you even lose the data on the internal storage (photos videos etc..)

so basically, formatting userdata implies wiping/resetting to factory.

now that this is cleared up, yes the order you have there (format userdata then flash omni then flash oem) will work
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] gecko8k:
Thank you so much, it is good to know a working order. Just out of curiosity, since I do a full wipe, why do I need the latest stock ftf? Doesn't it just get deleted?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
nope, absolutely not, the stock ftf contains bootloader, modem and many other partition images that are needed for a functioning device.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] AllDieNick:
SafetyNet cts profile: false

What am I doing wrong?:confused::rolleyes:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] AllDieNick:
Helped MagiskHidePropsConf-v1.2.1

Thank you...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] adfadfadf:
I tried weekly 04/15/2018. The camera died and says camera id not found.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
No problems here, I'm also on 04/15/2018 (ota update). Have you tried clearing the data of the camera app ?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] gecko8k:
Is it possible to flash the ODM-file from TWRP instead of fastboot?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] xtreemechill:
I don't think so, or you have to find a flashable zip
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
In theory you could convert the odm-file to a sparse image and run a dd command from the built-in terminal in twrp to flash that sparse image, as explained in the second comment in this thread:

https://xdaforums.com/showpost.php?p=74334400&postcount=2

I wouldn't recommend it though. Lots of ways to brick your phone...

Edit: I just made a TWRP backup and saw it also has an OEM selection option. This created an odm.ext4.win image. I would imagine this is also directly flashable from twrp. A (much) safe(r) option.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] gecko8k:
Thanks for both answers. Do you know if it is possible to flash other custom roms on the phone once the ODM-file is flashed?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jd22:
As far as I know, the ODM file is used by other ROMs, too (e.g. AOSP based ROM). You can also change back to Stock-ROM (if needed).
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] gecko8k:
Thanks for the answer. Do you know if I can flash non-AOSP-ROMs? And do you know where I can get the stock ODM?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Simplyeh:
Hey guys, i managed to install omnirom 8.1 latest update, everything runs pretty smooth so far, but i cant get fingerprint scanner to work at all, is it just me or an known issue? good work so far!

And noticed when recording a video, the sound is a bit low
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] BigOneT:
Hi yes scan your finger twice ;)

And let me say thats the best rom i ever have on a smartphone!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] fairyfeller:
Did anybody tried to restore /data from stock oreo firmware to Omnirom ? I know it's not recommended to restore data partition from stock to custom firmware, but any chance ?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
that will not work for various reasons, with the simplest being the the device will refuse to boot due to mismatching signatures.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Simplyeh:
The fingerprint reader is not working at all, i mean i cant register any fingers, when i swipe finger to scan it nothing happens. Trying revert to stock again, but struggle a bit.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] fairyfeller:
Some questions

Hi all!

Just tried to install latest weekly build - flashed OEM, then wiped everything from TWRP, and installed Omnirom + gapps pico.

Just wanted to clarify some moments :

1) Battery drain - with same usage style it works only 1 day. No drain in standby mode, but huge drain if you're using phone. Now it tells 30% - 3h 37 min left... On stock firmware i easily got 2+ days.

2) Camera button doesn't turn on camera while locked as in stock. But if you open camera - cam button takes pictures.

3) No bagde counts - even on SMS..

4) No full screen incoming call picture. Only small window at the top with answer/reject buttons.

5) No internet while active call, even with LTE+ network.

Any ideas or it's known bugs ?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
My 2 cents:

1) Battery drain typically is worse in a custom Rom than in stock, as-is, but it's up to you to control it, (firewall certain apps, disable others, tweak kernel, etc.), and you can get goos battery life.

2) If cam button doesn't take pictures, and you want it to, you can try Xposed, or button mapping apps, or request it from dev, or find a tutorial that might show you how to mod it. it's not necessarily a bug, but just not a feature.

3) Ditto - it's a feature built-in to stock Rom, but not here. You can try to find a way to do it.

4) Design of stock Sony phone app. This rom probably uses AOSP phone app, (or something - not sure). There may be a port of Sony phone app available somewhere that will work, or you can try to make one.

5) Sounds like a bug.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] FleX246:
Hey Guys,

since the Omni Update to Android 8.x i miss the Screenshot Option in Power/Shutdown/Restart Menu.

Is there a way to get this Option back ?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] eduardodfj:
It seems there is a new OEM file here. Can I just install it without loosing my data?

I'm thinking about the first step only (fastboot). If I need to reinstall boot or something, so be it, but I don't want to reinstall my data and apps.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
simply flashing the new image should work fine.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] eduardodfj:
All right, thanks
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] droncheg:
ODM v12 works fine
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] konstruktor:
Not for me.

Flashed v12 of the OEM img, deleted the user.db.

It always crashes at the end of the fingerprint-registration-process.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] z0mg.jer1Cho:
Unable to mount /data

Hey guys,

anyone else unable to flash last update due to not able to get data partition mounted?

I Just can't mount via TWRP, its working when the phone is booted.

So is there any option to mount it properly without having it wiped before?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
you need an updated twrp image, check if you can flash a newer one
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi!

I've got the same problem, and yes. Change the TWRP, then it will be good. I flashed twrp from this forum: " https://xdaforums.com/x-compact/development/twrp-3-2-1-decryption-t3751998 " V7 is working for me .
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] z0mg.jer1Cho:
worked!!! Thank u guys!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] cholowcoast:
PdaNet+ problem

I can't use WiFi Direct Hotspot in the app PdaNet+, when i try to use it appear the error "Fail to start WiFi Direct Hotspot, WiFi temporally busy. Please try again" someone can prove if the same thing happen? or i'm the problem
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] pomah:
Sorry, but I need to ask, why on earth would you use that app to do something android has built in already?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] cholowcoast:
Enable and hide tether usage blocked by carrier
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] Deleted member 4819888:
XZS/KEYAKI/G8231 OmniROM BUILDS

OREO 8.1

DOWNLOAD WEEKLY

REQUIREMENTS TO SUCCESSFULLY FLASH OMNIROM:

1. The device has the latest stock ftf

2. The device has an unlocked bootloader

3. The ODM image zip has been downloaded from HERE, and the ODM image has been extracted from it

4. The WEEKLY zip file has been downloaded and copied to the device

INSTALLATION INSTRUCTIONS:

1. Reboot device to fastboot mode, and flash the ODM image with this command

fastboot flash oem <ODM image>

2. Reboot device to TWRP and flash the WEEKLY zip file

3. (Optional) Flash a gapps package

4. Reboot device to system

CURRENT ISSUES ON OFFICIAL:

1. Wifi sometimes disconnects (fixed by enabling/disabling wifi)

2. No USB tethering

3. No OTG

KERNEL SOURCE: https://github.com/omnirom/android_kernel_sony_msm/tree/android-8.0

BUG REPORTS

REPORT BUGS ONLY:

- AFTER A CLEAN INSTALL

- USING STOCK OMNI KERNEL

- NO MODS OF ANY SORT

OMNI GERRIT REVIEW

https://gerrit.omnirom.org/

DISCLAIMER:

No one is responsible for any damage done to your device but YOU. You've been warned.

XDA:DevDB Information

[ROM][XZS][O][8.1][WEEKLY]OmniROM, ROM for the Sony Xperia XZs

Contributors

oshmoun, humberos

Source Code: https://github.com/omnirom

ROM OS Version: 8.x Oreo

ROM Kernel: Linux 4.x

ROM Firmware Required: latest stock ftf

Version Information

Status: Beta

Created 2018-01-14

Last Updated 2018-02-21
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] Punggol:
G8232

Is this for the G232 also?
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] Deleted member 4819888:
it should boot, but the second sim slot might not work
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] Punggol:
Thanks

Thanks for your work on the rom!
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] livesm7:
sim card is abnormal

After I refresh the card to restart the sim card signal does not receive how to do?
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] Alekim91:
any screenshot? thanks u
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] Deleted member 4819888:
kernel update

A notice for the upcoming weekly:

The kernel has been updated to a new version. This requires an updated odm image, which Sony has supplied here

Please note that the zip is not flashable, simply unpack it then flash the img file inside using "fastboot flash oem <img_file>"

If you update to the weekly of 20180128, when it's released, then you MUST flash the new odm image, otherwise you'll end up with issues like a nonfunctional camera.
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] Alekim91:
I have installed this rom, I think is the perfect rom for xzs...

but...

can you add feature for dual sim variant? Work only one sim card...

Can you add feature double tap to wake screen?

Thanks you a lot...
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] iforgotmyname:
I'm using this on a G8232 with Singapore firmware. The 20180204 build works but any other subsequent build does not. Has the FTF been updated or something after 20180211?
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] hzq123333:
fingerprint sensor issue

It`s a great rom i have ever used,but it still have problem on fingerprint sensor,hope can fixed,thank you!
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] KONG8691:
If the rom can use sony original camera and be fixed the dual sim problem, I think it will be the greatest rom I have seen in xzs_forum
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] Lord Mashie:
Can't seem to use VPNs? OK button for the connection request is unresponsive

EDIT: It was a different third-party app interfering
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] Dark Pwince:
Add support for the dual Sim and some cameras features.....
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] Deleted member 4819888:
dual sim is just a small patch to build.prop

you can find a flashable for that it in the XZ omni thread.

about camera features, this is not in our control
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] jeoleo7:
Hello [MENTION=4819888]oshmoun[/MENTION]

any news on AOSP 9.0??

Eagerly waiting for AOSP 9.0 from OmniROM. :)
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] Dark Pwince:
[MENTION=4819888]oshmoun[/MENTION] great work man..,

i'm using this great rom but i have one problem with twrp ,

twrp not showing internal storage ... any suggestion for this ??
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] tumincm:
Wipe data/chace with twrp,and restart twrp
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] Dark Pwince:
Its working

Thanks man [MENTION=5993475]tumincm[/MENTION]
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] Wyzco:
Does 2G only network mode works without ghost touches?
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] chanwilson01:
How easy to flash back to stock ROM

Hi, I'm interested in installing this ROM.

I've a little experience rooting and flashing stock ROMs via Fashtool (To get the right firmware for rooting)

I'm just wondering how easy would it be if I wanted to flash back to stock ROM??

If I backup with twrp before installing Omni, will it be as simply as just restore the ROM via twrp to get back to full stock condition?

I just wanted to know my option before going ahead to flash the ROM.

Thanks in advance!! :)
[Sony Xperia XZs ROMs, Kernels, Recoveries, & Other] Trekcicity:
Flashtool is your best option to go back to stock after bootloader unlock: http://www.flashtool.net/index.php

Just be aware that your DRM functionality (e.g. image enhancement) after bootloader unlock is now lost. You can restore it by flashing a kernel patch, though.
[General Questions and Answers] colot99:
Hello I try to update my phone to 6.0 but I did not realize that the rom trying to flash was not for my device and now I have no 4g signal does not work the sim card, try to install the stock firmware but it does not work. What could I do to Solve this problem?
[General Topics] Jamie_oppo:
Deleted.
[OnePlus 5T  Themes, Apps, and Mods] Jamie_oppo:
Delete thid. Didn't know this wasn't allowed
[OnePlus 5T  Themes, Apps, and Mods] Akash1739:
U gonna get banned soon
[Samsung Galaxy Note 8 Themes, Apps, and Mods] les_garten:
I need a good profile manager. I have tried Profile Scheduler + and Llama. Both work OK, but I would like something that does a whitelist properly. So that if I set a silent profile certain numbers can ring through.

Anybody found something that does this?

I can't seem to get the whitelists to work on Notes for some reason.
[Samsung Galaxy Note 8 Themes, Apps, and Mods] apprentice:
Doesn't the built in "Do not disturb" function allow whitelists?

Other than that I have been using Trigger for years now and it never lets me down.

https://play.google.com/store/apps/details?id=com.jwsoft.nfcactionlauncher&hl=en

.