yashsingh1/xdaforums huggingface dataset:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
I just installed briefly to do some quick testing I didn't run into GPS problems, but if it LOS 18.1 has them then this probably does do since crDroid is based on LOS. I was hoping to see more updates with this project, the boot verification error failure is a dealbraker for me as is the lack of GCam HDR support, only some mods work (6.xx) and even then the HDR processing takes a really long time.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Rendini:
Hello dear experts!

I am very interested in flashing this ROM on my F5321 /kugo. While the title says "kugo", all the files at MEGA and Drive are for suzu. Since I wasn't sure, I just started as instructed in the first post, but unsurprisingly I receive the error, that my device is kugo and the image is for suzu. I hope it is no bother and that I did not overlook something obvious, but can somebody kindly point me in the right direction? Thx a bunch!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Hey download the file that has F5321 in it. That's the XC version. You can disregard that it still says suzu in it.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Rendini:
Great, thanks! Like I said, overlooked something obvious like model number!

Works very well now! No additional peculiarities to report. Will share if I find something!

Great work!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] katayasu:
Hey! Check out Dot OS on Compact - it runs very smooth and looking fantastic! There's some really good tweaks like changing color of UI based on your wallpaper and lockscreen clock styles. Some Android 12 vibe.

It runned after I switched SELinux to permissive.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] matteobikk90:
everything works like a charm, I came across my baby x compact in the wardrobe and decided to install this amazing rom.

All good so far so it came back to life and since I will use it for a while I might have a silly question => Is secure to use bank apps or purchase things online with my credit card details ?

Where this data will be stored, if they are?

Essentially I would like to know if I can use this custom rom like an 'original' firmware ?!

Thanks a lot
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] tydog98:
Does this ROM not have a nightlight mode?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
Hi, can I get a link to the Dot OS on Compact firmware?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] katayasu:
find your devices | dotOS

That's the treble ROM.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
Thank you, and everything works on this firmware and how stable is it, are there any reboots?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] katayasu:
I think reboots are on all treble ROMs. I checked many of them and reboots always has been. But it's stable and for me battery lives longer than on other ROMs. Привет с 4ПДА.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
Of course, the firmware is interesting, but, like on all GSI, the night illumination does not work, contacts fly off, for some reason the login to the account flies off, you constantly have to log in again, the Google camera refused to work, the picture looks like purple stripes, so it's better than Lineage 16 and eXisten, there is nothing yet with the native core.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] katayasu:
I kinda used to this issues, but I don't have problems with contacts and accounts. Found some cameras, but stock here looking better than all of them. About night illumination - any manipulations with the color of the screen do not work, like making it colder. Only if you download some overlay app that will change colors, but it will be seen on screenshots.

The only issue that annoying me is reboots.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] red-n-blue:
I just added a Merge Request in github to enable exFAT support. Unfortunately, I've been unable to test it myself, since my machine is too small to build AOSP, and just patching the boot image with my kernel doesn't work because it is missing some key or signature, apparently.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] gilatino:
Hi. I have a problem with this rom. It recognizes my sim card but there is no signal. When I try to call a number, it says radio off. When I access *#*#4636#*#*, I see that mobile radio tower is turned off and i can't turn it on. Can someone help me to enable mobile radio?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ObnxiosWeesl:
so i get my phone to the blue light, and from what I understand I am supposed to then open CMD from the folder with platform tools, then type in "fastboot flash recovery twrp-3.3.1-0-kugo.img". However, my CMD then gets stuck on "waiting for any device". What am i doing wrong?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Sounds like you might have the wrong fastboot driver installed so it's not detecting your phone is plugged in. On the command line, type fastboot devices. Does it show any output for connected device? If not or the command doesn't work, you should update your fastboot driver. You could also try using another cable and/or usb port to see if it makes a difference.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] ObnxiosWeesl:
ok so I installed google's drivers on my pc, but now when I try to run "fastboot flash recovery twrp-3.x.x-x-kugo.img" it gives me this:

