yashsingh1/xdaforums huggingface dataset:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Turnilemikus:
I can surely recommend this as a daily driver. Do note, that I do not use the camera. So I can not attest to how this performs. Sometimes when I listen to BT Audio, the audio becomes choppy which makes it difficult to follow. A simple reboot usually cures this. Only happens about 35% of the time.

---------- Post added at 11:23 AM ---------- Previous post was at 11:15 AM ----------

I have successfully used this TWRP guide. Though, I only hot booted TWRP via Fastboot, I did not flash it. I'm not sure if that matters?

https://xdaforums.com/x-compact/development/advanced-stock-kernel-twrp-xperia-x-t3464685

Do note, if you encrypt your device? You will not be able to flash anything via TWRP from that moment on. This TWRP can only work w/ encrypted MM Roms, not Nougat. Additionally, I did NOT flash this kernel.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Micka84:
Coming from a different custom rom with twrp installed, do I have to flash recovery.img or can I keep the installed twrp. So I would only flash boot.img, system.img and userdata.img

Correct me if I´m misunterstanding something here.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] InforLuso:
The most important thing in a phone is to make calls. The incoming volume is very low. Impossible to listen people and the loudspeaker the same. Any solution to this? Thanks.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Turnilemikus:
Depends on what Android version your Custom ROM is (amongst several other factors).

My 2 cents? You have TWRP currently, so this implies you are rooted/can be rooted. Backup all apps via Titanium Backup and proceed with flashing the entire process. You'll delete everything BTW. Doing a full install will ensure a positive experience.

After installing this ROM, you'll have to flash/hot boot TWRP again (the provided Recovery is Stock Recovery not TWRP) and re-root if desired. Then you'll be in the greatness of AOSP! Good luck!

---------- Post added at 10:36 AM ---------- Previous post was at 10:24 AM ----------

This issue has been consistent on several ROMs for this device. Hopefully, when 1 ROM gets the solution, the rest will as well.

The only low volume issues I've experienced is with the Speaker Phone mode. Not the normal call speaker for your ear. That said, I typically use a BT headset and I've had no problems on the phone. Not a solution but something to consider if you have a set.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] switcher:
am wondering if the loudspeaker problem will be fixed in the near future. Am now on the latest build from 26.03, the 5th update since first release, this rom was my daily driver for all the time and Its great to use this phone with AOSP

but can we expect from the developers they work on this, or worst .. do they even know about the issue ?!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Toemsel:
Not booting

Current version:

kugo-img-7.1.1-NOF27B-20170326.zip

1.1GB Mar 26, 2017 | 02:37PM

Freezed and doesnt boot anymore after it has been flashed.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Toemsel:
Ok, I got it working with different drivers. (Maybe something went wrong while flashing the images). So far i discovered following flaws:

- Micro not working while using loud speakers. (Phone call)

- Camera is up side down. (Front)

- Notifications not visible above the app icon.

Is there any known fix to this? Thanks in advance
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] silence8787:
Hi, really happy with this Rom. Thank you!

But got a Problem: some (yes only Spotify and Amazon Video app for now - Filemanagers like ES and total commander are not affected) apps refuse to store data on sdcard. They detect the card and enough free space (about 60gb) but show cant-write errors. Else card is working fine, it's a original sandisk sdxc 128gb black with fat32 (32k clustersize). Both want to write to there package directories in externalcardfolder/Android/data/com.packagenamd/*

I can write files there with other filemanagers.

Tried reboot, remounting card, deleting/recreating folders (Phone and PC), reinstalling app, granting android storage permissions. Cant move the app to sdcard, but i think this hasnt work in stock before.

Also i found to add media_rw in /etc/permissions for older androidversions, but it's already there.

Any ideas?

Greets and sorry for my bad english,

silence

//Edit: after some research, it seems getFilesDir() and getCacheDir() as in https://developer.android.com/training/basics/data-storage/files.html wont get access to external :(

//Edit: selinux on permissive gets it working flawlessly. But the selinux permissions were already set to the right ID before (ls -Z, ps -Z matched)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TadMSTR:
Has anyone tested device encryption on this ROM? I'm helping to troubleshoot encryption on Omni rom. Our next step is to determine if the issue is device specific or Omni specific. If someone has already tested encryption with this rom it would save me some time. Appreciate any feedback on this, thanks.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] volcolm:
Make certain you're not buying eBay SD cards x.x
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
New Nougat 7.1.2 builds available ....

Inviato dal mio F8131 utilizzando Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] silence8787:
Still searching for a changelog :D

