# \[ROM\]\[UNOFFICIAL\] LineageOS 16.0 for FP3

**URL:** <https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849>\
**Category:** Development\
**Tags:** lineageos\
**Created:** [March 22, 2020, 4:53pm UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849 "2020-03-22T16:53:45Z")\
**Posts on this page:** 20\
**Page:** 9

<div class="post-metadata">

**Author:** ![Max\_S](https://forum.fairphone.com/letter_avatar/max_s/32/6_449c533f586939b6e5f246632a46421f.png) [@Max\_S](https://forum.fairphone.com/u/Max_S)\
**Post date:** [June 16, 2020, 9:17pm UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/162 "2020-06-16T21:17:10Z")

</div>

~~Question to the admins: I can’t edit/update my first post anymore? Can someone make this a Wiki article if this is still possible?~~ Thanks for that. Everybody can edit the post now. Please feel free and invited to extend and improve it. 🙂

I created branches with recent changes from the /e/ device tree (also not merged yet) and created PRs for it. It removes some audio blobs and it fixes the screen lag issue. Scrolling is very smooth and nice now.  
I made a build together with the recent changes from @dk1978 which should solve the NFC issue. Of course it also includes general updates in LOS.  
As it is not merged yet I called it “Intermediate pre-merge build” 😉

I couldn’t test the clean build without microG because I have my FP3 already in daily use and didn’t want to restore backup etc. If someone tries it, please give feedback if it works.

---

<div class="post-metadata">

**Author:** ![Max\_S](https://forum.fairphone.com/letter_avatar/max_s/32/6_449c533f586939b6e5f246632a46421f.png) [@Max\_S](https://forum.fairphone.com/u/Max_S)\
**Post date:** [June 16, 2020, 11:30pm UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/163 "2020-06-16T23:30:55Z")

</div>

> [@dk1978](#):
>
> Why hasn’t this bitten us before? And even better - could this file be used as a replacement for the local manifest thing and save us the build step where we ask each developer to create a local manifest at all?

I faced it at some time in the past. But I can’t remember what I did. Maybe it’s processed after fresh repo init. I guess it only works with LineageOS repositories. We need to get official repos for that. However I didn’t check what is required for that so far. Maybe we’d simply need to ask for it. 😄

---

<div class="post-metadata">

**Author:** ![lklaus](https://forum.fairphone.com/user_avatar/forum.fairphone.com/lklaus/32/26176_2.png) [@lklaus](https://forum.fairphone.com/u/lklaus)\
**Post date:** [June 21, 2020, 7:02pm UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/164 "2020-06-21T19:02:12Z")

</div>

Thought I just started trying to build it with a container, according to the README from github. As I’m not really experienced here (ha! ;-)), just for clarifying. When I look at the \*.img, for flashing with fastboot, these are way larger than the payload in the twrp flashable zip. Is this correct, or did my build stumble somewhere?  
And, as I’m on 0120 actually, do I have to do something with vbmeta.img? I don’t understand whether this is implied by " With generated `vbmeta.img` it shouldn’t be required to have both slots in successful state anymore" from the README

Thanks

---

<div class="post-metadata">

**Author:** ![Max\_S](https://forum.fairphone.com/letter_avatar/max_s/32/6_449c533f586939b6e5f246632a46421f.png) [@Max\_S](https://forum.fairphone.com/u/Max_S)\
**Post date:** [June 22, 2020, 11:07pm UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/165 "2020-06-22T23:07:26Z")

</div>

> [@lklaus](#):
>
> When I look at the \*.img, for flashing with fastboot, these are way larger than the payload in the twrp flashable zip. Is this correct, or did my build stumble somewhere?

Yes, that’s correct. They are much larger. E.g. system.img is about 1.3G.

> [@lklaus](#):
>
> do I have to do something with vbmeta.img?

Yes, it’s better to flash it as described in the [README](https://github.com/WeAreFairphone/android_device_fairphone_FP3/blob/lineage-16.0/README.md#with-fastboot).  
Flashing the zip package with twrp is little bit easier though. It does everything for you.

---

<div class="post-metadata">

**Author:** ![lklaus](https://forum.fairphone.com/user_avatar/forum.fairphone.com/lklaus/32/26176_2.png) [@lklaus](https://forum.fairphone.com/u/lklaus)\
**Post date:** [June 23, 2020, 10:22am UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/166 "2020-06-23T10:22:57Z")

</div>

The vbmeta.img in my build was only 4096 bytes, file stated “data”, as opposed to the other .img files. Just restarted the container after removing the file, maybe something went wrong with it…

---

<div class="post-metadata">

**Author:** ![anon74895656](https://forum.fairphone.com/letter_avatar/anon74895656/32/6_449c533f586939b6e5f246632a46421f.png) [@anon74895656](https://forum.fairphone.com/u/anon74895656)\
**Post date:** [June 25, 2020, 2:12pm UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/167 "2020-06-25T14:12:34Z")

</div>

> [@Max\_S](#):
>
> I guess it only works with LineageOS repositories. We need to get official repos for that. However I didn’t check what is required for that so far. Maybe we’d simply need to ask for it. 😄

Here you can find what is necessary:  
[https://wiki.lineageos.org/submitting\_device.html](https://wiki.lineageos.org/submitting_device.html)

---

<div class="post-metadata">

**Author:** ![Max\_S](https://forum.fairphone.com/letter_avatar/max_s/32/6_449c533f586939b6e5f246632a46421f.png) [@Max\_S](https://forum.fairphone.com/u/Max_S)\
**Post date:** [June 25, 2020, 10:00pm UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/168 "2020-06-25T22:00:43Z")

</div>

> [@lklaus](#):
>
> The vbmeta.img in my build was only 4096 bytes

Yes, that’s correct. VBMeta only contains hashes for the other partitions and a signature ([here](https://android.googlesource.com/platform/external/avb/+/master/README.md#The-VBMeta-struct) for details).

> [@anon74895656](#):
>
> Here you can find what is necessary:  
> [https://wiki.lineageos.org/submitting\_device.html](https://wiki.lineageos.org/submitting_device.html)

Maybe you or someone here can answer this question on the page with yes: _Do I want to provide continuous support?_  
😄 😄  
Unfortunately I don’t have too much time left at the moment. However I’d join the maintainer group if someone wants to take care for it 🤓

---

<div class="post-metadata">

**Author:** ![dk1978](https://forum.fairphone.com/user_avatar/forum.fairphone.com/dk1978/32/20839_2.png) [@dk1978](https://forum.fairphone.com/u/dk1978)\
**Post date:** [June 26, 2020, 8:34am UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/169 "2020-06-26T08:34:18Z")

</div>

> [@Max\_S](#):
>
> Maybe you or someone here can answer this question on the page with yes: _Do I want to provide continuous support?_

I will answer with “yes”. 😀  
This project is time-consuming, but worth it, and I don’t plan to give it up. By joining the official LineageOS community I expect that we would gain feedback and advice from other experienced devels, so it seems to me like a clear win.

---

<div class="post-metadata">

**Author:** ![Max\_S](https://forum.fairphone.com/letter_avatar/max_s/32/6_449c533f586939b6e5f246632a46421f.png) [@Max\_S](https://forum.fairphone.com/u/Max_S)\
**Post date:** [June 26, 2020, 9:56am UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/170 "2020-06-26T09:56:40Z")

</div>

That’s great 🙂

---

<div class="post-metadata">

**Author:** ![gazben](https://forum.fairphone.com/letter_avatar/gazben/32/6_449c533f586939b6e5f246632a46421f.png) [@gazben](https://forum.fairphone.com/u/gazben)\
**Post date:** [June 27, 2020, 5:58pm UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/171 "2020-06-27T17:58:41Z")

</div>

I installed the newest build, but when I try to install Open GApps with twrp (after flashing, without firstboot). The apps are not there. How to install Open GApps to this build?

---

<div class="post-metadata">

**Author:** ![Volker](https://forum.fairphone.com/user_avatar/forum.fairphone.com/volker/32/10760_2.png) [@Volker](https://forum.fairphone.com/u/Volker)\
**Post date:** [June 27, 2020, 6:03pm UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/172 "2020-06-27T18:03:23Z")

</div>

Did you have a look at [this post](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/127)? It might help.

---

<div class="post-metadata">

**Author:** ![lklaus](https://forum.fairphone.com/user_avatar/forum.fairphone.com/lklaus/32/26176_2.png) [@lklaus](https://forum.fairphone.com/u/lklaus)\
**Post date:** [June 28, 2020, 7:32am UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/173 "2020-06-28T07:32:44Z")

</div>

Yesterday I tried to install it. As I had a few unrelated problems, i rolled back, but a few observations:

- I couldn’t connect to my wifi, it would not take my password. Wanted to investigate later, but as i had no time left, no logs. Will try later again, if it doesn’t ring a bell
- My sd card is formatted texfat. This was shown as unusable and i would have to reformat. Any way for a support of this fs type?
- As i depend on some apps i wanted to install the patched play store from shadow53. It did not show, regardless of how i tried. Any hints?

---

<div class="post-metadata">

**Author:** ![gazben](https://forum.fairphone.com/letter_avatar/gazben/32/6_449c533f586939b6e5f246632a46421f.png) [@gazben](https://forum.fairphone.com/u/gazben)\
**Post date:** [June 30, 2020, 2:11pm UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/174 "2020-06-30T14:11:10Z")

</div>

I tried the disable verify option but it didn’t help. It’s just weird that I don’t see the installed apps and the install does not give me an error.

---

<div class="post-metadata">

**Author:** ![Plus4](https://forum.fairphone.com/letter_avatar/plus4/32/6_449c533f586939b6e5f246632a46421f.png) [@Plus4](https://forum.fairphone.com/u/Plus4)\
**Post date:** [July 13, 2020, 3:45am UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/175 "2020-07-13T03:45:11Z")

</div>

Hi!  
I installed the LOS without microG on my phone and tested. Everything worked quite fine - even Magisk. Amazing work you did!

Then I thought yesterday, I should lock the bootmanager to use the phone witout that boot warning. But with that I managed to wipe my phone - even Magisk. Somehow I mixed up the 2 partitions it seams.

But I have a question: Will the probblem with a complete wipe be always there when I update LOS before OTA is working? Or are there any hints to avoid that?

Greetings from good old Germany!

---

<div class="post-metadata">

**Author:** ![dk1978](https://forum.fairphone.com/user_avatar/forum.fairphone.com/dk1978/32/20839_2.png) [@dk1978](https://forum.fairphone.com/u/dk1978)\
**Post date:** [July 13, 2020, 4:41am UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/176 "2020-07-13T04:41:43Z")

</div>

Hi Plus4,

> But I have a question: Will the probblem with a complete wipe be always there when I update LOS before OTA is working? Or are there any hints to avoid that?

I am afraid this happens by design. See

[https://source.android.com/security/verifiedboot/device-state](https://source.android.com/security/verifiedboot/device-state)

Installation of Magisk and restoring user data will have to happen after relocking the bootloader afaik.

Best regards

---

<div class="post-metadata">

**Author:** ![Plus4](https://forum.fairphone.com/letter_avatar/plus4/32/6_449c533f586939b6e5f246632a46421f.png) [@Plus4](https://forum.fairphone.com/u/Plus4)\
**Post date:** [July 13, 2020, 4:26pm UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/177 "2020-07-13T16:26:33Z")

</div>

Thank you for your answer, dk!  
I’d like to go on testing LOS (because it is the best Android out there).  
Is there any backup tool (on FDroid) that might help me restoring the installed apps or their configuration?

> [@dk1978](#):
>
> Installation of Magisk and restoring user data will have to happen after relocking the bootloader afaik.

I can install Magisk with locked bootloader? 🤔

---

<div class="post-metadata">

**Author:** ![dk1978](https://forum.fairphone.com/user_avatar/forum.fairphone.com/dk1978/32/20839_2.png) [@dk1978](https://forum.fairphone.com/u/dk1978)\
**Post date:** [July 13, 2020, 5:27pm UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/178 "2020-07-13T17:27:17Z")

</div>

Well… Roughly speaking the following should happen:

1. Download the [TWRP image for the Fairphone 3](https://forum.fairphone.com/t/twrp-for-fairphone-3/56995).
2. Use TWRP to create a backup of the user data. As mentioned above somewhere, you can use the `fastboot boot` command to launch TWRP.
3. Unlock the bootloader.
4. Flash an update of the LOS ROM
5. Use TWRP to modify the boot partition with the Magisk stuff, basically this can be done with the install function.
6. Restore user data from backup.
7. Re-lock the bootloader

If anybody has some details or comments to add, go ahead.

---

<div class="post-metadata">

**Author:** ![Plus4](https://forum.fairphone.com/letter_avatar/plus4/32/6_449c533f586939b6e5f246632a46421f.png) [@Plus4](https://forum.fairphone.com/u/Plus4)\
**Post date:** [July 17, 2020, 6:25pm UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/179 "2020-07-17T18:25:05Z")

</div>

Great idea! I never thoght of the backup-functions of TWRP. I only used it to flash.  
Well … the only problem I found out was, that I am unable to launch TWRP from fastboot with locked bootloader.  
Maybe it works with the installed version …

---

<div class="post-metadata">

**Author:** ![iexos](https://forum.fairphone.com/user_avatar/forum.fairphone.com/iexos/32/21986_2.png) [@iexos](https://forum.fairphone.com/u/iexos)\
**Post date:** [July 19, 2020, 4:24pm UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/180 "2020-07-19T16:24:13Z")

</div>

Thank you for this ROM, its working really well for me 🙂

I have been using Dual SIM for more than a month now, its working fine. You can probably remove it from the known bugs/untested list.

WiFi hotspot is not working for me, i reported it [here](https://github.com/WeAreFairphone/android_device_fairphone_FP3/issues/21).

I also experience some random crashes that i cannot pin down.

---

<div class="post-metadata">

**Author:** ![dk1978](https://forum.fairphone.com/user_avatar/forum.fairphone.com/dk1978/32/20839_2.png) [@dk1978](https://forum.fairphone.com/u/dk1978)\
**Post date:** [July 20, 2020, 5:15am UTC](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849/181 "2020-07-20T05:15:41Z")

</div>

Hi iexos,  
thanks for testing out our ROM!  
I can confirm that the WiFi hotspot doesn’t work (yet). I will start working on it as soon as possible.

[Previous page](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849.md?page=8)

[Next page](https://forum.fairphone.com/t/rom-unofficial-lineageos-16-0-for-fp3/59849.md?page=10)
