[OFFICIAL] LineageOS 17.1 for z3c

Search This thread

iagash

New member
Jan 29, 2010
1
0
Connecting to 802.11r WLAN fails

Thanks a lot for bringing Lineage OS 17..1 to my beloved z3c.

I flashed it via sideload from lineage recovery over the installed lineage 16.0.

As far as I can see I have only found one thing that doesn't work, which is connecting to an 802.11r enabled WLAN. I have both 2.4GHz and 5GHz on 2 access points running openwrt with 802.11r (fast roaming). It worked well with lineage-16.0 on the z3c. Since the upgrade the z3c can't connect to the WLAN anymore.

If I switch off 802.11r on the AP the z3c connects fine with both 5GHz or 2.4GHz.
 

KoMaSo

Senior Member
May 9, 2017
63
13
Deepsleep

Deep sleep is probably not working because of bt wakelock or something like that. It is a known bug for ages with z3c.

Hi Arian,
the BTLowPower was initialised in broadcom BT driver "android_kernel_sony_msm8974-lineage-17.1\drivers\bluetooth\bcm4339.c".
Sony has released open device kernel. There ist an more general driver https://github.com/sonyxperiadev/kernel/blob/aosp/LA.UM.7.1.r1/drivers/bluetooth/bcm43xx.c . There are no such wakelocks.
Is it possible to take this one or to remote wakelock from the driver?
 

gangbgr

New member
Apr 11, 2020
4
0
Hello! I installed 17.1 and gaps and have Lineage logo bootloop. If I install CLEAN Lineage its boots normally, but no google on it. I tryed many combinations of builds gapps, ROMs, wipes with formatting but result in start of this message.
External installed google play crashes with all versions, I tryed several build google play SERVICES too. What I can do? I need google contacts and mail services.

Installed Lineage from SD card, because of USB faults. Last TWRP and last nighty build. I use beauty Lineage 17.1 but I need google services. Thank you!

And its not see 5G wifi, but its not first problem.
 
Last edited:

KoMaSo

Senior Member
May 9, 2017
63
13
It seems to bee that the wake lock will unlocked if the Bluetooth will go to sleep. But the whole device will not go to sleep until the wake lock is active. I think the wakelock is not nessesary today at this place.

---------- Post added at 09:42 PM ---------- Previous post was at 09:40 PM ----------

Hello! I installed 17.1 and gaps and have Lineage logo bootloop. If I install CLEAN Lineage its boots normally, but no google on it. I tryed many combinations of builds gapps, ROMs, wipes with formatting but result in start of this message.
External installed google play crashes with all versions, I tryed several build google play SERVICES too. What I can do? I need google contacts and mail services.

Installed Lineage from SD card, because of USB faults. Last TWRP and last nighty build. I use beauty Lineage 17.1 but I need google services. Thank you!

And its not see 5G wifi, but its not first problem.
Please check if you have arm not arm64 and android 10 selected for download opengapps.
 

typhoon_2099

Member
Oct 2, 2016
20
4
Can't believe I have a 6+ year old phone running Android 10! I seem to be running into issues after upgrading from LineageOS 16 though.

I've installed 17.1 over 16 and now I can't cast to my Chromecasts. Opening the menu in whatever app just brings up the Nearby Devices option, both Chromecasts in my house fail to appear in the menu. It was working fine on 16.

I also can't use a microphone in apps. Phone calls are fine but any app that uses the microphone fails to open it.

Keep up the great work!
 

pawloland

Senior Member
Jan 23, 2019
178
67
Hey @NeoArian. A little typo here, that can cause serious problems for some newbies here. We should use ARM GApps, NOT ARM64. You probably forgot to modify accordingly your post template while creating new thread, since on the lineage's device wiki it correctly specifies ARM Gapps.

