yashsingh1/xdaforums huggingface dataset:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kianush:
Does anyone have any idea why games like Clash royale wont run and force close? (same for clash of clans and brawl stars after initial guide)

installed directly from play store.

and this one is dumb question but is there a way to install apps that dont normally work on pie?(like compatibly settings or something?) i use a nfc payment app which works on oreo but cant be installed on pie for some reason...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yayaDen:
harry, please upload a patch (twrp) or a new firmware with a fixed call, you searched the entire google ... so I didn’t find anything
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
[MENTION=9642399]yayaDen[/MENTION] No I will not. I think you should go back to stock rom and stay on it until omnirom is stable. I clearly stated that in the first post.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi! The games what you wrote, are working flawlessly on my side. Latest Omnirom, v5 binaries. And now I known, you must be an updated dsp partition, so stock was 34.4.A.2.118. And about NFC... I could pair my headphone with nfc, and now i'm tested it with "nfc card reader info" from playstore and it works me. But the payment, i can't say anything.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
PSA: Someone with a suzu device (Xperia X) noticed USB tethering uses 3/4G even when the phone is connected to wifi. I've just tested this on kugo and it suffers from the same bug. Until the bug is resolved, please mind your data plan when using USB tethering.

https://github.com/sonyxperiadev/bug_tracker/issues/341
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kianush:
Actually I flashed 34.4.A.2.118 before flashing this rom, do you mean that is the reason or that I shouldnt have done that??! Or maybe I need to flash dsp after flashimg the rom?

And about nfc, the app that I use wont install, otherwise nfc seems to be working fine. My issue is on the app side.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] loguar2:
Thank you for your contributions. This is seriously a great rom.

My only problem is the sound quality. Spotify is doing fine for some reasons, but other apps(Pocketcasts, retro music player, and even system notification) have crazy static noise. Is anybody having this issue?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi! I think if everything ( from stock to omni + oem ) are the same like my phone, then your games are must work. If the stock was 34.4.A.2.118 ( and you booted it up once completly before going towards omni ) then you don't need a stand alone dsp flash.

And the app what you couldn't install, are worked before or your previously rom.. I mean on rooted rom? Because, some paying apps can't install on rooted phones, maybe try to hide the root with magisk or with xposed and try install the app again. Or, maybe there are some missing google play service things, try to disable it, then clear its cache, etc..
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kianush:
I did everything over again

1. flashed .118 rom and booted once

2. Twrp format data and factory reset

3. flashed omni feb17 and then mini gapps

4. Flashed oem v5

5. After booted up, rebooted and twrp flashed magisk 18.1

My issue is that some apps force close after I run them for some second, it's not an imediate force close, for example Gmail runs up and after 2 seconds in the app if force closes, this also happens with clash royale, clashofclans, brawl stars,journey diary, dashlane password manager etc

This time I pulled some logs, I hope you could help me.

*This time it isnt sdcard related because I removed sdcard and tested still the same.

** I tried using magisk hide on these apps but it doesnt matter ( and my last rom was also rooted so I dont think its related to root)

Edit 1: *SOLVED*

It's really funny how I tend to find the solution to my odd issues!

It appears that all those force closings were because I had disabled Chromium so there was no Webview functionality!

I installed "Android system webview" from playstore and the problem was solved!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi! Thats it! Congrats for finding out that problem solution! :) I
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kianush:
new found issue, Magisk 18.1 fails both SafteyNet checks therefore MagiskHide doesnt work.

I searched a little on this matter and it seems it could be solved by using another rom's fingerprint except it is also needed to change Security patch date and that makes it difficult.

Edit 1: *Solved*

Trying to turn MagiskHide off and on would pass the Basicintergrity check but if you also need ctsProfile to pass you would need to use MagiskHide Props Config module, fortunately hiding root from my banking app didnt require that.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] shaunblyde:
Thanks heaps, this helped me out with Google Pay :)

Anyone else finding Netflix won't open on their phone? Instead showing various errors "Sorry, but we could not reach the Netflix service. Please try again later. (-1001)", "Device failure occurred..", "The application needs to be restarted...". I figure its related to the ROM as my other devices work fine. I thought the above tip may fix it, but it seems no luck. I have it selected in MagiskHide and have tried uninstalling and reinstalling.

Additionally, I note the bluetooth bug tracker is marked closed, does this mean not to expect any future fix?

And [MENTION=3792631]harryharryharry[/MENTION], appreciate all your hard work!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] MrCooper95:
I'm glad I'm not the only one that noticed this, but also gaming performance such as PSX and PSP emulation is heavily affected. That's why I went back to stock for now. The AOSP one is not much different

