yashsingh1/xdaforums huggingface dataset:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] tonsofquestions:
Perhaps I just missed a step somewhere. But it's the fallback I have.

I usually try wiping data and flashing the other rom, but sometimes that results in a boot loop/return to recovery, and in that case I re-flash stock which then lets me boot after re-flashing the custom ROM.

Each of the installers say they're "patching" /system and /vendor, so I figured there was a possibility that they might be making conflicting changes to similar files causing problems.

But I'm happy to learn otherwise - either that I'm wrong or that I need to do some additional thing along the way.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] systemdev:
Is it possible to upgrade directly from LOS 17.1? Specifically, modpunk's last build from 2020 (20201217.154645)

Thanks!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] No1Alien:
First question. Does the wifi calling/ volte working on Sony stock for you? And which carrier are you using?

Second question, you can find the answer in #1.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] No1Alien:
We didn't try that, and probably won't work. That build was signed with different dev-keys.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] systemdev:
Thanks. Modpunk posted an LOS 18 build before finishing his XZ1C work, but didn't update TWRP - so I wasn't sure where to go from there. My (basic) understanding is TWRP must be updated with a major Android release, but I'm not sure if his last TWRP build would work to go from his LOS 17 to 18. Does TWRP depend on the currently installed version OR the new version being installed?

I see a new (official?) version of TWRP has been posted, so maybe that helps?

Overall, I'd like to figure out an upgrade path so I can "catch up".

I've been out of the loop (on an iOS app development project) for a while, but I want to continue learning Android/LOS with the hope of contributing developer efforts.

Also, Any suggestions for an iOS/Mac developer (with C/C++ experience) to "quick start" on LOS would be greatly appreciated!

Regards!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Brickt0p:
I'm unsure if using an older version from APKMIRROR is safe for such an app as Paypal :/

But thank you for your suggestion!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Brickt0p:
thanks for your suggestion, unfortunately this didn't helped me to get it working.

In Google play Store there are currently a lot of negative comments stating PayPal App crashes.

I hope for the next update of the app to solve this issue.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] PhobiaSoft:
Like other users have reported, Mobile Data on T-Mobile is not working, and has not been working since LOS 19.1 v1.3. On LOS 19.1 v1.4, v1.5, v1.6, or this ROM, Mobile Data will rapidly change between "Not Connected" and "LTE" but in both cases, no data will actually be sent or received when you try and load something, usually reporting the generic "ERR_DISCONNECTED". Went to check APN settings and was greeted with the Settings app crashing:
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] PhobiaSoft:
Tried following these steps and nothing changed for me unfortunately. Still no service.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] 4qx:
Haven't tested myself but those who want to attempt to make MicroG and safetynet work could try the following: https://redd.it/vm825t

There's a port of native Xperia cam app as a Magisk module, try that: https://gitlab.com/xperiance/camera/-/releases
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dfis:
Thanks for the native Xperia cam app!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dfis:
There's a way to uninstall SeedVault? Keeps throwing errors...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] norabitox:
adb shell

pm uninstall -k --user 0 com.stevesoltys.seedvault
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Dfis:
I've noticed a high usage of Location by "Tethering". I can see it very often popping with a small green notification.

Any idea what it is and how to disable it?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rrreutel:
Very impressed to see such a polished v1.0, thanks @derf elot and @No1Alien !
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] strianugraha:
Anybody care to show me the menu screenshot?

Thanks
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] strianugraha:
Any way, is this Rom compatible to docomo version? SO-02K
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Rrreutel:
What exactly do you want an image of?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] WilcoSnel:
@No1Alien Could you add Android Auto to the not working list? As its not working on Havoc either I suspect a Kernel issue. AFAIK both roms share the same kernel.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Senz9090:
Yes, it is
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
If that happens, then you can fix it by formatting (not just wiping) the data partition. Sometimes you may need to reinstall the new ROM, but re-flashing stock is never (in my experience 😉 ) necessary
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] tonsofquestions:
Cool, I'll try that next time it happens, then. Thanks!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
In a PM about this, someone asked

So here is my answer. Both /e/OS and IodéOS are based on los4microg. In comparison, los4microg

is like /e/OS without

/e/'s 'ecosystem': if you want a free email account, file storage, online calendar, contacts, notes and tasks, you'll have to add your own (e.g. using a hosted NextCloud instance) ***and*** the software to do the sync - NextCloud desktop client and Notes app, DAVx5 and ICSx5 (all available from F-Droid), and an email client (e.g K-9 Mail)

/e/'s buggy app store, launcher: F-Droid is built-in, and Aurora Store can be installed from F-Droid

/e/'s 'Advanced Privacy` features: los4microg is already quite privacy-friendly andyou can install software the offers some of the features

/e/'s IOs-alike Bliss launcher. los4microg includes LineageOS 's Jelly browser, and you can install any other browser from F-Droid

/e/'s forked apps. los4microg includes the original 'unforked' upstream calendar app Etar) and LineageOS's SMS Messaging and Dialer (phone) app and Jelly browser. It doesn't include an email client, notes or tasks app. If you want one, pick one from F-Droid

is like IodéOS without

IodéOS's Blocker app (which allows you to prevent individual apps from accessing the net)

IodéOS's New app

Aurora Store built-in: it can be installed with F-Droid which is built-in

QKSMS built in: it uses LineageOS's SMS Messaging app

IodéOS's fork of Mozilla's Firefox browser

EDIT: IodéOS's ability to choose which system apps to install at first-time setup, and to install and uninstall system apps from Settings | Apps

includes LineageOS's

Aperture camera app. Both /e/OS and IodéOS include OpenCamera instead. IodéOS provides a version of Aperture in its own F-Droid repo which is enabled by default

Trebuchet launcher

I run IodéOS on my 'daily driver` XZ1C, but I don't really use the parts of IodéOS that set it apart from los4microg. I was quite happy running los4microg until IodéOS opened their source, and I would be quite happy to go back to it if IodéOS were not available.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Pfrinz:
Thank you @petefoth, interesting.

May I ask why you prefer Iode to los4microg when you dont use the Iode features?

OT: And something else, I cannot find the los4microg for the XZ1 (poplar), but there should be one if thats the basis for Iode (which has an official build for poplar), right?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
I don't really prefer it - it's what I have installed, it works just as well as los4microg (i.e. very well) so I have no reason to uninstall it and change back to los4microg. I do actually use IodéOS's fork of Mozilla's Firefox browser

Normally yes, but for some reason Iodé decided to support poplar even though, like our device, it is

not

officially supported by LineageOS. They use the same repos as for @Tux111's unofficial LOS ROM. I don't know why they did that - maybe one of the Iodé team owns an XZ1 :) Looks like a good decision though, it gets a lot of downloads.

So there's no

official

los4microg for poplar because there isn't an official LOS build, and los4microg only build for officially supported devices. And there's no

unofficial

los4microg for poplar because I don't own a that device, so I haven't built one :). I'll try and get round to doing that at some point if there's likely to be a demand. I may also speak to the los4microg maintainers about making lilac and poplar official devices, despite the lack of LOS support. But please don't hold your breath: the los4microg project is very under-resourced.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mstrnemo:
Since it is unofficial anyway why not just make the regular unofficial los build support signature spoofing ?

This would be more efficient because you don't have to make a separate version and can just help with the regular unofficial version.

like most other roms out there which allow signature spoofing anyone who wants to flash microg can and the ones who want gapps can also all on one base version.

