This thread aims at providing LineageOS 16.0 builds for the Sony Xperia Z1 compact with current security patches.
You can consider this thread as a successor of our LineageOS 15.1 thread, where you may also find some useful information.
This is the joint effort of 115ek and MSe1969 (contributions welcome).
We offer two build variants:
A. Standard LineageOS 16.0 build
This build flavor aims at providing LineageOS 16.0 "as is" with most recent security patches.
B. Pre-installed microG build variant with additional security patches
For the security/privacy focused (more details about below feature list, see here)
Status
List template by AdrianDC
Limitations
Lineage OS 16.0 for Xperia Z1 compact - amami, ROM for the Sony Xperia Z1 Compact
Contributors
115ek, MSe1969, SpiritCroc, drakonizer, rcstar6696, SuperLamic, AdrianDC, nailyk, LineageOS team
Source Code: https://github.com/lin16-microg/local_manifests
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.4.x
Version Information
Status: Stable
Stable Release Date: 2020-11-10
Created 2019-01-04
Last Updated 2020-11-10
You can consider this thread as a successor of our LineageOS 15.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.
*
*/
A. Standard LineageOS 16.0 build
This build flavor aims at providing LineageOS 16.0 "as is" with most recent security patches.
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)
- Additional security hardening features listed below
- Access to /proc/net blocked for user apps
- Bundled netmonitor app to allow network monitoring
- Enhanced Privacy Guard: Switches for motion sensors and other sensors
- Cloudflare as default DNS (instead of Google)
- Privacy-preferred default settings
- Optional blocking of Facebook- and Google-Tracking
- Optional disable captive portal detection
- 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
- Additional restriction options for secondary users
- Constified JNI method tables
Status
List template by AdrianDC
Code:
- Boot : Ok
- GApps (only build variant A): The smaller the better ([B][URL="https://opengapps.org/?arch=arm&api=9.0&variant=pico"]pico[/URL][/B] package). If you want for example "Okay google" you need at least [B][URL="https://opengapps.org/?arch=arm&api=9.0&variant=nano"]nano[/URL][/B].
Just check [URL="https://github.com/opengapps/opengapps/wiki/Package-Comparison"]https://github.com/opengapps/opengapps/wiki/Package-Comparison[/URL] to see what fits your needs.
- Partitions (Data, Cache) : Ext4 and F2FS supported
- Bluetooth : Ok
- WiFi : Ok
- WiFi Hotspot : only 2.4 GHz
- 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
DownloadFollowing 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)
Problems with some 5 GHz Wifi channels (can be avoided by not using autochanneling)fixed with 20190408 build- MHL does not work
- 5 GHz hotspot does not work (2.4 GHz hotspot works fine)
ANT+ does not workfixed (see FAQ)installing Magisk 19.1 prohibits entering recoveryfixed with 20190521 buildGPS gets wrong time due to GPS week rollover since 3rd November 2019 (of importance when you record GPS tracks for example).fixed with 20190611 build
This also happens on stock and several other legacy devices.
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 one of these (depending on your taste/needs):
- Official Lineage Add-on https://download.lineageos.org/extras use su (arm) 16.0 here and flash via TWRP
- Magisk https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Please note there is an issue starting with Magisk 19.1 which leads you to being unable to boot to recovery in any way. More info
ANT+ isn't working?
You need the 2 apps:
afterwards setting proper permissions is essential!
- ANT Radio Service (Github) / (Google play)
- ANT+ Plugin Service (Github) / (Google play)
This refers to those instructions which worked for me
- Go to Apps & Notifications -> See All Apps
- Select 'ANT Radio Service'
- Select Permissions
- Select Additional permissions
- Slide switch to allow using of ANT hardware
![]()
BugreportsI'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.
SourcesYou'll find information about logging here.
Please also note how you got the error or how it can be reproduced.
Credits
Installation instructions
- SpiritCroc: big thanks to him for maintaining the device trees and a lot of very useful hints
- 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
ChangelogPlease see the OP of our (deprecated) LineageOS 15.1 thread or also here
XDA:DevDB Information10.11.2020
Expand for older changelogs:
- ASB Security string 2020-11-05
- Fix for CVE-2020-15999
- AOSP E-Mail widget fixed
- Webviews upodated to/within M86
- microG build only: microG - fixes in EN API and GCM
- microG build only:Replaced weak F-Droid signatures with ROM's V2 signatures
13.10.2020
13.09.2020
- ASB Security string 2020-10-05
- microG build only: Bromite Webview on M86
- microG build only: microG 0.2.12.203315 - including "Exposure notification API" for use of Covid tracing apps
- microG build only: Additional hardening: constified JNI method tables
09.08.2020
- ASB Security string 2020-09-05
- Webviews on M85
- microG build only: Added eSpeak TTS engine (microG build variant)
12.07.2020
- ASB Security string 2020-08-05
- Webviews on M84
- microG build only: Location of firewall UI now in Network => data usage (Settings menu)
11.06.2020
- ASB Security string 2020-07-05
- microG build only: updated prebuilt microG GmsCore fom /e/ project (fixed FCM registration issues)
- microG build only: F-Droid updated to 1.8 / F-Droid privileged extension updated to 0.2.11
- microG build only: Aurorastore updated to 3.2.9 / AuroraServices updated to 1.0.6
09.05.2020
- Security string 2020-06-05
- GPS improvements / modernisation
- Enable MIDI support
- microG build only: Bromite Webview on M83
- microG build only: Netmonitor exception in SEPolicy f. "Tracker Control" app
11.04.2020
- Security string 2020-05-05
- Standard build only:System Webview on M81
- microG build only: AuroraStore updated to 3.2.8
07.03.2020
- Security string 2020-04-05
- Fix for CVE-2020-8597 (external/ppp)
- Kernel: CVE-2019-10638 siphash 128bit for IP generation
- microG build only: AuroraStore updated to 3.2.4
- microG build only: Bromite Webview on M81
19.02.2020
- Security string 2020-03-05
- System Webviews on M80
- 2nd build variant 'hardened microG build' (known from 15.1 thread) available
- microG build only: AuroraStore updated to 3.2.0
16.01.2020
- fixed DRM (we now have widevine Level 3, Netflix for example runs fine)
- fixed TWRP time bug
- added option to prevent USB gadgets working when screen locked (trust HAL)
- enabled changelog (can be accessed under /settings/system/updater/changelog)
- synced LineageOS sources (security patch level February 05, 2020)
13.12.2019
- synced LineageOS sources (security patch level January 05, 2020)
13.11.2019
- synced LineageOS sources (security patch level December 05, 2019)
19.10.2019
- fixed unreliable SMS/MMS receiving (https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/262653)
- synced LineageOS sources (security patch level November 05, 2019)
13.09.2019
- synced LineageOS sources (security patch level October 05, 2019)
12.08.2019
- bring back wifi display
- three finger screenshot gesture
- synced LineageOS sources (security patch level September 05, 2019)
07.07.2019
- fixed manual mobile network selection (once again)
- synced LineageOS sources (security patch level August 01, 2019)
03.07.2019
- synced LineageOS sources (security patch level July 05, 2019)
- fixed AudioFX effects completely (thanks @NeoArian)
10.06.2019
- start signing builds (please check this if you want to update)
- enable OTA updates (thanks @NeoArian)
21.05.2019
- synced LineageOS sources (security patch level June 05, 2019)
11.05.2019
- fixed recovery issue introduced by Magisk versions starting with 19.1 (thanks @Myself5)
08.04.2019
- synced LineageOS sources (security patch level May 05, 2019)
11.03.2019
- fixed manual mobile network selection (thanks @SpiritCroc)
- fixed problems with 5 GHz Wifi channels
- added aptX/aptXHD
- synced LineageOS sources (security patch level April 05, 2019)
17.02.2019
- fixed alarm delay (came with new lineage sources)
- fixed some more offline / USB charging problems (thanks @SpiritCroc)
- synced LineageOS sources (security patch level March 05, 2019)
15.01.2019
- fixed occasional camera problems (thanks @SpiritCroc)
- various kernel patches (thanks @SpiritCroc)
- synced LineageOS sources (security patch level February 05, 2019)
04.01.2019
- fixed video playback for some applications (thanks @SpiritCroc)
- fixed offline charging (thanks @SpiritCroc)
- fixed FM radio (thanks @SpiritCroc)
- updated webview to version 71 (thanks @MSe1969)
- synced LineageOS sources
- initial release
Lineage OS 16.0 for Xperia Z1 compact - amami, ROM for the Sony Xperia Z1 Compact
Contributors
115ek, MSe1969, SpiritCroc, drakonizer, rcstar6696, SuperLamic, AdrianDC, nailyk, LineageOS team
Source Code: https://github.com/lin16-microg/local_manifests
ROM OS Version: 9.x Pie
ROM Kernel: Linux 3.4.x
Version Information
Status: Stable
Stable Release Date: 2020-11-10
Created 2019-01-04
Last Updated 2020-11-10
Attachments
-
158.8 KB Views: 2,927
-
104.8 KB Views: 2,927
-
74.5 KB Views: 2,883
-
105.9 KB Views: 2,739
-
73.9 KB Views: 2,683
-
78.1 KB Views: 2,732
-
89.3 KB Views: 2,693
-
78 KB Views: 2,645
-
150.7 KB Views: 2,581
-
160.3 KB Views: 2,572
-
144.2 KB Views: 2,492
-
143.2 KB Views: 2,427
-
155 KB Views: 2,340
-
109.9 KB Views: 2,286
-
102.1 KB Views: 2,306
Last edited: