I have problems using the docker method for building an unsupported rom (crownlte). I was able to build bonito with docker (which is fully supported though) so I know that my system is configured right.
In my case, I’m trying to build crownlte (galaxy note 9), the source are available through this manifest:
(I had to remove the xml parts to post the message)
project name=“synt4x93/android_device_samsung_universal9810-common” path=“device/samsung/universal9810-common” remote=“github”
project name=“synt4x93/android_device_samsung_crownlte” path=“device/samsung/crownlte” remote=“github”
project name=“LineageOS/android_hardware_samsung” path=“hardware/samsung” remote=“github”
project name=“synt4x93/proprietary_vendor_samsung_universal9810-common” path=“vendor/samsung/universal9810-common” remote=“github”
project name=“synt4x93/android_kernel_samsung_universal9810-crown” path=“kernel/samsung/universal9810-crown” remote=“github”
This is the manifest given on the github page of synt4x93, is it compatible with the build system?
And this is my command line:
-e “CUSTOM_PACKAGES=‘MuPDF GmsCore GsfProxy FakeStore com.google.android.maps.jar Mail BlissLauncher BlissIconPack MozillaNlpBackend OpenWeatherMapWeatherProvider AccountManager MagicEarth OpenCamera eDrive Weather Notes Tasks NominatimNlpBackend DroidGuard OpenKeychain Message Browser BrowserWebView Apps LibreOfficeViewer’”
-e “ANDROID_JACK_VM_ARGS=-Dfile.encoding=UTF-8 -XX:+TieredCompilation -Xmx2G”
All parts should be there but it’s as if the tool was unable to reach the source I mentioned, the one in the synt4x93 repo, outside of the default lineage repo. I just see an error related to duplicate path (fatal: duplicate path prebuilts/prebuiltapks in /srv/src/OREO/.repo/manifest.xml)
It doesn’t seem to be fatal though, as the compile goes on by falling back on a few sources available in the usual (but incomplete) lineageos github for crown, but not the one I mentioned in my manifest. And since this official source is incomplete the proces fails.
Also, which command is the right one to get the container? There are two different mentioned in the wiki: