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