Install on Xiaomi Mi 9T

Hi,

I have a Xiaomi Mi9T with camera pop up. Would you think I’m able to buid /e/Os on this device ?

if you will find Lineage sources for it… yes

Is the Mi9T not treble compatible ?
Or forgotten in the list ?

This post was flagged by the community and is temporarily hidden.

Ok ! i have this :

https : // github . com /Ayushd70/android_device_xiaomi_raphael

It’s for pro version which is exactly the same except CPU and GPU (Snapdragon 730 vs Snapdragon 855 )

There are builds in XDA but nothing official from Lineage

It seems it will be available soon :

https : // github . com /LineageOS/hudson/commit/d7f5f93b2ee20f5cc29f6e519cffc614281873f0
https : // github . com/LineageOS/lineage_wiki/commit/bcea0b7741d9ddacd3e7cd5de9f11e1557abb733

Ok so now davinci is available in LineageOS : download.lineageos.org/davinci

When I tried to build it from docker (Archlinux base) I got the following error :

$ 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.9-pie" \
    -e "DEVICE_LIST=davinci" \
    -e "OTA_URL=<ota-server-url>" \
    -e "REPO=https://gitlab.e.foundation/e/os/releases.git"  \
    registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community
Branch name v0.9-pie is a tag on e/os/releases, prefix with refs/tags/ for 'repo init'
>> [Fri Oct 16 11:19:17 UTC 2020] Copying '/srv/local_manifests/*.xml' to '.repo/local_manifests/'
Traceback (most recent call last):
  File "/root/build_manifest.py", line 61, in <module>
    f.write(xmlstr)
TypeError: write() argument must be str, not bytes
>> [Fri Oct 16 11:19:19 UTC 2020] Syncing branch repository
>> [Fri Oct 16 11:19:19 UTC 2020] Missing "vendor/lineage", aborting

Any idea to solve error ? Disk have enough space left, I use to run docker in other container.

Post edit : Enter in Docker container, remake python symlink to python2 and then running /run/init.sh solve error. So Docker image is not good …

remove that line and start over

I think there is a newer docker command available

It doesn’t work because the branch “v0.9-pie” doesn’t exist (here is the full list of branches).
Instead, if you want to use a tag to build (here is the full list of tags), you have to write “refs/tags/” before the name of the tag.

So the line should be :
-e "BRANCH_NAME=refs/tags/v0.9-pie"

Even with that :

$ docker run -v "/home/sylvain/e/src:/srv/src" -v "/home/sylvain/e/zips:/srv/zips" -v "/home/sylvain/e/logs:/srv/logs" -v "/home/sylvain/e/ccache:/srv/ccache" -e "BRANCH_NAME=refs/tags/v1-q" -e "DEVICE_LIST=davinci" -e "REPO=https://gitlab.e.foundation/e/os/releases.git" registry.gitlab.e.foundation:5000/e/os/docker-lineage-cicd:community
Set cache size limit to 50.0 GB
>> [Fri Oct 16 17:06:51 UTC 2020] Branch:  refs/tags/v1-q
>> [Fri Oct 16 17:06:51 UTC 2020] Devices: davinci,
>> [Fri Oct 16 17:06:51 UTC 2020] (Re)initializing branch repository
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 46562  100 46562    0     0  26867      0  0:00:01  0:00:01 --:--:-- 26852
>> [Fri Oct 16 17:08:01 UTC 2020] Copying '/srv/local_manifests/*.xml' to '.repo/local_manifests/'
Traceback (most recent call last):
  File "/root/build_manifest.py", line 61, in <module>
    f.write(xmlstr)
TypeError: write() argument must be str, not bytes
>> [Fri Oct 16 17:08:03 UTC 2020] Syncing branch repository
>> [Fri Oct 16 17:08:06 UTC 2020] Missing "vendor/lineage", aborting

So I abandonned this project, it’s more a draft than a working project. Nothing is working in build (docker, repos, links … ), I wouldn’t try an alpha version of my phone. See you. Good luck guys

I already made an unofficial Q-build for davinci in case you missed it.

If you use refs/tags/, like I said, you have to use a tag. “v1-q” is a branch so you have to remove “refs/tags/” if you want to use “v1-q”.

I already tried, Both do the same …
Furthermore what is not clear un how tous is which version to chose. V1 seems here but v.0.12 as well and seems more updated… Not a common thing un choosing number for release. Also there is a confusion between releases.git and Android.git urls. Large confusions in /e/ project. I’m glad I succes to install it but building is another story and a real draft …
Once installed I found similar experience with magicmap whereas osmand has a good reputation and better foss license respect…

A few months ago it has changed from android.git to releases.git.

Magic Earth is much more user friendly or easy to use than OsmAnd, and the OS aims to be for newbies and not for people willing to spend 1h in the configuration of a navigation app. Furthermore Magic Earth works online and offers traffic information.