yashsingh1/xdaforums huggingface dataset:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jd22:
Hello maluus,

are you sure that your build environment is set up correctly? It seems that at least the tool "lzip/lunzip" is missing:

[924/993] including vendor/opengapps/build/modules/Chrome/Android.mk ...

vendor/opengapps/build/core/find_apk.sh: línea 24: lzip --decompress: orden no encontrada

Warning: lz decompress command failed for vendor/opengapps/sources/arm64/app/com.android.chrome/24/nodpi/353806452.apk.lz

According to the Sony how-to (https://developer.sony.com/develop/...-instructions/build-aosp-nougat-8-1-oreo-4-4/), you need these software packages:

bison g++-multilib git gperf libxml2-utils make zlib1g-dev:i386 zip liblz4-tool libncurses5

LineageOS once required the following packages:

bc bison build-essential ccache curl flex g++-multilib gcc-multilib git gnupg gperf imagemagick lib32ncurses5-dev lib32readline-dev lib32z1-dev liblz4-tool libncurses5-dev libsdl1.2-dev libssl-dev libwxgtk3.0-dev libxml2 libxml2-utils lzop pngcrush rsync schedtool squashfs-tools xsltproc zip zlib1g-dev

I have installed all these packages and I am able to build ROMs with Davids repository setup as well as with the original Sony setup (see above link).

Ciao,

Jens
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jw96:
Try to build by myself but have problem with empty files :o

Here is the log

https://paste.linux.community/view/e311f77f

or

https://pastebin.com/PG73SVgQ

anyone can help me?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jd22:
I am currently back on stock-ROM since a few months because battery consumption is much better on stock.

I think that David hasn't worked much on his android-8.1 branch lately (he is concentrating on the bring-up of Android-9.0 for the Sony mobiles). Hence, it is possible that his ROM is not stable when you build it with the latest Android source code.

---------- Post added at 08:33 PM ---------- Previous post was at 08:21 PM ----------

No idea why your build is failing because it is not visible in the logs. It fails very early:

[ 0% 19/55078] //external/protobuf:libprotobuf-cpp-full link libprotobuf-cpp-full.so [linux x86]

FAILED: out/soong/.intermediates/external/protobuf/libprotobuf-cpp-full/linux_x86_shared/libprotobuf-cpp-full.so

I don't know whether it solves your problem but I suggest to use "userdebug" version of the build instead of "eng". It would be the number 46 after the lunch command:

46. aosp_f5321-userdebug
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] jw96:
I'm also try to install debian and build it again,

first time I build it on Manjaro, name of packages was so freakin' different than in sony's build tutorial .... had some issues, some fixed by my self but... meh

wish me good luck,

EDIT:

Same, nothing changed....

here is output:

https://pastebin.com/Fib7twL4
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Robin18721:
Which is the latest sony software present before I run this update? and where can i get it? I already unlocked my bootloader.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] icsperia:
The first Android 9.0 Pie build is out
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Charging problem persists. I had the same problem with my own built roms lately. I m not sure if its to do with V3 binaries or rom. I tried to flash over completely new stock 118. but the result is the same. Anyone else having the same problem? When you plug the cable it says charging for a sec. but then it stops and charging light goes off, battery icon shows flash symbol inside but battery stat shows as not charging.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] gingerboy92:
did you use a quick charger? charging doesn't work on mine too if i use a quick charge adapter. there's something to do with qc negotiation failing causing kernel to stop charging. i used a charging cable with no data lines(on a qc adapter), and it's charging fine because qc negotiation can't happen without data lines.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] harryharryharry:
I had the same issue and helped to debug for Oshmoun. A commit that should solve the issue was recently merged:

https://github.com/sonyxperiadev/kernel/pull/1849
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
Tonight, I built again after syncing the sources but it still doesn't charge. I had saved a log but lost it. I'll post of I can find it.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
I have been using 12/21 build of P for a couple of days, and pretty good overall. One thing to be aware of is that I booted to built-in recovery just to check it out and could not boot back to system without wiping data. Whether I tried to use restart option in recovery menu or use buttons or shut down,etc., it would always boot back to recovery with some error message....
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
[MENTION=4764217]davidteri91[/MENTION]

upon further testing:

- I flashed TWRP 3.2.2, (the only version I happened to have a copy of on my computer), via fastboot, and booted to twrp fine, then used twrp flash function to upgrade to 3.2.3, (which I had on my sd card), then I could not boot to TWRP anymore, but only to stock recovery. Flashed 3.2.3 via fastboot, and still could only get stock recovery. Flashed again 3.2.2, and booted to TWRP. I guess 3.2.3 won't work with P at the moment...(?)

