yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] YamiYukiSenpai:
Any plans to make this ROM official (being part of the list of ROMs in LineageOS's official site.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mstrnemo:
Thank you for this I would have otherwise never found out about it. I have been checking your source forge page everyday hoping for a update hahaha

So you did not make this does this mean this is an official lineage os build?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
I don't get it, this is unofficial or official build?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
Sorry for causing confusion about official/unofficial status. I will try to clarify:

This device is not officially supported by LOS;

LOS and los4microg are completely separate projects, LOS does not support or approve of the los4microg project, and considers that implementing Signature Spoofing (which is necessary for microG to work) is 'lying about security features';

The unofficial ROM for this device (and the ROM for XZ1 poplar, which uses much of the same source code) are very stable and of very good quality, thanks to the great efforts of the contributors and testers listed in the first post. The maintainers of the IodéOS project seem to agree, and have made poplar one of their `official` devices, the only one that isn't officially supported by LOS. (Sadly, the same is not true for this device, which is why the IodéOS builds for this remain 'unofficial';

The current maintainer of the los4microg project, uses this device as their daily driver. They control which devices are built in the los4microg monthly build runs, and they (selfishly) decided to add both lilac and poplar to their list of target devices;

los4microg doesn't have the concept of 'official' or 'unofficial' devices/builds: they either make builds for a device or they don't. They use the text 'UNOFFICIAL' in their ROM names, to clarify that these devices are not supported by LOS.

I hope that clears things up a bit, and sorry again for the confusion,
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] enonaw:
Great ! I've been waiting for it for a long time; I'm going to test it as soon as possible. LOS + microG + OTA is a tempting combination, all the more so on one of the best smartphones ever produced.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mstrnemo:
This links tot your profile but talk in the third person ?

Edit: ooooh you are the lead developer hahahaha *slaps head*

Thank you for this
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
Nice! You should make a separate thread imo for the project.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
Lulz you're actually the maintainer of the project! Wow. That's real cool of you to add this devices, thanks!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
No need IMHO. Device-related questions or issues can be discussed here. Questions or issues to do with microG can be discussed in the LIneageOS for microG thread
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
I've switched to Los + microg now 😁. By the way derfelot is working on Lineage 21.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mstrnemo:
@petefoth i am having slight battery drain after flashing your new version ?

Had this in past as wel but build 12.15 and 12.31 that was fixed for me.

Also couple times a day my mobile service stops working?

I can't use the internet and call at the same time.

Anyone else have the same issues?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
I haven't noticed the problem, but I don't run los4microg on my 'daily driver' device (I run my unofficial IodéOS build.

In the thread for Flamefire's 17.1, 18.1 & 19. builds someone has reported a similar issue with the most recent 17.1 & 18.1 builds. So it looks like the problem maybe somewhere upstream. Sorry I can;t be more help.

When it comes to mobile data, someone asked a similar question (in a PM in the IodeOS forums). to which I replied

I hope that is some use
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mstrnemo:
Just want to add one more thing today I used navigation and gps was a mess poor connection it seems it work eventually but every once and a while it would lose it.

Also 10 minutes of navigation drained my battery by over 30 percent and worse temperature reached 43 degrees could barely touch it.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
That sounds like you may have hardware problems
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mstrnemo:
But your 231223 build did not have this problem on my device?

I also have this weird thing on the build in qr code scanner it worked just fine 2 days ago but since today it is stuck says updating and I can't press it not a big problem just thought I should mention it.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
@petefoth hey! Now that Los21 is out for our device, any plans to update Los4microg? Also Los seems to have added native Sig spoofing. What are your thoughts on that?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
I could make a 21.0 los4microg build for this and other Yoshino-based devces (XZ1 poplar, XZ Premium maple) in the March build run. But I'm tempted to wait a further month to see what problems if any crop up in 21.0 builds, for other devices. We've waited a while for 21.0 . It won't hurt to wait a bit longe. And I've got quite a lot to do in respect of ...

They have added support for sig spoofing, but they are not shipping any builds with microG, FakeStore andF-Droid built in, so los4microg isn't going away :)

Check the following links for more information:

this post in the LineageOD for microG thread

this github issue, in particular this post and this post

I also have a life that does not involve computers and mobile phone OSs, so all of this phone stuff takes time ;)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
Yeah of course, I'm just excited 😁. Thanks.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mstrnemo:
What where can I find the los 21 for our device?

They added native sig spoofing ??

