English

Porting LineageOS to FP2

lineageos
Tags: #<Tag:0x00007fefbd5c5760>

#145

Just did a successful build with this manifest:

<manifest>
    <remote fetch="https://github.com/" name="github2" />
    <project name="LineageOS/android_device_fairphone_FP2" path="device/fairphone/FP2" remote="github2" revision="cm-14.1" />
    <project name="LineageOS/android_kernel_fairphone_msm8974" path="kernel/fairphone/msm8974" remote="github2" revision="cm-14.1" />
    <project name="FairBlobs/proprietary_vendor_fairphone-fork" path="vendor/fairphone" remote="github2" revision="cm-14.1" />
    <project name="lineageos/android_device_qcom_common" path="device/qcom/common" remote="github2" revision="cm-14.1" />
</manifest>

See: https://fp2.joutubes.nl/jenkins/job/FP2-LineageOS14.1/24/

Starting a new build with the old keys (OTA signing) and OTA url, so this will work again. I will test the zip tomorrow and then push the semi-official release over OTA if everything looks great!


#146

I have updated the modem.zip file to the latest modem firmware of Fairphone OS 17.07.6. This time I have added proper output to the installation script. This zip file also includes the official Fairphone splash image. In case you have installed a custom splash image, you might want to reflash it.

:file_folder: Download: modem-17.07.6.zip
:bookmark_tabs: SHA256: 0b2f6998309163cb85e9a95d57ca0b32349c0de9081e0e3154075d86a4c1515a

After you have flashed the zip file, you should see the version 4436.1-FP2-0-04 under Settings -> About Phone -> Baseband Version.

Since those are binary blobs, I have no idea what has changed since the previous release. But comparing the image files, I can see that the following files were changed:

  • emmc_appsboot.mbn
  • NON-HLOS.bin
  • rpm.mbn
  • sbl1.mbn

The following files were not changed since previous release:

  • splash.img
  • tz.mbn

The following files were included in the previous release, but not in the current:

  • sdi.mbn

I included sdi.mbn and the unchanged files in the modem.zip file, so you can upgrade from older versions as well.

Alternatively, you can flash the latest modem firmware using fastboot. You can get the firmware images from the official Fairphone OS downloads page (scroll down to binary images). Don’t flash system.img, boot.img and recovery.img obviously.


LineageOS 14.1 with OTA updates for FP2
#147

(emphasis by me)

Yeah, you finally included sdi.mbn in the ZIP, :wink:


#148

… which was last updated in FPOS 1.4.2, about a year ago. Those were the days… :wink:


#149

What is it about sdi.mbn? I tried googling it but with no success.


#150

Thanks for the update. Sadly this update still suffers from the proximity sensor wakelock bug. Can one of the devs confirm that the old modem files that we used as workaround on FP OpenOS would work on Lineage OS, or is there a compatibility issue ?


#151

The old modem files for Fairphone Open OS should work. However, they might contain unpatched security vulnerabilities and it is not recommended to use them.

If you run into problems with the old modem files, you can always flash the latest modem.zip from the first post of this thread.


#155

In your build from 31th, did you change dpi settings? I have the impression that find are smaller and space is distributed differently ok my screens (Nova launcher)


#156

It’s using the actual screen dpi of the phone and Fairphone doesn’t use that value because it isn’t compliant with the Google CTS


#157

Well, the display indeed looks sharper… But my old eyes, after a day in front of a computer :wink:


#158

Would it be possible to put this patch in “our” build soon(!) ? People (myself included) are having exactly that problem: No microphone on Skype and Skype for Business.
https://review.lineageos.org/#/c/181383/
I just modified the file on my phone and uploaded it to /system/etc/mixer_paths.xml and microphone is back on Skype. Here is the attached file (just remove the .pdf extension that is just there to fool the upload restriction in the forum).
mixer_paths.xml.pdf (47.8 KB)


#159

Should be in the latest build…


#160

Yes, I added it, but without being able to test this myself. Please let us know here, if that fixed it.

Chris


#162

Building a build with the mixer commit in there. See progress here.


#163

Can you please test the testbuild and report if it works now? If yes, I will push this update through OTA.

You’ll need to flash this test release through TWRP.


#164

I just flashed it and gave it a quick test: Skype microphone works. I could not test Skype for Business, but my guess is that it uses the same low latency mixer that was missing.
I think it can go out via OTA.


#165

I’m wondering if the latestest FP blobs (sibon-17.07.6) are been used in the last LAOS builds?
https://code.fairphone.com/projects/fp-osos/dev/fp2-blobs-download-page.html
@chrmhoffmann @z3ntu @snevas


#166

Nope.

20characterspostlimit


#167

Good to know so there is room for improvement :slight_smile:


#168

I don’t think updating the blobs will really improve anything. But yes, they should be updated.