- Flashed Magisk in TWRP, and flashed fine, but then the phone wouldn't boot. Perpetual 'G' boot animation. After 10 or 15 minutes, went back to recovery, and wiped data. Same result. Went back into recovery, and restored my 8.0 backup, and wouldn't boot. Wiped/formatted data, restored a different backup, etc... Still the same - no boot. I guess there's some partition that gets flashed in P that won't boot in O, but not sure what it is. I suspected apps_log, since I remember that issue with N, going back and forth between stock and AOSP, but not really anything to do about it, unless you have a dump of apps_log from previous rom that you can flash back when you need to...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
[MENTION=4764217]davidteri91[/MENTION] - any more P builds coming? Just wondering, so I don't spend too much time messing with the last one and then see an update all of a sudden...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
Please follow my twitter account to be updated about builds ... I am not frequently using XDA for now ... And today February P builds were released ... Cheers

Inviato dal mio Xperia XZ1 (AOSP) utilizzando Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
Tested new TWRP with new AOSP build,and working well - data and system mount, and phone boots and reboots. Problem now is figuring out how to stop it from overwriting recovery. I already deleted /system/bin/install-recovery.sh, which worked before, but it was still overwritten on reboot...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
So, it worked after flashing again, (I guess you have to flash TWRP after removing install-recovery.sh and rebooting), it doesn't get overwritten anymore. But, Magisk not working with latest AOSP, (bootloop)...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yayaDen:
Is there a promotion in terms of bluetooth?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] yayaDen:
Hello everyone, I found how to fix Bluetooth. [youtube]iRdyfZInyFg[/youtube]
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] bellissimo.io:
Magisk is working for me on last build
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] levone1:
interesting ... I wonder what I'm missing. Did you use TWRP 3.2.3-2? All I did was flash rom, flash recovery, boot to recovery and flash Magisk, and I got bootloop. I tried also wiping data, cache...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] bellissimo.io:
Yeah, I used the lastest one from twrp.me. I flashed only boot, userdata, system image and rebooted. Then first boot took a while, and once started up on configuration I rebooted to bootloader. Only now I flashed the custom recovery and booted into to flash magisk. I think the trick is to let boot once with the unpatched boot image
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] :
Everytime I boot it shows there's an internal problem with my device, any help?:crying:
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] RDouma:
I get the same message when booting, right before the SIM card security code. It's not a big deal, just annoying. The following IS a big deal:

I had set the lock screen security to a pin code and fingerprint. I tried switching to only swipe pattern. Somehow this change could not be saved. Everytime I went back into settings it was back to pincode and fingerprint. Therefore I tried to set the security first to swipe only and then to a swipe pattern, but now the settings app crashes every time I trying to make a change: I go to security & location, I press screenlock, a message appears that the app has crashed.

When I press fingerprint in security & location it shows the fingerprint settings for half a second and then goes back to the main menu of security & location.

I tried wiping the cache and rebooting, but this didn't help. At this moment I cannot secure my phone and I could use some help.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] freemind0001:
Does Pie support real two sided call recording?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] XG_Zepto:
Is VoLTE working?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] JuniorCaesar:
i clean installed the rom (stock .118 -> aosp 9) and audio loss bug didn't happen. i can't say anything about random reboot because i am not a heavy user. i haven't faced it tho.

camera is worse than stock rom with drm. pictures look like a watercolor painting. but it works.

and yes, 4.14 kernel and Android 10 is WIP. don't hold your breath though as it needs a lot of time to be stable enough for daily usage.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Sony AOSP Pie is already supported? Download here: https://androidfilehost.com/?fid=1899786940962592899

For me, no audio loss issues at all. Camera works great, much better than stock imo, but you have to install the right GCam mod. If you use the stock camera app or any camera app from the play store, it won't be that good. The GCam mods are slightly unstable, but they support HDR+, HDR+enhanced, Night Sight, and other Google Camera app features.

Currently I have two X Compacts, one running AOSP Pie, the other running Omni Pie, comparing both for performance, stability, and battery.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Unfortunately I'm experiencing severe battery drain after a clean install of the latest AOSP Pie build, running the latest sw binaries. Overnight, the phone on idle and airplane mode, it went from 100% full charge to 45% in just 8 hours.

I wiped again today and performed another clean install, no other apps installed, just booted once. At full charge on idle, airplane mode, I've lost 10% in just an hour.

If anyone has any idea of what the underlying issue could be, I'm all ears :)

Update: I managed to fix this by wiping everything in Flashtool (all partitions, and everything in advanced options), performing a clean install of stock 8.0 then flashing AOSP 9. Did the trick.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] maluus:
There is a problem with part services. I experience the same and I can say this appeared lately due to an update of past services and still persists. And it's also a common issue which affect not only xc but all the devices. You can check the cause on battery section in settings app just to be sure but it's probably part services.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Schranzen:
I can not enter TWRP (clean installation on 118)