What is going on here?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mulcahey:
I think he's talking about this: https://sourceforge.net/projects/yoshino/files/lilac/

@petefoth touched on it here, but his version of Lineage MicroG (which is NOT the LOS 21 linked above) has native sig spoofing. More on that here.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] norabitox:
It's confusing, so I think it's a good idea.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] compactifier:
Update: It's really just a redirection to the normal Download folder, in both cases. But the first type simply doesn't work under LOS20. I've tested this against a stock Android 9, exactly the same links there and working. Alas, I don't have a stock Android 13 device to check if it's an issue with 13 or LOS. Any feedback, for example if making a PDF from a webpage in Firefox and direcly viewing it by the 'view' button works under stock Android 13, appreciated.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] enonaw:
Not a LOS20 problem at all. Same issue on Honor Magic 5 smartphone with locked bootloader and stock A13.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] compactifier:
Many thanks for checking. I'm trying to get this resolved in the Mozilla forum now.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] enonaw:
You're welcome 😉
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rainer.zugang:
Hi,

I have the same issue. In generell GPS is working. But after some time it is loosing function
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] compactifier:
Hi,

I just tried out mobile data and ran into the same problem several people reported already:

mobile and wifi disconnected every 10 seconds or so, and no mobile data flowing at all. Latest LOS20, v.1.5.

Extensively tried out each and every hint given so far, no success.

There was a post that updating baseband might help. But I tried to dirty install LOS20 over stock before and this didn't work.

Edit: Additional remark: I first used TWRP 3.7 for the installation, instead of the 3.6 recommended. Now tried again with the 3.6, from this thread, clean install, also Wirkung SIM card inserted, the phone said it downloaded provider infos, but still the same problem. Renders that OS version entirely useless for me.

Same problem with LOS 19. LOS 18, however, works well.

Any suggestions?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] compactifier:
Works fine here (European ZX1 compact, LOS 20v.1.5 clean installed):

20 min navigation with MapFactor: 5% battery drain.

20 min nav+dashcam (AutoGuard, 1280x720p, 6Mbps): 12% battery drain.

No GPS issues at all.

Some hints:

A charger cable connected causes more heat. I had none on with my tests.

Check if hardware or software map rendering works better, wrong setting may cause excessive power consumption.

Have a phone card inserted (mobile data not necessary). I never got GPS even to initialize properly without one.

I also sometimes needed to do push down the lower left corner of the phone while holding it in the hand (corner, not display). Doing this several times on an otherwise stubborn device I suddenly got satellite signals. Had this on almost any of the devices I tried. May be a contact issue with the GPS antenna. Once OK it usually stays

so for a long time.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Pfrinz:
@ GPS issues: mine was ver slow to get a position unti l I installed Local NLP Backedn from f-droid and also I changed the permission of Mozilla Location Service to "always allowed" to hav access to location, not only when the app is in use. Dont know what exactely it was, but now I have a super quick location fix!

Maybe you wanna try that if you havent already...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] uzalu:
I tried to enable a swapfile, and the system crashed.

a swapfile really seemed to help on the last LineageOS version I had installed on this phone, but I can't use one now. Apps often have to start from fresh even when I only had them open a few seconds ago, and the problem gets worse the longer the phone is running.

I found how to disable the default zram (/vendor/etc/fstab.lilac), I'm going to see if it's better without, but it probably won't be. Any other advice for this? What swappiness value is best?

I've tried several methods to enable swap, they all cause the system to freeze for a few seconds, and then it restarts, except EX Kernel Manager, which just tells me "operation failed".

Thanks in advance
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Pfrinz:
Got an update to LOS 4microg 21, thanks @petefoth !

Now I have an issue with fdroid, it says its not connected to the internet though the phone is... Stopping the app and clearing the cache doesnt help.

Anybody else has the same experience?

EDIT: I sorted it out (easily in the end), the App just didnt have the permission to use data and I didnt see it first...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Pfrinz:
Bur I have another issue now, maybe I can resolve it easily as well when I post about here :giggle::

On my music app (Retro Player) and Deezer streaming app the music stops after every song. And I cannot find a setting to change this!

whats weird is that this has never been an issue before and also that its not only on one app, so it might have to do something with the OS.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] brodo:
Is there a way to properly backup and restore this ROM along with the recommended TWRP version?

I did backups of Boot, System and Data. When I first tried restoring TWRP said I should disable the pattern (or PIN or whatever is set up). After doing so in the OS and starting the restore process there was something in the log:

