Lineage 17.1 - FP2

Hi Martin,

Just looking into this thread again after some time.

The problem with the non-working timeout for automatic locking seems to be a general problem on LOS 17.1. See, for example, here:

If you still want to use a timeout for screen locking, you may want to try the following workaround: Turn OFF the setting “On/Off locks device immediately” (translated from German). Then the timeout set above is honored. To lock the screen manually, you could use the On/Off Menu (press and hold On/Off button). Enable the corresponding option in the Settings under System > Keys > On/Off Menu > Lock (also translated, so no guarantee for correct labels).

Greetz
Phant

2 Likes

Hi there,

just to add my comment:
I upgraded our three FP2 to LineageOS 17.1 in July and keep them up to date quite regularly. All of them experience the “no mobile data”-feature.
I did not spend too much time in investigating, but it’s hard to find a pattern when mobile data works and when it doesn’t. 90% when leaving wifi it does not. Reboot helps.

But nevertheless: Thanks to Chris (and everyon else) to maintain Lineage for FP2. I hope for some more time! :slight_smile:

Regards
Hansjörg

2 Likes

According to /e/, the Fairphone 2 is scheduled to be upgraded to /e/'s own Android 10 this January. Since /e/ is based on LineageOS, a comparison of possible quirks could be interesting, and the e foundation has developers on board to look into stuff. Perhaps there could be synergy effects :slight_smile: .

3 Likes

Interesting! Thanks for saying. I will do some comparisons when it’s released.
(I was considering registering for downloading the alpha or beta build (I don’t quite get how they deal with their builds), but if it seems it’s ready…)

I’ve been using Android 10 based /e/OS (alpha version) for about 6 months now and I’ve never noticed that problem.

3 Likes

I had some spare-time to between X-mas and new year’s eave and finally jumped to 17.1 with my Fairphone 2 (from LOS 16).

My setup is very simple:

  • latest Lineage OS (no gapps)
  • F-Droid priv. extension (OTA is the correct one? had to install the magisk module in addition as it did not work with the extension flashed via TWRP)
  • Magisk - replaced Lineage SU Addon to be able to use some apps which require root
  • AFWall+ as firewall is running

I also face the two issues. Mobile data does not work sometimes, sometimes it does.
I normally de-active Mobile Data when I’m at home and active WLAN. When I leave my flat I do it the other way around.
I also still have random reboots, but I already had them on LOS16 - never really investigated this, as it happens about 1-3 times per week and I somehow live with that even it is a bit annoying.

Most annoying thing with rebooting for me is, that I use Spotify (I get it via from Aurora store and it works fine without GSF) and after every reboot the external SD card on my FP2 needs some time until it is useable after the reboot. Spotify looses all the downloaded music on the sd-card and the only way to fix this is to restore the data (I use OAndBackupX to do so). Now with the additional necessary reboots I have to go through this procedure even more often :-/.

1 Like

I used (and use) this app

Battery Charge Limit

as well, but for me it does not prevent the random reboots. @d2w what it your lower “begin-charging” % value?

In general for me it feels like that the battery lasts a bit longer with LOS 17.1 than with 16 - not sure why.

1 Like

I have entered 80% for “begin-charging”.

I still have Reboots, but not so directly related to the charging.
At the moment, mine has been running for 7 days, it may be that it runs for a few weeks, but it can also be that it is rebooting in the next moment, both has already been experienced.

To everyone facing mobile data not turning ON issue.

Could you please check if you have these errors in the log?:Lineage 17.1 - FP2

Based on that we can try some other things.

2 Likes

So what I tried to capture:

  • Turn on FP2 (WLAN and LTE working)
  • Switched Wlan off/on/off; (LTE is Working)
  • Switched Mobile Network off and on; (LTE is not working anymore; Wlan works if turned back on …)

Regarding netmgr I see only these kind of messages:

01-11 18:59:52.031 4319 5914 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x1c in tid 5914 (netmgrd), pid 4319 (netmgrd)
01-11 18:59:52.035 12255 12255 W netmgrd : type=1400 audit(0.0:54): avc: denied { sys_resource } for capability=24 scontext=u:r:netmgrd:s0 tcontext=u:r:netmgrd:s0 tclass=capability permissive=0

Thanks for investigating this and let me know if you want to see the full logcat.

4 Likes

Gaah. How did I not see this before.

The selinux denial does not seem to be the root cause. Netmgrd crashes also with adapted selinux policy.

Trying to kang netmgrd from a different device.

Chris

6 Likes

For people who experimenting data connection problem:

Download proprietary_vendor_oppo/msm8974-common/proprietary/vendor/bin/netmgrd at lineage-17.1 · TheMuppets/proprietary_vendor_oppo · GitHub

Then

adb root
adb remount
adb push netmgrd /vendor/bin
adb reboot

And report back…

12 Likes

With the first command “ adb root” I have the following error
ADB Root access is disabled by system setting - enable in Settings -> System -> Developer options

rebooting in TWRP first solve the issue :slight_smile:

System patched, seems to works: After enabling/disabling Airplaine mode → Data is there :smiley: .
I’ll use it in the next days and report if something strange happens :wink:

3 Likes

Awesome. Seems to work. Will test a bit more the next days as well.

3 Likes

Thanks a lot! The above described procedure in my previous post works with the netmgrd you provided, tested on:

Would be interested in some details, can’t really make sense of comparing those binaries. Is it just a newer version?

2 Likes

That’s nice to hear. Congratulations on the fix.

1 Like

Yes, sorry: you need adb root enabled through the Developer options, yes. You should not need TWRP to do that. Just follow instructions from the error message.

Chris

1 Like

Will this updated binary be included in coming LOS updates :)?

1 Like

I had the issue twice today, so I will try the workaround and report.

If you use Magisk it is to enable in Magisk manager, it won’t appear in the developer options (at least it doesn’t for me).

If people confirm it works, then yes!

Chris

6 Likes