yashsingh1/xdaforums huggingface dataset:
[Xperia Z1 Compact Android Development] MSe1969:
I see - well, in many cases, the mobile browser does its job, too - I haven't mentioned this specifically, but that applies also to many cases... (Which often means, that there also is less tracking) - browser visiting the site for sure good enough to find vegan restaurants nearby.

You could also try to flash the microG build variant of this ROM, which should at least let you use the app and even receive push messages, but it won't let you do in-app purchases. (Which I personally anyhow find a bit disturbing - to me, this app is a typical example of integrating Google dependencies without a true need, its functionality could also be provided without Google crap and still be a good app for people looking for vegan food)

Besides, what others and me have commented, applies...
[Xperia Z1 Compact Android Development] 2faraway2:
As @MSe1969 mentioned:

Mobile browser also may be a good alternative .. I personally use the microG build. MicroG works for all my apps which require the play services ... (not only on this device :) )
[Xperia Z1 Compact Android Development] Queen of Scots:
I have no influence on the app builders and all the Gulag terror they install. The only reason i wanna have it working is that you then can use it offline with saved info!

APP ONLY Save places for offline, make the map yours https://www.happycow.net/mobile

So how get from the sTANDARD os situation now in the Pre-installed microG build variant?

'Just' reflash with microG build variant via TWRP?

Well i turned off the device, press and hold both volume down and power, not TWRP but some LOS 18.1 RECOVERY screen appears.

How proceed?
[Xperia Z1 Compact Android Development] Queen of Scots:
Hi there, we are pretty much stucked. Maybe someone could just confirm since we are not used to thes proceedings?!

lineage-18.1 standard is installed.

We have to install MicroG.

We have put the 'amami/LineageOS_18_signed/lineage-18.1-20221112-UNOFFICIAL-microG-signed-amami.zip' on the sd card.

Restart the Sony by ‘Power’ button and the ‘Volume down’ button. Weirdly enough we are now not in TWRP but in LOS recovery mode...v18.1 (20221112).

Do we need to install twrp-3.4.0-1-amami.img first or can we just proceed with the LOS recovery?

recovery/advanced/ reboot to recovery?

OR

recovery/ apply update ?

Thanks for your time.
[Xperia Z1 Compact Android Development] MSe1969:
Seems you may have had the option active in the settings to overwrite the recovery when updating ?

OK, whatever - I recommend to flash the TWRP recovery first. Once that is done, please make a full backup in TWRP, so if something goes bad, you still can restore your current state.

As you haven't flashed Gapps on your standard variant, it should be easily possible to "dirty-flash" the microG variant over the standard build, so simply install the microG ROM ZIP file from TWRP after you've made a backup.

A general recommendation is, that if (and

only

if) apps, which you had installed before, start to "misbehave" should be uninstalled and installed again.
[Xperia Z1 Compact Android Development] Queen of Scots:
The last 2 hours i've spent finding out how to install ADB/Fastboot again and how to flash TWRP.

Still no TWRP when reboot wiith power+ volume down! Only the before mentioned LOS 18.1 recovery...

What happened WITH TWRP?!
[Xperia Z1 Compact Android Development] MSe1969:
Did you follow the linked install instructions in the OP (there is a link to another thread)?

Basically, the flash instruction to flash TWRP via fastboot differs from (almost) every other device: Instead of 'fastboot flash recovery twrp.img' the instruction for the Z1c must be:

fastboot flash FOTAKernel twrp.img
[Xperia Z1 Compact Android Development] Queen of Scots:
I'm very curieus about what link your talking. On https://xdaforums.com/t/rom-unoffic...ineage-os-18-1-for-xperia-z1-compact.4199113/ is ONLY:'How to install TWRP' No mentioned code there.

I've searched ALL 16 pages.

The magic words'fastboot flash FOTAKernel twrp.img' are nowhere to be found. Until you've mentioned it just right now...

Please give me the exact url where you think this is shown.

thanks
[Xperia Z1 Compact Android Development] MSe1969:
I quote from the OP:

Installation instructions
[Xperia Z1 Compact Android Development] MSe1969:
Please look at my previous post (forgot to qutoe you).

The shown link contains the OP of a previous ROM for this device, with detailled installation instructions and also how to switch between the build flavors.

Here is the link again:

https://xdaforums.com/sony-xperia-z...rom-lineageos-15-1-xperia-z1-compact-t3884247
[Xperia Z1 Compact Android Development] MSe1969:
New builds available

Hi,

new builds with the December '22 ASB patches (Security String 2022-12-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-20221211-UNOFFICIAL-signed-amami.zip/download

Security string 2022-12-05

System Webview 108.0.5359.79

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

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

Security string 2022-12-05

Bromite Browser and Webview on 108.0.5359.106

microG updated to 0.2.26.223616-2

@115ek - please update OP / Change log

Happy flashing, regards, M.
[Xperia Z1 Compact Android Development] ARJ007S:
I have just unlocked the bootloader and tried flashing this ROM, followed all the steps. But as I boot into the Lineage OS and after 1 -2 min, it restarts and never boots again, stays on booting animation. I have to turn off the device and then power on again but the problem still remains and reboots after 1-2 mins. I cleaned flash Lineage 18.1 and used twrp-3.4.0-1-amami but it gets overwritten by lineage recovery after reboot.
[Xperia Z1 Compact Android Development] MSe1969:
Hi, just to make sure:

You were able to flash the ROM and it even did boot into LineageOS, but once you are in LineageOS, it suddenly reboots after 1-2 minutes and your are stuck in a boot loop, which you can only escape by forcefully switching off the device - correct?

I have some questions:

The device worked fine with the Stock ROM before, correct? (To exclude the possibility, that its a hardware defect)

You really did a clean flash - i.e. you have wiped the partitions and you have

not

attempted to flash the ROM over your current software?

Have you tried already - to be on the safe side - to even format the /data partition?

You have not flashed any stuff in addition ?

Which build variant ?

In regards to "boots into Lineage Recovery" - you have hopefully flashed TWRP with the command fastboot flash FOTAKernel twrp.img as explained in the instructions and NOT with the common, but in this case wrong command 'fastboot flash recovery twrp.img' ?

What might be helpful is to produce a log - if you say that you have 1-2 minutes in LineageOS before it reboots, you have enough time to enable the developer options and enable debugging, connect the phone via adb and simply type adb logcat > mylog.txt on your PC (it is normal, that this will look like "hanging" and needs to be stopped only via Ctrl+C) and wait, until the device reboots again. If we are lucky, the contents of mylog.txt should give some more indication.
[Xperia Z1 Compact Android Development] ARJ007S:
Hi,

Thanks for replying and giving detailed troubleshooting steps.

And to answer your questions.

1. I have recently changed the battery of this device and have used this device for atleast 1 hour for testing on stock ROM. It did suddenly restarted after the first booting of stock rom. But, after that it worked without any problems for atleast 1 hour. During that time, I updated all the apps and also recorded a small video.

2. Yes, I did a clean flash i.e. wiped "Dalvik", "System", "Cache" and "Data" from advance wipe from twrp and then I flashed the ROM by going into Install in TWRP and selecting the Lineage ROM (I transfer ROM using MTP in twrp). Then I reboot to system.

3. Yes, I wiped the data partition.

4. I am only flashing the standard build "lineage-18.1-20221211-UNOFFICIAL-signed-amami".

5. lineage-18.1-20221211-UNOFFICIAL-signed-amami

Yes after unlocking the bootloader. I switched off the phone and went to fastboot mode, used fastboot flash FOTAKernel twrp.img to flash and went directly to recovery using hardware buttons.

About that log, I have turned on USB Debugging from the developer settings but when I connect to PC. It does not show under adb devices and no USB debugging is active notification is shown on the phone. MTP works but Debugging doesn't. Thus, unable to log the records.

