yashsingh1/xdaforums huggingface dataset:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] HelloWorldljx:
Erfan's HydrogenOS(Android 10) arm64 Aonly gsi image can boot on Xperia X Compact, but fonts may have some errors. You need to copy the other phone's /system/fonts folder to XC. Just wipe the system and flash it in TWRP.WIFI and bluetooth works well but sim card fails. Find it in https://mirrors.lolinet.com/firmware/gsi/HydrogenOS/
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] HelloWorldljx:
Erfan's flyme works well, too. https://mirrors.lolinet.com/firmware/gsi/Flyme

Do not do anything after finish flash system.img, like flashing magisk.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
Havoc OS 2.9 does not work badly, the only drawback is the sound at the beginning of the conversation floats a little, not very good, there is still no solution. https://xdaforums.com/project-treble/trebleenabled-device-development/gsi-havoc-os-t3930030
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] nervousapp:
Do you try with sony binaries Pie or Q ?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] HelloWorldljx:
I tried with Sony binaries Pie

---------- Post added at 01:24 PM ---------- Previous post was at 01:21 PM ----------

Is it possible to build Project Treble for Xperia X Compact with Chippa-a's 3.10.108 kernel? https://github.com/Chippa-a/android_kernel_sony_msm8956
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
I find with the treble roms that my device heats up A LOT when using it, especially with camera processing and watching videos. CPU temp was hitting up to 70 degrees C with prolonged use in many cases. I don't get this overheating issue with AOSP or other non-treble roms though.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
More Pie treble roms for XC

Here are some more treble-based rom for Pie that work on the XC:

AOSIP Derpfest (May 2020 security patch, without GApps)

AICP (May 2020 security patch, without GApps)

Pixel Experience (March 2020 security patch, includes GApps)

I haven't fully tested them so I can't recommend any but I can confirm they all boot successfully.

Other roms like CRDroid and AEX aren't working for me, they boot up but they get stuck at the loading screen so still investigating.

Just flash system in fastboot mode. You may also need to wipe data first for them to load (I usually flash the userdata.img from the OP instead of wipe).

.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] &(*):
Do the latest 4.14 software binaries change the partition layout and present an increased demand on modifications for Treble system capabilities? If that is the case, might the author of this thread be willing to elaborate on a new thread for Treble 10 GSI? Appreciate the currently offered Treble 9 GSI alternative to the rather lacking development of roms for this model. Would like to know what is holding devs back with the latest 4.14 kernel from being implemented with Treble and development overall. I don't know of one Sony device that runs 4.14 kernel with a custom rom other than a later generation device (XZ2 and on).
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
In theory it should be doable and there's Sjll's guide on Treble guidance but I don't have enough knowledge on how feasible it is for the 4.14 kernel for Loire. [MENTION=7585884]nervousapp[/MENTION] is this something you could help with?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
There was an ongoing work for 4.14 on SODP but devs ceased to work on Loire platform at the end of 2019 so no 4.14 for Loire AFAIK. There was that one guy who said he will continue personally work on it but never heard of him again.

Enviado desde mi Xperia X Compact mediante Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] nervousapp:
If SODP does not support it I'm not skill enought for this, I just follow Sjll's guide
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] &(*):
Would you be willing to try it out and post the results? Intially, I noticed that the project uses an unmodified OEM image which lead to experimenting with the latest Loire 10 binaries and a 10 gsi . . . boot was unsuccessful. After, I was poking around to see if I could find the hiccup and noticed there is a vendor partition which made me wonder why for 9 the vendor partition was being placed in cache. Is it possible that the lastest 10 binaries created a vendor partition thereby making this Treble ready, or was it (the partition) already there and the method for Treble is a specific boot order and partition size which requires placement of the vendor.img into cache for 10 GSI as well? Let us know.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] nervousapp:
As xc was not initially treble compatible there is no specific partition for treble vendor, so the workaround is to put them in cache partition. Some q gsi work but no mobile data ...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] &(*):
I understand the partition layout and reason for placing it somewhere else; what I am asking is: do the new 4.14 oem binaries create it by chance? When I was installing the partition for oem I noticed that there was a vendor partition selectable (as I initially wanted a 10 GSI and installed the 4.14 binaries instead of the 4.9), and thought maybe the latest 4.14 binaries created it? Can you take a look at the 4.14 binaries and see if that is the case? If not, can you provide an updated Treble GSI patch/workaround for 4.14 so that the most recent binaries and kernel are available for GSI 10 testing/use?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Stable Android 10 roms for Treble

