[ROM] LineageOS 15.1 UNOFFICIAL - BETA8 (2018-10-22) - for the XZ1 / Poplar

Search This thread

up2dateneurosis

Senior Member
Jul 1, 2014
104
27
Garenfeld
Developer and XDA member modpunk is working since about a year on his LineageOS 15.x release for the Sony Xperia XZ1 compact (codename Lilac) and shared his work with the community in his thread https://xdaforums.com/xperia-xz1-compact/development/lineageoslilac-t3745215/ in the XZ1 compact area :good: Beside the community with theire feedback, he gets support by the developer derf elot and together they are currently working on a LineageOS 16.x release for the XZ1 compact. So for now the LineageOS 15.x support has stopped to concentrate on the 16.x version.

As a XZ1 (none compact, the big brother, codename Poplar) user, I hoped to get their work running on my device too. And yes, it was possible, so the Lilac releases will be converted to the Poplar in future with a modification! And directly here is a via TWRP flashable zip-file that you can use :victory: https://androidfilehost.com/?fid=1395089523397935770 <-- DOWNLOAD Based on the latest release. Done by derf elot and modpunk.

Keep in mind that you need the latest Sony Oreo firmware flashed before (more instructions and download link in derf elot's comment, newflasherv13 by munjeni is already included in his upload), an unlocked bootloader, TWRP https://xdaforums.com/xperia-xz1/development/recovery-twrp-3-2-1-t3727602/ and do a clean flash ;)

Most users will protably need some Google apps, so pic them from here https://opengapps.org/ For this release you will need ARM64 -> 8.1 -> what ever you like (I am fine with aroma, but to stay as clean as possible choose pico)
Do not reboot between the installation of the OS and the GApps. To get it work, only boot the first time with both things flashed.

To enable full root access flash this LineageOS addon https://mirror.kumi.systems/lineageos/su/20190304/addonsu-15.1-arm64-signed.zip You need than to activate root in the developer settings. I mostly need this to adjust my cpu, gpu and memory with Kernel Adiutor (example in the screenshots) https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor


When modpunks 16.x version will be daily useable, I will open up another thread like this one, to get his next XZ1 compact release also running on our XZ1's.


If you like to do your own build, you can just follow our conversation on this page https://xdaforums.com/xperia-xz1-compact/development/lineageoslilac-t3745215/page74 , where derf elot also posted links to Poplar repos on his github.

https://github.com/derfelot/android_vendor_sony_poplar (instead of android_vendor_sony_lilac)
https://github.com/derfelot/android_device_sony_poplar (instead of android_device_sony_lilac)


Screenshots made after a clean installation, without GApps. So the system was as naked as possible. It took about 10,23 GB space. Hope this helps you guys to compare with the stock rom :)

vhb3nn.png
wbvxnp.png

qnlcac.png
dens5s.png

2s0lpnl.png
o76249.png

160o8jo.png
 
Last edited:

derf elot

Senior Member
May 7, 2011
880
1,895
Developer and XDA member modpunk is working since about a year on his LineageOS 15.x release for the Sony Xperia XZ1 compact (codename Lilac) and shared his work with the community in his thread https://xdaforums.com/xperia-xz1-compact/development/lineageoslilac-t3745215/ in the XZ1 compact area :good: Beside the community with theire feedback, he gets support by the developer derf elot and together they are currently working on a LineageOS 16.x release for the XZ1 compact. So for now the LineageOS 15.x support has stopped to concentrate on the 16.x version....

Hi there,

thanks for opening the thread :) Just a couple of things to note:

1) This is not a modified lilac ROM of course, rather built from the same shared device trees for xz1c, including device-specific changes/additions for poplar (see sources above)
2) You need to be on the latest _O_ FW to use (that's 47.1.A.16.20). You can find instructions how to update your FW in our xz1c thread : https://xdaforums.com/showpost.php?p=75455106&postcount=2 If you don't have it anymore, I have uploaded the fw to AFH: https://www.androidfilehost.com/?fid=1395089523397914082 If you are on P, it is likely not to even boot (untested). If you are on a different O FW than the latest, the camera likely won't work.
3) Use the TWRP that is linked in the OP here: https://xdaforums.com/xperia-xz1/development/recovery-twrp-3-2-1-t3727602 and not one modified to work with P
4) A full data format is needed before you flash (not just wipe)
5) Please report if something doesn't work. It works fine on my poplar, but it is merely a testing device for me, mainly sitting on the desk 99% of the time so I havent stress-tested it.
 
Hi there,

thanks for opening the thread :) Just a couple of things to note:

