yashsingh1/xdaforums huggingface dataset:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Chippa_a:
Can you attach a screenshot from Settings->About phone->Android version please?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] fsof2:
it works
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
Was that question for me or for TamarindoJuice? :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Format data before restore. I mean format data not just wipe. And don't forget to backup before. After that restore should work.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] fsof2:
Having proximity sensor issue
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
[MENTION=6994234]Chippa_a[/MENTION] do you have any intention to switch to 4.4 kernel? it was very good and stable afaik.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TamarindoJuice:
It works.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] fsof2:
mine is blinking red in calls or listening voice records, then it turns to normal. (not a red blink )
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TamarindoJuice:
Yes
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Proximity sensor works but doesn't trigger screen off during calls. If I recall correctly it was working as intended on first build.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Wondering the same. Is it not possible to use the 4.4 kernel with this rom?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] fsof2:
Can you send a screenshot from any app?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mric51:
widevine

is it possible to enable widevine L3 ?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Sorry didn't understand. What you mean by that?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] fsof2:
I meant Sensor values, you can see them with an app like aida 64
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Badu87:
hi, is this rom stable? have any bugs? battery life equal to stock? thanks
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] MrCooper95:
Install this ROM and then make your own judgement, that's only way to find out of what suits your preferences.

But yes pretty stable in my view and I'm happy with it
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Badu87:
thanks for the reply, very kind. is there a clear guide for modding? I'm not a beginner, I've had in the past, galaxy nexus, nexus 5, opo, opx, moto g5 +.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mp107:
From my experience both kernels 4.4 and 4.9 used on custom ROMs based on Sony AOSP for an unidentified reason suffered from random reboots or soft bricks so I would not consider them completely stable.

Beside that the stock ROM on X Compact used 3.10 kernel only and so does this ROM as it uses the most stable stock blobs. The only drawback is the lack of "RAW Image" Camera2 API needed for newer GCam to work. Unfortunately there is currently no known way to enable it on stock ROM and stock ROM blobs based custom ROMs.

In other words (and in short), in order to switch to kernel 4.4 or newer the ROM would have to use less stable Sony AOSP blobs which would cause the ROM being less stable.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Yes 4.9 was very problematic. but I don't remember 4.4 suffered such problems. Only problem I remember with 4.4 was fingerprint sensor. But I might be wrong because it's been a long time since the last time I used it.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
You can find sensor values below. I have a tasker profile depending proximity sensor and it works. But as I stated during calls although sensor works it doesn't close screen to prevent accidental touches.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Badu87:
Is there an alternative to stock camera app?

Maybe with Video 60 fps and 23 mpx photo?

Quality difference between stock and mod with drm flash? Thanks!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TamarindoJuice:
I wonder why just mine isn't entering in deep sleep status, no matter how many times i install it, from a clean flashtool install or from any other rom, with a fingerprint or not, it keeps awake almost 100% of the screen off time. :/
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] evilorb:
Dont know what magic happened and it was on the previous build but to have a working deep sleep I deleted previously encoded pattern and fingerprints to add the same again.

Now the deep sleep seems fonctionnal (I see that on different apps) but I'm not really happy with battery life.

Really need to do a fresh install when I will find the time for testing.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
Hi, now I was comparing the camera on Lineage and eXisten, and after

returning to Lineage I found that the screen stopped turning off like

