erhan- / docker-lineageos-raphael Goto Github PK
View Code? Open in Web Editor NEWBuild LineageOS for raphael with Docker
Build LineageOS for raphael with Docker
Hey @erhan- thanks for sharing this. It seems like the EnglezosAOSP repos are gone. Do you know of any forks or other repos we could use instead?
hi while running
sudo ./build.sh
got below error
Set cache size limit to 60.0 GB
[Sat Sep 23 14:05:29 UTC 2023] Building branch lineage-20 is not (yet) suppported
my raphael.xml looks like this
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<!-- Device Specific Repos -->
<project path="device/xiaomi/raphael" name="penglezos/device_xiaomi_raphael" remote="github" revision="lineage-20" />
<project path="vendor/xiaomi/raphael" name="penglezos/vendor_xiaomi_raphael" remote="github" revision="lineage-20" />
<project path="kernel/xiaomi/raphael" name="penglezos/kernel_xiaomi_raphael" remote="github" revision="lineage-20" />
<project path="hardware/xiaomi" name="LineageOS/android_hardware_xiaomi" remote="github" revision="lineage-20" />
</manifest>
and i have modify build script
GNU nano 6.2 build.sh
#!/bin/bash
mkdir -p volume/lineage
mkdir -p volume/zips
mkdir -p volume/logs
mkdir -p volume/cache
mkdir -p volume/keys
mkdir -p volume/manifests
docker run \
-e "BRANCH_NAME=lineage-20" \
-e "DEVICE_LIST=raphael" \
-e "SIGN_BUILDS=true" \
-e "INCLUDE_PROPRIETARY=false" \
-e "CCACHE_SIZE=60G" \
-e "WITH_SU=true" \
-e "RELEASE_TYPE=UNOFFICIAL" \
-v "./volume/lineage:/srv/src" \
-v "./volume/zips:/srv/zips" \
-v "./volume/logs:/srv/logs" \
-v "./volume/cache:/srv/ccache" \
-v "./volume/keys:/srv/keys" \
-v "./volume/manifests:/srv/local_manifests" \
lineageos4microg/docker-lineage-cicd
changed branch name to
-e "BRANCH_NAME=lineage-20"
The output zip file can be used in TWRP without errors. Still it does not boot properly and directly goes to fastboot.
I installed docker on a new computer and wanted to try this image again. The following error occurs when you do repo sync
>> [Mon Mar 15 23:05:28 UTC 2021] Branch: lineage-18.1
>> [Mon Mar 15 23:05:28 UTC 2021] Devices: raphael,
>> [Mon Mar 15 23:05:28 UTC 2021] (Re)initializing branch repository
>> [Mon Mar 15 23:05:33 UTC 2021] Copying '/srv/local_manifests/*.xml' to '.repo/local_manifests/'
>> [Mon Mar 15 23:05:33 UTC 2021] Syncing branch repository
>> [Mon Mar 15 23:05:33 UTC 2021] Missing "vendor/lineage", aborting
manifests/snippets/lineage.xml
contains:
[...]
<project path="vendor/lineage" name="LineageOS/android_vendor_lineage" />
[...]
On my next try I got past that error but now it was telling me that the bluetooth repos from the local manifest exist already in lineage.xml. It was correct, so I removed them from our local_manifest.xml
Now it is compiling. Let's see how far we come now.
Edit: Seems to work:
#### build completed successfully (02:42:57 (hh:mm:ss)) ####
>> [Tue Mar 16 23:16:00 UTC 2021] Moving build artifacts for raphael to '/srv/zips/raphael'
>> [Tue Mar 16 23:16:02 UTC 2021] Finishing build for raphael
>> [Tue Mar 16 23:16:02 UTC 2021] Cleaning source dir for device raphael
23:16:24 Entire build directory removed.
#### build completed successfully (22 seconds) ###
I still have to make a proper backup of my phone and then I will try to install my version.
Edit: Fails to fastboot
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.