yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Android Development] MSe1969:
Hi all, here we go:

I just have announced in our 17.1 thread a first test build for the LineageOS 18.1 microG build - please follow the below linked post:

https://xdaforums.com/t/rom-unoffic...1-for-xperia-z1-compact.4007983/post-85414427

Feedback appreciated. Regards, M.
[Xperia Z1 Compact Android Development] suayba:
brothers nfc run ? z1c
[Xperia Z1 Compact Android Development] 115ek:
First thing: we are no brothers.

Second thing: read the OP.
[Xperia Z1 Compact Android Development] suayba:
you are a rude person, be a little kind.
[Xperia Z1 Compact Android Development] jutley:
Hi i just installed this but google play when installing just hangs trying to install any ideas?

Update never mind my fault i forgot to do a data wipe in twrp all resolved. Thanks for a great rom i am currently using this rom on a retro game handheld called the ZPG. :) See attached picture it uses the motherboard of the sony z compact phone inside and uses OTG for the controls.
[Xperia Z1 Compact Android Development] suayba:
z1 compact nfc run?
[Xperia Z1 Compact Android Development] jutley:
I not tested it but apparently it has been fixed a while ago :)
[Xperia Z1 Compact Android Development] 115ek:
New build

16.08.2021

switched to 3.4 kernel with security backports (thanks @MSe1969 and @SkewedZeppelin )

synced LineageOS sources (security patch level August 05, 2021)
[Xperia Z1 Compact Android Development] ashtar_sheran:
This is completely ridiculous. OP is sacrificing his free time to the community not only by maintaining the ROMs, but also answering SERIOUS questions as accurately as it's possible, yet you're calling him rude even though the 1st post contains the answer for your question, as he said.
[Xperia Z1 Compact Android Development] MSe1969:
LineageOS 18.1 test build for 2nd build variant - feedback?

Hi all, I have asked this also in the 17.1 thread (hence sorry for double-posting), but the topic fits into both threads:

I see 90 downloads in sourceforge.net for the LineageOS 18.1 test build for the "microG" variant, so there definitely is interest.

However - so far, we did not get feedback. Does that mean "all is fine" and we're ready to go?
[Xperia Z1 Compact Android Development] tramp20:
Hi,

I don't use this variant, but I had some bugs (already very old, they were passed on the next LOS):

1. NFC-HCE is missing (stock ROM had this feature). I already read that the stack is not available to you.

2. The icons in the status line are all black/white. If I touch this line they all become colored during touching.

3. A-GPS is missing too. After a reboot/shut down the time to get a fix is ~15 min. This is the regular time to download all GPS satellite data from the the satellite direct.

With A-GPS (from internet) the fix is valid after seconds.

4. Missing permission for ANT+, see posting #78 and #79.

Nevertheless many thanks to you all for your hard work for our Z1c.
[Xperia Z1 Compact Android Development] Bergfex2:
Hello and thanks a lot for this ROM. But can I ask a question please? In my case, the FM-Radio does not work. I am the only one who has this problem? What can I do?

Thanks a lot / Herzlichen Dank.

Bergfex
[Xperia Z1 Compact Android Development] 115ek:
Hey. I also noticed it some days ago. Just had a quick look - most likely an SE related issue. I already saw some denials in the log.

If it's just that it'll be fixed in the next release.

Other than that also DRM is broken (so for example netflix won't work).

EDIT: Yeah, fm-radio is broken due to the se-policy rewrite. I just set the permissive mode and it started working again.
[Xperia Z1 Compact Android Development] Bergfex2:
Thanks for your information. Then I will wait. With the AICP 15 - Rom (Android 10) the Radio works fine. For me, FM Radio is a nice feature because it uses less electricity. I do not use Netflix on my phone ;).
[Xperia Z1 Compact Android Development] 115ek:
New build:

18.09.2021

fixed FM radio (ref, ref)

synced LineageOS sources (security patch level September 05, 2021)

Wifi display is back (ref)

Setup wizard redesigned (ref)
[Xperia Z1 Compact Android Development] Bergfex2:
FM-Radio works now. Thanks a lot.
[Xperia Z1 Compact Android Development] 115ek:
One more update:

20.09.2021

fixed DRM (widevine level 3: netflix works)

This may require a clean installation to work correctly.
[Xperia Z1 Compact Android Development] MSe1969:
New "LineageOS 18.1 microG variant"

