Hi,
I'm working through building lollipop aosp for my nexus 5 and have come across a problem that i'm unable to find the reason for:
qcom binaries are missing:
/system/app/TimeService.apk
/system/app/shutdownlistener.apk
lge binaries are missing:
system/etc/DxHDCP.cfg
system/vendor/firmware/discretix/dxhdcp2.b00
system/vendor/firmware/discretix/dxhdcp2.b01
system/vendor/firmware/discretix/dxhdcp2.b02
system/vendor/firmware/discretix/dxhdcp2.b03
system/vendor/firmware/discretix/dxhdcp2.mdt
system/vendor/lib/libDxHdcp.so
system/vendor/lib/libvdmengine.so
system/vendor/lib/libvdmfumo.so
system/app/OmaDmclient.apk
First and most importantly: Why are these missing from the binaries?
Second:, i've mounted the system image for the prebuilt version of lollipop (lrx22c) for nexus5 and copied these files like so:
cp /mnt/<MOUNTED IMAGE>/app/TimeService/TimeService.apk vendor/qcom/hammerhead/proprietary/
cp /mnt/<MOUNTED IMAGE>/app/shutdownlistener/shutdownlistener.apk vendor/qcom/hammerhead/proprietary/
cp /mnt/<MOUNTED IMAGE>/app/OmaDmclient/OmaDmclient.apk vendor/lge/hammerhead/proprietary/
cp /mnt/<MOUNTED IMAGE>/etc/DxHDCP.cfg vendor/lge/hammerhead/proprietary/
cp /mnt/<MOUNTED IMAGE>/vendor/firmware/discretix/dxhdcp2.b00 vendor/lge/hammerhead/proprietary/
cp /mnt/<MOUNTED IMAGE>/vendor/firmware/discretix/dxhdcp2.b01 vendor/lge/hammerhead/proprietary/
cp /mnt/<MOUNTED IMAGE>/vendor/firmware/discretix/dxhdcp2.b02 vendor/lge/hammerhead/proprietary/
cp /mnt/<MOUNTED IMAGE>/vendor/firmware/discretix/dxhdcp2.b03 vendor/lge/hammerhead/proprietary/
cp /mnt/<MOUNTED IMAGE>/vendor/firmware/discretix/dxhdcp2.mdt vendor/lge/hammerhead/proprietary/
cp /mnt/<MOUNTED IMAGE>/vendor/lib/libDxHdcp.so vendor/lge/hammerhead/proprietary/
cp /mnt/<MOUNTED IMAGE>/vendor/lib/libvdmengine.so vendor/lge/hammerhead/proprietary/
cp /mnt/<MOUNTED IMAGE>/vendor/lib/libvdmfumo.so vendor/lge/hammerhead/proprietary/
for everything except apk files, so just lge files, i've added these lines to vendor/lge/hammerhead/
device-partial.mk:
vendor/lge/hammerhead/proprietary/DxHDCP.cfg:system/etc/DxHDCP.cfg:lge \
vendor/lge/hammerhead/proprietary/dxhdcp2.b00:system/vendor/firmware/discretix/dxhdcp2.b00:lge \
vendor/lge/hammerhead/proprietary/dxhdcp2.b01:system/vendor/firmware/discretix/dxhdcp2.b01:lge \
vendor/lge/hammerhead/proprietary/dxhdcp2.b02:system/vendor/firmware/discretix/dxhdcp2.b02:lge \
vendor/lge/hammerhead/proprietary/dxhdcp2.b03:system/vendor/firmware/discretix/dxhdcp2.b03:lge \
vendor/lge/hammerhead/proprietary/dxhdcp2.mdt:system/vendor/firmware/discretix/dxhdcp2.mdt:lge \
vendor/lge/hammerhead/proprietary/libDxHdcp.so:system/vendor/lib/libDxHdcp.so:lge \
vendor/lge/hammerhead/proprietary/libvdmengine.so:system/vendor/lib/libvdmengine.so:lge \
vendor/lge/hammerhead/proprietary/libvdmfumo.so:system/vendor/lib/libvdmfumo.so:lge \
So, what is the correct thing to do with the apk files in lollipops build setup?
In my ignorance, i tried putting them in
device-partial.mk, like the above and on what i thought was correct, on their own "BUILD_PREBUILT :=" variable, both causing error.
For both things, would it be possible to advise and quell my curiosity and stupidity please?
Could the most voted answer here be my solution?
http://stackoverflow.com/questions/10579827/add-apk-files-in-aospFor completeness, other than the android source website, i've been referencing:
http://nosemaj.org/howto-build-android-kitkat-nexus-5http://elvis.logdown.com/posts/162747/nexus-5-w-aospThanks,
Alan