yashsingh1/xdaforums huggingface dataset:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ariewisnoe:
Thanks you [MENTION=1138281]harryharry[/MENTION] with newbuilt and binaries v9 i can use your rom again with camera, signal and qc3 without error any more...nice rom and stable..
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] pintness:
Thank you very much for the Rom, finally Pie with working Bluetooth on the X Compact <3

Had some weird issues after flashing (device was getting extremely hot, battery drain, lots of force closes from different apps, apps would not be visible after restoring from Titanium Backup, alarm clock (gentle alarm) would just not ring or display an alarm even though it was set), which luckily disappeared after flashing the Rom again.

I have a question though: Can't we use a MicroSD with exFat partition? My alarm clock was able to see music files in the media selector, but would stay silent while playing it, as if it wasn't able to access the files. Reformatted the SD in the device and it works now, but i was suprised to find it's FAT32.

I also just had an issue where my phone wouldn't connect to a Wifi network. It tried to connect a few times, then disabled this specific Wifi. Worked again after rebooting the phone.

This issues apart, the Rom looks and feels fantastic, almost like a new phone.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
As I understand it there was a problem with exfat's fsck (filesystem check), in that it was missing. It should be added now, but I heard people (with other devices) still have issues when a card is corrupted (fsck should fix it; but it doesn't).

You could try inserting the sdcard in your pc, and doing a filesystem check, and then after cleanly/properly removing it, put it back into the phone (and *then* afterwards switch the phone on). But be aware that if this works, the same procedure needs to be repeated whenever the card gets corrupted (for example when the phone is forcibly rebooted). The safer option would be to not use exfat for now.

I'm not home the next couple of days, when I am I'll see if I can do some tests with exfat.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] MrFjalar:
Someone who knows when an update comes
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Yeah, because they should really let me know ;)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yayaDen:
[IMG="https://drive.google.com/file/d/1gbWxoSvXwAKYMpbkUINjVFRet5ZUEbTM/view?usp=drivesdk"] funny bug
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Matej101:
I would very much like to try this ROM, but I am getting a boot hang on first boot (winking omni logo forever). What I did:

updated to stock .118

unlocked bootloader

installed TWRP

booted to TWRP, "Wipe data", "Format data"

installed Omni zip

installed OpenGAPPS stock zip

booted to fastboot

installed V9 binaries

"fastboot reboot"

I also tried installing omni without the GAPPS, every try it just hangs. I would really appreciate some help right now.

---------- Post added at 06:39 AM ---------- Previous post was at 05:58 AM ----------

One more thing, I tried extracting the logcat via adb and the phone doesn't connect to the PC, it is listed as a generic USB device in Device manager and the driver can't be changed.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
try without opengapps to rule out that possibility

also consider trying v8 if you still fail to boot without gapps
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
New build with security patch level updated to June 5.

[MENTION=1797156]pintness[/MENTION] I've included an updated version (v.1.3.0) of exfat, but this version still isn't able to repair all corruptions. As I said, if the fs has become irreparably corrupted (for android), you can still use windows to fix it. But my advice would be to use a better supported fs until this fsck shortcoming is addressed (especially given that this device is known to crash sporadically, which will inevitably lead to exfat corruptions in the long run).
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Matej101:
I tried some more combinations and this finally worked:

Flashed stock .118 ftf via flashtool

Flashed TWRP

Booted to TWRP

"Wipe data" in twrp

"Format data" in twrp

Flashed V9 binaries in TWRP

Flashed Omni in TWRP

Flashed OpenGapps mini in TWRP

Reboot

I think something went wrong with my PC or with the Stock opengapps package. Either way I got the phone working now, thanks for the tip!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] pintness:
Thanks alot! I have no issues staying with FAT32 since I don't have large files on my SD anyway.

Could you possibly add this piece of information to the Currently know issues on the first page?

I assume other users might be as suprised as me to find their SD card doing weird stuff.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Matej101:
Thanks to some magisk modules (and me forgetting to back up before installing them :D) I did some further tests with different orders of operations and different packages. Here are some observations in case someone finds them useful:

It is very important to do a clean install. If you don't know what that means, you need to wipe the /system partition (and do the "wipe data" and "format data" thing) in TWRP. If you don't do this, it may not boot and even if it does, bluetooth behaves weird.

