yashsingh1/xdaforums huggingface dataset:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Pieceofawa:
I can't boot this ROM on my Sony xc,but I've boot it success a few days ago.now,I can't get in the system and it just shows me the logo of lineage.I don't know how to fix it
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] HelloWorldljx:
https://xdaforums.com/t/rom-unoffic...-xperia-x-compact-final.4080903/post-84403943 Erase the system, data and cache via TWRP. Try flashing it with magisk 22.1. It works WELL on my xc. DO NOT FLASH SONY OEM FILES.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] PlsHelpXDA:
@Cippa_a

It's possible you compile a LineageOS 18.1 (or 17.1) rom (for F5321, Xperia X Compact)

Kind regards
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
Sony Xperia X Compact - Прошивка LineageOS, AOSP - 4PDA

Sony Xperia X Compact - Прошивка LineageOS, AOSP

4pda.ru
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] xanxanxanxan:
Thank you very much for all the work you put into this ROM, @Chippa_a! It works great (stability, battery, ...), except for one thing. Calling doesn't work at all for me.

I installed only the ROM without GApps. When I try to call someone using the standard dialer and phone app, the display goes crazy. I see random buttons being pressed, the call is made but sometimes interrupted because "hang up" is being triggered. And more importantly, other apps and settings are changed. It's like I swipe and type randomly on my unlocked screen.

I tried a lot of alternative dialer apps. For those of them using an independant phone screen, it's a bit better. The buttons are not pressed. But often, the screen goes dark at the beginning of a call and there is no way to hang up or do anything. It pretty much freezes the phone while still making the call.

I'm not sure but this could be an issue with the proximity sensor. Maybe it doesn't detect when I'm holding the phone in my hand and still thinks it is being held next to my ear. But how can I fix this?

And how does this hypotheses explain the random button pressing? I'm very grateful for any hint or update that could help me to fix this issue.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
I used this ROM for nearly a year and never had any SOFTWARE related problems with calls.

What I DID experience, though, were problems with the proximity sensor, but THESE problems persisted on stock as well. I once changed my headphone jack and must have damaged the proximity sensor in the process, as afterwards my phone would no longer detect near objects.

Which means: Whenever I called someone (be it on stock or LOS), I had to MANUALLY lock my screen via the button to not do any display input with my head/cheek. Maybe that is your problem as well?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] NasiJagung:
Is there anyone got problem with NFC ? Mine seems not working. Or it need additional file to work ? From drop down menu its only blank icon and from connection menu its show nothing only Bluetooth.

Spoiler content hidden.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
Back when I used this ROM, NFC worked good iirc. I am not completely sure though.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] NasiJagung:
hmm i will re flash again
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] NasiJagung:
its still doesnt work and i try to Flash using LOS 17 it still doesnt work for NFC

im using los 17 from this thread https://4pda.to/forum/index.php?showtopic=876000
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
I am PRETTY certain NFC worked for me back then, and chippa_a also stated in one of his posts that it should work. But I went back to stock after some time, so my memory might be mistaken...

Did you ever open your phone? Once I did a repair and afterwards did not connect the NFC antenna properly, so NFC would not work until I had fixed the connection.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] NasiJagung:
What stock A7 or A8 ? Do you have other recommendations rom with working NFC ?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
NFC worked FOR SURE on stock Android 8. I always used the latest stock version that was released for this phone. NFC worked perfectly there, I am 100% sure about that.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] NasiJagung:
Mine doesn't work maybe because it had different firmware. My phone not global but Docomo version (with BL unlock)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] HelloWorldljx:
Glad to see your recent activity. LineageOS 17.1 is almost perfect. I'm still using this phone and waiting for any update on this device.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] decsimon:
Hi, could you please share link of lineage os 17? Thanks
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] HelloWorldljx:
Sony Xperia X Compact - Прошивка LineageOS, AOSP - 4PDA

Sony Xperia X Compact - Прошивка LineageOS, AOSP

4pda.to
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] decsimon:
Thanks!, it is a rom that freezing in some situation....best rom in this moment is lineageos 16... I hope for other rom...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
I started using Corvus OS treble rom, Android 11, and very nice... Haven't found an issue yet...

Tipz Team Builds - Browse /GSIs/CorvusROM/Beta/20211217/ARM64 at SourceForge.net

sourceforge.net
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] decsimon:
Please, which step have i to follow for install this rom?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Instructions here - https://xdaforums.com/t/project-treble-for-xperia-x-compact.4096909/

Also good info here - https://xdaforums.com/t/rom-11-0-4-9-aosp-kugo-explosive-lobster.4214465/

