<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Right combination of sources for Fairphone 2]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">for quite some time now I try to compile UBPorts for the Fairphone 2, but I don't seem to be smart enought <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=6722c86c489" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";-)" alt="😉" /></p>
<p dir="auto">There were some syncing errors last days, probably related to server problems at Ubuntu's, but this seemed to work now.</p>
<p dir="auto">Here's what I did:</p>
<ol>
<li>Sync the UBP-Repo as described here: <a href="https://wiki.ubports.com/wiki/Building-ubports-source" rel="nofollow ugc">https://wiki.ubports.com/wiki/Building-ubports-source</a></li>
<li>Clone the Fairphone Device-Description from <a href="https://github.com/ubports/android_device_fairphone_fp2.git" rel="nofollow ugc">https://github.com/ubports/android_device_fairphone_fp2.git</a> into device/fairphone-devices7FP2</li>
</ol>
<p dir="auto">So far, so good. What's obviously missing now is the kernel. The sources search for a kernel in kernel/fairphone - I tried with the "official" kernel from the Fairphone Open-Source project at <a href="http://code.fairphone.com" rel="nofollow ugc">code.fairphone.com</a>, also including the Binary-Blobs from the same site (I put them into vendor/).</p>
<p dir="auto">After starting make, it complains about some missing components in device/qcom/common - which are in ubport's git-repo at <a href="https://github.com/ubports/android_device_qcom_common.git" rel="nofollow ugc">https://github.com/ubports/android_device_qcom_common.git</a> - but not at the "original" CM-Repo at <a href="http://github.com/CyanogenMod/android_device_qcom_common" rel="nofollow ugc">http://github.com/CyanogenMod/android_device_qcom_common</a> (where this folder is loaded from by Manifest.xml). Make now get's one step further and complains about a missing "dtbToolCM" - which is at the CM-Repo but not at UBPorts'. Ok - annother copy and paste? I gues I took the wrong road quite some time ago now...</p>
<p dir="auto">Anyway, compilation <em>seems</em> to work itself through the kernel now, atleast I have a file named "kernel" with about 7MB in "out". Now it's stuck at the shared libraries - I could again try to find some suitable replacement, maybe at <a href="http://code.fairphone.com" rel="nofollow ugc">code.fairphone.com</a> - however I think I should start over and take the "right" kernel/device/qcom-data etc.<br />
Somewhere deep in the makefiles theres a statement about the "MSM" kernel - so I also tried with <a href="https://github.com/ubports/android_kernel_oneplus_msm8974.git" rel="nofollow ugc">https://github.com/ubports/android_kernel_oneplus_msm8974.git</a> renamed to "fairphone", also no chance of course <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=6722c86c489" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";-)" alt="😉" /></p>
<p dir="auto">Does someone around here happen to know which route to follow?</p>
<p dir="auto">Thank you very much,</p>
<p dir="auto">Alex (21347)</p>
<p dir="auto"><strong>EDIT:</strong> I forgott to mention the exact error, it's: <code>make: *** No rule to make target '/home/alex/phablet/out/target/product/FP2/obj/SHARED_LIBRARIES/libcurl_intermediates/export_includes', needed by '/home/alex/phablet/out/target/product/FP2/obj/EXECUTABLES/hs20-osu-client_intermediates/import_includes'.  Stop.</code></p>
<p dir="auto">I did now checkout curl from <a href="http://code.fairphone.com/gerrit/fp2-dev/platform/external/curl" rel="nofollow ugc">http://code.fairphone.com/gerrit/fp2-dev/platform/external/curl</a>, I'll see where it ends...</p>
<p dir="auto"><strong>EDIT 2:</strong> Ok, after copying curl and libxml from <a href="http://code.fairphone.com" rel="nofollow ugc">code.fairphone.com</a> and adding the paths to build/core/main.mk they get compiled, now I have qmi.h missing; there's really something wrong here...</p>
]]></description><link>https://forums.ubports.com/topic/86/right-combination-of-sources-for-fairphone-2</link><generator>RSS for Node</generator><lastBuildDate>Tue, 21 Apr 2026 00:48:19 GMT</lastBuildDate><atom:link href="https://forums.ubports.com/topic/86.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 20 Aug 2016 10:35:09 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Right combination of sources for Fairphone 2 on Sat, 08 Oct 2016 14:37:19 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/21347" aria-label="Profile: 21347">@<bdi>21347</bdi></a> Hi, I deleted my former post because it was out of the topic.</p>
<p dir="auto">Regarding your qmi.h issue it seems to come from hardware/qcom/wlan being a different version from fairphone's one. I am trying to get a successful build without resorting to copy-paste (apart from the binary bundle I download from <a href="http://code.fairphone.com" rel="nofollow ugc">code.fairphone.com</a>) so I modified my .repo/manifests/default.xml to remove the default hardware/qcom/wlan line and replace it by the one you can find in the Fairphone Open Source release. It's still building (and will be for a while) but I am pretty sure I am past the part where it used to block !</p>
<p dir="auto">If you want to pm me on FP's official forum so we can coordinate and avoid duplicating efforts, my handle is Arvil (with Batman on LSD as my Avatar <img src="https://forums.ubports.com/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=6722c86c489" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";)" alt="😉" /> )</p>
<p dir="auto">EDIT : It actually goes forward until I reach an issue with hardware/qcom/audio-caf, I'm still figuring it out</p>
<p dir="auto">EDIT 2 : I removed audio-caf from the manifest and...</p>
<pre><code>#### make completed successfully (01:03:35 (hh:mm:ss)) ####

