Hello everyone, I have been trying to build a rom for SM6150 Xiaomi Note 10 PRO (Tucana CC9 PRO).
Things I have done so far.
1. Download tucana android 10 source from Xiaomi MiCode github.
2. Using the LA.UM.8.9.r1-03800-sm6150.0 tag on codeaurora to download the release branch of LA.UM.8.9.r1-03800-sm6150.0.xml as the manifest. Downloaded 729 files.
3. going off of Mi Code github wiki section how to use. I follow it exactly.
In the guide above it says to remove all files from kernel folder and replace it with your devices kernel, job done. (backed up kernel files before deleting just incase) and it was good that I did, needed the config folder in the devices source kernel folder. the guide does not mention it.
So fixed all that and then copied the tucana_user_defconfig file from arch/arm64/config/vendor back one folder in config where the defconfig file is already at.
Went to SM6150 in devices, qcom and edited AndroidBoard.mk to replace the Defconfig with the tucana_user_defconfig.
commands as follows.
make bootimage -j4
It fails asking for SDCLAN_PATH, I checked all threads here and on xda. people say to move qcom LLVM compiler to SDCLANG in clang's directory.
problem is, the clang directory is numbered and I do not see the folder SDCLANG on LLVM 8.0.6 or any of the other LLVM compilers.
Where do i get SDCLANG and how come there is no actual guide on this subject apart from old ones.
Any help will be much appreciated.