• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM] LineageOS 15.1 UNOFFICIAL - BETA8 (2018-10-22)

modpunk

Recognized Contributor
Oct 14, 2011
1,692
6,424
113
LineageOS 15.1 for Sony Xperia XZ1 Compact



BETA RELEASE

This release is a beta release. It works very well and can be used as a daily driver. Please check the lists about what works or not below and check what needs testing and feedback.

FEATURES
  • Signed with dev keys
  • FDroid preinstalled
  • FDroid Privilege Extension
  • Bugs included

DOWNLOAD

You can download the latest release here. Check the ChangeLog below for firmware requirements!

INSTALLATION

Put the zip file of the ROM on you sdcard or internal store and boot into recovery. If you use my TWRP recovery, you should use that one to flash the ROM.

Make sure you select Zip signature verification.

This will make sure the zip file has not been altered!

KNOWN ISSUES

  • IMS support is missing (we are working on it, but it isn't trivial)

HARDWARE

  • Phone doesn't work well with Mifare NFC tokens
  • IMS does not fully work for some carriers yet


UNTESTED


XDA:DevDB Information
lineageos_sony_lilac, ROM for the Sony Xperia XZ1 Compact

Contributors
modpunk, derf elot
Source Code: https://github.com/cryptomilk/android_device_sony_lilac

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 4.x
ROM Firmware Required: TWRP Recovery
Based On: LineageOS

Version Information
Status: Beta
Current Beta Version: 8
Beta Release Date: 2018-10-22

Created 2018-02-05
Last Updated 2018-10-22
 
Last edited:

modpunk

Recognized Contributor
Oct 14, 2011
1,692
6,424
113
UPGRADE FIRMWARE

  • Grab the Sony Stock firmware using e.g. XPeriFrim. You should always flash the firmware matching the LOS build.
  • Grab newflasher and put it in the same folder as the firmware files.
  • Read the newflasher original post on XDA for general instructions!
  • Remove the follwing from the folder so they won't get flashed:
    • all *.ta files (keep the one in the boot/ directory)
    • cache*.sin
    • fotakernel*.sin
    • kernel*.sin
    • system*.sin
    • userdata*.sin
    • vendor*.sin
  • Turn off your phone
  • Hold the volume down button and attach it via USB to your system till you see LED turning green
  • Run newflasher from within this directory to flash the remaining files
    You can say yes to the first optional step, in case you dont have working drivers installed.
    Skip the second optional step (dumping of trim area), it's useless if your bootloader is unlocked already and takes a long time.

Google Apps

You can download and install the Google Apps from opengapps.org. You need ARM64 and 8.x. I suggest to *always* use the pico package. If you need additional apps you find them in the Play Store.

Privacy Guard for GApps

I wouldn't run GApps without Privcy Guard. Here is what you need to do:

Go to: Settings -> Security & location -> Privacy Guard

Open the advanced menu (3 dots) and select: Enable by default and Show built-in apps.

Search for Google Play Services and turn it on by tapping the entry. A long press will give additional options. There are more Google Apps you should turn it on and revoke permissions like the syncing stuff.

FDroid

This ROM comes with FDroid and the Privilege Extension pre-installed.

MicroG

Doesn't provide API level 27 builds yet ... will probably available in future with signature spoofing.

Simple Mobile Tools

This is a collection of really awesome Open Source and AD-free Apps! Don't get confused by the name! Especially the Calendar and Gallery app are really good! If you like his stuff, support him by buying the Simple Thanks app.

You can find them in FDroid and the Play Store.

Known Issues

Some apps don't work (Gardenscapes, Die Zeit, ...)

When an app is installed then it should ask for Permissions on the first startup. However for some apps this doesn't happen. To fix it you need to go to Settings -> Apps & Notifications -> See all apps -> Select the App -> Permissions. Now manually activate the required permission, normally the Storage Permission is missing in that case!
 
Last edited:

modpunk

Recognized Contributor
Oct 14, 2011
1,692
6,424
113
CHANGELOG

2018-10-22
  • Updated Kernel to version 4.4.161
  • Use same vibration strength as stock
  • Updated GPS stack
  • Recommended firmware: 47.1.A.16.20


2018-09-17
  • Updated Kernel to version 4.4.156
  • Improved GPS performance, GPS fix in less than 10 seconds now
  • Added stock camera app
  • Recommended firmware: 47.1.A.16.20


2018-08-14
  • Updated Kernel to version 4.4.147
  • Some performance improvements (The system should be more responsive)
  • Improvements to save some battery
  • Fixed touch pressure issues
  • Requires firmware version: 47.1.A.12.270

2018-06-12
  • Updated Kernel to version 4.4.136
  • Added support for WireGuard VPN
  • Added support for Sony modem configurations

2018-05-16
  • Updated to completely new kernel which follows Linux 4.4.x stable (Thanks @derf elot)
  • Updated display stack to newer version
  • Fixed USB Tethering which broke with BETA2
  • More volume steps for media playback
  • Fixed IRQ balancing (found by derf elot) (This is broken in Stock ...)

2018-04-16
  • Updated to April build
  • Fixed 'OK Google'
  • Fixed wifi startup issues
  • Fixed GPS issues

2018-03-23
  • Kernel bugfixes
  • Native exfat support
  • Several audio improvements
  • Updated vibration patterns
  • Updated brightness levels
  • Fixed IMS
  • Fixed MTP
  • Fixed offmode charging

2018-02-19
  • Added HWComposer improvements (efficient ColorTransform)
  • Added Kernel support for exfat formatted sdcards
  • Added Vulkan compute feature
  • Added IPv6 ebtables
  • Switched Snap to Camera API2 with extended features (ubifocus, optizoom, blur, pro mode, etc.)
  • Fixed headphones audio
  • Fixed NFC
  • Fixed tethering support
  • Fixed audio effects

2018-02-06
  • The big bang!
 
Last edited:

Dinowaffles

Member
Dec 3, 2016
9
5
0
Thank you so much man. I heard you mention micro g on the other thread. Do you know if I'll work with LineageOS 15.1? I really don't want to use GApps.
 

4rz0

Senior Member
Dec 2, 2010
400
88
0
I think it would be preferrable to not ship any version of GApps with the ROM. This way, everyone can install what they want.
 

Nouatik

Senior Member
Jan 10, 2011
211
211
43
could someone clear up the securitypatch and rom relation?
do i just flash the latest of your twrp and LOS? are they synced so to speak?

Thanks ahead