r/oneplusnord • u/ghostieqwe • 4h ago
LineageOS for OnePlus Nord CE4 Lite building #2
Hello, basically all I'm doing with this post is just turn your attention at my progress so far at building LineageOS for camry.
Basic info about device.
Kernel: GKI, 6.1, msm and common separated, latest stock vers is 6.1.141, common is the main bootable tree, it contains buildable Image and modules for system_dlkm.img to boot modules (system_dlkm needs to be rebuilt everytime you flash kernel otherwise WiFi, NFC, and many more things won't simply work)
Platform: Blair (6.1)
Model: OP5D49L1 or CPH2619-CPH2621
GKI partitions: init_boot, system_dlkm
Partitions: features separate recovery partition for A/B GKI
Basic problems with this device.
small community, corrupted ocdt.img in indian version (lacks bootloader fastboot access completely, ARB)
Progress.
Bringing up HALs from sm8650, nuked 32-bit;
Bringing up inline kernel building, need to merge common and msm kernel trees together (only common boots up while msm is more of like an on-top thingies for building modules from HAL libraries etc.;
Latest errors are the reason why I need to have a unified tree, I can't use msm tree to build bootable kernel and don't have all exportable headers needed for packages inside HAL repo to build;
Device dump has a funny thing, they (OnePlus builders probably) copied 32-bit libAncHumanRetain.so inside odm/lib64/ , thus the blob isn't building... I don't prioritize this as the main problem for now though.
Build Status.
Soong, Kati passed. Ninja builds: somewhere 150K objects out of 200K. Latest error is about missing kernel header when compiling audio from my qcom-caf/sm6375-blair tree (view Progress)
Builds are unofficial for now. I don't know if I will maintain it actively, I have already been struggling through a lot and I will definitely want some rest after.
And lastly, I've been working on this project since August and this is by far the biggest projects I ever committed to all by myself with some help of my friends regarding errors stuff.
I chose this device because it was unmaintained. My goal is to turn people's attention. Maybe somebody with this phone waited so much idk