I originally just flashed Explosive Lobster ROM, and from there, just flashed Corvus system, and vendor IMG, and worked fine. If you just follow instructions in first link, should work.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] decsimon:
I also flashed Explosive Lobster ROM but the big problem for me was that is not possible to install magisk....i try everithing! But nothing....
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
I never tried Magisk on Explosive, but using latest Magisk on Corvus, and working fine.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] decsimon:
I try to install but without success...could you please say step to step how you have installed this rom? Thanks! In this time i use more lineageos 17 and can i say that is a good rom....for some apk is better to install old version for a perfect job...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Michael62:
Is Family Link work on this LineageOS 16.0 build?

If yes - which gapps version and how it installed (reboot, wipes, etc)

Which *real* reasons to use this ROM instead stock?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] joob84:
Hi - Did you, or anybody, get a solution for the location problem?

I'd be very interested, since I am experiencing no-location data with several apps all having been working fine before LOS16 was flashed, but now failing completely on my Sony Xperia X compact.

Actually the only app still showing a "route" travelled is Strava, but strangely wobbling.

(And, indeed, I noticed the Satstat compass pointing to a pointless "North").
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
I did a lot of reading on that matter, and according to the developers on GitHub (the developers of the Sony Open Developer project, iirc) the GPS problem lies in the code of the latest version of the X Compact kernel. And, as there won't be any updates on that kernel anymore, it is unsolvable, if nothing has changed till then (I read about it around a year ago). That's why in the end I switched back to STOCK, because the older Android versions use an earlier version of the kernel (as you also stated with your post).
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] joob84:
Thank you for reacting, that really sound like final. Too bad. Stock won't work for some of my apps. So I'll have to switch phones.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ANDREW007CZ:
yep, all that is sad. been using this phone for 5 years now. It's still a good piece of hardware. It's shame Sony did dump it. will need to buy another hardware simply to have up to date software that's not really considerate in any way.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
You could try Treble. There is a ROM to start with in the X Compact boards, and other Treble roms around the board. I tried two, but didnt find one with working GPS, maybe again bc of the underlying kernel...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Sony has for years said that phones will be supported for 2 years, (for example, https://www.gizmochina.com/2021/07/...-will-receive-software-updates-for-two-years/). Updates typically stop after that...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
I have been using CorvusOS Android 11 treble rom, and gps working fine.

A couple of issues, but overall stable and usable so far...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] dohanin:
Hi, I'm new to LineageOS and loved it immediately. Very neat and efficient.

I have a question though. After 5 years of using X Compact, now I mainly used it as a second phone, and also to run some apps that won't work on my new phone that is on Android 12 and rooted. WIth this LineageOS, I found that I don't need magisk and can simply install addonsu, which can be enable/disabled in developer option - perfect for me.

However, there is one app that just would not start even if root is disabled. It only works after I remove addonsu altogether. So now if I want to use this app, I have to flash addonsu-remove first, instead of simply disabling it.

Any advice or work-around in this situation?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Don't know which app you're talking about, but... did you already try with Magisk hide?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] dohanin:
No. I do not want to install Magisk on this device running LineageOS as I want it clean, so that whatever Apps that is strong in detecting root can be run safely here. If I install Magisk, it's just too much work to remove root temporarily.

So, LineageOS appears perfect that I can simply enable/disable root in Settings. However, it seems that particular app (made by the company I worked for) is so strong in detecting root, even if root is not enabled. And in my primary device, it could detect root even with MagiskHide, Zygisk or in work profile, etc. So the only way I can run this app is in a clean device.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] alemaoao:
Last week i flashed this ROM on my Xperia X Compact, Docomo version SO-02J, the only problem until now in my tests was to use mobile data, it appears that i have some problem related to APN's, but I had tried copying all parameters from original stock ROM and still does not work.

Still missing some test's like NFC for example, but this is a resource that i never used so much in stock ROM.

I thought interesting post this tests here because very little information are found about this variant and model
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ipuzz:
fresh install,

my device docomo same problem with network just get EDGE,

work perfectly with this step

👉 flash back to stock docomo frimeware.

install twrp ,be careful 😌

then you can flash this LOS16 rom.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] alemaoao:
Thanks for the response. I had did exactly this, I restored back my stock rom and other partitions with TWRP, tested all connections 3G, LTE and re flash lineage again.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ipuzz:
am not sure with restore a backup 🙄 can be solved, but you can try 😄
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] alemaoao:
For me, backup and restore functions of TWRP always worked good. Here TWRP is version 3.7.0_9-0-kugo. Works good to backup and restore and with LOS 16.0 and with stock rom (34.4.B.1.135).

Sometimes in restore operation returns error during restore OEM...