Although I already spoken to the dev about this, but he does not notice anything.

At least this guy (who is quite new to ROM development) is working on a ROM, and trying to improve it for us.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kianush:
Yeah actually I always notice even the smallest and tiniest micro lags.(for example stock M and stock O were perfect on our phone but not nougat)

And in this rom I only play supercell games and yes I have noticed lags and mostly slowness somehow it looks like cpu doesnt give enough powerhorse to the games! But im keepin it for the time being. I lile the freshness!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yayaDen:
Binary files will no longer be released sony? The site is written the latest version of v5
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kianush:
Heads up, V6 Binaries are out!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yayaDen:
Binary files did not fix fast charging .. a bug appeared when you turn on bluetooth and connect a headset, everything works fine, when disconnected, video and music do not work.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Passing ctsProfile probably hinges on having a signed build (I've tied to make such a build but somehow the omnirom build environment reverts to signing the rom with the default devkeys even when I point it to privately generated keys). Since an official build is probably around the corner I will keep making unsigned builds.

[MENTION=6111267]loguar2[/MENTION] About the audio issue: I've tested retro music player and couldn't reproduce it (btw is the audio issue on speakers, headphones or both?). Could you try again with binary blobs v6 and post a logcat to del.dog (and link it here) if the issue isn't resolved ?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kianush:
Is there a way to make the corners of status bar and notifications less rounded? I want the more square look with just a slightly rounded corner.

any apps or mods or adb commands?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
I don't know of any shell commands or hacks that can change ui appearance. I've seen some commits on gerrit that show round corners are the new normal for android 9: https://gerrit.omnirom.org/#/q/status:merged+round

Maybe you can try to accomplish something with (omni) themes or ask the omni devs if they plan on implementing a feature to change those defaults. Other than that I think you would need to compile for yourself without those commits.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
harryharryharry - Quick question for you, if you would... I'm interested in using AOSP 9 to test, and mess with, etc., and the current builds by davidteri are working fine, but I can't figure out the recovery/root thing. I can flash TWRP, and boot to it no problem, but then it gets overwritten on reboot. I think I figured out that that is because of /system/bin/install-recovery.sh file, so I delete that, and then I don't get stock recovery, but I do get a similar screen that shows me that the phone can't boot, (but it does boot). When I do go to recovery and flash Magisk, the phone bootloops. Have any ideas? Is there some AOSP security thing I have to bypass, (besides whatever Magisk already does to the boot img)?

Thanks
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Sorry, not really sure what's going on there. From my brief time on a self-compiled AOSP9 I noticed that otapackages (flashable zip files) included a stock aosp recovery which was flashed every time I flashed a zip (which was annoying enough), but not every boot (I don't really understand why that would even be useful). I think I didn't have the time to test Magisk, maybe David knows more about that.

Omni zips (mine anyway) leave the recovery partition untouched, and I've never had issues with Magisk.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
New build is up, with March security patch level.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Interesting - so you can flash Magisk with stock recovery?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
No, you need to flash omni from twrp (so twrp is already on the device). But I meant omni will not remove twrp (which aosp did every time I flashed it). As a separate statement I mentioned I didn't experience any issues with magisk on omni, I flash it from twrp.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ariewisnoe:
Binaries v7

Hello harryharryharry, is there no update for your rom?binaries v7 are out...when i try to install it cannot detect my simcard...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Yeah, I made a build with some quick fixes Felix made for use with v7 binaries which solves the SIM issue, but I also had a severe battery drain overnight. Apparently v7 has some pretty major changes, so I'm going to test it out for a while first, see if there are any other issues that pop up.

[MENTION=5689131]ilsi[/MENTION] I've asked Oshmoun and the log seems to indicate openssl is missing. Needs some further investigating though to see if/why it's not included.

Edit: New build is up.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ariewisnoe:
Camera error

With new build and binaries v7 my camera doesn't work....error opened
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
I also tried on a clean flash, but can't replicate. Try clearing the camera app data (in settings->apps) and do a reboot.

Btw what/when was the latest stock rom you flashed? did you run previous builds of this rom that did work or is this the first build you flashed? If the problem persists please post logcat from after the crash to del.dog
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ariewisnoe:
I did clearing camera app data and i came from bulid 05032019 and use binaries v6 but camera won't opened...blank on screen....

I hope you can this error...cause your rom is very smooth and good for me
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yayaDen:
Good firmware, I like :) stable. Just do not know how to solve the problem google pay. Nfc works with labels, safety net is passed, but these 2 "parameters" do not work in place ... help please
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jw96:
Bluetooth is not working

here are logs:

https://anonfile.com/V6D4V7U3mc/2019-03-28-17-52-18_txt

https://anonfile.com/W4DcVeU0m8/logs-2019-03-28-17-52-13_zip
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] thearco:
In my case the battery drain is huge with the latest build (I haven't tried earlier ones). About 5% per hour without any use, preventing me from using it as a daily driver. Could it be related to the version of the binaries (v7 here, as per the instructions)? I wonder what it could be since no one seems to have raised it so far.

Another problem I've noticed is that "Encrypt Phone" fails, like someone has already noticed before.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] shaunblyde:
I had this problem too when I started with the new build, I tried both March builds and OEM v6 and v7.

What fixed it for me was using the 'Format Data' option in TWRP instead of only wiping data (which does not remove encryption). Once the encryption was gone, I had no further problems with bluetooth crashing.

I haven't tried reenabling encryption yet, as I'm trying to compare the performance with and without.

Hope that's helpful :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Hello harry. It's there any improvements recently regarding qc3 issue?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
Does bluetooth work without breaks?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] camasi:
Same issue here. I then did "downgrade" to the v5 OEM binaries however don't see a big difference. After rebooting it seemed to be better, but only for a short time. Besides this I like this ROM so may try an earlier build to see if the behaviour changes for me.

Update: After flashing the previous version (omni-9-20190305-kugo-HOMEMADE) battery life is much better.

17 hours after charging the battery it still has more than 85%, before it didn't last that long at all (in both cases almost no phone usage besides performing basic configuration).
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
I've uploaded a new build with security patch level updated to May 5, 2019. It also includes a fix for QC3 charging and 5GHz wifi tethering, and has some performance improvements for ARMv8.

Recently it was discovered the device may reboot when stressing the GPU, still not really sure what's happening though. I haven't had much issues with it during my normal use, but it becomes especially noticeable when running benchmark tests like 3DMark; it results in a crash/reboot about 1 out of 5 times.

Edit: I've included a temp fix for the crash/reboot issue, but it hasn't been tested thoroughly so the crash/reboots might still occur.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Pergin:
Same question for me
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yayaDen:
Hey harry . I follow the link, he writes that 404 error
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
[MENTION=9642399]yayaDen[/MENTION] If you'd actually read my comment you quoted, the reason for that would have been clear to you.

To all: I've updated the link in my previous comment to point to my latest build. The build includes a temp fix that seems to prevent the 'gpu-stress' crash/reboots, but the fix hasn't been thoroughly tested so YMMV.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yayaDen:
sorry this is my inattention
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Saiphable:
I installed version 9.5. and 10.5. Version, its smooth only looks like camera is working with sim problem or mobile net appears functional... Withot camera...never together. Tried all oem. Any suggestion?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Not really sure what you mean. Is the camera not working when the sim card is not inserted ? What are those version numbers (9.5 and 10.5) referring to?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Saiphable:
With all your last 2 version is situacion: no mobile signal but camera is working... Or mobile signal is ok but camera is nôt working
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
What does the camera do when you have a mobile signal: Does it not open at all? Or does it show an error? (when taking a photo?; or when opening the app?).

Could you post the dmesg and logcat from right after you've tried to take a picture to http://del.dog and post the links here ?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ariewisnoe:
Hello harryharry...thanks for update but in my case with binaries v7 i got crash on camera and won't open, freezand with binaries v8 camera doesn't open and freez...and sim card not detect
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
[MENTION=8860093]ariewisnoe[/MENTION] I went back to the March version of my rom and to v7 binaries, but I can't replicate the issue. I saw you already had issues with the March version. It may be related to you not coming from the most recent stock firmware before flashing omni.

If you are still having issues I suggest you first return to the latest stock firmware (34.4.A.2.118), and then do a clean flash of v8 binaries and the latest version of my rom.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yayaDen:
Binares v8,latest build omnidoes not work Bluetooth
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Yup, that's a known issue.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] chout0ne:
Talking about Bluetooth.

Seems the issue on Bluetooth has been solved and merge in the last kernel (since yesterday).

You can watch it on the bug tracker.

[MENTION=3792631]harryharryharry[/MENTION], Is it possible to test it?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Yes I'm already testing it (but I had no problems previously with the only bluetooth device I use; a heart rate monitor. So not much to test). I will probably put up a new build with the patchset included after SW binaries v9 are out and have proven not to cause any regressions for kugo. My guess is they will be released somewhere around the 20th of the month (which was the case with all previous versions).