"Blue Android, no commands"
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] JuniorCaesar:
try fastboot boot twrp.img
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Schranzen:
Which version is needed? I put 3.2.2 or 3.3.X and the data is encrypted...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
I use twrp-3.2.2-20180704-kugo-signed.zip and it works great.

If the data is encrypted, it means you didn't wipe/format the partition correctly before flashing, that or it was corrupted when you flashed.

If you can get TWRP to work, try repairing the data parition, rebooting into TWRP and see it makes a difference.

For issues like this though I recommend wiping everything with Flashtool and starting over from scratch if possible.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Schranzen:
It seems 3.2.2 signed works (for now) ..

Immensely grateful ^ _ ^
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Schranzen:
Oh no, yet the system itself overwrites the TWRP after formatting the data.

If you flash recovery manually after loading the TWRP system, the data is encrypted ..

An important note, TWRP is reset after the "first device setup" directly in the shell of the system, where I do the wi-fi network setup and backup from another android device.

After that, I try to go into recovery using the system’s tools, where the message “no command” meets me and re-flashing the TWRP shows an encrypted storage.

After some time, I found out that the recovery flies after each boot into the system shell and can be restored via fastboot provided that no protection is involved in the system itself, otherwise TWRP asks for a PIN code (if a graphic code is installed in the system) or a graphic key (if a pin code is installed in the system) what prevents the use of TWRP ..

Having disabled the device password, I can use TWRP, but I have to flash TWRP every time I turn off the smartphone.

TWRP flashing through fastboot flash recovery

I also tried the fastboot flash FOTAKernel, there is no difference.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Hm, I have TWRP 3.2.2 permanently installed to the recovery partition and do not need to flash it every time. I just fully wiped my phone with Flashtool, then ran the fastboot commands from the OP:

fastboot flash oem xxxxx.img

fastboot flash boot boot.img

fastboot flash recovery recovery.img

fastboot flash system system.img

fastboot flash userdata userdata.img

then added:

fastboot flash recovery twrp-3.2.2-20180704-kugo-signed.zip

And that's all I had to do for TWRP to work and remain installed on the recovery partition. But I think you're right, if you don't flash TWRP first, then run the first-time setup and set a pin/password, it may prompt you to decrypt data when you try to flash TWRP afterwards.

Pretty sure that if you don't flash TWRP before loading the device, you can still run the device setup - just don't set a PIN/password. Complete the wizard, then reboot into fastbootmode, and flash TWRP. That should also work fine.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Schranzen:
True, I can flash TWRP in the same way after setting up the device, but each time I reboot the TWRP is erased / overwritten by something else (there is no command).

On the account of the pin code, does it really matter that before I start rebooting into the recovery I first need to delete the pin code? Otherwise, the data is encrypted ..

What kind of oem are you using? I can assume that the matter is different from the target version oem ..
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
I'm running AOSP Pie (kugo-img-9-PQ3A.190801.002-20190924.zip) with the OEM SW_binaries_for_Xperia_Android_9.0_2.3.2_v9_loire.img. TWRP 3.2.2 installed permanently on the recovery partition. I have a pin setup + fingerprint, and never need to decrypt when I boot into TWRP

Not sure exactly why your recovery partition is getting wiped, very odd. I had some strange issues flashing stock or various roms for this device (battery drain, gapps issues, random reboots, general performance lag). Some partitions tend to get corrupted so wiping everything with Flashtool was the only thing that worked for me.

As for the PIN code issue and decryption with TWRP, I ran into this issue once and only fix was what I mentioned above, wipe everything with Flashtool and start over fresh - when I say wipe everything I mean in Flashtool select everything under Wipe -> Sin and Misc TA.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Schranzen:
Dude, please be more kind about the wipe, especially the "TA". I'm afraid to stay with a brick.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
I'm just saying that's what worked for me. I've done it many times. If you're concerned about bricking your device and want to avoid it then don't wipe TA.

This should work to install TWRP permanently on recovery partition:

fastboot erase recovery

fastboot flash recovery twrp.zip
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Radnanum:
Hi, i want to unlock my bootloader.

But when i check *#*#7378423#*#* my Bootloader unlock allowed says NO. (Reference from Sony)

So, can i unlock my bootloader to use custom rom?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] betacrypt:
Download the Xperia Flashtool and unlock your device bootloader from there.

