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

Search This thread

modpunk

Inactive Recognized Contributor
Oct 14, 2011
1,718
6,647
Sony Xperia XZ1 Compact
Samsung Galaxy S10
LineageOS 15.1 for Sony Xperia XZ1 Compact

screenshot_lilac_01.png
screenshot_lilac_02.png


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

Inactive Recognized Contributor
Oct 14, 2011
1,718
6,647
Sony Xperia XZ1 Compact
Samsung Galaxy S10
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

Inactive Recognized Contributor
Oct 14, 2011
1,718
6,647
Sony Xperia XZ1 Compact
Samsung Galaxy S10
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
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.
 

modpunk

Inactive Recognized Contributor
Oct 14, 2011
1,718
6,647
Sony Xperia XZ1 Compact
Samsung Galaxy S10
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.

I will provide a ROM with MicroG, but not on the first release. MicroG needs to compile their stuff with API level 27 first ...
 

4rz0

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

modpunk

Inactive Recognized Contributor
Oct 14, 2011
1,718
6,647
Sony Xperia XZ1 Compact
Samsung Galaxy S10
Yes, full wipe including dalvik and cache. Flashed boot.img from modpunk's ALPHA0 with fastboot and same result... Puzzled, never experienced this.
Flashed stock 12.34 and boots fine, though had to wipe userdata also :D

The upload finally finished. Could you please re-download and try again?
 

Nouatik

Senior Member
Jan 10, 2011
213
213
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
 

Nouatik

Senior Member
Jan 10, 2011
213
213
Flawless installation.
Flashed twrp, rom and magisk.
Its a good feeling when everything just works.
Huge thanks!! :)
 
  • Like
Reactions: andacro

Burakki

Senior Member
Oct 26, 2014
66
15
Hi, i have some problems with the GPS + google maps. The navigation is very low. After the phone has found my location, maps doesn't work...
 
  • Like
Reactions: Kalimohan

Top Liked Posts

  • There are no posts matching your filters.
  • 69
    LineageOS 15.1 for Sony Xperia XZ1 Compact

    screenshot_lilac_01.png
    screenshot_lilac_02.png


    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
    25
    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!
    23
    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!
    20
    So you have abandoned the ROM before it even got out of beta? This makes no sense whatsoever. Some people are not interested in using brand new Android version that's not matured yet... :/

    a) This is a spare time project and my spare time is limited
    b) The source code is open source, fix the remaining issues.

    I'm looking forward to your contributions.
    16
    I have a new build with updated SDM stack and a completly new kernel from @derf elot however we've run into some issues with the new kernel and working on fixes. Once we have them we will provide a new build.