This repository is for LineageOS 15.1 on Sony Xperia XZ1 Compact (lilac).
-
Make a workspace:
mkdir -p ~/lineageos/repo cd ~/lineageos/repo
-
Initialize the repo:
repo init -u git://github.com/LineageOS/android.git -b lineage-15.1
-
Create a local manifest:
vim .repo/local_manifests/roomservice.xml <?xml version="1.0" encoding="UTF-8"?> <manifest> <!-- SONY --> <project name="cryptomilk/android_kernel_sony_msm8998" path="kernel/sony/msm8998" remote="github" /> <project name="cryptomilk/android_device_sony_common-treble" path="device/sony/common-treble" remote="github" /> <project name="cryptomilk/android_device_sony_yoshino" path="device/sony/yoshino" remote="github" /> <project name="cryptomilk/android_device_sony_lilac" path="device/sony/lilac" remote="github" /> <!-- MicroG --> <project name="cryptomilk/android_vendor_microg" path="vendor/microg" remote="github" revision="master" /> <!-- Proprietary blobs --> <project name="Man-with-Arrow/proprietary_vendor_sony_lilac" path="vendor/sony/lilac" remote="github" /> </manifest>
-
Sync the repo:
repo sync
-
Extract the MicroG and F-Droid files
cd vendor/microg ./get_packages.sh
-
Setup the environment
source build/envsetup.sh lunch lineage_lilac-userdebug
-
Build LineageOS
make -j8 bacon