What do you think of that pete ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
Because I don't make the regular unofficial LOS build
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Yuchen Guo:
NFC does not work on SO-02K docomo version
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] tonsofquestions:
That's because that version of the phone doesn't have an NFC chip. It won't work in any ROM, including stock.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Zayeah:
The phone works with a Vodafone SIM card, but not with a Three network SIM card. The phone is factory unlocked (as per requirements to install LineageOS on it). Does anyone know why it might be working on one network and not another and how to fix it?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
You could try Settings | Xperia Parts | Modem Switcher Activity, and pick a different modem. (Note which modem is currently in use: there are several vodafone ones, and you'll need to switch back). I couldn't find one mentioing 'three', but there is one for `hutch_uk' which may be the one
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] blackspawn:
I had the same issue, I'm reasonably sure that is a Three problem (i.e they need to allow/enable/provision the model on their end but for some reason, they haven't even though their website says the model supports 4G/LTE)

I ended up switching to Lebara (which uses the vodafone network) and it worked without any fiddling.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Zayeah:
I see. Thanks for the information. Do you reckon Three could be persuaded to allow/enable/provision the model on their end?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] tonsofquestions:
Does the "touch to unlock anytime" fingerprint setting work for anyone in this rom?

It's the one that lets you touch the fingerprint sensor without having to actively press it to unlock the phone.

I realize it's probably not actually specific to this ROM, since it doesn't work in any of the other roms for me, but since this is one of the more active ROM threads - and it actually has the setting (unlike some) I figured I'd ask here.

I have some vague memory of seeing this come up in some other thread long ago, but can't remember what the specific phrase was, and "touch to unlock" is the phrase used in the settings.

I'm not sure if this is something that has to come from a different OEM partition, or something else.

Tips welcome!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Zayeah:
Thank you so much! This has worked to get mobile data working but calls and SMS don't seem to be working at the moment. Any idea why that may be the case and how to fix potentially?

Calls and SMS are grayed out in Settings
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
You could try Settings | Xperia Parts - then disable IMS Features. You will lose (probably) VoWiFi and VoLTE, but it may make calls and SMS work, and it shouldn't stop mobile data from working.

If that does make calls and SMS work, then you can try re-enabling IMS features and see what works :)

Sorry this is all a bit speculative, but all of this IMS stuff seems a bit like magic to me :) I don't know why these steps work (if they do) - I just know they have helped me in the past
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Zayeah:
Thank you! I somehow got the mobile data to stop working after changing a setting, and now not sure how to get it back after trying a few things. I'll fiddle around with the settings some more like you say, maybe I'll reset the network settings and start again. Do you think Three would be able to advise what settings might work best or might that be out of their remit?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
Taking your points out of order

Good plan. Change you made earlier may be confusing things. Starting from scratch is often the cleanest thing to do

Network providers can sometimes send you a configuration message to set this up automatically. If they can't do that, then you can often find the correct settings online somewhere

This thread in the 3 Community support form looks promising, particularly the first reply from the member of the community support team.

This link from the Three support site may also help (it doesn't display well - suspect you need to be logged in for that) , though it suggest APN type[B]: [/B]Default whereas 1. suggests internet + mms 😄.

This page also looks promising,

Another thing to look at re: mobile data is the APN Settings (Settings | Netwrok and Nternet | Internet - then the top item should be your mobile data provider (i.e. Three) Select the 'Gearwheel' icon the scroll down to Access point names

First thing to check is that you are using the right APN for Three. If not, select that one.

If you are then try editing the settings of that APN. A trick that has worked for me in the past is to edit the 'APN type' field: if it is currently set to `default,supl`, change it to `default`; if it is currently set to `default`, change it to `default,supl`. (this stuff is really magical :) ). Save your changes (from the tree dots menu), then try rebooting
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
There's a new IodéOS 4.9 build available on sourceforge, based on the latest Whatwurst sources and Android Security update 2024-01-05

* install with recovery iode-4.9-20240116-lilac.zip

* install with fastboot iode-4.9-20240116-lilac-img.zip

I dirty flashed it over the 4.8 build and everything seems to work

.sha256sum files are available for checking the downloads
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] k_basara:
Super weired, seems the battery drains way faster when the phone is idle (laying there doing nothing) than when it's acturally doing something (like playing music).

It's a SO-02K Docomo variation on version 1.5 of the ROM. GSam Battery Monitor tells me Android OS and Lineage OS are consuming most battery (39.5% and 36.8% respectively). This isn't normal, right?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] norabitox:
I've seen posts that say NFC drains the battery of the SO-02K.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
There is one advantage that IodéOS has over LineageOS (and maybe /e/OS): in IodéOS Google's 'Safety Net` passes. That is definitely *not* the case in los4microg, and it wasn't in /e/OS the last time I ran it.

Speaking of /e/OS, one of the /e/ Communtiy Forum members has recently made an up-to-date build of /e/OS for this device, using the Whatawurst sources: https://community.e.foundation/t/un...z1-compact-lilac-e-1-5-1-s-20221110/44707/120
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
You can pass Safety net with microg, but you need to use displax mod 1.3 microg version.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
Thanks for the info.

?? Please could you add a link?

I just build with the los4microg sources and repos, which use the official microG. I could include a different version in my ROMs, but I am not that bothered. I was aiming to point out the differences between los4microg, IodéOS and /e/OS
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
Releases · Displax/safetynet-fix

SafetyNet & Play Integrity API workarounds for Magisk - Displax/safetynet-fix

github.com

Get the 1.3 MicroG release
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
Thanks.

That's a Magisk module isn't it? los4microg ROMs don't have Magisk and they don;t pass SafetyNet. Pretty much all ROMs can pass SafetyNet **if their users install** Magisk. My comparison is between the ROMs as they are built and shipped: in that case IodéOS passes SafetyNet as shipped, los4microg and (I believe) /e/OS do not.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Arcline:
Ah yes, that's right. Afaik this module could come prebuilt out of the box on a ROM.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mp107:
Unfortunately, I disagree. The reason why such modules should not be included in the ROM itself is that they might stop working in hiding the SafetyNet one day. Or even more - someone might one day find the way to detect this module. And if it would be included in the ROM itself it would mean it would be another one obstacle in successful hiding SafetyNet.

That is the reason why I think such modules should be optional, not included by default. Same reason applies to for example gapps, as they still can be installed by the users who would want/need it.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Pfrinz:
Thats both interesting,thanks @petefoth!

So how come that Iode makes it? Is there a drawback as well?

Would it work to buy apps via Aurora Store with that functionality or what would be the main benefit/difference in use?

I wonder because I dont really have problems without safety net so far it sems. But now that I know it I might start wishing for it 😆

And great to see more people working on and for lilac!

OT Edit: And I just saw you have a los4microg build for poplar now too, sweet!
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] sylvaindenomme:
I installed lineageos 20.0 on my g8441 xperia zx1 compact in canada quebec and the nfc, volte and vowifi do not work
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
They have added the necessary code to their repos (possibly based on the work of other projects). The drawback is that they have to maintain and test that code, and may have to 'repair' or remove their code if Google makes changes in future that 'breaks' the workaround(s) they use.

