yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Android Development] 115ek:
That confirms my suspicion - the property isn't set and thus the update file can not be found.

You can set it with (Standard build)

adb shell setprop lineage.updater.uri https://raw.githubusercontent.com/lin17-microG/OTA/lineage-17.1/amami.json

or if you're on the microg build:

adb shell setprop lineage.updater.uri https://raw.githubusercontent.com/lin17-microG/OTA/lin-17.1-microG/amami.json

Afterwards an update should show up (of course not if you're already on the march version...).

Maybe the property is only read at startup by the updater app. I'm not sure about that. Then you would have to add this property to build.prop or default.prop and reboot the device.
[Xperia Z1 Compact Android Development] greenflash1986:
HI all, hi @115ek

thanks for your ongoing effort in providing builds for our phone 🥳

I tried to build LOS 18.1 (for verification of the Unified-Patch) by myself with your repository and readme but run into the error "vendor/aicp/build/target/product/product_launched_with_j_mr2.mk" does not exist. You can see the whole error in the spoiler. I was able to fix it by copying from build/target/product/product_launched_with_j_mr2.mk to the requested position. That's the first error I wanted to report.

The second one: during searching for this problem I came across the old mentioned patch LOS-Patch 295701 in the readme. I guess it should either be LOS-Patch 305449 or could be removed completely from the readme as 305449 is already merged.

I was able to verify the Unified-Patch in the meantime so there is no need to hurry ;-)

@115ek As long as the VM is still set up with this massive amount of diskspace I could try to verify a fixed 18.1 build if you want to?

Spoiler content hidden.
[Xperia Z1 Compact Android Development] tramp20:
Does not work on Z1c #1:

I get

F:\FastBoot>adb shell setprop lineage.updater.uri https://raw.githubusercontent.com/lin17-microG/OTA/lineage-17.1/amami.

json

setprop: failed to set property 'lineage.updater.uri' to 'https://raw.githubusercontent.com/lin17-microG/OTA/lineage-17.

1/amami.json'

On another Z1c #2 (both 17.1) I get a correct answer:

F:\FastBoot>adb shell getprop lineage.updater.uri

https://raw.githubusercontent.com/lin17-microG/OTA/lineage-17.1/amami.json

Should I get a correct answer (getprop) if I did a setprop before?

I will later try to change build.prop or default.prop.

Edit:

I forgot to update the ROM on #1, sorry.

The #2 was updated to the last ROM 29219309 and had the correct entry in build.prop.
[Xperia Z1 Compact Android Development] 115ek:
Yeah, I know this problem. I was to lazy to fix it yet. And I'm a bit surprised that someone actually builds from the sources and instructions. Nice.

Basically this problem arises as lineage and aicp store these makefiles in a different location. And as I use complete lineage sources with aicp device trees you'll end up there.

I didn't want to fork off the aicp devicetree yet. Fragmentation is always a bad thing.

I'm going to clean this up once I find some time.

And please directly post to the Lineage 18.1 thread next time, this is for 17.1 :)

Actually yes.

So

lineage.updater.uri

was correctly set in build.prop but nothing was returned by

getprop lineage.updater.uri

?

Which version is your other device on? Does setting the property makes you find updates again?
[Xperia Z1 Compact Android Development] lm089:
had the same "setprop: failed" message but it's working for me now.

What I did was get into shell then su then called setprop:

d:\Dev\platform-tools>adb shell
amami:/ $ su
amami:/ # setprop lineage.updater.uri https://raw.githubusercontent.com/lin17-microG/OTA/lineage-17.1/amami.json
amami:/ # getprop lineage.updater.uri
https://raw.githubusercontent.com/lin17-microG/OTA/lineage-17.1/amami.json
amami:/ # exit
amami:/ $ exit

back at the "DOS"-prompt checked getprop again, and now it's set:

d:\Dev\platform-tools>adb shell getprop lineage.updater.uri
https://raw.githubusercontent.com/lin17-microG/OTA/lineage-17.1/amami.json

d:\Dev\platform-tools>

As I'm still running the February build I could test the updater, and now it's showing the March build (y)

UPDATE:

oops, had forgotten to edit build.prop. But now the property apparently is persistent

UPDATE 2:

just to have this complete: after updating to the March build, Magisk was gone. I had taken a Nandroid of just the boot image so I could get it back that way
[Xperia Z1 Compact Android Development] kejkla:
Hello is there a way to upgrade to this rom from LOS 16.0 13.12.2020 or do I have to make clean install? Sorry if it was already said here but if i try to search this thread it always just show "No results found."

