Error in building OnePlus 7T

Trying to build for the OnePlus 7T which is supported by LineageOS. I have followed the guide, have Docker installed and am at the point to execute docker using the following:

sudo docker run
-v “/srv/e/src:/srv/src”
-v “/srv/e/zips:/srv/zips”
-v “/srv/e/logs:/srv/logs”
-v “/srv/e/ccache:/srv/ccache”
-e “BRANCH_NAME=v0.16-q”
-e “DEVICE_LIST=hotdogb”
-e “OTA_URL=”
-e “REPO=”

It eventually errors out with Missing “vendor/lineage”, aborting. Checked the logs and I have the following:

error: Cannot fetch TheMuppets/proprietary_vendor_oneplus (TypeError: write() takes no keyword arguments)
error: Cannot fetch TheMuppets/proprietary_vendor_htc (TypeError: write() takes no keyword arguments)
Traceback (most recent call last):
File “/usr/lib/python3.8/multiprocessing/”, line 125, in worker
result = (True, func(*args, **kwds))
File “/usr/lib/python3.8/multiprocessing/”, line 48, in mapstar
return list(map(*args))
File “/srv/src/Q/.repo/repo/subcmds/”, line 319, in _FetchProjectList
return [self._FetchOne(opt, x) for x in projects]
File “/srv/src/Q/.repo/repo/subcmds/”, line 319, in
return [self._FetchOne(opt, x) for x in projects]
File “/srv/src/Q/.repo/repo/subcmds/”, line 335, in _FetchOne
success = project.Sync_NetworkHalf(
File “/srv/src/Q/.repo/repo/”, line 1140, in Sync_NetworkHalf
if not self._RemoteFetch(
File “/srv/src/Q/.repo/repo/”, line 2208, in _RemoteFetch
output_redir.write(’\n%s:\n%s’ % (, gitcmd.stdout), file=sys.stderr)
TypeError: write() takes no keyword arguments

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “/srv/src/Q/.repo/repo/”, line 631, in
File “/srv/src/Q/.repo/repo/”, line 605, in _Main
result = run()
File “/srv/src/Q/.repo/repo/”, line 598, in
run = lambda: repo._Run(name, gopts, argv) or 0
File “/srv/src/Q/.repo/repo/”, line 262, in _Run
result = cmd.Execute(copts, cargs)
File “/srv/src/Q/.repo/repo/subcmds/”, line 859, in Execute
success, fetched = self._Fetch(to_fetch, op

Any help would be greatly appreciated.

Regain your privacy! Adopt /e/ the unGoogled mobile OS and online servicesphone

It looks like your build needs to pull in vendor files from TheMuppets github repos. To do this with docker, the following line needs to be added to your docker run command

1 Like

Ty this fixed the issue!

It appears LOS 18.1 is only option available on their GitHub. So would I have to wait for /e/ os to catch up to Android R before I can build?

I can see the problem I’m not sure how to fix (or even whether it can be fixed).

Your build is correctly picking up the lineageOS device repo on github

It is then trying to get hold of the lineage-17.1 branch (because current /e/ OS Q is based on LOS v17.1). But there is no lineage-17.1 branch in that repo, only lineage-18.1.

When we check the LOS downloads page for this device, all we see is 18.1 builds. So it looks like your device is supported by LOS 18.1 but not 17.1.

Searching github for other android_device_oneplus_hotdogb repos, we find this one: This appears to be owned by the developer working on an unofficial LOS 17.1 ROM - see this XDA thread. Unfortunately, from reading the thread, that ROM is nowhere near working.

Without a working LOS 17.1 ROM, your chances of getting a working /e/ ROM anytime soon are small. Sorry to be the bearer of bad news :frowning:

If I owned this device then, in the absence of a working /e/ ROM, I would install the LOS 18.1 ROM, along with MicroG via Nanodroid, though I don’t know whether NanoDroid - or MicroG - supports LOS 18.1 yet . My normal advice would be to use LineageOS for microG, but it isn’t built for this device yet ( :frowning: again )

Good luck!

Thank you for the response. I read a bit and realized it’s because LOS only has their 18.1 on git. After a bit of reading I can build microg+LOS for 18.1. I’ll do that until e os catches up to Android R.


1 Like