EOL [ROM][Unofficial][9.0][signed][OTA] Lineage OS 16.0 for Xperia Z1 compact - Xperia Z1 Compact Android Development

This thread is discontinued - please visit the LineageOS 17.1 sucessor thread
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).
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 16.0 build
This build flavor aims at providing LineageOS 16.0 "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)
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
- 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
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)
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 work fixed (see FAQ)
installing Magisk 19.1 prohibits entering recovery fixed with 20190521 build
GPS gets wrong time due to GPS week rollover since 3rd November 2019 (of importance when you record GPS tracks for example).
This also happens on stock and several other legacy devices. fixed with 20190611 build
Click to expand...
Click to collapse
Download
SourceForge
Click to expand...
Click to collapse
FAQ
What recovery system to use?
Please use this TWRP if you want to use OTA updates and/or encryption.
Click to expand...
Click to collapse
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
Click to expand...
Click to collapse
ANT+ isn't working?
You need the 2 apps:
ANT Radio Service (Github) / (Google play)
ANT+ Plugin Service (Github) / (Google play)
afterwards setting proper permissions is essential!
Go to Apps & Notifications -> See All Apps
Select 'ANT Radio Service'
Select Permissions
Select Additional permissions
Slide switch to allow using of ANT hardware
This refers to those instructions which worked for me
Click to expand...
Click to collapse
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.
Click to expand...
Click to collapse
Bugreports
You'll find information about logging here.
Please also note how you got the error or how it can be reproduced.
Click to expand...
Click to collapse
Sources
Kernel: https://github.com/lin16-microg/android_kernel_sony_msm8974
Manifest: https://github.com/lin16-microg/local_manifests
Click to expand...
Click to collapse
Credits
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
Click to expand...
Click to collapse
Installation instructions
Please see the OP of our (deprecated) LineageOS 15.1 thread or also here
Click to expand...
Click to collapse
Changelog
13.12.2020
ASB Security string 2020-12-01 (this month, no kernel updates found)
Webview updates for both builds (microG build on M87)
microG build only: F-Droid updated to 1.10-alpha1-114
microG build only: microG updated from upstream to 0.2.14.204215-15 (picked until 720b089)
Expand for older changelogs:
10.11.2020
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
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
13.09.2020
ASB Security string 2020-09-05
Webviews on M85
microG build only: Added eSpeak TTS engine (microG build variant)
09.08.2020
ASB Security string 2020-08-05
Webviews on M84
microG build only: Location of firewall UI now in Network => data usage (Settings menu)
12.07.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
11.06.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
09.05.2020
Security string 2020-05-05
Standard build only:System Webview on M81
microG build only: AuroraStore updated to 3.2.8
11.04.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
07.03.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
19.02.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)
16.01.2020
synced LineageOS sources (security patch level January 05, 2020)
13.12.2019
synced LineageOS sources (security patch level December 05, 2019)
13.11.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)
19.10.2019
synced LineageOS sources (security patch level October 05, 2019)
13.09.2019
bring back wifi display
three finger screenshot gesture
synced LineageOS sources (security patch level September 05, 2019)
12.08.2019
fixed manual mobile network selection (once again)
synced LineageOS sources (security patch level August 01, 2019)
07.07.2019
synced LineageOS sources (security patch level July 05, 2019)
fixed AudioFX effects completely (thanks @NeoArian)
03.07.2019
start signing builds (please check this if you want to update)
enable OTA updates (thanks @NeoArian)
10.06.2019
synced LineageOS sources (security patch level June 05, 2019)
21.05.2019
fixed recovery issue introduced by Magisk versions starting with 19.1 (thanks @Myself5)
11.05.2019
synced LineageOS sources (security patch level May 05, 2019)
08.04.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)
11.03.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)
17.02.2019
fixed occasional camera problems (thanks @SpiritCroc)
various kernel patches (thanks @SpiritCroc)
synced LineageOS sources (security patch level February 05, 2019)
15.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
04.01.2019
initial release
Click to expand...
Click to collapse
XDA:DevDB Information
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-12-13

Changelog
The changelog was moved to the OP due to xda not allowing secondary thread owners to edit this post

Tips & Tricks
microG initial configuration after 1st install (microG build variant only)
After the first installation of this ROM, you need to setup microG.
Please read the instructions given on the LineageOS for microG site, section "Post Install - UnifiedNlp"
OTA Updates on an encrypted device
In case your device in encrypted and you have flashed apps creating "survival scripts" in /system/addon.d (e.g. Magisk), there *may* be a dependency to files in the data partition.
An OTA update until current TWRP 3.3.1 does not decrypt the data partition, as this is usually not needed - under specific circumstances however, this may lead to unwanted effects (up to a non-booting device!) during an OTA update, if such scripts aim at modifying files located in the data partition. If unsure, rather perform the update manually as dirty-flash in TWRP or - which in general is a good practice - regularly perform backups in TWRP. If you haven't flashed anything on top of my build (except for the LineageOS root addon, which is no problem), there shouldn't be any issue.
(This commit in TWRP indicates, that this potential issue will be solved in future TWRP releases).

Ok ok .

new build
New build:
15.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
https://androidfilehost.com/?fid=11410963190603900297

Important announcement:
There were problems with FM radio in lineage-16.0-20190114 which was linked one post above.
Please use lineage-16.0-20190115 from here: https://www.androidfilehost.com/?fid=11410963190603901105

Took a while, but last night I flashed this. And it's fabulous! Some observations, regarding your list in the OP (couldn't test everything, though):
GPS: not just OK but I had the fasted 3D fix since I moved away from stock! Much faster than with signed LOS 15.1 or munjeni's LOS 7.1.2 (well below 10 seconds from my living room window, down from sometimes 90 - 120 seconds!)
WiFi Hotspot: working good and reliably
Compass: somewhat working but GPS Test says "unreliable", and indeed compared to my tablet directions are off by several degrees (pointing to NNW where the tablet says N); attempts to calibrate didn't have any effect
FM radio: working but mono (you wrote that already)
USB OTG: working good and at least reading is about as fast as with other ROMs (USB stick is formatted NTFS, btw)
===
I flashed together with Magisk 18 and openGapps 9 pico
During first boot phone froze completely during boot animatoin; had to hard reset, then it booted fine into system
Google initial setup was a bit weird, had a FC first, then a short loop through the initial three screens, but after a few attempts it finally ran through.
Didn't do much more now, as I need my phone for, well, what you usually need a phone for , so I'm going back to 15.1 now. But the first few steps were extremely promising. Probably will be testing a bit more over the weekend.
Can't wait to use this as a daily driver! :good::good::good:

Using 15/01/2019.
Dirty flashed over last 15.1 (wiped cache/dalvik/system but kept data).
Working really well so far.
One thing I've noticed is that the UI seems a bit slower/somewhat choppier than 15.1, very slightly though. Barely noticeable, but the UI does seem to be a bit slower.
Other than that it's really impressive and is going to be my daily driver until/if something goes bad.
Another thing is twrp 3.2.3 backup restore of this rom seems to result in bootloop, but that might as well be because of me keeping data from 15.1.

lingowistico said:
Using 15/01/2019.
Dirty flashed over last 15.1 (wiped cache/dalvik/system but kept data).
Working really well so far.
One thing I've noticed is that the UI seems a bit slower/somewhat choppier than 15.1, very slightly though. Barely noticeable, but the UI does seem to be a bit slower.
Other than that it's really impressive and is going to be my daily driver until/if something goes bad.
Another thing is twrp 3.2.3 backup restore of this rom seems to result in bootloop, but that might as well be because of me keeping data from 15.1.
Click to expand...
Click to collapse
It's just my impression, but I've seen that sometimes the sense of slow UI may be just due to the speed of animations. Try changing the 3 scale animations on developer settings from 1x to 0.5x as is a common value

Sorry if this is the wrong place to ask this but: when using Dir file manager (super clean and light weight) I can't add home screen shortcuts to files for some reason. This worked on stock lollipop but not on Lineage 15.1 or 16.
How do I make this work again?

lingowistico said:
Sorry if this is the wrong place to ask this but: when using Dir file manager (super clean and light weight) I can't add home screen shortcuts to files for some reason. This worked on stock lollipop but not on Lineage 15.1 or 16.
How do I make this work again?
Click to expand...
Click to collapse
It's definitely a problem with the app itself.
I just tested my preferred file manager - Total Commander - and it worked fine.
Also ES did the job.
Only your mentioned Dir file manager wasn't able to do it.
It seems there is a new api to access shortcuts? Maybe they don't support it? Did you tried on an other device with Android >=8 ?
I just made a screenshot how it should look like (the confirmation dialog).
EDIT:
Yes. Had the right suspicion: https://github.com/veniosg/Dir/issues/126
It's a known app problem.

115ek said:
It's definitely a problem with the app itself.
I just tested my preferred file manager - Total Commander - and it worked fine.
Also ES did the job.
Only your mentioned Dir file manager wasn't able to do it.
It seems there is a new api to access shortcuts? Maybe they don't support it? Did you tried on an other device with Android >=8 ?
I just made a screenshot how it should look like (the confirmation dialog).
EDIT:
Yes. Had the right suspicion: https://github.com/veniosg/Dir/issues/126
It's a known app problem.
Click to expand...
Click to collapse
Thanks a lot for replying. For some reason, I assumed that Total Commander for Android was shareware/adware.
Hopefully Dir will be updated soon enough, meanwhile I'll be using Total Commander.
Thanks again for looking this up for me and for suggesting alternatives. :highfive:

After 1 month using this version 15.1.2019 every day, i have found this critical problems:
- camera (force closing)
- audiofx (not good working)
- sms app (when i receive sms phone is still vibrating)
- sometimes graphic artefacts on navigation buttons
- sometimes freezing when i use more apps
This rom is pretty, clean, without unuseful functions and this is why i like LineageOS. :good:

Jerri7 said:
After 1 month using this version 15.1.2019 every day, i have found this critical problems:
- camera (force closing)
- audiofx (not good working)
- sms app (when i receive sms phone is still vibrating)
- sometimes graphic artefacts on navigation buttons
- sometimes freezing when i use more apps
This rom is pretty, clean, without unuseful functions and this is why i like LineageOS. :good:
Click to expand...
Click to collapse
Concerning camera: I have this problems too (unregular) although I can't reproduce them. A reboot should help. @SpiritCroc has merged a commit that may be connected to this http://gerrit.aicp-rom.com/c/AICP/device_sony_msm8974-common/+/84248 though I'm not sure if it solves the problem. We'll see.
Concerning AudioFX: It's buggy in my opinion - independent of devices and android version. I also had issues with it on Oreo and on totally different devices. If someone has got a hint: feel free to share
Concerning SMS app: I also have issues here but I think it's related to the lineage code and nothing device specific. Keep in mind that Lineage 16 isn't officially released until now. If the next build is also buggy please provide a log.
Concerning the rest: Same as above --> LOS 16 isn't released and there are still issues left to fix.
I'll upload a new build soon. Let's see what it brings.

115ek said:
@SpiritCroc has merged a commit that may be connected to this http://gerrit.aicp-rom.com/c/AICP/device_sony_msm8974-common/+/84248 though I'm not sure if it solves the problem. We'll see.
Click to expand...
Click to collapse
If you didn't have that before, it should help; AICP didn't need it at first in comparison to lineage, but we included it now for a cleaner approach, see discussion here http://gerrit.aicp-rom.com/c/AICP/frameworks_base/+/84029

SpiritCroc said:
If you didn't have that before, it should help; AICP didn't need it at first in comparison to lineage, but we included it now for a cleaner approach, see discussion here http://gerrit.aicp-rom.com/c/AICP/frameworks_base/+/84029
Click to expand...
Click to collapse
Great! Thanks again for finding that
The new build is now available:
17.02.2019
fixed occasional camera problems (thanks @SpiritCroc)
various kernel patches (thanks @SpiritCroc)
synced LineageOS sources (security patch level February 05, 2019)