1) This is not a modified lilac ROM of course, rather built from the same shared device trees for xz1c, including device-specific changes/additions for poplar (see sources above)
2) You need to be on the latest _O_ FW to use (that's 47.1.A.16.20). You can find instructions how to update your FW in our xz1c thread : https://xdaforums.com/showpost.php?p=75455106&postcount=2 If you don't have it anymore, I have uploaded the fw to AFH: https://www.androidfilehost.com/?fid=1395089523397914082 If you are on P, it is likely not to even boot (untested). If you are on a different O FW than the latest, the camera likely won't work.
3) Use the TWRP that is linked in the OP here: https://xdaforums.com/xperia-xz1/development/recovery-twrp-3-2-1-t3727602 and not one modified to work with P
4) A full data format is needed before you flash (not just wipe)
5) Please report if something doesn't work. It works fine on my poplar, but it is merely a testing device for me, mainly sitting on the desk 99% of the time so I havent stress-tested it.

Can I have some questions?

First of all, since you said we need to use latest STOCK firmware, does that mean that we cannot enable camera 2 api with this rom?

And also, does this rom support project treble?

Again, thanks for your development!!
 

derf elot

Senior Member
May 7, 2011
880
1,895
Can I have some questions?

First of all, since you said we need to use latest STOCK firmware, does that mean that we cannot enable camera 2 api with this rom?

And also, does this rom support project treble?

Again, thanks for your development!!

yes, only stock camera features are supported, this is not SODP based. We did however include the stock camera app including slomo etc.

as for treble, in theory it should, but haven't tested.
 

qbic2

Senior Member
Dec 30, 2010
158
15
Kraków
COOL, this is what i need for my xz1 !!! Lineage :)
Will it be in the official lineage download page or just some shady/private builds?
 

qbic2

Senior Member
Dec 30, 2010
158
15
Kraków
If you think my private builds are shady, feel free to build it from source yourself :)

There was no easy way to go official for 15.1, but with 16.0 that should be a possibility.

No offence man, its about transparency of the process. Not sure if my machine is "strong" enough to build it from the scratch.
 

DaVinci42

Member
Jan 9, 2017
9
3
hi, thanks for your effort.
QNS: since CarbonRom has official poplar builds, is it possible that you could use its device source repo?
 

derf elot

Senior Member
May 7, 2011
880
1,895
hi, thanks for your effort.
QNS: since CarbonRom has official poplar builds, is it possible that you could use its device source repo?

They should be practically the same, since the CR repos are based on the lilac/modpunk ones. Anything missing? I just haven't added support for dual sim at this point.
 
I still wait for feedback of some users of this "shady" build ;)

Riskypedia, what about you?

Sorry for the late reply :crying:

So the result of trying was, yeah of course I couldn't use GCAM since CameraAPI2 was disabled, and some GSI roms booted well while others didn't. I think it's device dependent, but this means that kernel and vendor for this rom is treble-prepared. :good:
Rom was stable, but SIM was removed at the time I tested so I cannot sure about the network. I'm planning to try it again later this week!

Aaaaaaaand as always, sorry for my bad english :crying:
 
  • Like
Reactions: coin3x

moxieEve

Member
Oct 27, 2017
27
2
Please update some screenshots:)
And will this rom support Google camera? if it is possible,please test it too.Thanks:eek:
 

derf elot

Senior Member
May 7, 2011
880
1,895
Sorry for the late reply :crying:

So the result of trying was, yeah of course I couldn't use GCAM since CameraAPI2 was disabled, and some GSI roms booted well while others didn't. I think it's device dependent, but this means that kernel and vendor for this rom is treble-prepared. :good:
Rom was stable, but SIM was removed at the time I tested so I cannot sure about the network. I'm planning to try it again later this week!

Aaaaaaaand as always, sorry for my bad english :crying:

Right, it's actually possible that I disabled the overlay that enables api2 in this build. I used to do that because I didn't like the Snap (LOS camera) interface with it enabled ;) Now that I only use the included stock camera though, there is't really a reason for me to keep it disabled.

