I was basing that stuff off the CyanogenMod 12.1 port (which was never working) but I had to fix a lot of issues in very different parts of the boot process.
Are you willing to share your fixes? I was about to look into fp2 cm-12.1 issues, but it might be a better investment to look into 14.1, it looks promising already! Kudos!
Investing into 12.1 is not worth it tbh. Lineage 13 could be interesting but I thought why not just jump to the latest and fix stuff there. Yes, it would have been easier with the steps in-between but I think itās too late and too much work right now.
(I finally managed GitHub Support to point the repos to the original ones, not mines, as you could see)
Congrats on your booting milestone, again. Iāll try to setup a server and try a few compilations, but Iām afraid I wonāt have the time to work on this, only occasionally.
PS: Does anyone know if this Docker image works? It seems it had a reputation on XDA while it was docker-cyanogenmod.
After some initial trouble, my setup is finally up and running and I was able to test my first build.
Unsurprisingly I didnāt get everything right the first timeā¦
01-01 04:58:01.628 870 870 E libEGL : load_driver(/vendor/lib/egl/libEGL_adreno.so):
dlopen failed: cannot locate symbol "RSA_verify_PKCS1_PSS" referenced by
"/system/vendor/lib/egl/libEGL_adreno.so"...
01-01 04:58:01.628 870 870 F libEGL : couldn't find an OpenGL ES implementation
My best guess is that Iām using the wrong library here. @z3ntu, which rom did you use to pull the blobs off the device? Was it the latest Fairphone Open (17.03.0), or some other version?
Yep thatās because you donāt have the beautiful proprietary blobs
Put that stuff into your local manifest (you probably only have the first two repos in there) - and donāt ask why I declare a new remote for GitHub, I have my reasons:
Good news! The correct blobs did the trick. My build (Android 7.1.2) boots fine now. Debugging from here is a bit tricky though, since the USB port doesnāt work at all. This means no ADB or easy file transfer. Iāll try to sort that out first.
On a side note, thereās also bad news. A portion of my touch screen broke somewhere along the way (not related to the rom but more likely a hardware issue from what I read here on the forums). Which means that my phone might become unusable for a while soonā¦
Debugging from here is a bit tricky though, since the USB port doesnāt work at all. This means no ADB or easy file transfer. Iāll try to sort that out first.
compiling with brunch lineage_fp2-eng instead of brunch fp2 does the trick with ADB. Unfortunately I have no time to do debugging and developing, but I hope this helps someone