Out of all the dozens and dozens of GSIs out there, I've found some Android 10 roms that do actually work on the XC. While not perfect, they do boot up successfully and some run surprisingly well.

AOSiP-Aonly-10-20200830-TrebleEx.img.gz

Arrow-Gapps-Aonly-10-20200823-TrebleEx.img-1532.7z

RROS-Q-8.5.9-Aonly-10-20200823-TrebleEx.img-1830.7z

DerpFest-Aonly-10-20200827-TrebleEx.img.gz

ParanoidAndroid-Aonly-10-20200820-ErfanGSI.img-1151.7z

I've been able to get all of these to boot to system - these are the steps to take:

Flash treble boot, vendor, userdata, TWRP recovery in fastboot as posted in the OP.

Flash system of your choice.

Reboot your device. After 5-10 minutes if nothing loads, you must hard reboot your device (Power button + Up, until it vibrates)

Allow the system to load for another few minutes and it should boot. If nothing after 5 minutes, hard reboot again and wait.

If you plan to root and flash Magisk from TWRP for any of these roms, you must also flash ZygoteFix v2 immediately after or system will not boot.

I recommend using either DerpFest or ArrowOS from this list.

Lastly, install these at your own risk - I have not fully tested them nor can I comment on behavior/functionality. Especially with SIM card detection and sound, I've noticed that these roms sometimes fail to detect but best to try it yourself.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Shane Gooseman:
possibly a treble-noob question but:

Is there any treble rom out there supporting double tap 2 wake?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] alf-endy:
At least I haven't found one...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Derpest rom for Android Pie is still the best treble rom for the XC I've come across because of the performance and amount of tweaks/customization built-in.

Doesn't have double tap to wake, but it does have double tap lockscreen to sleep, plus ambient notifications and hand wave to wake phone so maybe that's good alternative to double to wake?

Here are some screenshots. Currently trying to find a Derpfest version of Android 10 that detects SIM with no audio issues.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] alf-endy:
I use gapps, and there are several launchers that provide double tap to sleep :) The problem is the lack of DT2W.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Shane Gooseman:
arrow has dt2w option in display settings - but not working as soon as the display sleeps for let´s say more than 2 seconds...

(yes, dt2w works within these 2 seconds. i can dt2s, dt2w, dt2s, dt2w, etc)

edit: dawm, this was on arrow pie/android9...

arrow q/android 10 hast dt2w option in display settings too - but not working at all.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Right so as a workaround for DT2W, I'm saying that in Derpfest you can use Hand Wave instead. It's obviously not the same as tap but it does work as another way to wake the phone.

Also if you're rooted, there's an old Xposed module that enables Ambient Display in any rom. It works surprisingly well, and it might force enable DT2W for roms that already show the feature and nothing happens.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Shane Gooseman:
which oem binaries did you use? because there are oem binaries for android 9 pie and for android 10 q, too...

did you flash fixzygote v2 to make each rom boot?

at the moment i am doing a little bit of research, trying to find a suitable (treble) rom for my daughters´ "new" x compact...

so i had a bliss-android10-rom booting to system with oem binaries for android9, but not booting to system with oem binaries for android10 :eek:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
I think Android 10 binaries for 4.14 (dont remember if there are any version for 4.9) but all the ROMs are either 9 or 10 use kernel 4.9 hence you need to use binaries for 9.

Enviado desde mi Xperia X Compact mediante Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Hey, only the Android 9 binaries. A10 binaries will not work for any rom, if you flash the A10 binaries, it'll hang at the Sony screen. Also, there are only one or two old A10 Treble roms that work at the moment that include SIM card support. The others will boot but don't detect the sim card or volume in some cases.

You only need to flash fixzygote v2 if you are flashing A10 roms on Treble. You won't need it for Pie.

My preferred roms for this device are:

- AOSP Android 10 (non-Treble, use Pie binaries, fixzygote flash not required) - the only known issue is broken WiFi Hotspot

- Derpfest Android 9 (Treble) - no known issues

You could also try:

- Lineage 16.0 (Treble) (works well but was a bit sluggish on my device, camera also seems to be broken)

I run Derpfest9 as a daily driver and it's been fantastic. The amount of options/customization is best I've seen in a rom in a long time. Plus GCam with HDR/NightSight work well.

.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] nervousapp:
Do you have any freeze sometimes with Derpfest9 ? I use ArrowOS (treble) daily but have some freeze and reboot sometimes.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
It does freeze/reboot randomly but very rarely for me. Less so than other treble roms I used anyway.

I also learned the hard way that Xposed framework + GravityBox does not play nice with Derprfest, once I removed it, the stability improved.

Still regularly testing treble roms to see what works with the XC. Determined to find a stable A10 rom that we can use.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
This treble configuration uses 4.9 kernel and that random reboots are a known problem with it. Since kernel isnt changed the problem will persist independent of whichever system image you use. There is no known cure unfortunatly :)

Enviado desde mi Xperia X Compact mediante Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Yep you're right reboots are known for this kernel, but the system images are not all the same, so if one is more stable than another for this device, I would expect the frequency of random reboots to also be affected.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
There is a beta version of Lineage 17, and it works great, though I tried it without gapps, write to Chippa_a to release it for testing.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Shane Gooseman:
interesting...

so far i´ve only tried a10 roms and never flashed zygotefix v2. most didn´t boot to system but those which did, did it without having flashed fixzygote v2...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
It'll depend on the rom.. Not necessarily a requirement for all roms but for many of the roms I tried needed it.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] &(*):
4.14 binaries are Treble capable

Scratch all of this, apparently 4.14 binaries are a sham. Support to develop the kernel has been halted by SonyXperiaDev and members of the team are difficult to work with due to their time and patience being rather limited.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] &(*):
Do you have a link for the Gcam port you are referring to?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
PMGC_7.0.009_HDR_Version_V13.apk

https://www.celsoazevedo.com/files/android/google-camera/f/changelog866/

I've tried dozens of mods, different versions by different devs. This is the only mod I can find that processes HDR relatively quick and has a built-in gallery, plus uses HDR from GCam 7.2.

Couple things: If you enable Sabre, it will slightly add to HDR processing time. Also, there is often a delay when taking photos with NightSight or Enhanced HDR+.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Guerric:
I was stuck with blank screen during Google setup, failed to get any Webview working. This saved me.

Thanks a bunch!

Can't find a GSI that suits me though. ArrowOS is great, feature-packed, but poor stability and lots of lags and bugs.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] &(*):
[MENTION=7585884]nervousapp[/MENTION]

10 gsi roms are barely working with this, did you build this from 10_legacy?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
It was built with Pie, hence the use of Pie binaries. Most 10 GSI roms won't work. The ones that do have issues with SIM card detection and audio detection. Best to stick with Pie Treble roms.

This is super disappointing to hear thanks for the update. Had hopes this device would receive future support, but looks like it's time to move on.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] &(*):
[MENTION=7585884]nervousapp[/MENTION]

