• 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][10.0][signed][OTA] Lineage OS 17.1 for Xperia Z1 compact

Search This thread

115ek

Senior Member
Jan 30, 2017
563
631
This thread aims at providing LineageOS 17.1 builds for the Sony Xperia Z1 compact with current security patches.
You can consider this thread as a successor of our LineageOS 16.0 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 17.1 build
This build flavor aims at providing LineageOS 17.1 "as is" with most recent security patches.
If you want to install Google Apps (GApps) you have to use this build variant.
GApps are optional, of course. The smaller the GApps package, the better (pico). If you want "Okay google" support you need at least nano.
Just check the package comparison to see what fits your needs.

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:
- Partitions (Data, Cache) : Ext4 and F2FS supported
- Bluetooth : Ok
- 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 (mono)
- ANT+ : Ok
- 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 : Ok
- SEPolicies : enforcing
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
  • 5 GHz hotspot does not work (2.4 GHz hotspot works fine) (5 GHz option disabled with 2020-03-11 build as it isn't even available on stock)
  • GPS gets wrong time due to GPS week rollover since 3rd November 2019 (of importance when you record GPS tracks for example). fixed with 20200520 build
  • Using GApps AND encrypting the device may result in bootloops. More infos here.
  • Standard Trebuchet Launcher shows small artifacts in the fonts of app names in some situations.
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 17.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/lin17-microg/local_manifests

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

Version Information
Status:
Stable
Stable Release Date: 2020-12-29

Created 2019-11-22
Last Updated 2021-07-10
 

Attachments

  • Screenshot_20200202-141232_Trebuchet.png
    Screenshot_20200202-141232_Trebuchet.png
    225.1 KB · Views: 2,255
  • Screenshot_20200202-141248_Trebuchet.png
    Screenshot_20200202-141248_Trebuchet.png
    132.3 KB · Views: 2,241
  • Screenshot_20200202-141304_Trebuchet.png
    Screenshot_20200202-141304_Trebuchet.png
    78.7 KB · Views: 2,204
  • Screenshot_20200202-141323_Trebuchet.png
    Screenshot_20200202-141323_Trebuchet.png
    134.1 KB · Views: 2,103
  • Screenshot_20200202-141331_Trebuchet.png
    Screenshot_20200202-141331_Trebuchet.png
    78.3 KB · Views: 2,124
  • Screenshot_20200202-141405_Settings.png
    Screenshot_20200202-141405_Settings.png
    75.2 KB · Views: 2,162
  • Screenshot_20200202-141419_Settings.png
    Screenshot_20200202-141419_Settings.png
    88.1 KB · Views: 2,121
  • Screenshot_20200202-141436_Settings.png
    Screenshot_20200202-141436_Settings.png
    92.7 KB · Views: 2,076
  • Screenshot_20200202-141518_Trebuchet.png
    Screenshot_20200202-141518_Trebuchet.png
    167.5 KB · Views: 2,045
  • Screenshot_20200202-141547.png
    Screenshot_20200202-141547.png
    188.7 KB · Views: 1,985
Last edited:

115ek

Senior Member
Jan 30, 2017
563
631
Changelog

10.07.2021

  • ASB Security string 2021-07-05
  • Kernel: Many sec. patches applied (taken from Divest-OS, thanks to @SkewedZeppelin)
  • standard build only:
    • System Webview on 91.0.4472.101
  • microG build only:
    • Bromite System Webview and Browser updated to 91.0.4472.146
    • microG 0.2.21.212158-2
    • AuroraStore 4.0.7
14.06.2021
  • ASB Security string 2021-06-05
  • A few kernel patches
  • microG build only:
    • Bromite System Webview and Browser updated to 91.0.4472.102
    • Upstreamed microG (0.2.19211515-9)
12.05.2021
  • ASB Security string 2021-05-05
  • standard build only:
    • System Webview on 90.0.4430.82
  • microG build only:
    • Bromite System webview updated to 90.0.4430.204
    • Bromite Browser updated to 90.0.4430.204
    • microG upstreamed (but no new version)
    • Update: AuroraServices 1.1.1
11.04.2021
  • ASB Security string 2021-04-05
  • standard build only:
    • System Webview on 89.0.4389.105
  • microG build only:
    • Bromite System webview updated to 90.0.4430.59
    • Bromite Browser updated to 90.0.4430.59
    • F-Droid 1.12
    • Update: AuroraStore 4.0.4 with AuroraServices 1.1.0
09.03.2021
  • ASB Security string 2021-03-05
  • standard build only:
    • System Webview on 88.0.4324.152
  • microG build only:
    • Bromite System webview updated to 88.0.4324.207
    • Bromite Browser updated to 88.0.4324.207
    • F-Droid 1.11
    • microG 0.2.18.204714
07.02.2021
  • ASB Security string 2021-02-05
  • misc. kernel patches
  • microG build only:
    • Bromite System webview updated to 88.0.4324.141
    • Bromite Browser updated to 88.0.4324.141
    • F-Droid 1.10-alpha-234
    • microG 0.2.17.204714-5
14.01.2021
  • ASB Security string 2021-01-01
  • standard build only:
    • Kernel slightly upstreamed
    • System Webview: Fix of persistent histogram bug (eating space in some cases)
  • microG build only:
    • Bromite Webview on 87.0.4280.131
    • Updated microG from upstream to 0.2.16.204713-10 (picked until 2f29b93)
    • Updated F-Droid to 1.10-alpha1-212
29.12.2020
  • introduce microG build variant (see this post or the OP for more information)
18.12.2020
  • synced LineageOS sources (security patch level December 05, 2020)
08.11.2020
  • synced LineageOS sources (security patch level November 05, 2020)
  • Seedvault is included officially now (inbuilt backup solution)
07.10.2020
  • synced LineageOS sources (security patch level October 05, 2020)
13.09.2020
  • synced LineageOS sources (security patch level September 05, 2020)
17.08.2020
  • synced LineageOS sources (security patch level August 05, 2020)
13.07.2020
  • synced LineageOS sources (security patch level July 05, 2020)
16.06.2020
  • further GPS improvements
  • synced LineageOS sources (security patch level June 05, 2020)
20.05.2020
11.05.2020
  • synced LineageOS sources (security patch level May 05, 2020)
16.04.2020
  • synced LineageOS sources (security patch level April 05, 2020)
15.03.2020
  • fixed livedisplay
  • fixed OTA update URL
11.03.2020
  • remove 5GHz hotspot option as it isn't available even on stock
  • start signing builds
  • enable OTA updates
  • synced LineageOS sources (security patch level March 05, 2020)
28.02.2020
  • fixed sony bootlogo
  • fixed TWRP time bug
25.02.2020
  • fixed buggy bootanimation
11.02.2020
  • DRM fix (Netflix and co should work now)
  • synced LineageOS sources (security patch level February 05, 2020)
01.02.2020
  • SE enforcing
  • synced LineageOS sources (security patch level January 01, 2020)
22.11.2019
  • initial release
 
Last edited:

mtrantalainen

Member
Mar 29, 2019
24
17
Code:
- Camera : Ok
[/QUOTE]

Could you provide more info about supported camera features?

(1) What's the maximum resolution you can get?
(2) Can you install the Sony camera app from the official ROM and get 960 fps recording?
(3) Is it possible to support Camera 2 API raw output?

I have a full TA backup of unlocked phone in case it makes a difference.
 

115ek

Senior Member
Jan 30, 2017
563
631
Could you provide more info about supported camera features?

(1) What's the maximum resolution you can get?
(2) Can you install the Sony camera app from the official ROM and get 960 fps recording?
(3) Is it possible to support Camera 2 API raw output?

I have a full TA backup of unlocked phone in case it makes a difference.

1. 5248x3936 pixel which is about 20.7 mpixels
2. Installing the Sony camera: I don't know. But you can try and share your experiences.
Concerning the 960 fps: I highly doubt it. Just consider a small example: depth of colour 24 bit, resolution HD ready (1,280x720=921,600 pixel) and 960 fps.
Then a clip of 5 seconds would eat 3 byte x 960 fps x 5 seconds x 921,600 pixel = 12.4 GiB. Highly unlikely ;)
3. Afaik no. But I'm not that interested in camera things. Maybe there are workarounds. If someone knows more feel free to share.

