[CLOSED][OFFICIAL] LineageOS 17.1 for z3c

Status
Not open for further replies.
Search This thread

schnuff*1

Senior Member
Jan 29, 2013
171
40
I'm coming from carbon rom 8.1.0, flashed this clean with gapps nano, but back camera is not working. Also from time to time the device freezes and no messages coming in anymore. Only a hardreset helps.
The version is the latest from november. Is it a buggy version or is it my only error?
Thanks for the help!
 

crott

Member
Jul 25, 2014
24
2
Wroclaw
www.netcreate.pl
I have just tried to encrypt my device with a pin and it worked as expected.
Could you maybe try again or get some logs so that we can look further into it?
Also, as Serf95 told you, it's worth a try to flash the latest stock firmware again before trying it.

We are looking into the screen lock issue. Was the GPS behaviour better from builds which are older then a week? We have merged some GPS patches.

NeoArian I've bought second Z3C because I use first as daily driver without GAPPS. But apparently I need apps that requires GAPPS.
Second z3c I installed exactly same, exactly same issue: after encrypting indefinite LOS animation at boot.
Without GAPPS it works fine, but with GAPPS it's not working.
This time I used current versions: lineage-17.1-20201110-nightly-z3c-signed, lineage-17.1-20201110-recovery-z3c and open_gapps-arm-10.0-nano-20201111.

Any suggestions what logs (and how please any/tutorials links) could I get to shed some light on this issue?

I went also this road but I'm stuck another errors I can't resolve:
z3c:/ # tune2fs -l /dev/block/mmcblk0p25
tune2fs 1.43.3 (04-Sep-2016)
tune2fs: Bad magic number in super-block while trying to open /dev/block/mmcblk0p25
1|z3c:/ # e2fsck -f /dev/block/mmcblk0p25
e2fsck 1.43.3 (04-Sep-2016)
/dev/block/mmcblk0p25 is in use.
e2fsck: Cannot continue, aborting.

Thanks.
 
Last edited:

pawloland

Senior Member
Jan 23, 2019
186
74
Sony Xperia 5 II
Hi everyone!
About back camera problem - from my experience if is not working, in order to fix it you have to flash latest firmware using Emma and then flash recovery + rom.

And going to the main point of this post - MMSes are not working.
I tested latest build of LOS 17.1 (lineage-17.1-20201110-nightly-z3c-signed.zip) to check if it will resolve the issue (it didn't).
I decided to do the whole procedure from the grounds up, to make sure MMSes aren't working not because of my fault.

- I flashed latest firmware using emma.
- I tried sending and receiving MMSes on stock MM (success).
- I flashed twrp-3.3.1-z3c-20200212.img recovery.
- I flashed just lineage-17.1-20201110-nightly-z3c-signed.zip, without magisk and without gapps.
- I booted to system, turned on mobile data and tried to send MMS (failed to do so).
- I tried to receive MMS (also failed to do so, I only get message, that there is MMS available for download but it can't be downloaded. I is downloading forever until it stops and says that the message can't be downloaded.)

At this point I was sure it isn't my fault. I checked APN settings and took screenshots of the configuration (didn't change anything, just took ss).

I remembered that MMSes had been working before, with custom ROM on my device. I checked older versions of LOS 17.1 but they have the same issue.
I have one of an old UNOFFICIAL 16.0 build from you @NeoArian, saved on my computer. I gave it a try.
- wiped system, data, cache
- flashed twrp recommended for LOS 16.0 - twrp-3.3.1-z3c-20200212.img
- flashed lineage-16.0-20190510-UNOFFICIAL-z3c.zip, without magisk and without gapps
- booted to system, turned on mobile data
- tried sending and receiving MMSes and ........... IT WORKED ON A FIRST TRY

I checked APN setting on LOS 16 to compare them with configuration from 17.1 and they were exactly the same.
Now I am sure that MMSes are broken on LOS 17.1. Could you @NeoArian give it a look?
They were working on your unofficial builds of LOS 16, so you may know or remember how to fix it :fingers-crossed:.