If you don't mind, I would also like to ask about updating from official LOS 16 to 17.1 WITHOUT LOSING DATA. So I read here about the procedure but I am not familiar with adb side loading - I am more of TWRP guy myself ;). Are these steps correct for updating through TWRP :confused: :
  1. Have official LOS 16 + your TWRP recommended for android 9 + GApps nano 9 ARM + Magisk 20.4 installed
  2. Download a new TWRP from here
  3. Download latest LOS 17.1 from here and copy it to device
  4. Download GApps from here and copy it to device
  5. Reboot to fastboot and flash new recovery
  6. Boot to recovery
  7. Flash latest LOS 17.1 on top of old LOS 16
  8. Flash new GApps for android 10 (on top of GApps from android 9?)
  9. Flash magisk (on top of old android 9's magisk installation ?)
  10. Reboot to system
  11. Hopefully everything works xD
Have I missed something, or not? Will it preserve my installed apps, their data and system setting, without crashes on new LOS 17? Thanks in advanced.
Hi everyone!
Today I've got time to test it and can confirm it worked, so if anyone is waiting with upgrade, you can use my instructions with TWRP, rather than adb sideloading, mentioned on los z3c wiki page.

First impressions are following:
Both cameras are working fine in Lineage camera app. @mxperial 's camera module with stock sony camera isn't working thought. More info here.
GPS isn't working form me - it finds satellites, but never catches any signal and doesn't fix (it didn't work for me on los 16, so no surprise on that field. I was hoping it would magically work again, after @Mr.Tom_Tom 's fixes, but it haven't sadly).
On this version I can't see and use SIM Toolkit app (com.android.stk), with SIM card inserted, where on los 16 it was working.
Also, do you @NeoArian maybe know how to hide build number in QS panel? It looks for me like it shouldn't be there on official build :confused:
Cheers :)
 

NeoArian

Recognized Developer
Nov 25, 2017
1,227
2,762
Gladbeck
Hi everyone!
Today I've got time to test it and can confirm it worked, so if anyone is waiting with upgrade, you can use my instructions with TWRP, rather than adb sideloading, mentioned on los z3c wiki page.

First impressions are following:
Both cameras are working fine in Lineage camera app. @mxperial 's camera module with stock sony camera isn't working thought. More info here.
GPS isn't working form me - it finds satellites, but never catches any signal and doesn't fix (it didn't work for me on los 16, so no surprise on that field. I was hoping it would magically work again, after @Mr.Tom_Tom 's fixes, but it haven't sadly).
On this version I can't see and use SIM Toolkit app (com.android.stk), with SIM card inserted, where on los 16 it was working.
Also, do you @NeoArian maybe know how to hide build number in QS panel? It looks for me like it shouldn't be there on official build :confused:
Cheers :)
The build number is shown in the status bar when you have the developer options enabled, that's intended and not a lineageos addition, it is the same on Google's pixel devices. If you disable the developer options the number will be hidden.
 

wtor68

Member
Nov 4, 2017
10
0
Hello! I installed 17.1 and gaps and have Lineage logo bootloop. If I install CLEAN Lineage its boots normally, but no google on it. I tryed many combinations of builds gapps, ROMs, wipes with formatting but result in start of this message.
External installed google play crashes with all versions, I tryed several build google play SERVICES too. What I can do? I need google contacts and mail services.

Installed Lineage from SD card, because of USB faults. Last TWRP and last nighty build. I use beauty Lineage 17.1 but I need google services. Thank you!

And its not see 5G wifi, but its not first problem.
I had the same problem with nano gapps from today (19.09). I also use Magisk, but i think it's not related. As i already installed another device some days before (also z3c) i used the gapps from this date (nano or pico from 09.09). With this it works without problems. Don't know the reason... may be it's worth a try.
 

mes2k

Member
Jul 31, 2012
6
4
Wireless MAC changes after reboot

I have installed LOS 17.1 on my z3c over 16.0.
17.1 works fine after the first day of usage, but there is one anoying* thing: It seems the MAC address of the wireless interface is changing after reboot.
I currently see two possibilites what happens here:

Either the privacy settings of the wireless network is changing the MAC address on purpose. But the UI element for changing this setting is missing.

Or the hardware MAC address is not read correctly and some code is generating a random MAC while booting. I know that this behavior exists in LOS/drivers, since my Wileyfox Storm had exactly this issue for several months running LOS.

*This issue is anoying, because my router is sending an email for every new device in my network. Also settings that are connected with the device in my router will no longer apply after the phone reboots.
 

iagash

New member
Jan 29, 2010
1
0
I have installed LOS 17.1 on my z3c over 16.0.
17.1 works fine after the first day of usage, but there is one anoying* thing: It seems the MAC address of the wireless interface is changing after reboot.
I currently see two possibilites what happens here:

Either the privacy settings of the wireless network is changing the MAC address on purpose. But the UI element for changing this setting is missing.

Or the hardware MAC address is not read correctly and some code is generating a random MAC while booting. I know that this behavior exists in LOS/drivers, since my Wileyfox Storm had exactly this issue for several months running LOS.

That might be possible. I found this in my logcat when trying to connect to an 802.11r enabled AP:
Code:
09-18 20:26:26.440  3336  4924 E WifiVendorHal: getFactoryMacAddress(l.1328) failed {.code = ERROR_NOT_SUPPORTED, .description = }
09-18 20:26:26.440  3336  4924 E WifiClientModeImpl: Fail to set factory MAC address. Factory MAC is null.
09-18 20:26:26.441  3336  4924 I WifiClientModeImpl: Connecting with 40:40:a7:33:42:23 as the mac address
 

gangbgr

New member
Apr 11, 2020
4
0
I had the same problem with nano gapps from today (19.09). I also use Magisk, but i think it's not related. As i already installed another device some days before (also z3c) i used the gapps from this date (nano or pico from 09.09). With this it works without problems. Don't know the reason... may be it's worth a try.

Got it, thank you very much!
 

hubert-bangol

Member
Jul 3, 2007
25
1
Was that ANC implemented system side?

On a z3c with 6.0.1 stock ROM rooted, I made some search about that functionnality. These are the 4 processes launched after plugging the headphones:
com.sonymobile.headphoneselection
com.sonyericsson.soundenhancement
com.sonymobile.drm.ui
com.sonyericsson.unsupportedheadsetnotifier

With the aapks.com website, I find the two first packages. And I'm sure that the second one is the ANC I'm looking for, because under ACTIVITIES (https://aapks.com/apk/sound-enhancements/) there is:

com.sonyericsson.soundenhancement.NoiseCanceling.Activity

So I download this package, but unfortunately it cannot be installed under Carbon Rom, there is an error message. :(

Maybe it is a system app, does anyone have a clue how to install, if possible of course ?
 

gangbgr

New member
Apr 11, 2020
4
0
Got a random systematically restarts and not simple restarts but restarts-loop, OS fully booted and in few seconds phone got a new restart. Its like a paroxysm, phone works normally several hours and later got this restart collusion. One this thing I got then installed LineAGE first time after finishing installation my all using apps and I got rebooting device just after fully set up. Next phone set up on new lineage installation I done more carefully and installed app one by one, not two or 4 together and finally it got restart collusion next days. I dont know what a APP can influence such bug, they are simple and popular such as messengers and other life helpers. What you can advise me? I use last official build of ROM and worked for me GAPPS 09.09.

ps: my phone very old (its can not see sim-card sometimes after restart whatever OS installed), I bought this for $400 several years ago and I very like this phone device. now I see ALI and EBAY sales this phone like new for $80, may be it will be good deal who knowns?
 
Last edited:

KoMaSo

Senior Member
May 9, 2017
63
13
Got a random systematically restarts and not simple restarts but restarts-loop, OS fully booted and in few seconds phone got a new restart. Its like a paroxysm, phone works normally several hours and later got this restart collusion. One this thing I got then installed LineAGE first time after finishing installation my all using apps and I got rebooting device just after fully set up. Next phone set up on new lineage installation I done more carefully and installed app one by one, not two or 4 together and finally it got restart collusion next days. I dont know what a APP can influence such bug, they are simple and popular such as messengers and other life helpers. What you can advise me? I use last official build of ROM and worked for me GAPPS 09.09.

ps: my phone very old (its can not see sim-card sometimes after restart whatever OS installed), I bought this for $400 several years ago and I very like this phone device. now I see ALI and EBAY sales this phone like new for $80, may be it will be good deal who knowns?

Hello, my device restarts, if I insert an sim card. Can be that the device has it looses the sim and reboot?
 

DC-TeaAge

Member
Apr 22, 2014
12
1
Hi,
I installed 17.1 just yesterday (coming from stock) with gapps nano.
Unfortunatly i still have problems with the GPS: It only finds satellites in airplane-mode (checking with GPS-Status app). Any fix or settings for this that i can try?

TYVM!

Edit: I may have spoken to soon: Apparently i didn't download the latest nightly build but just the first one where it was supposed to be fixed. With the latest nightly it seems to work for at the moment (only 5min into testing).

Edit 2: After a weekend of using it i can say: GPS works as intended with build-number "lineage_z3c-userdebug 10 QQ3A.200805.001" (this is what is says in the settings, but i used the nightly version from 2020-09-22 .
 
Last edited:

petefoth

Member
Dec 12, 2015
27
17
Whaley Bridge
That's a feature :(

Hello, my device restarts, if I insert an sim card. Can be that the device has it looses the sim and reboot?

That is a feature of the device. See Page 9 of the Sony User Manual (sorry I can't post a direct link, but it's on the Sony Support web site)
If you insert the nano SIM card while the device is powered on, the device restarts automatically.
 

belrik

Senior Member
Nov 25, 2010
466
108
Is there any way to use the z3c ROM to help get the z3c tab supported? Z3C tab is also Snapdragon 801 and the same Sony generation as these phones. Model is Sgp611 / sgp621 and codename Scorpion.
 

nuess0r

Member
Feb 26, 2012
8
4
Hi everybody,

First, thank you NeoArian and other contributors for your great work. Just a question : I have no experience with Lineage recovery. What is the differences between Lineage recovery and TWRP ? What are the pros and cons ? If I try Lineage recovery, is it easy to go back to TWRP ? Without a full install ?

Thank you for your reply.

I was using TWRP on several devices and now came to this device where I had the first chance to try Lineage recovery.

From what I saw TWRP has more features than Lineage recovery. That's why I switched back to TWRP. Either I didn't find the backup function in Lineage or it is missing (or Lineage has another approach for backups).

I just flashed TWRP over Lineage recovery without touching the main Android OS.

---------- Post added at 01:40 PM ---------- Previous post was at 01:25 PM ----------

Thanks a lot for this work!

I was searching for a new phone to replace my aging Z1C (battery...) but all the new phones are sooo big. So the Z3C was my choice in the end :D

I have installed it this morning and have only noticed that the rear camera is not working (the front one is working normally).
I have tested it with the bundled camera app and with Footej camera.

Mine has the same issue. Everything works fine except the rear camera (It is still useful as daily driver for my use cases).

Is it known if there are different hardware variants of the camera built into the Z3C?

I bought my Z3C from Aliexpress as refurbished. Seems more that it is new-old-stock. Came with original box, accessories and on all of them where still the protection plastic foils like it was never touched. Also first Android 4.4 was installed and I followed the official installation guide (well written, I found everything I needed to know in there, thx!) to flash the latest stock and after that the Lineage OS installation incl. bootloader unlock.


After a fresh boot I can use the flashlight. When I use FreeDcam I can use the front camera and afterwards the flashlight still works. When I use the Android Camera app sometime the app crashes, sometimes it remains black but afterwards always the flashlight also stops working (Button is greyed out. Hardware disappears? Driver crash?).

What kind of logs would be helpful for you to dig into this?
 

wtor68

Member
Nov 4, 2017
10
0
I have installed LOS 17.1 on my z3c over 16.0.
17.1 works fine after the first day of usage, but there is one anoying* thing: It seems the MAC address of the wireless interface is changing after reboot.
I currently see two possibilites what happens here:

Either the privacy settings of the wireless network is changing the MAC address on purpose. But the UI element for changing this setting is missing.

Or the hardware MAC address is not read correctly and some code is generating a random MAC while booting. I know that this behavior exists in LOS/drivers, since my Wileyfox Storm had exactly this issue for several months running LOS.

*This issue is anoying, because my router is sending an email for every new device in my network. Also settings that are connected with the device in my router will no longer apply after the phone reboots.

Same problem here (with gapps and Magisk). I updated also my LOS 16 to 17.1 and the MAC changes at every reboot. But i have another device which was newly installed from scratch which doesn't have that problem. The MAC keeps the same. May be some kind of update problem?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 6
    Good Evening!

    It's the time again, you might have already noticed that lineage 18.1 is official for some devices now. We, the sony shinano maintainers, were not sleeping and have also prepared our device for 18.1. I have uploaded a test build here: https://sourceforge.net/projects/ep...18.1/lineage-18.1-20210406-UNOFFICIAL-z3c.zip
    I would appreciate some testing/feedback on this build. There shouldn't be major issues on the test build, from my own testing it should be on-par with 17.1.
    I am optimistic that we can also achieve an official release of 18.1 for the z3c.

    All source codes can be found on the lineageos github in lineage-18.1 branches + additional patches for sony msm8974 are up on gerrit: https://review.lineageos.org/q/status:open+-is:wip

    Happy flashing!
    1
    I use Magisk 20.3 because everyhting works fine :)

    No warranty that the latest version works and there is no other way since LOS 17, AFAIK....
    1
    @pawloland Thanks for answering! I successfully backed up my DRM keys using "Universal (Dirtycow-based) TA Backup v2" which was very easy to do and didn't even need rooting the device prior.

    *EDIT* I successfully installed this ROM now, all looking good so far. What's the recommended method to root this LineageOS ROM?

    *EDIT2* Well, the enjoyment with the device only lasted for a very short while since I now discovered that SD-cards won't click-in into the Z3Cs reader. Appalling quality control at Sony, attention to detail traditionally only to their DRM systems :-( I'll try to get a replacement device from the seller, so my question above regarding how to root best is still valid.
    Magisk 20.4 flashable zip, can be updated to the latest via the app, but it seems versions after 20.4 do not survive LOS updates. Magisk app v.22 is fine
    p.s. Need to push sdcard quite deep so that it snaps into place
    1
    Hi, it might be a bit off topic.
    I just tried 17.1 on my z3c and noticed that some of my apps for work do not work on Android 10, so I wanted to go back to 16.0 but i don't have the zip file anymore. As I could not find a recent download for 16.0 I wanted to ask if someone still had recent version?
    I think I had lineage-16.0-20200901-nightly-z3c-signed.zip (I think it was the last 16.0 Version) so if someone could upload it or point me to a download link it would be very appreciated.

    regards
    You have a PM... For all others: there's still a microG version (only a bit older) on https://download.lineage.microg.org/z3c/
    1
    Just as with other Android 9 and 10 roms, I had heavy battery drain because of the media.extractor process.
    https://forum.xda-developers.com/t/10-official-carbonrom-cr-8-0-z3c.4047649/post-84715425

    I worked around it by killing it at boot with a simple Tasker profile (Edit: I added a two minutes delay to make sure the process is already started) :
    <TaskerData sr="" dvi="1" tv="5.9.3">
    <Profile sr="prof2" ve="2">
    <cdate>1616707624817</cdate>
    <edate>1617276057191</edate>
    <flags>8</flags>
    <id>2</id>
    <mid0>3</mid0>
    <nme>Kill media.extractor</nme>
    <Event sr="con0" ve="2">
    <code>411</code>
    <pri>0</pri>
    </Event>
    </Profile>
    <Task sr="task3">
    <cdate>1616707684454</cdate>
    <edate>1617276057191</edate>
    <id>3</id>
    <pri>100</pri>
    <Action sr="act0" ve="7">
    <code>30</code>
    <Int sr="arg0" val="0"/>
    <Int sr="arg1" val="0"/>
    <Int sr="arg2" val="2"/>
    <Int sr="arg3" val="0"/>
    <Int sr="arg4" val="0"/>
    </Action>
    <Action sr="act1" ve="7">
    <code>123</code>
    <Str sr="arg0" ve="3">killall media.extractor</Str>
    <Int sr="arg1" val="0"/>
    <Int sr="arg2" val="1"/>
    <Str sr="arg3" ve="3"/>
    <Str sr="arg4" ve="3"/>
    <Str sr="arg5" ve="3"/>
    </Action>
    </Task>
    </TaskerData>

    Like mentioned, we currently have to use Magisk 20.4 to root it.
    The best way is to install LineageOS then Magisk 20.4 and finally Magisk 22 all through recovery.

    Edit: I finally identified the problematic file, a 70 MB opus file.
  • 8
    2okPze5.png


    Introduction
    LineageOS, an open-source Android distribution, is available for several devices,
    with more being continuously added thanks to the biggest, yet ever growing, Android open-source community.
    Join us and breathe new life in your device, be it old or new.
    If you don't know LineageOS and would like to read about it before installing it you can take a look at the official Website.

    Features
    Individuality
    Customization is paramount to productivity.
    That’s why LineageOS promises to push for user personalization and preference.
    Everyone is unique and your device should be too.
    Security
    Your data, your rules. With powerful tools such as Privacy Guard, you are in control of what your apps can do whenever you want.
    Trust will help you understand the security of your device and warn you about possible threats.
    We take security very seriously: that’s why we deliver security updates every month to all our supported devices.
    And to make your device more secure, lock everything behind an enhanced lock screen.
    Longevity
    LineageOS extends the functionality and lifespan of mobile devices from more than 20 different manufacturers thanks to our open-source community of contributors from all around the world.

    Installation:
    If you are on stock OS, you need a custom recovery first. You can get the recommended recovery in the official installation instructions link below.
    If you are coming from stock or other ROMs, you need to make a factory reset.
    As always, make sure to backup before installing this ROM.

    More detailed instructions at:
    Install LineageOS on z3c

    Downloads
    Download LineageOS 17.1 for Xperia Z3 Compact.
    If you prefer TWRP over Lineage recovery, you can get it here.
    Recommended Google Apps package: Open GApps (choose ARM as Platform and 10.0 as Android, use the Variant you want. Recommended nano package)

    Source code
    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.

    The device specific source code can be found in the LineageOS Github repo.
    Z3 Compact device tree
    Sony Shinano common device tree
    Sony MSM8974 common device tree
    Sony MSM8974 kernel
    The used defconfig is lineageos_shinano_aries_defconfig.

    Changelog:
    Changes for z3c

    Bug reports:
    How to submit a bug report
    LineageOS GitLab

    Donate to support development:
    Donate via PayPal to NeoArian
    Donate via PayPal to LineageOS

    XDA:DevDB Information
    LineageOS 17.1 for z3c, ROM for the Sony Xperia Z3 Compact

    Contributors
    NeoArian
    ROM OS Version: Android 10
    ROM Kernel: Linux 3.4.x

    Version Information
    Status: Stable

    Created 2020-09-08
    Last Updated 2020-09-12
    6
    Good Evening!

    It's the time again, you might have already noticed that lineage 18.1 is official for some devices now. We, the sony shinano maintainers, were not sleeping and have also prepared our device for 18.1. I have uploaded a test build here: https://sourceforge.net/projects/ep...18.1/lineage-18.1-20210406-UNOFFICIAL-z3c.zip
    I would appreciate some testing/feedback on this build. There shouldn't be major issues on the test build, from my own testing it should be on-par with 17.1.
    I am optimistic that we can also achieve an official release of 18.1 for the z3c.

    All source codes can be found on the lineageos github in lineage-18.1 branches + additional patches for sony msm8974 are up on gerrit: https://review.lineageos.org/q/status:open+-is:wip

    Happy flashing!
    5
    Hello @NeoArian , hello community. I'am very happy to see that the "BTLowPower" wakelock issue was fixed by @J_C_D and that it was merged into the android_kernel_sony_msm8974 repository last week. Thanks to all of you that spend your time supporting the Z3C and other older devices until now.
    5
    Yes, that's right.
    When Safe Start is turned on, the accelerometer does not work. Therefore, screen rotation, light sensor does not work.
    Thanks for the report. We were able to reproduce it and have fixed it. We will merge the fix within some days so that it will be fixed in the upcoming releases.
    Greetings, arian.
    4
    GOOD NEWS EVERYBODY!!!
    I managed to finally fix the persistent "BTLowPower" wakelock
    which caused the CPU to no longer enter Deep Sleep state and thus resulted in high battery drain once Bluetooth had been enabled! 🍻

    UPDATE: I just found a much simpler solution that does the trick! The real culprit was a #ifdef in BT Power Management that was introduced by a commit in July 2019 and then has fallen into oblivion :ROFLMAO:.
    Fixed! -> Version 3.
    @tblr0ne , @L.Lmar : can you please also test this version?



    *** TESTERS NEEDED! ***

    Find attached the modified boot.img. USE AT OWN RISK!

    Installation:
    - reboot Z3C into Bootloader (Vol+)
    - flash new boot image over current LineageOS17.1 installation using fastboot
    Code:
    fastboot flash boot boot-BTLowPower-fix-3.img
    - reboot
    Code:
    fastboot reboot

    NOTE for Magisk users:

    After flashing the new boot image, it is required to re-install Magisk. Do this by immediately booting into TWRP after the new boot image is flashed.
    Also note that you need Magisk v20.4 for this! Later versions won't work.
    Anyway, you will be able to upgrade Magisk to up-to-date versions using Magisk Manager after the system has booted.

    @NeoArian when everything seems ok, I will create a merge request in LineageOS/android_kernel_sony_msm8974. Is this the correct place / way to go?
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone