How to compile AOSP with qcom proprietary code
Posted: Sat, 2021-08-28 10:13
Sorry for such simple question but I am stuck for days. I want to build AOSP with qcom proprietary code but fail. Here is what I do:
1. download qcom proprietary code from https://chipcode.qti.qualcomm.com, what I download is MSM8996.LA.2.0.1 distribution Post-CS 0.1.194.1
2. unzip the file, then run sync.sh from LINUX/android folder
3. after AOSP code is downloaded, I run ./build.sh msm8996
4. build fails after 1 minute with following error:
cp: cannot stat 'vendor/qcom/proprietary/qrdplus/Global/Regional/VietnamOpenMarket/system/audio/ringtones/*.mp3': No such file or directory
cp: cannot stat 'vendor/qcom/proprietary/qrdplus/Global/Regional/VietnamOpenMarket/system/audio/ui/*.ogg': No such file or directory
cp: cannot stat 'vendor/qcom/proprietary/qrdplus/Global/Regional/VietnamOpenMarket/system/boot/*.wav': No such file or directory
including ./vendor/qcom/proprietary/qrdplus/globalization/engine/Android.mk ...
including ./vendor/qcom/proprietary/qrdplus/globalization/vendor-IME/Android.mk ...
including ./vendor/qcom/proprietary/qrdplus/prebuilt/Android.mk ...
build/core/base_rules.mk:183: *** vendor/qcom/proprietary/qrdplus/prebuilt/target/product/msm8996: MODULE.TARGET.DATA.evt-sniff.cfg already defined by vendor/qcom/proprietary/prebuilt_HY11/target/product/msm8996.
make: *** [build/core/ninja.mk:164: out/build-msm8996.ninja] Error 1
Are my steps wrong? If so what is the right procedure to build android with proprietary code?
Thanks for any help!