The LineageOS for microG project looked at the possibility of implementing the workaround, and decided that the costs were not justified by the possible benefits.

It shouldn't make any difference to Aurora Store. I don't think buying paid apps is supported by Aurora Store, whether or not the device passes SafetyNet. I may be wrong about that - it's not fucntionality I need or use.

Then don't worry about it :)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] strianugraha:
Tldr

Is this compatible with Docomo version?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Pfrinz:
I am using the los4microgfrom @petefoth for about 2 month now and I am quite happy with it, thanks for that!

Since some days the app trackercontrol from fdroid does behave different then before, but there is no update for it. Some apps suddenly are blocked which have not been before (fe Signal).

Also microG behaves different it seems, push notifications do not come though anymore.

Any ideas with that?

Edit: I just saw that in microG under cloud messaging the status is "not connected", what can I do about that?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
Have you enabled 'Google device registration' in microG settings?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Pfrinz:
Yes also the microG self check shows no issues...
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] EspressoulPH:
Been searching around how to fix this as I did not have this problem on stock (or maybe I haven't noticed this when I was as much since I used it daily back then) LOS 20 had massive battery drain on xz1c, like yours during idle or stand by. Using Lilac LOS 20 v 1.5.

I found this xda thread after searching around in reddit and tried 2 things to reduce the drain. Disabled NFC, and also uninstalled Rich Communication Services with

pm uninstall -k --user 0 com.qualcomm.qti.uceShimService

using adb. I've gone from 16% drain down to 1%. I left wifi and locations on as well.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
If you read the whole of that thread, you will see that following that suggestion

may not cure the power drain problem

will have consequences for phone services which are - to me at least - essential for a phone: VoLTE, VoWiFi, messagign apps.

I would suggest thinking very carefully before following this instructions. At the very least consider using pm disable rather than pm uninstall to make it easier to reverse the operation if it turns out not to solve your problem,or to cause other problems
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] compactifier:
Hi, so far, just everything works fine with version 1.5.But

I encountered one problem: When I make a PDF of a web page with Firefox and then just press "view", the pdf viewer says the file doesn't exist, even though it was saved correctly to the Download folder.

Choosing Firefox itself as pdf reader, I could determine that the viewer gets a file link like this:

content://org.mozilla.firefox.feature.downloads.fileprovider/Download/Download/Kanaren-Wetter%3A%20Sturm-Warnung%20zum%20Wochenende%20ausgegeben.pdf

Which appears to point not to the real Download folder, but to Firefox' subfolder in the Android/Data folder. The same link is given in any other OS, and normally it always works. Could it have to do with the fact that in LOS 20 the Android folder is write protected (which I have never encountered anywhere before)?

With some web pages, Firefox provides different links, like: content://media/external_primary/downloads/1000009015 and with those there's no problem. So I think it's realy an issue with directory access.

I fiddled around a lot with OS settings and Firefox' about:config as well, but to no avail. Also de- and reinstalled Firefox.

I know it's not a big issue, but I think the underlying problem could affect other apps as well. Anybody having an idea about what's happening ?
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
There is now an up-to-date LineageOS for microG build available for download from https://download.lineage.microg.org/lilac/.

lineage-20.0-20240217-microG-UNOFFICIAL-lilac.zip​

The build is made by the LineageOS for microG project, is signed with their keys rather than my keys. So if you install it using `adb sideload` it may fail signature verification: choose 'Install anyway'

Future updates should be available OTA in the Updater app.

I have installed and run this build, and it seems to work OK.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] mulcahey:
Thank you! Can this be dirty-flashed over the current Lineage OS 20? Hoping to keep my data.
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] petefoth:
It should be 'dirty-flashable' over an earlier LineageOS for microG build with no risk to your data.

I don't think I've tried dirty flashing it over a normal LineageOS but it should work (unless you have installed GApps - microG and GApps cannot coexist)
[Sony Xperia XZ1 Compact ROMs, Kernels, Recoveries,] Pfrinz:
Just did the "dirty thing", no problems so far.

Thanks @petefoth for the build, looking forward to the OTA updates, thats cool!