http://www.flashtool.net/index.php
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] chemicalbuz:
Hi to everybody, i'm looking for a rom/kernel supporting OTG ethernet adapters and/or mirrorlink, i'm currently on last stock firmware, rooted and unlocked. Does this rom support these features? Or do you know any other rom/kernel supporting them? I've found this .zip for mirrorlink, but it needs a compatible kernel https://xdaforums.com/crossdevice-dev/sony-themes-apps/test-mirrorlink-t3678192

Any advice?

Thanks
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Zero_Sherd:
Help

My X compact (F5321) had flash the sony aosp 8.1 that post on the xda, but everytime i boot up my phone it will warning me that: "there's an internal problem with your device. contact your manufacturer for details". How could i fix it?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] andjs:
Just testing out the new build. Camera no longer crashes, but when using the stock camera app, the front facing camera is upside down. This also means apps like Hangouts show me the wrong way up when doing video chats.

On the plus side open camera now works (it didn't load at all in the last build) and both the front and rear camera are the right way up for open camera.

Either way keep up the good work David and thanks again for developing for Kugo!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] waterpolo:
Is DRM-patch or DRM-fix included in AOSP?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
See around but not here ... Will never include

Inviato dal mio Xperia X Compact utilizzando Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] toeterbaas:
where can i get new version?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] stanos4:
hi, do you please have experience with enabling double tap to unlock? If so, and you need/want help with that, I'd be happy to contribute to get it working. The only relevant resource I was able to find was this (this is my first post here, so i cannot add links to external sites - remove spaces): "gerrit.aokp.co /#/c/15980" . I'll try to look through the source if I can find something, but I do not expect great results...
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Markyiptw:
Would you mind posting some photo samples?

我從使用 Tapatalk 的 Nexus 5X 發送
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] gimli4711:
Is GPS working ?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] toeterbaas:
Camera is great.Only with flash the pics are darker to yellow !
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Turnilemikus:
GPS works
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] NL_henk:
I've downloaded the latest Kugo-image and tried to flash the image files.

No problem to flash boot.img and recovery.img. But when I want to flash system.img I get this error " error: cannot load 'system.img' " What am I doing wrong?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
I hope you have had latest stock firmware installed previously ....

Inviato dal mio Xperia X Compact (AOSP) utilizzando Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] NL_henk:
I had installed 34.2.A.0.266_R2C
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Micka84:
Could anyone who installed the latest version (20170224) post a changelog please?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] toeterbaas:
Camera in dark areas fixed flash? Not yellow anymore?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] destinygs:
hi you said that your SD card work right? May I know what is the format of your sd card? Because mine cannot be detected.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] toeterbaas:
David Alexander‏@Davidteri 19 u19 uur geleden

Meer

#XperiaFollowers ... End of history ... Sadly to say this but due to server problems ... I can't build more releases for you .

Thanks for all the work you done , i go back to stock with genesis then.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] andjs:
32GB SDHC
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Micka84:
New build available, as usual without a changelog.

https://www.androidfilehost.com/?w=files&flid=159533
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] davidteri91:
Don't expect a changelog .... All changelog can be see from aosp and sonyxperiadev git

Inviato dal mio Xperia X Compact (AOSP) utilizzando Tapatalk
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] waterpolo:
Is the camera 100% working. On the first post the comment is (WIP).
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] andjs:
The camera definitely works, although the stock camera's preview is upside down for the front facing camera, however picture taken is the right way up.

The frustrating thing is when using an app such as Open Camera, the picture looks perfectly good in the preview, but then the actual picture taken appears to lose quality and lighting. Obviously the camera is capable of taking a good picture, because I can see the quality on the screen before taking the shot.

On the plus side the latest build now has the pulse notification light working. The changelog shown in the ROM is extensive with lots of changes, but can't copy and paste from that screen unfortunately.

Eitherway I'm just happy there's a new build. Thanks David!
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] InforLuso:
I install now the ROM. The sound call is very low. Any solution? Thanks.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Micka84:
Anybody already flashed the new ROM (20170319) and can share some impressions? Are SD cards bigger then 32 GB being detected and do work now?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Turnilemikus:
I'm currently running the version prior the version you stated. I have no problems w/ an external SD card. It reads 238 GBs.
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] Micka84:
Thanks for your reply. Are you experiencing anything that's not working or can you recommend this ROM as a daily driver?
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] patrol-cz:
Hi!

Will VoLTE/VoWiFi work on this ROM if it's flashed from the stock ROM where these were working (I mean that the proper customized baseband/modem firmware was used) ?

With regards,

Pavel
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] switcher:
incall volume is low , switching to loudspeaker makes no difference

beside that AOSP is working great, using as daily driver and with open cam instead of stock camera

question: how can i use twrp with this rom
[Sony Xperia X Compact ROMs, Kernels, Recoveries, &] InforLuso:
Any solution to incall volume very low? is impossible to listen people.