yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Android Development] MSe1969:
New builds available

Hi,

new builds with the April '23 ASB patches (Security String 2023-04-05) are available and offered already as OTA update through the Updater app:

A. Standard LineageOS 18.1 build

https://sourceforge.net/projects/li...20230415-UNOFFICIAL-signed-amami.zip/download

Security string 2023-04-05

System Webview 112.0.5615.48

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

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

Security string 2023-04-05

Mulch Webview 112.0.5615.48

Removed Bromite browser and shipped LineageOS' Jelly instead

Some explanation regarding Bromite:

Bromite hasn't received updates since end of last year. It is meanwhile 4 major versions behind Chromium upstream, so this is a security issue! (Seems we have to sadly accept, that Bromite is dead). As announced last month, this build will not ship Bromite browser any longer. (You can still decide to manually install Bromite again, if you like).

@115ek - please update OP / Change log

Happy flashing, regards, M.
[Xperia Z1 Compact Android Development] Dystinato:
Yes, I have the same issue and I have posted a logcat earlier in this thread. Problem is that the issue is not persistent, mostly the camera app will not record video, but sometimes it will. No logical pattern to be found.
[Xperia Z1 Compact Android Development] tobogabi:
Yes, video recording not works. But it not crashes, there comes a toast with the message, that video cannot be recorded. For testing I've installed "OpenCamera" an I get the same message.

Taking photos works fine.

I agree with you thinking about Google. First I tried to use it without Google, but I wanted to have location, also with WLAN and Cell location. Had tested it with UnifieldNlp and Mozilla Backend. The "My Location" app shows that it works fine but apps like OSMAnd or Magic Earth do not work with it.

That was the reason to install GApps.
[Xperia Z1 Compact Android Development] tobogabi:
Have installed the new build and the video recording works, great!!!
[Xperia Z1 Compact Android Development] MSe1969:
Happy to read that, but this makes it even more mysterious for me - I am not aware of anything in my recent new build, which could have an impact. Also, as explained before, I don't have that issue on my own device. And the provided log also did not really give any obvious indications...
[Xperia Z1 Compact Android Development] tobogabi:
Yesterday evening it was only a fast test, the toast did not come. Today I have looked at it again and it does not work stable. One time I could not stop the recording. Often the files have 0 Byte. Audio is not recorded, no matter whether the microphone switch is on or off.
[Xperia Z1 Compact Android Development] remusator:
Edit: I am experiencing some random shutdowns during Antennapod (podcast application) download. Sd card is mounted as portable storage. I'm going to try with different sd card. Hopefully not an issue with this, otherwise awesome, rom.

Video recording works for me (lineage-18.1-20230415-UNOFFICIAL-signed-amami.zip), as it did on previous version (lineage-18.1-20230319-UNOFFICIAL-signed-amami.zip).

What is the bluetooth random address about? Does it get generated once (on install) and remains unchanged further on? Or does it change every time / boot / randomly?

I tried pairing with my car, as well as my tws earphones. Both of them connect automatically, even after reboot.

Google-pay (wallet) doesn't and will never work?
[Xperia Z1 Compact Android Development] MSe1969:
New builds available

Hi,

new builds with the May '23 ASB patches (Security String 2023-05-05) are available and offered already as OTA update through the Updater app:

A. Standard LineageOS 18.1 build

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

Security string 2023-05-05

System Webview 113.0.5672.77

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

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

Security string 2023-05-05

Mulch Webview 113.0.5672.77

@115ek - please update OP / Change log

Happy flashing, regards, M.
[Xperia Z1 Compact Android Development] TibReg:
Hi, I discovered your ROM just today because I needed a spare phone for the family which is safe. The Sony Z1 Compact was always a nice and now with the 2nd battery still stable and good working device. Having now updated security patches + extra security with your configuration and the mulch webview makes me trust the device as far as it gets with a Custom ROM.

A really fantastic job (y)(y)(y)
[Xperia Z1 Compact Android Development] MSe1969:
New builds available

Hi,

new builds with the June '23 ASB patches (Security String 2023-06-05) are available and offered already as OTA update through the Updater app:

A. Standard LineageOS 18.1 build

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

Security string 2023-06-05

System Webview 114.0.5735.58

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

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

Security string 2023-06-05

Mulch Webview 114.0.5735.61

microG updated to 0.2.28.231657-5

FakeStore updated to 0.2.0

AuroraStore updated to 4.2.3

Please note, that this update of microG comes with a change in regards to the coarse location functionality:

The support of plug-in modules has been dropped, coarse location is now provided internally by making use of the Mozilla location service. Consequently, the modules shipped by default with this build have been dropped, too.

@115ek - please update OP / Change log

Happy flashing, regards, M.
[Xperia Z1 Compact Android Development] android666:
Thank you for amazing support. Could you (or anyone) please give a hint, what modules ("support of plug-in modules" ) you advise to have with MicroG due to dropped support for some of them ? Thanks
[Xperia Z1 Compact Android Development] 2faraway2:
None, because there's no more need for the modules .. ;-)

MicroG has implemented the location-service functionality internally
[Xperia Z1 Compact Android Development] android666:
I'm sorry for not professional question: does it mean that recent MicroG stores to it's own database paired wifi/GSM with GPS (the same google does) for faster TTFF ?
[Xperia Z1 Compact Android Development] 2faraway2:
More or less: yes (now gmscore works like the former mozilla location provider) :)

For more informations you should read marvins github page: https://github.com/microg/GmsCore/releases
[Xperia Z1 Compact Android Development] android666:
in the location module looks to be some remote address:

https://location.services.mozilla.com/v1/geolocate?key=%s

Location: Entire rewrite of the location subsystem · microg/GmsCore@f5ad796

No modules anymore, they became unreliable in recent Android versions due to "energy savings".

github.com

does it mean, it's safe and we can trust mozilla.com owners ? I'm a bit confused :-(
[Xperia Z1 Compact Android Development] 2faraway2:
That only you can decide ... :)

So far I always had the mozilla location provider in work (on different devices), imho much better than to 'trust' google ..
[Xperia Z1 Compact Android Development] MSe1969:
For now (as outlined in the release notes), only Mozilla is implemented. Quote from the release notes:

"The goal is to merge the most important of those features into GmsCore. For now, the new locations stack is relying exclusively on Mozilla Location Service for network based location."