Thanks
[Xperia Z1 Compact Android Development] MSe1969:
If you remain in the same build Variante and you come from the ROM of the predecessor thread of that one, you can update w/o wiping.
[Xperia Z1 Compact Android Development] kejkla:
Ok thanks. I have normal variant. And how it is with gapps? Because its android 9 to android 10. Do I have to remove them before update and then install new ones?
[Xperia Z1 Compact Android Development] traegr:
Hey y'all, I was vaguely aware that there are monthly updates for Lineage 17.1 and reaslized recently I haven't been getting updates. I checked the forum and saw there was a March release but mine is still on the January 14th build. When I try to refresh, it says 'no new updates found'.

I also found some things stopped working like the shake function to snooze (though I'm not sure if it's because I dropped my phone too many times (though vibration mode for notifications still works) and automatic backlight adjusment (I have to manually slide the brightness). These are not a big deal, but I do wonder about the lack of updates.

Thanks in advance
[Xperia Z1 Compact Android Development] MSe1969:
You need to manually update your setup (standard variant plus Gapps) as follows:

Check the version of TWRP and upgrade your TWRP with the one linked in the OP, if needed

Place the ROM zip and the suitable Gapps zip (arm architecture, for Android 10, flavor of your choice, I recommend pico or nano) on your device (internal memory or external SD, as you wish)

Reboot to TWRP

Wipe the /system partition and also Cache & Dalvik

Flash the ROM zip and afterwards, without reboot, flash the Gapps zip

Reboot
[Xperia Z1 Compact Android Development] MSe1969:
The January build, as already correctly mentioned in previous posts, had - for the standard build variant only - a wrong updater URI (to be more precise, the correct one hadn't yet been overlaid at that time). This means, that the January build for the standard variant will unfortunately not offer any OTA update, sorry. Please update manually by downloading the March build and flash with TWRP, no wipe necessary.
[Xperia Z1 Compact Android Development] waterpolo:
Thanks for the explanation.
[Xperia Z1 Compact Android Development] DeadXperiance:
I am on latest build with nano Gapps.How to enable any app in full screen.{hide status bar}?

Because of an app doesn't work with status bar shown. I can't search in setting to enable full screen mode.
[Xperia Z1 Compact Android Development] 2faraway2:
Regarding the MicroG build: The included Aurora Store is outdated, any plans to include the new Aurora Store version into the next build ? ;)
[Xperia Z1 Compact Android Development] MSe1969:
Yes, next build will have AuroraStore 4.0.2 with AuroraServices 1.1.0

EDIT: If you can't wait (Aurora 3.2.9 is almost nonfunctional), download the apk file from here and update manually. But in that case, you have to use "unknown sources" and you should, before updating the ROM, freeze/unfreeze Aurora to undo the update first.
[Xperia Z1 Compact Android Development] DeadXperiance:
I am on build 20210309, nano gapps, without magisk. Trying to cast screen to my tv phone reboots always.

can't get kmsg or dmseg.
[Xperia Z1 Compact Android Development] MSe1969:
New builds with April 2021 ASB patches available

Hi all,

new builds are available and offered as OTA updates via the updater app.

A. Standard LineageOS 17.1 build

https://sourceforge.net/projects/lin17/files/amami/LineageOS_17_signed/lineage-17.1-20210411-UNOFFICIAL-signed-amami.zip/download

Security String 2021-04-05

System Webview on 89.0.4389.105

B. Pre-installed microG build variant with additional security patches

https://sourceforge.net/projects/lin17/files/amami/LineageOS_17_signed/lineage-17.1-20210410-UNOFFICIAL-microG-signed-amami.zip/download

Security String 2021-04-05

Bromite System webview updated to 90.0.4430.59

Bromite Browser updated to 90.0.4430.59

F-Droid 1.12

Update: AuroraStore 4.0.4 with AuroraServices 1.1.0

@115ek - please update OP/Changelog

Regards, M.
[Xperia Z1 Compact Android Development] 115ek:
By the way: There were some further fixes in lineage worth to be mentioned:

Photos can be saved to /DCIM folder on the sdcard again

Music title sorting has been fixed (there were problems with sorting with more than 9 tracks per album in some cases)

Trebuchet launcher now supports icon packs

some more stuff

You can read more about it here: https://lineageos.org/Changelog-25/
[Xperia Z1 Compact Android Development] 2faraway2:
OTA update of the microG build without any prob (y)(y)(y)

Thanks for including the new Aurora releases !
[Xperia Z1 Compact Android Development] mfessler:
Thank you very much for keeping the device alive!

Just a tiny thing:

When unlocking the device, the background does not fill the screen,

but after a brief look is it displayed correctly. Is that known?

Reagards,

Martin
[Xperia Z1 Compact Android Development] veloc_h:
Ok, I have installed microg version from 2021-04

lineage-17.1-20210410-UNOFFICIAL-microG-signed-amami.zip

In fdroid (before I had installed the A) Version with pico). Searching for déjavu in fdroid I get

1) déja vu - a local rf based back end...

2) unifiednlp (no gapps) Locaction provider middleware

Which one should I install?
[Xperia Z1 Compact Android Development] MSe1969:
The 1st: Déjà vu (should be obvious)

The 2nd is the microG app itself and shown as already installed. It appears in the search, because it lists in its description the possible providers, amongst them Déjà vu
[Xperia Z1 Compact Android Development] veloc_h:
ok, thanks for your patience! I have read the description of no 1 and no 2 (pretty complicated to me), but I haven't realized the "installed status", sorry.

The gps fix is nearly instant now, great; didn't succeed with the lineage A) package (gapps instead of microg) at all

Regarding the Aurora store: I have allready bought some apps in google store, but aurora store doesn't find my apps (logged in in aurora store and in microg with my google account). Which settings should I check for this? Or is there an aurora store faq? google with "microg aurora store purchase history wasn't that successful. Mostly hits like "works sometimes, but sometimes it doesn't"
[Xperia Z1 Compact Android Development] MSe1969:
AuroraStore has its own Support Thread on XDA, the 3rd post (after the changelog) is a comprehensive FAQ section. Normally, when you login with your own account, you should see your purchased apps. It may make sense to ask your question in the linked thread.

By the way: There is no need to logon with your own Google account into microG for AuroraStore (There might be other reasons for it, though). AuroraStore is completely independent from microG.
[Xperia Z1 Compact Android Development] 2faraway2:
Anyone checked if magisk 22.1 works now (since 22.0 didn't afaik ...) ??
[Xperia Z1 Compact Android Development] MSe1969:
I am not using Magisk, but this github issue should give you more information.

There is no official solution yet, but there sees to be a work-around...
[Xperia Z1 Compact Android Development] lm089:
I cannot confirm this on my device, and so far never read about it
[Xperia Z1 Compact Android Development] mfessler:
Have set a different background image and then the standard one again - now it no longer occurs.

I should have done that first - sorry - my bad!

Thanks for checking and again for the great work!

Greetings,

Martin
[Xperia Z1 Compact Android Development] lm089:
After flashing the ota I had that same bootloop again (as last month). Followed the advice by MSe1969 (thx again), after magisk 22.1 somehow was still there, but device wasn't rooted. Back to twrp, ran the magisk Uninstaller then installed an old v20.3 I still had on my SD card. Back in system installed a suitable magisk manager app. Then updated the app to v22.1,and from there Magisk itself to v22.1

For me that did the trick. Am rooted now and all is well.

No idea whether I just was lucky
[Xperia Z1 Compact Android Development] tramp20:
Hi,

it seems that NFC is broken: no notification icon and NFC does not work.

Btw: on LOS 18.1 the menu to activate NFC is missing.
[Xperia Z1 Compact Android Development] 2faraway2:
Good hint :)

- Updated manager from 20.4 to 22.1

- Updated magisk itself from the now installed 22.1 manager to 22.1

- Rebooted

- Done, everthing is working perfect (hopefully also the next OTA update)
[Xperia Z1 Compact Android Development] 2faraway2:
Although I don't use NFC I can confirm that issue.

Same on LOS 17.1 on another Sony device (XA2) ...
[Xperia Z1 Compact Android Development] lm089:
Shouldn't be a prob, generally. Was my own fault that I had trouble this time
[Xperia Z1 Compact Android Development] tramp20:
@115ek,

@MSe1969

I hope someone will look for this bug as I need NFC again.

In earlier builds it did work :-(

Btw: did you stop the development for LOS 18.1?
[Xperia Z1 Compact Android Development] 115ek:
If it's urgent just go back to the latest working version. Could you specify when it stopped working exactly? And could you also share a log please? Unfortunately my dev device has no nfc antenna...

I wouldn't call it stopped. It's more like postponed ;)

Study is over and now I have to earn money. That's time consuming if you want to do it well.

But I can assure you that I'd be really happy to continue working if I find some free minutes. :)
[Xperia Z1 Compact Android Development] tramp20:
Thank you.

I found no older build with working NFC, perhaps it did never work :-(

I tested AICP 15 and there is NFC working.

I made a matlog at starting NFC (in the settings) in LOS 17.1 and AICP 15.

Perhaps you can see something.
[Xperia Z1 Compact Android Development] 115ek:
I'm on 18.1 (20210101) and NFC is working for me. When 17.1 was installed the last time it also worked fine (I'd say half year ago or so).

From your logs I couldn't see anything obvious at the first sight.

Did you take these logs on the same device? I just want to make sure it's not a hardware thing...

What application is not working in detail? What is the intended behaviour and what do you face?

You're using the standard version with gapps installed, right?

Is anyone else facing NFC problems with this device and Lineage 17.1 installed?

Can someone else approve that it is working as intended?
[Xperia Z1 Compact Android Development] tramp20:
The notification icon is missing on all of my Z1c with LOS 17.1 and 18.1.

If you see this icon I will try a factory reset :-(

The two logs came from one device but the others have the same behavior.

Used apps:

Scheckkartenleser https://play.google.com/store/apps/details?id=com.github.devnied.emvnfccard

and some others.

In the meantime I found out that only one of my NFC capable cards is readable (but only sometimes, not repeatable): a credit card, but my giro card never (I use this card always to pay so it should be OK).

I use the standard version with GAPPS.
[Xperia Z1 Compact Android Development] tramp20:
Can I flash 17.1 over 17.0 from 11/2019?
[Xperia Z1 Compact Android Development] 115ek:
Do a clean flash please (also wipe /data) :)
[Xperia Z1 Compact Android Development] tramp20:
Thank you, I did :)

But the broken boot animation is very irritating.

The booting is extremely slow from the beginning of flashing the new ROM and this continues after installing some apps. I need ~3 secs for one PIN number :(

But the new ROM behaves and looks much better than the previous 17.0

Edit:

Another try:

1. Wiped all and flashed the ROM --> fast

2. installed (only) GAPS open_gapps-arm-10.0-nano-20200131.zip from here https://opengapps.org --> terrible slow, unusable.

the same with open_gapps-arm-10.0-pico-20200131.zip

Do you have another GAPPS link?

I had similar problems with your previous ROM 17.0 and this GAPPs.
[Xperia Z1 Compact Android Development] 115ek:
Maybe MindTheGapps... But I think there's no package for android 10 available so far.

What is slow in detail? The whole UI or only the boot process? Is it still slow after some reboots?
[Xperia Z1 Compact Android Development] tramp20:
I spent the whole day yesterday with re-flashing (at least 4 times), booting and waiting :(

The extreme slow booting/UI is not caused by GAPPS and not by Magisk.

The first boot after flashing the ROM (without installing GAPS, Magisk and so one) is really fast and the UI too. But after another boot all is extreme slow:

the boot animation starts with a little cyan point and drawing the rest needs ~ 1 sec per dot. After long waiting until the PIN can be typed in every number needs 3 secs to proceed :(

But I found a way to circumvent this temporary: I have enabled double tap to shut down the display. If booting is extreme slow again I have to shut down the display and pressing shortly the power button repeatedly then all is fast again (if I have luck).

For now I am back to Pie again.
[Xperia Z1 Compact Android Development] 115ek:
New build with February ASB's and DRM fix (for using Netflix for example).

However, the bootanimation thing is still puzzling me... :rolleyes:
[Xperia Z1 Compact Android Development] android666:
Hello Xperia Z1C enthusiasts. Is anyone already in this exciting new release on daily use ?
[Xperia Z1 Compact Android Development] 115ek:
I'm using it as my daily driver. But you probably mean Z1C, don't you?
[Xperia Z1 Compact Android Development] 115ek:
New build should have a fluid boot animation. :)
[Xperia Z1 Compact Android Development] tramp20:
Thanks, looks nice.

But the time fix ats_2 is missing :(

Edit:

and SafetyNet is red (broken) in Magisk 20.3
[Xperia Z1 Compact Android Development] 115ek:
Sorry, I forgot about that.

Timefix is included now. And the sony logo got fixed by [MENTION=6425591]SpiritCroc[/MENTION]

About SafetyNet: I've got no idea concerning that. I don't use playservices nor magisk. But if it works on AICP there shouldn't be a problem on lineage. Actually...

Maybe [MENTION=7211763]NyQuilXT[/MENTION] finds some time and can have a look at the manifest to build an image for honami ;)
[Xperia Z1 Compact Android Development] android666:
it starts very quiclky, just I'm not sure why it does not support ext4 on external SD. before (android 9) it worked, maybe it was due to MagiSK FBIND pluggin, not well running on Android10

i must go back to A9, probable I convert extSD to FAT32 (for 400GB was ext4 better dueto better space utilization)

I'd like to ask, what filesystems may I use on externalSD with this A10 ?
[Xperia Z1 Compact Android Development] 115ek:
I'm using fat32. However you may also try exFAT if files > 4GB are an aspect for you.

Maybe the file permissions are problematic with ext4 (as fat doesn't support them there can't be problems). Android 10 got even more restrictive.

Just experiment a bit on your own and share your experiences :good:
[Xperia Z1 Compact Android Development] lingowistico:
This is awesome, thanks a bunch!

Quick question: how does one root this rom? Magisk?
[Xperia Z1 Compact Android Development] lm089:
Magisk is working for me
[Xperia Z1 Compact Android Development] 115ek:
new build

11.03.2020

remove 5GHz hotspot option as it isn't available even on stock

start signing builds

enable OTA updates

synced LineageOS sources (security patch level March 05, 2020)

Please note that you need to flash the migration.zip before dirty flashing the update. Clean flash works normally and without migration.zip.

You can download the new build here.
[Xperia Z1 Compact Android Development] lm089:
Oh, cool! I did this migration.zip thing a while ago when you started to sign los16. Back then you posted some instructions which at the moment I can't find.

If I remember correctly we flash that zip *after* dirty flashing the update but before rebooting to system, right? Wasn't there something else involved back then?
[Xperia Z1 Compact Android Development] 115ek:
No. Boot to TWRP, flash migration.zip and then flash the update. Afterwards reboot normally.

That should be everything.

Old post is here ;)

The problem back then also was the TWRP. But if you use this one OTA updates should work fine.
[Xperia Z1 Compact Android Development] lm089:
Great, good that I asked ;) Just installed everything incl. the newer TWRP .04 (thanks for including the version number now :good:).