Hi all, I have created a new "microG" variant, which can be dirty-flashed on the previous test build:

https://sourceforge.net/projects/lin18/files/amami/LineageOS_18_signed/lineage-18.1-20210922-UNOFFICIAL-microG-signed-amami.zip/download

It contains the changes announced by @115ek and also the kernel patches applied to the 17.1 September build, for which the feedback was given in the 17.1 thread, that the performance was improved (after recent decrease).

If you want to update from the 17.1 microG variant, please follow these instructions.

In general, we plan to provide the last 17.1 builds in October.
[Xperia Z1 Compact Android Development] tramp20:
@115ek, @MSe1969

I have several Z1c with latest LOS 18.1, almost the same apps on all and the following problem occurs on all smartphones.

I have already done factory resets, installed only the most necessary apps, but without a positive result.

If I remove or connect the charging cable I see (not reproducible every time):

1. only a very short flicker on the screen

2. only the background becomes black for 1-3 seconds

3. the whole screen becomes black without status and navigation lines for 1- 3 seconds

4. the worst case: "System-UI does not respond, wait or close"

I have attached a catlog at removing the charging cable.

Even a test with LOS 17.1 shows the same.

I hope someone can see something in the catlog.
[Xperia Z1 Compact Android Development] Beni777:
Awesome ROM, Smooth and fast. Thanks for your hard work.
[Xperia Z1 Compact Android Development] 115ek:
Are you able to reproduce this problem with a clean installation without ANY modification?

From the log I see that there is an exception thrown (java.lang.IndexOutOfBoundsException[I][/I]).

This is caused by com.anttek.widgets which leads me there. Is that correct? Do you have this thing installed?

To be honest: I can't really give support when it comes to xposed.

Could you check if the problem persists also without this app installed?
[Xperia Z1 Compact Android Development] tramp20:
No

Yes but after uninstalling all lsposed modules and this app the problem still exists.

Absolute.

It is very difficult to find this problem.

Since January I make countless clean LOS installs, install my apps one after the other, wait some days if the problem comes back and suddenly it happens again.

Sometimes I can stop charging over the whole day without a single flickering :-(

During lock screen this never happens.

It is never ending.

Anyway many thanks for looking in my log file.

Edit: but the system-ui should not crash.
[Xperia Z1 Compact Android Development] Beni777:
@115ek Hey bro, you make Android 12 for this mobile phone on October month?

October 4

A new leak courtesy of XDA Developers' editor-in-chief Mishaal Rahman claims that Android 12 will officially launch on October 4.
[Xperia Z1 Compact Android Development] 115ek:
That is true.

However, when doing heavy modifications of the system itself, no one can guarantee that the system behaves as before. Perhaps the uninstall is not so clean as it should be? Just guessing...

But what does the log say when the app is uninstalled and the device gets stuck? That would be interesting.
[Xperia Z1 Compact Android Development] lm089:
Hi,

just ran an OTA update on the other version (17.1), worked flawlessly as ever.

Then I noticed MSe1969's remark about that it's probably the last update and that we should move over to 18.1. Also I found that post here which seems to suggest that I could try a "dirty" update from 17.1 to 18.1.

So I felt lucky and after creating a backup I simply dared to install 18.1 over the existing 17.1. Then I ended up in an endlessly looping LOS startup logo. After ~5 minutes I stopped it and restored my fresh backup.

Before I go and do a clean install: is this supposed to work, or did I get it all wrong?

Current setup is standard 17.1 (october build, non-microG), + OpenGApps pico + Magisk 20.3. Apps-wise there's nothing special, and no Xposed or other critical stuff

Let me know if you want to look at some catlog stuff, but that's probably useless in that case, is it?

Cheers!
[Xperia Z1 Compact Android Development] MSe1969:
Hi, my description was focusing on the microG variant. If you have variant A with Gapps, I'd recommend the following "dirty flash" approach:

- wipe the system partition

- flash LineageOS 18.1

- flash Gapps for Android 11

To me it seems, based on your description, that you did not update the Gapps to Android 11, so after flashing LineageOS 18.1 over 17.1, the Gapps survival script has restored the Android 10 Gapps, which for sure is a recipe for trouble...

Further, not sure about Magisk - do you have a survival script active?
[Xperia Z1 Compact Android Development] lm089:
OK, makes sense...

Good idea, I'll try that the other day

Oh, of course, forgot about that!

Not that I would know, it's just plain magisk, use it for rooting only

Thanks for the ideas. Will post results
[Xperia Z1 Compact Android Development] tramp20:
Thank you, it looks I did the same mistake with Gapps :-(
[Xperia Z1 Compact Android Development] lm089:
Hi, did as you wrote: wipe system > flash ROM > flash BiTGApps

Delete Dalvik, just to be sure

Reboot to system took a while (was to be expected) then I ended up at the lock screen.

Trying to unlock (drawing pattern) screen goes black or a second or two then I'm back at the lock screen. I can repeat that as often as I wish. Also complete reboot doesn't help. (No the device isn't encrypted)

Thought that maybe Magisk 20.3 could be the cause. Back to TWRP, tried to run the Magisk uninstaller which resulted in an Error 1.

UPDATE: the cause for the uninstaller error was that I had used a script that apparently was too old...

Weird. Currently I'm on my way back to 17.1.

Next time I'll try to uninstall Magisk before flashing 18.1; hope that helps

UPDATE 2:

no it's not Magisk: even if I uninstall Magisk from V 17.1 I still have the same behaviour as described above.

Let me know if you wish to investigate then I can run a few more tests. Else I would do a clean install over the weekend; absolutely no problem for me as this is my secondary device with just 2 or 3 apps running on it, easy to get up and running from scratch.

UPDATE 3:

last test: before upgrading I removed the locking mechanism (removed pattern etc.), then repeated everything.

Result: now when the phone is ready booting LOS it shows the blank start screen (just the background image to be exact) for a very brief moment; the "Trust" message appears, then it crashes right back to the animated LOS boot logo > repeats "forever"

I assume that others probably had more luck upgrading that way, in that case it must be something I installed or configured, whatever that is...
[Xperia Z1 Compact Android Development] MSe1969:
New builds available with October '21 ASB patches

Hi all,

new builds with the Octrober '21 ASB patches are available:

A. Standard LineageOS 17.1 build

https://sourceforge.net/projects/lin18/files/amami/LineageOS_18_signed/lineage-18.1-20211013-UNOFFICIAL-signed-amami.zip/download

Security String 2021-10-01

System Webview on 94.0.4606.71

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

https://sourceforge.net/projects/lin18/files/amami/LineageOS_18_signed/lineage-18.1-20211012-UNOFFICIAL-microG-signed-amami.zip/download

Security String 2021-10-01

Bromite System Webview and Browser updated to 93.0.4577.83

@115ek - please update OP/Changelog

PLEASE NOTE:

Effective immediately, the two build variants will be offered here regularly, as the 17.1 thread will be EOL. As announced, the October builds will be the final 17.1 builds.

In regards to OTA updates:

The "regular" build (variant A) will soon be offered as OTA update, once @115ek has merged my pull request against his OTA repo. We will switch to the OTA repo of our common GH repository, hence a last time, 115ek's repo needs to trigger the OTA update.

If you are already on the last 18.1 test build for the "microG" variant (variant B), you will nonetheless have to flash the build manually! OTA updates will only work from this now 'official' build onwards.

Happy flashing!

Regards, M.
[Xperia Z1 Compact Android Development] 115ek:
OTA updates will be shipped now for the standard builds.
[Xperia Z1 Compact Android Development] fiddler21:
Hi all,

first of all, thank you very much for providing this great software and helping extend the device lifetime!

I originally switched from the Sony OS to Lineage OS 18.1 with the July version. In the meantime I have downloaded two updates via the integrated 'Updater' app. Now the October update is pending, but it says I have no internet connection although WLAN is connected. But that is just a minor issue.

Main thing is the update installations fail, both of them with the same log which is the following:

E: Error opening trace file: No such file or directory (2)

Supported API: 3

Finding update package...

Verifiying update package...

E: failed to verify whole-file signature

Update package verification took 6.4 s (result 1)

E: Signature verification failed

E: error: 21

Installation aborted.

Does this make sense to anybody and do you have any advice on how to fix this? I have set up my SD card as an extra storage (so you can remove the card) because using it for extending the internal storage didn't work robustly. Maybe that's important information. If you need anything else, please let me know.

Again, thanks for your great work!
[Xperia Z1 Compact Android Development] tramp20:
I have to update manually to 20211013 (because of Magisk 23) but the internal updater cannot search too since this build.
[Xperia Z1 Compact Android Development] 115ek:
A small typo found its way into the update URL. This is why OTA updates to the standard lineage october version did not work.

I fixed that - updates should be downloadable now.

Please excuse the inconveniences.

If the download should still not work please clear the updater app's storage. (see screenshot)
[Xperia Z1 Compact Android Development] 115ek:
Which version are you using - microg or standard one?

Where did you got this log from?

How did you run the updates? Normally the updater app will guide you through, you just need to click the install button. Reboot and installation will happen automatically.

Which recovery system are you using? It has to be the following one: https://xdaforums.com/t/recovery-unofficial-amami-twrp-3-4-0.3960699/
[Xperia Z1 Compact Android Development] fiddler21:
I have the nano one (I guess, that is the standard?)

I did tap on the install button. Then the phone reboots, starts to install the update and then I see the log I posted.

I have installed the TWRP. I guess it's the version you linked. Can I check the version on the phone?
[Xperia Z1 Compact Android Development] 115ek:
Nano is a variant of a gapps package. You can only install gapps on the standard lineage version. So if you have gapps (playstore, etc..) you definitely are using the standard version, not the microg one.

Do you see this error directly? Or does something install and then in a second run you see this message?

Yes. You could reboot to the recovery and check the version directly. Either enable advanced reboot (then you can reach recovery via reboot menu) or power off the phone and go into the recovery by pressing Vol - and power.

But as you already installed some versions already it doesn't seem to be a problem with TWRP I guess.

Which lineage version your are on? Can you post the complete string here? Settings->About Phone->Android Version->LineageOS version

How does your system updater looks like? Which version you want to update to?

Perhaps the downloaded update got corrupted somehow, so you see the signature error. Please also delete everything from the updater app (already downloaded firmwares) and redownload the latest one.
[Xperia Z1 Compact Android Development] tramp20:
Sorry, but the download is not found.
[Xperia Z1 Compact Android Development] 115ek:
Which build are you currently on? From your previous post I'd assume that you're already on the latest 20211013.

Then it is expected that the updater is not able to find something.

Can you post the output of

adb shell getprop lineage.updater.uri

If it already points to the new repo https://raw.githubusercontent.com/lin18-microG/OTA/lineage-18.1/amami.json then it is fine. This file is not yet available and will first become available starting with the November build. (We switched from the 115ek OTA repo to the lin18-microG OTA repo).

If you're not on the latest build: Did you wipe data of the updater app?
[Xperia Z1 Compact Android Development] tramp20:
Yes I am on the latest build and I see

C:\WINDOWS\system32>adb shell getprop lineage.updater.uri

* daemon not running; starting now at tcp:5037

* daemon started successfully

https://raw.githubusercontent.com/lin18-microG/OTA/lineage-18.1/amami.json

So it should be ok.

Thank you.
[Xperia Z1 Compact Android Development] fiddler21:
After tapping the install button there is a first progress bar that goes until 20%, then the phone reboots, shows the Sony logo and orange LED and then I see another progress bar, not showing any value, only a line, which again seems to go until appr. 20% and then it shows the recovery menu and the log I posted on the bottom of the screen.

Where can I enable the advanced reboot?

I tried the Vol - and power but it only shows the Lineage Version (18.1 (20210719))

I checked the instructions I followed when installing the ROM. They linked the 3.2.1 TWRP version but there you pinned a post saying it is deprecated and another link to the 3.4 version. So I am pretty sure I used that one.

I think my description was not accurate. The July version is the one I installed initially. I downloaded the August, September and October updates but all three of them fail to install in the way I described.

18.1-20210719-UNOFFICIAL-amami

I have attached a screenshot. I tried the August, September and October updates. All with the same result.

I am downloading the October update right now. I will update this post, once I have tried to install it.

Edit: Nope, same result.
[Xperia Z1 Compact Android Development] 115ek:
Settings->System->Gestures->Power-menu->Advanced Restart (or simply search for advanced restart (erweiterter Neustart) in settings.)

Please enter the TWRP and report its version. It should be 3.4.0-1. The version is printed in the TWRP main menu at the top. I'd guess your problem relates to an outdated TWRP version. If it should be older, please update it. You can flash the new TWRP when in fastboot mode with fastboot flash recovery twrp.img. You can enter fastboot mode from android (advanced reboot menu), from TWRP itself (reboot->bootloader) or the hard way when device is turned off (holding vol + while inserting USB).

You tried it while device was turned on? For this key combo bringing you into the recovery mode you need to power off the device first.
[Xperia Z1 Compact Android Development] fiddler21:
It's weird, but I don't see a TWRP version in that menu, only the Lineage version...

The fastboot command doesn't work. In the shell it says:

unknown partition "filename.img"

fastboot: error: cannot determine image filename for "filename.img"

I tried z1ctwrp.img, recovery twrp.img and the original name from the source.

EDIT: sorry, my bad! "recovery" is part of the command. It worked now. But the update still doesn't work and I don't see a TWRP version in the recovery menu.

No, no. I powered it off first. Entering the recovery mode works fine, but as I said, it doesn't show the TWRP version. I have attached a picture.
[Xperia Z1 Compact Android Development] 115ek:
No, that's not weird. Your picture explains it all.

This is the lineage recovery, not the TWRP. It might work, but I never tested it. So I guess now you tested it ;)

Please flash the TWRP.

If you don't see something like that:

the lineage recovery is installed. The image above shows how TWRP looks like.

The reason for that is (most likely) that you enabled an option that updates/installs the lineage recovery (effectively replacing the TWRP) with every OTA update. This is (in our case) unwanted behaviour.

So the way to go now would be:

Disable this option (somewhere under developer options I think. Maybe @MSe1969 could jump in here. Else I'll have another look in the evening.)

Flash the TWRP

Verify it is the TWRP

Check updating again
[Xperia Z1 Compact Android Development] Beni777:
Hearthstone app not work properly, freeze and crash
[Xperia Z1 Compact Android Development] MSe1969:
This setting used to be in the Dev. Options, but it has moved into the Updater app's settings in 18.1.
[Xperia Z1 Compact Android Development] tramp20:
The "Recovery" should change to "LOS Recovery" to make this clear because it is not the TWRP recovery.
[Xperia Z1 Compact Android Development] Beni777:
i'm patched the boot.img with magisk 23 with twrp but the magisk app doesn't recognize it.. why? i tried with pc too but magisk app not recognize. My samsung phones work with magisk but z1c is not.

I use the latest october build but with beta is same too
[Xperia Z1 Compact Android Development] tramp20:
You should read my posting in Github:

Magisk 21.2 cannot be installed on Sony Z1c with Android 10 Lineage 17.1 · Issue #3636 · topjohnwu/Magisk

Description The last Magisk version that could be correct installed was 20.4. All versions after 20.4 fail (from the first canaries to 21.2 magisk-debug_6d88d8ad). 1.1 Flashing magisk-debug_6d88d8a...

github.com

User bleckdeth has made a simple patch at 16.03.2021.

It works perfect but you have to make it after every LOS Update because LOS overwrites the boot image :-(
[Xperia Z1 Compact Android Development] Beni777:
Thank you the Magisk is working now!
[Xperia Z1 Compact Android Development] fiddler21:
Thanks so much! It finally worked. Also thanks to @MSe1969 for pointing out where this setting 'update recovery' is located. It somehow enabled itself once after disabling it but finally I was able to install the October update.

Thanks for your great support and patience!
[Xperia Z1 Compact Android Development] MSe1969:
Whilst I agree to your point - I don't see the urge to fork the Updater app just for changing a label. We would have to also translate this into at least the major languages, to let many people benefit... "Cosmetics", if you ask me...
[Xperia Z1 Compact Android Development] Beni777:
Z1 compact get android 12? This phone can run 12?
[Xperia Z1 Compact Android Development] MSe1969:
Before even starting to

consider

spending any time on 12, there are for us some prerequisites to be fulfilled. E.g. "LineageOS has started to provide official 12 builds" for any device.

Alone that requirement is anticipated - looking at the previous cycles - to be fulfilled earliest January 2022, but probably even February.

There are more things than that, not going too much into details. So only after that 1st prerequisite is met, we will be able to try finding out, whether this is possible and feasible (which still does not necessarily mean, that there will be a 12 build at all...)
[Xperia Z1 Compact Android Development] Beni777:
Hello! This rom have an weird bug. When i try to install app from google play store(opengapps) the error message says: not enough storage. I need to reboot the mobile phone to get work.. what is this? You fix this bug? The rom is installed correctly. I format everything before install this rom.
[Xperia Z1 Compact Android Development] MSe1969:
Which Gapps flavor do you use? Pico or Nano as recommend? Or any larger bloat flavor, which is not recommended? Can you produce a log? How much space do you have free on your Internal Storage?