Giter Site home page Giter Site logo

build-lineageos-sargo's Introduction

Build LineageOS 17.1 for the Pixel 3a aka sargo

Installation instructions can be found below as well.

These instructions will also likely work for the Pixel 3a XL aka bonito with some modification.

There are two ways to build, the easy way and the hard way. The easy way uses a docker image as the build environment and applies functionality patches and optionally patches for microg support. This is the recommend way as the build dependency versions your linux distro provides may cause unexpected issues.

The hard way requires you to set up your own build environment and apply the patches manually. You may want to choose this route if you want to familiarize yourself with AOSP, lineaseos, and the build process. If you choose this route I suggest using Debian Stretch.

At the bottom of this page are some troubleshooting and debug instructions

Get adb and fastboot

Required for both the easy and hard ways the platform tools provided by distros is often wayyyy out of date. We have to grab the binaries ourselves.

get adb and fastboot from google https://dl.google.com/android/repository/platform-tools-latest-linux.zip cd to your home directory, and extract them: unzip platform-tools-latest-linux.zip -d ~ and add them to your path by adding the following to your ~/.profile

# add Android SDK platform tools to path
if [ -d "$HOME/platform-tools" ] ; then
    PATH="$HOME/platform-tools:$PATH"
fi

and run source ~/.profile

Build lineageos 17.1 for pixel 3a (sargo) docker aka the easy way

This uses https://github.com/SolidHal/docker-lineage-cicd/ which automates the build.

Install docker for your OS. Instructions can be found on the docker website.

clone a copy of the repo

cd ~/
mkdir lineage-docker-solidhal
cd lineage-docker-solidhal
git clone https://github.com/SolidHal/docker-lineage-cicd.git .

and build the docker image

docker build --tag solidhal/docker-lineage-cicd .

Now clone a copy of this repo if you haven't already

cd ~/
mkdir lineage-sargo
cd lineage-sargo
git clone https://github.com/SolidHal/Build-lineageos-sargo.git .

make the directories we will pass into the docker:

mkdir src zips logs ccache

and the a directory for your signing keys. If you already have these, you can skip this step

mkdir ~/.android-certs

now we can build.

build_sargo.sh builds lineageos with support for signature spoofing and other location providers both of which are required for microg and unifiedNLP support. It also includes the f-droid privileged extension, which allows f-droid to be used without the "unknown sources" permission and allows for a cleaner app install process.

The script before.sh in userscripts applies a handful of patches to fix a bootloop, improve battery life, and fix bluetooth

If all of that sounds good, you can build by running

./build_sargo.sh

this will take over an hour most likely, especially the first time.

you can watch the progress by reading the logs in logs. The repo log is the process of syncing all of the repos. When that is complete, a second log in the logs/sargo directory will track the build progress.

when the build is complete, you can find the lineageos zip and the boot.img in zips/sargo

Install

Install instructions can be found farther down this readme

Customization

if you don't have any interest in microg, you can remove SIGNATURE_SPOOFING and SUPPORT_UNIFIEDNLP.

Additional environment variables can be added to the script to further customize the build. See https://github.com/SolidHal/docker-lineage-cicd/ for a list

Build lineageos 17.1 for pixel 3a (sargo) no docker aka the hard way

This is more difficult, as you have to setup the environment yourself. It is also less reliable as build dependencies can cause unknown issues depending on the version your distro provides.

Basing these instructions off of https://wiki.lineageos.org/devices/sailfish/build with modifications for the pixel 3a aka sargo

Note that while the pixel 3a is codenamed sargo, it is very closely related to the pixel 3a XL codenamed bonito. Because of this, most of the files we care about are actually under bonito directories. This is important to keep in mind if you want to modify this process.

Setup build enviroment