TA backup isn't of any use in camera related aspects as the DRM keys are not needed anymore (there's a workaround in the kerneldrivers). So you won't get a better image.

EDIT:
These are the supported video profiles if you're interested...
And here are some pictures I've taken with oreo. But the quality should be the same on pie and q :)
 
Last edited:

mtrantalainen

Member
Mar 29, 2019
24
17
1. 5248x3936 pixel which is about 20.7 mpixels
2. Installing the Sony camera: I don't know. But you can try and share your experiences.
Concerning the 960 fps: I highly doubt it.

The official firmware is able to do 960 fps Full HD for 250 ms and 960 fps 720p for 500 ms (960 fps mode is triggered during normal speed video recording by touching an icon on the screen and will be inserted in the final video as individual frames which ends up as super slow motion for the original 250 ms time period). The buffering is done internally by the camera hardware. As far as I know, only the the official Sony camera app knows how to start the capture with this high frame rate and there's no publicly available API to do the same thing. This feature has been pretty good for analyzing LCD display backlight PWM and BFI implementations so I would like to keep that feature when I unlock the firmware.

TA backup isn't of any use in camera related aspects as the DRM keys are not needed anymore (there's a workaround in the kerneldrivers). So you won't get a better image.

Okay, thanks for the info about not needing TA backup anymore.

These are the supported video profiles if you're interested...
And here are some pictures I've taken with oreo. But the quality should be the same on pie and q :)

Did those photos have resolution 5248x3936 pixels after capture? If so, it seems to support non-system-installed camera apps better than the official firmware. Do you know any camera app that works with LineageOS that supports setting shutter speed manually?

About the video profiles, if I'm reading that XML file correctly, the mode [email protected] is not supported. As far as I know, the hardware does support that just fine.
 

115ek

Senior Member
Jan 30, 2017
563
631
The official firmware is able to do 960 fps Full HD for 250 ms and 960 fps 720p for 500 ms (960 fps mode is triggered during normal speed video recording by touching an icon on the screen and will be inserted in the final video as individual frames which ends up as super slow motion for the original 250 ms time period). The buffering is done internally by the camera hardware. As far as I know, only the the official Sony camera app knows how to start the capture with this high frame rate and there's no publicly available API to do the same thing. This feature has been pretty good for analyzing LCD display backlight PWM and BFI implementations so I would like to keep that feature when I unlock the firmware.
Well, I can't give you information concerning this. I didn't even know this feature exists. Maybe some other guys can tell you more. At least the hardware seems to have the capabilities. Then it's "just" a matter of controlling it ;)
Update: Are you really sure the Z1 compact has this feature? I just read about the XZ1 compact having it... Do you have any evidence?

Did those photos have resolution 5248x3936 pixels after capture? If so, it seems to support non-system-installed camera apps better than the official firmware. Do you know any camera app that works with LineageOS that supports setting shutter speed manually?
5248x3936 is shown on my PC if I check the image properties.
I just installed Camera FV-5 Lite and it's capable of changing the exposure time (if you meant that). Sadly the maximum resolution is limited in the free version. But I think there are many apps around that support it ;)

About the video profiles, if I'm reading that XML file correctly, the mode [email protected] is not supported. As far as I know, the hardware does support that just fine.
Yes. Actually it's supported. @SpiritCroc removed it with this change However I don't know what his intention was and why the framerates were lower as he noted in the commit.
 
Last edited:

115ek

Senior Member
Jan 30, 2017
563
631
I am sorry for an immodest question. When to wait the following version of an insertion?

Well, actually I wanted to get SE enforcing first. This shouldn't be a huge problem. However it needs some time to put it into proper commits.
And at the moment I haven't got that much time.
I hope you'll see it still in January.
 