Micro Gapps
First: Thanks for the Update.
My question:
Mostly the Rom-Providers not using MicroG recommend Pico-Gapps for their builds.
I am using them too for all LOS-related Roms without problems.
Is there a special reason/need for your Rom to recommend Micro-Gapps instead?

CyanoFriend said:
First: Thanks for the Update.
My question:
Mostly the Rom-Providers not using MicroG recommend Pico-Gapps for their builds.
I am using them too for all LOS-related Roms without problems.
Is there a special reason/need for your Rom to recommend Micro-Gapps instead?
Click to expand...
Click to collapse
Yes, you're right. Generally spoken the smallest gapps package (pico) is the best in terms of performance (apart from no gapps package ).
Additionally you can easily install missing google apps from playstore afterwards (e.g. maps, youtube...). But there are apps/functionalities you can't get from the playstore, for example "Okay Google".
I just checked the gapps comparison again https://github.com/opengapps/opengapps/wiki/Package-Comparison
It seems nano is sufficient to get these functionalities (so with pico you won't get them). Maybe that was micro earlier... I don't know
But thanks for your hint, I'll update the thread accordingly.

115ek said:
It seems nano is sufficient to get these functionalities (so with pico you won't get them). Maybe that was micro earlier... I don't know
But thanks for your hint, I'll update the thread accordingly.
Click to expand...
Click to collapse
Since I opened my Z1c some 18 months ago I'm running the nano packages and am very happy with that. Same applies to my recently opened tablet z.

Hello.
sorry to interrupt you for a reason not directly related to this topic...
Does anybody of you know AdrianDC (who was part of the team of this Z1 ROM version also) and the way how to reach him?
Maybe you, 115ek?
I have a Sony Ericsson mobile (SEMC 2011 devices) and he was the one having released the only Lineage 14.1 ROM Nougat version for those models (cm13 has been released by 'LegacyXperia' group on basketbuild.com before). It runs perfectly except two remaining issues of the camera's audio function which should be the very last bug fix at it.
Unfortunately my direct messages on XDA to him don't seem to reach him (no read status).
Does anybody can help me to reach him?
I don't even know if the LegacyXperia team is still existing or where those developers have been moved to.
Thank you so much for any hint you can give to me!

Related

[ROM][10.0.0]LineageOS-17.1[Joan][Unofficial]

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LineageOS is a free, community built, aftermarket firmware distribution of Android 9.0 (Pie), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.
Code:
#include "std_disclaimer.h"
/*
* Your warranty is now void.
*
* I am 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 me for messing up your device, I will laugh at you.
*/
What's working (LOS16.0):
RIL (Calls, SMS, Data)
Fingerprint
Wi-Fi
Bluetooth
Camera
Video Recording
Video Playback
Audio
Sensors
Flash
GPS
DAC
Vibration
Wifi Hotspot without password
[+] USB Tethering
What's not working (LOS16.0):
Hotspot with password/WPA2
Wifidisplay is borked
About LineageOS 17.0 and what you need to consider:
Read this post: https://forum.xda-developers.com/showpost.php?p=80271901&postcount=1580
Where are the features?
LineageOS is in development process so don't complain about xyz features missing.
Instructions:
Download the build
Reboot to recovery
Flash the latest build
Reboot
V30 Telegram group chat
Downloads:
17.1
H930: LineageOS 17.1
16.0:
LineageOS 16.0 AFH
H930 GDrive Mirror and H932 GDrive Mirror
15.1:
Here
H932 Release here, Mirror
Sources:
Device Tree: h930 + joan-common
Kernel: msm8998
Vendor: lge
lineage-16.0/17.0 branch
XDA:DevDB Information
LineageOS 16.0, ROM for the LG V30
Contributors
SGCMarkus, rashed97
Source Code: https://github.com/LineageOS/
ROM OS Version: 10.x Q
ROM Kernel: Linux 4.x
ROM Firmware Required: Pie firmware
Version Information
Status: Alpha
Current Beta Version: 1
Beta Release Date: 2018-05-13
Created 2018-05-13
Last Updated 2019-09-19
Reporting Bugs
DO NOT Report bugs if you're running a custom kernel or you installed Xposed
Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
If it is a random reboot, grab dmesg . (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues.
Changelogs
Release 13.05.2018
- Initial release
Release 16.05.2018
- Fixed boot (temporarily disabled sdcardfs)
Release 18.05.2018
-enabled sdcardfs again (fixed, took the OP5(T) driver, not the broken LG one)
-reduces system image size by around 10MB, so our friends who repartitioned have a bit more room for that
Release 21.05.2018
-updated to latest LineageOS sources
-enabled burnin protection in overlays
-re-enabled exfat driver in the kernel (may cause issues for some sdcards, may need to reformat them, as they could "load" forever and make the system crash eventually)
-cherry-picked https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/210106 (should fix acccess to wide angle camera on apps that support it)
Release 01.06.2018
- Updated Autobrightness from Taimen (Pixel 2 XL), as it has the same panel
- Enabled the AoD option (you might have to unlock the phone twice or so though, LOS source is currently broken, nothing i can do)
- Updated to latest LOS sources
- Nuked lge/common and moved gestures into our tree
Release 08.06.2018
- Source updates
- fixed AOD
- Added back sysnode (camera stuff)
- thermal/lights HAL are now bindarized
- setting right model name on boot (zip is still called h930 though)
Release 01.07.2018
- Source updates
Release 19.07.2018
- Source updated
- Fixed vibrator
- Updated vendor files to H930V20R
- Allowed access to Snap, SnapCam and Gcam Wide angle mod by default
Release 30.08.2018
- Updated sources
- Updated blobs to 21a
Release 27.09.2018
- Updated sources
- New init system for model detection (old one used ro.boot.suffix which not every V30 had for some reason)
- Some love for the H930DS, it finally works now
- Baseband is shown correctly now
- Includes a release for the H932, will be a seperate link, check download section (This build is done by @me2151 and will not be maintained, but is up-to-date with the H930 currently)
Release 06.12.2018
- Update to LineageOS 16 (synced on 6. december, still has november security patch)
- H930D/DS works
- H932 build is also there, seperate download
- Vibration uses our own service now (no LG dependency), can sometimes, for 1 certain type of vibration be a bit weird, but works fine otherwise
- QuadDAC can be turned on/off (Settings -> Sound -> Hi-Fi Quad DAC), also Volume Balance works, the filters/equalizers dont
- GCam records audio just fine
- Reworked some media profiles (higher bitrates, should be able to record 720p240 and 1080p120, the new gcams kinda override that though and end up recording stuttering 1080p240...)
- Cleanup of a few nonworking proprietary files
- Updated proprietary files to H930V21o (November security patch)
Release 08.12.2018
- Sources updated for december security patch
Release 09.01.2019
- Sources updated for january security patch
- Updated brightness scaling (rom side + kernel side patches)
- Raised default brightness of the AOD
- Enabled Pocketmode (disabled Fingerprint sensor when phone screen is turned off and the proximity sensor is covered)
- SELinux is enforcing (if you encounter any issues, let me know, WITH logs only though)
- I hope i didnt forget anything
Release 13.02.2019
- Updated Sources (Feb. security patch and more)
- FM Radio (may not work on all models, like V300)
- EAS Power HAL + Kernel
- DRM fixed with SELinux enforcing
- DP/HDMI out works now properly
- maybe other stuff i forgot
Release 08.04.2019
- Updated sources (april security patch, los changes)
- Updated vendor files (h930 21w)
- 24 bit audio support
- Lots of DAC stuff
- Back to HMP for better battery life
- Speaker is a bit louder
- Other things i forgot
Release 22.04.2019
- Updated sources
- Added more perf/iop blobs
- Added color service (Settings -> Display -> LiveDisplay -> Color calibration)
- You can use Wifi AND Hotspot now at the same time
- AOD has now a few more options and is now via a little hax more reliable
- Stuff i might have forgotten
Release 10.06.2019
- Updates LOS Sources (June Security Patch, and some other features)
- Volume Panel can now be moved (Settings -> System -> Buttons -> Show Panel on Left)
- Touchscreen Gestures: 4 Swipe directions while touchscreen is off (Settings -> System -> Gestures -> Touchscreen Gestures)
-- This is partly ROM and partly Kernel patch
- Reverted camera blobs to pre 21w patch for more functionality (ISO couldnt be raised as high anymore what ive been told)
- Few other things here and there i might have forgotten
Changelog 19.09.19
- Updated to LOS 17
- Used H930DS 30b blobs (september security patch)
- Kernel sources at 4.4.153 (H930DS 30e), and CAF at LA.UM.7.4.r1-5400
Changelog 05.02.20
- Updated to LOS 17.1
-- february security patch
- H930 v30q blobs
- Video playback issues should be resolved
- Added sdfat driver in the kernel for exfat support
- Hotspot works with no Password set (working on this...)
- Updated Graphics and Wifidisplay stack from LA.UM.8.2.r1-04300-sdm660.0 (same drivers as msm8998...)
-- Wifidisplay is still a bit ****ed though
- Encryption should work (but TWRP for pie encryption doesnt support it)
- Camera for december and later security patch has been fixed
- Added missing NFC configs thanks to @ShapeShifter499
- More i might have forgotten...
Frequently Asked Questions:
Q. Can this ROM be flashed through TWRP?
A. Yes, proceed with the latest TWRP image
Q. Sounds good. How can I contribute to project?
A. Test the build as much as you can and report bugs which can be reproduced with exact steps and are not random.
Q. How to disable "Apps running in background" dialog?
A. When you see the dialog, long press on it and select "Settings". From there, you'll have a toggle to disable it.
Q. Which Models are supported?
A. So far it works well on the H930(G/D/DS), US998, VS996 and LS998. H932 works too, use the .zip for that model. Other devices may bootloop.
Q. Help, my H931/H933 is bootlooping!
A1. For H931 please go to https://forum.xda-developers.com/lg-v30/how-to/running-h930-aosp-rom-us998-converted-t3889320
A2. For H933 please go to https://forum.xda-developers.com/showpost.php?p=78183349&postcount=2
Q. USB Tethering isnt working!!!!
A. Make sure you have the correct drivers installed.
Try this: open device manager:
find the RNDIS (thats what it was called for me), or some other device similar to that name, with a probably yellow !
right click: uninstall drivers (and tick delete drivers)
restart usb tethering
then you have an "unknown device", right click
install driver
search on pc
select from list
search for LG Electronics as manufacturer
and then on right side select "LGE AndroidNet Remote NDIS Device"
My God, that was fast. It even looks to be usable daily, so long as you don't need an SD card (and keep the phone on).
Goodbye Axon 7; V30, here I come!
I didn't see this in the OP but WE install gapps yes?
foamerman said:
I didn't see this in the OP but WE install gapps yes?
Click to expand...
Click to collapse
Install gapps after you flash the rom, dont reboot inbetween
Finally.. my fav lineage os is here.. awesome.. hope it gets continuous support..
Thanks!
dadme said:
Finally.. my fav lineage os is here.. awesome.. hope it gets continuous support..
Thanks!
Click to expand...
Click to collapse
I plan to
(And I hope some more people/devs become interested in this device now.... fixing/trying to fix stuff nearly alone after rashed did the first device bringup.... And im no pro myself either, idk what causes the boot issues )
For exfat why don't try Samsung open source module https://github.com/bkuhn/exfat
Work on LG V20 D.O.T.S custom kernel, realy nice.
dadme said:
For exfat why don't try Samsung open source module https://github.com/bkuhn/exfat
Work on LG V20 D.O.T.S custom kernel, realy nice.
Click to expand...
Click to collapse
Thanks, will try that one. Already had it working once, then took it out again to just check if it was causing issues or not, and then imported it again, and suddenly its causing a weird behaviour
Setupwizard takes ages to load, its checking the sdcard forever, Launcher takes ages to load too, and after a few minutes the system crashes... Same happens with the sdfat driver lol
On stock and TWRP it works fine though (TWRP uses the same driver as i tried btw...).
Nice ! Good job as always
I will flash it next week as i still need my V30 urgently working for now... but anyways thanks in advance
Camera
Literally the 1 thing stopping me from installing this right now is the camera. Gcamera is great but doesn't support 4k video on this device nor does it support laser focus or duel lenses (although the ported version of gcamera have a separate app for each camera). Please can you port the LG Camera over. Also does the QuadDAC work on this?
You made my Monday great ?
Thank you
Klimos said:
Literally the 1 thing stopping me from installing this right now is the camera. Gcamera is great but doesn't support 4k video on this device nor does it support laser focus or duel lenses (although the ported version of gcamera have a separate app for each camera). Please can you port the LG Camera over. Also does the QuadDAC work on this?
Click to expand...
Click to collapse
That is the reason I never used other roms on my G5.
SGCMarkus said:
Install gapps after you flash the rom, dont reboot inbetween
Click to expand...
Click to collapse
No what I was saying was the rom doesn't have gapps with it so we've got install gapps with the rom. Sorry for the confusion.
foamerman said:
No what I was saying was the rom doesn't have gapps with it so we've got install gapps with the rom. Sorry for the confusion.
Click to expand...
Click to collapse
Yep, not shipped with gapps. From my last stand of knowledge (like years ago lol) its not even allowed to ship gapps with ROMs.
Hi, is fm radio working with this rom?
Hi Markus, Danke for your great work and astonishing results here!
Regarding the camera: I remember some guys where extracting the official LG Cam from the Korean Oreo update a few weeks ago...
Is there any chance we could get the LG camera working on LineageOS ?
kgian2007 said:
Hi, is fm radio working with this rom?
Click to expand...
Click to collapse
tbh, i think i havent tested this yet. I focused more on finding out what the **** causes the bootissues.... (trying to figure that out since easter...)
Thats like searching a needle in a haystack (as the logs dont contain anything helpfull when it happens... and no ramoops either ;-; )
FcBayernMinga said:
Hi Markus, Danke for your great work and astonishing results here!
Regarding the camera: I remember some guys where extracting the official LG Cam from the Korean Oreo update a few weeks ago...
Is there any chance we could get the LG camera working on LineageOS ?
Click to expand...
Click to collapse
Ehhm... Depends on how much the LG Cam depends of the LG Framework? But i suppose thats a lot, would be really really difficult (involving lots of reverse engineering then probably) and would take ages. Doubt LG wants to make our lives easy lol
So... Just got a report from my tester.
10 consecutive (re)boots without a problem. Will release a version soon with this fixed
Had to disable sdcardfs (ro.sys.sdcardfs=0). Maybe i can find a commit somewhere that fixes whatever LG ****ed up there (I suppose their stock framework/kernel source has a modified version, that doesnt work well with AOSP based ROMs...)
Edit: uploading non-treble build now
Thanks to @phhusson for leading me to the fix

[CLOSED]EOL [ROM][Unofficial][8.1.0][signed][OTA] LineageOS 15.1 for Xperia Z1 compact

Thread Closed Per OP Request
This thread is dedicated to provide Lineage-OS 15.1 builds for the Sony Xperia Z1 compact with current security patches.
This thread is discontinued - please visit the LineageOS 16.0 successor thread
This is the joint effort of 115ek and MSe1969 (contributions welcome).
There are two build flavors available, both are signed (see further below):
A. Standard LineageOS 15.1
This build flavor aims at providing LineageOS 15.1 "as is" with most recent security patches.
Consider this flavor as continuation of the thread here by 115ek.
Download here
B. Security hardened microG build
For the security/privacy focused
Download here
Pre-installed microG and F-Droid same as the LineageOS for microG project
Pre-installed AuroraStore
[*]Pre-Installed pre-release of microG DroidGuard helper to have a working SafetyNet attestation (see comments below!)
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, other sensors and certain background activities
Cloudflare as default DNS (instead of Google)
Privacy-preferred default settings
Optional blocking of Facebook- and Google-Tracking
Optional disable captive portal detection
Option to set own DNS
Option to deny new USB connections
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
Current release levels
Security string: 2020-02-05
AOSP tag: 8.1.0_r52
System Webview: M79 (Standard build)
Bromite Webview: M79 (microG build)
Source-code and build instructions
Kernel: https://github.com/lin15-microG/kernel_sony_msm8974/tree/lineage-15.1
Build manifest: https://github.com/lin15-microG/local_manifests
TWRP Recovery
Please use the TWRP recovery referred to in this thread
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)
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)
Installation Instructions
YOU ARE RESPONSIBLE SOLELY YOURSELF FOR ANY ACTIONS YOU DO WITH YOUR DEVICE !!!
Please note - we won't explain any single aspect (e.g. how to install 'fastboot' on your PC or troubleshoot USB connectivity issues under Windows). Search the net and consult the search engine of your choice or look here in XDA, there is plenty information available.
Pre-Requisites
Get familiar with the hardware keys of the Xperia Z1 compact device, especially how to enter fastboot mode and recovery mode
Have fastboot and adb installed on your PC and make sure, you can connect via USB to your device in fastboot mode and via adb
Download the most current .ZIP file of our ROM and place it to your phone's internal memory or SD card
Only valid for the "standard build flavor": If you wish to install Google apps (GApps), please refer to the GApps section further below
An unlocked bootloader (read the warnings carefully and backup your data!)
Only in case your device is still with the pre-delivered Sony Stock ROM: It is recommended that you have updated the Stock ROM to the latest version offered by Sony to make sure that the bootloader has the needed capabilities (see also 'trouble-shooting' below)
Install TWRP recovery
If you come from stock ROM and have just unlocked your boot loader, this is the next thing to do. If you have already a working custom recovery on your device, there is no necessity to replace it. However - we recommend to use the TWRP recovery linked in this thread. The following instructions are based on TWRP.
To install TWRP, download the TWRP.img file (Note: replace "TWRP.img" in the following instructions with the real file name) from this section to your PC, connect the phone via USB to your PC, get it into 'fastboot mode' and enter the following command on your PC:
Code:
fastboot flash FOTAKernel TWRP.img
Afterwards, directly boot into 'recovery mode' (enter fastboot reboot on your PC and use the right hardware keys to get into recovery mode) - we recommend not to boot the phone's Android system after having flashed TWRP. Once TWRP has been launched, you may decide to reboot your phone and install the ROM at any time later. But the first boot after flashing TWRP should be TWRP in recovery mode.
Trouble-shooting:
Depending on the Stock ROM you are on, you may face some difficulties to get the phone into recovery after flashing TWRP. If you are facing such difficulties (i.e. phone always boots into Stock ROM), get into fastboot mode, and manually boot into TWRP by entering the below command:
Code:
fastboot boot TWRP.img
If that also does not help you, it could be that the firmware, you have previously used, included an outdated bootloader. In that case, use the Sony flash tool (Windows only) or Androxyde's Open source flshtool to flash a more current Sony firmware image.
Both approaches can also help to "unbrick" your device.
Advanced Wipe
ONLY perform the steps described here, if you come from Stock ROM or a different Custom ROM!
Boot into recovery mode. In TWRP, choose "Wipe", "Advanced" and spefify "Dalvik", "System", "Cache" and "Data" to be wiped. Make sure NOT to wipe "Internal memory" or "SD Card". Swipe to confirm the deletion and get back into the main menu.
GApps
DO NOT attempt to flash GApps on the "microG" build variant!
For the "Standard" variant, the following applies:
You do not need to install GApps, but you may wish to do so. In that case, download GApps from here and put the .ZIP also to the SD card or Internal memory of your device. Choose ARM as platform, Android 8.1 and the flavor of your choice. We recommend "pico", as this leaves you the most freedom to only install, what you really need; you can later still install all the Google products you want and do not need to live with pre-installed Google applications you have no use for.
Install our ROM
In the TWRP main menu, choose "Install". A file manager appears to let you navigate to your internal memory (path /sdcard) or your SD card (path /external_sd). Choose the .ZIP file of our ROM and swipe to flash.
If you update from a previous version of our ROM, you don't need to perform a wipe. If you had GApps already installed before the update, there is no need to flash them again. They will be automatically restored during the flash process. (Note: If you wish to get rid of GApps, navigate to TWRP's file manager in the Advanced section of the main menu, go to path /system/addon.d and delete the file 70-gapps.sh, before flashing the ROM update)
If you come from a different ROM (or stock firmware), make sure that you have performed the Wipe steps above. If you wish to install GApps, select the respective .ZIP file directly afterwards, do not boot into Android before having flashed GApps.
When finished flashing, return to the main menu, choose "Reboot" and then "System", which will cause your phone to boot into our Lineage OS 15.1 - be patient, the first boot after flashing a new ROM takes quite long!
microG
Only valid for the "microG" build variant: After the first installation of this ROM, you need to setup microG.
Please read the instructions given on the LineageOS for microG site, section "Post Install - UnifiedNlp"
Encryption
Encryption works, however - please consider the below important information:
If you have previously encrypted your device with a "Lollipop" (Android 5.x) based ROM (e.g. this one), our ROM unfortunately cannot decrypt and you will have to format the data partition and encrypt again. Be aware, that your 'Internal Memory' will be lost in that case, so don't forget to make a backup!
If the device has been encrypted with a "Nougat" (Android 7.x) based ROM, there won't be any issues, even if you switch between different Android releases including Android 8.x and 5.x for testing purposes
If you encrypt the device with our LineageOS 15.1 ROM, you will not be able to decrypt the /data partition with TWRP and have to 'sideload' any updates instead
We consider this as a still open issue. We will be grateful for any advice on how to solve these compatibility issues.
For the time being, it seems that flashing a naked Nougat-ROM (e.g. this one) to perform the encryption and then wipe and install LineageOS 15.1 will leave you with the most flexibility.
Dealing with signed builds
Please note, that our builds are signed with our own key. When you come from a different build, you cannot directly "dirty-flash" our build. You either have to perform a "clean flash" (recommended), or - if you e.g. would like to update from one of 115ek's previous builds, you need to follow below instructions.
Coming from 115ek's Lineage 15.1 build:
Download and extract the file migration.sh from this archive
boot into TWRP
push the migration.sh file to the directory /data/local on your device and mount the /system partition in TWRP (you can do so using the dedicated TWRP's menu entry)
launch the built-in terminal in TWRP, cd into /data/local, make migration.sh executable (chmod +x) and execute the command ./migration.sh official
(In case you receive an error, try sh ./migration.sh official instead)
flash the ROM .zip
wipe Cache and Dalvik/ART Cache
reboot system
More background information "theory behind" can be found in the LineageOS wiki and AOSP reference.
Switching between build flavors
You can easily do so via clean-install. However, if you want to switch between the standard build and the microG build and vice-versa without wiping your data, please follow the below instructions:
Standard build => microG build
De-install any of the following apps, in case you have manual installations of them: Yalpstore, Privacy-friendly netmonitor, microG Services Core, microG Services Framework Proxy, Fake Store, F-Droid, Mozilla Unified NLP Backend, Nominatim Geocoder Backend
Deactivate System Webview
If you have flashed GApps before, deactivate all of them to remove any installed updates
Boot into TWRP recovery
If you have flashed GApps before, delete the file /system/addon.d/70-gapps.sh
Flash the microG ROM ZIP (make sure not to use an older version than the current standard build)
Wipe Cache & Dalvik and reboot
Follow the 'Post-install' steps outlined here
microG build => standard build
Deactivate the following apps: Yalpstore, Privacy-friendly netmonitor, microG Services Core, microG Services Framework Proxy, Fake Store, F-Droid, Mozilla Unified NLP Backend, Nominatim Geocoder Backend, Bromite System Webview
Boot into TWRP recovery
Flash the standard ROM ZIP (make sure not to use an older version than the current microG build)
If you want to flash GApps, do it before re-boot
Wipe Cache & Dalvik and reboot
Please note, that you may face issues with some apps, which depend on play services. In that case, try solving them in the following order: 1. delete app cache, 2. delete app data, 3. de-install and re-install app
Weather Widget
LineageOS does currently not offer Weather provider apps for LineageOS 15.1 for download (only for LineageOS 14.1)
We've have built an APK for OpenWeatherMap for download from the LineageOS sources here, which works well with LineageOS 15.1
SafetyNet
Google SafetyNet is a device certification system, ensuring that the device is properly secured and compatible with Android CTS. Some applications use SafetyNet for security reasons, to enforce DRM or as a prerequisite for tamper-protection. General information about SafetyNet can be found here or e.g. see LineageOS' statement about SN.
The below information is only relevant for the microG build. In the standard build, you have SafetyNet, if you flash Gapps. Whether the SN attestation passes or not is completely out of our influence!
If you don't need SafetyNet (i.e. you don't use apps requiring it), I recommend to switch off SafetyNet in microG settings and in addition, go to Settings - apps, make system processes visible and disable the app 'microG DroidGuard Helper'
In that case, you can safely skip the below information. (If you access the play store with Yalp coming with this build, apps, which the original playstore app would hide because of failed SafetyNet, such as e.g. Netflix, are still listed, so you don't need SafetyNet for that specific purpose)
If you need SafetyNet, because you use an app requiring SafetyNet attestation to pass, switch SafetyNet on in microG settings and make sure the a.m. DroidGuard Helper app is active. Further, please consider below important information.
The typical use-case, for which SafetyNet has been developped and is e.g. used by Google, is e.g. "Google Pay".
Although it seems not to be the intention of Google to make SafetyNet part of "ordinary, average" apps - unfortunately - a certain tendency can be observed that more and more apps make use of it. Especially nosy and privacy intrusive apps seem to start using SafetyNet against Custom ROMs, because Custom ROMs usually allow to at least restrict uncontrolled data collection.
microG GmsCore contains a free implementation of SafetyNet, but the official server requires SafetyNet requests to be signed using the proprietary DroidGuard system. A sandboxed version of DroidGuard has been added to this microG build as a prebuilt “DroidGuard Helper” app to run the Google code in an isolated environment. The chosen approach in my build is proposed and discussed within the microG project, but not yet officially implemented by microG.
As of March 11th 2019, the microG build passes the SafetyNet attestation, when installed w/o root or Xposed.
So, if you need SafetyNet and you also need root, Magisk would be the way to go.
To avoid confusion: Magisk can hide itself from being detected by SafetyNet and thus help to pass SN, if the device would pass SN without having Magisk installed. Nothing more.
Note: Currently, the DroidGuard helper app is not part of the build, as it currently does not work any more.
There are apps available on the Play store to show, whether SafetyNet attestation is passed, for example 'SafetyNet Test' (org.freeandroidtools.safetynettest)
IMPORTANT
I cannot and I will not give any assurance that SafetyNet attestation is passed by this build!
The SafetyNet code, which is dynamically downloaded from Google servers and executed on the device as part of the defined functionality, is regularly maintained and further developped by Google. Although it currently works, it could stop working in the future, until the microG team finds again a solution.
(Interesting enough: Remote code execution is normally considered a severe vulnerability, but hey, it's Google and we all "trust" them 100%, don't we? - At least I, besides others, exactly for that reason, do not use Gapps!)
Further, I for my part refuse to use apps requiring SafetyNet, but that is of course everybody's own decision.
Usage of ANT+
You need the 2 apps:
ANT Radio Service (Github) / (Google play)
ANT+ Plugin Service (Github) / (Google play)
afterwards setting proper permissions is essential!
Go to Apps & Notifications -> See All Apps
Select 'ANT Radio Service'
Select Permissions
Select Additional permissions
Slide switch to allow using of ANT hardware
This refers to those instructions.
Bug reports:
If you have a problem please create a post with these information:
Original Kernel shipped with this rom:
Build Date:
And try to get log as described here
Credits
In continuation of the previous thread, we would like to acknowledge:
Android Open Source project (AOSP)
LineageOS project
AICP project
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
microG project
CopperheadOS project
csagan5 (Bromite)
Yeriomin (Yalp)
XDA:DevDB Information
[ROM][Unofficial][8.1.0][signed] LineageOS 15.1 for Xperia Z1 compact, ROM for the Sony Xperia Z1 Compact
Contributors
MSe1969, 115ek
Source Code: https://github.com/lin15-microG/local_manifests
ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.4.x
Based On: LineageOS
Version Information
Status: Stable
Stable Release Date: 2020-02-09
Created 2018-12-29
Last Updated 2020-03-09
Change log
March 9th, 2020
Announcement to discontinue this thread - please visit the LineageOS 16.0 successor thread
February 9th, 2020
ASB Security string 2020-02-05
Replaced DRM lib (fixes issues with Netflix)
Standard flavor: System Webview on 79.0.3945.136
microG flavor: Bromite Webview on 79.0.3945.139
microG flavor: Updated AuroraStore to 3.1.8
January 14th, 2020
ASB Security string 2020-01-05
Standard flavor: System Webview on 79.0.3945.116
microG flavor: Bromite Webview on 79.0.3945.107
microG flavor: Updated AuroraStore to 3.1.7
microG flavor: Updated AuroraServices to 1.0.5
December 7th, 2019
ASB Security string 2019-12-05
Standard flavor: System Webview on 78.0.3904.96
microG flavor: Bromite Webview on 78.0.3904.119
microG flavor: Updated AuroraStore to 3.1.5
November 10th, 2019
ASB Security string 2019-11-05
Standard flavor: System Webview on 77.0.3865.116
microG flavor: Bromite Webview on 78.0.3904.72
microG flavor: Updated microG GMS core 0.2.9.x
October 14th, 2019
ASB Security string 2019-10-05
Standard flavor: System Webview on 77.0.3865.92
microG flavor: Bromite Webview on 77.0.3865.104
microG flavor: AuroraStore updated to 3.1.3
September 10th, 2019
ASB Security string 2019-09-05
Standard flavor: System Webview on 76.0.3809.111
microG flavor: AuroraServices updated to 1.0.4
August 11th, 2019
ASB Security string 2019-08-05
OTA Support
Standard flavor: System Webview on 76.0.3809.89
microG flavor: Bromite Webview on 76.0.3809.100
microG flavor: Aurorastore 3.0.9 with AuroraServices install method
microG flavor: Updated microG GMS core 0.2.8.x
July 5th, 2019
ASB Security string 2019-07-05
microG flavor only: Bromite Webview on 75.0.3770.109
June 12th, 2019
ASB Security string 2019-06-05
Recovery boot fix for Magisk 19.x
System Webview updated to 74.0.3729.157 (non-microG flavor)
microG flavor only: Bromite Webview on 75.0.3770.86
microG flavor only: Replaced Yalpstore with Aurorastore
microG flavor only: Removed RemoteDroidGuard
microG flavor only: Updated F-Droid & priv. extension
microG flavor only: Updated microG GMS core 0.2.7.x
May 9th, 2019
ASB Security string 2019-05-05
System Webview / Bromite Webview both on M74
microG flavor only: Option to set own DNS
microG flavor only: Backport of 'Deny new USB' feature
microG flavor only: Additional options for secondary users
microG flavor only: Increased max. password length 64
April 8th, 2019
ASB Security string 2019-04-05
Solved WLAN 5GHz channel issue (see thread discussion)
microG flavor only: Control switch in dev. settings for hosts file update
March 11th, 2019
ASB Security string 2019-03-05
SystemWebView updated (includes CVE-2019-5786): M72 (standard flavor) / M73-Bromite (microG flavor)
microG flavor only: Prebuilt microG DroidGuard helper app to pass SafetyNet attestation
February 10th, 2019
ASB Security string 2019-02-05
Kernel: Various Security Patches and some additional 'spectre' mitigations
microG flavor: Bromite SystemWebView updated to M72
Standard Flavor: Fix of Eleven and LockClock app taken over from microG flavor
January 14th, 2019
ASB Security string 2019-01-05
SystemWebView updated to M71 in Standard flavor
Various Kernel security fixes
December 29th, 2018
Initial load
ASB Security string 2018-12-05
AOSP tag android-8.1.0_r52
SystemWebView: M69 (Standard flavor) / M71-Bromite (microG flavor)
Initial feature list of microG flavor:
Pre-installed microG and F-Droid same as the LineageOS for microG project
Pre-installed YalpStore (Version 0.45)
Access to /proc/net blocked for user apps
Bundled netmonitor app to allow network monitoring
Enhanced Privacy Guard: Switches for motion sensors, other sensors and certain background activities
Cloudflare as default DNS (instead of Google)
Privacy-preferred default settings
Optional blocking of Facebook- and Google-Tracking
Optional disable captive portal detection
No submission of IMSI/IMEI to Google/Sony when GPS is in use
Default hosts file with many blocked ad/tracking sites
Privacy-enhanced Bromite SystemWebView
Information about Privacy/Security Hardening in microG build flavor
As announced in the OP, the microG build flavor contains a couple of specific features, which are explained in more detail in this section:
1. Pre-installed microG and F-Droid
same as the LineageOS for microG project
2. Pre-installed AuroraStore
works w/o having to enable "unknown sources"
3. Restrict access to /proc/net for user apps
An adapted SELinux policy prevents user apps from accessing the /proc/net pseudo file system, which can be misused to monitor and track the phone's internet traffic. For technical backgrounds, see here. For the legitimate use case of the smart phone owner him/herself monitoring the network traffic to see, what the installed apps do, the app Privacy-Friendly Network Monitor has been bundled.
4. Enhanced Privacy Guard - Sensor permission switches and background control
An own sensor template to control access to motion sensors ('ask' mode) and all other sensors (allowed by default, but can be restricted) has been implemented into the Privacy Guard. Further, the following background activities can be restricted in Privacy guard:
Background Clipboad access (forbidden by default, can be allowed per app)
Background Location access (allowed by default, if location access as such is allowed, can be forbidden per app)
Background Audio recording (allowed by default, if microphone access as such is allowed, can be forbidden per app)
5. Cloudflare (instead of Google) default DNS
Cloudflare DNS has a better privacy policy than Google Public DNS and has DNS-over-TLS and DNS-over-HTTPS. In the deafult DNS settings (as fallback) and network diagnostics, the Cloudflare DNS adresses 1.1.1.1 and 1.0.0.1 are specified as defaults (instead of Google's 8.8.8.8 and 8.8.4.4)
6. Privacy-preferred default settings
When newly installed, the below settings are defaulted, different from standard LineageOS 15.1 (all settings can be changed at any time later):
Privacy Guard is enabled on install (proposal during Setup)
Anonymous LineageOS statistics disabled (proposal during Setup)
The standard browsing app does not get the location runtime permission automatically assigned
Sensitive information is hidden on the lock screen
Camera app: Location tagging disabled by default
Apps having the PACKAGE_USAGE_STATS permission appear by default as "not allowed" under Settings => Security & privacy => Apps with usage access (instead of opting out here, the user needs to explicitly opt-in in order to have the app collecting this data)
Further, when a lock screen protection is set (PIN, pattern, password), the Nfc, Hotspot and airplane mode tiles require authentication and cannot be set without
7. Optional blocking of Facebook- and Google-Tracking
Settings => Network & Internet => Data usage => Menu => "Apply iptables block script"
When activated, all outgoing connection attempts to Facebook servers will be suppressed.
Same applies to Google, but apps on an internal exception list will still be able to connect (Yalpstore, microG, or e.g. NewPipe, if installed)
8. Optional disable captive portal detection
Settings => Network & Internet => Data usage => Menu => "Disable Captive Portal"
When activated, the system will not ping a specific Google server any longer when establishing a WiFi connection to determine, whether a captive portal is being used.
9. No submission of IMSI or phone number to Google/Sony when GPS is in use
GPS also works fine, if no SIM card is present, so there obviously is no benefit for the phone holder (different from other involved parties ) to provide this data . . .
10. Default hosts file with many blocked ad/tracking sites
The system's hosts file redirects a comprehensive list of URLs known to be adware, tracking, etc. to 127.0.0.1 (ipv4) and ::1 (ipv6)
11. Privacy-enhanced Bromite SystemWebView
Instead of the default Chromium System Webview component, the Bromite SystemWebView is used offering more privacy, more ad blocking and less Google tracking.
12. Deny new USB option
Settings => Security & Privacy
Control, what happens, if a USB device is connected to the device: Allow, allow when unlocked or block.
13. Option to define an own DNS
Settings => Network & Internet (scroll down)
You can optionally define an own DNS, which is used instead of the default DNS of the ISP (uses iptables)
Note: If your ISP intercepts DNS queries to enforce their own ISP - e.g. to enforce surveillance/censorship - this option won't work . . .
14. Maximum password length increased to 64
15. Additional restriction options for secondary users
- Disallow app installation option
- Disallow audio recording option
Cool, thanks for keeping these ROM versions alive.
Is there a difference between the version here (los standard build 20181229) and the one from 115ek's old thread (build 20181213)?
lm089 said:
Cool, thanks for keeping these ROM versions alive.
Is there a difference between the version here (los standard build 20181229) and the one from 115ek's old thread (build 20181213)?
Click to expand...
Click to collapse
Not really: The Updater is not anymore part of this build (as it was anyhow useless given that you can't download this build from LineageOS) and as explained in the OP, our build is signed with our own key. (We'll provide a flashable ZIP for the migration soon)
Good firmware! All with the coming!
MSe1969 said:
Dealing with signed builds
Please note, that our builds are signed with our own key. When you come from a different build, you cannot directly "dirty-flash" our build. You either have to perform a "clean flash" (recommended), or - if you e.g. would like to update from one of 115ek's previous builds, you need to follow below instructions.
Click to expand...
Click to collapse
Hmm - can't see those instructions mentioned in op
lm089 said:
Hmm - can't see those instructions mentioned in op
Click to expand...
Click to collapse
I just added them
there are no mirrors to download the standard version
UPDATE: now, yes
115ek said:
I just added them
Click to expand...
Click to collapse
Thanks,
gave it a try just after migration info.
Migrated from November-build to Standard-Version.
Everything seems to work. Great! (because i know about problems with different keys )
Btw one question: From the beginning of 115eks rom i have several (not every time the same) FCs at startup and on the run occasionnal FCs.
(No such FCs with the great lollipop version, neither with the nougat rom. Clean install.)
No great problem, since all this programs work perfect on next start, but a little bit annoying. May i be of any help to find the reason?
PS: Rhein-Main rules
CyanoFriend said:
Thanks,
gave it a try just after migration info.
Migrated from November-build to Standard-Version.
Everything seems to work. Great! (because i know about problems with different keys )
Btw one question: From the beginning of 115eks rom i have several (not every time the same) FCs at startup and on the run occasionnal FCs.
(No such FCs with the great lollipop version, neither with the nougat rom. Clean install.)
No great problem, since all this programs work perfect on next start, but a little bit annoying. May i be of any help to find the reason?
PS: Rhein-Main rules
Click to expand...
Click to collapse
Regarding the FCs, I did not experience such things recently (using the microG variant myself from the beginning), do you have specific examples or a log?
P.S.: You also in the Rhein-Main area?
CyanoFriend said:
Thanks,
gave it a try just after migration info.
Migrated from November-build to Standard-Version.
Everything seems to work. Great! (because i know about problems with different keys )
Btw one question: From the beginning of 115eks rom i have several (not every time the same) FCs at startup and on the run occasionnal FCs.
(No such FCs with the great lollipop version, neither with the nougat rom. Clean install.)
No great problem, since all this programs work perfect on next start, but a little bit annoying. May i be of any help to find the reason?
PS: Rhein-Main rules
Click to expand...
Click to collapse
Sure you can do something: get logs (logcat and dmesg) after you experience these FCs. We'll have a look then.
Do you use third party software like Magisk or exposed framework? Do you use Gapps (if yes, what size)?
NFC google pay
Sorry for my english.
This rom i great, but I have a problem with recognise NFC by payement apps (google pay). NFC i working fine, but google pay and my bank's apk says "Your phone don't have NFC" and I can't pay via phone.
MSe1969 said:
Regarding the FCs, I did not experience such things recently (using the microG variant myself from the beginning), do you have specific examples or a log?
P.S.: You also in the Rhein-Main area?
Click to expand...
Click to collapse
Hello,
i will try to answer you, 115ek and also kamikaze1204 in one text:
- xposed: yes
- magisk: no
- su-addon: yes
- opengapps pico
- rhine-main (rhein-main): yes
- dmesg via adb: yes
- logcat via adb: failure
- logcat other way: yes
- nfc since cm-lollipop working: no
trying to send dmesg and logcat via pm to you and 115ek
and coming to the end:
Happy new year and 42
CyanoFriend said:
Hello,
i will try to answer you, 115ek and also kamikaze1204 in one text:
- xposed: yes
- magisk: no
- su-addon: yes
- opengapps pico
- rhine-main (rhein-main): yes
- dmesg via adb: yes
- logcat via adb: failure
- logcat other way: yes
- nfc since cm-lollipop working: no
trying to send dmesg and logcat via pm to you and 115ek
and coming to the end:
Happy new year and 42
Click to expand...
Click to collapse
But nfc and magisk are working
115ek said:
I just added them
Click to expand...
Click to collapse
Just tried to to execute migration.sh but it's not working. Here's what I did, but let me explain first that I'm a real noob when it comes to Linux. So please excuse me if the following should contain irrelevant info...
1. copied your tar.gz file to /data/local
2. Booted into twrp
3. Opened zero's terminal
4. Executed 'mount' to see the current mount status
5. Executed 'mount /system' then again 'mount' > apparently /system is now mounted
6. Changed into /data/local
7. Executed 'tar - xzvf adb-key-migration.tar.gz' > thus extracted migration.sh to same dir
8. Executed 'ls - l' to see full file settings
9. Executed 'chmod +x migration.sh'
10. Executed 'ls - l' again to see that file status has changed to '-rwxr-xr-x 1 system system'
11. Executed './migration.sh official'
Result are 3 lines of error telling me something like
CANNOT LINK EXECUTABLE "/system/bin/sh" : cannot locate symbol "__register_atfork" referenced by "/system/bin/sh"...
Libc: CANNOT LINK EXECUTABLE "/system/bin/sh" : cannot locate symbol "__register_atfork" referenced by "/system/bin/sh"...
Libc: fatal signal 6 (SIGABRT), code - 6 in tid 243 (migration.sh), pid 243 (migration.sh)
Then after a while twrp gets into a bootloop which I can only end by a hard reset.
What am I doing wrong?
Edit: twrp version is 3.2.2.0, installed ROM is 115ek's version build 20181213
Edit#2: got it! Step 11 in my case should have been 'sh migration.sh official' instead; this way it worked, and flashing signed ROM build 20181229 then worked as expected. :good:
kamikaze1204 said:
Sorry for my english.
This rom i great, but I have a problem with recognise NFC by payement apps (google pay). NFC i working fine, but google pay and my bank's apk says "Your phone don't have NFC" and I can't pay via phone.
Click to expand...
Click to collapse
Easiest way of being able to use google pay is using Stock android lollipop. Payment with custom ROMs is generally tricky, especially if you're rooted.
The problem now is: Neither MSe nor myself are using google services, so there's not that big interest in getting this working. TWRP decryption has higher priority.
And if you don't supply any logs then there's nothing we can do. Sorry.
CyanoFriend said:
Hello,
i will try to answer you, 115ek and also kamikaze1204 in one text:
- xposed: yes
- magisk: no
- su-addon: yes
- opengapps pico
- rhine-main (rhein-main): yes
- dmesg via adb: yes
- logcat via adb: failure
- logcat other way: yes
- nfc since cm-lollipop working: no
trying to send dmesg and logcat via pm to you and 115ek
and coming to the end:
Happy new year and 42
Click to expand...
Click to collapse
Xposed is generally bad for people like us. It is able to modify the system in way no one can predict. If you load some "strange modules" you shouldn't wonder if something crashes.
My recommendation: clean installation with following observation if errors/FCs still occur. If yes -> it's probably a fault on our side. If not -> exposed does unwanted things.
From my experience: clean installation is really stable and reliable.
Anything you add or modify can cause additional problems - easy rule of thumb.
And for exposed and co. I can't give any help.
Androidfilehost download issue
MSe1969 said:
December 29th, 2018
Initial load
ASB Security string 2018-12-05
AOSP tag android-8.1.0_r52
SystemWebView: M69 (Standard flavor) / M71-Bromite (microG flavor)
Initial feature list of microG flavor:
Pre-installed microG and F-Droid same as the LineageOS for microG project
Pre-installed YalpStore (Version 0.45)
Access to /proc/net blocked for user apps
Bundled netmonitor app to allow network monitoring
Enhanced Privacy Guard: Switches for motion sensors, other sensors and certain background activities
Cloudflare as default DNS (instead of Google)
Privacy-preferred default settings
Optional blocking of Facebook- and Google-Tracking
Optional disable captive portal detection
No submission of IMSI/IMEI to Google/Sony when GPS is in use
Default hosts file with many blocked ad/tracking sites
Privacy-enhanced Bromite SystemWebView
Click to expand...
Click to collapse
Great to see this development of ROM for Amami. Not sure what the reason might be, having trouble to download from Androidfilehost. No issue with the microG version but the vanilla one. Tried couple of days, different times but same issue: no download mirror found! Can you please take a look? Thanks in advance.
Royal.Bengal said:
Great to see this development of ROM for Amami. Not sure what the reason might be, having trouble to download from Androidfilehost. No issue with the microG version but the vanilla one. Tried couple of days, different times but same issue: no download mirror found! Can you please take a look? Thanks in advance.
Click to expand...
Click to collapse
Can confirm, getting the same error right now from both my tablet and a PC browser. Been able to d'load yesterday, though.
lm089 said:
Edit#2: got it! Step 11 in my case should have been 'sh migration.sh official' instead; this way it worked, and flashing signed ROM build 20181229 then worked as expected. :good:
Click to expand...
Click to collapse
Hmm, okay, will update the OP accordingly. Thanks

EOL [ROM][Unofficial][10.0][signed][OTA] Lineage OS 17.1 for Xperia Z1 compact

This thread is discontinued - please visit the LineageOS 18.1 sucessor thread ​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.
Click to expand...
Click to collapse
Download
SourceForge
Click to expand...
Click to collapse
FAQ
What recovery system to use?
Please use this TWRP if you want to use OTA updates and/or encryption.
Click to expand...
Click to collapse
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):
Magisk https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Click to expand...
Click to collapse
ANT+ isn't working?
You need the 2 apps:
ANT Radio Service (Github) / (Google play)
ANT+ Plugin Service (Github) / (Google play)
afterwards setting proper permissions is essential!
Go to Apps & Notifications -> See All Apps
Select 'ANT Radio Service'
Select Permissions
Select Additional permissions
Slide switch to allow using of ANT hardware
This refers to those instructions which worked for me
Click to expand...
Click to collapse
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.
Click to expand...
Click to collapse
Bugreports
You'll find information about logging here.
Please also note how you got the error or how it can be reproduced.
Click to expand...
Click to collapse
Sources
Kernel: https://github.com/lin17-microg/android_kernel_sony_msm8974
Manifest: https://github.com/lin17-microg/local_manifests
Click to expand...
Click to collapse
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
Click to expand...
Click to collapse
Installation instructions
Please see the OP of our (deprecated) LineageOS 15.1 thread or also here
Click to expand...
Click to collapse
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-10-11
Changelog
11.10.2021
ASB Security string 2021-10-05
standard build only:
System Webview on 94.0.4606.71
microG build only:
Bromite System Webview and Browser updated to 93.0.4577.83
12.09.2021
ASB Security string 2021-09-05
Kernel: Further sec. patches applied (Divest-OS)
microG build only:
microG 0.2.22.212658-2
07.08.2021
ASB Security string 2021-08-05
standard build only:
System Webview on 91.0.4472.164
microG build only:
Bromite System Webview and Browser updated to 92.0.4515.134
F-Droid updated to 1.13
Fix in WiFi randomization
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
enable GLONASS (thanks @jason972000)
fixed gps week-rollover problem (thanks @jason972000)
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
Reserved
Can't solve the problem with root access as well as Google sync.
if you install gapps, the navigation buttons will stop working
Slavintir said:
if you install gapps, the navigation buttons will stop working
Click to expand...
Click to collapse
Yes, I can confirm this. I think it's somehow connected to the setup wizard which isn't even starting. Also the lineage setup wizard isn't included at the moment.
So staying calm and wait is the best we can do here.
115ek said:
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.
Click to expand...
Click to collapse
mtrantalainen said:
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.
Click to expand...
Click to collapse
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
115ek said:
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.
Click to expand...
Click to collapse
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.
115ek said:
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.
Click to expand...
Click to collapse
Okay, thanks for the info about not needing TA backup anymore.
115ek said:
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
Click to expand...
Click to collapse
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.
mtrantalainen said:
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.
Click to expand...
Click to collapse
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?
mtrantalainen said:
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?
Click to expand...
Click to collapse
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
mtrantalainen said:
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.
Click to expand...
Click to collapse
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.
115ek said:
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?
Click to expand...
Click to collapse
Oops, you're right. Z1 compact does not have such feature, only XZ1.
Solving the problem
115ek said:
Yes, I can confirm this. I think it's somehow connected to the setup wizard which isn't even starting. Also the lineage setup wizard isn't included at the moment.
So staying calm and wait is the best we can do here.
Click to expand...
Click to collapse
If you install firmware, reboot. Then set the gapp all the work
Slavintir said:
If you install firmware, reboot. Then set the gapp all the work
Click to expand...
Click to collapse
Confirm that. Installed open_gapps-arm-10.0-pico-20191209-BETA. every thing is fine.
I noticed Battery icon 'text' or 'circle' doesn't work. On default icon show percent also doesn't work.
I am xperia z1 big user -_-
I am sorry for an immodest question. When to wait the following version of an insertion?
sibor55 said:
I am sorry for an immodest question. When to wait the following version of an insertion?
Click to expand...
Click to collapse
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.
PARESH AHAR said:
Confirm that. Installed open_gapps-arm-10.0-pico-20191209-BETA. every thing is fine.
I noticed Battery icon 'text' or 'circle' doesn't work. On default icon show percent also doesn't work.
Click to expand...
Click to collapse
I can confirm that the "battery icon as text" is not working.
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
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
dotted said:
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
Click to expand...
Click to collapse
Thanks. Sadly you won't stop these guys. Just ignore them instead.
115ek said:
Thanks. Sadly you won't stop these guys. Just ignore them instead.
Click to expand...
Click to collapse
Yeah I figured, but I just wanted to make sure you were aware in case you get an influx of people trying to get your ROM working on their XZ1 Compacts

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

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)
Click to expand...
Click to collapse
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 : Ok
- 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
Click to expand...
Click to collapse
Download
SourceForge
Click to expand...
Click to collapse
FAQ
What recovery system to use?
Please use this TWRP if you want to use OTA updates and/or encryption.
Click to expand...
Click to collapse
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):
Magisk https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Click to expand...
Click to collapse
ANT+ isn't working?
You need the 2 apps:
ANT Radio Service (Github) / (Google play)
ANT+ Plugin Service (Github) / (Google play)
afterwards setting proper permissions is essential!
Go to Apps & Notifications -> See All Apps
Select 'ANT Radio Service'
Select Permissions
Select Additional permissions
Slide switch to allow using of ANT hardware
This refers to those instructions which worked for me
Click to expand...
Click to collapse
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.
Click to expand...
Click to collapse
Bugreports
You'll find information about logging here.
Please also note how you got the error or how it can be reproduced.
Click to expand...
Click to collapse
Sources
Kernel: https://github.com/lin18-microg/android_kernel_sony_msm8974
Manifest: https://github.com/lin18-microg/local_manifests
Click to expand...
Click to collapse
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
Click to expand...
Click to collapse
Installation instructions
Please see the OP of our (deprecated) LineageOS 15.1 thread or also here
Click to expand...
Click to collapse
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 2023-06-09
Changelog
09.06.2023
ASB Security string 2023-06-05
standard build only:
System Webview 114.0.5735.58
microG build only:
Mulch Webview 114.0.5735.61
microG updated to 0.2.28.231657-5
FakeStore updated to 0.2.0
AuroraStore updated to 4.2.3
09.05.2023
ASB Security string 2023-05-05
standard build only:
System Webview 113.0.5672.77
microG build only:
Mulch Webview 113.0.5672.77
15.04.2023
ASB Security string 2023-04-05
standard build only:
System Webview 112.0.5615.48
microG build only:
Mulch Webview 112.0.5615.48
Removed Bromite browser and shipped LineageOS' Jelly instead
19.03.2023
ASB Security string 2023-03-05
standard build only:
System Webview 111.0.5563.58
microG build only:
Bromite Webview replaced by Mulch Webview 111.0.5563.58
18.02.2023
ASB Security string 2023-02-05
standard build only:
System Webview 109.0.5414.118
microG build only:
microG updated to 0.2.27.223616-3
Spoof apps installed by G*PlayStore
06.01.2023
ASB Security string 2023-01-05
standard build only:
System Webview 108.0.5359.128
microG build only:
microG updated to 0.2.26.223616-16
11.12.2022
ASB Security string 2022-12-05
standard build only:
System Webview 108.0.5359.79
microG build only:
Bromite Browser and Webview on 108.0.5359.106
microG updated to 0.2.26.223616-2
12.11.2022
ASB Security string 2022-11-05
standard build only:
System Webview 107.0.5304.91
microG build only:
Bromite Browser and Webview on 106.0.5249.163
microG updated to 0.2.25.223616-10
12.10.2022
ASB Security string 2022-10-05
standard build only:
System Webview 106.0.5249.79
microG build only:
Bromite Browser and Webview on 105.0.5195.147
microG updated to 0.2.24.223616-61
09.09.2022
ASB Security string 2022-09-05
Many kernel patches applied
standard build only:
System Webview 105.0.5195.68
microG build only:
Bromite Browser and Webview on 104.0.5112.91
microG updated to 0.2.24.214816-30
Performance improvement (exec spawning OFF by default)
Contacts app slightly 'de-Googled'
06.08.2022
ASB Security string 2022-08-05
standard build only:
System Webview 103.0.5060.71
microG build only:
Bromite Browser and Webview on 103.0.5060.140
12.07.2022
ASB Security string 2022-07-05
14.06.2022
ASB Security string 2022-06-05
standard build only:
System Webview 102.0.5005.78
microG build only:
Bromite Browser and Webview on 102.0.5005.96
microG updated to 0.2.24.214816-11
09.05.2022
ASB Security string 2022-05-05
standard build only:
System Webview 100.0.4896.127
microG build only:
Bromite Browser and Webview on 101.0.4951.53
microG updated to 0.2.24.214816-10
Mozilla Location provider on 1.5.0
12.04.2022
ASB Security string 2022-04-05
standard build only:
System Webview 100.0.4896.58
microG build only:
Bromite Browser and Webview on 100.0.4896.57
15.03.2022
ASB Security string 2022-03-05
Many kernel patches
standard build only:
System Webview on 98.0.4758.101
microG build only:
Bromite Browser and Webview on 99.0.4844.58
microG 0.2.24.214816-2
AuroraStore 4.1.1
22.01.2022
ASB Security string 2022-01-05
18.12.2021
ASB Security string 2021-12-05
standard build only:
System Webview on 96.0.4664.104
microG build only:
Bromite System Webview and Browser on 96.0.4664.54
microG 0.22.214516-21
14.11.2021
ASB Security string 2021-11-05
standard build only:
System Webview on 95.0.4638.50
microG build only:
Bromite System Webview and Browser updated to 94.0.4606.109
14.10.2021
introduce microG build variant (see this post or the OP for more information)
ASB Security string 2021-10-01
standard build only:
System Webview on 94.0.4606.71
microG build only:
Bromite System Webview and Browser updated to 93.0.4577.83
20.09.2021
fixed DRM (ref, ref)
18.09.2021
fixed FM radio (ref, ref)
synced LineageOS sources (security patch level September 05, 2021)
Wifi display is back (ref)
Setup wizard redesigned (ref)
16.08.2021
synced LineageOS sources (security patch level August 05, 2021)
switched to 3.4 kernel with backports
19.07.2021
synced LineageOS sources (security patch level July 05, 2021)
20.06.2021
added livedisplay
synced LineageOS sources (security patch level June 05, 2021)
11.06.2021
fixed fm SE linux denial
26.05.2021
fixed netmgrd SE linux denials (ref)
22.05.2021
fixed NFC settings not shown (ref)
fixed offline charging
15.05.2021
fixed wifi problems when WPA3 is used (ref)
13.05.2021
fixed wifi MAC address readout
synced LineageOS sources (security patch level May 05, 2021)
24.04.2021
enable OTA updates
switch to enforcing SE linux
start signing builds
23.04.2021
synced latest lineage sources
01.01.2021
using snap camera now (instead of camera2)
fixed NFC (thanks @AdrianDC)
19.12.2020
Lineage 18.0 -> Lineage 18.1 (android-11.0.0_r17 -> android-11.0.0_r19)
08.12.2020
fixed screenlock
06.12.2020
initial release
reserved
Thanks @koron393 camera is working now
New build is up.
08.12.2020
fixed screenlock
Furthermore I updated the manifest and build instructions - just in case someone wants to build from source.
It would be nice if you can share your experiences, so that we can complete the status list.
I have already mentioned it in the 17.1 thread but I think it is also good to post it here:
The bad font rendering from 17.1 is gone in this build.
EOL [ROM][Unofficial][10.0][signed][OTA] Lineage OS 17.1 for Xperia Z1 compact
This thread is discontinued - please visit the LineageOS 18.1 sucessor thread 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...
forum.xda-developers.com
I will wait until I can find and download GAPPS.
tramp20 said:
I will wait until I can find and download GAPPS.
Click to expand...
Click to collapse
BiTGApps
[CUSTOM][GAPPS] BiTGApps for Android
Hi All, Welcome to the official BiTGApps Release thread! BiTGApps is a customized Google Apps Package to sideload Google Apps in Custom Android OS. It comes with many useful features and easy installation. Get features list, instructions...
forum.xda-developers.com
koron393 said:
BiTGApps
[CUSTOM][GAPPS] BiTGApps for Android
Hi All, Welcome to the official BiTGApps Release thread! BiTGApps is a customized Google Apps Package to sideload Google Apps in Custom Android OS. It comes with many useful features and easy installation. Get features list, instructions...
forum.xda-developers.com
Click to expand...
Click to collapse
I tried already this link but they have server problems since 9 days :-(
MOD EDIT: Link Removed
Perhaps someone can upload these GAPPS to Onedrive, DropBox or GoogleDrive.
Search the xda thread carefully!
koron393 said:
Search the xda thread carefully!
Click to expand...
Click to collapse
Thanks.
This one?
[CUSTOM][GAPPS] BiTGApps for Android
Hi All, Welcome to the official BiTGApps Release thread! BiTGApps is a customized Google Apps Package to sideload Google Apps in Custom Android OS. It comes with many useful features and easy installation. Get features list, instructions...
forum.xda-developers.com
New build is up:
Lineage 18.0 -> Lineage 18.1 (android-11.0.0_r17 -> android-11.0.0_r19)
I will share a few first experiences with the build of 19.12.20:
- GPS and compass seem to work (Google Maps constantly crashes, Waze does show the right location and the compass moves when I move the phone. But I can't say for sure if it's maybe just using other sensors and Wifi for that)
- FM Radio : yes (can't judge the quality)
- Microphone : yes
- bluetooth audio : yes
- NFC : greyed out in the control center
Other:
- runs pretty fast for such an early version actually that was a lie, because it runs pretty fast for any version
- once got stuck on the Sony logo, which was fixed by holding power + volume up
- when I used the restart option from the power off menu, when it turned back on it was really slow and the screen flickered slightly. that happened just once though, so probably nothing to worry about
@115ek
thank you for this new ROM.
1. I have only installed BitGAPPS, but in the settings of Play Store I see "device is not certified".
Of course I deleted memory and cache of Play Store (was updated already) and Play Services.
2. Long pressing the power button does not show sreenshot, only power off and restart.
3. Restart to Recovery goes to Lineage Recovery and not to TWRP. How to change this?
I had already flashed TWRP again in fastboot mode.
It seems that TWRP has gone :-(
Has someone successfully installed/flashed Magisk 21.1 and when yes how?
I can flash it without errors but nothing is really installed, no Magisk framework and no Manager :-(
tramp20 said:
1. I have only installed BitGAPPS, but in the settings of Play Store I see "device is not certified".
Of course I deleted memory and cache of Play Store (was updated already) and Play Services.
Click to expand...
Click to collapse
The google certification algorithm changes from time to time and your phone can be classified as "not certified" at any point of time. I'm no gapps user, so unfortunately I can't give any tips here nor know what consequences this certification state really has.
tramp20 said:
2. Long pressing the power button does not show sreenshot, only power off and restart.
Click to expand...
Click to collapse
That's a lineage framework thing and most likely will change in the future.
tramp20 said:
3. Restart to Recovery goes to Lineage Recovery and not to TWRP. How to change this?
I had already flashed TWRP again in fastboot mode.
It seems that TWRP has gone :-(
Click to expand...
Click to collapse
That's also a thing forced by lineage. During the setup wizard you'll now be asked if you want to update the recovery. Don't check this box if you want to keep TWRP. Else you'll end up with lineage recovery.
tramp20 said:
Has someone successfully installed/flashed Magisk 21.1 and when yes how?
I can flash it without errors but nothing is really installed, no Magisk framework and no Manager :-(
Click to expand...
Click to collapse
I hadn't had a look into magisk yet. I'm just using root over adb for development purposes. Going to check that if I find some time.
@115ek,
thank you for all answers.
To lineage recovery : I found this already after some tries, this check box should not be pre-activated.
I saved the TWRP recovery.log after installing the latest Magisk-v21.2.zip.
But nothing is really installed, no Magisk framework and no Magisk Manager :-(
Perhaps you see something in this logfile.
@115ek,
I need a stock boot.img of the Z1c to patch it with the Magisk Manager.
All my tries failed: the ROM is always booting fine but neither Magisk nor Magisk Manager are installed.
This is happening with all Magisk >v20.4.
Every boot.img in the Lineage and AICP ROMs are different. Which one can I use?
I have TWRP backups from Android 5.1.1 but I don't know how to extract the boot.img.
Edit:
In the meantime I could extract the kernel.elf from the original firmware tft and convert this file with Android Image Kitchen to a boot.img. But this is ~ 2 MB bigger than yours in your ROM.
New Build is up:
using snap camera now (instead of camera2)
fixed NFC (thanks @AdrianDC)
tramp20 said:
Perhaps you see something in this logfile.
Click to expand...
Click to collapse
Not a the first sight, unfortunately.
tramp20 said:
This is happening with all Magisk >v20.4.
Click to expand...
Click to collapse
Earlier versions work fine?
tramp20 said:
Which one can I use?
Click to expand...
Click to collapse
None. The kernel needs one specific commit, pre-11 kernels don't have. Else it won't boot.
Besides that, you'd have to add a androidboot.selinux=permissive to the kernel command-line as this 11 build is still permissive.
115ek said:
Earlier versions work fine?
Click to expand...
Click to collapse
Yes, all up to 20.4.
The same problem exist with lineage 17.1.
A happy new year to all and thanks for the builds.

LineageOS 19.1 (Android 12L) [Signature Spoofing][OTA updates] for S7 Exynos

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
LineageOS 19.1 for herolte​
Code:
/*
* Your warranty is now void.
*
* I am 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 me for messing up your device, I will laugh at you.
*/
Working:
- Wifi
- Sound
- mali drivers
- USB tethering
- HW Backed video Playback
- Ril (Mobile data,calls, sms and stuff)
- Sensors
- Buttons
- Bluetooth
- Wifi HotSpot
- MTP
- 2D and 3D gpu acceleration
- HW encoding/decoding
- HWcomposer (HWC)
- Charging with device powered off
- Stuff I didn't test yet
- Camera
- GPS
- Fingerprint Sensor
- Mobicore
- SW codecs
Not Working
-
Keep in mind that some LineageOS features have not been completed yet this is not a device bug and please do not report those
in this rom thread, also do not post bug reports for known issues or bug reports without proper
a) Logcat
b) proc/last_kmsg (or proc/kmsg)
c) data/tombstones
d) dmesg
Install gapps right after installing the rom itself don't try to boot to system before that if you want to use gapps (Or wipe data before installing them)
Make sure gapps you decide to use support android 12L/12.1/Are targetting api level 32
Also make sure you are using latest official TWRP before installing rom older versions do not have proper android 12 support
If you want to use Magisk use latest Magisk Beta (25.0) or Magisk 24.1, there is bug in 24.3 that was fixed after its release that prevents zygisk from working on some devices with 3.18 kernel
Downloads:
Google Drive
Mega.nz
GitHub Releases
MD5: 711193220ab73679bcdbf2fae433c9a8
if you want to support the project feel free to buy me some coffee paypal.me/ivanmeler
BTC: 1Q823BsSbEKP62JFM7BjXiRCgF84qgcFST
ETH(erc20): 0x979a8e42551e62e6994d3762c9d9f0e76b5d87f9
Donations help cover the build server cost and since I do this in my free time, and also cover the coffee for time spent debugging stuff
Feel free to join telegram group with early builds progress updates and some off topic stuff Join
Based On Android 12L/S
Changelog
06.06.2023.
- Merged June 2023. Security update
- Synced with LineageOS source
05.05.2023.
- Merged May 2023. Security update
- Misc performance and stability improvements
- Synced with LineageOS source
24.04.2023.
- Switched to more source built components from new Exynos 850/Linaro BSP
hwcomposer
memtrack
libion_exynos
libGrallocWrapper
gralloc
libcsc
libexynosscaler
libexynosgscaler
libhwjpeg
Whole OMX stack (libOMX.Exynos.*) and stagefrighthw
- Performance, stability and battery life improvements
- Synced with LineageOS source
12.04.2023.
- Merged April 2023. Security update
- Synced with LineageOS source
17.03.2023.
- Merged March 2023. Security update
- Synced with LineageOS source
11.02.2023.
- Merged February 2023. Security update
- Synced with LineageOS source
05.01.2023.
- Merged January 2023. Security update
- Misc performance and stability improvements
- Synced with LineageOS source
07.12.2022.
- Merged December 2022. Security update
- Synced with LineageOS source
09.11.2022.
- Merged November 2022. Security update
- Cleaned up patches list
- Synced with LineageOS source
05.10.2022.
- Merged october 2022. Security update
- Fixed samsungs bug with gps where it would start acting up over time due to time rollover bug
- Synced with LineageOS source
07.09.2022.
- Merged September 2022. Security update
- Updated chromium webview to 105.0.5195.79
- Synced with LineageOS source
07.08.2022.
- Merged August 2022. Security update
- Synced with LineageOS source
07.07.2022.
- Merged July 2022. Security update
- Fixed more keystore issues
- Synced with LineageOS source
24.06.2022.
- Fixed issues with keystore present in a lot of bank/secure apps like binance
- Fixed issue where setupwizard would crash when adding fingerprint due to bug in keystore
- Cleaned up patches required for build and removed unneeded ones
- Synced with LineageOS source
07.06.2022.
- Merged June 2022. security update
- Merged June 2022. pixel feature drop (SQ3A.220605.009.A1)
- Improved in-call audio quality drastically
- Addressed few more selinux denials
- Improved general stability and performance
- Cleaned up source
- Synced with LineageOS source
26.05.2022.
- Updated libexynosdisplay from BSP to comply with some android 12 changes
- Removed unused build.prop entries
- Fixed few selinux denials related to hwc props
- Improved UI performance and stability
- Cleaned up source
- Removed more unneeded patches for device support
- Synced with LineageOS source
18.05.2022.
- Added QR code reader quick settings toggle
- Improved device performance and stability
- Added Custom low power mode power profile for cpu
- Improved A-GNSS (A-GPS) Lock speed
- Exposed device hw revision to settings
- Improved fast/slow charger detection
- Synced with LineageOS source
10.05.2022.
- Switched to new libperfmgr power hal which can be configured from /system/vendor/etc/powerhints.json
- Adapted DT2W to new power hal
- Muted phone services gps notif (Thanks google really appreciate you breaking random things for everyone)
- Improved battery life and performance
- Cleaned up all of leftover patches that were used by legacy power hal
- Synced with LineageOS source
07.05.2022.
- Improved battery usage logging for display
- Added QR code reader to camera app (Long hold icon and launch it from context menu)
- Misc performance and stability improvements
- Merged May 2022. security update
- Synced with LineageOS source
27.04.2022.
- Removed libbfqio dependency from hwc since it was dropped from lineageos 19.1
- Misc performance and stability improvements
- Synced with LineageOS source (same base as official builds + some extras)
18.04.2022.
- Fixed bug wehre vibrations were too low on some devices due to inintensity being set to 0
- Fixed bug where apps would show square popup "animation" when launching from icon instead of roudned one
- Cleaned up build patches
- Synced with LineageOS source
15.04.2022.
- Updated sepolicy and merged updated common samsung_slsi sepolicy
- Increased microphone gain while recording media (Camcorder, voice recording etc.)
- Added option to disable vibration feedback on fingerprint auth
- Synced with LineageOS source
08.04.2022.
- Fixed extended volume panel
- Updated icons for few more stock apps
- Cleaned up patches further
- Misc peroformance improvements
- Synced with LineageOS source
06.04.2022.
- Merged April 2022. Security update
- Enabled new LineageOS icons (you might have to clear launcher cache for them to show up)
- Fixed issue where galery app would show black text on black background
- Fixed issue where unlock sound would sometimes play twice
- Misc performance and stability improvements
- Synced with LineageOS source
29.03.2022.
- Drastically speed up app launch time (more info about that here)
- Imrpoved performance and battery life by disabling some unnecessary logging
- Switched to source built camera provider and removed samsung proprietary one
- Upreved camera provider to 2.5
- Fixed few selinux denials related to NFC trying to raad debug props
- Removed floating_feature.xml which is unused on aosp
- Disabled livedisplay by default
- Cleaned up extra dependencies used for compiling
- Synced with LOS source
22.03.2022.
- Added back configurable audio volume panel location
- Speed up unlock with fingerprint
- Updated a lot of apps to MaterialYou design language
- Fixed issue where touch screen area bellow home button would act as a gesture area even while gestures are disabled
- Improved stability of ADB connection
- Implemented new LineageOS setupwizard
- Cleaned up device tree and list of required patches
- Stability and performance improvements
- Pointed Changelog url in updater app to new page
- Synced with LineageOS source
14.03.2022.
- Fixed issue with keystore where apps would crash when invoking it (Security related apps mostly like signal and a lot of work apps)
- Officially rebranded as 19.1
- Updated changelog URL in updater app to point to a valid changelog
- Fixed battery icon styles (Again..)
- Removed invalid zram config.
- Cleaned up source
- Performance and stability improvements
- Updated some stock apps to math with new design
- Synced with LineageOS source
10.03.2022.
- Merged March 2022. security and feature updates (Android 12L)
- Fixed status bar network trafic monitor
- Improved zram performance and enabled zram writeback
- Cleaned up patches needed for build
- Fixed network usage monitoring
- Fixed per app network restrictions
- Removed AudioFX which was causing issues
- Decreased microphone and earpiece gain a bit to mitigate in-call issues
- Updated some device control apps like advanced display settings
- Improved vibrator intensity in new hal
- Imrpoved fp sensor response time
- A lot of 'under the hood' changes
- Performance improvements
- Merged more previously missing los features
- Implemented OTA updates
10.02.2022.
- Merged February 2022. security update
- Removed broken volume button location toggle
- Synced with LOS source
09.02.2022.
- Fixed issue where camera would stop working after prolonged use
- Misc performance and stability improvements
- Merged some more lineageos features that have been posted to gerrit
- Synced with LOS source
28.01.2022.
- Fixed developer options crashing on launch
- Added Bluetooth SBC Dual Channel HD audio mode
- Synced with LOS source
27.01.2022.
- Added back lineageos setup wizard present on clean installs
- Merged some of previously missing features that have been ported over to LineageOS 19
- Performance and stability improvements
- Synced with LOS source
18.01.2022.
- Enabled selinux (Its enforcing now)
- Moved audio hal to vendor
- Fixed confirmation dialog box for button backlight
- Fixed ok button which would go missing for button backlight
- Switched to source built secril_config_svc (used for ds detection)
- Removed obsolete debug.sf.disable_backpressure prop
- Merged latest security updates to kernel from aosp kernel/common
- Cleaned up source
- Cleaned up unused props
- Removed unused custom ld.config.txt that was overriding main one
- Misc performance and stability improvements
- Synced with LOS source
06.01.2022.
- Removed duplicate props in vendor and system
- Cleaned up device tree code
- Switched to source built camera provider lib
- Switched to few source built ril related libs
- Addressed more selinux denials
- Fixed volume panel location settings
- Added button backlight
- Added Advanced Reboot
- Added LiveDisplay entry into settings
- Added system side toggle for navigation bar
- Merged January 2022 Security Update
- Merged most of previously missing LineageOS features
- Misc performance and stability improvements
- Synced with LOS source
20.12.2021.
- Fixed wireless display
- Reduced logspam which should imrpove performance a bit
- Misc performance and stability improvements
- Synced with LOS source
16.12.2021.
- Merged r18 tag of Android 12 (SQ1D.211205.016.A1)
- Removed liboemcrypto which was preventing drm playback in some apps
- Synced with LOS source
13.12.2021.
- Updated Clearkey to 1.4
- Addressed most of selinux denials
- Switched to new AIDL Lights hal
- Upreved audio hal to 7.0
- Switched to new AIDL Vibrator hal
- Disabled configstore which got replaced with props
- Upreved fingerprint hal/service to 1.3
- Removed unused kernel defconfig flag
- Synced with LOS source
09.12.2021.
- Merged December 2021. Security update
- Merged December 2021 pixel feature drop
- Added signature spoofing support which can be used to add microg instead of gapps
- Merged a lot of lineageos features that have been implemented
- Fixed bluetooth sample rate while in call
- Moved device specific ueventd rules to /system/vendor/etc
- Freed up some ram
- performance and stability improvements
30.11.2021.
- Initial release
XDA:DevDB Information
LineageOS 19.0 for S7, ROM for the Samsung Galaxy S7
Contributors
Ivan_Meler
Source Code: https://github.com/8890q/android_kernel_samsung_universal8890/tree/lineage-19.0
ROM OS Version: Android 12L
ROM Kernel: Linux 3.18.x
Version Information
Status: Stable
After a long wait, here it is, Surprisingly smooth android 12 on s7
check out screenshots here
https://imgur.com/a/A6aTCrv
Big thanks to everyone who supported this project so far as they helped cover the build server cost and got me coffee for hours spent debbuging weird issues
enjoy android 12 and stay safe
I can't wait to try this out!
Ivan_Meler said:
LineageOS 19.0 for herolte​
Code:
/*
* Your warranty is now void.
*
* I am 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 me for messing up your device, I will laugh at you.
*/
Working:
- Wifi
- Sound
- mali drivers
- USB tethering
- HW Backed video Playback
- Ril (Mobile data,calls, sms and stuff)
- Sensors
- Buttons and their backlight
- Bluetooth
- Wifi HotSpot
- MTP
- 2D and 3D gpu acceleration
- HW encoding/decoding
- HWcomposer (HWC)
- Charging with device powered off
- Stuff I didn't test yet
- Camera
- GPS
- Fingerprint Sensor
- Mobicore
- SW codecs
Not Working
-
Keep in mind that a lot of LineageOS features have not been completed yet this is not a device bug and please do not report those
in this rom thread, also do not post bug reports for known issues or bug reports without proper
a) Logcat
b) proc/last_kmsg (or proc/kmsg)
c) data/tombstones
d) dmesg
Install gapps right after installing the rom itself dont try to boot to system before that if you want to use gapps
NikGapps and BiTgapps were both tested and working tho BitGapps performed better due to more up to date packages
Downloads:
Google Drive
Mega.nz
MD5: 9078e1310aea71cb5f04e548bff3a324
I do this in my free time so bear that in mind when you notice I didn't fix known bug in next available build, Currently i work on this alone and i am not one of those kangers that just copy source and claim it as their own work,
if you want to support the project feel free to buy me some coffee paypal.me/ivanmeler
Feel free to join telegram group with early builds progress updates and some off topic stuff Join
Based On Android 12/S
Changelog
30.12.2021.
- Initial release
XDA:DevDB Information
LineageOS 18.0 for S7, ROM for the Samsung Galaxy S7
Contributors
Ivan_Meler
Source Code: https://github.com/8890q/android_kernel_samsung_universal8890/tree/lineage-19.0
ROM OS Version: Android 11
ROM Kernel: Linux 3.18.x
Version Information
Status: Stable
Click to expand...
Click to collapse
ROM OS Version: Android 11
why? it should be 12 !
Up and running, works very good!
Really appreciate your work to keep this hardware up and running! Saved me from at least buying 2 new devices!
Does this rom echo during phone calls?
Very keen to finally install a custom rom on my ageing stock standard s7...
donnytuco said:
Does this rom echo during phone calls?
Click to expand...
Click to collapse
Not for me (930FXXU8ETI2).
All good expect some LOS functions, but that is due to LOS.
ScanX said:
Not for me (930FXXU8ETI2).
All good expect some LOS functions, but that is due to LOS.
Click to expand...
Click to collapse
Which functions in particular?
Hello already thank you Ivan Meler for all this work on the other hand I wanted to go again in TWRP to put Magisk back but I am stuck on the home page of twrp and impossible to turn off the telephone do you have any idea thank you
Ivan_Meler said:
LineageOS 19.0 for herolte​
Code:
/*
* Your warranty is now void.
*
* I am 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 me for messing up your device, I will laugh at you.
*/
Working:
- Wifi
- Sound
- mali drivers
- USB tethering
- HW Backed video Playback
- Ril (Mobile data,calls, sms and stuff)
- Sensors
- Buttons
- Bluetooth
- Wifi HotSpot
- MTP
- 2D and 3D gpu acceleration
- HW encoding/decoding
- HWcomposer (HWC)
- Charging with device powered off
- Stuff I didn't test yet
- Camera
- GPS
- Fingerprint Sensor
- Mobicore
- SW codecs
Not Working
-
Keep in mind that a lot of LineageOS features have not been completed yet this is not a device bug and please do not report those
in this rom thread, also do not post bug reports for known issues or bug reports without proper
a) Logcat
b) proc/last_kmsg (or proc/kmsg)
c) data/tombstones
d) dmesg
Install gapps right after installing the rom itself dont try to boot to system before that if you want to use gapps
NikGapps and BiTgapps were both tested and working tho BitGapps performed better due to more up to date packages
Downloads:
Google Drive
Mega.nz
MD5: 9078e1310aea71cb5f04e548bff3a324
I do this in my free time so bear that in mind when you notice I didn't fix known bug in next available build, Currently i work on this alone and i am not one of those kangers that just copy source and claim it as their own work,
if you want to support the project feel free to buy me some coffee paypal.me/ivanmeler
Feel free to join telegram group with early builds progress updates and some off topic stuff Join
Based On Android 12/S
Changelog
30.11.2021.
- Initial release
XDA:DevDB Information
LineageOS 18.0 for S7, ROM for the Samsung Galaxy S7
Contributors
Ivan_Meler
Source Code: https://github.com/8890q/android_kernel_samsung_universal8890/tree/lineage-19.0
ROM OS Version: Android 12
ROM Kernel: Linux 3.18.x
Version Information
Status: Stable
Click to expand...
Click to collapse
I have been looking for this for quite a while now. So epic someone finally released this.
dan54140 said:
Hello already thank you Ivan Meler for all this work on the other hand I wanted to go again in TWRP to put Magisk back but I am stuck on the home page of twrp and impossible to turn off the telephone do you have any idea thank you
Click to expand...
Click to collapse
You need to update twrp. Latest is twrp-3.6.0_9-0-herolte.
donnytuco said:
Which functions in particular?
Click to expand...
Click to collapse
Such incidentals as brightness control sliding across status bar. No idea, i don't need most of it at all.
Pretty great work. The fast charging seems to be busted though. Took 30 minutes to charge from 50% to 60%.
dan54140 said:
Hello already thank you Ivan Meler for all this work on the other hand I wanted to go again in TWRP to put Magisk back but I am stuck on the home page of twrp and impossible to turn off the telephone do you have any idea thank you
Click to expand...
Click to collapse
I had the same Problem after the first reboot. Just flash twrp again using heimdall, then everything works fine again
ScanX said:
Such incidentals as brightness control sliding across status bar. No idea, i don't need most of it at all.
Click to expand...
Click to collapse
Or long press "back" to kill an app, long press "home" to go back to previous app. Nothing bad though
There seems to be an issue with build.prop. I increased volume steps there, restarted and nothing has changed. The same method is working in LineageOS 18.1.
Upgrade was smooth from 18.1 with Nikgapps R and Action Launcher.
Flashed latest TWRP - 3.6.latest;
Wiped system, cache, Dalvik but not data;
Installed zips lineageos 19, Nikgapps S full, Magisk 23, all in a row, reboot system took about as long as expected.
All apps data, wi-fi passwords app PINs, hotspot and launcher settings kept, although permissions for all apps seem to be reset to default, but Magisk SU permitted apps kept.
Nice and smooth phone calls are fine but I hate, HATE that wi-fi and mobile internet are in one quick settings now requiring and extra step to get wi-fi networks list.
Haven't tested music with The Good Headphones yet but will
Thanks to @Ivan_Meier as always
PS any f2fs support for cache or system and exFAT for ext_sdcard?
abnormalindian said:
Pretty great work. The fast charging seems to be busted though. Took 30 minutes to charge from 50% to 60%.
Click to expand...
Click to collapse
I cannot confirm this.
Fast charge started at 50%, after 26 minutes the battery is at 87%.
In 26 minutes 37% charge I would call very fast!
ScanX said:
You need to update twrp. Latest is twrp-3.6.0_9-0-herolte.
Click to expand...
Click to collapse
thank you for the answer but I am stuck on the TWRP home page I unplug the battery all night and when I reconnect it to the TWRP home page
ScanX said:
I cannot confirm this.
Fast charge started at 50%, after 26 minutes the battery is at 87%.
In 26 minutes 37% charge I would call very fast!
Click to expand...
Click to collapse
I turned the phone of and it charged from 5 to 100% in about an hour.

Categories

Resources