Reading this, I have some hope, that in a future release of microG, also some true offline functionality, such as DéjàVu (learning and storing the places, where you've been) or GSMLocationProvider (Download from home via WiFi an extract from a couple Cell tower DBs with their location info and make offline use of that generated DB) will be available again - let's see...
[Xperia Z1 Compact Android Development] android666:
GSMLocationProvider works perfectly, I downloaded few MCC into my DB and TTFF is really quick, so I'm offline and happy. thanks for hint
[Xperia Z1 Compact Android Development] MSe1969:
Are you sure? According to the docu, there is no interaction any more with those apps and microG connects only to Mozilla's server to resolve the logged in cell tower ID into a location.
[Xperia Z1 Compact Android Development] android666:
will double check...
[Xperia Z1 Compact Android Development] coolfranz:
Has anybody else graphic problems with the app here we go? There are lots of glitches an strange things going on...

Everything else seems to work just fine.
[Xperia Z1 Compact Android Development] Zastando:
I'm not sure this topic has been discussed earlier in this thread, but I wondered why Aurora-Droid is installed rather than F-Droid's official client.

I understand the reason of having only one su privileged version installed (being Aurora Services if I'm not mistaken), but unfortunately Aurora Droid has not been updated for quite some time and tends to not fetch any updates (at least on my system).

While I technically know how to install privileged F-Droid on my system, I wanted to make there was no other reason, hindering its installation.
[Xperia Z1 Compact Android Development] MSe1969:
New builds available

Hi,

new builds with the July '23 ASB patches (Security String 2023-07-05) are available for

manual download

.

Please note, that they are currently not yet offered as OTA update!

Reason is, that I don't have the amami device with me right now and I will only be able to do a test

early next week. I don't expect any issues, since the ASB update as such works fine with other devices and no device-specific components are altered within this update. Nevertheless, I would like to ask the more experienced of you to manually download and flash and report back, that all is ok.

Once I receive that confirmation, I will enable the OTA update accordingly.

A. Standard LineageOS 18.1 build

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

Security string 2023-07-05

System Webview 114.0.5735.196

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

https://sourceforge.net/projects/li...9-UNOFFICIAL-microG-signed-amami.zip/download

Security string 2023-07-05

Mulch Webview 114.0.5735.196

microG 0.2.28.231657 - "Original" included now (see comments)

I have started to rework my microG approach:

With the recent change to include the Mozilla Localtion services (MLS) directly into the microG code also comes the requirement to obtain an API key for MLS, which I don't have right now (I have requested one, but I am not sure

whether

and if yes, when I would get it). I have therefore included the original microG apk and use the now foreseen way to specify certain default settings, so one of the two reasons for me to build from source has gone.

@115ek - please update OP / Change log

Happy flashing, regards, M.
[Xperia Z1 Compact Android Development] MSe1969:
The (main) reason to use AuroraDroid is, as you have correctly assumed, the unified usage of AuroraServices.

Further, the functionality simply is better (I admit, this is my personal opinion, others may have different points of view). And AuroraDroid still works flawlessly (at least for me), so there is no real reason to create updates, but the app has not been abandoned, it is still normally maintained.

Regarding updates, you can always manually synchronize the active repositories, but there is also a setting, where you can specify the update interval (I have e.g. set it to update the repository every two days).

Another reason, why I prefer AuroraDroid is, that the F-Droid apk itself is only signed with the insecure v1 scheme and not, as it should normally be the case, also with v2 (so that v1 is only used as fallback in "stone-age" Android versions like KitKat). So in my other builds, which I provide for e.g. LineageOS 16.0 or LineageOS 14.1, I ship an F-Droid apk, which I have build from source and sign it with my own key (and consequently a patched Privileged extension checking my own signature).

[Please note: I haven't checked this situation since about ~ 1 year, so I am happy to re-think my approach on my other 14.1 and 16.0 builds, if F-Droid is meanwhile properly signed. So please let me know, if that has changed.]
[Xperia Z1 Compact Android Development] lm089:
Thanks once again. - Updater doesn't see anything new, though. Tried several times since yesterday.

Anything I can check or do on my side (apart from downloading and flashing the old way)?
[Xperia Z1 Compact Android Development] MSe1969:
This is exactly, what I have announced:

I don't have the device with me until next week, so BEFORE enabling OTA, I would like to ask some folks here to MANUALLY flash and confirm, that there are no issues, so I can enable OTA
[Xperia Z1 Compact Android Development] lm089:
You're right, you noted that, and I just didn't pay due attention...

Fine, I'll volunteer. My PC is bugging me anyways with numerous updates

Update: boots up fine after flashing from trwp.

For the records: standard version, on a non-rooted device
[Xperia Z1 Compact Android Development] tramp20:
No issues here updating manually with TWRP on 2 rooted Z1c (Magisk 26102)
[Xperia Z1 Compact Android Development] MSe1969:
Thanks for your feedbacks - I have now enabled OTA.
[Xperia Z1 Compact Android Development] akosteiner:
Hi!

Thank you for keeping this device alive!

I'm writing here as my last option to get some help.

I have encountered a problem, many did before, but found no solution whatsoever.

I can't make or receive phone calls, can't send sms, but mobile data kinda works. My card works in other devices, but no card works in mine.

I have tried so far: unchecking 4G and enabling LTE only, checking the providers API settings, tried google phone, setting the default phone app, so mainly everything i have read on forums, with no result.

I don't really think it's related to the last update, i have made phone calls since.

Do you have any ideas where should i start looking for answers?

Thank you for your help!
[Xperia Z1 Compact Android Development] OMAKE:
Hello.

How about fm radio?

Tried off. los 17.1 and 18.1.

Radio doesnt works.
[Xperia Z1 Compact Android Development] tramp20:
Thank you.

1. Update OTA does not find this new build.

2. Flashing this build over the last lineage-18.1-20201219-UNOFFICIAL-amami ended in a boot loop (at Lineage animated boot). I repeated this 3 times.

Then I made a factory reset.

3. I miss "long pressing backspace stops the running app".

4. In Trust I see SELinux deactivated.

5. and in Play Store/settings: device is not certified.

6 You wrote " you'd have to add a androidboot.selinux=permissive to the kernel command-line".

Sorry I don't know where :-(
[Xperia Z1 Compact Android Development] 115ek:
Yes, because I didn't enable OTA updated yet. These are early experimental builds...

... and that's what they can lead to. Although they shouldn't and that's strange anyway.

This feature was dropped. However, I haven't more details about it. Check this.

Yes, that's also stated in the OP. SELinux permissive (not enforcing) will lead to this warning in trust.

I can't do much about this. Maybe read this for further background.

That was only a remark what has to be done if you'd like to use a bootimage on a system which isn't capable of running enforced SELinux. You have to unpack the bootimage, add the flag to the kernel commandline and repack it. Else this defaults to enforcing mode automatically. (And this would render the device unbootable in the worst case).

Anyway: As I already stated you can't use o/p/q bootimages on r, as it needs a special commit.
[Xperia Z1 Compact Android Development] tramp20:
@115ek

I open an issue on 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

Perhaps you could look at the last answer from Fox2Code.
[Xperia Z1 Compact Android Development] MIcHiJK:
Can I Flash this on normal Xperia Z1 (C6903)? If not, is it possible to just port this?
[Xperia Z1 Compact Android Development] 115ek:
Of course you could. But I'd bet this won't boot.

However, it shouldn't be that hard to build it for honami as it is really similar to amami.

Have a look at my manifest. You just have to find an up-to-date honami device tree and exchange it with the amami one.

For example that one by @NyQuilXT https://github.com/NyQuilXT/android_device_sony_honami

Then of course you'd need a decent internet connection to download 50 GB source code or so. And 200 GB free diskspace would also be great (on a linux machine, of course.) Maybe you could also use WSL 2 now.

So it totally depends on your abilities. Forget about porting as unpacking a zip file, editing a text file, repacking it - done. That's bull**** in most most cases.

Good luck.

I'd be glad to help you with reasonable questions :)
[Xperia Z1 Compact Android Development] tramp20:
Any news on this ?

The newest Magisk canaries show the same behavior :-(

Flashing the app-debug_07bd36c9.apk (renamed to zip) in TWRP killed this recovery, installing this Magisk in the manager (recommended) ended without error but Magisk is not installed (so as before).
[Xperia Z1 Compact Android Development] multiwirth:
btw offline charging is broken :)
[Xperia Z1 Compact Android Development] veloc_h:
In recovery I select ADB and get the message Enabled ADB

D:\dl\z1c\bitgapps>adb devices

List of devices attached

CB5A216LZU recovery

D:\dl\z1c\bitgapps>adb sideload BiTGApps-arm-11.0.0-R21_signed.zip

loading: 'BiTGApps-arm-11.0.0-R21_signed.zip'

error: closed

Why can't I install bitgapps?

Edit: I tried with another USB and it seemed to work now (

adb kill-server

2) I switched the usb-port

3) adb start-server

4) adb devices

5) adb sideload BiTGApps-arm-11.0.0-R21_signed.zip

Then I get the messages:

- Installing toolbox

- MOunting system

- mounting apex

Unable to find installation layout... aborting unmounting

How do I manage to revert to twrp?

Edit: I managed to reinstall an earlier version of LOS (16.1) using the 18.1 recovery, but didn't succeed to install bitgapps, the device was not recognized... after reboot into recovery the adb sideloard was accepted, but at 47% it finished...

Going to try to test the internal source install in the 18.1 recovery

Installing toolbox

mounting /system

cannot mount aborting...

failed to load keys...

I managed to flash twrp without the bootloader mode:

1)switch off the mobile

2) connect the usb cable to the pc

3)swith on and volume + at the same time

4) fastboot flash recovery twrp-3.4.0-1-amami.img from the command line.
[Xperia Z1 Compact Android Development] 115ek:
I finally managed to upload a new build. This is built from the latest sources.

However, there are still some open points:

finishing SE policy cleanup

signing image

enabling OTA updates

offline charging

?
[Xperia Z1 Compact Android Development] 115ek:
One more build:

24.04.2021

enable OTA updates

switch to enforcing SE linux

start signing builds

I guess there are things broken again now due to SE enforcing. Please share a log if you experience bugs.
[Xperia Z1 Compact Android Development] jho55:
Here you can find GApps for 18.1: MindTheGapps (funny name by the way. When I was in London 20 years ago with my school I bought a t-shirt with that slogan ;) )