yours, after restoring the system from the backup, the sensor was restored.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] MrCooper95:
Is your bootloader allowed to be unlocked in the service menu?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] JuniorCaesar:
apart from battery drain (i don't use google services btw) and deep-sleep, this rom is almost perfect. sometimes my phone heats aggresively but this happens on stock rom too so i can't comment on that. thank you so much, we really needed stable 9.0 for a long time :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mric51:
Hello,

in this last version, there is a problem with the apps that use fingerprint authentication, only the last app to have activated the service can use it, for the others it returns an error.

are you a solution ?

thx
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TamarindoJuice:
Hey Vusal, are you there dear? We're missing you here <3
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Badu87:
Ok, after a week of use I can say that it is a stable rom, I have not found any bugs, battery is good, camera with fix and open camera app is equal to stock maybe better. Thanks for the work done!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TamarindoJuice:
What fix and what camera app are you using, can you share it here please?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Badu87:
If you want Drm fix, flash serajr's zip here - https://xdaforums.com/att...7&d=1517335127

Open camera in play Store or https://opencamera.sourceforge.io
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TamarindoJuice:
Thank you, i will try it!

Obs - the DRM fix link is not working, just to make it sure, it's the same file used on that modified stock oreo kernel thread?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] metalkid75:
so you think the quality of pics are very similar to ones made with stock camera? Many said no...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] zokkii:
I use a mx camera and the image quality is no worse than stock camera
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] evilorb:
Never used stock ROM, so I dont know but picture quality on this LOS build is really the best one I have seen with custom ROM for XC.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
Today I had the random heating up of the phone even without any activated wifi connection (was outside in the garden), so it might not be wifi-related after all. Phone did heat up even though deep sleep worked fine, and no strange wakelocks appeared in BBS. A reboot fixed it as usual. Very strange.

Edit: I added a screenshot of the battery usage of the last two days to this post. Both days I did not do much with the phone, just some music, some WhatsApp, some mail-reading, some Twitter. I marked the time when the phone started to heat up all of the sudden. You can clearly see the difference between my normal phone usage and the behaviour of the phone during "heat up". I have no idea what triggers this, I did not do anything special or unusual.

The point where the massive battery drain stops is the time I restarted the phone.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] metalkid75:
hi guys,

I would like to try this rom on my x compact but my last custom rom I installated was 7 years ago(on a Motorola)so now I forgot the steps to do it,so I put the rom and gapps on my sd then from recovery I flash the new rom and after(without any reboot) I flash gapps right?

2) I have another important question: when I install the new rom I loose my root right?If yes how to root again my phone?I hope you can hel me,thanks a lot
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
1) Yes, exactly. Don't forget to do a full wipe before flashing.

2) You can get root through Magisk or SuperSU, I think. I did not use SuperSU for a long time, so can't help you there. But for Magisk, go to the Magisk GitHub site (Google) and download the flashable Magisk file and the Magisk Manager apk. After you flashed the ROM and GApps, boot up your phone once (thats how I learned it, don't know why the boot is neccessary though). Maybe already set up your phone and Google account. Then reboot into recovery again and flash the Magisk zip. After rebooting into system again install Magisk apk. Now , if an app wants root access, Magisk will ask you wether you want to grant it or not.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yyfstig:
Try to flash magisk ?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] metalkid75:
1) don't need drm fix anymore?

2)after flashed the new rom I will loose modified boot.img and twrp? I use only magisk,if my twrp doesn't loose with the new rom I can flah magisk from it,but if I di a full wipe everything will be lost..
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
1) I can't say anything about drm because never bothered with it.

2) You ll probably wipe from twrp which normally doesn't wipe recovery so you ll keep twrp as long as you specifically don't wipe recovery partition. And when you flash the rom from twrp you again will keep recovery. But yes boot partition will be rewritten and replaced with roms own boot.img but it's part of the rom anyway. So you can flash Magisk afterwards.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] metalkid75:
ok,but that's why I asked new rom comes with his own boot.img,so just reflash magisk without the drm fix and I will have again the root?:confused:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
I don't know how good stock camera performed but the camera on this rom unfortunately is really poor on both of my devices. I've tried numerous apps and the detail is lacking and very noisey. Perhaps due to no DRM?

I was previously using aosp with gcam 7 and the difference in quality is like night and day. Curious to see how a 4.4 kernel would fare with this rom since its so stable and fast.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
You won't lose TWRP after flashing this rom. So flash the rom, then magisk and that's all you need to do.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Bluestar01:
I also experience the heating issue, offen times

The phone stucks at 600mhz CPU at that time.

Batterie raises fast down at that time..

Reboot can help

I think it is less if you shut off wifi

Someone the same? I have 5ghz wifi, perhaps somethink todo with that?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
Yes, that's, in my opinion, the only remaining issue with the ROM (if you do not care much about camera qualitiy, I am happy with the state of the camera). Happens for me at least 1 time a day, sometimes more often. And no idea what triggers this behaviour.

In the thread for the Xperia X (same ROM) somebody wrote that it'd help to enable 400 MHz as minimum CPU frequency via a kernel manager app. Have not tried it yet, because my kernel manager app did not work. Maybe that helps?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Bluestar01:
Already enabled with kernel audiator.