Thanks in advanced.
 

tomKater

Member
Jul 29, 2014
37
7
Huawei MediaPad M5 Lite
I'm coming from carbon rom 8.1.0, flashed this clean with gapps nano, but back camera is not working. Also from time to time the device freezes and no messages coming in anymore. Only a hardreset helps.
The version is the latest from november. Is it a buggy version or is it my only error?
Thanks for the help!

If I can help too : about the camera stock issue : I encountered this problem too when I flashed my Z3C from scratch (while previously I have used this build with no problem). I had to flash several times (and immediately testing the camera) before stock camera works again. No idea why.

Maybe this can help.
 

schnuff*1

Senior Member
Jan 29, 2013
171
40
O.K., thanks. I've done now a new installation with Emma and then Lineage OS. Now camera is O.K.
 

pawloland

Senior Member
Jan 23, 2019
186
74
Sony Xperia 5 II
Hi everyone!
About back camera problem - from my experience if is not working, in order to fix it you have to flash latest firmware using Emma and then flash recovery + rom.

And going to the main point of this post - MMSes are not working.
I tested latest build of LOS 17.1 (lineage-17.1-20201110-nightly-z3c-signed.zip) to check if it will resolve the issue (it didn't).
I decided to do the whole procedure from the grounds up, to make sure MMSes aren't working not because of my fault.

- I flashed latest firmware using emma.
- I tried sending and receiving MMSes on stock MM (success).
- I flashed twrp-3.3.1-z3c-20200212.img recovery.
- I flashed just lineage-17.1-20201110-nightly-z3c-signed.zip, without magisk and without gapps.
- I booted to system, turned on mobile data and tried to send MMS (failed to do so).
- I tried to receive MMS (also failed to do so, I only get message, that there is MMS available for download but it can't be downloaded. I is downloading forever until it stops and says that the message can't be downloaded.)

At this point I was sure it isn't my fault. I checked APN settings and took screenshots of the configuration (didn't change anything, just took ss).

I remembered that MMSes had been working before, with custom ROM on my device. I checked older versions of LOS 17.1 but they have the same issue.
I have one of an old UNOFFICIAL 16.0 build from you @NeoArian, saved on my computer. I gave it a try.
- wiped system, data, cache
- flashed twrp recommended for LOS 16.0 - twrp-3.3.1-z3c-20200212.img
- flashed lineage-16.0-20190510-UNOFFICIAL-z3c.zip, without magisk and without gapps
- booted to system, turned on mobile data
- tried sending and receiving MMSes and ........... IT WORKED ON A FIRST TRY

I checked APN setting on LOS 16 to compare them with configuration from 17.1 and they were exactly the same.
Now I am sure that MMSes are broken on LOS 17.1. Could you @NeoArian give it a look?
They were working on your unofficial builds of LOS 16, so you may know or remember how to fix it :fingers-crossed:.

Thanks in advanced.
Ok, so I did more tests on latest LOS 17.1. What I discovered is that MMSes are working but only when mobile data is DISabled, which is super weird.
- just wifi enabled - receiving/sending MMSes works (at first time I tried it with just wifi, the notification came up, that asked to grant permission for downloading MMSes via wifi. I granted it and MMS was downloaded successfully).

-just mobile data enabled - receiving/sending MMSes doesn't work at all. It is sending/receiving them until error, just how I described it in previous post.

-mobile data and wifi is enabled - receiving/sending MMSes doesn't work at all. It seams that mobile data has higher priority, so even though that wifi is working, it tries to use mobile data and fails to do so and when it fails it doesn't fall back to wifi.

-mobile data and wifi is DISabled -receiving/sending MMSes works :silly:. It is extremely weird, since it wasn't working last time i tried it with this configuration. It may be that since last time I have tried, I have given default messaging app every possible permission, disabled battery optimization, enabled unlimited data usage of mobile data and wifi and in roaming etc. After that when I try to send or receive MMS and have wifi and mobile data disabled it works. While sending/receiving MMS I can see data transfer indicator in the middle of status bar. I think that the messaging app sees, that there is no internet and since I've gave it every possible permission, it uses mobile data to send/receive MMS, even thought it wasn't enabled by hand, by me. In this scenario, mobile data must be used for sending/receiving MMSes, because there is no other option for messaging app to fall back.