Android Rescue Party trigger! Possible solutions?
Either:
1. Wipe caches, and/or
2. Format data, and/or
3. Clean-flash your ROM.

The reported problem is:
'--reason=set_policy_failed:/data/vendor'

Of course, non of the suggested solutions did work at that point. I even formatted data, knowing that I'll lose all my internal storage.

Restoring finishes but after that I can't boot to OS, only to recovery. Does this mean my backup is useless?

I was still testing some stuff with this ROM, so there is not much harm done. But it concerns me that it might be impossible to properly backup and restore the system.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] norabitox:
At the moment, it seems that data recovery via twrp is not possible.

That's very unfortunate.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] strianugraha:
Storage, free storage available? After clean flash would be good.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rrreutel:
Sorry, can't help you, don't have a clean flahed device to show free storage available. Not sure what you're looking for though, LOS ROM size for lilac has increased slightly from about 740MB (17.1) upto about 810MB (20.0) but other than that I'd not expect much difference as far as free storage goes.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] LoisSherman13:
Anyone using Magisk able to pass safetynet and cts profile? I haven’t been able to to get it yet. But it’s likely my incompetence since I haven’t done this in a couple years.

Edit: it was my incompetence. Got both passed now. 😆
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] norabitox:
https://xdaforums.com/t/magisk-module-universal-safetynet-fix-2-3-1.4217823/page-91#post-87198517
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] LoisSherman13:
Yeah that is what I was missing. Finally figured it out. Thank you!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dfis:
Android Auto?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] aleqgc88:
Hi dude.

is there any way that can make sd card as internal storage? been tried lot of ways but still not working.. sadly nowadays 32gb is not enough and I want to make this phone as daily driver. thanks
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
Making unofficial and custom builds of LineageOS for microG based on this ROM is (very high) on my ToDo list.

No promises on ETA though :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] BigBrother84:
I was playing with that. (I assume you know how to enable signature spoofing using *xposed module called FakeGApps?.

If no, summarized:

1. Install magisk

2. Enable zygisk

3. install some *xposed custom framweork e.g. I use lsposed zygisk version.

4. Install fakegapps module and enable it for micorg in lsposed settings

FakeGApps android 13 issue:

In this issue there's pull request on active FakeGApps about android13 support that is not yet merged, but there's fork with built apk

So if you really need it asap, you may use that apk.

I do, microg passes, yay!

Please be aware, that this fork has different signature, so if official FakeGApps android 13 support will be merged in some time, you need to uninstall fork and install official one to get later updates.

OP:

I'd really enjoy Lineage4MicroG for lilac too or just signature spoofing enabled in ROM ;)

Thanks for your work.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
I'm trying to make the Lineage 4 microg builds based on thos ROM, but I'm hitting this build error

FAILED: ninja: 'user-keys/sdk_sandbox.x509.pem', needed by 'out/soong/.intermediates/packages/modules/AdServices/sdksandbox/SdkSandbox/SdkSandbox/android_common_apex33/SdkSandbox.apk', missing and no known rule to make it

I'm not using Docker, but I'm using the same method I used to successfully build LOS 18 & 19 ROMs.

I've searched quite hard on the web, but no inspiration. Any ideas here? Thanks
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
Dunno about these things a lot, but seems like x509certificate is missing. I found this:

https://developer.android.com/reference/java/security/cert/X509Certificate

Seems to be needed by AdServices.

AdServices | Android Open Source Project

source.android.com

The AdServices module, introduced in Android 13, supports the Privacy Sandbox initiative that aims to create technologies that both protect people's privacy online and give companies and developers tools to build thriving digital businesses.

So this is why you were able to build 11 & 12, but not 13.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
Thanks. That explains why I'm seeing the error now, bit not in pre-13 builds.

I still don't know how to fix it in my build. I wpuld assume that it should be somewhere in the LineageOS source trees. Whoever built this ROM must have picked it up in their build, but I don;t know how to add it to mine.

Anyway, I've suspended the cloud instance now, cos it's too expensive to leave it running overnight :). I'll come back to it when I have an idea how to fix this error.

Thanks again, and good night!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
M

Maybe you could ask @derfelot for a tip? I think he's the one doing the building.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
I have a solution to this (from the author of the tool / project I use for my builds). I will try it out when the cloud instance I am using wakes up (which will be about lunchtime (UK time) :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
So that problem is solved, but my builds are failing, I think because of problems with the signature spoofing patches from lineageos4microg. That may be because they are not yet fully working with Android 13.

....

later.

Building without the signature spoofing patches works fine, but it is not possible to start microG because, without the patches, it cannot pretend to be Google play service :)