You mistook what I was asking. If you build the kernel from the 10_legacy branch it should work. The software binaries from 4.9/pie will boot a 10gsi rom, proof in practice is the XZs treble port for 10 (and 11 as well) roms which boot with the same pie binaries (tone 4.9). My bet is, if you compile the kernel from that branch (10_legacy) and do the same modifications it should work regardless of the android version the binaries are for (meaning the 4.9 binaries will work with the 4.9 kernel from 10_legacy). My only thought now left to wonder is did you modify both boot and vendor or did you just grab the dtb and patch boot and modify vendor only? Maybe you can just use the same vendor.img you already have and just modify/build the kernel from that branch if it was the kernel that required modifying. The 4.9 kernel supports 10 have a look here: https://github.com/sonyxperiadev/local_manifests/tree/android-10_legacy .
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] norabitox:
Hello

I flashed Arrow OS Pie,

There is a problem with the calling app

1. Service menu * # * # 4636 # * # * Do not display.

2. Enter the number and press the green handset

The screen does not disappear even during a call, and the handset remains green

The call cannot be terminated.

Do you know the solution

I'm sorry in strange English

Best regards
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] norabitox:
Reflashing without gapps solved it

I'm sorry
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] PlsHelpXDA:
Hello XDA,

I have the Xperia X Compact (F5321) I switched the phone to Lineage 18.1 / 17.1 (GSI) according to the instructions. Unfortunately the SIM card is not recognized and sometimes the phone does not boot, boot loop with error message. I'm back to the last stock rom.

Which roms (Android 10 / Android 11) go with which OEM.bin without errors?

Thank you very much for the information and sorry for the poor survival english :-)
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Hi - Treble support for Android 10/11 isn't very good for this device right now.

Instead, try vknecht's Android 10 AOSP build. I think it's the best option for the F5321 right now:

Downloads for : Sony Xperia X Compact | AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.

Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.

androidfilehost.com

Make sure you flash the latest loire software binaries from Sony to the oem partition.

The only known issues with this kernel are 1) wifi hotspot doesn't work 2) some stability issues that causes reboot. But other than that, everything works as expected.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] PlsHelpXDA:
@betacrypt

Thank you for your quick reply, I have installed knechts android 10 rom - works very well. But I also installed another launcher (Trebuchet from Lineage 10). I will continue testing it in the next few days. I would prefer a Lineage 17.1 / 18.1 - so let's see if there is anything else. Thanks!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
If you rooted your device, install Magisk Module Riru core (for Xposed Framework) + Gravitybox 10 - then you can do some more customization like what Lineage roms have.

Also recommend installing KTweak (root) from the Play Store, it stabilizes the kernel to improve performance/reduce random reboots.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] PlsHelpXDA:
thanks for information, I use same Apps from another Lineage 17.1 Phone (save the apk.... (email.apk, exactcalculator.apk and so on...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] markgenus.spiri2:
hi! just curious. does this work with so-02j docomo? mine's already bootloader unlocked and i installed lineage OS 17.1
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Anybody tried 12 yet? There are several options in op links...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] norabitox:
I have tried Lineage-19.0-20211216-UNOFFICIAL-treble_arm64_bvS-vndklite and PixelExperience_arm64-ab-vndklite-12.0-20211226-UNOFFICIAL.img.

But I couldn't boot in the boot loop.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] HelloWorldljx:
arrow12 and octivaOS12 boot success, see PHH GSI list, https://github.com/phhusson/treble_experimentations/wiki/Generic-System-Image-(GSI)-list and https://sourceforge.net/projects/gsi-projects/
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] HelloWorldljx:
and U need to use

Explosive Lobster AOSP11​
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Michael62:
hi.

sorry my bad English

phone used by my son, under Family Link (gapps) and GPS 24/7

