Can't find extract-files.sh/can't run it while following "How to Build the /e/ ROM?" page

As your device was officially supported by LineageOS up to Android 10/ Q lineage-17.1, the short answer is that you don’t need to run the extract-file.sh script.

All you need to do is include the following text in your docker run command: -e "INCLUDE_PROPRIETARY=true" . This will pickup the proprietary files needed to create the build by, downloading them from lineage-17.1 branch of TheMuppets proprietary_vendor_samsung GitHub repo . The files for this device are in the universal9810-common directory

Longer answer: Read this part of the LineageOS4microG CICD README for more info.

The LineageOS for microG Docker has this enabled by default so you don’t need to set the INCLUDE_PROPRIETARY variable when building for devices supported by LineageOS and TheMuppets.

The /e/ Docker used also to have it enabled. However, /e/ decided a while ago

  1. to make their own fork of The Muppets vendor repos, and use those forks in their /e/OS builds
  2. not to make those forks available - or even visible - to anyone outside the /e/ dev team.

Doing this broke their public, community Docker build process and instructions. Instead of fixing that, (e.g. by adding the advice to set the INCLUDE_PROPRIETARY variable, or by making their forked repos visible / available for building), they chose to add the same ‘Run the extract-files.sh script’ text that LineageOS uses, despite the facts that

  • extracting vendor files in this way is tricky, buggy and often doesn’t work, in hard-to-diagnose ways.
  • they don’t do this when they make builds themselves. They use repos containing either extracted files or files copied from other organisations’ repos

Both LOS and /e/ do this for “legal reasons”, ignoring the fact that if using these files is breaking copyright law ( a big “if” - I don’t know of any organisation that has faced legal action for making copies of extracted vendor files), then they are breaking that law by using them in their own builds.

Anyway, sorry for the rant, but it annoys me when /e/ say that they support their community in making unofficial builds, at the same time as making it harder for the community to do just that. Good luck with your build!

2 Likes