FORUMS

[ROM] LineageOS 16.0 UNOFFICIAL - 1.2 [2020-02-11]

1,422 posts
Thanks Meter: 5,643
 
By modpunk, Recognized Contributor on 28th April 2019, 09:00 PM
Post Reply Email Thread
LineageOS 16.0 for Sony Xperia XZ1 Compact

LILAC01 LILAC02

RELEASE

This is an alternative ROM for the Sony Xperia XZ1 Compact. It offers several privacy features and F-Droid App Store preinstalled. If you're coming from LineageOS 15.1 you can simply update! No need to wipe anything.

FEATURES
  • Signed with dev keys
  • FDroid preinstalled
  • FDroid Privilege Extension
  • Well tested but some bugs maybe 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
  • NFC is not working yet
  • Phone doesn't work well with Mifare NFC tokens
  • IMS does not fully work for some carriers yet

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

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

ROM OS Version: 9.x Pie
ROM Kernel: Linux 4.x
Based On: LineageOS

Version Information
Status: Stable
Current Stable Version: 1.2
Stable Release Date: 2020-02-11

Created 2019-04-28
Last Updated 2020-02-11
The Following 49 Users Say Thank You to modpunk For This Useful Post: [ View ] Gift modpunk Ad-Free
28th April 2019, 09:01 PM |#2  
OP Recognized Contributor
Thanks Meter: 5,643
 
Donate to Me
More
SECURITY ADVICE

Don't flash ROMs or Magisk modules which set SELinux to permissive or you welcome malware on your device!


UPGRADE LINEAGEOS

If you're running LineageOS 15.1 you can simply flash LineageOS 16.0, upgrade the firmware for modem etc. and be done. There is no need to wipe the data partition, just clean dalvik and cache after updating LineageOS.

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
    • persist*.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.

How to get root?

Flash the su addon from LineageOS you can find here: https://download.lineageos.org/extras

Google Apps

You can download and install the Google Apps from opengapps.org. You need ARM64 and 9.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

This ROM doesn't support Signature Spoofing. However we are watching MicroG and check if they provide newer builds e.g. for Android Pie.

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!
The Following 28 Users Say Thank You to modpunk For This Useful Post: [ View ] Gift modpunk Ad-Free
28th April 2019, 09:02 PM |#3  
OP Recognized Contributor
Thanks Meter: 5,643
 
Donate to Me
More
REQUIRED FIRMWARE: 47.2.A.11.228

CHANGELOG

2020-02-11 | 1.2 | 47.2.A.11.228
  • Fixed issues with storing app data on sd card


2020-01-30 | 1.1 | 47.2.A.11.228
  • Update to kernel 4.4.213

2019-12-15 | 1.0 | 47.2.A.11.228
  • Update to kernel 4.4.206
  • Updated FDroid

2019-11-18 | RC6 | 47.2.A.11.228
  • Update to kernel 4.4.202
  • Added FlipFlap cover support
  • Updated FDroid
  • Fixed tethering issues


2019-10-18 | RC5 | 47.2.A.11.228
  • Update to kernel 4.4.196
  • Fixed FDroid permissions
  • Fixed application pinning
  • Moved to stock audio hal
  • Updated vendor properties


2019-09-18 | RC4 | 47.2.A.10.107
  • Update to kernel 4.4.193
  • Added WFD support
  • Fixed issue with NFC
  • Several cleanups in the device tree

2019-08-14 | RC3 | 47.2.A.10.107
  • Fixed random reboots (bad CAF kernel patch)
  • Fixed perf service and power HAL
  • Fixed issue showing white sony logo for too long
  • Fixed NFC
  • Fixed live display issues

2019-07-08 | RC2 | 47.2.A.10.80
  • Enabled bokeh mode in Snap
  • Fixed bluetooth issues
  • Fixed IMS
  • Fixed irq balancing
  • Updated kernel to latest version
  • Updated Android to 9.0_r44

2019-06-11 | RC1 | 47.2.A.10.62
  • More power efficient Kernel build
  • Added Sony Camera App
  • Improved wifi support and enabled some features
  • Fixed UFS firmware updates
  • Fixed brightness levels
  • Fixed some random reboot issues
  • Fixed some video issues with netflix
  • Fixed system permission issues
  • Fixed airplane mode
  • Fixed adaptive display issues

2019-04-29 | RC0 | 47.2.A.10.45
  • Initial release
The Following 22 Users Say Thank You to modpunk For This Useful Post: [ View ] Gift modpunk Ad-Free
28th April 2019, 09:16 PM |#4  
Member
Flag Frankfurt
Thanks Meter: 23
 
More
YES!!! I am so excited about this moment that I want to have sex with it!

Quick question:
Any chance there will be a version without FDroid? (or, can it simply be uninstalled?)

You guys are the best!

EDIT: removed stupid question
28th April 2019, 09:19 PM |#5  
Senior Member
Thanks Meter: 25
 
More
Quote:
Originally Posted by modpunk

REQUIRED FIRMWARE: 47.2.A.10.45

CHANGELOG

2019-XX-XX
Initial release

@modpunk


Hey, I don't wanna trouble you but i have alot of problem with internet connectivity and slow connection can you upload the required firmware files in zip ,I will be really grateful and wouldn't have to spend all my time downloading the whole fw


Thanks in advance
29th April 2019, 01:04 AM |#6  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by modpunk

REQUIRED FIRMWARE: 47.2.A.10.45

CHANGELOG

2019-XX-XX
Initial release

thank you!
Can you upload on Androidfilehost?
And I can’t download this file
29th April 2019, 10:50 AM |#7  
Senior Member
Flag Berlin
Thanks Meter: 74
 
More
Quote:
Originally Posted by Hrelativity

thank you!
Can you upload on Androidfilehost?
And I can’t download this file

For now, this thread is only a placeholder. A preparation for the "XDA-official" release of LOS16.

Edit: Ha ha, RC0 released already. Download problem solved then.
29th April 2019, 02:26 PM |#8  
OP Recognized Contributor
Thanks Meter: 5,643
 
Donate to Me
More
RC0 released ...
The Following 18 Users Say Thank You to modpunk For This Useful Post: [ View ] Gift modpunk Ad-Free
29th April 2019, 08:04 PM |#9  
mcgi5sr2's Avatar
Senior Member
Flag Sheffield
Thanks Meter: 1,813
 
More
If you coming from stock don't forget to update to latest TWRP 3.3.3 and also to mount system and advanced wipe it. Working really well on this end thanks for the great work devs
The Following 2 Users Say Thank You to mcgi5sr2 For This Useful Post: [ View ] Gift mcgi5sr2 Ad-Free
29th April 2019, 08:33 PM |#10  
Member
Thanks Meter: 6
 
More
I'm very happy lineageOS 16 is ready! I will flash it when I know more of its battery drain, stock Android 9 sucked a lot in this when I upgraded my phone and I decided to go back to Oreo (lineageOS 15.1,that's better!)
29th April 2019, 11:40 PM |#11  
Senior Member
Thanks Meter: 1,478
 
Donate to Me
More
Just added back the stock camera and addons. Everything seems to work fine.
The Following 6 Users Say Thank You to derf elot For This Useful Post: [ View ] Gift derf elot Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes