• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

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

Search This thread

Beni777

Member
Sep 27, 2021
24
4
You should read my posting in Github:
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 :-(
Thank you the Magisk is working now!
 
  • Like
Reactions: tramp20

fiddler21

Member
Oct 14, 2021
5
2
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:
View attachment 5435123
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:
  1. Disable this option (somewhere under developer options I think. Maybe @MSe1969 could jump in here. Else I'll have another look in the evening.)
  2. Flash the TWRP
  3. Verify it is the TWRP
  4. Check updating again
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!
 
  • Like
Reactions: 115ek and MSe1969
The "Recovery" should change to "LOS Recovery" to make this clear because it is not the TWRP recovery.
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...
 
  • Like
Reactions: 115ek
Z1 compact get android 12? This phone can run 12?
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...)
 

Beni777

Member
Sep 27, 2021
24
4
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.
 
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.
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?
 

115ek

Senior Member
Jan 30, 2017
587
662
Maybe we understand something different from "fresh install".
I just tried to reproduce your problem on my side. I did the following:
  1. wiped /data, /system and all caches (I'd suggest you to also wipe the internal storage to be completely on the safe side)
  2. installed
    1. lineage-18.1-20211013-UNOFFICIAL-signed-amami.zip
    2. open_gapps-arm-11.0-pico-20211021.zip
  3. reboot
  4. set up google account
  5. Download and install Chrome and a couple of other apps.
I had no issues at all.
Given the fact that no one else here had issues with that before, I'd guess something on your side is going wrong.
Please check the above mentioned steps.
 
  • Like
Reactions: o-l-a-v

Beni777

Member
Sep 27, 2021
24
4
You missunderstand me, i wiped all the possible space with internal storage but the problem is remain.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 9
    You can dropp apps on android 12 with one finger this very good feature missing from android 11
    I have already explained in detail our approach in regards to coming (or not) to the next major Android release. This approach is for sure not influenced or accelerated by comments, strong desires or feature advertising in regards to the next Android version.
    This is my last comment on that topic, we will from now on ignore any further comments or statements pointing to the next Android release!
    7
    New builds with November 2021 ASB patches

    Hi all,
    new builds with the Octrober '21 ASB patches are available and should be offered already as OTA update through the Updater app:

    A. Standard LineageOS 17.1 build
    • Security String 2021-11-05
    • System Webview on 95.0.4638.50

    B. Pre-installed microG build variant with additional security patches
    • Security String 2021-11-05
    • Bromite System Webview and Browser updated to 94.0.4606.109

    @115ek - please update OP/Changelog

    Happy flashing, regards, M.
    5
    Thanks for the update, I updated via mobile update app and works perfectly... I waiting for android 12 very much because lot of samsung phone have android 12 (lineage os 19) now and very COOL

    Lot of new functions like one handed mode, new style ... etc
    Z1c is one hand mode by design. :)

    Be happy a phone from january 2014 that came with Android 4.3 is even supported with security updates by anyone.
    3
    This thread aims at providing LineageOS 18.1 builds for the Sony Xperia Z1 compact with current security patches.
    You can consider this thread as a successor of our LineageOS 17.1 thread, where you may also find some useful information.
    This is the joint effort of 115ek and MSe1969 (contributions welcome).

    Just wanted to share my success story and thank all the developers for their awesome work on this ROM! :love:

    Some quick background info: my device is several years old and it was sold to me as "not working", "for parts only". After buying it, I once managed to boot it enough to see that it was running a version of CyanogenMod but that was it. For several years it's been a surprisingly expensive paperweight and nothing else. Just for the sake of it, I decided pulling it out yesterday and seeing what, if anything, happens if I press down the hard reset button located next to the SIM card slot. Lo and behold, the phone vibrated!

    After a crash course in adb and its several quirks and other related, relevant things, I thought I knew what to do and how to proceed. Luckily for me, the phone had a TWRP version installed so I didn't need to figure that out. Phew!

    ...so imagine my shock and horror when the OS (the old CyanogenMod one, that is) had been wiped out and the Lineage OS ROM, despite really being the correct one, refused to flash! I'm not sure what was going on there, was it a TWRP bug or something, but despite my device being an amami, it was reporting itself (in TWRP at least?) as "" (i.e. empty string), and thus the
    Code:
    assert()
    call in
    Code:
    updater-script
    was failing. Darn!

    After searching a bit I ended up in an XDA thread for a different device&ROM with the same issue and I went with the solution suggested there: just removing the assert() call, because I knew that the target device was correct.

    That worked and I was able to flash the ROM successfully! (y) Not my first rodeo with adb and the like, but the first time I flashed a ROM. Admittedly it was a somewhat stressing procedure, and my stress was only alleviated by the knowledge that this is my paperweight, and not someone else's daily driver.

    How are the telephony features on amami/honami on Lineage OS 18.1? I'm thinking of gifting a honami as a Christmas present to someone who is not that tech-savvy and uses the phone still for calls as well as for browsing the Internet, so having reliably working telephony features is a must. (Whereas for me, I'm just planning on using my amami as a testbed for mobile development related things so I'm not too concerned about telephony.)

    Relatedly, some newbie questions that might be answered elsewhere but I was unable to locate the answers, so apologies in advance...
    1. Where do the Bromite UI strings come from? A few (e.g. "Bookmark all tabs", "View source" and "Exit" in the main "three dots" menu) are untranslated into my language and I'd like to help out with the translation effort where possible.
    2. Related to #1, the "Contacts" app name is correctly translated (as "Yhteystiedot") but in the app drawer view it shows up as "Yhteystie..." - is there a way to force the UI to render the whole word instead of three dots if and when the "truncated" word with three dots is equally long as the "full" word? (Yes, this is a super minor nitpick, I know!)
    3. My device has a battery/charging-related problem that I assume is specific to my faulty device rather than the ROM, but I'll ask anyway...so, when charging, the screen turns on and if I manually turn it off, it'll just turn on again in a few seconds and it didn't charge past 33-34% in my testing yesterday. adb logcat output, which I dumped into a file, has some suspicious lines about a Daydream issue in the com.android.deskclock.Screensaver package. Some quick searching suggests that it's a known issue that oughta be very easy to fix. Can someone confirm/deny the existence of this Daydream-related issue? And does it impact charging and/or the battery in any way?
    4. Potentially related to #3 and why the screen won't turn off on my device, but the adb logcat output has some suspicious lines related to "Telecom" and Bluetooth features etc. Are these messages just log noise or potentially indicative of some sort of a problem? I'd be more than happy to post snippets here or on a pastebin etc. for a developer to take a look at if this is something worth investigating.

    Again, my thanks to all the awesome people working on keeping amami alive - hard to believe that little device is turning 8 years old next January! It's quite a lifespan for a mobile phone these days, and it would not have been possible without all of you! :D
    2
    How are the telephony features on amami/honami on Lineage OS 18.1?
    Telephony works. Hands-free mode is not that good I think. But only the other caller will suffer. But to be honest I haven't used hands-free mode for a long time.
    When it comes to honami: I think there are some guys around building images. Actually this isn't hard at all as honami and amami are quite similar. However, the honami support is not that - let's say - continuous, compared to amami.
    Also: some things I've seen in the honami threads are not very professional. At least in my opinion.
    Where do the Bromite UI strings come from?
    Bromite is basically a patched Chromium. So I'd check out https://www.chromium.org/developers/design-documents/ui-localization
    It would be best to improve the localization there.
    However, you could also contribute to Bromite directly.
    Example for changing UI strings:
    is there a way to force the UI to render the whole word instead of three dots if and when the "truncated" word with three dots is equally long as the "full" word?
    I'd try reducing the font size: Settings/Display/Font Size or display size Settings/Display/Display Size.
    Can someone confirm/deny the existence of this Daydream-related issue? And does it impact charging and/or the battery in any way?
    Sounds more like a hw-related issue, when your battery can't be charged above 33%. I rarely face an issue where the ambient display does not turn off at all after being activated. But you can also disable the ambient display.
    Or are you talking about offline charging - so without android being booted?
    Are these messages just log noise or potentially indicative of some sort of a problem?
    Hard to say. But often they can be ignored. When something does not work as intended it makes sense to have a deeper look.



    Btw: You should install the latest TWRP to be able to use the OTA update functionality. https://forum.xda-developers.com/t/recovery-unofficial-amami-twrp-3-4-0.3960699/
  • 12
    This thread aims at providing LineageOS 18.1 builds for the Sony Xperia Z1 compact with current security patches.
    You can consider this thread as a successor of our LineageOS 17.1 thread, where you may also find some useful information.
    This is the joint effort of 115ek and MSe1969 (contributions welcome).

    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.
    *
    */

    We offer two build variants:
    A. Standard LineageOS 18.1 build
    This build flavor aims at providing LineageOS 18.1 "as is" with most recent security patches.
    If you want to install Google Apps (GApps) you have to use this build variant.
    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)

    B. Pre-installed microG build variant with additional security patches
    For the security/privacy focused (more details about below feature list, see here)
    • Pre-installed microG and F-Droid same as the LineageOS for microG project
    • Pre-installed AuroraStore
    • eSpeak TTS engine (FOSS TTS solution)
    • Bromite as default browser
    • Additional security hardening features listed below
    • Cloudflare as default fallback DNS (instead of Google)
    • Privacy-preferred default settings
    • Optional blocking of Facebook- and Google-Tracking (Settings - Network & Internet)
    • Optional disable captive portal detection or choose from various providers (default is GrapheneOS and not Google; Settings - Network & Internet)
    • Increased max. password length of 64
    • No submission of IMSI/phone number to Google/Sony when GPS is in use
    • Default hosts file with many blocked ad/tracking sites
    • Privacy-enhanced Bromite SystemWebView
    • Extra control of sensor access for additionally installed user apps (Special access under app permissions)
    • Firewall (control internet access per app - under Trust)
    • Constified JNI method tables


    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+ : broken
    - 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
    - DRM: Ok, Widevine L3
    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
    • ANT+ does not work
    Download
    FAQ
    What recovery system to use?
    Please use this TWRP if you want to use OTA updates and/or encryption.

    What about root access?
    Root isn't included per default (except root over adb, but it's off by default).
    If you want to gain root access to your apps use magisk (everything > 20.4 is broken):
    ANT+ isn't working?
    You need the 2 apps:

    afterwards setting proper permissions is essential!
    1. Go to Apps & Notifications -> See All Apps
    2. Select 'ANT Radio Service'
    3. Select Permissions
    4. Select Additional permissions
    5. Slide switch to allow using of ANT hardware
    This refers to those instructions which worked for me :)
    I've got problems AND have magisk/exposed installed
    We 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
    • 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

    Installation instructions


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

    Contributors

    115ek, MSe1969, SpiritCroc, NeoArian, drakonizer, rcstar6696, SuperLamic, AdrianDC, nailyk, LineageOS team
    Source Code: https://github.com/lin18-microg/local_manifests

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

    Version Information
    Status:
    Stable
    Stable Release Date: 2021-10-14

    Created 2020-12-06
    Last Updated 2021-11-14
    9
    You can dropp apps on android 12 with one finger this very good feature missing from android 11
    I have already explained in detail our approach in regards to coming (or not) to the next major Android release. This approach is for sure not influenced or accelerated by comments, strong desires or feature advertising in regards to the next Android version.
    This is my last comment on that topic, we will from now on ignore any further comments or statements pointing to the next Android release!
    7
    New builds with November 2021 ASB patches

    Hi all,
    new builds with the Octrober '21 ASB patches are available and should be offered already as OTA update through the Updater app:

    A. Standard LineageOS 17.1 build
    • Security String 2021-11-05
    • System Webview on 95.0.4638.50

    B. Pre-installed microG build variant with additional security patches
    • Security String 2021-11-05
    • Bromite System Webview and Browser updated to 94.0.4606.109

    @115ek - please update OP/Changelog

    Happy flashing, regards, M.
    6
    you are a rude person, be a little kind.
    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.
    5
    New build
    20.06.2021
    • added livedisplay
    • synced LineageOS sources (security patch level June 05, 2021)