Also opening the recovery, wiping the partitions, or be it flashing the ROM. It takes additional 8-15 mins. Wiping is instant but "Updating partition details..." after each operation or opening the recovery takes a lot of time. Is it normal ?
[Xperia Z1 Compact Android Development] Dystinato:
When I changed the battery on my Z1 Compact, I remember having issues with the NFC antenna, and I had to remove it to get the phone up again. Are you absolutely sure, that the antenna survived the battery swap without taking damage? And are you absolutely sure that the antenna is mounted/placed properly so the contacts pads on it are touching the pins in the phone as they should?

When you connect the phone to a computer for USB debugging, you should get a popup on the phone which prompt you to accept pairing for debugging. If you do not get and accept that popup, you will not get access to the log on the phone. You may have a look at this for problem solving.
[Xperia Z1 Compact Android Development] MSe1969:
You could try to really FORMAT the /data partition from TWRP (this however will also delete your "Internal Memory")

No, it's definitely not - That is why I suggested to try formatting (not only wiping) the /data partition.
[Xperia Z1 Compact Android Development] ARJ007S:
I tried formatting too, it didn't help.

It was under Wipe > Format right ?
[Xperia Z1 Compact Android Development] MSe1969:
Yes, that is what I meant...

(EDIT: Sorry f. my delayed answer)
[Xperia Z1 Compact Android Development] MSe1969:
New builds available

Hi,

new builds with the Janaury '23 ASB patches (Security String 2023-01-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-20230107-UNOFFICIAL-signed-amami.zip/download

Security string 2023-01-05

System Webview 108.0.5359.128

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

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

Security string 2023-01-05

microG updated to 0.2.26.223616-16

@115ek - please update OP / Change log

Happy flashing, regards, M.
[Xperia Z1 Compact Android Development] jo_that:
Hello All!

A couple of years ago I switched back to a push button phone (Nokia E72, which I love so much as well as Symbian) and since than I've been using my Z1 Compact mainly for taking photos, recording videos and confirming money transfers through the bank's app. Which stopped working on Android 5 this week. So it looked that I have to buy a new phone just to be able to use the bank's app, which was a very annoying thought.

Spending a couple of hours with searching, reading and trying, I was able to update my phone to Android 11, which makes the bank's app happy, which makes me happy. :)

I came here just to say an extremely huge thank you for everyone, who is involved in this project!

And it's is not just about saving money. Basically I'm an "instead of throwing it away and buying a new one, let's just try to fix it, maybe we can use it more" sort of person.

So very-very big thank you!

Maybe it can be helpful for someone: my phone had Android 5.1.1 and the 3.4.0.1 version TWRP worked for me (with the "fastboot boot twrp.img" command). I found it in this topic.

Thank you guys, you're awesome!
[Xperia Z1 Compact Android Development] rolli1717:
After XX years flashing a Samsung Galaxy II i tried again and failed with my old love the Amami.

i was able to flash a Dstriker V04 over last stock 5.1.1.

then i updated twrp to 3.4.0.1 and wrote the twrp file to kernel area. hahaha. that was stupid.

It did not boot again, but some way the file updated twrp to desired version and i was able to delete the system and flash this new version from here.

stupid again i used Gapps bitgapps? (one of them reported as stable and good pages before) BUT took arm64. hahaha.

i had problems with connecting. this was a problem of drivers in win10. i went back to my old laptop win7, where i installed adb and drivers years ago and the connection was running at first try.

there are only error messages, but they dont say driver not active or blocked. even a stupid charger cable can cost you 1 hour.

try data transfer with your micro usb cable before!!!!!!! will save you 1 aveneing. ;-)

i was really suprised that all of the important things for me are running well. Wifi, GPS, play store,

Camera also working with a few interesting and funny modes.

i also can confirm LDAP over BT to a shanling M0 unit which is kind of crazy for a 2014 phone ;-) so i have a HQ BT TX device with spotify and i can leave my main phone in the pocket.

ok, it was just to learn again how to install ROMs. i also replaced battery and back plate from my sony to new one. i will use it as permament JBV1 unit in my car and for adbs alert unit when i go flying fpv.

i can confirm twrp 3.4.0.1 working with this ROM

Question to other users:

Which way do you prefer to backup (full) the whole system to a flashable file.

Seedvault seems fine, but these 12 words passphrase.... maybe a other one with one long pass?
[Xperia Z1 Compact Android Development] lm089:
I'm still using twrp's Nandroid. Never let me down on my old Sony devices
[Xperia Z1 Compact Android Development] MSe1969:
New builds available

Hi,

new builds with the February '23 ASB patches (Security String 2023-02-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-20230218-UNOFFICIAL-signed-amami.zip/download

Security string 2023-02-05

System Webview 109.0.5414.118

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

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

Security string 2023-02-05

microG on 0.2.27.223616-3

Spoof apps installed by G*PlayStore *)

*) Apps installed by Aurora are now spoofed as "installed by Google PlayStore". This should fix such issues, where certain apps complain or refuse to run, when installed via Aurora - the internal string they expect is "com.android.vending", which translates in this build to the FakeStore app, so don't be worried, if the app info tells you "installed by FakeStore"

@115ek - please update OP / Change log

Happy flashing, regards, M.
[Xperia Z1 Compact Android Development] kaem84:
Video recording stopped working after the update. Message appears:

Could not start media recorder. Can't start video recording
[Xperia Z1 Compact Android Development] MSe1969:
On my own device, my camera app works without issues, I can record videos. The contents of the ASB patches and the fact, that the kernel wasn't touched, also give no indication of any regression in regards to video functionality.

Which build flavor do you use? Which app do you use for video recording? Are you using any custom kernel, magisk modules or other stuff, which you have flashed on top?

Without any technical details, I can't help! Best would be to produce a log, while you experience your issue.
[Xperia Z1 Compact Android Development] Dystinato:
I have the exact same issue. It started after an update (not the most recent, though), the camera works perfectly for pictures but when trying to record a clip, the auto white balance gets stuck and when trying to start a recording, this message comes up. After I had this issue, the camera started to work again for unknown reasons but now the issue is back.

EDIT: Attached logcat, line 590 and after is when the recording should start. Camera related errors prior to line 590 included for completeness.
[Xperia Z1 Compact Android Development] kaem84:
I can't give you a log file because I can't do it ;P I'm using Standard LineageOS 18.1 build + Open Gapps pico installed by me. I used the camera app that came with LineageOS. I don't use magisk, I don't have root access. I updated from version 06.01.2023 to 18.02.2023 via OTA update (after downloading the update, the phone rebooted and updated itself in TWRP Recovery without any errors.) By the way, I will ask: does anyone know what GCam will work on the Z1 Compact with Lineageos 18.1?

---

I would like to take this opportunity to thank you for a great custom rom. Only now, after so many years, have I decided to install something other than the official 5.1.1 system from Sony. The difference is colossal - the phone works smoothly the same as the day I bought it
[Xperia Z1 Compact Android Development] MSe1969:
Thanks for the log - unfortunately, at first sight, there is no really clear indication of the issue.

I remember once (don't remember however on which of my devices/ROMs), that clearing the cache and the Camera app memory (you won't really loose anything important - only app settings and defaults and you will have to grant the permissions again) has helped to make a misbehaving Camera app work properly again. Maybe worth a try?
[Xperia Z1 Compact Android Development] Dystinato:
Clearing app storage and cache is always the first thing I do when apps are misbehaving, but in this case it does not fix anything. Thanks for looking at the log anyway! :)
[Xperia Z1 Compact Android Development] tramp20:
I had similar camera problems years ago.

If I remember I had to delete the directory \data\credmgr,

You should make a backup ofc.
[Xperia Z1 Compact Android Development] mfessler:
Hello everyone,

first of all, thank you for keeping the device alive!

One Problem: I only get about 3 Mbit/s DL speed via WiFi 2.4 GHz.

Interestingly, it doesn't seem to affect the upload - here I get "my" full 15 Mbit/s.

I have full speed (60 Mbit/s) in the 5 GHz band. Same with other clients, however there also in the 2.4 GHz band.

Has anyone observed something similar?

Thanks and greetings,

Martin
[Xperia Z1 Compact Android Development] lm089:
late answer... - no, can't confirm here, but all my devices usually connect using the 5 GHz band (too many concurring 2.4GHz routers in my neighborhood).