Hopefully by then someone on one of the three bugtrackers that are referenced in the pull request will have already confirmed that the bluetooth issue is indeed solved.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] -oM:
Hi all,

Glad to see this project up and running! I'm trying to install the ROM but I encounter an issue when flashing with TWRP : Here is what the console returns

Any idea as what to do? I formatted and wiped the internal storage but this does not fix the issue..

Thanks for any help,

keep up the good work :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Assuming you have the right device; looks like twrp is not recognizing the correct phone model (there's no model name after 'this device is '). Try to flash another version of twrp (I'm using version 3.3.0-0)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] -oM:
Thanks so much for the quick reply! Actually, I didn't do my homework very carefully, a bit of duckduckgoing and I found a fix : remove the first lines of META-INF/com/google/android/updater-script does the trick : the device name is not checked and the install proceeds. The ROM is running now, yaaaay!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Ok nice hacking! Still weird you had to remove what is essentially a safeguard to keep you from flashing a rom to the wrong device. I checked the updater-script and it runs getprop "ro.product.device" to get the device's model. So if you put the phone in twrp mode and connect it to your pc and run:

adb shell 'getprop "ro.product.device"'

It should return 'kugo'. If it doesn't then that means twrp does not report the correct model (and you might keep running into this issue when flashing other roms).
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] username8611:
Using the latest binaries causes a low static sound to be constantly emitted from the speakers, even when the screen is off/sleeping. I'm guessing this is going to cause a battery drain issue. Flash v6 and below binaries fixes it, but breaks mobile connectivity. Anyone have a workaround for this?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
[MENTION=8868753]-oM[/MENTION] Ok that's good, the prop might have been set to the correct value by force flashing omnirom (it isn't really clear to me where getprop gets its information from). I think if you were to reflash the unmodified rom it wouldn't give the error anymore.

About the usb thumbdrive: I don't see any apparent errors either, but I'm afraid that debugging such an issue is a little outside my skillset ;). Your best bet is to create a new issue on https://github.com/sonyxperiadev/bug_tracker/issues and supply a complete description of the issue and a full logcat & dmesg (set "Logger buffer size" in "Developer options" to the maximum size).

I've tested the night light issue and it generated a bunch of logcat errors, turns out the display hal was missing a patch, which oshmoun just addressed. I'll incorporate it in the upcoming build, thanks for reporting.

[MENTION=4682352]username8611[/MENTION] I never noticed it, but I hear it too. There was a switch in audio driver recently that might have caused this regression. Never mind, turns out the sound I was hearing was just a deflection of surrounding noise off of the phone :D I can't hear noise coming from the speakers.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] -oM:
[MENTION=3792631]harryharryharry[/MENTION] thanks for the advice, I submitted the bug report in case anyone has a similar issue.

Cheers
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] matteobikk90:
issue

hi guys,

I tried multiple times ut phone reboot after sony logo and keep going with no positive result.

So here the steps:

flash with flashtool the latest original software

instlal twrp 3.2

swipe to factory reset so just wiping data, cache and dalvik(sometimes also tried format data and typed yes

install the rom

install gapps pico

reboot and flash SW

reboot and having the issue, i am triyng since 2-3 months with different versions of rom and sw but same result, what i am doing wrong?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] -oM:
Have you ever tried without gapps pico?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] matteobikk90:
issue

always tried without gapps, yesterday first time with it.

If i try to install omni 8.1 it works perfectly, the issues coming when try to flash rom with pie 9, same issue with paranoid 9 for XC
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
If you're not getting past the sony logo I think something could be wrong with the oem partition. Someone else in this thread had similar issues flashing SW binaries (which were solved by trying to flash the binaries from another pc with another cable). If you connect the phone in twrp mode to a pc, what is the output of?:

adb shell 'mkdir -p /oem; mount /dev/block/bootdevice/by-name/oem /oem; cat /oem/build.prop'
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] matteobikk90:
sorry my baddd, not unzipping SW
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] themmm:
Bluetooth fix

**** Nevermind i just saw that you are already on it ;) *****

It seems as if there is a Bluetooth fix available and has already been merged into the kernel

https://github.com/sonyxperiadev/bug_tracker/issues/196#issuecomment-491528252

It would be great if you could include it in your build!

Thanks for your work ... i greatly appreciate it!!

THX

themmm
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yayaDen:
Hi everyone, on the latest build and binary, 8 aux works for you?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
New build is up with bluetooth, night light and (long press) camera button fixed.