C:\Program Files\platform-tools_r31.0.3-windows\platform-tools>fastboot flash recovery twrp-3.3.1-0-kugo.img

Sending 'recovery' (21552 KB) OKAY [ 0.680s]

Writing 'recovery' FAILED (remote: 'Command not allowed')

fastboot: error: Command failed

I tried locking and unlocking the bootloader, and I tried it turning usb debugging off and on and it still gives me this
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Okay so if the recovery command failed it's either the bootloader wasn't unlocked properly or you're not flashing a compatible version of twrp.

1) Are you sure the bootloader is unlocked correctly? Did you use Flashtool or another way to do it? Did you get the right unlock code from Sony? If you didn't use the Xperia Flashtool, download it and check the bootloader status. The Flastool also comes with the Xperia USB Drivers that you might be required to install to get this working.

2) Try flashing an older version of twrp to see if it makes a difference.

If none of that works I would reinstall adb following this guide

How to install ADB on Windows, macOS, and Linux

A step-by-step guide to get you started with the Android Debug Bridge tool.

www.xda-developers.com

*Also typo in my earlier post, the command to check plugged in devices is "adb devices" (without quotes) and not "fastboot devices".

This is an easy device to unlock/install roms so you're probably just missing the right driver or something minor got overlooked.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Seems like @lubik1 is not around these days... Anybody else here interested in Halium 9 for kugo? Trying to get an updated UBTouch going...

[device-port] [kugo] Sony Xperia X Compact · Issue #103 · Halium/projectmanagement

Tree: Create manifest Halium/halium-devices#127 Boot image and system image build successfully Device boots into rootfs, usb: Manufacturer: GNU/Linux Device appears in dmesg on host. LXC container ...

github.com
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Dominic1801:
Tried to flash this rom yesterday but kept crashing on patching vendor image. Any ideas? I can flash LineageOS just fine but wanted Android 11
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Is it crashing in TWRP when patching vendor image? Sometimes flashing in TWRP failed for me too. Try rebooting into TWRP and flash again until it works. It's random but worked for me.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Dominic1801:
Yes crashing in TWRP. I tried several times but I don't have TWRP installed on the phone, I just boot into it through a command in fastboot, could that be a problem?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Yes very likely. I would flash twrp to recovery partition then flash this rom again. After it installs you can always remove twrp easily.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] decsimon:
Hi, i try to flash magisk ( last version from 21 to 23) without success. Some trick for this? Thanks
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] safuan12:
i can't instal this rom with twrp v3.6.0,
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
True - I found same thing (error: can't install over newer version ...). Downgrade TWRP and it will work.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] JasonBest:
Hey my friend,i wanna ask that the pre-installed apps in this rom such as camera and web browser are quite old-fashioned.is this an issue or not?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
It's very basic AOSP. You can customize if you want, but I've found more 11 roms that work fine with treble. Check out the "Project Treble" thread in this forum, and follow the links for many options. Corvus OS rom is working well, and very updated and customize-able...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] JasonBest:
i tried to follow the steps flashing a/b rom of corvus os(using boot and vender image from this thread,binary 10.0 from sony).however,i failed to enter system and it stoped at the eagle icon.what's wrong?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Use the files from this rom, (userdata, boot, in treble folder). So, just flash Explosive Lobster as usual, then flash Corvus system image, and Explosive userdata.

May not be necessary to do in that order,but I can confirm working that way.I did it twice - I had Explosive Lobster booted, then fast booted Corvus system and Explosive Lobster userdata, and boots...

I used Corvus a_b with gapps...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] JasonBest:
Awesome! I flashed this rom successfully.thank you so much!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] JasonBest:
Hey my friend, your work is wonderful! I hope more people could see your work, and I want to reproduce this post to Chinese online community Bilibili.com. May I have a permission please?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] 6dg6b:
Downgrading TWRP allowed me to install
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] HelloWorldljx:
I am very interested in your bilibili channel
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
After much experimenting with various 11 and 12 roms, I think this is the most stable, and through different apps and mods, you can actually get it to be pretty similar to more "fancy" roms...

