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 | |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 16 | PRODUCT_COPY_FILES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 17 | $(LOCAL_PATH)/dt.img:dt.img |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 18 | |
| 19 | #Android EGL implementation |
| 20 | PRODUCT_PACKAGES += libGLES_android |
| 21 | |
| 22 | PRODUCT_PACKAGES += libtime_genoff |
| 23 | |
| 24 | # ANT+ |
| 25 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 26 | AntHalService \ |
| 27 | antradio_app \ |
| 28 | com.dsi.ant.antradio_library \ |
| 29 | libantradio |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 30 | |
Zvikomborero VIncent Zvikaramba | b05eac1 | 2016-07-21 22:26:10 -0400 | [diff] [blame] | 31 | #NFC |
| 32 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 33 | Tag \ |
| 34 | com.android.nfc_extras \ |
| 35 | com.android.nfc.helper \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 36 | NfcNci |
Zvikomborero VIncent Zvikaramba | b05eac1 | 2016-07-21 22:26:10 -0400 | [diff] [blame] | 37 | |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 38 | # Audio |
| 39 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 40 | audio.a2dp.default \ |
| 41 | audio.primary.msm8916 \ |
| 42 | audio.primary.default \ |
| 43 | audio_policy.msm8916 \ |
| 44 | audio.r_submix.default \ |
| 45 | audio.usb.default \ |
| 46 | audiod \ |
| 47 | libaudio-resampler \ |
| 48 | libqcompostprocbundle \ |
| 49 | libqcomvisualizer \ |
| 50 | libqcomvoiceprocessing \ |
| 51 | tinymix \ |
| 52 | tinyplay \ |
| 53 | tinycap \ |
Zvikomborero VIncent Zvikaramba | 527fc1e | 2016-08-18 19:34:51 -0400 | [diff] [blame] | 54 | tinypcminfo |
| 55 | |
Zvikomborero Vincent Zvikaramba | fbb96d8 | 2016-07-28 22:32:34 -0400 | [diff] [blame] | 56 | #VoLTE calling support |
| 57 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 58 | com.android.ims \ |
| 59 | com.android.ims.internal \ |
| 60 | ims-common \ |
| 61 | voip-common |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 62 | |
Zvikomborero VIncent Zvikaramba | 6a393df | 2016-08-02 01:18:34 -0400 | [diff] [blame] | 63 | # Configuration |
| 64 | PRODUCT_COPY_FILES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 65 | $(LOCAL_PATH)/configs/Diag.cfg:system/etc/Diag.cfg \ |
| 66 | $(LOCAL_PATH)/configs/Diag_audio.cfg:system/etc/Diag_audio.cfg \ |
| 67 | $(LOCAL_PATH)/configs/Diag_volte.cfg:system/etc/Diag_volte.cfg \ |
| 68 | $(LOCAL_PATH)/configs/Diag_zero.cfg:system/etc/Diag_zero.cfg |
| 69 | |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 70 | # Audio configuration |
| 71 | PRODUCT_COPY_FILES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 72 | $(LOCAL_PATH)/audio/Bluetooth_cal.acdb:system/etc/Bluetooth_cal.acdb \ |
| 73 | $(LOCAL_PATH)/audio/General_cal.acdb:system/etc/General_cal.acdb \ |
| 74 | $(LOCAL_PATH)/audio/Global_cal.acdb:system/etc/Global_cal.acdb \ |
| 75 | $(LOCAL_PATH)/audio/Handset_cal.acdb:system/etc/Handset_cal.acdb \ |
| 76 | $(LOCAL_PATH)/audio/Hdmi_cal.acdb:system/etc/Hdmi_cal.acdb \ |
| 77 | $(LOCAL_PATH)/audio/Headset_cal.acdb:system/etc/Headset_cal.acdb \ |
| 78 | $(LOCAL_PATH)/audio/Speaker_cal.acdb:system/etc/Speaker_cal.acdb \ |
| 79 | $(LOCAL_PATH)/audio/audio_effects.conf:system/vendor/etc/audio_effects.conf \ |
| 80 | $(LOCAL_PATH)/audio/audio_policy.conf:system/etc/audio_policy.conf \ |
| 81 | $(LOCAL_PATH)/audio/mixer_paths.xml:system/etc/mixer_paths.xml |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 82 | |
| 83 | # Boot jars |
Zvikomborero VIncent Zvikaramba | 527fc1e | 2016-08-18 19:34:51 -0400 | [diff] [blame] | 84 | PRODUCT_BOOT_JARS += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 85 | tcmiface \ |
| 86 | qcom.fmradio \ |
| 87 | qcmediaplayer |
| 88 | # oem-services \ |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 89 | |
| 90 | # Connectivity Engine support |
| 91 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 92 | libcnefeatureconfig |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 93 | |
Zvikomborero VIncent Zvikaramba | 96cc2a4 | 2016-08-19 03:15:25 -0400 | [diff] [blame] | 94 | #Location, WiDi |
| 95 | PRODUCT_PACKAGES += \ |
| 96 | com.android.location.provider \ |
| 97 | com.android.location.provider.xml \ |
| 98 | com.android.media.remotedisplay \ |
| 99 | com.android.media.remotedisplay.xml |
| 100 | |
Zvikomborero VIncent Zvikaramba | ebdf85d | 2016-07-25 03:16:14 -0400 | [diff] [blame] | 101 | #Camera |
| 102 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 527fc1e | 2016-08-18 19:34:51 -0400 | [diff] [blame] | 103 | libmm-qcamera \ |
Zvikomborero VIncent Zvikaramba | ebdf85d | 2016-07-25 03:16:14 -0400 | [diff] [blame] | 104 | camera.msm8916 |
Zvikomborero VIncent Zvikaramba | eadeb14 | 2016-07-25 20:00:40 -0400 | [diff] [blame] | 105 | |
Zvikomborero VIncent Zvikaramba | 25bda1b | 2016-08-18 22:12:55 -0400 | [diff] [blame] | 106 | # Doze |
| 107 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 108 | SamsungDoze |
Zvikomborero VIncent Zvikaramba | 25bda1b | 2016-08-18 22:12:55 -0400 | [diff] [blame] | 109 | |
| 110 | # Touch issue workaround |
| 111 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 112 | InputDisabler |
Zvikomborero VIncent Zvikaramba | eadeb14 | 2016-07-25 20:00:40 -0400 | [diff] [blame] | 113 | |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 114 | # Display |
| 115 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 116 | copybit.msm8916 \ |
| 117 | gralloc.msm8916 \ |
| 118 | hwcomposer.msm8916 \ |
| 119 | libtinyxml \ |
| 120 | memtrack.msm8916 |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 121 | |
| 122 | # Ebtables |
| 123 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 124 | ebtables \ |
| 125 | ethertypes \ |
| 126 | libebtc |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 127 | |
| 128 | # FM |
| 129 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 130 | FM2 \ |
| 131 | FMRecord \ |
| 132 | libqcomfm_jni \ |
| 133 | qcom.fmradio |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 134 | |
| 135 | # INIT |
| 136 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 137 | fstab.qcom \ |
| 138 | init.carrier.rc \ |
| 139 | init.class_main.sh \ |
| 140 | init.mdm.sh \ |
| 141 | init.qcom.audio.sh \ |
| 142 | init.qcom.bms.sh \ |
| 143 | init.qcom.bt.sh \ |
| 144 | init.qcom.uicc.sh \ |
| 145 | init.qcom.wifi.sh \ |
| 146 | init.qcom.post_boot.sh \ |
| 147 | init.qcom.class_core.sh \ |
| 148 | init.qcom.early_boot.sh \ |
| 149 | init.qcom.factory.sh \ |
| 150 | init.qcom.syspart_fixup.sh \ |
| 151 | init.qcom.usb.rc \ |
| 152 | init.qcom.usb.sh \ |
| 153 | init.qcom.rc \ |
| 154 | init.qcom.fm.sh \ |
| 155 | init.qcom.sh \ |
| 156 | init.target.rc \ |
| 157 | ueventd.qcom.rc \ |
| 158 | init.qcom.zram.sh \ |
| 159 | init.rilchip.rc \ |
| 160 | init.rilcommon.rc \ |
| 161 | twrp.fstab |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 162 | |
| 163 | # Keylayout |
| 164 | PRODUCT_COPY_FILES += \ |
Zvikomborero VIncent Zvikaramba | dd71aff | 2016-07-29 01:58:21 -0400 | [diff] [blame] | 165 | $(LOCAL_PATH)/keylayout/Synaptics_RMI4_TouchPad_Sensor.idc:system/usr/idc/Synaptics_RMI4_TouchPad_Sensor.idc \ |
| 166 | $(LOCAL_PATH)/keylayout/Synaptics_HID_TouchPad.idc:system/usr/idc/Synaptics_HID_TouchPad.idc \ |
| 167 | $(LOCAL_PATH)/keylayout/ft5x06_ts.kl:system/usr/keylayout/ft5x06_ts.kl \ |
| 168 | $(LOCAL_PATH)/keylayout/synaptics_dsx.kl:system/usr/keylayout/synaptics_dsx.kl \ |
| 169 | $(LOCAL_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \ |
| 170 | $(LOCAL_PATH)/keylayout/Generic.kl:system/usr/keylayout/Generic.kl \ |
| 171 | $(LOCAL_PATH)/keylayout/synaptics_rmi4_i2c.kl:system/usr/keylayout/synaptics_rmi4_i2c.kl |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 172 | |
| 173 | # Keystore |
| 174 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 175 | keystore.msm8916 |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 176 | |
| 177 | # libhealthd.qcom |
| 178 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2a847cc | 2016-08-13 23:54:36 -0400 | [diff] [blame] | 179 | libhealthd.qcom \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 180 | libhealthd |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 181 | |
| 182 | # Lights |
| 183 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 184 | lights.msm8916 |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 185 | |
| 186 | # Live Wallpapers |
| 187 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 188 | librs_jni |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 189 | |
Zvikomborero VIncent Zvikaramba | dd71aff | 2016-07-29 01:58:21 -0400 | [diff] [blame] | 190 | # Default Property Overrides |
Zvikomborero VIncent Zvikaramba | 8a1a147 | 2016-07-25 00:45:07 -0400 | [diff] [blame] | 191 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
Zvikomborero VIncent Zvikaramba | eadeb14 | 2016-07-25 20:00:40 -0400 | [diff] [blame] | 192 | persist.sys.usb.config=mtp \ |
| 193 | telephony.lteOnCdmaDevice=0 \ |
| 194 | persist.eons.enabled=true \ |
| 195 | persist.radio.apm_sim_not_pwdn=1 \ |
Zvikomborero VIncent Zvikaramba | eadeb14 | 2016-07-25 20:00:40 -0400 | [diff] [blame] | 196 | rild.libpath=/system/lib/libsec-ril.so \ |
| 197 | persist.cne.feature=0 \ |
| 198 | persist.radio.lte_vrte_ltd=1 \ |
| 199 | persist.radio.add_power_save=1 \ |
Zvikomborero VIncent Zvikaramba | dd71aff | 2016-07-29 01:58:21 -0400 | [diff] [blame] | 200 | camera2.portability.force_api=1 \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 201 | ro.secure=0 \ |
| 202 | ro.adb.secure=0 \ |
| 203 | ro.debuggable=1 \ |
| 204 | persist.service.adb.enable=1 |
Zvikomborero VIncent Zvikaramba | 8a1a147 | 2016-07-25 00:45:07 -0400 | [diff] [blame] | 205 | |
Zvikomborero VIncent Zvikaramba | 35c0334 | 2016-07-24 20:35:44 -0400 | [diff] [blame] | 206 | # GPS |
Zvikomborero VIncent Zvikaramba | ea46927 | 2016-07-26 05:26:49 -0400 | [diff] [blame] | 207 | #PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 208 | # gps.default \ |
| 209 | # libloc_core \ |
| 210 | # libgps.utils \ |
| 211 | # libloc_eng \ |
| 212 | # libloc_api_v02 |
Zvikomborero VIncent Zvikaramba | 1ceb0d2 | 2016-07-22 13:01:44 -0400 | [diff] [blame] | 213 | |
| 214 | #Sensors |
| 215 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 216 | sensors.default |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 217 | |
Zvikomborero VIncent Zvikaramba | dd71aff | 2016-07-29 01:58:21 -0400 | [diff] [blame] | 218 | #GPS Configurations |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 219 | PRODUCT_COPY_FILES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 220 | $(LOCAL_PATH)/gps/flp.conf:system/etc/flp.conf \ |
| 221 | $(LOCAL_PATH)/gps/gps.conf:system/etc/gps.conf \ |
| 222 | $(LOCAL_PATH)/gps/izat.conf:system/etc/izat.conf \ |
| 223 | $(LOCAL_PATH)/gps/sap.conf:system/etc/sap.conf |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 224 | |
| 225 | # macloader |
| 226 | PRODUCT_PACKAGES += macloader |
| 227 | |
Zvikomborero VIncent Zvikaramba | dd71aff | 2016-07-29 01:58:21 -0400 | [diff] [blame] | 228 | # Media configurations |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 229 | PRODUCT_COPY_FILES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 230 | frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \ |
| 231 | frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml \ |
| 232 | frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \ |
| 233 | $(LOCAL_PATH)/media/media_codecs_8929.xml:system/etc/media_codecs_8929.xml \ |
| 234 | $(LOCAL_PATH)/media/media_codecs_8939.xml:system/etc/media_codecs_8939.xml \ |
| 235 | $(LOCAL_PATH)/media/media_codecs.xml:system/etc/media_codecs.xml \ |
| 236 | $(LOCAL_PATH)/media/media_profiles.xml:system/etc/media_profiles.xml |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 237 | |
| 238 | # MSM IRQ Balancer configuration file |
| 239 | PRODUCT_COPY_FILES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 240 | $(LOCAL_PATH)/configs/msm_irqbalance.conf:system/vendor/etc/msm_irqbalance.conf |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 241 | |
| 242 | # Misc |
| 243 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 9dd0546 | 2016-08-28 02:55:07 -0400 | [diff] [blame] | 244 | curl \ |
| 245 | libbson \ |
| 246 | libcurl \ |
| 247 | javax.btobex \ |
| 248 | tcpdump \ |
| 249 | libkeyutils \ |
| 250 | libjpega \ |
| 251 | libexifa \ |
| 252 | charon |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 253 | |
| 254 | # OMX |
| 255 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 256 | libdashplayer \ |
| 257 | libdivxdrmdecrypt \ |
| 258 | libmm-omxcore \ |
| 259 | libOmxAacEnc \ |
| 260 | libOmxAmrEnc \ |
| 261 | libOmxCore \ |
| 262 | libOmxEvrcEnc \ |
| 263 | libOmxQcelp13Enc \ |
| 264 | libOmxSwVencMpeg4 \ |
| 265 | libOmxVdec \ |
| 266 | libOmxVdecHevc \ |
| 267 | libOmxVenc \ |
| 268 | libOmxVidEnc \ |
| 269 | libOmxVdpp \ |
| 270 | libstagefrighthw \ |
| 271 | qcmediaplayer |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 272 | |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 273 | # Permissions |
| 274 | PRODUCT_COPY_FILES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 275 | frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \ |
| 276 | frameworks/native/data/etc/android.hardware.bluetooth.xml:system/etc/permissions/android.hardware.bluetooth.xml \ |
| 277 | frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \ |
| 278 | frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \ |
| 279 | frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ |
| 280 | frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \ |
| 281 | frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hce.xml \ |
| 282 | frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \ |
| 283 | frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:system/etc/permissions/android.hardware.sensor.accelerometer.xml \ |
| 284 | frameworks/native/data/etc/android.hardware.sensor.compass.xml:system/etc/permissions/android.hardware.sensor.compass.xml \ |
| 285 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
| 286 | frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ |
| 287 | frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \ |
| 288 | frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml \ |
| 289 | frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \ |
| 290 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ |
| 291 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \ |
| 292 | frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ |
| 293 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \ |
| 294 | frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ |
| 295 | frameworks/native/data/etc/android.software.print.xml:system/etc/permissions/android.software.print.xml \ |
| 296 | frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ |
| 297 | frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 298 | |
| 299 | # Power HAL |
| 300 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | ed99fbe | 2016-08-31 17:32:20 -0400 | [diff] [blame] | 301 | power.qcom |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 302 | |
| 303 | # Prebuilt |
| 304 | PRODUCT_COPY_FILES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 305 | $(LOCAL_PATH)/prebuilt/dsi_config.xml:system/etc/data/dsi_config.xml \ |
| 306 | $(LOCAL_PATH)/prebuilt/netmgr_config.xml:system/etc/data/netmgr_config.xml \ |
| 307 | $(LOCAL_PATH)/prebuilt/qmi_config.xml:system/etc/data/qmi_config.xml |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 308 | |
| 309 | # Properties |
| 310 | PRODUCT_PROPERTY_OVERRIDES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 311 | ro.use_data_netmgrd=false \ |
| 312 | dalvik.vm.heapgrowthlimit=128m \ |
| 313 | ro.security.icd.flagmode=single \ |
| 314 | ro.vendor.extension_library=libqti-perfd-client.so \ |
| 315 | persist.radio.apm_sim_not_pwdn=1 \ |
| 316 | persist.gps.qc_nlp_in_use=1 \ |
| 317 | persist.loc.nlp_name=com.qualcomm.location \ |
| 318 | ro.gps.agps_provider=1 \ |
| 319 | ro.pip.gated=0 \ |
| 320 | ro.product.model=SM-G530W \ |
| 321 | ro.product.device=gprimeltecan \ |
| 322 | cm.updater.uri=http://grandprime.ddns.net/api \ |
| 323 | ro.telephony.ril_class=SamsungQcomRIL |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 324 | |
| 325 | # Ril |
| 326 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 327 | libxml2 |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 328 | |
| 329 | # Screen density |
| 330 | PRODUCT_AAPT_CONFIG := normal hdpi xhdpi |
| 331 | PRODUCT_AAPT_PREF_CONFIG := xhdpi |
| 332 | |
| 333 | # security config |
| 334 | PRODUCT_COPY_FILES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 335 | $(LOCAL_PATH)/configs/sec_config:system/etc/sec_config |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 336 | |
| 337 | # Terminal |
| 338 | PRODUCT_PACKAGES += Terminal |
| 339 | |
| 340 | # USB |
| 341 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 342 | com.android.future.usb.accessory |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 343 | |
Zvikomborero VIncent Zvikaramba | dd71aff | 2016-07-29 01:58:21 -0400 | [diff] [blame] | 344 | # Wifi configuration files |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 345 | PRODUCT_COPY_FILES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 346 | $(LOCAL_PATH)/wifi/cred.conf:system/etc/wifi/cred.conf \ |
| 347 | $(LOCAL_PATH)/wifi/hostapd.accept:system/etc/hostapd/hostapd.accept \ |
| 348 | $(LOCAL_PATH)/wifi/hostapd_default.conf:system/etc/hostapd/hostapd_default.conf \ |
| 349 | $(LOCAL_PATH)/wifi/hostapd.deny:system/etc/hostapd/hostapd.deny \ |
| 350 | $(LOCAL_PATH)/wifi/wpa_supplicant.conf:system/etc/wifi/wpa_supplicant.conf \ |
| 351 | $(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf \ |
| 352 | $(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf \ |
| 353 | $(LOCAL_PATH)/wifi/WCNSS_cfg.dat:system/etc/firmware/wlan/prima/WCNSS_cfg.dat \ |
| 354 | $(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:system/etc/firmware/wlan/prima/WCNSS_qcom_cfg.ini \ |
| 355 | $(LOCAL_PATH)/wifi/WCNSS_qcom_wlan_nv.bin:system/etc/firmware/wlan/prima/WCNSS_qcom_wlan_nv.bin |
Zvikomborero VIncent Zvikaramba | 3c85828 | 2016-08-03 21:55:57 -0400 | [diff] [blame] | 356 | |
| 357 | #WLAN |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 358 | PRODUCT_PACKAGES += \ |
Zvikomborero VIncent Zvikaramba | 2bd6873 | 2016-08-30 05:55:49 -0400 | [diff] [blame] | 359 | hostapd \ |
| 360 | iwconfig \ |
| 361 | hostapd_cli \ |
| 362 | libQWiFiSoftApCfg \ |
| 363 | libqsap_sdk \ |
| 364 | libwpa_client \ |
| 365 | libwcnss_qmi \ |
| 366 | wcnss_service \ |
| 367 | wpa_supplicant |
Zvikomborero VIncent Zvikaramba | a25011a | 2016-07-21 16:32:35 -0400 | [diff] [blame] | 368 | |
| 369 | # Inhert dalvik heap values from aosp |
| 370 | $(call inherit-product, frameworks/native/build/phone-xhdpi-1024-dalvik-heap.mk) |