Found https://github.com/SonyAosp/device_sony_kugo , but no commits since 1.February.

Are there other repos to consider? Especially for fixes with phone-call-microphone-volume and loudspeaker?

Or does someone have a list which repos from which developers get merged for the final ROM?

Thanks in advance and sorry if i overlooked the information somewhere in the forum already.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] TadMSTR:
Noticed some screen touch issues on latest build. Seems to happen randomly. I'll wake the phone but the screen won't respond. Sometime occurs after unlocking. If I press the power to lock and then unlock it is fine again. I also had an issue with recovery where touch wasn't working. Flashing recovery again fixed it. I'm not sure if it's related because I was also flashing A.R.I.S.E. and Magisk. But I've never had problems with either of those before. Other than that I haven't had any other problems I can think of. If you need me to collect logs or something let me know what to look for.

Thanks

Edit: Posted in wrong thread.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] droid_legacy:
Hey folks, I'm back from a long pause of android I wanted to know, if this ROM includes SuperUser and if so, is there still the SuperSU APP or how is it done?

Thanks in advance
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Turnilemikus:
It does not include SuperSU. I've had no problems flashing SuperSU from Chainfire.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] triton17:
Hey davidteri91

Great work so far

I really appreciate it

One thing: can you make a version without all the Google stuff preinstalled?

Or at least make a list of all apps that are unnecessary for the system to work?

Thanks a lot
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
If you want it then you will need build it because I have not any aosp apps here all are Google MMS contacts calendar calculator etc etc

Inviato dal mio Xperia X Compact (AOSP) utilizzando Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] echo124:
Hello [MENTION=4764217]davidteri91[/MENTION], thank you for all your work on this device! One question, is it possible implement a auto-data enable on mms like on some devices for LOS? https://review.lineageos.org/#/c/175752/ Is very nice feature.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
As I said we are following GoogleApps

Inviato dal mio Xperia X Performance (AOSP) utilizzando Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] echo124:
Oh, understand - sorry for annoying questions.

Correct me if wrong, this particular feature is a "baked in" the system, no ui disable/enable feature it recognizes when your phone receive mms and automatically turns on data and turns it off once message received. Is there something similar that can be implemented sir? Very interesting:fingers-crossed:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lipalok:
Hi there! Is it possible to root this ROM? If so, which version of SuperSU is the one that fits the ROM correctly? Thanks!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi! I think, you could it with the latest supersu (v2.82), flash it from twrp. Link to download: " http://www.supersu.com/download " i think it's the easiest way to get root access...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lipalok:
Is it just me or do you also experience low image quality of this ROM? Is mean, the pictures my phone takes are not only low in overall quality, but they are also pretty low in overall size - for instance, 13 MP photo has only 1 MB. Is this bug related to Sony sources? Thanks!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] qvmuhuuxz:
I'm not an expert at custom roms (I just flash them!), is it not possible to copy the stock Sony camera app/other camera files and use them in this rom?

The only real thing that is keeping me from flashing is the camera.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] coran21:
NFC Host-based Card Emulation doesn't work

It looks like the HCE doesn't work, is there any way how to fix it?

Thanks,

Petr
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] tyroan:
Without GApps?

Heya! Any chance you could publish a build (preferably of the latest version) without GApps? It would be really appreciated!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
https://plus.google.com/communities/114731831310250763183

First oreo build available ..
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] insanexd:
Tryed to flash it with TWRP and had no success :(

Error: "Invalid zip file format!"
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Tim35p07:
i got the same Error :(

//EDIT: Zip is not Flashable
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
I hope you are joking !!!!! These zip contains img files to be flashed via fastboot

Inviato dal mio Xperia XZ1 (AOSP) utilizzando Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Tim35p07:
I flashed the files via Fastboot, now i Stuck into sony Bootlogo.

Do i need a specific order?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi!

I read something thiese at our OmniROM 8 subforum at our x compact rom and kernels.... ( Sorry, i dont knwon how to paste an xda link here... , So i copy and paste that text what DJHasis wrote there )

I don't knwon its help or not . But at Omni it was good. Except how to make an oem.raw. The command line was: " simg2img -l ***.zip -o oem.raw ", where ***.zip was the latest oreo binaries from sonys web site.

Maybe this help. Not sure. But, when i arrived at home, i will try this aosp to.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
We are using now odm partition which contains all vendor libs provided by Sony ... You need download vendor.img and flash it via fastboot I have write about on SonyAosp G+ site .... Please read

Inviato dal mio Xperia XZ1 (AOSP) utilizzando Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
I have successfuly built an Oreo AOSP ROM from Sony sources. However even with Sony-provided OEM binaries, the Camera is unusable, while green...

EDIT: The green camera problem is with binaries version 4.0

Camera in version 5.0 of OEM binaries seems to be working ok, but for real photo enthusiast an alternative camera would make more sense, because I did not found for example resolution setting in the app, the setting is fixed at 19Mpix 16:9...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DJHasis:
The same problem is with multiple Sony devices because Sony hasn't yet updated the bootloader to support oreo.

Basicly my instructions say to download Sony's binaries, convert them to raw-format and copy it directly to where it should be.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
You are doing the things wrong ... Camera with latest vendor.img is ok

Inviato dal mio Xperia XZ1 (AOSP) utilizzando Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] DJHasis:
Please tell us how we should do differently.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
In the site there is the link to sonydevelopersite there explain how to do .....

Inviato dal mio Xperia XZ1 (AOSP) utilizzando Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
At the time I downloaded and compiled (two days ago) was version 04 out, today I checked, and version 05 of binaries is out, which of course I could not know.... so I am not doing things wrong, but you have a new and more recent info... thanks, going to try that!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
fastboot flash oem vendor_v5.img

You need flash it then cam will work with correct colors

Inviato dal mio Xperia XZ1 (AOSP) utilizzando Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
Camera with latest version somehow works (stock camera has no resolution settings), the quality is ... well, it takes pictures. Wifi does not work at all. Other things are to test, but it seems promising, the AOSP even from Son sources is very fast and snappy. With some polishing it will make nic Oreo experience
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
WiFi works you just need reboot your device some times until it works

Inviato dal mio Xperia XZ1 (AOSP) utilizzando Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Thanks David for bringing this rom for us. is this stable enough to be used as daily?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Flowchan:
It does reboot randomly from time to time but other than that it is fully usable.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
Nope. Fingerprints sensor works randomly. It is quite usable, but not fully functional.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
Next update will be more stable some things has been fixed ....

Inviato dal mio Xperia XZ1 (AOSP) utilizzando Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
Just follow me on twitter to know when new releases are released

Inviato dal mio Xperia XZ1 (AOSP) utilizzando Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Thanks for responses. Actually I flashed it to give it a go. After I solve the other problems slept with full charge but awoke with completely dead phone. But since the week began couldn't investigate the issue. Just restored my backup. So there was an immense battery drain. But I was asleep I don't know may be it just went into a bootloop until die out.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
I will try to update tonight ... But I can't promise it

Inviato dal mio Xperia XZ1 (AOSP) utilizzando Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] droncheg:
SonyAosp latest build kugo-img-8.0.0-OPR3.170623.013-20171120 for Oreo seems less buggy (wifi work, also on 5GHz; rear cam 20MP work). Flash via fastboot and dont forget about oem-partition.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] fellows123:
Tried installing that build and got a "Invalid Zip file" error from TWRP. Anyone else experience that.

(Completed the OEM Flash step before)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] lba810701:
Hi! It was because you must unpack the zip file, and what it contains, they must flash with fastboot to your phone. Pls, check out the first page where David explains it, how to flash it.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] fellows123:
Cheers! Trying it now.

To confirm,

fastboot -S 256M flash boot boot.img
fastboot -S 256M flash recovery recovery.img
fastboot -S 256M flash system system.img
fastboot -S 256M flash userdata userdata.img

I assume we would need to add

fastboot -S 256M flash cache cache.img

and what about recovery-two-step.img.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ondrejvaroscak:
No, only boot, system and userdata. There is no point in flashing cache and no point flashing recovery as it would cause twrp to be replaced with aosp recovery which is good for nothing...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] droncheg:
BTW, this oreo sonyaosp build have wifi bug, when you switch off, you cannot switch on sometimes and need to reboot. Anyway, current quality not so bad even for daily use with Magisk/SEmodeChanger/etc. Bloated a bit with Chrome and Opengapps.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Hello, David. for a time I've been trying to build an aosp rom from xosp sources. The builds are ok and running but I was having two major problems. First one: fingerprint sensor and security option doesn't work (in security section fingerprint doesn't appear as an option. When I try to use fingerprint security option on suggestion section setup begins but when it comes to fingerprint scan step setting crashes.) and the second one: I was having problems with opengapps which never works.(initial google account setup doesn't appear and when I try to manually add google account play services constantly crashes. you pre-built roms doesn't have these two problems.(Although fingerprint sensor very slow and google setup somewhat problematic) So I wanted to try to build from your sources. I succesfully built have booted but this time device doesn't recognize simcard and fingerprint problem is the same like xosp. I was wondering if there is something I m missing or I m thinking if it may be related to v06 software binaries?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Anybody tried O yet? https://androidfilehost.com/?fid=817906626617948176
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] insanexd:
I have tried it. Its supper fluid, I did not have any random reboot. Camera is ok. WiFi and Bluetooth worked also ok.

Fingerprint scanner is very unstable and it does not work most of the time.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yanom:
Is this still being maintained? In the download link I see regular builds up to last July and nothing after...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
There are 2 O builds from November - https://androidfilehost.com/?w=files&flid=227735
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
I am still alive and Loire (kugo-suzu) have reach a good state with 4.4 kernel new release soon check Twitter to more news
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] kingstark69:
Can you Port this rom to xperia x?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
https://androidfilehost.com/?a=show&w=files&flid=201957

---------- Post added at 05:44 PM ---------- Previous post was at 05:40 PM ----------

New O build - https://androidfilehost.com/?fid=889964283620778544
[MENTION=4764217]davidteri91[/MENTION] - New build is in 'generic device' category on AFH...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
New Oreo build available ....
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
Actually there is available build for Xperia X (suzu)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Can't get boot. Do I need to flash full stock first? I downloaded and flashed oem partition here - https://drive.google.com/open?id=1lwS-ddzW86O3tDfZQbJgFyAyWnrJMGLs - then flashed partitions in zip. Just Sony logo, no bootanimation.... Does it matter which order to flash?

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

edit - nevermind. Wrong oem img... Trying again with the one you linked.

Thanks

---------- Post added at 10:56 AM ---------- Previous post was at 10:04 AM ----------

Ok, booted and working well. Issues so far:

- no sim detection

- camera keeps crashing

Just me?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
I had the no sim problem when I built with davids source code. Which oem image you used?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
https://developer.sonymobile.com/do...ies-for-aosp-oreo-android-8-kernel-4-4-loire/

Just tested again after flashing stock, and the same...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
New build 1/20, maybe fixed. Going to try later...

https://androidfilehost.com/?fid=818070582850486934
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
[MENTION=4764217]davidteri91[/MENTION] - 1/20 build not booting. I see that the newest oem imgs on Sony dev site are 8.0, and rom is 8.1. Is that why?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
I got answer on G+ about 8.1 build... Not ready for users yet, ("...6.4 kernel" (?)). No answer yet about no-sim issue.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] insanexd:
What about fingerprint scanner? is it working?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
[MENTION=3387606]maluus[/MENTION] Here's reply about no-sim issue: "On 8.0 I have RIL working .... So the same for all ... Suzu and Kugo". Know what that means? Is he saying that the sim is working, or that there's some workaround or something?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
He says sim should work :D Btw I forgot to update. With latest build of David's, I did not have sim issue. I used ver v8 of oem binaries. But fingerprint was still bad so I returned to stock.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
New Oreo 8.1 builds available .... Enjoy
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] echo124:
Thanks!

On stock you can receive mms when data off , will aosp have this feature? :)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] coran21:
Thanks for new build, unfortunately WiFi still doesn't work correctly, I would expect that this will be already fixed, it's quite annoying restarting the phone every time I need the WiFi......
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yanom:
I just upgraded to 8.1.0 build (without re-flashing userdata, but re-flashing everything else, including the new OEM from Sony SW_binaries_for_Xperia_Android_8.1.6.4_r1_v11_loire.zip) and I'm having a major problem - the home (circle) and square soft buttons aren't working at all. What's going on here?

---------- Post added at 03:02 PM ---------- Previous post was at 02:23 PM ----------

update: Fixed my own problem. The problem is the device was not "provisioned" after the upgrade. See this post for same issue on different device. The fix was to hook it back up to my computer and run:

adb shell settings put global setup_wizard_has_run 1
adb shell settings put secure user_setup_complete 1
adb shell settings put global device_provisioned 1

like it says.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ralfbergs:
[MENTION=4764217]davidteri91[/MENTION] could you please update the thread title, so that people will know you're now up to 8.1?

Big thanks for your efforts!!!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
New build 8.1 coming soon.... OTG fixed and some improvements ... Stay tuned .... Check Twitter to get more news about development ....
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
Jenkins started the build ... Release probably tonight ... Follow me to get the news ... Stay tuned
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Komanche:
Cannot set fingerprint... Last version of everything...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] bellissimo.io:
Fingerprint works for me, clean install. But I can't access camera settings, can you?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
It depends on what kind of settings .... I can access to cam settings on all my devices running sonyaosp rom
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Komanche:
I use opencamera...