View attachment 5534019

View attachment 5534021View attachment 5534023View attachment 5534025View attachment 5534027View attachment 5534029
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Also, I just found Lineage 17 for Kugo on 4pda. Haven't tried it yet.

@mister-13x - any report?

Update- testing now, and working great... Using MicroG.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
Hi, I have already published it for a long time since Chippa did not appear for a long time and I decided to do it, this is the alpha version, so everything works fine, but sometimes there are reboots it is not clear for what reasons, now the developer appeared but refused to do anything because he changed the device, try to tell him he can agree at least 17 to correct, it would not be bad.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] JasonBest:
I tried Corvus os and it died into bootloop few days later. Now I'm using CAOS and seemings nothing get wrong for now. With Microsoft Launcher, it looks up to date and beautiful.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mr.willem:
Hello everyone.

Thank you very much @levone1 for creating this rom. Great work!

If I got it correct, this rom based on linux 4.9 from January 2021.

I have seen on github that there were many changes to the kernel source on 26.02.2021

Have you already updated the kernel and checked whether there is some improvements regarding stability?

If I would like to try it. Can I just use the SONY AOSP Build guide and merge your sources from github to build it on my own?

Thanks Willem
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
not my rom - @lubik1
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mr.willem:
Sorry, I had the wrong name in mind while typing the question. Many thanks for the rom @lubik1 !
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mr.willem:
I have installed this rom and after two days i must say it is really very stable.

This is probably the best aftermarket rom I have ever used. Thank your very much for it.

@lubik1 @Cubbins

I would like to try to build this rom on my own and include the (kernel) changes which you released on github.

I've seen that you have many repos on github which are also related to this device and which include changes that were introduced after this rom was posted. (enable vulcan in the gfx-driver for instance)

I have some questions concerning this.

Does this make sense or have you already tried to build a new rom with the changes and it didn't work?

Can I just use the Sony AOSP build instructions as a guideline?

Can I use android-11.0.0_r46 like shown in the AOSP build guide as basis or which release / revision did you use for this rom?

Should / must I include all of your repos from github as well and replace the corresponding folders in the android dev tree?

Maybe because they complement the updated kernel source or should it work by just replacing the kernel?

Thanks a lot. Willem.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] decsimon:
Hi, what step metod to flash system corvus? I try with recovery (System partition) and with pc adb fastboot flash system but without result…
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Cubbins:
Hello thank you very much!

As far as I remember, all changes have been tested and should work on the device.

If you're really interested in compiling this ROM, I can add a little guide and update the sources to the latest tag. I do not promise that it will be tomorrow, but I will try to do it as soon as possible.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mr.willem:
That would be awesome :-D

I tried to build the el rom overnight using the el manifest as basis

repo init -u https://github.com/ExplosiveLobster/platform_manifest/ -b android-11 && repo sync

then I lunched the F5321 amd started the build

But it failed with the error below. Some libs/depfiles were missing.

Do you have an idea what could be the reason?

Do I maybe also have to include the sony AOSP manifest for this build?

i.e.

cd .repo

git clone https://github.com/sonyxperiadev/local_manifests

cd local_manifests

git checkout <branch>

cd ../..

But if I do so there are duplicated repos

fatal: duplicate path device/sony/sepolicy in /usr/src/android/.repo/manifest.xml

Just in case that this is of relevance. I found libhypv_intercept.so in the directory

out/target/product/kugo/obj_arm/SHARED_LIBRARIES/libhypv_intercept_intermediates/LINKED/libhypv_intercept.so

so the difference is that the library is in the LINKED Subdirectory.

But I'm not really familiar with the ninja build system. I don't know where to look for the command that generates

the so.