If using official TWRP from twrp.me (I can't speak for other versions), DO NOT INSTALL THE TWRP APP WHEN IT ASKS YOU TO. Doing this has resulted in a bootloop or a boot hang every time I tried it. The installation prompt can be disabled in TWRP settings.

First boot takes under 5min with just the ROM and no other packages. With OpenGapps, the first boot can take quite a while (10-15 min), so give it time.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Picazsoo:
Hi everyone,

I would like to ask what is the camera performance like on this ROM? Is it possible to keep the same "quality" camera experience as on stock (not that great to begin with)? I tried to look for the answer prior to asking here, but got conflicting results. And how is your battery life in general? And is any gcam compatible with this rom? Thanks for your time.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Bluestar01:
Some one knows how to get double tap to wake?

Ttied a few apps but not working.

Thank you
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Matej101:
The stock omnirom camera is quite bad, the pictures are very noisy and you can't even set the resolution. I tried various Gcam mods and I found this one to work best so far: GCam-6.2.030_Arnova8G2_Urnyx05-v1.3.apk

The battery life is not good (a bit over half as much usage on one charge as stock), but there is a magisk module that underclocks your CPU and does various other tweaks. The only negative effect I have noticed so far is some lags when scrolling on a few select web pages (but scrolling in apps works normal). If you want to try it, it's called LKT. After installation, I can get almost as much battery life from the phone as stock Oreo. Also I find the display unnecessarily bright most of the time. I think this could be the source of some battery drain, but I couldn't find a solution as of yet (except to keep dragging the brightness slider back to teach the brightness algorithm I like my screen dark)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
[MENTION=5085747]Bluestar01[/MENTION] The 'tap to wake' feature was disabled because it breaks touch functionality on some display panels: https://github.com/sonyxperiadev/kernel/commit/0ed768b4b28045c83f23925da28d5a8d8f9cd7d8
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yayaDen:
Hi [MENTION=3792631]harryharryharry[/MENTION] ! The problem with the phone, it often happens that it is very hot (I do not know what) near the fingerprint scanner ... so much so that the pixels turn yellow. CPU temperature less.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Hmm, don't know what that could be. I've stress tested the crap out of this phone but it never gets too hot to handle, let alone 'yellow pixels'. Even when stress testing while charging the phone, its temperature never surpasses 75°C. Also I think the hardware has built-in upper thresholds that would power it off preventatively if the temperature gets too high (which never happened to me). I doubt the display panel would undergo discoloration before hitting those thresholds.

If this happens while idleing it might negatively affect battery life though...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Mietjelan:
I suddenly got this update while on 8.1.0, should I install it?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Oh cool, that means official omnirom 9 weeklies are here!: http://dl.omnirom.org/kugo/

I see [MENTION=4819888]oshmoun[/MENTION] already started a new thread about it: https://xdaforums.com/x-compact/development/rom-omnirom-t3940177

[MENTION=8226827]Mietjelan[/MENTION] There is an installation step included that lets you fix SELinux labels when coming from an 8.1 rom, so I would assume you can dirty flash, but maybe there could occur issues if you use 8.1 gapps. If you're unsure whether to dirty flash, you better ask [MENTION=4819888]oshmoun[/MENTION] in the new thread.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] EverMath:
Hi, you are in Belgium? Do you have any problem with reception ? 4g

Thanks
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Mietjelan:
I have a new phone now but I can't remember having problems with that. It worked like it should.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] EverMath:
Hi

Possible to change pictures destination in stock omnirom camera?

Not possible to change to SD card

;)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
Well, that issue occurs on any OmniRom. I had same problem after moving from Sailfish OS 2.1.3.7 to OmniRom 7.1.2
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] cRaZy-bisCuiT:
Thank you for the build! Where can I donate a few bucks for a coffee for your and the OmniROM team? I love the fact you guys bring Pie to this device.

PS: Where can I find the sources? I'd love to try to build AOSP myself. :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
[MENTION=6999248]Ketrab8[/MENTION] Could've sworn I had OmniROM 8.1 encrypted, but I'm not paranoid enough that that's a requirement for me so I might be wrong.

[MENTION=5143606]cRaZy-bisCuiT[/MENTION] Thanks, but I'm hopped up on caffeine more than enough as it is :)

If you want to donate, I'm sure the OmniROM team will appreciate it: omnirom.org/donate

Sources are at the very bottom of the first post.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Coirpre:
Other Roms

While we wait for binaries v.3 to appear, I have an offtopic question: Once we have a working AOSP ROM (and a working OmniROM of course), how hard would it be to also build a LineageOS ROM? I have never built a ROM, but I would love to try and don't know where to start and whether it makes any sense to try without having proper skills.

Thanks!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Actually V3 odm is out. Probably people missed it because it was released in the same day with previous and named accordingly. If you check quickly without giving attention easy to miss since its name also ends with"19". I had a quick look but things didn't improve much. Boot crash seemed to be improved a bit. It still crashes occasionally but much more less than the previous. Didn't have time to check whether WiFi hotspot and Bluetooth works or not. The bigger problem is charging is very very slow or not charging at all. When you plug the cable the charging message is displayed at the bottom of the screen but vanishes immediately. Battery icon shows as if charging but actually isn't. Or as I said it's very slow that hard to notice. I tried this with my own aosp build. Ill try to test deeper when I have the opportunity.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
V3 binaries were released just a couple of days ago, but they do indeed fix little to no issues we are dealing with here. The tethering issue has been found to be the result of a missing module in the kernel config, I can fix it in an upcoming build.