In this cases I powered it off, restarted again in recovery and tried again the failed partition and other remaining (normally OEM, TrimArea and AppsLog)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Radio function is proprietary to sony firmware/kernel. Custom roms including sony's own open devices program don't provide this functionality. hence no way to enable it on custom roms afaik.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Zentori:
Your phone enters in deep sleep with this ROM? If yes, did you install root addon or Google Apps?

Mine does not enter in deep sleep so I'm looking for differences. I've installed Magisk and Google Apps nano.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] evilorb:
No deep sleep at all here, +/- 30 % down after the night.

Just fresh install with only root addon, no Gapps, Magisk or other mod.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] zokkii:
I install again and it dont go in deep sleep.But when i later added a fingerprint everything is normal

I don't know if the fingerprint has anything to do with it
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
Our developer also developed LOS 16 for the Xperia X, and in this thread it is stated as follows:

"Add a lockscreen pattern or pin with fingerprint. If you don't do that, deepsleep is not working and battery draining when don't use the phone. Otherway if you do that deepsleep working good. With this my battery time good enough for me.

And i am using this rom for a while. With gapps, magisk and no reboot or no crashes."

So, assuming the two devices share the same problem, deep sleep should work, like maluus said, after adding a fingerprint. Have not tried it yet, will do so now. If it works, it's an easy solution for the deep sleep problem.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] evilorb:
Thanks for this info.

I have a lockscreen pattern enabled with 2 fingerprint since first install, battery is really bad, can not expect a full day.

Need to investigate or new install.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
So, after adding a fingerprint to my PIN lockscreen my phone now enters deep sleep and my battery life is much better. Also "Deep Sleep" is showing in BBS. Everything seems fine now, at least for me...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TamarindoJuice:
So, bugs i noticed so far using this beta ROM for some days:

- No Deep Sleep (solved adding a fingerprint lockscreen)

- Can't place widgets on homescreen, can touch and keep pressing them but nothing else happens.

- SD Card sometimes don't show up while connected to PC (some reboots uses to fix it)

- Media scanner don't work sometimes after rebooting the phone, or at last it can't find my music and pics on the SD (it usually takes some minutes to find the content, but sometimes it just don't find anything till you reboots the phone again)

Other than this, this ROM is just awesome, i hope the developer keep improving it even further!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] M@xZ:
So I flashed it again with a clean install:

Full wipe (cache - dalvik - data - system)

Flash the LineageOS ROM zip from TWRP

Wipe cache + dalvik

Flash GApps micro

Wipe cache + dalvik

Flash Magisk (v20.4)

Wipe cache + dalvik

Reboot to system

No luck: speakerphone still breaks calls. Any ideas everyone?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
No problem here with Google dialer. Didn't check original dialer tho. Do you have any sound mod or anything that may be interrupting the phone up using speaker? Also check permissions and default phone app. Phone app settings page some additional sections when you expand it down. Like is it a phone app, show over other apps etc. Try those.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] M@xZ:
Thanks for your advice but no improvements :(

Setted Google Dialer as default phone app, checked settings and app permissions and turned off AudioFX but the issue is still there. It happens only in calls: speakerphone works well when watching videos and in WhatsApp.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mric51:
hello,

I installed LOS 16 on the F5321 via TWRP as well as the Gapp-Pico and Magisk.

I have a problem with DRM Widevine L3 .. impossible to decode some stream tv even in SD.

DRM Info

Widevine CDM

Vender Google

Version <unknown>

Is there a patch to fix the L3?

thank you
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
After a week of testing now, I can copy that. OS uses some more battery than expected. Battery life is still good normally though.

BUT one strange thing I noticed - sometimes, seemingly random, the phone starts getting warm, while browsing or whatsapping or sth else, and battery consumption gets very high all of the sudden. A reboot ALWAYS fixes that problem, but in the OS battery stats and in BBS I could not find any reason for this. Has anyone here experienced something similar?

Edit: After searching for this in the other thread again, it might be related to WiFi. Which might be the case, because for me the issue for example occured this morning after taking the phone out of flight mode. It's strange though that WiFi does not ALWAYS cause battery drain, I am connected now, phone temperature is normal and no drain.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Chippa_a:
The new build is available!

It includes April 2020 security patches + recent LineageOS changes.

Moreover, please note that the fingerprint recognition method has changed in this build (for testing purposes).

Now you have to put your device into an interactive state (button pressed/double tap) and then use the fingerprint scanner.

Unfortunately, this doesn't fully match the stock experience, so the scanner doesn't read your finger at the moment when you are

pressing the power button, but I'll see if it can be done.

Download: https://drive.google.com/open?id=1aeRthTuLIkvpptiDgfZ22CIN9ck-AxOS
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] metalkid75:
hey guys do u suggest to install it? No serious bugs in the release?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TamarindoJuice:
Good job, but same after enabling the fingerprint unlock feature, my phone still not going into deep sleep, i checked it now, 6 hours of 600mhz clock, no Deep Sleep, just the ROM, no GAPPs, no magisk or anything else, just stock apps too.