/usr/src/android$ cat out/error.log

FAILED: build out/target/product/kugo/obj_arm/SHARED_LIBRARIES/libhypv_intercept_intermediates/libhypv_intercept.so

Outputs: out/target/product/kugo/obj_arm/SHARED_LIBRARIES/libhypv_intercept_intermediates/libhypv_intercept.so

Error: exited with code: 1

Command: /bin/bash -c "(mkdir -p out/target/product/kugo/vendor/firmware_mnt ) && (mkdir -p out/target/product/kugo/vendor/dsp ) && (ln -sf /vendor/bin out/target/product/kugo/vendor/odm/bin ) && (ln -sf /vendor/firmware out/target/product/kugo/vendor/odm/firmware ) && (ln -sf /vendor/lib out/target/product/kugo/vendor/odm/lib ) && (ln -sf /vendor/lib64 out/target/product/kugo/vendor/odm/lib64 ) && (ln -sf /vendor/radio out/target/product/kugo/vendor/odm/radio )"

Output:

depfile is missing
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Cubbins:
I'm very sorry, but no ETA to my last promise, I live in Ukraine and I think you have seen what is happening here..
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Spaceoid:
Crap. This will be off-topic 100%, but I hope you are safe. Total ****show what is going on there.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mr.willem:
@Cubbins Nothing to be sorry about. Like @Spaceoid said this is absolutely off-topic. I hope that you and your family are safe. Please care about yourself. I am still hoping that this nightmare will be over fast.

The whole situation makes me feel so helpless and furious.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
I just followed steps from Xplosive Lobster op, and then flashed Corvus a_b rom with fastboot flash system...

Make sure to flash usersdata and vendor from Treble folder in op...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] decsimon:
If i flash corvus a-b img with pc in fastboot, i don’t have response from pc…😩
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Flash lobster first, and boot it up to make sure it's working, then power off, and flash Corvus system and Lobster usersdata
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] fredsky2:
Just a heads up for anyone that might face this very specific issue i was getting and how i solved it:

I was on android 6 with my original TA.img and genesisKernel. Couldn't get a boot for any gsi-treble, tried everything.

Updated to stock 8.0 from xperifirm and flashtool, BUT removed every *.ta from the flashing. Stock booted ok, but flashing explosive-lobster or any gsi treble would not boot, only bootloop nonstop. Lineage 16 would work alright.

Well, as you might have guessed, updated auto_boot.ta, fota-reset.ta, osv-restriction.ta are somewhat needed for treble. Fully flashing stock 8.0 from flashtool then flashing explosive-lobster finally got me to boot android 11

Makes me wonder if the issues with 4.9 kernel would have something to do with the drm stuff. I remember the screen red tint was a given when unlocking bootloader back in the day

By the way, just want to thanks everyone thats still around and doing stuff for this phone, Cubbins, lubik1, levone1, mister-13x, betacrypt, Spaceoid and many others; helped me a lot reading and downloading stuff to get my x compact up to date

edit: i think i found the issue, nvm for now
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Cubbins:
Thanks for the support. I'm still alive and I will update the sources to the latest AOSP 11_r46 tag this week
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Cubbins:
Sources were updated to AOSP 11_r46, also added a small manual to the platform_manifest repo.

If faced with any problems at the compilation stage, feel free to ask.

View attachment 5570123
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] &(*):
@Cubbins ,

Would you be able to provide the updated build .img(s) (boot,system,vendor) here on xda for download? I noticed that @Chippa_a updated the vendor source a few months ago.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Cubbins:
I can not do it because of war, the internet is very bad.

I don't know who that is and I use fresh blobs as much as possible (including Adreno).
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] HelloWorldljx:
Here i find developers started their great work on lineage-18.1 for Xperia X and XC. https://github.com/sony-msm8956-dev/android_device_sony_loire-common/tree/lineage-18.1
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mr.willem:
Glad to hear that you are OK :-) .

