I am one of the few users affected by an annoying bug that prevents us from shutting down the FP2 on Lineage. We track all the technical information in the bugtracker, but I would like to discuss possible solutions and verify some assumptions here.
If you are running Lineage OS on your Fairphone, what happens if you want to power off the device? Also: What camera module (back) are you using?
It powers off as expected (and stays off). I have the old camera.
It powers off as expected (and stays off). I have the new camera.
You can help by taking part in the poll above, share your Android or Lineage OS knowledge, debug ideas. Did you experience similar problems with other devices?
My phone is encrypted (and has the new camera and reboots when it should stay off).
If I reboot until the request for the encryption password, and I choose to power off from there (the menu appears when pressing Power like it does in the fully booted OS, just with fewer options), the phone stays off.
It powers off as expected with my old camera module. Now I just switched to a spare new cam module I have laying around and suddenly it reboots instead of powering off. I didn’t change anything except the camera module.
PS: I switched back and everything works as expected again.
PPS: Since the other posters provide that info I’ll do it too for completeness sake: device is not encrypted.
Mine is not encrypted with new camera - and reboots.
In one case when I tried to shut it down more or less immediately after entering the SIM PIN it actually shut down. However I can’t reproduce it right now.
Preliminary Results seem to confirm the observation, that only FP2 with the new camera module are affected. Thanks everybody. It can confirm that Fairphone OS is not affected.
I think the following would help:
A kernel log and logcat from shutdown of a user with the old module. And a kernel log and logcat from shutdown of a user with the new module and Fairphone OS.
Maybe we can find out whats different. If you know the privacy and security implications of sharing logs and how to provide such logs, you can post them in the bugtracker (or send them to mee with your permissions to upload them to the bugtracker). You could also compare them yourself and look for differences. See the bug for that.
I have the old and the new camera modules. Only with LineageOS + new camera -> reboot. Otherwise (LineageOS + old camera, OpenOS + new camera) no reboot.
I can provide logs.
Good question. I can’t tell for sure, because I’ve got both new modules.
Looking at the poll I’d guess the issue is with the main camera, because this is (as per my perception) the most-often changed module. If the issue was with the selfie camera, the result would probably be less clear.
We might be able to tell. Because without the new camera modules, the device is also able to encrypt phone the same way as if it had the old module. The reboot problem could be related to that.
I still got the old modules, so I can test all (AFAICT) 9 configurations:
With both NEW modules (Already tested. In my case: cannot encrypt, device reboots. EDIT: encrypted my phone, device still reboots. All other tests were done WITHOUT an encrypted phone. Ie. after all tests, I used the old modules to encrypt the phone.)
With both OLD modules (*) (Tested, device halts)
Without modules (*) (Tested, device halts)
With NEW top module (**) (Tested, device does not start, will retry)
Without bottom module
Without top module (**) (Tested, device halts)
With NEW bottom module
With OLD top module (*) (Tested, device halts)
Without bottom module
Without top module (*) (Tested, device halts)
With OLD bottom module
With NEW top module (**) (Tested, device halts)
With OLD bottom module
With OLD top module (**) (Tested, device halts)
With NEW bottom module
(*) These are all possible dupes.
(**) These are also possible dupes.
The most interesting use case is #4 and #5 or #8 and #9.
PS: I did not verify all hardware works. So we need more data for sure.
My encrypted FP2 reboots with LO regardless of what camera module I use. I had the reboot bug with the old camera and I have it since I replaced both modules. The phone was wiped and freshly installed twice and the bug is still there.
And just to exclude another configuration variety: I used a rooted LO in the past and my latest LO installation is not rooted - no difference.
It depends. I’ve got the new camera module and sometimes it does reboot and sometimes it doesn’t. I thought it would be a microG/tingle thing. Because often after upgrading, if I didn’t “tingle” my phone immediately it didn’t reboot but started after tingling…
At the moment I run the latest LOS nightly build without tingle and it doesn’t reboot.