Can you please consider to give a look into it?

Thank you.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mric51:
thank you for this work,

first return:

- the fingerprint option is not saved in the apps: "the security settings of your phone have been updated since your connection." each time the app is started.

- I have a freeze after a few hours without use which requires a reboot.

- always a <unknown> version of Widevine CDM.

have a good day
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
I dirty-flashed the new build. On the old one, I used fingerprint unlock to make deep sleep possible.

After flashing the new build, I deleted my fingerprints (I dislike fingerprint unlock), and the phone still enters deep sleep now.

On the OLD version, after deleting my fingerprints, the phone would not enter deep sleep again. On the new build, now it does, even without fingerprint unlock. Reading that for some users deep sleep still is not working, I might be lucky here, and I only use the new build for 3 hours now, but so far, the deep sleep problem seems fixed for me!

Also, as a side question, [MENTION=6994234]Chippa_a[/MENTION], do you by chance now why ONLY SOMETIMES the phone starts getting warm and draining the battery while freshly connected to Wifi? Did not happen on the new build until now, though, so might be that that is already fixed as well.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] metalkid75:
Hi guys,

I would like to try this rom, do u suggest it? No problem with it? Mostly I use my phone with thetering and web..
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Yes it's a great rom, stable and the best performance I've had on the XC so far. The only issue is that the camera is no good on it. Everything else is awesome.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] zokkii:
When i restore my stock rom backup i get bootloop on xperia logo.

Previous time on Lineage my backup worked,does anyone know what is wrong.

Thanks
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] sprockkets:
It seems that this ROM can have the phone unlock or awake just placing the thumb on the sensor without needing to press it. That may explain the wake/sleep issue. However, BT for me doesn't seem to work well. If I disconnect a device, it will still think it is connected. Sometimes it acts as if it went to sleep and audio is basically playing a split second at a time ever 4 or so seconds.

Otherwise it seems good. Camera is a little slow but that's expected. Seems to work just like the old stock ROM in how it works.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] metalkid75:
here on this forum a guy wrote he had issues with speakerphone...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
Hello! But there are no errors during recovery, red lines do not appear? I usually restore boot, system, cashe first, then reboot the recovery, restore the OEM, reboot the recovery again and restore the vendor, then reboot into the system.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
To all the ones asking if this ROM is functional and can be used as a daily driver - it definitly can. It is really a great ROM and I did not think we on the X Compact would ever get a ROM good as this one. Everything works, at least as far as I can tell, no great issues for me. With the newest build even the deep sleep problem without fingerprint is solved.

The only problem remaining is a problem somewhat related to wifi and the airplane mode. I did a few more testing on that issue.

Let's say in the morning I boot my phone and activate wifi. For the whole day, there won't be any issues. No problem with wifi, no problem with heating-up, no problem with battery life.

For the night I always activate airplane mode. Also there, no problem at all. Phone enters deep sleep and uses ~3% battery per night, which is totally okay. Won't heat up also, in the morning the phone is cold.

THEN the strange part happens: In the morning I always deactivate airplane mode. Phone reconnects with network and wifi. From THAT moment on, the battery life is miserable. The phone uses WAY more battery than normal. Also, it starts getting hot during easy tasks like chatting in Whatsapp. If I connect it to the charger, it gets even hotter, and does load only very slowly, which I guess is expected. Something seems to keep the phone very busy. De- and reactivating wifi does not help much, too.

What does ALWAYS help is a restart. I restart the phone, battery life gets back to normal, phone cools down, even with connected wifi. Phone will function well throughout the day, very good battery life. And then, the next morning, after deactivating airplane mode, the same thing starts again.

Which de facto is not a GREAT problem, because you can easy add a daily reboot to your morning routine, but it's very strange. I also could not find any strange wakelocks or app behaviour that could cause such battery drain in the morning. Does anybody have similar experiences, or maybe a solution? In the thread for the ROM by chippa_a for the Xperia X it was suggested to underclock the CPU to solve this, but I do not understand how the CPU frequency is related to battery drain after leaving airplane mode...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TamarindoJuice:
[MENTION=6994234]Chippa_a[/MENTION] Any words about the deep sleep?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] fsof2:
This ROM is great bur i noticed that there is olduğu adreno GPU drivers. Do you have any chance to update them?