Sorry, I was offline for some days and didn't notice that you replied to the thread.

Your build guide is quite similar to what I already tried.

The only difference is that I didn't run the sync with --current-branch --no-clone-bundle --no-tags . I just did a clean download / sync and started the build.

If all goes well I will provide the image later on.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mr.willem:
Unfortunately, I had the same problem compiling the rom with the updated sources like before.

It stops at around 87% when trying to compile / link libhypv_intercept.so

Do you maybe know this problem? (see below).

I am not so sure which of the commands below fails. I think it must be the command that generates libhypv_intercept.so because I can run the bash command manuallly without problem.

Maybe there is also something different wrong because it says depfile missing.

I just don't know whether the build system expects the libhypv_intercept.so file in the wrong subdirectory

I think it looks for libhypv_intercept.so in the directory

out/target/product/kugo/obj_arm/SHARED_LIBRARIES/libhypv_intercept_intermediates/

but it is found in

out/target/product/kugo/obj_arm/SHARED_LIBRARIES/libhypv_intercept_intermediates/LINKED/

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

Installed file list: out/target/product/kugo/installed-files-ramdisk-debug.txt

[ 88% 138617/157378] build out/target/product/kugo/obj_arm/SHARED_LIBRARIES/libhypv_intercept_intermediates/libhypv_intercept.so

FAILED: out/target/product/kugo/obj_arm/SHARED_LIBRARIES/libhypv_intercept_intermediates/libhypv_intercept.so

/bin/bash -c "(mkdir -p out/target/product/kugo/vendor/firmware_mnt ) && (mkdir -p out/target/product/kugo/vendor/dsp ) && (ln -sf /vendor/bin out/target/product/kugo/vendor/odm/bin ) && (ln -sf /vendor/firmware out/target/product/kugo/vendor/odm/firmware ) && (ln -sf /vend

or/lib out/target/product/kugo/vendor/odm/lib ) && (ln -sf /vendor/lib64 out/target/product/kugo/vendor/odm/lib64 ) && (ln -sf /vendor/radio out/target/product/kugo/vendor/odm/radio )"

depfile is missing

16:01:54 ninja failed with: exit status 1

#### failed to build some targets (04:32:15 (hh:mm:ss)) ####

willem@penguin:/usr/src/android$ ls out/target/product/kugo/obj_arm/SHARED_LIBRARIES/libhypv_intercept_intermediates/

hypv_intercept.d hypv_intercept.o LINKED

willem@penguin:/usr/src/android$ ls out/target/product/kugo/obj_arm/SHARED_LIBRARIES/libhypv_intercept_intermediates/LINKED/

libhypv_intercept.so
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] &(*):
try export ALLOW_MISSING_DEPENDENCIES=true after cleaning the build and see if it succeeds.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mr.willem:
Thank you. I will try this tomorrow.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mr.willem:
I have run a new build yesterday overnight with the Parameter ALLOW_MISSING_DEPENDENCIES set. But that also did not work. I have tried to investigate this error / what generates this file. But I find the android build system quite confusing. So unfortunately I was not able to build the image now.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] RedSTAR_:
Does this terble work for MikuUI or evolutionX which based on android12 or even android13? Sorry for my poor english
[Xiaomi Mi A2 / 6X Questions & Answers] John974:
Is it better to have an Android 10 rom without a security patch or a rom with a security patch? Are security patches really useful?
[Xiaomi Mi A2 / 6X Questions & Answers] John974:
Thanks
[P3600 ROM Development] utnicki.h:
Dzięki,dzięki i jeszcze raz dzięki.Właśnie na coś takiego czekałem i w końcu się doczekałem.Jeszcze dziś biorę się za "gotowanie" mojego pierwszego ROMu:)

Pozdrawiam z Garwolina

Ps.ROM dla Trinity-SUPER!!!
[P3600 ROM Development] Nokser:
Gratulation

Halo My dear freand,nice work ......