A big thank you to all the devs and contributors who made this possible, I flashed it and it’s working perfectly!
One thing I noticed on top of the night light feature not working, which has already been reported: “Reading Mode” doesn’t do anything either, i.e. the black/white mode that you can enable by pulling down the notifications and clicking on the corresponding quick settings tile. If I understand correctly, reading mode is just a shortcut for Settings > System > Developer options > Simulate color space > Monochromatic. None of the other color space options work either, which suggests it’s probably an issue with the display driver that extends beyond night light not working.
Please forgive me for not opening an issue, I don’t have a GitLab account, maybe somebody else can copy/paste it over there.
No worries about the graphics issue. I am aware that it is a general graphics problem. My best guess is that the LineageOS CAF-provided graphics HAL is too old for the Fairphone stock blobs we are using.
Long time I don’t follow this thread. I saw that 17.1 is ready and I see that name of this thread reflects that. I tried to find relevant commentaries, but I was not able to find anything useful, so I decided to ask.
Can you tell me the most important features of Lineage 17.1 (MicroG version in particular which respect to 16? Bugs I should care about? Does the new version deserves (for you) the time to backup the data and do a clean install?
OK guys, an update from my side. I have been short on time due to new job and preparations for moving.
I also decided to go for it and use your generous cash donations to buy a used FP3 for better testing, rather than having to use my day-to-day phone and risk loss of data. I got the new phone and then the fun started.
The person I bought the phone from did not unregister from their Google account before wiping the phone. Most of you will know about Google’s Factory Reset Protection (FRP). To keep it short - I was locked out of the phone and could not even do the OEM unlock steps I have advertised on LineageOS.
So what to do? I started hacking on the phone seriously, meaning I accessed Qualcomm’s Emergency Download Mode. Details on how to do that are documented by other community members. I read out the application boot loader (aboot), analyzed where it looks for for the OEM unlock permission and used this tool to overwrite a single bit of the config partition - and the device was unlocked. I then flashed LineageOS successfully per normal fastboot procedures. LineageOS does not care about FRP.
To make the long story short: FRP and OEM lock can be bypassed on any Fairphone 3. If you ever buy a used phone like I did and run into the same problem, feel free to PM me and we can try to sort things out.
Since you linked to my unbricking thread, I also documented how to do the unlock you did here.
And since fastboot allows flashing critical partitions (even in locked state), it doesn’t even require the use of EDL.
As for FRP, wiping the frp partition should get rid of it
Good points. I did not know you could always flash “critical” partitions. Are you sure overwriting the devinfo partition is sufficient in all cases? I found that the bootloader code that came with release 110 appears to check the config partition first, and then devinfo only as a fallback. Second, are you sure it is safe to give people a generic, non-device specific version of devinfo? Feel free to reply per PM if things get too detailed, so that we don’t spam this thread.
Hi,
I’m new to using smartphone, because I wanted one on which I could install a Linux OS.
But well, I was given the opportunity to have a FairPhone 3+.
So, I wanted to change from stock Android to LineageOS.
First, I’d like to thanks @dk1978 and everybody who has been working hard to port LineageOS 17.1 to the FairPhone.
My problem is that the install process does not seem to work for me.
But since I have no experience, I can’t be sure if I have done things right.
But on the Fairphone side :
Verifying update package
E: failed tp verify while-file signature
Update package verification took 52.2 s (result 1).
E:Signature verification failed
E:error : 21
Install from ADB completed with status 2
Installation aborted.
I’m at a loss of option.
Did I do something wrong ?
Do I really need TWRP like I could read from other posts ?
The command fastboot boot is meant for booting the LineageOS-recovery file from where you can install LineageOS. In your case, you have to download the recovery file lineage-17.1-20210201-recovery-FP3.imgfrom the LineageOS website.
Then, you can install LineageOS with the command adb sideoad. See point 5 on the tutorial
PS. I wrote this tutorial for Windows. There might be some differences when making those steps with Linux…
There is actually also a bit for disabling flashing “critical” partitions in devinfo, however it is enabled by default.
I haven’t looked at it in a while, but at the time I did compare a full firmware dump (taken using EDL) before and after unlocking and there was only the bit in devinfo.
It’s possible that changed since then.
Also there is really nothing device-specific in there, actually there is not much in there at all:
Thank you @dk1978 for reporting the state of your work! By reading your post about the unlocking of your used device i am getting horrified! So can we consider FP3 as not that secure it’s supposed to be? And furthermore @anyone: will it be possible to re-implement FDE (full device encryption) into LOS 17.1, although google dropped the support for it starting from android 10? Most of my fear was relying on the “your boot loader is locked, you are safe!” -strategy. Having FDE running, even the recovery is encrypted. That was a real security point for me.
I would say the current FBE strategy is better. The same security, plus added advantages such as not having to encrypt all data on the partition.
My opinion on the security topic in general: theoretically, the data on your device is never safe, if someone has physical access to it, such as after stealing it - or would you ask users to type in a 2048bit AES key as password?
Practically, all security measures in computing end up making life harder for legitimate users. All I can hope for is to find a decent compromise between these two extremes, and make it hard enough to crack my data to discourage casual attempts.
Well i am with you on that! That’s my daily challenge. So i encourage not using google dependent software on phones and no use of super confidential data on it, either. With LOS and FP3 it’s a charm for me. @dk1978 i wish you all the best in your new job and a easy moving without obstacles. If it was possible, i would donate not only coffee, but a bucket of time to you!
The command fastboot boot is meant for booting the LineageOS-recovery file from where you can install LineageOS. In your case, you have to download the recovery file lineage-17.1-20210201-recovery-FP3.img from the LineageOS website.
Did you boot into the recovery (with the .img-file) before you tried to sideload the lineage-.zip-file from there?
It seems I was wrong about this step, and about what was needed to be downloaded.
I’ll try again tomorrow, as the new build will be out.
Just a little remark to @HolosericaCaligo : I think there is a little mistake in your guide.
In section 5. Installing LineageOS, step 5 : Open Minimal ADB and Fastboot and enter the command **fastboot boot RECOVERY-FILENAME.img**
However, I think it should be fastboot flash boot RECOVERY-FILENAME.img
I followed the simple boot method and I ended up in a classical boot of stock Android, making me go crazy not understanding what was going on. ^^
This indeed is intentional, as it’s not (any longer on a/b devices) to install twrp but to just temporarily boot into it. I use this method for quite some updates now
Hum, well, I understand the semantical difference between boot and flash … but it did not work for me… or so I think.
When doing fastboot boot RECOVERY-FILENAME.img, it just booted the stock android.
Are you talking about installing LineageOS to replace a stock android, or about installing a new version of LineageOS to replace an already installed LineageOS ?
Both. I never installed twrp on my FP3. It was only on the FP2. I followed the recommendation to simply not install it as it’s so easy to just boot it transiently…