In my experience, over 16GB of RAM + swap is needed to build. I have 16GB of ram but my first build failed because I only had 2GB of swap :( If you get a random failure in the build process, because something was "killed" low memeory is likely why I needed over 8GB of swap, ended up using 16GB

Guides all over the internet can tell you how to grow your swap, but to start you can check it with: free -h

You also need about 150-200GB of free disk space.

install the repo command

curl https://storage.googleapis.com/git-repo-downloads/repo > /usr/bin/repo
chmod a+x /usr/bin/repo

Setup sources

make and enter a desired source directory

cd ~/android/lineage
repo init -u https://github.com/LineageOS/android.git -b lineage-17.1

and now let repo grab all of the sources

repo sync

if that fails, you may have to run the following to clear any conflicts:

repo sync --force-sync

now download the device specific config and kernel:

source build/envsetup.sh
breakfast sargo

proprietary blobs

these are unfortunately required, there is no android phone without some proprietary blobs. we have to specifiy them explicitly because they are not provided by lineageos for potential copyright issues.

add the following to .repo/local_manifests/muppets.xml

<?xml version="1.0" encoding="UTF-8"?>
<manifest>
  <project name="TheMuppets/proprietary_vendor_google" path="vendor/google" remote="github" />
</manifest>

and run repo sync to get the proprietary blobs.

now to patch in signature spoofing and add the fdroid privileged extension:

Fdroid & microg

include the fdroid privileged extension in the build. This combined with the fdroid.apk will allow us to securely install microg from the supported fdroid repo. information on this process can be found here: https://gitlab.com/fdroid/privileged-extension/#f-droid-privileged-extension

make a file called fdroid_extension.xml in .repo/local_manifests and add the following to it:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

  <remote name="fdroid" fetch="https://gitlab.com/fdroid/" />
  <project path="packages/apps/F-DroidPrivilegedExtension"
           name="privileged-extension.git" remote="fdroid"
           revision="refs/tags/0.2.11" />

</manifest>

note that when fdroid privileged extension is updated the revision (0.2.11) will need to be updated to build the new version into lineageos

now run repo sync again to pull in the fdroid privileged extension files

Next to actually include it in the build, add F-DroidPrivilegedExtension to the PRODUCT_PACKAGES list in device/google/bonito/device-common.mk

PRODUCT_PACKAGES += \
    F-DroidPrivilegedExtension \

after bootup, we can then install fdroid, and then installing the microg apks from there. This is the "supported" method of microg inclusion. This also provides the benefit of having a microg-free ROM if desired.

NOTE: if you run repo sync after this point, you will have to re apply the patches

_Patches can be found in the following places Signature Spoofing: _

Signature Spoofing patch for android 10

to take advantage of microg, we need to allow signature spoofing.

The patch can be found here https://github.com/SolidHal/docker-lineage-cicd/tree/master/src/signature_spoofing_patches

cd frameworks/base/core
patch -p1 < sig_spoofing_patch/android_frameworks_base-Q.patch

UnifiedNLP patch

The patch can be found here https://github.com/SolidHal/docker-lineage-cicd/tree/master/src/location_services_patches

cd frameworks/base/core`
patch -p1 < location_patch/android_frameworks_base-Q.patch

msm patches

there is one patch to prevent a bootloop that has not yet been merged. Lets cherry pick it now.

cd kernel/google/msm-4.9 git fetch "https://github.com/LineageOS/android_kernel_google_msm-4.9" refs/changes/27/263927/2 && git cherry-pick FETCH_HEAD

bluetooth patch

bluetooth is currently broken due to hal_bluetooth_default lacking some permissions, cherry pick the patch. This may get merged, making this step unnecessary:

cd device/google/bonito
git fetch "https://github.com/LineageOS/android_device_google_bonito" refs/changes/45/268545/1 && git cherry-pick FETCH_HEAD

battery life improvement patch

this may also get merged at some point

cd kernel/google/msm-4.9
git fetch "https://github.com/LineageOS/android_kernel_google_msm-4.9" refs/changes/40/263940/1 && git cherry-pick FETCH_HEAD

Now we can get back to building.

ccache

setup ccache, I highly recommend this. Android takes a very long time to build (>1 hour). This greatly speeds up subsequent builds:

run:

export USE_CCACHE=1

and add that line to your ~/.bashrc

and choose a size for your ccache. The wiki recommends 50G but I went with 75G to be safe.

ccache -M 75G

build

And finally, start the build. This will take a while.

croot
brunch sargo

you can find the build results in $OUT which is

croot
cd out/target/product/sargo

inside you'll find the lineage-17.1-XXXXXXXX-UNOFFICIAL-sargo.zip

Install

Plug your phone into you computer, power it off, and hold down power + volume down to boot into the bootloader

make sure your bootloader is unlocked. You can unlock it by running: fastboot flashing unlock accept the bootloader unlock, and reboot into bootloader

Now to flash the recovery image we built, which is part of the boot.img for the hard way, the boot.img is located in ``out/target/product/sargofor the easy way it is along with your lineageos image inzips`

flash boot.img by running: fastboot flash boot boot.img

reboot into the bootloader and boot into recovery by using volume up or volume down in the bootloader Do a factory wipe of user data to avoid any issues. Next choose Apply update from adb Locate your built lineageos.zip and sideload it adb sideload lineage-17.1*.zip

it will get stuck at 47% for a bit, just give it a few minutes When it is done, you will be back at the android recovery screen choose "Reboot System Now"

Fdroid and microg setup

Right now you need an alpha version of fdroid to function with the privileged extension on Android 10 get version 1.8-alpha1 or newer

Once installed, add the microg fdroid repo. A quick search will lead you to it.

Install microg services core, microg services framework proxy, fakestore, and a unified nlp backend.

I found for installing microg services, I still had to give fdroid unknown sources permission. This doesn't seem to happen with any other app from fdroid.

Open the microg app, give it the permissions it requests and then in the self check tap "system grants signature spoofing permission" and grant it signature spoofing

Now we have to grant unified nlp location permissions. This is done easily from adb root

enable adb and root adb in developer options, plug in your phone, and run:

adb root
adb shell

then run the following in the adb shell

pm grant com.google.android.gms android.permission.ACCESS_FINE_LOCATION
pm grant com.google.android.gms android.permission.ACCESS_COARSE_LOCATION

Finally, grant the fakestore signature spoofing permissions

pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE

and reboot your phone you can now disable developer options

Further troubleshooting information can be found here https://old.reddit.com/r/MicroG/wiki/issues

Debug build

useful for debugging bootloops, provides access to adb functions like adb logcat right away.

docker

TODO

no docker

to build a debug eng image on lineageos do the following: TARGET_BUILD_TYPE=debug breakfast sargo eng TARGET_BUILD_TYPE=debug brunch sargo eng

sideload the lineage-17.1-XXXXXXXX-UNOFFICIAL-sargo.zip like a usual build

fastboot usage

sargo is an A/B device, so you can flash either slot_a or slot_b by adding _b to the partition example for boot:

fastboot flash boot_a boot.img
fastboot flash boot_b boot.img

Troubleshooting:

at some point, I got stuck where I couldn't get into recovery from the bootloader.

to get out I took the following from out/target/product/sargo and flashed them. flash boot.img, dtbo.img, vbmeta.img

fastboot flash boot boot.img
fastboot flash dtbo dtbo.img
fastboot flash vbmeta vbmeta.img
fastboot reboot bootloader

then use the volume keys to choose "recovery" and boot to recovery

wipe the data and system partitions

how to debug selinux issues

To test if selinux is at fault, you can apply the selinux-permissive.patch, build, and see if it is fixed

check if selinux is permissive or enforcing:

adb root
adb shell
getenforce

in permissive mode, it will log the requests that would be denied if enforcing you can see all of the requests the sepolicy has denied by running

adb shell dmesg | grep denied

find the policy file, which end in .te in device/<manufacturer>/<board>/sepolicy or sepolicy-lineage

you can used the old audit2allow.perl, which will turn the denieds into policies to add the the policy file

get the perl script: wget https://github.com/OpenDarwin-CVS/SEDarwin/raw/master/sedarwin7/src/sedarwin/policycoreutils/audit2allow/audit2allow.perl give it execution permissions: sudo chmod +x audit2allow.perl and then run it like this: adb shell dmesg | grep denied | perl ~/android/audit2allow.perl

this page has some information, but some of it is outdated right now https://source.android.com/security/selinux/implement

Flashing the stock google rom

the latest factory image for the 3a from here https://developers.google.com/android/images

extract and run flash-all.sh

Additional information I stumbled upon during this process:

tried to setup debug using somgthing like this: https://groups.google.com/forum/#!topic/mozilla.dev.b2g/epQ6qhIFZ50 unpacking the boot.img with with this https://github.com/xiaolu/mkbootimg_tools but that didn't work https://source.android.com/compatibility/vts/vts-on-gsi

build-lineageos-sargo's People

Contributors

solidhal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

build-lineageos-sargo's Issues

Pointers on building for Pixel/sailfish and a boot loop

Thanks for the repo!

I tried to build lineage 17.1 for the Pixel/sailfish and based my efforts on this repo.

I cloned your repo and used this command to build:

docker run \
       -e "BRANCH_NAME=lineage-17.1" \
       -e "DEVICE_LIST=sailfish" \
       -e "INCLUDE_PROPRIETARY=false" \
       -e "CLEAN_AFTER_BUILD=false" \
       -e "SIGN_BUILDS=true" \
       -e "SIGNATURE_SPOOFING=restricted" \
       -e "SUPPORT_UNIFIEDNLP=true" \
       -e "BOOT_IMG=true" \
       -e "CUSTOM_PACKAGES=GmsCore GsfProxy FakeStore MozillaNlpBackend NominatimNlpBackend com.google.android.maps.jar FDroid FDroidPrivilegedExtension" \
       -v "$PWD/src:/srv/src" \
       -v "$PWD/zips:/srv/zips" \
       -v "$PWD/logs:/srv/logs" \
       -v "$PWD/ccache:/srv/ccache" \
       -v "$PWD/local_manifests:/srv/local_manifests" \
       -v "$HOME/.android-certs:/srv/keys" \
       solidhal/docker-lineage-cicd

the key difference is that I don't supply any user scripts as I thought that they probably are device specific.

The build went through but then on first boot the phone told me constantly that

Settings app keeps crashing, stop it or wait

I guess you know what kind of dialog I mean.
Therefore my question is: Is this the kind of boot loop that should be prevented by the patch in the before user-script?
If not, is any of the built-in apps known to cause issues?

Thanks for your work, it started me on trying to build my own lineage!

No such file or directory -- Can't detect the android version

I've run a few clean build attempts by clearing both src and ccache, running clean_sargo.sh, and rebuilding the container with --no-cache but I receive get the same error each time.

sed: can't read build/core/version_defaults.mk: No such file or directory
sed: can't read build/core/version_defaults.mk: No such file or directory
sed: can't read build/core/version_defaults.mk: No such file or directory
sed: can't read build/core/version_defaults.mk: No such file or directory
>> [Wed Jun 17 00:27:52 UTC 2020] Can't detect the android version

It looks to be an issue pulling in certain lineage project files but I am not sure.

repo log:

repo: warning: Python 2 is no longer supported; Please upgrade to Python 3.6+.
repo: warning: Python 2 is no longer supported; Please upgrade to Python 3.6+.
Downloading manifest from https://github.com/LineageOS/android.git

repo has been initialized in /srv/src/LINEAGE_17_1
>> [Tue Jun 16 22:55:28 UTC 2020] Syncing branch repository
repo: warning: Python 2 is no longer supported; Please upgrade to Python 3.6+.
repo: warning: Python 2 is no longer supported; Please upgrade to Python 3.6+.
Invalid clone.bundle file; ignoring.
device/qcom/sepolicy: Shared project LineageOS/android_device_qcom_sepolicy found, disabling pruning.
device/qcom/sepolicy-legacy: Shared project LineageOS/android_device_qcom_sepolicy found, disabling pruning.
device/qcom/sepolicy-legacy-um: Shared project LineageOS/android_device_qcom_sepolicy found, disabling pruning.
hardware/qcom-caf/apq8084/audio: Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom-caf/apq8084/display: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom-caf/apq8084/media: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom-caf/bt: Shared project LineageOS/android_hardware_qcom_bt found, disabling pruning.
hardware/qcom-caf/msm8916/audio: Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom-caf/msm8916/display: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom-caf/msm8916/media: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom-caf/msm8952/audio: Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom-caf/msm8952/display: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom-caf/msm8952/media: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom-caf/msm8960/audio: Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom-caf/msm8960/display: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom-caf/msm8960/media: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom-caf/msm8974/audio: Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom-caf/msm8974/display: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom-caf/msm8974/media: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom-caf/msm8994/audio: Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom-caf/msm8994/display: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom-caf/msm8994/media: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom-caf/msm8996/audio: Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom-caf/msm8996/display: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom-caf/msm8996/media: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom-caf/msm8998/audio: Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom-caf/msm8998/display: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom-caf/msm8998/media: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom-caf/sdm845/audio: Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom-caf/sdm845/display: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom-caf/sdm845/media: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom-caf/sm8150/audio: Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom-caf/sm8150/display: Shared project LineageOS/android_hardware_qcom_display found, disabling pruning.
hardware/qcom-caf/sm8150/media: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
hardware/qcom/audio: Shared project LineageOS/android_hardware_qcom_audio found, disabling pruning.
hardware/qcom/bt: Shared project LineageOS/android_hardware_qcom_bt found, disabling pruning.
hardware/qcom/display: Shared project LineageOS/android_hardware_qcom_display found, diChecking out files:  41% (2739/6617)   
Checking out files:  42% (2780/6617)   
Checking out files:  43% (2846/6617)   
Checking out files:  44% (2912/6617)   
Checking out files:  45% (2978/6617)   
Checking out files:  46% (3044/6617)   
Checking out files:  47% (3110/6617)   
Checking out files:  48% (3177/6617)   
Checking out files:  49% (3243/6617)   
Checking out files:  50% (3309/6617)   
Checking out files:  51% (3375/6617)   
Checking out files:  52% (3441/6617)   
Checking out files:  53% (3508/6617)   
Checking out files:  54% (3574/6617)   
Checking out files:  55% (3640/6617)   
Checking out files:  56% (3706/6617)   
Checking out files:  57% (3772/6617)   
Checking out files:  58% (3838/6617)   
Checking out files:  59% (3905/6617)   
Checking out files:  60% (3971/6617)   
Checking out files:  61% (4037/6617)   
Checking out files:  62% (4103/6617)   
Checking out files:  63% (4169/6617)   
Checking out files:  64% (4235/6617)   
Checking out files:  65% (4302/6617)   
Checking out files:  66% (4368/6617)   
Checking out files:  67% (4434/6617)   
Checking out files:  68% (4500/6617)   
Checking out files:  69% (4566/6617)   
Checking out files:  70% (4632/6617)   
Checking out files:  71% (4699/6617)   
Checking out files:  72% (4765/6617)   
Checking out files:  73% (4831/6617)   
Checking out files:  74% (4897/6617)   
Checking out files:  75% (4963/6617)   
Checking out files:  76% (5029/6617)   
Checking out files:  77% (5096/6617)   
Checking out files:  78% (5162/6617)   
Checking out files:  79% (5228/6617)   
Checking out files:  80% (5294/6617)   
Checking out files:  81% (5360/6617)   
Checking out files:  82% (5426/6617)   
Checking out files:  83% (5493/6617)   
Checking out files:  84% (5559/6617)   
Checking out files:  85% (5625/6617)   
Checking out files:  86% (5691/6617)   
Checking out files:  87% (5757/6617)   
Checking out files:  88% (5823/6617)   
Checking out files:  89% (5890/6617)   
Checking out files:  90% (5956/6617)   
Checking out files:  91% (6022/6617)   
Checking out files:  92% (6088/6617)   
Checking out files:  93% (6154/6617)   
Checking out files:  93% (6189/6617)   
Checking out files:  94% (6220/6617)   
Checking out files:  95% (6287/6617)   
Checking out files:  96% (6353/6617)   
Checking out files:  97% (6419/6617)   
Checking out files:  98% (6485/6617)   
Checking out files:  99% (6551/6617)   
Checking out files: 100% (6617/6617)   
Checking out files: 100% (6617/6617), done.
error: unable to create file pathtools/testdata/escapes/*: Invalid argument
fatal: cannot create directory at 'pathtools/testdata/escapes/**': Invalid argument
error: Cannot checkout LineageOS/android_build_blueprint: GitError: Cannot initialize work tree for LineageOS/android_build_blueprint
sabling pruning.
hardware/qcom/media: Shared project LineageOS/android_hardware_qcom_media found, disabling pruning.
vendor/nxp/opensource/pn5xx/halimpl: Shared project LineageOS/android_vendor_nxp_opensource_halimpl found, disabling pruning.
vendor/nxp/opensource/pn5xx/hidlimpl: Shared project LineageOS/android_vendor_nxp_opensource_hidlimpl found, disabling pruning.
vendor/nxp/opensource/sn100x/halimpl: Shared project LineageOS/android_vendor_nxp_opensource_halimpl found, disabling pruning.
vendor/nxp/opensource/sn100x/hidlimpl: Shared project LineageOS/android_vendor_nxp_opensource_hidlimpl found, disabling pruning.
Traceback (most recent call last):
  File "/srv/src/LINEAGE_17_1/.repo/repo/main.py", line 628, in <module>
    _Main(sys.argv[1:])
  File "/srv/src/LINEAGE_17_1/.repo/repo/main.py", line 602, in _Main
    result = run()
  File "/srv/src/LINEAGE_17_1/.repo/repo/main.py", line 595, in <lambda>
    run = lambda: repo._Run(name, gopts, argv) or 0
  File "/srv/src/LINEAGE_17_1/.repo/repo/main.py", line 264, in _Run
    result = cmd.Execute(copts, cargs)
  File "/srv/src/LINEAGE_17_1/.repo/repo/subcmds/sync.py", line 982, in Execute
    self._Checkout(all_projects, opt, err_event, err_results)
  File "/srv/src/LINEAGE_17_1/.repo/repo/subcmds/sync.py", line 567, in _Checkout
    self._CheckoutWorker(**kwargs)
  File "/srv/src/LINEAGE_17_1/.repo/repo/subcmds/sync.py", line 447, in _CheckoutWorker
    return self._CheckoutOne(opt, project, *args, **kwargs)
  File "/srv/src/LINEAGE_17_1/.repo/repo/subcmds/sync.py", line 481, in _CheckoutOne
    project.Sync_LocalHalf(syncbuf, force_sync=opt.force_sync)
  File "/srv/src/LINEAGE_17_1/.repo/repo/project.py", line 1623, in Sync_LocalHalf
    self._InitWorkTree(force_sync=force_sync, submodules=submodules)
  File "/srv/src/LINEAGE_17_1/.repo/repo/project.py", line 3135, in _InitWorkTree
    raise GitError('Cannot initialize work tree for ' + self.name)
error.GitError: Cannot initialize work tree for LineageOS/android_build_blueprint

Prior to clearing the ccache and source, I was getting conflicting commits and build errors so I thought this would be the best route.

build_sargo.sh logs end at "repo: warning: Python 2 is no longer supported; Please upgrade to Python 3.6+."

I've followed the guide step-by step, on a Mac.

This is where I'm stuck now:

repo has been initialized in /srv/src/LINEAGE_17_1
>> [Sat Sep 19 10:46:03 UTC 2020] Syncing branch repository
repo: warning: Python 2 is no longer supported; Please upgrade to Python 3.6+.
repo: warning: Python 2 is no longer supported; Please upgrade to Python 3.6+.

I have little exprience with Docker (or building my own Lineage), so I don't know if it is my machine, if the Docker container needs to change or even which step in the process this output comes from. It might have to do with Python 2.7 being the standard version on Macs still, but aliasing Python 3 up-to-date install to the python (apparently the "recommended" way), doesn't change anything. No clue if I have to troubleshoot this inside or outside Docker actually, and where to start, tbh.

Any insights appreciated.

error: real file depends on PHONY target "-unsharp"

I've tried building for sargo a couple of times using the "hard way" and I always hit:

device/google/bonito/sargo/AndroidBoard.mk:56: error: real file "out/target/product/sargo/obj/KERNEL_OBJ/usr" depends on PHONY target "-unsharp"

I'm having trouble even finding where that dependency might be introduced, any suggestions?

Build error

i got this very strange build error every time when i try to build again.

`>> [Mon Jun 1 14:17:42 UTC 2020] Starting build for sargo, lineage-17.1 branch
14:17:42 Build sandboxing disabled due to nsjail error.
Looking for dependencies in device/google/sargo
Looking for dependencies in device/google/bonito
Looking for dependencies in kernel/google/msm-4.9
kernel/google/msm-4.9 has no additional dependencies.
14:17:43 Build sandboxing disabled due to nsjail error.

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.1-20200601-UNOFFICIAL-sargo
TARGET_PRODUCT=lineage_sargo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.3.0-53-generic-x86_64-Debian-GNU/Linux-9-(stretch)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ2A.200501.001.B2
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/google/bonito hardware/google/av hardware/google/interfaces hardware/google/pixel hardware/qcom/sdm845 vendor/google/camera vendor/qcom/sdm845 vendor/google/interfaces vendor/google/sargo vendor/google/bonito
WITH_SU=false

14:17:43 Build sandboxing disabled due to nsjail error.

PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.1-20200601-UNOFFICIAL-sargo
TARGET_PRODUCT=lineage_sargo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.3.0-53-generic-x86_64-Debian-GNU/Linux-9-(stretch)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ2A.200501.001.B2
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/google/bonito hardware/google/av hardware/google/interfaces hardware/google/pixel hardware/qcom/sdm845 vendor/google/camera vendor/qcom/sdm845 vendor/google/interfaces vendor/google/sargo vendor/google/bonito
WITH_SU=false

[100% 1/1] out/soong/.minibootstrap/minibp out/soong/.bootstrap/build.ninja
FAILED: out/soong/.bootstrap/build.ninja
out/soong/.minibootstrap/minibp -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/.bootstrap/build.ninja.d -globFile out/soong/.minibootstrap/build-globs.ninja -o out/soong/.bootstrap/build.ninja Android.bp
error removing abandoned files: log entry has too few fields: "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
ninja: build stopped: subcommand failed.
14:17:44 soong minibootstrap failed with: exit status 1

failed to build some targets (1 seconds)

[Mon Jun 1 14:17:44 UTC 2020] Failed build for sargo
[Mon Jun 1 14:17:44 UTC 2020] Finishing build for sargo
[Mon Jun 1 14:20:14 UTC 2020] Starting build for sargo, lineage-17.1 branch
14:20:14 Build sandboxing disabled due to nsjail error.
Looking for dependencies in device/google/sargo
Looking for dependencies in device/google/bonito
Looking for dependencies in kernel/google/msm-4.9
kernel/google/msm-4.9 has no additional dependencies.
14:20:15 Build sandboxing disabled due to nsjail error.

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.1-20200601-UNOFFICIAL-sargo
TARGET_PRODUCT=lineage_sargo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.3.0-53-generic-x86_64-Debian-GNU/Linux-9-(stretch)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ2A.200501.001.B2
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/google/bonito hardware/google/av hardware/google/interfaces hardware/google/pixel hardware/qcom/sdm845 vendor/google/camera vendor/qcom/sdm845 vendor/google/interfaces vendor/google/sargo vendor/google/bonito
WITH_SU=false

14:20:16 Build sandboxing disabled due to nsjail error.

PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=10
LINEAGE_VERSION=17.1-20200601-UNOFFICIAL-sargo
TARGET_PRODUCT=lineage_sargo
TARGET_BUILD_VARIANT=userdebug
TARGET_BUILD_TYPE=release
TARGET_ARCH=arm64
TARGET_ARCH_VARIANT=armv8-a
TARGET_CPU_VARIANT=generic
TARGET_2ND_ARCH=arm
TARGET_2ND_ARCH_VARIANT=armv8-a
TARGET_2ND_CPU_VARIANT=generic
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-5.3.0-53-generic-x86_64-Debian-GNU/Linux-9-(stretch)
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=QQ2A.200501.001.B2
OUT_DIR=out
PRODUCT_SOONG_NAMESPACES=device/google/bonito hardware/google/av hardware/google/interfaces hardware/google/pixel hardware/qcom/sdm845 vendor/google/camera vendor/qcom/sdm845 vendor/google/interfaces vendor/google/sargo vendor/google/bonito
WITH_SU=false

[100% 1/1] out/soong/.minibootstrap/minibp out/soong/.bootstrap/build.ninja
FAILED: out/soong/.bootstrap/build.ninja
out/soong/.minibootstrap/minibp -t -l out/.module_paths/Android.bp.list -b out/soong -n out -d out/soong/.bootstrap/build.ninja.d -globFile out/soong/.minibootstrap/build-globs.ninja -o out/soong/.bootstrap/build.ninja Android.bp
error removing abandoned files: log entry has too few fields: "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00"
ninja: build stopped: subcommand failed.
14:20:17 soong minibootstrap failed with: exit status 1

failed to build some targets (2 seconds)

[Mon Jun 1 14:20:17 UTC 2020] Failed build for sargo
[Mon Jun 1 14:20:17 UTC 2020] Finishing build for sargo`

before.sh - HBM and bluetooth patches merged

Some of the cherry-picks in before.sh appear to have been merged. Hooray? I am not sure whether the failed merges are harmless, but less noise in a build is always nice, right?

The HBM patch cherrypick fails, merged on May 14 (hooray!) Can probably be removed? see commit e3b20082e9d797bcff286311637669377f16e55a

The bonito RRO bluetooth patch was also merged: commit 28ba61337f05866d52f84167fcb50156477994a1

The CONFIG_HZ patch... cherrypicks but does not appear in the commit history. git is such a labyrinth of features I'm pretty sure I just don't understand how to use it. But at least that still appears to merge without problems, so is probably still required.

cannot build the easy way

I followed the steps and at this point i got an error:
docker build --tag solidhal/docker-lineage-cicd .
Cloning into 'OpenDelta'... fatal: could not read Username for 'https://github.com': No such device or address.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.