arvil@michel:~/fp2-ut/phablet$
</code></pre>
<p dir="auto">YESS ! Now I have to try it, I'll put the manifest in a git repo soon</p>
]]></description><link>https://forums.ubports.com/post/433</link><guid isPermaLink="true">https://forums.ubports.com/post/433</guid><dc:creator><![CDATA[[[global:former-user]]]]></dc:creator><pubDate>Sat, 08 Oct 2016 14:37:19 GMT</pubDate></item><item><title><![CDATA[Reply to Right combination of sources for Fairphone 2 on Thu, 06 Oct 2016 07:57:31 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/doniks" aria-label="Profile: doniks">@<bdi>doniks</bdi></a> said in <a href="/topic/86/right-combination-of-sources-for-fairphone-2/3">Right combination of sources for Fairphone 2</a>:</p>
<blockquote>
<p dir="auto">But that citation refers to Canonical dropping an effort to port to FP2. The previous poster is talking about the ubports effort.</p>
</blockquote>
<p dir="auto">Correct - however, with support from Canonical or not, the point where I got stuck, I think, is way before a point where one should talk about "supported" or "not supported" - I guess (and it's really only a guess), that the complaints about "qmi.h" are more likely to point to a wrongly setup build environment (to my limited knowledge, this is part of the kernel, and should be created or symlinked to when building it succeeds).</p>
<p dir="auto">Missing libraries may point to a wrongly setup build path, too - or problems with the repo (wrong version / source / tag / server-error whatsoever).</p>
<p dir="auto">Flashing the image provided by Marius works, Ubuntu boots up and appears to be quite stable at it's current state, although it's of course not complete. I, however, failed to reproduce even that image, and that's probably not linked to support from canonical. If I have some spare time the next days, I can provide a kind of "log" I wrote when setting up my environment, if it is of any use...</p>
]]></description><link>https://forums.ubports.com/post/425</link><guid isPermaLink="true">https://forums.ubports.com/post/425</guid><dc:creator><![CDATA[21347]]></dc:creator><pubDate>Thu, 06 Oct 2016 07:57:31 GMT</pubDate></item><item><title><![CDATA[Reply to Right combination of sources for Fairphone 2 on Thu, 06 Oct 2016 05:22:42 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/below-freezing" aria-label="Profile: below-freezing">@<bdi>below-freezing</bdi></a> said in <a href="/topic/86/right-combination-of-sources-for-fairphone-2/2">Right combination of sources for Fairphone 2</a>:</p>
<blockquote>
<p dir="auto">Citing <a href="https://trello.com/b/XgQDQtu0/uos-15-11" rel="nofollow ugc">sources from Trello</a>; it looks like the team dropped it in Nov, last year \ by <a href="https://twitter.com/@dholbach" rel="nofollow ugc">@dholbach</a>.</p>
</blockquote>
<p dir="auto">But that citation refers to Canonical dropping an effort to port to FP2. The previous poster is talking about the ubports effort. Marius is still showing off the phone.</p>
]]></description><link>https://forums.ubports.com/post/424</link><guid isPermaLink="true">https://forums.ubports.com/post/424</guid><dc:creator><![CDATA[doniks]]></dc:creator><pubDate>Thu, 06 Oct 2016 05:22:42 GMT</pubDate></item><item><title><![CDATA[Reply to Right combination of sources for Fairphone 2 on Wed, 05 Oct 2016 23:48:01 GMT]]></title><description><![CDATA[<p dir="auto">Citing <a href="https://trello.com/b/XgQDQtu0/uos-15-11" rel="nofollow ugc">sources from Trello</a>; it looks like the team dropped it in Nov, last year \ by <a href="https://twitter.com/@dholbach" rel="nofollow ugc">@dholbach</a>.</p>
]]></description><link>https://forums.ubports.com/post/418</link><guid isPermaLink="true">https://forums.ubports.com/post/418</guid><dc:creator><![CDATA[below freezing]]></dc:creator><pubDate>Wed, 05 Oct 2016 23:48:01 GMT</pubDate></item></channel></rss>