Copyright 2015 to Today - Felipe Leon Project 😎
Copyright 2015 to 2016 - The CyanogenMod Project
Copyright 2017 - 2018 - The LineageOS Project
This tree must works to build on LineageOS 17.1, but in case it doesn't the fixes are usually very simple if you can't fix it mention @fgl27 on one of the XDA threads links in device_motorola_quark/wiki
Pull the below repos creating a file "/home/user/source_folder/.repo/local_manifests/roomservice.xml" and pasting the bellow
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="lineage"
fetch="https://github.com/"
revision="refs/heads/lineage-17.1"
sync-c="true"
sync-j="4" />
<remote name="fgl27"
fetch="https://github.com/"
sync-c="true"
sync-j="4"
revision="refs/heads/R" />
<!-- Device/kernel/vendor-->
<project name="fgl27/device_motorola_quark" path="device/motorola/quark" remote="fgl27" />
<project name="fgl27/BHB27Kernel" path="kernel/motorola/apq8084" remote="fgl27"/>
<project name="fgl27/proprietary_vendor_motorola" path="vendor/motorola" remote="fgl27" />
<!-- Radio ralated lib-->
<project name="LineageOS/android_system_qcom" path="system/qcom" remote="lineage" />
<!-- timekeep service-->
<project name="LineageOS/android_hardware_sony_timekeep" path="hardware/sony/timekeep" remote="github" revision="lineage-17.1" />
</manifest>
From source main folder do
cd frameworks/base/
git fetch https://github.com/fgl27/android_frameworks_base lineage-18.1 && git cherry-pick 8c5ced0be02cd7d13f927e6310ec8db7e3a69bc2
cd -
cd hardware/qcom-caf/apq8084/media/
git fetch https://github.com/fgl27/android_hardware_qcom_media lineage-18.1-caf-apq8084 && git cherry-pick efd4fd850c712bc43b2462b2ad3d753a8e0af043^..cfe448c898ee4c0cf7c98b873e789c0fd58e6675
cd -
cd hardware/qcom-caf/apq8084/display/
git fetch https://github.com/fgl27/android_hardware_qcom_display lineage-18.1-caf-apq8084 && git cherry-pick 2488ddb917b4fd36e25ad0fcd2bfe554e0357d42
cd -
rm -rf hardware/qcom-caf/sm8250/
rm -rf vendor/qcom/opensource/power/
cd vendor/lineage/
git revert f88090b17af333120d3c7ac5eb7b2367e5c78531
cd -
Building after repo sync and fixing the source (fixing the source is always necessary to redo after a "repo sync"):
. build/envsetup.sh
make clean
lunch lineage_quark-userdebug
time mka bacon -j8 2>&1 | tee quark.txt
Were the first number after -j is the number of cores you wanna use for this task and 2>&1 | tee quark.txt will export the build "output" to a file quark.txt, read it in case the build fails searching for the reason of the fail.
This link (Build for shamu) may help to setup a build machine in case you don't know how to, be aware that shamu is a device that is not this use that page as a way to setup the built environment only.
The Motorola Moto Maxx (codenamed "quark") is a high-end smartphone from Motorola mobility.
It was announced on November 2014.
Basic | Spec Sheet |
---|---|
CPU | Quad-core 2.7 GHz Krait 450 |
Chipset | Qualcomm Snapdragon 805 |
GPU | Adreno 420 |
Memory | 3GB RAM |
Shipped Android Version | 4.4.4 |
Storage | 64 GB |
MicroSD | No |
Battery | Non-removable Li-Po 3900 mAh battery |
Display | 1440 x 2560 pixels, 5.2 inches (~565 ppi pixel density) |
Camera | 21 MP (5248 x 3936), auto focus, dual-LED flash |