edit: no, sorry. that's just an overlay for snap itself, shouldn't have any effect on other cameras.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Developer and XDA member modpunk is working since about a year on his LineageOS 15.x release for the Sony Xperia XZ1 compact (codename Lilac) and shared his work with the community in his thread https://xdaforums.com/xperia-xz1-compact/development/lineageoslilac-t3745215/ in the XZ1 compact area :good: Beside the community with theire feedback, he gets support by the developer derf elot and together they are currently working on a LineageOS 16.x release for the XZ1 compact. So for now the LineageOS 15.x support has stopped to concentrate on the 16.x version.

    As a XZ1 (none compact, the big brother, codename Poplar) user, I hoped to get their work running on my device too. And yes, it was possible, so the Lilac releases will be converted to the Poplar in future with a modification! And directly here is a via TWRP flashable zip-file that you can use :victory: https://androidfilehost.com/?fid=1395089523397935770 <-- DOWNLOAD Based on the latest release. Done by derf elot and modpunk.

    Keep in mind that you need the latest Sony Oreo firmware flashed before (more instructions and download link in derf elot's comment, newflasherv13 by munjeni is already included in his upload), an unlocked bootloader, TWRP https://xdaforums.com/xperia-xz1/development/recovery-twrp-3-2-1-t3727602/ and do a clean flash ;)

    Most users will protably need some Google apps, so pic them from here https://opengapps.org/ For this release you will need ARM64 -> 8.1 -> what ever you like (I am fine with aroma, but to stay as clean as possible choose pico)
    Do not reboot between the installation of the OS and the GApps. To get it work, only boot the first time with both things flashed.

    To enable full root access flash this LineageOS addon https://mirror.kumi.systems/lineageos/su/20190304/addonsu-15.1-arm64-signed.zip You need than to activate root in the developer settings. I mostly need this to adjust my cpu, gpu and memory with Kernel Adiutor (example in the screenshots) https://play.google.com/store/apps/details?id=com.grarak.kerneladiutor


    When modpunks 16.x version will be daily useable, I will open up another thread like this one, to get his next XZ1 compact release also running on our XZ1's.


    If you like to do your own build, you can just follow our conversation on this page https://xdaforums.com/xperia-xz1-compact/development/lineageoslilac-t3745215/page74 , where derf elot also posted links to Poplar repos on his github.

    https://github.com/derfelot/android_vendor_sony_poplar (instead of android_vendor_sony_lilac)
    https://github.com/derfelot/android_device_sony_poplar (instead of android_device_sony_lilac)


    Screenshots made after a clean installation, without GApps. So the system was as naked as possible. It took about 10,23 GB space. Hope this helps you guys to compare with the stock rom :)

    vhb3nn.png
    wbvxnp.png

    qnlcac.png
    dens5s.png

    2s0lpnl.png
    o76249.png

    160o8jo.png
    3
    Just made an April build:

    • April Android ASB
    • Kernel bumped to 4.4.178 and CAF tag LA.UM.6.4.r1-12100-8x98.0
    • WiFi driver bumped to CAF tag LA.UM.6.4.r1-12100-8x98.0

    Link: https://www.androidfilehost.com/?fid=1395089523397935770

    For the self-builders, here's the PR for the current kernel update: https://github.com/cryptomilk/android_kernel_sony_msm8998/pull/46

    I haven't had a chance yet to look at the sound bug, I am now digging back into lineage-16.0.
    2
    Developer and XDA member modpunk is working since about a year on his LineageOS 15.x release for the Sony Xperia XZ1 compact (codename Lilac) and shared his work with the community in his thread https://xdaforums.com/xperia-xz1-compact/development/lineageoslilac-t3745215/ in the XZ1 compact area :good: Beside the community with theire feedback, he gets support by the developer derf elot and together they are currently working on a LineageOS 16.x release for the XZ1 compact. So for now the LineageOS 15.x support has stopped to concentrate on the 16.x version....

    Hi there,

    thanks for opening the thread :) Just a couple of things to note:

    1) This is not a modified lilac ROM of course, rather built from the same shared device trees for xz1c, including device-specific changes/additions for poplar (see sources above)
    2) You need to be on the latest _O_ FW to use (that's 47.1.A.16.20). You can find instructions how to update your FW in our xz1c thread : https://xdaforums.com/showpost.php?p=75455106&postcount=2 If you don't have it anymore, I have uploaded the fw to AFH: https://www.androidfilehost.com/?fid=1395089523397914082 If you are on P, it is likely not to even boot (untested). If you are on a different O FW than the latest, the camera likely won't work.
    3) Use the TWRP that is linked in the OP here: https://xdaforums.com/xperia-xz1/development/recovery-twrp-3-2-1-t3727602 and not one modified to work with P
    4) A full data format is needed before you flash (not just wipe)
    5) Please report if something doesn't work. It works fine on my poplar, but it is merely a testing device for me, mainly sitting on the desk 99% of the time so I havent stress-tested it.
    2
    COOL, this is what i need for my xz1 !!! Lineage :)
    Will it be in the official lineage download page or just some shady/private builds?

    If you think my private builds are shady, feel free to build it from source yourself :)

    There was no easy way to go official for 15.1, but with 16.0 that should be a possibility.
    2
    busy with some other things right now (making maple build, then focusing on 16.0 again). as for apps not starting/working properly, did you check that the storage permission is given? some apps don't explicitly ask for it - we haven't looked into it yet.

    as for the audio issues, please post some logs (best logcat and dmesg) after it happens. those patches on sonyxperiadev likely don't apply for us, since we use stock kernel (4.4) and they use 4.9.