They are working for me with the build before the last build.

Redirecting…

Quote from the website: IMPORTANT: If you reboot into LineageOS before installing Google apps, you must factory reset and then install them, otherwise expect crashes.
[Xperia Z1 Compact Android Development] tramp20:
Should Google contacts sync work?

I had no success with several open gapps from

OpenGApps - Browse /arm/test/20210130 at SourceForge.net

OpenGApps daily releases

sourceforge.net

Edit:

the link to MindTheGapps from jho55 (one posting above) did help, thank you.
[Xperia Z1 Compact Android Development] tramp20:
Where can I find the file with the stored WLAN Mac address?

Someone of the devs has changed it from the LOS versions before to another one so I have difficulties to use different LOS versions on the same device.

With the newest LOS 18.1 (signed) the MAC is now xx:xx:xx:89:89:FF

before it was always xx:xx:xx:FA:F5:AB

And I really miss the function "kill running app" with a long pressed back key, please.
[Xperia Z1 Compact Android Development] 115ek:
Yeah, I also noticed this yesterday.

I made some changes to "macaddrsetup" and "btnvtool" services.

Now they are failing due to some permission problems. I just need some time to debug which files are actually affected. So it's more a less a question of when I find time again. Hopefully soon.

The mac addresses are stored in the ta partition by the way.

If reading them fails, most probably a fallback address is used (the one you see right now). But don't worry - they're not deleted. Just not set correctly :)

I can't do much about this. This feature was dropped due to some issues afaik. https://review.lineageos.org/c/LineageOS/android_lineage-sdk/+/289041

EDIT:

Just a hint: If you want to disguise your mac address (like you did with xx:xx:xx) it makes more sense to hide the last three bytes. The first three bytes describe the vendor and it that case the vendor is more or less known. ;)

There are some possibilities as our vendor not only has one vendor bytes triplet though.

:)
[Xperia Z1 Compact Android Development] tramp20:
Thank you I will wait:-)

To the "kill running app":

In the GravityBox there is a setting to do this too but this does not work :-(
[Xperia Z1 Compact Android Development] fowof:
I successfully built ROM for my Z Ultra. I'm happy to use latest OS on my old device.

Thank you very much for your great work!(y)
[Xperia Z1 Compact Android Development] 115ek:
I found some time again.

Please report if the OTA update is working properly.

13.05.2021

fixed wifi MAC address readout

synced LineageOS sources (security patch level May 05, 2021)
[Xperia Z1 Compact Android Development] tramp20:
Thank you for this new update :)

1. OTA tested and it worked but with Magisk versions > 20.4 boot fails because the update changes boot (no more boot to TWRP and/or boot loops).

So I have to update in TWRP first and without booting restore only boot (made ofc before updating).

2. MAC address ok again.
[Xperia Z1 Compact Android Development] jho55:
Issues with 13.05.2021 build:

- btw offline charging is broken

@tramp20 :

I have updated via TWRP and the patched Magisk 22.1(which is mentioned from you in an earlier post) is still working for me. After flashing the rom I have to flash Magisk again. What I always do. MindTheGapps are not needed to be installed again.

Annoyance in 18.1: Background wallpaper is blurred. Also zooms out when going in the app drawer. Seems to be an issue a lot of people are annoyed of. In 17.1 the broken font in the app drawer also bothers me. Still stuck at 16.0
[Xperia Z1 Compact Android Development] Ed_von_Schleck:
Hello,

maybe somebody could help me with a Problem, i can`t connect to my home wifi, but when i switch to the Guest net of the Router (Fritzbox) it works perfect. Its only on 18.1 on the 17.1 it works Perfect.

regards Ed
[Xperia Z1 Compact Android Development] Tom2017:
Hi, i install this rom on my Z1Compact. But i found problem with termux and proot command . Proot is used to install OS in termux (like Ubuntu, Kali, Nethunter) . But when i try install i got every time error (execution stop signal 11 error - segmentation fault) . Even simple command give error:

proot --link2symlink -xf tar file.tar.xz