I am experimenting some more with encryption and found out it doesn't work with oem 9.0 v3 but does work with oem 8.1 v16 (which I didn't expect to boot at all since the oem is not made to work with linux 4.9), drawback is that the camera doesn't work at all with oem 8.1 (and there may be other drawbacks).

[MENTION=4375644]Coirpre[/MENTION] I don't know all the intricacies of rom building, but it kind of surprises me that there is no (official) kugo build for lineage. My guess would be that there simply is no one that maintains the device. I gave building lineageos a try a while ago, but gave up rather quickly because the device was not available in repos and I ha(d/ve) no idea how to properly port it. If you want to give it a try, you might want to contact [MENTION=8117431]jtk_de[/MENTION] as he has made an unofficial build of lineageos a long time ago.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Coirpre:
Thanks, I'll have a look at it! I've never done it, so i'll start with Omni first and will try to figure out how it all works.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Yeah I think that's a sensible approach, the omni way of building is pretty much automated. Most important thing is to correctly prepare your environment.

Shoot me a PM if you run into problems, maybe I can help.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
New version

I've uploaded a new version with security patch level updated to December 5, 2018 (see 1st post for changelog).
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jw96:
Hello, how stable is this ROM compared to Omni on Oreo?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Inherently less stable since it's a newer version. Although the sporadic reboots that were present with SW binaries v1 seem to be less frequent/nonexistent with v3, which for me was the main issue stability-wise. See 1st post for a list of known issues.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DynamiteXD:
Battery compare with Omni 8.1 Oreo?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Hard to say, no major difference between the two I think. If I look at the battery stats it says one full charge will give me 2 days and 18 hours (with light usage). Google Play-services being the main battery hog as usual (31%).
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jw96:
Are you using Open-GApps or µG ones?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Open-GApps, reluctantly.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Deleted. Wrong thread.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] rheeza:
i tried to flash this rom today, everything was nice until i charge my phone. it won't charge at all. i'm using the v1 odm. when i try using ampere it was shown that the battery actually decreasing even though the battery indicator was showing that it was charging. charging speed was somewhat better at twrp. anyone has an idea about this?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Yes, multiple people have reported charging issues (also in other threads) recently. I was having this issue with one of my chargers, and it seemed to be caused by a buggy recognition of proprietary fast chargers. The issue has been resolved by this commit, but it is not yet in my latest build. Having said that, [MENTION=3387606]maluus[/MENTION] also has a charging issue which seems to have a different (as of yet unknown) cause.

For now (if you are using a fast charger with around 2/2..5A) you could try a different charger with ~1.5A output. (I've updated the known issues list, thanks for reporting)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Harry have you tried after this commit?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Yes the commit works for my charger (I helped Oshmoun by confirming it works).

btw, if you have access to adb or a terminal emulator, you can check if the charger is working by running (as root):

cat "/sys/devices/platform/soc/200f000.qcom,spmi/spmi-0/spmi0-02/200f000.qcom,spmi:qcom,pmi8950@2:qcom,qpnp-smbcharger/power_supply/battery/current_now"

If the resulting number is negative, the phone is charging. The lower the number the faster it is charging (1A = -1000000).
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
I can flash and pull a log at weekend.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] saly74747:
im install this rom

need pattern or password for start

im not pattern or password

please help me( im speak english not good) im from iran
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] rheeza:
you should select format data when wiping partition to erase encryption
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] saly74747:
im using this rom F5321_34.4.A.2.97_R2E_Latin America Generic

and this rom run

thanks
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
I've made a new build that fixes native camera app video recording & ability to charge with proprietary fast chargers:

https://androidfilehost.com/?fid=11410963190603875773
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kianush:
dadash ridi be zaban englisi ba in harf zadanet!

"you should select format data when wiping partition to erase encryption"

yani vaqti dari rom ro flash mikoni az qesmate wipe gozine format data ro bzan ta pass nakhad azat!!

(Just translated what was said to this friend before)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] gingerboy92:
Do you upload your device tree and kernel changes anywhere, or is every compiled exactly from sony's sources? I just got my internet upgraded, finally have an internet connection fast enough to sync android sources
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] eymentuna:
harryharryharry.

(your first published pie rom, worked.)

new pie rom didn't work, boot animation stayed.

Flash omni-9-20181215-kugo-HOMEMADE.zip.