can you advise GSI rom stable as stock and *more* energy efficient?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Any report? Stable, issues, good, bad, etc...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
I tried OctaviOS, and booted, and ran nicely, but unstable. Changing any display settings causes non-stop screen flashing on-and-off after reboot. Also, TWRP couldn't decrypt data... Maybe workarounds...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Testing Superior OS now, and seems the same... TWRP unable to decrypt, and System UI fritzes out after reboot if you change any settings...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] mister-13x:
Hi, I tried Lineage 19 in general, everything works, but before rebooting, then the screen starts blinking like yours, and there is no possibility of rebooting in TWRP. In my opinion, there will be no more normal firmware on our device, something does not work on all GSI, or it does not work correctly.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
I was able to get Superior OS working normally, (without blinking), by setting up Google account and lock screen pin first, then rebooting, and changing settings, etc. It seemed stable overall. However, TWRP cannot decrypt data, (even after clean flash with no encryption or password), and there is still the annoying "...failed verification and will not boot", that happens half the time. It does always evenyually boot, but kind of a pain.

I thought maybe OctaviOS 12 would work the same, (since it also had the blinking problem), but it wouldn't boot at all after setting up pin, etc, (boot loop).

Superior OS dev rold me on Telegram that it probably is an issue with vendor file, but don't know what anyone could do about that.

Explosive Lobster and Corvus are pretty stable on A11 gsi...

Personally, I've been hoping for a new Halium, but can't get anyone interested... I'll probably sell my XC soon...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] RedSTAR_:
Does this terble work for MikuUI or evolutionX which is based on android12 or even 13
[Touch Dual, MDA Touch Plus ROM Development] Maxxd01:
Hi,

I'm going to flash my Orange UK Nike but I have one question. Do I have to do anything before I flash with the .exe file from NetrunnerAT?

the file is

RUU_Nike_HTC_PTG_1.31.410.09_Radio_Nike_1.58.16.27_signed_Ship

Or is just run the file, wait, and enjoy? :)
[Touch Dual, MDA Touch Plus ROM Development] NetrunnerAT:
if your HTC is a PTG Device ... you only need to Start! If you are have buy it from a other country, you need HardSPL first!
[Touch Dual, MDA Touch Plus ROM Development] Maxxd01:
It's a UK device... So what should I do first?

1 - Unlock it

2 - Use Hard SPL

3 - Run .exe file?
[Touch Dual, MDA Touch Plus ROM Development] NetrunnerAT:
only need hardspl part and then flash your favorit os!
[Touch Dual, MDA Touch Plus ROM Development] Maxxd01:
ok, but in wich order do I do what? Do I unlock first, or install hardspl first? Or is not relevant?
[Touch Dual, MDA Touch Plus ROM Development] Maxxd01:
anyone can help me please?
[Touch Dual, MDA Touch Plus ROM Development] eyecrispy:
If you're just doing a ROM or Radio, you don't need to unlock. Just flash the hardspl and then flash the rom or radio.
[Touch Dual, MDA Touch Plus ROM Development] Maxxd01:
but I'm don't want just flash the device.I want to unlock it too.I just need to know if there is any problem if I unlock the device, and then install hardspl and flash rom...
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] zubn1:
Hi friends, I have tried searching the forums but I cannot find a similar situation to mine.

I have been trying to install Pixel Experience and basically ended up bricking my phone. It has been in fastboot mode for the last 4 hours. Any attempt to flash via. Miflash will end up in either an error message or stay on status 'flashing' but will not end (I waited almost 40 minutes with no change). I am currently using the flash_all.bat file method and have been stuck on 'erasing boot' as its final message for over 20 minutes.

Does anyone know what's happening?

Thanks,

zubn1
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] neerajverma04:
toolaio.tk/

Try to flash factory ROM with this. It should work.

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

Have you tried to format data after installing ROM as well?
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] flamedrops:
You should flash vbmeta.img of the last version you have installed to your phone.
[Samsung Galaxy A50s Guides, News, & Discussion] danydh:
hey

i assumed the process of rooting and getting magisk was the same for the a50 as it is for my old a3 2016. i didnt even research to make sure the process is the same.. so i downloaded the a50 version for twrp, used odin, pressed on AP and just selected on the recovery.tar.md5 and started it. everything went fine until i tried to restart the phone. it keeps coming back to the download mode screen with some errors in red.

what can i do to fix this?