So here is my thesis describing the MMS bug:

When mobile data is enabled by hand by a user, messaging app can't send/receive MMSes, even thought the internet is available. When none internet is available, messaging app enables mobile data automatically, just to receive/send MMS and then it works (mobile data isn't "turned on", it doesn't show any sign of it being enabled in QS and status bar. I know it is used only from data transfer indicator, that shows for a few seconds while MMS is being sent/downloaded). It seams that the app mistakenly tries to enable mobile data automatically, even thought it is already enabled, so it fails and stops, so at this point it never reaches the part of actual sending/receiving MMS.

With this information it should be easier to fix the issue, because now we know, how the environment must be configured for it to fail.

I would like to know if it happens to anyone else on the latest LOS 17.1 - and if it happens - I would like to know if edge cases I described in this post, check out to your situation.

Cheers
 
Last edited:

schastang

Senior Member
Ok, so I did more tests on latest LOS 17.1. What I discovered is that MMSes are working but only when mobile data is DISabled, which is super weird.
- just wifi enabled - receiving/sending MMSes works (at first time I tried it with just wifi, the notification came up, that asked to grant permission for downloading MMSes via wifi. I granted it and MMS was downloaded successfully).

-just mobile data enabled - receiving/sending MMSes doesn't work at all. It is sending/receiving them until error, just how I described it in previous post.

-mobile data and wifi is enabled - receiving/sending MMSes doesn't work at all. It seams that mobile data has higher priority, so even though that wifi is working, it tries to use mobile data and fails to do so and when it fails it doesn't fall back to wifi.

-mobile data and wifi is DISabled -receiving/sending MMSes works :silly:. It is extremely weird, since it wasn't working last time i tried it with this configuration. It may be that since last time I have tried, I have given default messaging app every possible permission, disabled battery optimization, enabled unlimited data usage of mobile data and wifi and in roaming etc. After that when I try to send or receive MMS and have wifi and mobile data disabled it works. While sending/receiving MMS I can see data transfer indicator in the middle of status bar. I think that the messaging app sees, that there is no internet and since I've gave it every possible permission, it uses mobile data to send/receive MMS, even thought it wasn't enabled by hand, by me. In this scenario, mobile data must be used for sending/receiving MMSes, because there is no other option for messaging app to fall back.

So here is my thesis describing the MMS bug:

When mobile data is enabled by hand by a user, messaging app can't send/receive MMSes, even thought the internet is available. When none internet is available, messaging app enables mobile data automatically, just to receive/send MMS and then it works (mobile data isn't "turned on", it doesn't show any sign of it being enabled in QS and status bar. I know it is used only from data transfer indicator, that shows for a few seconds while MMS is being sent/downloaded). It seams that the app mistakenly tries to enable mobile data automatically, even thought it is already enabled, so it fails and stops, so at this point it never reaches the part of actual sending/receiving MMS.

With this information it should be easier to fix the issue, because now we know, how the environment must be configured for it to fail.

I would like to know if it happens to anyone else on the latest LOS 17.1 - and if it happens - I would like to know if edge cases I described in this post, check out to your situation.

Cheers

Hi pawloland,

Same issue on my unit with this firmware.
But even with mobile data turned ON or OFF and Wifi turned ON or OFF, I have still no luck in sending or receiving MMS :(
I live in France and my provider is SFR (I have double checked APS configuration, it's OK)

During my tests, after enabling Wifi (while mobile data was disabled), I had a notification to tell me I have an incoming MMS and that I have to enable an option to receive MMS with mobile data disabled (see attachment). But MMS still cannot be downloaded :(

I'm currently trying to find the right configuration / combination to be able to send and receive MMS!

Any help would be appreciated.
@NeoArian: Thanks a lot for this firmware :good:
 

pawloland

Senior Member
Jan 23, 2019
186
74
Sony Xperia 5 II
Hello,

I have done few more tests, and after restoring default APN, I can now receive and send MMS with WiFi ON or OFF and mobile data ON or OFF :)
So you are saying that you can have wifi turned off and mobile data turned on, at the same time and after that you can successfully receive and send MMSes - am I getting it right? I would be very glad if you could try this exact scenario for me just one more time, to make sure every possible scenario is working for you. If that's the case then good for you. I still can't receive MMSes while having mobile data turned on manually :(
 
Last edited:

schastang

Senior Member
So you are saying that you can have wifi turned off and mobile data turned on, at the same time and after that you can successfully receive and send MMSes - am I getting it right? I would be very glad if you could try this exact scenario for me just one more time, to make sure every possible scenario is working for you. If that's the case then good for you. I still can't receive MMSes while having mobile data turned on manually :(

Here are the last tests I have done (Airplane mode OFF, 4G/LTE):
- WIFI OFF / mobile data OFF : OK (sending and receiving)
- WIFI ON / mobile data OFF : OK (sending and receiving)
- WIFI OFF / mobile data ON : KO (sending and receiving) with 4G/LTE network at first time, BUT if I switch to 3G/H, it works! Could you please check by yourself with this test (1st attempt in 4G/LTE failed, then switch to 3G/H as "preferred network" and see what happen) ? try to"force stop" the SMS/MMS app before switching from 4G to 3G. Not sure if it still works after switching back to 4G (one of my attempt was OK, one other failed so I don't know what to think :confused:, I don't remember if I "forced stop" the SMS/MMS app before switching back to 4G)
- WIFI ON / mobile data ON : I don't know. Behaviour is really strange. Sometimes it works, sometimes it doesn't. I think it depends on what is the first network enabled (Wifi or Mobile data) after disabling "airplane mode".

Hope it helps.

Regards,
 

NeoArian

Recognized Developer
Nov 25, 2017
1,404
3,312
Sony Xperia Z2
Sony Xperia Z3 Compact
Good evening.
I'm sorry that I'm not really active here currently, I'm having much to do with university.
I appreciate your detailed testing. Could you also try to use a different SMS app and set it as default in settings? I will test it myself too whenever I get some time for it.
Greetings, arian.
 
  • Like
Reactions: .:B:.

pawloland

Senior Member
Jan 23, 2019
186
74
Sony Xperia 5 II
Here are the last tests I have done (Airplane mode OFF, 4G/LTE):
- WIFI OFF / mobile data OFF : OK (sending and receiving)
- WIFI ON / mobile data OFF : OK (sending and receiving)
- WIFI OFF / mobile data ON : KO (sending and receiving) with 4G/LTE network at first time, BUT if I switch to 3G/H, it works! Could you please check by yourself with this test (1st attempt in 4G/LTE failed, then switch to 3G/H as "preferred network" and see what happen) ? try to"force stop" the SMS/MMS app before switching from 4G to 3G. Not sure if it still works after switching back to 4G (one of my attempt was OK, one other failed so I don't know what to think :confused:, I don't remember if I "forced stop" the SMS/MMS app before switching back to 4G)
- WIFI ON / mobile data ON : I don't know. Behaviour is really strange. Sometimes it works, sometimes it doesn't. I think it depends on what is the first network enabled (Wifi or Mobile data) after disabling "airplane mode".

Hope it helps.

Regards,
Hi, I tested this quickly without success. I tried 3G, it didn't help, so I went back to 4G, enabled wifi and mobile data. Then I disabled "Mobile data always active" in dev setting (I had it enabled in previous tests). After I disabled it, I could send and receive MMSes on wifi+mobile data or just mobile data, untill I've disabled wifi and mobile data. After reenabling mobile data, I again couldn't send nor receive MMSes. I think that this option in dev settings is causing problems with MMS that won't send nor receive using mobile data enabled by hand.
 

nuess0r

Member
Feb 26, 2012
8
4
If I can help too : about the camera stock issue : I encountered this problem too when I flashed my Z3C from scratch (while previously I have used this build with no problem). I had to flash several times (and immediately testing the camera) before stock camera works again. No idea why.

Maybe this can help.

Yesterday I was reading what the other folks of the Z3C Carbon ROM are discussing and found a solution, at least for mine back camera problem:

You could try if the camera starts working after deleting the folder /data/credmgr with a root file explorer and then rebooting. By doing this, the credmgr folder with the credmanager files are rebuilt by the system, which can help fixing camera issues.

Source: https://xdaforums.com/showpost.php?p=81904527&postcount=14

This worked for me the first time I tried. Some others in the Carbon ROM thread where not successful. As TomKater wrote, he had to flash several times to get the camera working, I suggest that when the camera does not work after deleting /data/credmgr to try it several times and to see if this makes a difference. Good luck!
 
  • Like
Reactions: rm43115

john_matrix

Senior Member
Nov 22, 2008
425
108
France
Hello,
Camera wasn't working since the beginning and as advised, I have flashed the stock ROM and now camera is working again on LOS 17.1.
Only my digitizer is broken (at the bottom) and I have to replace it.
 

bigandyb

Member
Dec 13, 2007
8
0
Hello.

I just installed 17th Nov, version and all seems okay. Installed via TWRP 3.3.1-0.

Thanks for keeping this alive.
 

TolokOFF

Member
May 6, 2019
10
4
Hello! I am using the latest official version of LineageOS 17.1, and I noticed that the minimum screen brightness is much higher than the minimum brightness on the stock firmware. What could this be related to and will it be fixed? The same problem was on LineageOS 16 (also official builds)
 

TolokOFF

Member
May 6, 2019
10
4
Hello! I am using the latest official version of LineageOS 17.1, and I noticed that the minimum screen brightness is much higher than the minimum brightness on the stock firmware. What could this be related to and will it be fixed? The same problem was on LineageOS 16 (also official builds)
I also noticed that the Assertive Display function, which worked on the stock firmware, does not work on LineageOS 17.1. Regarding brightness, I noticed that the firmware only has 255 brightness levels, while the stock firmware has 4096 levels.
See file "max_brightness" - /sys/devices/leds-qpnp-24/leds/wled:backlight. Maybe this information will help to fix this problem. Sorry for my English, I used a Google Translator
 

TolokOFF

Member
May 6, 2019
10
4
Sorry for the many posts, but I found another problem in the latest official build of LineageOS 17.1 (from 11/17/2020)
Wi-Fi works only in b/g modes, if in the router settings you set the network to work only in n mode, then the phone cannot connect to the network - it sees it, but nothing happens when you try to connect. Reboot doesn't help. What could be the problem?
 

rm43115

Senior Member
May 13, 2017
178
49
After my Z3 compact "died" in November, I had to buy a new device.

Due to the excellent LineageOS (LOS) from NeoArian - THANK YOU VERY MUCH - there was no question ... I bought another Z3 compact, again.

Fortunately, I had a actual BACKUP of my defective device.

When trying to restore the BACKUP, I had two effects / problems that I had already noticed earlier with this LOS on the Z3 compact:

1. A complete restore using TWRP cannot run after the import - it gets stuck in a LOS boot loop.
2. The main camera does not work after a mixed reinstallation / restore - the front camera does ... more on that later.

Details to 1. TWRP backup / restore does not work:
I made a full BACKUP (with all seven partitions including EFS and trim area) on the old device.
I restored four partitions (Boot + Cache + Data + System) of that BACKUP.
This restore does not work - it gets stuck in a boot loop on the LOS start screen.

my solution:
- Reinstall an new LOS ... that works.
- Advanced wipe of the partitions "Cache, Dalvik, Data and Internal Storage"
- Restore the "Data" partition (from the BACKUP of the old device)

Then the device started perfectly - everything was back and worked perfectly ...

... almost everything: except the main camera!
In the camera app, the picture simply remains black.

Anyone from you has an idea how to bring the camera back to life without a complete reinstallation?
 

rm43115

Senior Member
May 13, 2017
178
49
After my Z3 compact "died" in November, I had to buy a new device.

Due to the excellent LineageOS (LOS) from NeoArian - THANK YOU VERY MUCH - there was no question ... I bought another Z3 compact, again.

Fortunately, I had a actual BACKUP of my defective device.

When trying to restore the BACKUP, I had two effects / problems that I had already noticed earlier with this LOS on the Z3 compact:

1. A complete restore using TWRP cannot run after the import - it gets stuck in a LOS boot loop.
2. The main camera does not work after a mixed reinstallation / restore - the front camera does ... more on that later.

Details to 1. TWRP backup / restore does not work:
I made a full BACKUP (with all seven partitions including EFS and trim area) on the old device.
I restored four partitions (Boot + Cache + Data + System) of that BACKUP.
This restore does not work - it gets stuck in a boot loop on the LOS start screen.

my solution:
- Reinstall an new LOS ... that works.
- Advanced wipe of the partitions "Cache, Dalvik, Data and Internal Storage"
- Restore the "Data" partition (from the BACKUP of the old device)

Then the device started perfectly - everything was back and worked perfectly ...

... almost everything: except the main camera!
In the camera app, the picture simply remains black.

Anyone from you has an idea how to bring the camera back to life without a complete reinstallation?
 
  • Like
Reactions: Mr.Tom_Tom

nuess0r

Member
Feb 26, 2012
8
4
Anyone from you has an idea how to bring the camera back to life without a complete reinstallation?

Did you already try the suggestion in post 115?
okij said:

You could try if the camera starts working after deleting the folder /data/credmgr with a root file explorer and then rebooting. By doing this, the credmgr folder with the credmanager files are rebuilt by the system, which can help fixing camera issues.
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 12
    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!
    9
    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 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?
    6
    Revived my Z3c with LineageOS 17.1 a few days ago and I'm very pleased so far.
    Nice to see that this great device still has community love and support.

    But the current Lineage ROMs have a bug that prevent Netguard (an open source, no root VPN based Firewall) from running correctly and blocks all traffic if the VPN Service is active:
    It seems the problem was fixed for some devices and partly for others but not in general.

    @NeoArian Can you have a look if the fix can be ported to the Z3C?
    Yes, i will take a look into the kernel patches soon.
    After neglecting the phone for a couple of months, I finally rediscovered it in a drawer, even with some remaining charge. It was still running an older 17.1 version, and with 20210608 being the latest release, I decided to OTA upgrade.

    After downloading, I gave my OK to boot into TWRP (3.3.1 from 2019) but that one didn't find the update automatically.

    Is this expected behaviour, or did I miss something important? I found the file in /data/lineageos_updates eventually...

    Also during installation, I couldn't spot any hint of GApps being adapted (but PlayStore is still there, so I won't worry) while Magisk (20.4) logs showed up... At the moment, a MagiskManager at 23.0 with Magisk left at 20.4 seems to pass SafetyNet tests, and I'm not eager to break the device. Could this cause any problems?
    Please use the recommened lineage recovery, OTA is working fine with it. If the Playstore is still there you don't need to worry about having lost the gapps.
    What kind of problems do you talk about with magisk?
    The problem still exists in latest 17.1-20210608 Nightly. Any updates?

    And I encountered another bug. When I try to uninstall certain apps the package installer immediately closes and nothing happens (for example when trying to uninstall Whatsapp). But only a few apps are affected.
    But it could also be a problem with open GAPPS since GAPPS replaces the AOSP package installer with the google one.


    Encryption worked without a problem. First I thought something went wrong because the lineage boot animation was shown for a very long time (20-30 min) and then it rebooted into recovery. After wiping cache and dalvik the OS booted fast and without problems.
    I can not reproduce the issue about uninstalling apps on a build without gapps. Could you get a log of that?
    I'm sorry about the screen timeout issue, but i currently don't have the time to look into it, the main focus lies on device specific issues and an official release of 18.1.
    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.