Last edited:
Just a heads up someone made an article on how to get Android 10 on the Xperia XZ1 Compact linking to this thread which is obviously for the Xperia Z1 Compact, not the Xperia XZ1 Compact. I tried making a comment on the article to get them to fix it, but was never approved or was simply deleted.

Not linking directly because these guys don't deserve any clicks, but the URL is:
Code:
https://www.getdroidtips.com/android-10-sony-xperia-xz1-compact/

The offending link is the "Link to forum" link on the article in the "Download Links:" section
 
Last edited:
  • Like
Reactions: 115ek and Shahnewaz

115ek

Senior Member
Jan 30, 2017
563
631
Finally SE is running in enforcing mode.
Please consider this as a testing build. Logs and bugreports are welcome. Sony bootlogo is missing and the bootanimation was very buggy for me / didn't show up at all at the first boot. Be patient with it.
Download here


Just a heads up someone made an article on how to get Android 10 on the Xperia XZ1 Compact linking to this thread which is obviously for the Xperia Z1 Compact, not the Xperia XZ1 Compact. I tried making a comment on the article to get them to fix it, but was never approved or was simply deleted.

Not linking directly because these guys don't deserve any clicks, but the URL is:
Code:
https://www.getdroidtips.com/android-10-sony-xperia-xz1-compact/

The offending link is the "Link to forum" link on the article in the "Download Links:" section
Thanks. Sadly you won't stop these guys. Just ignore them instead. :)
 
Last edited:
  • Like
Reactions: tramp20

Top Liked Posts

  • There are no posts matching your filters.
  • 7
    New builds with July 2021 ASB patches available

    Hi all,
    new builds are available and already offered as OTA updates via the updater app.


    A. Standard LineageOS 17.1 build
    • Security String 2021-07-05
    • System Webview updated to 91.0.4472.101
    • Kernel: Many sec. patches applied (taken from Divest-OS, thanks to @SkewedZeppelin)

    B. Pre-installed microG build variant with additional security patches
    • Security String 2021-07-05
    • Bromite System Webview and Browser updated to 91.0.4472.146
    • Kernel: Many sec. patches applied (taken from Divest-OS, thanks to @SkewedZeppelin)
    • microG 0.2.21.212158-2
    • AuroraStore 4.0.7

    @115ek - please update OP/Changelog

    Regards, M.
    2
    Just installed it yesterday, everything is great. This ROM has LDAC support if anyone's wondering. Even Stock doesn't support LDAC. Thanks again.
    1
    • Kernel: Many sec. patches applied

    Awesome to see my CVE patcher used more!
    You might want to give it another run, I did a huge addition for 3.4 recently from @haggertk's 3.4 backports.

    You might also put the patches on an another branch, as patch output can change/improve overtime and it'll be easier to maintain that way.
    1
    I did already apply before Kevin's 3.4 backports from his LineageOS Samsung msm8974 branch and for the recent patching action with this ROM's Sony msm8974 kernel, I used the patches listed in here as this is also a msm8974 kernel in your 17.1 directory.
    Do you recommend to me to look further?

    And by the way, whilst I have the opportunity to communicate with you:
    As I prefer to truly apply the commits to my/our kernel forks, I have noticed, that few of your patches do not contain commit messages. For some of them, I found them and applied accordingly, but at least for that one I did not manage to find it.
    Do you have the commit message(s) handy?
    And if not - would you like me to make a pull request for those patches, where I was able to identify the originating upstream commit?

    > I used the patches listed in here

    The program is intended to be used to check which patches apply.

    > I have noticed, that few of your patches do not contain commit messages.

    Many of them are plain diffs due to various reasons, eg. Gerrit only gives base64'ed plain diff
    I'm happy to accept patches that replace diffs with matching patches.

    > but at least for that one

    That is https://lkml.org/lkml/2017/10/2/352

    --

    In case it isn't clear, patches are added to this file first https://raw.githubusercontent.com/Divested-Mobile/Kernel_Patches/master/Kernel_CVE_Patch_List.txt

    then downloaded with the program https://github.com/Divested-Mobile/CVE_Checker

    and also checked using the program

    you can use https://github.com/Divested-Mobile/CVE_Checker/blob/master/mk_dir_from_list.sh to convert the program output to a directory of the patches

    you can download prebuilts of the program here https://gitlab.com/divested-mobile/cve_checker/-/jobs/artifacts/master/browse?job=build

    furthermore a large amount of the patches in the list are extracted using this tool https://gitlab.com/cip-project/cip-kernel/cip-kernel-sec, you can add any kernel you want to the script config and extract matching patches from any given repository, and propagate that back into the final patch list


    edit: here is example output https://github.com/SkewedZeppelin/android_kernel_sony_msm8974/commits/fixup it contains an additional ~60 patches
  • 19
    This thread aims at providing LineageOS 17.1 builds for the Sony Xperia Z1 compact with current security patches.
    You can consider this thread as a successor of our LineageOS 16.0 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 17.1 build
    This build flavor aims at providing LineageOS 17.1 "as is" with most recent security patches.
    If you want to install Google Apps (GApps) you have to use this build variant.
    GApps are optional, of course. The smaller the GApps package, the better (pico). If you want "Okay google" support you need at least nano.
    Just check the package comparison to see what fits your needs.

    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:
    - Partitions (Data, Cache) : Ext4 and F2FS supported
    - Bluetooth : Ok
    - 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 (mono)
    - ANT+ : Ok
    - 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 : Ok
    - SEPolicies : enforcing
    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
    • 5 GHz hotspot does not work (2.4 GHz hotspot works fine) (5 GHz option disabled with 2020-03-11 build as it isn't even available on stock)
    • GPS gets wrong time due to GPS week rollover since 3rd November 2019 (of importance when you record GPS tracks for example). fixed with 20200520 build
    • Using GApps AND encrypting the device may result in bootloops. More infos here.
    • Standard Trebuchet Launcher shows small artifacts in the fonts of app names in some situations.
    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 17.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/lin17-microg/local_manifests

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

    Version Information
    Status:
    Stable
    Stable Release Date: 2020-12-29

    Created 2019-11-22
    Last Updated 2021-07-10
    8
    New builds with May 2021 ASB patches available

    Hi all,
    new builds are available and offered as OTA updates via the updater app.

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

    B. Pre-installed microG build variant with additional security patches
    • Security String 2021-05-05
    • Bromite System webview updated to 90.0.4430.204
    • Bromite Browser updated to 90.0.4430.204
    • microG upstreamed (but no new version)
    • Update: AuroraServices 1.1.1

    @115ek - please update OP/Changelog

    Regards, M.
    7
    New builds with July 2021 ASB patches available

    Hi all,
    new builds are available and already offered as OTA updates via the updater app.


    A. Standard LineageOS 17.1 build
    • Security String 2021-07-05
    • System Webview updated to 91.0.4472.101
    • Kernel: Many sec. patches applied (taken from Divest-OS, thanks to @SkewedZeppelin)

    B. Pre-installed microG build variant with additional security patches
    • Security String 2021-07-05
    • Bromite System Webview and Browser updated to 91.0.4472.146
    • Kernel: Many sec. patches applied (taken from Divest-OS, thanks to @SkewedZeppelin)
    • microG 0.2.21.212158-2
    • AuroraStore 4.0.7

    @115ek - please update OP/Changelog

    Regards, M.
    7
    New builds with March 2021 ASB patches available

    Hi all, new builds are available and offered as OTA updates via the updater app.

    A. Standard LineageOS 17.1 build
    • Security String 2021-03-05
    • System Webview on 88.0.4324.152

    B. Pre-installed microG build variant with additional security patches
    • Security String 2021-03-05
    • Bromite System webview updated to 88.0.4324.207
    • Bromite Browser updated to 88.0.4324.207
    • F-Droid 1.11
    • microG 0.2.18.204714

    @115ek - please update OP/Changelog

    Regards, M.
    6
    Changelog

    10.07.2021

    • ASB Security string 2021-07-05
    • Kernel: Many sec. patches applied (taken from Divest-OS, thanks to @SkewedZeppelin)
    • standard build only:
      • System Webview on 91.0.4472.101
    • microG build only:
      • Bromite System Webview and Browser updated to 91.0.4472.146
      • microG 0.2.21.212158-2
      • AuroraStore 4.0.7
    14.06.2021
    • ASB Security string 2021-06-05
    • A few kernel patches
    • microG build only:
      • Bromite System Webview and Browser updated to 91.0.4472.102
      • Upstreamed microG (0.2.19211515-9)
    12.05.2021
    • ASB Security string 2021-05-05
    • standard build only:
      • System Webview on 90.0.4430.82
    • microG build only:
      • Bromite System webview updated to 90.0.4430.204
      • Bromite Browser updated to 90.0.4430.204
      • microG upstreamed (but no new version)
      • Update: AuroraServices 1.1.1
    11.04.2021
    • ASB Security string 2021-04-05
    • standard build only:
      • System Webview on 89.0.4389.105
    • microG build only:
      • Bromite System webview updated to 90.0.4430.59
      • Bromite Browser updated to 90.0.4430.59
      • F-Droid 1.12
      • Update: AuroraStore 4.0.4 with AuroraServices 1.1.0
    09.03.2021
    • ASB Security string 2021-03-05
    • standard build only:
      • System Webview on 88.0.4324.152
    • microG build only:
      • Bromite System webview updated to 88.0.4324.207
      • Bromite Browser updated to 88.0.4324.207
      • F-Droid 1.11
      • microG 0.2.18.204714
    07.02.2021
    • ASB Security string 2021-02-05
    • misc. kernel patches
    • microG build only:
      • Bromite System webview updated to 88.0.4324.141
      • Bromite Browser updated to 88.0.4324.141
      • F-Droid 1.10-alpha-234
      • microG 0.2.17.204714-5
    14.01.2021
    • ASB Security string 2021-01-01
    • standard build only:
      • Kernel slightly upstreamed
      • System Webview: Fix of persistent histogram bug (eating space in some cases)
    • microG build only:
      • Bromite Webview on 87.0.4280.131
      • Updated microG from upstream to 0.2.16.204713-10 (picked until 2f29b93)
      • Updated F-Droid to 1.10-alpha1-212
    29.12.2020
    • introduce microG build variant (see this post or the OP for more information)
    18.12.2020
    • synced LineageOS sources (security patch level December 05, 2020)
    08.11.2020
    • synced LineageOS sources (security patch level November 05, 2020)
    • Seedvault is included officially now (inbuilt backup solution)
    07.10.2020
    • synced LineageOS sources (security patch level October 05, 2020)
    13.09.2020
    • synced LineageOS sources (security patch level September 05, 2020)
    17.08.2020
    • synced LineageOS sources (security patch level August 05, 2020)
    13.07.2020
    • synced LineageOS sources (security patch level July 05, 2020)
    16.06.2020
    • further GPS improvements
    • synced LineageOS sources (security patch level June 05, 2020)
    20.05.2020
    11.05.2020
    • synced LineageOS sources (security patch level May 05, 2020)
    16.04.2020
    • synced LineageOS sources (security patch level April 05, 2020)
    15.03.2020
    • fixed livedisplay
    • fixed OTA update URL
    11.03.2020
    • remove 5GHz hotspot option as it isn't available even on stock
    • start signing builds
    • enable OTA updates
    • synced LineageOS sources (security patch level March 05, 2020)
    28.02.2020
    • fixed sony bootlogo
    • fixed TWRP time bug
    25.02.2020
    • fixed buggy bootanimation
    11.02.2020
    • DRM fix (Netflix and co should work now)
    • synced LineageOS sources (security patch level February 05, 2020)
    01.02.2020
    • SE enforcing
    • synced LineageOS sources (security patch level January 01, 2020)
    22.11.2019
    • initial release