Can't get it
where should I place the pac_CODENAME.mk ?
Then the dependencies?
Suppose, I am building for c1905, then the dependencies must be in /device/sony/c1905/c1905.dependencies?
Then
Is this pac_c1905.mk okay?
Code:# Check for target product ifeq (pac_c1905,$(TARGET_PRODUCT)) # OVERLAY_TARGET adds overlay asset source OVERLAY_TARGET := pa_hdpi # PAC device overlay PRODUCT_PACKAGE_OVERLAYS += vendor/pac/overlay/pac/hdpi_480x854 # PAC boot logo PRODUCT_COPY_FILES += \ vendor/pac/prebuilt/common/bootlogo/pac_logo_480x854.rle:root/logo.rle # Copy bootanimation PRODUCT_COPY_FILES += \ vendor/pac/prebuilt/480x854/bootanimation.zip:system/media/bootanimation.zip # include PAC common configuration include vendor/pac/config/pac_common.mk # Inherit CM device configuration $(call inherit-product, device/sony/c1905/cm.mk) PRODUCT_NAME := pac_c1905 endif
Help Me out. I am trying to build for Xperia M.
Dependencies go in the dependencies folder, the pac_CODENAME.mk goes in the products folder. However, your device's codename is nicki i believe
Device tree: https://github.com/freexperia/android_device_sony_nicki
Kernel: https://github.com/freexperia/android_Kernel_sony_msm8x27
Vendor: Use the extractfiles.sh script to grab the files from your device
Last edited: