yashsingh1/xdaforums huggingface dataset:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Just tested and it's not working. Back to stock unfortunately.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Daxiongmao87:
I'm having a lot of trouble getting this to boot after flashing. I've flashed v3 of the beta kernel, and did a data format, but it just gets stuck in a boot loop. When you say 'clean wipe,' what does that entail? Also for some reason in my twrp I get an error about unable to mount/dismount /oem partition, invalid command? Something like that. Anyone else having this issue? I've flashed to lineage 14.1 for now, with the genesis kernel (still having /oem error on twrp).

Edit: Looks like I am having issues similar to an earlier poster here, which seems to be resolved. I'll try the steps you outlined for him. Thanks
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Kianush:
would you please tell me which android 9 rom you are using now and from which thread/topic?

is it more stable than omni or not?

thnaks!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
I've been using the rom I built myself from Sony AOSP sources. I didn't use omni so I can't compare. As for AOSP it can be used as daily. There are some minor bugs here and there but nothing important. Main problem was lack of quick charge 3 support. Since all my chargers are quick charge 3 I gave up. Devs said this device won't support 3 amp chargers I'm back to stock now until some workaround is found.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Daxiongmao87:
I've followed the steps with flashing the v3 loire to oem,

then I wiped all data except for otg and sd card

I then rebooted to recovery

then flashed,

now its stuck in a boot loop. I'm able to return to recovery.

My twrp is version 3.2.3-0

What could be going wrong?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Although encryption *should* work with the latest build, I think you could try to 'Format Data' (= different from wiping data) from within TWRP. also 'Swipe to Factory Reset' might help.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yayaDen:
Hello everyone, please write the instructions for installing the firmware from fastboot to Format Data ... 10 times I try to install, it still does not work
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] eymentuna:
actually very simple. data format, flash pie 9 ommi. then fastboot flash sw .... v3 o work ok cheers

[MENTION=514045]thanks[/MENTION] harryharryharyy
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] gingerboy92:
I have a quick charge adapter, it's not working. The main issue is that the phone can't negotiate higher voltage. It would just stop charging completely. I don't really care about quick charge, but it's very annoying because when all i use a quick charge adapter, the phone can't charge at all. Lol
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Daxiongmao87:
Currently I've seemed to have rendered my xperia compact unable to flash twrp. (I reapplied the xperia firmware from xperifirm), so after i untangle myself from this mess I'll give it a shot.

Sidenote: The error I receive when flashing TWRP via fastboot is a simple "FAILED ()", with nothing in the paranthesis. I can flash oem, but not recovery for some reason

Edit: Okay, so I wiped data, advanced wiped everything but OTG and sdcard, did a factory wipe, rebooted back into TWRP, flashed the rom, then turned off and booted into fastboot and flashed the SW_binaries for v3 loire, and still... I get the boot loop... It goes from "Your device has been unlocked and cannot be trusted", to the sony logo, and back to the warning. It does this constantly.

A bit of info, as I mentioned before, any mounting or dismounting of oem partition in twrp results in an error, i don't know why. The error simply states:

Failed to mount '/oem' (Invalid Argument)

That's the only thing that I see that concerns me.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
[MENTION=4065751]gingerboy92[/MENTION] Yeah I had the not charging at all thing happen to me overnight a couple of weeks ago, it sucked. I ordered a QC3.0 charger myself, maybe I can find out something more when I'm home again (no promises).

[MENTION=6077203]Daxiongmao87[/MENTION] Yeah an unreadable oem-partition might be the cause of such an early bootloop. I just tried mounting the oem-partition in twrp myself:

mount /dev/block/platform/soc.0/7824900.sdhci/by-name/oem /oem

Which doesn't seem to give any errors in twrp, and the /oem directory is browsable. I'm thinking it might be either a difference in twrp version or a faulty oem partition. I'm using the official TWRP 3.2.3-0 for kugo. Did you flash the *unzipped* odm-file with fastboot ? You might want to verify the sha256sum of the downloaded file checks out (although I doubt fastboot would've flashed a corrupted file without warning).
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Daxiongmao87:
Hey harryharryharry I got it working. I used a different PC and now everything boots! Not sure what was going on, thanks for helping me figure it out
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Nice! My guess would be, somehow the oem partition (because not being mountable) got corrupted writing it from the first computer, pretty strange indeed.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] gingerboy92:
nice to hear that. i think there's some work both in kernel and userspace to be done with qc. the rom doesn't even come with hvdcp_opti which is needed for qc charging if i'm not wrong. not a developer so i don't know much, only some things based on my experience back when i was using the redmi note 3.

what do you think of this patch? https://github.com/pranavaryans1987...e9a03a9#diff-47b91cdc2727a50084dd1e213a43385d

BTW: does the sd card work on you phones? i just realized that i don't have an sd card, the phone randomly showed sd card format not supported(or something like that) after a reboot today, and when i rebooted again, the card doesn't get detected at all, it works fine in twrp. i think it's hasn't been detected for a while considering that all the pictures i've taken since couple week is all on the phone storage instead of sdcard, usually i always use sdcard to store pictures, never used internal storage. didn't realize when it stopped working or if ever worked
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Daxiongmao87:
[MENTION=3792631]harryharryharry[/MENTION] just an update, the rom works really well! I've had little issues so far. Thank you for getting this rom up for us! A couple of questions in regards to this rom and the phone in general since I'm a new owner:

- Has this phone been known to have a mediocre gps? I've had some issues getting good visibility with the GPS satellites.

- Also does omni rom usually have the ability to customize the status bar? I see under battery section you can enable/disable graphics and text, but the clock on the left is taking a little getting used to, was wondering if this is an omni rom thing, and if they provided a method to customize the status bar like other roms. If not, just curious, it's an easy adaptation.

Also one last thing. I guess is expected, but safetynet fails on this ROM. I'm new to xperia devices so I'm not sure if it's possible to have safetynet pass on an unlocked bootloader? Is this possible? Thanks

Thanks again!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] phantomololo:
I have installed omni-9-20181215.

I have problem with System UI tuner app - it's not launching.

And i can't remove camera and emergency call buttons from lock screen. Maybe this options in System UI tuner?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] phantomololo:
With omni-9-20181215 any camera app (default camera and hedgecam 2.08) encode video with fast h.264 preset (profile Baseline, CABAC=No), with stock firmware camera apps encode with more complex preset.

How to solve this?

Omni - profile Baseline, CABAC=No

Format : AVC

Format/Info : Advanced Video Codec

Format profile : Baseline@L4.1

Format settings : 1 Ref Frames

Format settings, CABAC : No

Format settings, RefFrames : 1 frame

Format settings, GOP : M=1, N=30

Codec ID : avc1

Codec ID/Info : Advanced Video Coding

Stock - profile High, CABAC=Yes

Format : AVC

Format/Info : Advanced Video Codec

Format profile : High@L4.1

Format settings : CABAC / 1 Ref Frames

Format settings, CABAC : Yes

Format settings, RefFrames : 1 frame

Format settings, GOP : M=1, N=30

Codec ID : avc1

Codec ID/Info : Advanced Video Coding
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi!

I'm using the latest omni9 ( 20181215 with v3 odm ) and today, i've got some random audio "muting". Neither me nor the one I called hears anything phone calling. After that, nothing sound coming out from the phone, neither phone speaker wgen playing music .Just a reboot solves it. I've got a log,s, maybe helps.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] p00pyp00p:
I'm getting stuck at the Omni logo (alien head in a circle with "omni" written below it), and I'm not sure what I'm doing wrong. Here are my steps:

1. Unlock bootloader

2. Install and boot into TWRP

3. Wipe and factory reset

4. Reboot to TWRP

5. Install OmniROM, wipe cache, and reboot

6. Install gapps (nano), wipe cache, and shut down

7. Connect to PC w/ fastboot, flash binaries

8. Reboot
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
[MENTION=9663332]p00pyp00p[/MENTION] Those steps sound about right. Maybe also try to use the 'Format Data' option in TWRP instead of only wiping data (which does not remove encryption). There were some reports of issues with encryption. Then (to be sure) flash the omnirom zip again.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
[MENTION=4065751]gingerboy92[/MENTION] I spoke about the qc3 charger issue to oshmoun but at this point in time there are no visible leads in dmesg as to why my qc3 charger doesn't charge. Could you post your dmesg to http://del.dog and post the link here? Maybe there's a difference/lead in your dmesg.

[MENTION=6077203]Daxiongmao87[/MENTION] Usually gps works fine for me, but I've experienced times where (in hindsight) the gps appeared to have skipped a period of time (~15 minutes) while using strava. I've been on non-stock roms for quite some time and I don't remember if this also occured on stock rom, so this might indicate either a buggy implementation of the gps function (on aosp) or subpar gps hardware. If you can somehow catch the issue with logcat and dmesg you could report the issue on: https://github.com/sonyxperiadev/bug_tracker/issues

I did the SafetyNet check, and for me the basic integrity test passes, but the ctsprofile fails. Not really sure what that's supposed to mean though as it doesn't state on what issue it is failing.

[MENTION=9656168]phantomololo[/MENTION] I can't reproduce the System UI tuner app crashing. It may either have been solved between 15dec and now, or something might be wrong with your installation. I'll upload another build when the security patch level is updated, so you can check if one or the other is the case.

I'm not really sure about the camera profile presets, I think I read somewhere that using non-stock roms the camera function will always be somewhat crippled as parts of the inner workings of xc's camera aren't opensource. Maybe someone more knowledgeable else can chime in on that.

[MENTION=2728349]lba810701[/MENTION] Haven't experienced this myself, but I know there is a bug for suzu (a similar device and the only other phone that uses the loire platform) which was resolved about half a month ago. It may be easiest to keep an eye out for this behaviour on an upcoming build. Have you experienced this issue a lot ?

As for missing (lock screen & status bar) features: As I understand it the omnirom team starts a new version of omnirom with (a lot of) omni-features removed so they can start with a clean slate. Features will gradually reappear during the beta phase of the rom. Since omni9 is still in beta, it is expected that some features are yet to be implemented.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Daxiongmao87:
Thanks for the thorough reply. I'll see if I can catch the issue for GPS. For me in SafetyNet, basic integrity is failing and I'm not sure where to go from here.

Edit: I got it working with magisk :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Pergin:
Thank you for the great work!

Only a question: I tried to enable root access with this rom flashing Magisk v18.0 from TWRP (as I did with the stock firmware), but nothing happened. The phone reboots, but Magisk is not installed.

Any solution?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] p00pyp00p:
Thanks for the reply.

I should've clarified that when I said "wiped data", I meant factory reset + wipe data options in TWRP. I also tried what you suggested, and I'm getting the same results.

I tried the steps a couple times, along with a couple permutations (install OmniROM and then factory reset, install OmniROM without gapps, try with or without Magisk, etc.), and I'm getting the same results every time. I think I'll try installing a different ROM to see if it's a problem with my device.

EDIT: Just got it to boot. No idea what changed this time ....
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] alecs.ster:
Experienced the same thing. You have to install the Magisk Manager apk. This solved it for me
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] chodashi:
Hi [MENTION=3792631]harryharryharry[/MENTION], thanks for the great work on this ROM! Been running it for a few days now and overall it seems very stable. I haven't experienced any major bugs or crashes so far.

