• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!
  • Fill out your device list and let everyone know which phones you have!    Edit Your Device Inventory

[ROM][Unofficial][11.0] Lineage OS 18.1 for Xperia Z1 compact 19.07.21

Search This thread

tramp20

Senior Member
Jan 15, 2012
739
139
Rosenheim
@115ek,
till now I had LOS 17.1 running on my main Z1c. Camera pictures and QR-codes were fine.

Today I updated to LOS 18.1 (standard) and now all pictures are completely blurred and QR-codes unreadable, an other camera app (e.g. Vignette) shows the same.
I deleted storage and cache of the camera app but nothing changed. The focus ring on the screen does appear.

On two other Z1c with LOS 18.1 all is ok.

Is there a hidden setting to change this?
I need the QR-codes for the CovPass app.
 

115ek

Senior Member
Jan 30, 2017
560
631
@115ek,
till now I had LOS 17.1 running on my main Z1c. Camera pictures and QR-codes were fine.

Today I updated to LOS 18.1 (standard) and now all pictures are completely blurred and QR-codes unreadable, an other camera app (e.g. Vignette) shows the same.
I deleted storage and cache of the camera app but nothing changed. The focus ring on the screen does appear.

On two other Z1c with LOS 18.1 all is ok.

Is there a hidden setting to change this?
I need the QR-codes for the CovPass app.
Is it a dirty installation, meaning no /data wipe?
Could you get some logs?
Does reboot change anything?
 

115ek

Senior Member
Jan 30, 2017
560
631
Thank you, in the mean time I remembered that (long ago) this camera problem was caused by not wiping all.
So I made this time a factory reset and now the camera is working fine.
Anyway that could be problematic when we're switching from 17 to 18 later on. Actually an upgrade (without wiping) should be possible. Maybe we need to investigate it further then.
Perhaps /data/credmgr needs to be cleaned. At least that comes to my mind with camera issues.
 
  • Like
Reactions: tramp20

tramp20

Senior Member
Jan 15, 2012
739
139
Rosenheim
Perhaps /data/credmgr needs to be cleaned. At least that comes to my mind with camera issues.
I have 5 Z1c to play and test :)
On two of them (LOS 17.1) the auto focus did not work since long time.
On both I deleted /data/credmgr and on the first one the auto focus is working now.
But on the second not (permission of /data/credmgr is 0770), of course rebooted.


Edit: After updating this smartphone today to LOS 17.1 20210710 the camera does auto focus now.
But I don't know why.
 
Last edited:
Aug 21, 2013
7
0
Does the OTG function on Lineage-18.1? Thinking of trying it on a handheld gaming device that uses the Z1 Compact inside it (Z Pocket Game). OTG is critical so that the physical controls work properly. Someone has had success with Lineage-17.1 on this gaming device but I'm wondering if it's worth giving 18.1 a go?
 

115ek

