Starting a new thread to make things more clear to all. We need help. Please, review this thread from page 4:
I'm working in a port of LineageOS 16 to mi a2 lite (daisy).
Thanks to @LazyT @hossman and @davze for their help.
At the moment we have a device tree and blobs. Uploaded to github.
Not flashed and tested by me yet.
https://github.com/robotusr/device_xiaomi_daisy (100% uploaded)
https://github.com/robotusr/device_x...msm8953-common (100% uploaded)
https://github.com/robotusr/propriet...r_xiaomi_daisy (100% uploaded)
https://github.com/robotusr/propriet...msm8953-common (100% uploaded)
<?xml version="1.0" encoding="UTF-8"?> <manifest> <project name="robotusr/device_xiaomi_daisy" path="device/xiaomi/daisy" remote="github" /> <project name="robotusr/device_xiaomi_msm8953-common" path="device/xiaomi/msm8953-common" remote="github" /> <project name="robotusr/proprietary_vendor_xiaomi" path="vendor/xiaomi/daisy" remote="github" /> <project name="robotusr/proprietary_vendor_xiaomi_msm8953-common" path="vendor/xiaomi/msm8953-common" remote="github" /> </manifest>
-Init LineageOS repo with repo init -u https://github.com/LineageOS/android.git -b lineage-16.0
-Create roomservice file at local_manifests/roomservice.xml
-repo sync (this downloads all daisy device and proprietary files (also for msmscommon))
-Run . build/envsetup.sh
-Because we are bulding an unsupported device with Android 8.1 sources (at the moment), and there are some errors about LOCAL_SDK_VERSION (seems to be mandatory in Android 9) and some dependencies.
Edit file build/make/core/sdk_check.mk (make a backup first to use the original file in future builds).
Modify line whitelisted_modules :=
whitelisted_modules := framework-res__auto_generated_rro SystemUI__auto_generated_rro Bluetooth__auto_generated_rro Settings__auto_generated_rro
Please, tell me if it builds ok for you.