One question I had though - I noticed that for the Android Security Patch level it now seems that in Android P this is a separate OTA from the ROM updates. Is that true? And if so, will this build allow updating the ASP level via OTA?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
I've uploaded a new build with the security patch level updated to the 5th of January 2019 (and besides syncing the sources, to my knowledge not much else has improved/changed).

[MENTION=2728349]lba810701[/MENTION] Two to three times a day huh?, that's quite frequently. Well at least it will be easy to spot if the issue persists with the new build :). Since (to my knowledge) no other people have reported this issue on kugo, it may be country/provider specific. If you still have the issue with my latest build, you might want to include the country/provider info (alongside relevant dmesg, logcat, etc.) when you create an issue on github.

[MENTION=4863168]chodashi[/MENTION] How so?, do you have a secondary OTA update for the security patch level in Settings? Not really sure how OmniROM's OTA system works, but right now the one OTA option I can find says it is disabled (I would figure they disable it at least until builds are deemed stable)

For monitoring the security patch level, I use these sources:

https://source.android.com/security/bulletin

https://github.com/omnirom/android_build/commits/android-9.0
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] eymentuna:
Hey [MENTION=221072]harry[/MENTION]

pie 9 omnijaws weather not working
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] GraphicHealer:
No Assistant on Home Button?

Hello,

I've installed this rom on my sister's phone, and when she presses and holds the home button, the assistant does not show up. When she says "OK, Google", it shows up.

Whats wrong here?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi! I think yahoo weather api now got some error, chronus clock doesn't work too with yahoo. Try the other openweather not yahoo. Mines working on with todays unofficial .
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] eymentuna:
yahoo and openweathermap I tried both.

the result says disabled
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] chodashi:
Really appreciate this! Hope you plan to keep this up until an official OmniROM Android P ROM is released :cool:

Yup, if you go to Settings -> Security & Location -> Security Update it seems to do a OTA check just for the security patch. Maybe this is a new feature of Android P as the UI doesn't seem to be an OmniROM screen. In any case, I tried doing that and it didn't find the January 2019 update so it seems it doesn't work at least for now. But I went ahead and flashed the new ROM above and it's working fine.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
[MENTION=5889003]eymentuna[/MENTION] I looked in logcat and got this error:

01-08 21:36:07.034 13993 14822 E AbstractWeatherProvider: Couldn't retrieve data from url https://query.yahooapis.com/v1/public/yql?format=json ...

I found out via their website that the yahoo apis are retired as of 3rd of January:

https://developer.yahoo.com/weather/

OpenWeatherMap works for me too.

[MENTION=7654590]gljones2001[/MENTION] I don't use Google Assistant so I don't know what the default behaviour was. Might be a change in default settings of either Google (Assistant) app or the stock launcher (Quickstep/Launcher3). If the stock launcher isn't able to deliver the desired behaviour anymore via settings, maybe you can try a 3rd party launcher like Nova Launcher.

[MENTION=4863168]chodashi[/MENTION] Ah yes, that's neat. Although I don't know if security patch level can be updated separately, as I think it's 'part of the rom' (would be excellent if it were separate though, makes for easier security updates). Maybe it's just to check if the rom has the most recent security patch level available to that specific brand of rom (which will then redirect to Omni's OpenDelta when that's up and running for Pie).
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] GraphicHealer:
[MENTION=3792631]harryharryharry[/MENTION], The home button long press is a system implementation. I can not find it in settings. Do you know if its possible with a magisk or xposed module (preferably magisk) to enable the home button long press for assistant?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
Ah yes you're right, manual configuration of long/double press buttons are not (yet?) available in the omnigears menu.

Having said that, I just installed Assistant and for me it does open (in the bottom half of the screen) when I'm long pressing home (in stock and nova launcher); while for me, only saying 'ok google' in home screen (stock launcher) nothing happens (but maybe I'm overlooking some setting).

In nova launcher I found a setting to enable 'OK google detection'.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ralfbergs:
It IS 'part of the rom'...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
[MENTION=3792631]harryharryharry[/MENTION]: The calling mute error the same on latest build with odm v3. Yesterday was none, but today until now, i've got it twice. I made new logcats, maybe it helps, but just from the latest, the 2nd
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] phantomololo:
Are v4 software binaries can be used now?

With omni-9-20190108 problems gone.

And system UI tuner have options for disabling lock screen shortcuts!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yayaDen:
Hello everyone, I have a problem with root and gaaps install through. twrp and freezes when the bootloop boots. when installing omni with all wipe everything is OK
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] eymentuna:
[MENTION=1321952]Harryharryharry [/MENTION]thanks

(clean flash recommended; 'Format Data' required if device is currently encrypted, otherwise first boot will hang).

1-format data

2-flash pie omni

3-fastboot flash sw.........V3 lorie
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] shaunblyde:
I had the same problem. Seemed to be an issue related to using the latest version of Open Gapps. I eventually tried open_gapps-arm64-9.0-nano-20181209 which was successful :)

Let me know if this works for you, it would be good to know that that was my problem.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Highchiller:
I have the same problem as [MENTION=9642399]yayaDen[/MENTION] but without root (keep it simple...)

I followed [MENTION=5889003]eymentuna[/MENTION] but it didn't help.

1) Wipe + Format Data

2) Clean flash omni

3) flash binaries (I tried v3 and v4)

4) flash gapps arm64, 9.0 Pie, nano (I tried versions from 10th January 2019 and as suggested by [MENTION=3432883]shaunblyde[/MENTION] version from 9th Dec. 2018 from the github releases).

Nothing works. I'm still hanging in the boot screen.

If I do not install gapps, omni boots directly and everything works like a charm... without google...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] eymentuna:
[MENTION=9657890]Highchiller[/MENTION]

do not install a twrp app after the installation is finished you will say no, otherwise it will not open.

(asks whether you want to install or not)

Gapps=open_gapps-arm64-9.0-pico-20181222.zip
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Highchiller:
You did it! Thanks man!

I seems the problem was TWRP. I tried your setup and choose pico first (from 22nd Dec 2018).

First boot took ages (around 10min)! Than I thought, maybe I didn't wait long enough for nano apps and tried the setup again without installing TWRP.

This helped. My setup

* no TWRP installation

* nano gapps arm64 from 12th Dec 2018

* wait over 10min for first boot!

Thanks man!

---------- Post added at 08:02 AM ---------- Previous post was at 07:44 AM ----------

Ok another problem. The phone doesn't connect automatically with available networks.

I had the same issue with LineageOS and asked there as well (currently without progress). (Post in LineageOS).

The workaround was to enter dial code *#*#4636#*#* -> Phone Information -> and turn off and on again the "Mobile Radio Power".

Once I did this, the phone almost instantly connects to the available network.

However, after a restart it's not working again. The only way to connect to a network (for calls, sms, mobile-data, etc) is over the dial code... Everything else fails with the message: "Can't connect to this network right now. Try again later."

So it seems, this is no longer a ROM error. Anyway, if somebody has an idea... I would be very happy.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] eymentuna:
unfortunately the şebeke is coming late and there is a shortage of non-charging: Rolleyes:

*I've tried all the ways but I've failed
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Highchiller:
I see. I faced the charging problem as well. That's way more annoying.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] eymentuna:
so now I'm using eXistenZ

I was going to say that.

continue to use eXistenZ I think cake 9 is not worth using
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Charging issue is a common problem and looked at atm by devs.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] SirAlucard:
stuck @omni logo

1 Format Data' with twrp

2-wipe cache+cache +userdata+system

3-flashzip( pi9 ommi rom)

4-fastboot flash oem SW........lorie.beta

and now i stuck @ the logo
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] eymentuna:
do not install a twrp app after the installation is finished you will say no, otherwise it will not open.

(asks whether you want to install or not)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] SirAlucard:
Now it working thanks