Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 1 | LOCAL_PATH := device/samsung/gprimeltecan |
| 2 | $(call inherit-product-if-exists, vendor/samsung/gprimeltecan/gprimeltecan-vendor.mk) |
| 3 | $(call inherit-product, $(SRC_TARGET_DIR)/product/languages_full.mk) |
| 4 | |
| 5 | # Inherit from common |
| 6 | $(call inherit-product, device/samsung/qcom-common/qcom-common.mk) |
| 7 | |
| 8 | # Also get non-open-source specific aspects if available |
| 9 | $(call inherit-product-if-exists, vendor/samsung/gprimeltecan/gprimeltecan-common-vendor.mk) |
| 10 | |
Zvikomborero VIncent Zvikaramba | 02209a6 | 2016-07-22 01:42:40 -0400 | [diff] [blame] | 11 | include $(LOCAL_PATH)/keylayout/Layouts.mk |
| 12 | |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 13 | # Common overlay |
| 14 | DEVICE_PACKAGE_OVERLAYS += device/samsung/gprimeltecan/overlay |
| 15 | |
| 16 | ifeq ($(TARGET_PREBUILT_KERNEL),) |
| 17 | LOCAL_KERNEL := device/samsung/gprimeltecan/kernel |
| 18 | else |
| 19 | LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) |
| 20 | endif |
| 21 | |
| 22 | PRODUCT_COPY_FILES += \ |
| 23 | $(LOCAL_KERNEL):kernel |
| 24 | |
| 25 | #Android EGL implementation |
| 26 | PRODUCT_PACKAGES += libGLES_android |
| 27 | |
| 28 | PRODUCT_PACKAGES += libtime_genoff |
| 29 | |
| 30 | # ANT+ |
| 31 | PRODUCT_PACKAGES += \ |
| 32 | AntHalService \ |
| 33 | antradio_app \ |
| 34 | com.dsi.ant.antradio_library \ |
| 35 | libantradio |
| 36 | |
Zvikomborero VIncent Zvikaramba | b05eac1 | 2016-07-21 22:26:10 -0400 | [diff] [blame] | 37 | #NFC |
| 38 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | b05eac1 | 2016-07-21 22:26:10 -0400 | [diff] [blame] | 39 | Tag \ |
Zvikomborero VIncent Zvikaramba | eadeb14 | 2016-07-25 20:00:40 -0400 | [diff] [blame^] | 40 | NfcNci \ |
Zvikomborero VIncent Zvikaramba | 02e3333 | 2016-07-22 00:44:22 -0400 | [diff] [blame] | 41 | com.android.nfc_extras \ |
| 42 | com.android.nfc.helper |
Zvikomborero VIncent Zvikaramba | eadeb14 | 2016-07-25 20:00:40 -0400 | [diff] [blame^] | 43 | |
| 44 | # libnfc-nci \ |
| 45 | # libnfc_nci_jni \ |
| 46 | # nfc_nci.msm8916 \ |
Zvikomborero VIncent Zvikaramba | b05eac1 | 2016-07-21 22:26:10 -0400 | [diff] [blame] | 47 | |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 48 | # Audio |
| 49 | PRODUCT_PACKAGES += \ |
| 50 | audio.a2dp.default \ |
| 51 | audio.primary.msm8916 \ |
| 52 | audio.r_submix.default \ |
| 53 | audio.usb.default \ |
| 54 | audiod \ |
| 55 | libaudio-resampler \ |
| 56 | libqcompostprocbundle \ |
| 57 | libqcomvisualizer \ |
| 58 | libqcomvoiceprocessing \ |
| 59 | tinymix |
| 60 | |
| 61 | # Audio configuration |
| 62 | PRODUCT_COPY_FILES += \ |
| 63 | $(LOCAL_PATH)/audio/Bluetooth_cal.acdb:system/etc/Bluetooth_cal.acdb \ |
| 64 | $(LOCAL_PATH)/audio/General_cal.acdb:system/etc/General_cal.acdb \ |
| 65 | $(LOCAL_PATH)/audio/Global_cal.acdb:system/etc/Global_cal.acdb \ |
| 66 | $(LOCAL_PATH)/audio/Handset_cal.acdb:system/etc/Handset_cal.acdb \ |
| 67 | $(LOCAL_PATH)/audio/Hdmi_cal.acdb:system/etc/Hdmi_cal.acdb \ |
| 68 | $(LOCAL_PATH)/audio/Headset_cal.acdb:system/etc/Headset_cal.acdb \ |
| 69 | $(LOCAL_PATH)/audio/Speaker_cal.acdb:system/etc/Speaker_cal.acdb \ |
| 70 | $(LOCAL_PATH)/audio/audio_effects.conf:system/vendor/etc/audio_effects.conf \ |
| 71 | $(LOCAL_PATH)/audio/audio_policy.conf:system/etc/audio_policy.conf \ |
| 72 | $(LOCAL_PATH)/audio/mixer_paths.xml:system/etc/mixer_paths.xml |
| 73 | |
| 74 | # Boot jars |
| 75 | PRODUCT_BOOT_JARS += \ |
| 76 | qcom.fmradio \ |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 77 | tcmiface \ |
| 78 | qcmediaplayer |
Zvikomborero VIncent Zvikaramba | eadeb14 | 2016-07-25 20:00:40 -0400 | [diff] [blame^] | 79 | |
| 80 | # oem-services \ |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 81 | |
| 82 | # Connectivity Engine support |
| 83 | PRODUCT_PACKAGES += \ |
| 84 | libcnefeatureconfig |
| 85 | |
Zvikomborero VIncent Zvikaramba | ebdf85d | 2016-07-25 03:16:14 -0400 | [diff] [blame] | 86 | #Camera |
| 87 | PRODUCT_PACKAGES += \ |
| 88 | camera.msm8916 |
Zvikomborero VIncent Zvikaramba | eadeb14 | 2016-07-25 20:00:40 -0400 | [diff] [blame^] | 89 | |
| 90 | #SAMSUNG RIL |
| 91 | PRODUCT_PACKAGES += \ |
| 92 | libsecril-client |
| 93 | |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 94 | # Display |
| 95 | PRODUCT_PACKAGES += \ |
| 96 | copybit.msm8916 \ |
| 97 | gralloc.msm8916 \ |
| 98 | hwcomposer.msm8916 \ |
| 99 | libtinyxml \ |
| 100 | memtrack.msm8916 |
| 101 | |
| 102 | # Ebtables |
| 103 | PRODUCT_PACKAGES += \ |
| 104 | ebtables \ |
| 105 | ethertypes \ |
| 106 | libebtc |
| 107 | |
| 108 | # FM |
| 109 | PRODUCT_PACKAGES += \ |
| 110 | # FM2 \ |
| 111 | # FMRecord \ |
| 112 | libqcomfm_jni \ |
| 113 | qcom.fmradio |
| 114 | |
| 115 | # INIT |
| 116 | PRODUCT_PACKAGES += \ |
| 117 | fstab.qcom \ |
| 118 | init.carrier.rc \ |
| 119 | init.class_main.sh \ |
| 120 | init.mdm.sh \ |
| 121 | init.qcom.bms.sh \ |
| 122 | init.qcom.class_core.sh \ |
| 123 | init.qcom.early_boot.sh \ |
| 124 | init.qcom.factory.sh \ |
| 125 | init.qcom.syspart_fixup.sh \ |
| 126 | init.qcom.usb.rc \ |
| 127 | init.qcom.usb.sh \ |
| 128 | init.qcom.rc \ |
| 129 | init.qcom.sh \ |
| 130 | init.target.rc \ |
| 131 | ueventd.qcom.rc \ |
Zvikomborero VIncent Zvikaramba | 8a1a147 | 2016-07-25 00:45:07 -0400 | [diff] [blame] | 132 | init.qcom.zram.sh \ |
| 133 | init.rilchip.rc \ |
Zvikomborero VIncent Zvikaramba | eadeb14 | 2016-07-25 20:00:40 -0400 | [diff] [blame^] | 134 | init.qcom.rilswitch.sh \ |
Zvikomborero VIncent Zvikaramba | 8a1a147 | 2016-07-25 00:45:07 -0400 | [diff] [blame] | 135 | init.rilcommon.rc \ |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 136 | twrp.fstab |
| 137 | |
| 138 | # Keylayout |
| 139 | PRODUCT_COPY_FILES += \ |
| 140 | $(LOCAL_PATH)/keylayout/ft5x06_ts.kl:system/usr/keylayout/ft5x06_ts.kl \ |
| 141 | $(LOCAL_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \ |
| 142 | $(LOCAL_PATH)/keylayout/synaptics_dsx.kl:system/usr/keylayout/synaptics_dsx.kl \ |
| 143 | $(LOCAL_PATH)/keylayout/synaptics_rmi4_i2c.kl:system/usr/keylayout/synaptics_rmi4_i2c.kl |
| 144 | |
| 145 | # Keystore |
| 146 | PRODUCT_PACKAGES += \ |
| 147 | keystore.msm8916 |
| 148 | |
| 149 | # libhealthd.qcom |
| 150 | PRODUCT_PACKAGES += \ |
| 151 | libhealthd |
| 152 | |
| 153 | # Lights |
| 154 | PRODUCT_PACKAGES += \ |
| 155 | lights.msm8916 |
| 156 | |
| 157 | # Live Wallpapers |
| 158 | PRODUCT_PACKAGES += \ |
| 159 | librs_jni |
| 160 | |
Zvikomborero VIncent Zvikaramba | 8a1a147 | 2016-07-25 00:45:07 -0400 | [diff] [blame] | 161 | # USB |
| 162 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
Zvikomborero VIncent Zvikaramba | eadeb14 | 2016-07-25 20:00:40 -0400 | [diff] [blame^] | 163 | persist.sys.usb.config=mtp \ |
| 164 | telephony.lteOnCdmaDevice=0 \ |
| 165 | persist.eons.enabled=true \ |
| 166 | persist.radio.apm_sim_not_pwdn=1 \ |
| 167 | persist.radio.rilversion=8 \ |
| 168 | rild.libpath=/system/lib/libsec-ril.so \ |
| 169 | persist.cne.feature=0 \ |
| 170 | persist.radio.lte_vrte_ltd=1 \ |
| 171 | persist.radio.add_power_save=1 \ |
| 172 | camera2.portability.force_api=1 |
Zvikomborero VIncent Zvikaramba | 8a1a147 | 2016-07-25 00:45:07 -0400 | [diff] [blame] | 173 | |
Zvikomborero VIncent Zvikaramba | 35c0334 | 2016-07-24 20:35:44 -0400 | [diff] [blame] | 174 | # GPS |
| 175 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 35c0334 | 2016-07-24 20:35:44 -0400 | [diff] [blame] | 176 | gps.default \ |
| 177 | libloc_core \ |
| 178 | libgps.utils \ |
| 179 | libloc_eng \ |
| 180 | libloc_api_v02 |
Zvikomborero VIncent Zvikaramba | 1ceb0d2 | 2016-07-22 13:01:44 -0400 | [diff] [blame] | 181 | |
| 182 | #Sensors |
| 183 | PRODUCT_PACKAGES += \ |
| 184 | sensors.default |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 185 | |
| 186 | PRODUCT_COPY_FILES += \ |
| 187 | $(LOCAL_PATH)/gps/flp.conf:system/etc/flp.conf \ |
| 188 | $(LOCAL_PATH)/gps/gps.conf:system/etc/gps.conf \ |
| 189 | $(LOCAL_PATH)/gps/izat.conf:system/etc/izat.conf \ |
| 190 | $(LOCAL_PATH)/gps/sap.conf:system/etc/sap.conf |
| 191 | |
| 192 | # macloader |
| 193 | PRODUCT_PACKAGES += macloader |
| 194 | |
| 195 | # Media |
| 196 | PRODUCT_COPY_FILES += \ |
| 197 | frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \ |
| 198 | frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml \ |
| 199 | frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \ |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 200 | $(LOCAL_PATH)/media/media_codecs.xml:system/etc/media_codecs.xml \ |
| 201 | $(LOCAL_PATH)/media/media_profiles.xml:system/etc/media_profiles.xml |
| 202 | |
Zvikomborero VIncent Zvikaramba | eadeb14 | 2016-07-25 20:00:40 -0400 | [diff] [blame^] | 203 | # frameworks/av/media/libstagefright/data/media_codecs_ffmpeg.xml:system/etc/media_codecs_ffmpeg.xml \ |
| 204 | |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 205 | # MSM IRQ Balancer configuration file |
| 206 | PRODUCT_COPY_FILES += \ |
| 207 | $(LOCAL_PATH)/configs/msm_irqbalance.conf:system/vendor/etc/msm_irqbalance.conf |
| 208 | |
| 209 | # Misc |
| 210 | PRODUCT_PACKAGES += \ |
| 211 | curl \ |
| 212 | libbson \ |
| 213 | libcurl \ |
| 214 | tcpdump |
| 215 | |
| 216 | # OMX |
| 217 | PRODUCT_PACKAGES += \ |
| 218 | libdashplayer \ |
| 219 | libdivxdrmdecrypt \ |
| 220 | libmm-omxcore \ |
| 221 | libOmxAacEnc \ |
| 222 | libOmxAmrEnc \ |
| 223 | libOmxCore \ |
| 224 | libOmxEvrcEnc \ |
| 225 | libOmxQcelp13Enc \ |
| 226 | libOmxSwVencMpeg4 \ |
| 227 | libOmxVdec \ |
| 228 | libOmxVdecHevc \ |
| 229 | libOmxVenc \ |
| 230 | libOmxVidEnc \ |
| 231 | libOmxVdpp \ |
| 232 | libstagefrighthw \ |
| 233 | qcmediaplayer |
| 234 | |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 235 | # Permissions |
| 236 | PRODUCT_COPY_FILES += \ |
| 237 | frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \ |
| 238 | frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \ |
| 239 | frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \ |
| 240 | frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \ |
| 241 | frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ |
| 242 | frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \ |
| 243 | frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hce.xml \ |
| 244 | frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \ |
| 245 | frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \ |
| 246 | frameworks/native/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \ |
| 247 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
| 248 | frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ |
| 249 | frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \ |
| 250 | frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml \ |
| 251 | frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \ |
| 252 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ |
| 253 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \ |
| 254 | frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ |
| 255 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \ |
| 256 | frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ |
| 257 | frameworks/native/data/etc/android.software.print.xml:system/etc/permissions/android.software.print.xml \ |
| 258 | frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ |
| 259 | frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml |
| 260 | |
| 261 | # Power HAL |
| 262 | PRODUCT_PACKAGES += \ |
| 263 | power.msm8916 |
| 264 | |
| 265 | # Prebuilt |
| 266 | PRODUCT_COPY_FILES += \ |
| 267 | $(LOCAL_PATH)/prebuilt/dsi_config.xml:system/etc/data/dsi_config.xml \ |
| 268 | $(LOCAL_PATH)/prebuilt/netmgr_config.xml:system/etc/data/netmgr_config.xml \ |
| 269 | $(LOCAL_PATH)/prebuilt/qmi_config.xml:system/etc/data/qmi_config.xml |
| 270 | |
| 271 | # Properties |
| 272 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 273 | ro.use_data_netmgrd=false \ |
| 274 | dalvik.vm.heapgrowthlimit=128m \ |
| 275 | ro.security.icd.flagmode=single \ |
| 276 | ro.vendor.extension_library=libqti-perfd-client.so \ |
| 277 | persist.radio.apm_sim_not_pwdn=1 \ |
| 278 | persist.gps.qc_nlp_in_use=1 \ |
| 279 | persist.loc.nlp_name=com.qualcomm.location \ |
| 280 | ro.gps.agps_provider=1 \ |
Zvikomborero VIncent Zvikaramba | 8a1a147 | 2016-07-25 00:45:07 -0400 | [diff] [blame] | 281 | ro.pip.gated=0 \ |
| 282 | ro.product.model=SM-G530W \ |
| 283 | ro.product.device=gprimeltecan |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 284 | |
| 285 | # Ril |
| 286 | PRODUCT_PACKAGES += \ |
| 287 | libxml2 |
| 288 | |
| 289 | # Screen density |
| 290 | PRODUCT_AAPT_CONFIG := normal hdpi xhdpi |
| 291 | PRODUCT_AAPT_PREF_CONFIG := xhdpi |
| 292 | |
| 293 | # security config |
| 294 | PRODUCT_COPY_FILES += \ |
| 295 | $(LOCAL_PATH)/configs/sec_config:system/etc/sec_config |
| 296 | |
| 297 | # Terminal |
| 298 | PRODUCT_PACKAGES += Terminal |
| 299 | |
| 300 | # USB |
| 301 | PRODUCT_PACKAGES += \ |
| 302 | com.android.future.usb.accessory |
| 303 | |
| 304 | # Wifi |
| 305 | PRODUCT_COPY_FILES += \ |
| 306 | $(LOCAL_PATH)/wifi/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \ |
| 307 | $(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf \ |
| 308 | $(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf \ |
| 309 | $(LOCAL_PATH)/wifi/WCNSS_cfg.dat:system/etc/firmware/wlan/prima/WCNSS_cfg.dat \ |
| 310 | $(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini \ |
| 311 | $(LOCAL_PATH)/wifi/WCNSS_qcom_wlan_nv.bin:system/etc/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin |
Zvikomborero VIncent Zvikaramba | 8a1a147 | 2016-07-25 00:45:07 -0400 | [diff] [blame] | 312 | |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 313 | PRODUCT_PACKAGES += \ |
| 314 | hostapd \ |
| 315 | hostapd_cli \ |
| 316 | libQWiFiSoftApCfg \ |
| 317 | libqsap_sdk \ |
| 318 | libwpa_client \ |
| 319 | wcnss_service \ |
| 320 | wpa_supplicant |
| 321 | |
| 322 | # Inhert dalvik heap values from aosp |
| 323 | $(call inherit-product, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk) |