CPU governer to powersave, Stays at 400MHZ
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
interesting. because I didn't notice any anormal heating. mine works without any problem for nearly a week.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Bluestar01:
For root, do you use magisk or adonsu?

I use adonsu here...

---------- Post added at 02:57 AM ---------- Previous post was at 02:04 AM ----------

Missed that fingerprint unlock Option.

Enabled now and deepsleep working..

Newer used fingerprint unlock
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TamarindoJuice:
What option? I have a FP registered but mine can't go into Deep Sleep same way.

I never had that overheating bug, mine just overheats when the screen brightness get high (outside home).

OBS - 5GHz WiFi here.

View attachment 5015317
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Bluestar01:
Here they said

After i enabled fingerprint and unlock by fingerprint or pin, it was working after one reboot.

I enabled smart lock also, and registered my home Region as secure, so i dont need fingerprint all the time...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
I now enabled 400 MHz minimum CPU frequency and am testing. I will report back. Until now, no overheating though, which is strange, because after a night the phone started to overheat most of the time in the morning, after deactivating flight mode.

Regarding finger print and deep sleep I can only say that on the first build of this ROM, deep sleep did not work for me. I then enabled fingerprint unlock, and from then on deep sleep worked.

Then I dirty flashed (!) the second build of this ROM and deleted all my fingerprints again, and now deep sleep is working even without fingerprint unlock.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TamarindoJuice:
My device unfortunatelly dont sleep no matter how many times i try to remove lockscreen security or fingerprint, if i reinstall it or not, from a clean flashtool install or from previous build...

I asked the op about it like 15 days ago but nothing till now. Dear OP, can you help me please?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Chippa_a:
The new build is available!

It includes May 2020 security patches and various improvements like:

* fingerprint authentication should be fixed for some applications

* brightness/autobrightness should work better

* general performance improvements

This build is currently marked as final.

Thanks to everyone who used this ROM and helped to improve it by valuable feedback!

P.S. Please don't ask about LineageOS 17.1 release plans for this device, as I'm not ready to give an ETA at this moment.

Download: https://drive.google.com/open?id=1clpWrFCKF1aEhLiaAXt_Dwmo9mqwhhiX
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] metalkid75:
sorry for my question can use open gapps arm64-9.0 stock202 00412 for this new realease?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
Wow, a very nice late night present for the end of the week :))) Thank you very, very much! Can you, by chance and if you have the time, provide a small change log somewhere? :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TamarindoJuice:
Still no deep sleep here, fingerprint option disappeared from setrings and its the final build, so, the end of the line, OP didn't bother to reply nobody anyway.

Good look everyone else.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] M@xZ:
Just updated with this brand new build: fingerprints are gone, option is no longer included in settings.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Chippa_a:
Updated! Please reinstall if you have installed a build from 20200510 with broken fingerprint.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] M@xZ:
Thanks! Updated with this build and fingerprint now works like a charm -tested in the bank app- :good:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Maciek602:
Do you have any link to a working DRM fix? Camera is very noisy for me currently.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
Does this work on every ROM, and does it really have an effect on camera? :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] zokkii:
Try
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TamarindoJuice:
Deleting posts without replying is your modus operandi?

I asked you about the Deep Sleep problem like almost a month ago, you asked for some screnshots of my device, i did it and so you never came back... What i wanna know is just if it can't be fixed on my end or at last you tell me "this cannot be fixed or i don't know why your device DS is not working". Please be polite and reply, don't remove my post.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Chippa_a:
The problem is that you don't understand that no one here owes you anything.

All you need is to read the OP carefully (requirements for the bug report) and be less insistent in your requests.

By the way, this is not just about you.

And please don't continue this topic here, as this is not the place to clarify relationships or search for the causes of device-specific bugs.

If you want, you can contact me through PM or Telegram.

Thanks.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
Reduce the resolution to 8MP and the 16: 9 size will disappear.

You can flash DRM Fix, it will not be worse.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Lemming0815:
Do you guys use Netflix on this Rom? I can't find a way to start it on mine. I've tried with: no root, magisk hide, wiping everything back and forth. No luck. It always gives me those 50x-1019 errors.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mric51:
hi