Senior Member
Jan 30, 2017
560
631
Does the OTG function on Lineage-18.1? Thinking of trying it on a handheld gaming device that uses the Z1 Compact inside it (Z Pocket Game). OTG is critical so that the physical controls work properly. Someone has had success with Lineage-17.1 on this gaming device but I'm wondering if it's worth giving 18.1 a go?
OTG should work as it did on 17.1.
I just tried a using a mouse as input device: worked flawlessly.
It may be that your external input device / gamepad is not configured in the kernel yet. Then a recompilation of the kernel with an adapted kernel config would be required. (Or, even worse, the input device you want to use isn't even supported on our ancient 3.4 kernel).
 

115ek

Senior Member
Jan 30, 2017
560
631
A new build including the latest lineage sources was uploaded and should reach via the OTA updater.
Furthermore, there are plans to bring a lineage 18 microg version as well. It is currently being worked on. (@MSe1969 )
There may be a first testing version soon.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    A new build including the latest lineage sources was uploaded and should reach via the OTA updater.
    Furthermore, there are plans to bring a lineage 18 microg version as well. It is currently being worked on. (@MSe1969 )
    There may be a first testing version soon.
    1
    Is it a dirty installation, meaning no /data wipe?
    Thank you, in the mean time I remembered that (long ago) this camera problem was caused by not wiping all.
    So I made this time a factory reset and now the camera is working fine.
    1
    Thank you, in the mean time I remembered that (long ago) this camera problem was caused by not wiping all.
    So I made this time a factory reset and now the camera is working fine.
    Anyway that could be problematic when we're switching from 17 to 18 later on. Actually an upgrade (without wiping) should be possible. Maybe we need to investigate it further then.
    Perhaps /data/credmgr needs to be cleaned. At least that comes to my mind with camera issues.
    1
    ---
    Furthermore, there are plans to bring a lineage 18 microg version as well. It is currently being worked on. (@MSe1969 )
    There may be a first testing version soon.

    Perfect, thanks in advance :)
  • 10
    Code:
    #include <std_disclaimer.h>
    
    /*
    * Your warranty is now void.
    *
    * We are not responsible for bricked devices, dead SD cards,
    * thermonuclear war or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at us for messing up your device, we will laugh at you. Hard & a lot.
    *
    */
    Status
    List template by AdrianDC
    Code:
    - Boot : Ok
    - Partitions (Data, Cache) : Ext4 and F2FS supported
    - Bluetooth : Ok but MAC address is not correctly set (random address)
    - WiFi : Ok
    - WiFi Hotspot : Ok
    - RIL - Phone - Data : Ok
    - GPS : Ok
    - Camera : Ok
    - Camcorder : Ok
    - Lights : Ok
    - MicroSD : Ok
    - Accelerometer : Ok
    - Compass : Ok
    - Gyroscope : Ok
    - Touchscreen : Ok
    - FM Radio : Ok
    - ANT+ : ?
    - Vibrator : Ok
    - Microphone : Ok
    - Audio & music : Ok
    - Bluetooth audio : Ok
    - MHL: broken
    - NFC : Ok
    - Kernel : Ok
    - Graphics : Ok
    - 3D Rendering : Ok
    - Clock : Ok
    - Offline Charging : Ok
    - USB : Ok
    - USB OTG : Ok
    - Encryption : ?
    - SEPolicies : enforcing
    GApps
    You could install additional Google Apps if you want to. This has to be done directly after the lineage installation BEFORE the first boot.
    The smaller the package, the better in terms of performance. (None is of course the most performant). If you want "Okay google" support you need at least nano. Else I'd recommend pico.

    Downloads:
    OpenGapps
    BitGapps
    MindTheGapps (mirror)

    Limitations
    Following limitations are known:
    • NFC-HCE does not work (needed for example for google pay)
    • FM does not work in stereo mode (mono works fine, though)
    • MHL does not work
    • more to be figured out
    Download
    FAQ

    I've got problems AND have magisk/exposed installed
    I won't support anything related to magisk/exposed/other heavily system modifying things.
    If you're encountering problems please make sure you're using a clean installation (at most gapps) to verify/reproduce the issue.

    Bugreports
    You'll find information about logging here.
    Please also note how you got the error or how it can be reproduced.
    Sources
    Credits
    • SpiritCroc: big thanks to him for maintaining the device trees and a lot of very useful hints
    • koron393
    • NeoArian: also big thanks to him ;)
    • rcstar6696
    • SuperLamic
    • drakonizer
    • AdrianDC
    • munjeni: thanks for tips and tricks
    • nailyk: thanks for tips and tricks
    • All the other contributors on sony msm8974 platform
    • LineageOS team


    XDA:DevDB Information
    Lineage OS 18.1 for Xperia Z1 compact - amami, ROM for the Sony Xperia Z1 Compact

    Contributors

    115ek, SpiritCroc, koron393, NeoArian, drakonizer, rcstar6696, SuperLamic, AdrianDC, nailyk, LineageOS team
    Source Code: https://github.com/115ek/manifest

    ROM OS Version: Android 11
    ROM Kernel: Linux 3.4.x

    Version Information
    Status:
    Testing

    Created 2020-12-06
    Last Updated 2021-07-19
    5
    New build
    20.06.2021
    • added livedisplay
    • synced LineageOS sources (security patch level June 05, 2021)
    5
    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)
    3
    New build. :)

    22.05.2021
    • fixed NFC settings not shown (ref)
    • fixed offline charging
    3
    New build is up:
    • Lineage 18.0 -> Lineage 18.1 (android-11.0.0_r17 -> android-11.0.0_r19)