Fastboot flash oem SW_binaries_for_Xperia_Android_9.0_2.3.2_v3_loire.img.

in the meantime I did data format.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
[MENTION=5889003]eymentuna[/MENTION] Odd, does the build from December 6th work ?

[MENTION=4065751]gingerboy92[/MENTION] Sources are practically 100% Sony & OmniROM with only a Wireguard kernel module added. See bottom of first post.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] eymentuna:
[MENTION=5889003]eymentuna[/MENTION] Odd, does the build from December 6th work ?

[MENTION=3792631]harryharryharry[/MENTION]. now i don't have a chance to look at it but the new pie rom didn't work
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi!

The latest build is working. But, i must flash it twice. I'm coming directly from omni 8.1. After the first rom flash, then odm v3 flash, something goes wrong... After first start, the rom was aosp. ( Yes.. aosp without any omni things. Boot animation was simple google too ) Tried to enter recovery, but it ask decrypt code. ( twrp 3.2.2-0 used ). I must go to work, so go. But, after one hour when i try to call someone then the call goes, but no sound. No ring sound. ( music listening was ok, phone speaker with youtoube ok ). I can't hear anybody, and no one can hear me. After some attempts with decrypt pattern and i don' t remember how many restart to recovery, once it's erased (?!) and twrp gone. Just aosp recovery ( api 3 ). So, i copied omni9 zip and nano gapps to an sdcard. Started phone in fastboot mode, erased cache and userdata with fastboot. Flashed twrp recovery img, enter recovery with fastboot. Flashed omni9, then nano gapps. ( Im left the v3 odm flash again, because i did it when i'm coming from omni8.1 so i've got it. ) Now it's seems good, everything working. The rom seems stable, everything working what i tried. No random reboot, just the sim card detecting is taking long.. 1-2 minutes. :) Litle long story telling, but maybe helps. Thanks for the unofficial builds ;)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
[MENTION=2728349]lba810701[/MENTION] Thanks for confirming the latest build does work. The decrypt unlock method is a little wonky, some methods are being incorrectly swapped between the early OmniROM 9 builds and TWRP, should be addressed in the next build (probably somewhere around January 6th - when the security patch level update is merged).

[MENTION=5889003]eymentuna[/MENTION] I guess you don't need to try the 6dec build, since lba810701 confirmed that the 15dec build works, there is probably something wrong with your installation (still odd, since I've been flashing back and forth without wiping anything). I think it would be best to do a clean flash for good measure (Of course backup your files first if needed):

- format data (reboot to recovery and format data again if format data results in red error messages)

- then go to advanded wipe and select

everything BUT

'Micro SDcard' & 'USB OTG' and swipe to wipe.

- Then reboot to recovery and flash latest rom as usual.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mp107:
I have also successfully installed the latest build (20181215) with OEM v3 (SW_binaries_for_Xperia_Android_9.0_2.3.2_v3_loire).

Thank you for your work on making it possible. :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] eymentuna:
I was able. thank you.

(Opengapps) link,Please
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
v4 binaries are out for anyone interested
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Public Service Announcement: Beware, flashing the new v4 binaries will probably result in a boot hang. It took me some 'manoeuvering' in TWRP to get it to boot again. (Among others: Wiping 'system' partition and reflashing the rom, which in turn resulted in gapps errors, for which I reinstalled gapps. Which in turn led to the odd forced closing of apps).

If you don't want (additional) issues, I'd stay on v3 for now. I'll ask around some more about what the supposed workaround to the boot hang is.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
I didn't encounter any problem yet but I flashed it along fresh built rom. Seems stable so far and sim detection issue is solved.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
But are you on omnirom ? Because it is a bit behind AOSP I think, and from what I understand it needs some skia changes built in before it works without hanging on latest binaries.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Nope. It's AOSP.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Daxiongmao87:
v3 Download

Hey harry, the link only directs us to the latest version download (v4), here's the link to v3: https://developer.sony.com/file/dow...for-aosp-pie-android-9-0-kernel-4-9-loire-v3/
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Thanks for noticing! I've updated the link.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Harry. If you noticed I had opened a bug report but closed because platform won't support quickcharge 3. Is omni supporting qc3. You stated that proprietary chargers fixed but afaik in some countried XC comes with QC2 chargers but in others like mine comes with QC3. If I can use QC3 chargers I ll switch to omni.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
I'm not really familiar with Quick Charge. When I said fast chargers weren't recognized properly, I meant chargers with an above average output amperage (mine was 2.4A). Mine gets recognized now, and it charges, but not particularly faster than other chargers (which output ~1.5A).

I am not able to test if QC2/3 are properly recognized and/or actually do charge 'quick', but I think if AOSP9 doesn't support QC yet, then I think it's a safe bet that Omni9 doesn't either.