Just one thing: on the OP of the TWRP thread the timekeep patch is mentioned to be flashed separately. But I assume I don't need to install that as you already included it in the ROM, right?

(and time appears to be kept alright...)
[Xperia Z1 Compact Android Development] tramp20:
Thanks for the new version but I have big problems with it (wipe all before flashing).

1. after installing EdXposed-YAHFA-v0.4.6.1.4510.-release.zip or Sandhook I get always a bootloop at the SONY text.

2. I can never finish the lineage installation process (I have ofc internet access because I can download from Play Store).

I tried this several time after a wipe all :(

The rest looks good but I cannot use this.
[Xperia Z1 Compact Android Development] 115ek:
I just installed the app you mentioned on 18.1: Both cards I tried could be read.

Could you try a clean build? No gapps, no magisk, only Lineage?

I think there is something messed up with your system.

Or it's a hardware fault. Some connections issue or so. But why should AICP work then... :unsure:
[Xperia Z1 Compact Android Development] tramp20:
Do you see the NFC icon with LOS 17.1?

I tried 17.1 with GAPPS and without Magisk: no success.

I will try this on another Z1c without GAPPS if I have some time (my wife had a serious accident at home with a double pelvic ring fracture so I have to manage our household).
[Xperia Z1 Compact Android Development] android666:
Hello. I'd like to ask you for experience with AA (Android Auto) on your LineageOS. Does it work with any gapps, or also (in some compromise mode) with microG ? I did not find helpful hint, except installing giant gapps :-(.

MicroG AA status is No at this moment: link (already asked for this feature here)
[Xperia Z1 Compact Android Development] MSe1969:
Android Auto does not work with microG:

Implementation Status

Free implementation of Play Services. Contribute to microg/GmsCore development by creating an account on GitHub.

github.com

In regards to regular Gapps, I don't see any reason, why it should not work with e.g. Pico or Nano, as all Gapps flavors ship the Core Spy Services functionality. But as I don't use it, I can't give you a validated answer.
[Xperia Z1 Compact Android Development] 115ek:
I just have a 18.1 device at the moment and I can't wipe it now. But with 18 NFC works - so I thought it might be an issue on your side when it also wasn't working for you on 18.

Good luck and all the best then :)
[Xperia Z1 Compact Android Development] tramp20:
I wiped all (factory reset) and installed only lineage-18.1-20210423-UNOFFICIAL-amami.zip without GAPPS and Magisk: there is no menu for NFC on/off.
[Xperia Z1 Compact Android Development] 115ek:
I'm just using a quick settings tile.

However, I'm also not able to reach it in the settings. When searching for "NFC" I can reach the settings page "connected devices / connection preferences / NFC". But directly navigating there seems to be impossible somehow.