yashsingh1/xdaforums huggingface dataset:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mashedi:
Dear OmniROM Team,

since the latest update my X Compact wont charge the battery as usual, most off the time it only charges like 5 mins (Feedback by the charging light red / yellow / green) then the charging light goes off and battery wont charge any more (the battery symbol in the status bar shows the charging icon for the battery but it doesn't charge).

Using this ROM since 4 Month without any big problems, only the reboot is kind of annoying.

If i can help you with any log or something, let me know.

so long

mashedi
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Matej101:
I just installed this ROM again and NFC s back! This is a game changer for me, as I use NFC paired headphones daily. I got the password screen on first boot but I fixed that by wiping /data/media ("Format data" option in TWRP)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] 3sigma01:
Can you check for Google Pay works or not?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mmooppaa:
3 week review

Hey guys,

first of all many thanks for bringing Android Pie to the Xperia X Compact. I really appreciate the work. I've been using this ROM for 3 weeks now (starting with omni-9-20190825-kugo-WEEKLY) and I wanted to give my collected feedback. As the XC is my only phone that I of course am using every day, I would say that the ROM is in a usable state in general. I ran into issues though, some of them very annoying:

device crashes and reboots from time to time (apparently under load as already stated in the initial post)

camera quality is not as good as in Sony's stock ROM (latest .118) as also already stated in the initial post

camera often hangs or behaves sluggish (also in other apps, not only the camera app itself)

wifi hangs/disconnects 2 or 3 times a day, can only be fixed by reboot

wifi shuts off in standby

battery drains faster than in Sony's stock ROM, my subjective observation is that it drains twice as fast, I couldn't really link it to a root cause but I suspect that it has to do with the wifi issue (not sure though)

NFC works in general but google pay does not work, I was also able to add credit cards using magisk but when I try to use them on an acutual payment terminal the google pay app does not respond

I also don't find the rounded corners in the notification area very appealing so I tried the power shade app, it's okay but doesn't work in lock screen and some of the shortcut buttons just don't work

Some of these issues bother me so much that I'll be going back to Sony's latest stock ROM (.118) even though it's almost 1 year old now. But I hope that OmniROM Pie for the Xperia X Compact will evolve further and get better so that I can return one day. After all the Xperia X Compact is a great device with a great size that I don't wanna give up.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
As a former Z5C user, I'm really grateful to see support for the XC, it's a great little phone and I plan to use it for quite some time (given that the XZ1C and XZ2C are much harder to come by).

Some of my overall impressions running the 2019.09.08 build:

Rom is pretty stable and smooth - using as a daily driver for a few weeks rooted with Magisk 19.3

Phone freezes on occasion and reboots, but not enough to be a hindrance (can't identify why it freezes, it tends to be random)

Battery seems to drain faster than I expected - after a full charge and just 4 hours of mild use, I'm down to 80%. I've disabled a ton of services and Google Apps but getting the same result

Camera is amazing if you run a custom camera mod app like Gcam-6.2.030-Arnova8G2_Urnyx05-v2.4 - HDR+ and HDR enhanced both work, as does Google Night Sight! I've taken some incredible shots. I never imagined I would get Google Night Sight working on a Sony phone but here we are!

GCam app breaks with any build after 2019.09.08 - it just shows a black screen then crashes. Reverted back to 2019.09.08 and it's working fine.

I have several substratum overlays working well + running a button mapper so that volume defaults to notification and not media (will try disabling this to see if battery improves).

Everything else works as expected (Wifi, calling, SMS/MMS, bluetooth, fingerprint sensor etc - no issues whatsoever).

That said, really impressed to see pie running so well on this phone - and of course looking forward to seeing improvements as well. Thanks again for your continued efforts!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] JuniorCaesar:
how is performance (in stock 6.0.1, nearly all of my applications opens immediately and they run like my phone has snapdragon 820 lol) and how camera holds up compared to stock rom with drm keys? i really want to try 9.0 but random reboot and battery drain holds me back.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] n1ete:
safetynet pass possible?

i got an "ctsProfile : false" with magisk. is it possible to pass these checks on this rom? and if so, how?

thanks in advance ;)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] kieni111:
So far battery is doing ok, not really a difference to stock (as far as I can tell after 6 weeks) and camera I use the open camera app from f-droid, the quality of the pics is also comparable IMO to the stock camera. I haven't had a lot of reboots, maybe one per week.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] JuniorCaesar:
Thank you for your reply :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
So I've disabled some accessibility apps that I installed myself and the battery drain/random reboots have improved a lot.

I've never used stock 6.0.1 + DRM keys so I can't compare the experience. Overall the performance is pretty good, everything is more or less stable, and no issues using this as a daily driver other than the occasional freeze.

For me Pie + latest security patch + google camera features are more important that stock stability.

FYI you can't use most of the Google Cam features like Night Sight unless you're running Pie. Some builds (6.021 and lower) work on Oreo, but even then the experience is buggy.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] JuniorCaesar:
thank you so much for your report :) i will try aosp 9 first and then omnirom itself. i have TA and twrp backup so i guess it shouldn't be a problem.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] JuniorCaesar:
I tried both of em and they have the audio loss bug. Also i can't get google camera running (i tried installing camera2api enabler magisk module) so i gave up and restored my backup.

Maybe things would change with new kernel and Android 10, who knows
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Matej101:
There is a Magisk module for that, Magiskhide props config. Just download it and follow the instructions.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
What version of google camera did you install? You need to use a custom port from: https://www.celsoazevedo.com/files/android/google-camera/

I can't comment on the audio loss bug because I've never encountered that.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] JuniorCaesar:
i clean installed the rom and i found the right gcam version, it worked. also audio loss bug did not happen this time, weirdly enough.

but, camera quality is way worse even with google camera. pictures looked like a watercolor painting (which also my xperia m2 produces so it must be a common thing with AOSP drivers) so i installed stock oreo.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] n1ete:
Of course I tried and uses the hide props config files that offered as magisk modules. None of them changed the cts error... :(
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kianush:
So here's a question, as we know, android pie roms havent been very fluid and bug free so can we expect an android 10 rom for this device or should we stick to stock 8.0 till the device's death? :D

just cant let this phone go yet...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] thhomas31:
Does the last weekly version has this merge of sonyxperiadev/kernel integrated?

Because I am still having speaker sound stopping and needing restart to come back. And I am still seeing the speaker gain message in MatLog.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
[ROM] [XC] [P] [9.0] [WEEKLY] OmniROM support has stopped? Why was there no weekly update?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] phantomololo:
This week without update too.

---------------

Sometimes flashlight stop working and needing restart to come back.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kong2000:
This seems to be another bull**** project. Maybe they are working on omnirom 10 now, which of course will never come into a stable state too. Android 8.0 with latest security patches would be a hundred times better than trying to build a new android version and never complete it.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Bertjefred:
Any more info?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] pauliusval99:
dude, where's your gratitude? someone developed a ROM for you to use completely for free, on their spare time. You should be grateful for that, even if the support has stopped. So do something like this for the community by yourself before calling others' projects "bull****".
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kong2000:
Gratitude for what? I never used this rom and I will not do it cause I need a fully working phone and not something to play with. It was a complete waste of time to follow this thread.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Bluestar01:
Totally respect to the guys who develop newer roms for phones in their free time!!!!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] pauliusval99:
If this is not what you're looking for, just keep walking. No need to be an asshole.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
First of all the thread is short so you barely wasted any time on it. Second, you're not obligated to use this rom, to which the developer worked hard to release on their own time. This device has little support to begin with so we're lucky we're even getting recent updates for it.

You're obviously not interested in contributing to help out but came here to whine, which accomplishes nothing. Yes maybe Oreo with the latest security patch is the way to go but beggars can't be choosers.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Bertjefred:
Ah great recieved an update again this week. Great work, thanks!!! If help is needed testing stuff we are always here to help.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Schranzen:
Hi there. But what's new? The fingerprint continues to work in locked mode, applications also open for a long time (compared to the stock). And also, the notify of a low charge alert. I’m silent about the camera.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
It works quite smartly, reboots have not yet been, the camera and works poorly, especially in the dark. charged to 100%, fingerprint works on lock screen.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] thhomas31:
I also flashed the new version and I would add that speaker problem is still here (speaker stopping working after a while and error message still present:

ramp_speaker_gain: Could not get ctl for mixer cmd - Left Speaker Gain or Right Speaker Gain, not applying speaker gain ramp

)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Schranzen:
.Annoying fingerprint scanner when the screen is off...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] MrCooper95:
It's a good ROM but I always go back to stock.

Performance needs improvement. Lots of stuttering while scrolling.

Performance should be a number one priority by now, in general the ROM seems stable enough from serious bugs and stuff.

Fingerprint unlock should be like stock. You press the power button then it reads the fingerprint. Fingerprint unlock animation should also be off, so it feels faster to unlock.

Many thanks for your ROM development for the X Compact.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Pascalsgx:
Very well, but 2 bugs

I flashed my X Compact from StockRom directly to the latest version.

Everything works pretty well.

But two bugs have struck me:

1. The camera shoots a picture after the flash. They do not work synchronously.