test netflixlatest.ultrahd.apk or netflixlatest.hdonly.apk to fix drm problem.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ProblemWIthMyXperia:
Hey, thank's for the hard work.

I have a big problem, unlocking with the code lead to a black screen and back to the lockscreen. I can unlock it with my fingerprint, tho.

But I have restarted the device, and now, I need to input my password. So I am stuck at the lockscreen.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Maciek602:
Where did you find that DRM-fix? I have never seen one like that. I thought that there are only kernel-level DRM fixes.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
It is the same one as the one here:

https://xdaforums.com/x-compact/how-to/stock-8-0-root-recovery-t3747479
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
[MENTION=6994234]Chippa_a[/MENTION] there is an interesting behavior (well kind of bug I guess) that I can't delete app folders under system\app and system\priv-app (obviously didn't try anywhere else but I assume the result would be the same if I tried) I can delete files and folders in them without problem but not the apps main folder. In previous builds there wasn't such behavior.

Ps: I use Magisk 20.4 btw.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
I checked on the Terminal folder, after making a copy, deleted it using Root Explorer, rebooted the device, the folder disappeared and the program also, then restored it from the copy. Using SDMaid, I deleted everything that I don’t need from the system files, and there were no problems; in the manager’s settings you need to enable “Delete the necessary residues”.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Lemming0815:
I don't have a drm problem. The app just doesn't start. Am old version (4.x) would but can't stream to Chromecast...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
I don't know which manager you mean but I can delete the things that I put and as stated I can delete files and even folders in app folders. For example under system\app there is basicdreams app fodder which include the app itself and oat folder. Normally then a choose and delete basicdreams folder it would delete that and everything inside it. But with this build that just fails. But I can delete app file and oat folder in it without it. Even when emptied still can't delete basicdreams folder. I can copy and delete folders or apps without similar problem. But not the system apps folders. Can you check if you can delete a system app folder?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mric51:
I had the same error with the official application,

the problem came from widevine L3 which is not functional on this rom,

my solution bypass of the drm with one of the 2 apk proposed.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
Yes, it is deleted, recorded a video from the screen: https://yadi.sk/d/OTtZvWEvbp4nQQ

Root Explorer Manager.

I deleted it by copying it before and restored it later.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Yes it seems it works on yours. But mine gives error.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
I do not know why, but I do not warm up and the battery does not spend much, everything works as it should, today I still installed gapps to check, but also remove it also works normally, although I froze them to sync contacts and calendar, as well as market, since I do not use anything.

Did you install the firmware on version 118?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
In the log file I attached to my last post there is a whole lot of reports "W idd-logreader: /dev/log/main, Log handler returned 0" after 11:59, which would fit the time where the heating started. I just checked the latest log file (no heating) and this error is nowhere to be found. After 11:59, my attached log file gets FLOODED with these logs. No idea though what they indicate. I also googled, but did not find anything at all.

These log entrys come paired with other log entries: "uid=2987(vendor_idd) /vendor/bin/idd-logreader identical 63471 lines" These appear quite often, too, but they are clipped in my log (this one for example should have 63471 lines, lmao), sadly. I am quite sure that here lies the reason for our heating problem, as they do not appear at all while the phone works normally! Both log entries have something to do with some "logreader", though I have no idea what that means.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
These log entrys come paired with other log entries: "uid=2987(vendor_idd) /vendor/bin/idd-logreader identical 63471 lines" These appear quite often, too, but they are clipped in my log (this one for example should have 63471 lines, lmao), sadly. I am quite sure that here lies the reason for our heating problem, as they do not appear at all while the phone works normally! Both log entries have something to do with some "logreader", though I have no idea what that means.[/QUOTE]

Do you have an error in setting up gapps?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
No, the gapps installation always worked without problems. What do you mean with firmware version 118?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
Latest stock firmware: F5321_34.4.A.2.118_1304-9009_R2E.ftf

I installed Lineage 16 after flashing the latest version of the drain, making wipes of the system, cache, dalwick cache, and device memory. And there are not any problems.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
Ah, yes, I was on the latest firmware, of course, before flashing LOS.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
I can advise only one thing, flash it all over again, saving all my applications.