You give 60Mbit/s, so I guess that's the internet connection, not the one between device and router, right? If other devices have more D/L bandwidth then the limiting factor most probably is the WiFi connection between device and router, I'd say.

Do you observe the same behaviour when connecting to a different router like a public hotspot? If not you should look at your router's configuration and/or your neighborhood; there are apps like AVM's Fritz!App WLAN showing you what's going on around you in WiFi world, thus helping you to configure your router.
[Xperia Z1 Compact Android Development] MSe1969:
New builds available

Hi,

new builds with the March '23 ASB patches (Security String 2023-03-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-20230319-UNOFFICIAL-signed-amami.zip/download

Security string 2023-03-05

System Webview 111.0.5563.58

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

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

Security string 2023-03-05

Bromite Webview replaced by Mulch Webview 111.0.5563.58 *)

*)

Some explanation regarding Bromite and Webview in general:

Bromite hasn't received updates since end of last year. It is meanwhile 3 major versions behind Chromium upstream, so this becomes a security issue! I have decided to bundle the Mulch Webview from the DivestOS project with my build, as it comes very close to my original motivation to bundle Bromite - it is mainly a Chromium webview with many patches applied from the GrapheneOS project.

Whilst replacing the webview won't have any noticeable impact in most cases, I have decided to keep the outdated Bromite browser for now, although I encourage you to install and use a replacement! It wouldn't be fair to have you loose bookmarks and/or currently open sites as a "surprise" from the upgrade. Replacement candidates could be Chromium and forks or Firefox and forks (have e.g. a look to Mull on F-Droid).

Please be informed, that my next build in April will ship again LineageOS' Jelly browser, which uses the underlying system webview - Bromite browser will then not be shipped any longer! (You can of course install any browser, including Bromite)

@115ek - please update OP / Change log

Happy flashing, regards, M.
[Xperia Z1 Compact Android Development] lm089:
It's about time to once more say THANK YOU for keeping this sturdy little thing alive (y):love:! If it wasn't for the lousy camera and the really slow GPS connection it probably still would me my daily device

Just out of curiosity: do you have a vague idea how many downloads you have per patch? Would be interesting to guess how many Z1c devices are still in use, sort of...
[Xperia Z1 Compact Android Development] MSe1969:
You can watch yourself when visiting SourceForge:

lin18 - Browse /amami/LineageOS_18_signed at SourceForge.net

sourceforge.net

Download statistics are next to the download links (you can set the time intervals accordingly)

EDIT:

- The February 2023 update's standard flavor had 270 downloads up to now

- The February 2023 update's microG flavor had 77 downloads up to now

- The January 2023 update's standard flavor had 344 downloads up to now

- The January 2023 update's microG flavor had 122 downloads up to now
[Xperia Z1 Compact Android Development] kaem84:
I did a clean flash of the version from 03/19/2023 and video recording in the Camera application (org.lineageos.snap) still does not work.

I'm going back to the version from 7.01.2023 where the recording worked
[Xperia Z1 Compact Android Development] tobogabi:
Hello,

I was very surprised to find this ROM for my Z1 compact and the most of features are working well, very good work.

Have the newest build, not rooted with BiTGapps installed.

Device is certified in Play Store , SafetyNet says all good, but Google Wallet says that Google Pay not works on this device. Another thing is, that Google safety check website means, that no screen lock is set. Tried with PIN and pattern, no change. Has anyone an idea to this? Till now I've found only messages from users with rooted devices.

By the way...video recording here also not works.
[Xperia Z1 Compact Android Development] MSe1969:
Thanks for your positive feedback.

I am not truly interested in Google apps stuff (and as far as I know, neither is @115ek), so unfortunately, the two of us won't be able to properly help here... I hope anybody else is able to support. However, I am not too optimistic - the Z1c is a very old device, the drivers/firmware were built for Android 5.x and Gapps is a "blackbox", when it comes to whatever fancy Checks the Google stuff does...

Just to be sure: You simply mean using the camera to record a video, correct?