2. The Bluetooth connection to a device sometimes allows telephony after a reboot. Audio works perfectly.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ilsi:
The last build (13.10.2019) is much more stable on my device then all the previous.

I haven't noticed a single reboot or connection loss (cell and/or WLAN) in 4 days of using it.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] OlMon_00:
Sound problem

I noticed a sound problem and read the logs. It seems that using headphones the device did not recognize that the headphones were removed and still tries to output the sound through the output jack. Inserting headphones back into the device gets sound from the headphones.

Maybe that can help, or maybe someone can confirm that they have the same problem.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
It's a known problem.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Pascalsgx:
WLAN lost

Today the WLAN-Connection was gone and i have to reboot to reconnect.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Pascalsgx:
Stereosound Cam

When I record a video, the stereo sound is mostly on the left side.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] OlMon_00:
Is there a shell command to force the speaker output? This would be easier than resetting the whole device...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Schranzen:
the same way
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Lunarist:
Thank you for the ROM.

I got an issue from the launcher. Sometimes, i can't touch and hold the apps. That issue can be clear when i restart my device (?).

I just want to know, how to fix the nfc ?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ermutt:
Hi all,

I also always had problem with wifi dropping when the phone goes in standby. I tried all possible power manager settings, and even some app made just to keep the wifi on. Nothing helped.

But I noticed that there wasn't any problem when I took off the sim card, because there was no data connection active. So I shut down the data and it looks like it's the only workaround to keep the wifi alive. Maybe it helps!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Have you tried going to Developer Options and toggling "Mobile data always active"? That may help.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Matej101:
I managed to reproduce the issue somehow, got it to work by clean installing the ROM. Note that I couldn't get Google Pay to work regardless of CTS status.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] phantomololo:
dl.omnirom.org's certificate expired
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jfk_77:
Yes this is really annoying. Have you found a workaround? Is it a kernel issue?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] nervousapp:
No more weekly updates ?

Hi OmniTeam,

Weekly updates are no more available ? Will they be ?

Thanks
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Waiting patiently for an update too. Hopefully one more before the year ends. :fingers-crossed:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Matej101:
Omnirom is currently rebasing it's code from Android 10. For us to get this update, we need someone to take the initiative and update the source. The 4.9 kernel from Android 9, buggy as it may be, should still work with Android 10, as should the v9 binaries.

In the meantime, you can try compiling your own homebrew android from the source (there is a script for that, I'll post it here if I find it again). I trie this, but I don't have enough RAM to successfully finish a compilation.

---------- Post added at 08:26 AM ---------- Previous post was at 08:22 AM ----------

Here you go

https://github.com/stefanhh0/aosp-10
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
I've been using this a daily driver for quite a while. It works very well. Only recurring bug I'm noticing is that WiFi randomly turns off or drops and only a reboot can fix it.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] EliWallace:
This ROM seems to suffer from the skia bug: https://issuetracker.google.com/issues/124593215

Although there isn't likely much the omnirom team can do about it, as upstream seems to be content in ignoring the issue.

Stopgap fix is to set "debug.hwui.renderer" to "opengl" in build.prop, but this comes with no guarantee of stability.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] teme565:
Have been using this for a while now and in a light use this is quite OK, but even then phone occasionally freezes and reboots. I don't play games with my phone, don't watch videos. Mostly use it for calling, reading email, calendar, Cellmapper etc.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jurko217:
Downgrade to K.E.M and you will be surprised if you compare smoothness to Omni, no issues so far.

I had tried Geekbench 5 in Omni 9 latest weekly and my 2 core 1gb ram Xperia SP with LOS 9 has better multicore score! No way installing ROMs for kugo, cause low comunity and bugs. Waiting for A10 (kugo), but who knows if it will be worse than 9.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] MrCooper95:
Im on marshmallow. Compared to oreo, better touch response, less lag in general. Animations are more fluid.

And theres seems less screen ghosting.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
I haven't experienced any of those issues on Omni Oreo or Pie on either of my kugo devices. The recurring issues I get are

1) WiFi dropping randomly, which sometimes requires a reboot

2) Audio loss on occasion, which also requires a reboot.

3) Phone freezes unpredictably and reboots automatically

Other than that, the roms for me have been smooth and responsive.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] wholean:
Hello chaps, thank you for your great work :) One issue!

Audio through headphones is subtly distorted for me, which ruins the overall quality. There is a constant "hiss" and one can hear frequent artifacts (that can be heard most easily at the lowest volume).

I have isolated the problem to the AudioTrack pipeline, as using OpenSL ES for audio output in VLC avoids the issue entirely. Sadly, this escape is not accessible for Spotify and the browser.