It's not yet possible to make a build Lineage for microG for Android 20 that works

https://github.com/lineageos4microg/docker-lineage-cicd/issues/335#issuecomment-1275363668

I think I'd better go and shut down the very powerful and fast (and expensive) cloud VMs that are still trying to build.

I will monitor the lineageos4microg issues, and have another try at making the builds when it has a chance pf succeeding. Sorry to have got your hopes up
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] 4qx:
Do you happen to know if it's possible to install it anyway, as described here?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
Sorry, I have no idea.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rrreutel:
What kind of VM's are you using? I've tried an AWS EC2 m4.4xlarge instance (16 vCPU, 64GB) which I assumed would be quick enough. But I was disappointed with speed, I felt (not measured) it was comparable to building on my 5 year old 4-core i5 laptop with 16GB (about 8 hours with cold ccache, about 2 hours with hot ccache 3:43 with hot ccache).
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
I guess it's too early at this point 😁
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
For the most recent builds, 24 vCPUs 96GB Memory 480GB Storage, running Ubuntu 18:04 with Docker pre-installed which felt really fast. 2-3hrs for a complete build starting with an empty source tree, an hour or so with a full source tree. Cost for a complete build from scratch ~$5

Previously I tried 32 vCPUs, 128GB Memory, 640GB storage. I don't think it was any faster, but I didn't make exact measurements.

Both configurations feel blindingly fast, epecially compared to my 12 year-old MacBook Pro with 16GB of memory (about 20 hours for a clean build including sync over ADSL :) )
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rrreutel:
Thanks, that's definitely much faster than what I'm seeing. Would be even faster for you with ccache, it might be worth to trade storage costs for a ccache volume (only about 18GB for LOS20) for reduced instance cost due to shorter running time if you're planning many runs. I'm going to check if IO (iops) might be a bottleneck on my setup.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] GAZ082:
Hey guys. After almost 5 years with the phone stock I'm willing to root it and install LOS. What's the deal with the camera? Is it just the app or the propietary libs not working, thus giving crappy pics? That would be a deal breaker for me. Thanks!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] gladykov:
Libs for slow mo will not work. You should be able to do normal pics. Quality depends on DRM keys, which protect some Sony algorithms. I believe there is a way to keep them, but I never cared. Try Open Camera app with DRO setting if you like this look and feel.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] multiwirth:
Install Magisk, enable zygisk and add PayPal to the denial list.

Maybe you also need to set a valid build fingerprint with the help of "MagiskHidePropsConfig" Magisk Module.

Should work then.

It fixed it for me on 19.1 at least and across different devices, should be the same for 20.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Brickt0p:
@multiwirth Thanks a lot for your suggestions!

I just installed magisk, enabled zygisk, added PayPal to the deny list, this alone didn't solved it.

So I then installed "MagiskHidePropsConfig" Module, but PP still doesn't work yet.

I assume I now need to figure out how to set a valid fingerprint via termux.

hope I find some time this evening to figure this out.

best regards!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] rez78:
Do you have tried to "hide magisk app"?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] android666:
Here is another solution (from xMarvin732 related to LSposed Zygisk, Shamiko zygisk), works with smart banking apps to me:

Fix: root magisk detected bank banking app

Hello together, if you start e.g. your banking app and you run into problems like "cant start, your devices may be rooted" Be sure the device is certified and safetynet is ok -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Here is the solution if you have installed magisk v23 or smaller...

xiaomi.eu
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Brickt0p:
yes, I tried this, but unfortunately this didn't solve the issue with Paypal app not starting
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Brickt0p:
will give this a try when I have some more time
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dfis:
Can 17.1 be upgraded with dirty flash to 20.0?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
Probably not. See my response in the other thread

My normal upgrade process

1. TWRP backup data

2. format data partition

3. install new version

4. boot, and go through first time setup

5. restore the TWRP backup

But I have never jumped more than one version at a time. My process might work :)

Seriously, you could try it. If restoring 17 backup doesn't work on 20, then repeat step 2, and install 18 at step 3, then restore the 17 backup at step 5. Good luck! :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Brickt0p:
@multiwirth I just tried out your tip with setting a new device fingerprint via termux and this was finaly the solution, after reboot I was now able to open PayPal App without force closing again.

So Big Thanks again for your help on this :)