I am not using the Equaliser app, although it does not seem to modify the audio in any way even when enabled.

Has anyone else experienced anything even like this?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ExDeeEy:
Is there an answer to this? Looks like I have the same problem. I'm coming from a clean install:

flashed ...2.118 FTF from XperiFirm with Flashtool, wiping everything, result: usable stock Sony Android 8. But I didn't really use it, just went through the setup screens, skipping all logins, wifi setup etc., to go to Settings and re-enable USB debugging via ADB

flashed TWRP 3.3.1 from twrp.me/sony/sonyxperiaxcompact.html with Fastboot, result: boot loop after SONY logo

flashed 2.3.2_v9_loire ODM from Sony site with Fastboot

booted into TWRP recovery, installed most recent weekly zip from dl.omnirom.org/kugo/ (omni-9-20191013)

Result boot sequence:

"This device is unlocked and can't be trusted" warning

Sony logo on white background

Omni splash animation (four dots converge to circle with Android alien inside)

attached screenshot 1

enter any password with at least 4 characters. No matter what you type, it always says "The password you entered is correct, ..."

attached screenshot 2

"Reset Phone" boots directly into recovery (TWRP)

Regular reboot loops back to 1.

What did I do wrong? I never touched anything with encryption. Is the boot loop after installing TWRP on top of stock (step 2) normal? How can I fix it all?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jurko217:
Boot manually to twrp (power off + vol-) and format data. Type yes and reboot.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
If you're rooted, have you tried flashing ViperFX audio module from Magisk? Worth a shot, just make sure to disable the built in AudioFX/Equalizer before you reboot.

Yep this'll do it. Had the same problem too.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jurko217:
I had a point to second screenshot, if you have unsuccessful encryption, flash TWRP again to recovery and boot into it manually. This removed encryption for me and am able to Format Data. After typing yes, you must boot it.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] MrCooper95:
I was talking about the stock Sony ROMs. However omni Pie performance is just bad theres lag and stutters. For example open Google play store or YouTube and scroll, heavy amount of lags.

Going back to Stock Marshmallow was a breath of fresh air, despite not being so up to date nor perfect.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mase76:
deleted
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] wholean:
Hmm, no such luck. Installed ViperFX, force-stopped Equalizer and verified it was working by trying a few effects but no difference.

Any other ideas? :(
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jfk_77:
Still no fix for this sudden audio drop?

msm8916_platform(533): ramp_speaker_gain: Could not get ctl for mixer cmd - Left Speaker Gain or Right Speaker Gain, not applying speaker gain ramp
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Looks like no more support for this device. It's been a while since the last update.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Quick question for anyone- I was able to flash from N to O without a computer, by downloading the odm, booting to TWRP, flashing the odm, then flashing the Omni Oreo zip. Everything good. But, when I tried the same thing with P, it goes to boot animation, (so seems the odm flash is fine), but never boots. Is there some reason it won't work to flash P, or is there something else I can do?

The phone was originally updated officially ota to the latest fw, before I unlocked, and started flashing other roms.

Thanks
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Were you running an Oreo rom before flashing this one? It sounds like you might not have flashed the software binaries for Pie. The rom likely flashed successfully but it won't boot without the right binaries flashed.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ExDeeEy:
So this problem resurfaced. I had been using the phone as a daily driver for several months. Had a few sudden reboots, but too rarely to be annoying.

Then I noticed that the phone got a bit unresponsive with swipes. For example swiping up to unlock the phone wouldn't "stick". The lock screen would snap back down without revealing the number pad to type my PIN. Or the slider to accept an incoming call would snap back instead of accepting the call. After several attempts it usually worked, but for the calls it was often too late. The other side had already hung up.

I thought a restart might fix it. Now I'm back at the sequence above. Any PIN/password will get me from this screen

https://dl.xda-cdn.com/4/9/2/2/2/4/3/1_enter_pswd.jpg?key=Xr-soUHC-Jcnf89PONjrhg&ts=1591454542

to this screen

https://dl.xda-cdn.com/4/9/2/2/2/4/5/2_reset_phone.jpg?key=i9ROdJ4e_SnfkOq9PiOdrQ&ts=1591454543

Last time, [MENTION=9961041]jurko217[/MENTION] responded I should reformat the data partition. That worked, but now I have a few recordings that I'd like to keep.

My questions: Why does this happen? What will I lose wiping /data again? Is there a way to recover things from the phone (e.g. via ADB) before?

Update: I was able to run a backup through TWRP and pull out all my recordings via USB / ADB. Everything is there, just fine. Why does the phone not complete booting?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
All download links are bad...