Vineeta Srivastava | 3647fdf | 2014-04-30 10:40:02 -0700 | [diff] [blame] | 1 | # |
Vineeta Srivastava | 4248fd4 | 2014-05-02 16:20:41 -0700 | [diff] [blame] | 2 | # Copyright (C) 2014 The Android Open-Source Project |
Vineeta Srivastava | 3647fdf | 2014-04-30 10:40:02 -0700 | [diff] [blame] | 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | |
Vineeta Srivastava | 4248fd4 | 2014-05-02 16:20:41 -0700 | [diff] [blame] | 17 | # This file includes all definitions that apply to ALL shamu devices, and |
| 18 | # are also specific to shamu devices |
| 19 | # |
| 20 | # Everything in this directory will become public |
| 21 | |
Vineeta Srivastava | 3647fdf | 2014-04-30 10:40:02 -0700 | [diff] [blame] | 22 | |
Vineeta Srivastava | 7f786f6 | 2014-04-30 22:35:48 -0700 | [diff] [blame] | 23 | ifeq ($(TARGET_PREBUILT_KERNEL),) |
| 24 | LOCAL_KERNEL := device/moto/shamu-kernel/zImage-dtb |
| 25 | else |
| 26 | LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) |
| 27 | endif |
| 28 | |
| 29 | |
| 30 | PRODUCT_COPY_FILES := \ |
| 31 | $(LOCAL_KERNEL):kernel |
Vineeta Srivastava | 4248fd4 | 2014-05-02 16:20:41 -0700 | [diff] [blame] | 32 | |
| 33 | PRODUCT_COPY_FILES += \ |
| 34 | device/moto/shamu/init.shamu.rc:root/init.shamu.rc \ |
Chris Fries | 97337a2 | 2014-06-13 09:01:48 -0500 | [diff] [blame] | 35 | device/moto/shamu/init.shamu.power.rc:root/init.shamu.power.rc \ |
Vineeta Srivastava | 4248fd4 | 2014-05-02 16:20:41 -0700 | [diff] [blame] | 36 | device/moto/shamu/init.shamu.usb.rc:root/init.shamu.usb.rc \ |
| 37 | device/moto/shamu/fstab.shamu:root/fstab.shamu \ |
| 38 | device/moto/shamu/ueventd.shamu.rc:root/ueventd.shamu.rc |
| 39 | |
| 40 | # Input device files for shamu |
| 41 | PRODUCT_COPY_FILES += \ |
Michael Wright | e2985d9 | 2014-08-29 12:59:52 -0700 | [diff] [blame] | 42 | device/moto/shamu/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \ |
Michael Wright | 9eab05a | 2014-09-25 15:57:00 -0700 | [diff] [blame] | 43 | device/moto/shamu/apq8084-taiko-tfa9890_stereo_co_Button_Jack.kl:system/usr/keylayout/apq8084-taiko-tfa9890_stereo_co_Button_Jack.kl \ |
Michael Wright | 93e8797 | 2014-09-23 13:44:07 -0700 | [diff] [blame] | 44 | device/moto/shamu/atmel_mxt_ts.idc:system/usr/idc/atmel_mxt_ts.idc |
Vineeta Srivastava | 4248fd4 | 2014-05-02 16:20:41 -0700 | [diff] [blame] | 45 | |
Vineeta Srivastava | c666ece | 2014-05-07 15:47:27 -0700 | [diff] [blame] | 46 | PRODUCT_COPY_FILES += \ |
Vineeta Srivastava | 8cc76b4 | 2014-05-09 10:53:46 -0700 | [diff] [blame] | 47 | device/moto/shamu/audio_policy.conf:system/etc/audio_policy.conf \ |
| 48 | device/moto/shamu/audio_effects.conf:system/etc/audio_effects.conf |
| 49 | |
| 50 | PRODUCT_COPY_FILES += \ |
| 51 | device/moto/shamu/media_profiles.xml:system/etc/media_profiles.xml \ |
| 52 | device/moto/shamu/media_codecs.xml:system/etc/media_codecs.xml |
| 53 | |
| 54 | PRODUCT_COPY_FILES += \ |
Vineeta Srivastava | c666ece | 2014-05-07 15:47:27 -0700 | [diff] [blame] | 55 | device/moto/shamu/mixer_paths.xml:system/etc/mixer_paths.xml |
| 56 | |
Vineeta Srivastava | e040225 | 2014-05-19 12:35:33 -0700 | [diff] [blame] | 57 | PRODUCT_COPY_FILES += \ |
| 58 | frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \ |
| 59 | frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml \ |
| 60 | frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml |
| 61 | |
| 62 | # These are the hardware-specific features |
| 63 | PRODUCT_COPY_FILES += \ |
| 64 | frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \ |
| 65 | frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \ |
| 66 | frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ |
Zhijun He | c2f384a | 2014-11-18 15:03:57 -0800 | [diff] [blame] | 67 | frameworks/native/data/etc/android.hardware.camera.full.xml:system/etc/permissions/android.hardware.camera.full.xml \ |
| 68 | frameworks/native/data/etc/android.hardware.camera.raw.xml:system/etc/permissions/android.hardware.camera.raw.xml \ |
Vineeta Srivastava | e040225 | 2014-05-19 12:35:33 -0700 | [diff] [blame] | 69 | frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \ |
| 70 | frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ |
| 71 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \ |
| 72 | frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \ |
| 73 | frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ |
| 74 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
| 75 | frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \ |
| 76 | frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:system/etc/permissions/android.hardware.sensor.stepcounter.xml \ |
| 77 | frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:system/etc/permissions/android.hardware.sensor.stepdetector.xml \ |
| 78 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ |
Vineeta Srivastava | d09f9c6 | 2014-09-10 19:16:19 +0000 | [diff] [blame] | 79 | frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ |
Vineeta Srivastava | e040225 | 2014-05-19 12:35:33 -0700 | [diff] [blame] | 80 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \ |
| 81 | frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ |
| 82 | frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \ |
| 83 | frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \ |
| 84 | frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \ |
Robert Greenwalt | 1970f5a | 2014-09-26 17:48:32 -0700 | [diff] [blame] | 85 | frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml \ |
Jesse Hall | 23e8b7a | 2014-12-22 15:57:16 -0800 | [diff] [blame] | 86 | frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml \ |
| 87 | frameworks/native/data/etc/android.hardware.opengles.aep.xml:system/etc/permissions/android.hardware.opengles.aep.xml |
Vineeta Srivastava | e040225 | 2014-05-19 12:35:33 -0700 | [diff] [blame] | 88 | |
Mekala Natarajan | d0b2f41 | 2014-05-13 22:42:16 -0700 | [diff] [blame] | 89 | # For GPS |
| 90 | PRODUCT_COPY_FILES += \ |
| 91 | device/moto/shamu/sec_config:system/etc/sec_config |
| 92 | |
Chris Fries | 5e178bd | 2014-06-25 08:26:14 -0500 | [diff] [blame] | 93 | # Touch firmware updater |
| 94 | PRODUCT_COPY_FILES += \ |
Nick Kralevich | 6a84d92 | 2015-02-06 17:31:28 -0800 | [diff] [blame] | 95 | $(LOCAL_PATH)/init.mmi.touch.sh:system/bin/init.mmi.touch.sh |
Chris Fries | 5e178bd | 2014-06-25 08:26:14 -0500 | [diff] [blame] | 96 | |
Santhosh Gillella | 9d6dc7a | 2014-06-09 11:10:46 -0500 | [diff] [blame] | 97 | # Add WiFi Firmware |
| 98 | $(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4356/device-bcm.mk) |
| 99 | |
| 100 | # WiFi cal NVRAM file |
| 101 | PRODUCT_COPY_FILES += \ |
| 102 | device/moto/shamu/bcmdhd.cal:system/etc/wifi/bcmdhd.cal |
| 103 | |
Amit Mahajan | fee2679 | 2014-09-30 15:26:40 -0700 | [diff] [blame] | 104 | # For SPN display |
| 105 | PRODUCT_COPY_FILES += \ |
| 106 | device/moto/shamu/spn-conf.xml:system/etc/spn-conf.xml |
| 107 | |
Vineeta Srivastava | 82a1bb1 | 2014-09-24 10:52:50 -0700 | [diff] [blame] | 108 | # This device is 560dpi. However the platform doesn't |
| 109 | # currently contain all of the bitmaps at 560dpi density so |
| 110 | # we do this little trick to fall back to the xxhdpi version |
| 111 | # if the 560dpi doesn't exist. |
Ying Wang | c3dcdb2 | 2014-12-10 12:44:33 -0800 | [diff] [blame] | 112 | PRODUCT_AAPT_CONFIG := normal |
Vineeta Srivastava | 82a1bb1 | 2014-09-24 10:52:50 -0700 | [diff] [blame] | 113 | PRODUCT_AAPT_PREF_CONFIG := 560dpi |
Ying Wang | c3dcdb2 | 2014-12-10 12:44:33 -0800 | [diff] [blame] | 114 | # A list of dpis to select prebuilt apk, in precedence order. |
| 115 | PRODUCT_AAPT_PREBUILT_DPI := xxxhdpi xxhdpi xhdpi hdpi |
Vineeta Srivastava | 4248fd4 | 2014-05-02 16:20:41 -0700 | [diff] [blame] | 116 | |
| 117 | PRODUCT_CHARACTERISTICS := nosdcard |
| 118 | |
| 119 | DEVICE_PACKAGE_OVERLAYS := \ |
| 120 | device/moto/shamu/overlay |
| 121 | |
| 122 | PRODUCT_PACKAGES := \ |
| 123 | libwpa_client \ |
| 124 | hostapd \ |
Santhosh Gillella | 7784ce9 | 2014-06-10 00:06:48 -0500 | [diff] [blame] | 125 | dhcpcd.conf \ |
Vineeta Srivastava | 4248fd4 | 2014-05-02 16:20:41 -0700 | [diff] [blame] | 126 | wpa_supplicant \ |
| 127 | wpa_supplicant.conf |
| 128 | |
Chris Fries | 5e178bd | 2014-06-25 08:26:14 -0500 | [diff] [blame] | 129 | PRODUCT_PACKAGES += atmel.fw.apq8084 |
| 130 | |
Mayank Agarwal | b81df3f | 2014-08-06 19:54:46 -0700 | [diff] [blame] | 131 | # OEM Package for RIL |
| 132 | PRODUCT_PACKAGES += \ |
| 133 | qmi_motext_hook |
| 134 | |
Vineeta Srivastava | 4248fd4 | 2014-05-02 16:20:41 -0700 | [diff] [blame] | 135 | # Live Wallpapers |
| 136 | PRODUCT_PACKAGES += \ |
| 137 | LiveWallpapersPicker \ |
| 138 | librs_jni |
| 139 | |
| 140 | PRODUCT_PACKAGES += \ |
| 141 | gralloc.msm8084 \ |
Vineeta Srivastava | 4248fd4 | 2014-05-02 16:20:41 -0700 | [diff] [blame] | 142 | hwcomposer.msm8084 \ |
| 143 | memtrack.msm8084 \ |
| 144 | libqdutils \ |
| 145 | libqdMetaData |
| 146 | |
| 147 | PRODUCT_PACKAGES += \ |
| 148 | libc2dcolorconvert \ |
| 149 | libstagefrighthw \ |
| 150 | libOmxCore \ |
| 151 | libmm-omxcore \ |
| 152 | libOmxVdec \ |
| 153 | libOmxVdecHevc \ |
| 154 | libOmxVenc |
| 155 | |
| 156 | PRODUCT_PACKAGES += \ |
| 157 | audio.primary.msm8084 \ |
| 158 | audio.a2dp.default \ |
| 159 | audio.usb.default \ |
| 160 | audio.r_submix.default \ |
| 161 | libaudio-resampler |
| 162 | |
Jon Eklund | a0201d3 | 2014-09-10 13:38:40 -0500 | [diff] [blame] | 163 | PRODUCT_PROPERTY_OVERRIDES += \ |
Vineeta Srivastava | e7b4699 | 2014-10-11 21:59:31 +0000 | [diff] [blame] | 164 | ro.audio.monitorRotation=true |
Jon Eklund | a0201d3 | 2014-09-10 13:38:40 -0500 | [diff] [blame] | 165 | |
Vineeta Srivastava | 4248fd4 | 2014-05-02 16:20:41 -0700 | [diff] [blame] | 166 | # Audio effects |
| 167 | PRODUCT_PACKAGES += \ |
| 168 | libqcomvisualizer \ |
| 169 | libqcomvoiceprocessing \ |
| 170 | libqcomvoiceprocessingdescriptors |
| 171 | |
Vineeta Srivastava | 4248fd4 | 2014-05-02 16:20:41 -0700 | [diff] [blame] | 172 | PRODUCT_PACKAGES += \ |
| 173 | libqomx_core \ |
| 174 | libmmcamera_interface \ |
| 175 | libmmjpeg_interface \ |
Shuzhen Wang | 7ed009d | 2014-06-22 21:36:13 -0700 | [diff] [blame] | 176 | camera.msm8084 \ |
Vineeta Srivastava | 4248fd4 | 2014-05-02 16:20:41 -0700 | [diff] [blame] | 177 | mm-jpeg-interface-test \ |
| 178 | mm-qcamera-app |
| 179 | |
Vineeta Srivastava | d92456d | 2014-05-12 13:31:01 -0700 | [diff] [blame] | 180 | PRODUCT_PACKAGES += \ |
| 181 | libion |
| 182 | |
| 183 | PRODUCT_PACKAGES += \ |
| 184 | lights.shamu |
| 185 | |
Vineeta Srivastava | 4248fd4 | 2014-05-02 16:20:41 -0700 | [diff] [blame] | 186 | # Filesystem management tools |
| 187 | PRODUCT_PACKAGES += \ |
| 188 | e2fsck |
| 189 | |
| 190 | # for off charging mode |
| 191 | PRODUCT_PACKAGES += \ |
| 192 | charger_res_images |
| 193 | |
Adam Cohen | fd15934 | 2014-08-23 17:29:25 -0700 | [diff] [blame] | 194 | # for launcher layout |
| 195 | PRODUCT_PACKAGES += \ |
| 196 | ShamuLayout |
| 197 | |
Vineeta Srivastava | 4248fd4 | 2014-05-02 16:20:41 -0700 | [diff] [blame] | 198 | PRODUCT_PACKAGES += \ |
| 199 | bdAddrLoader |
| 200 | |
Naveen Ramaraj | c5c1493 | 2014-06-03 12:44:17 -0700 | [diff] [blame] | 201 | PRODUCT_PACKAGES += \ |
| 202 | keystore.msm8084 |
| 203 | |
Vineeta Srivastava | 4248fd4 | 2014-05-02 16:20:41 -0700 | [diff] [blame] | 204 | PRODUCT_PROPERTY_OVERRIDES += \ |
Iliyan Malchev | a4b7969 | 2014-12-02 14:27:37 -0800 | [diff] [blame] | 205 | ro.opengles.version=196609 |
Vineeta Srivastava | 4248fd4 | 2014-05-02 16:20:41 -0700 | [diff] [blame] | 206 | |
| 207 | PRODUCT_PROPERTY_OVERRIDES += \ |
Ramanan Rajeswaran | 6f4b461 | 2014-08-10 10:21:05 -0700 | [diff] [blame] | 208 | ro.sf.lcd_density=560 |
Vineeta Srivastava | 4248fd4 | 2014-05-02 16:20:41 -0700 | [diff] [blame] | 209 | |
| 210 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 211 | persist.hwc.mdpcomp.enable=true |
| 212 | |
Chris Fries | 2a6a217 | 2014-05-14 15:37:27 -0500 | [diff] [blame] | 213 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 214 | rild.libpath=/system/vendor/lib/libril-qc-qmi-1.so |
| 215 | |
Chris Fries | 7308898 | 2014-05-21 11:43:08 -0500 | [diff] [blame] | 216 | PRODUCT_PROPERTY_OVERRIDES += \ |
Jayachandran C | 52c598b | 2014-10-16 02:15:13 -0700 | [diff] [blame] | 217 | persist.radio.apm_sim_not_pwdn=1 \ |
| 218 | persist.radio.no_wait_for_card=1 |
Naveen Ramaraj | 7928d60 | 2014-07-16 11:40:42 -0700 | [diff] [blame] | 219 | |
Mekala Natarajan | f5f346d | 2014-12-11 11:34:31 -0800 | [diff] [blame] | 220 | #Reduce IMS logging |
| 221 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 222 | persist.ims.disableDebugLogs=1 |
| 223 | |
Mayank Agarwal | 1da96a3 | 2014-09-19 17:35:51 -0700 | [diff] [blame] | 224 | #Disable QC Oem Hook |
| 225 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 226 | persist.radio.oem_socket=false |
| 227 | |
| 228 | #Support for graceful UICC Vltg supply deact |
| 229 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 230 | persist.qcril_uim_vcc_feature=1 |
| 231 | |
Naveen Ramaraj | 7928d60 | 2014-07-16 11:40:42 -0700 | [diff] [blame] | 232 | PRODUCT_PROPERTY_OVERRIDES += \ |
Chris Fries | 7308898 | 2014-05-21 11:43:08 -0500 | [diff] [blame] | 233 | ro.telephony.default_cdma_sub=0 |
| 234 | |
Vineeta Srivastava | 3d5f9e4 | 2014-05-22 14:44:51 -0700 | [diff] [blame] | 235 | # LTE, CDMA, GSM/WCDMA |
| 236 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 237 | ro.telephony.default_network=10 \ |
| 238 | telephony.lteOnCdmaDevice=1 |
| 239 | |
Wenlong Che | 7269c2c | 2014-11-21 14:41:34 -0600 | [diff] [blame] | 240 | # SIM based FSG loading & MCFG activation |
Wenlong Che | 6000315 | 2014-07-21 11:07:05 -0500 | [diff] [blame] | 241 | PRODUCT_PROPERTY_OVERRIDES += \ |
Wenlong Che | 6000315 | 2014-07-21 11:07:05 -0500 | [diff] [blame] | 242 | persist.radio.fsg_reload_on=1 \ |
Wenlong Che | 7269c2c | 2014-11-21 14:41:34 -0600 | [diff] [blame] | 243 | persist.radio.mcfg_enabled=1 |
Wenlong Che | 6000315 | 2014-07-21 11:07:05 -0500 | [diff] [blame] | 244 | |
Shuzhen Wang | d3c0155 | 2014-06-28 10:33:05 -0700 | [diff] [blame] | 245 | # Camera configuration |
| 246 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
Vineeta Srivastava | 3eb2a32 | 2014-07-29 11:26:23 -0700 | [diff] [blame] | 247 | camera.disable_zsl_mode=0 |
Shuzhen Wang | d3c0155 | 2014-06-28 10:33:05 -0700 | [diff] [blame] | 248 | |
| 249 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 250 | persist.camera.HAL3.enabled=1 |
| 251 | |
Shuzhen Wang | a186314 | 2014-07-21 14:03:15 -0700 | [diff] [blame] | 252 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
Vineeta Srivastava | 93115c6 | 2014-08-13 16:45:41 -0700 | [diff] [blame] | 253 | persist.camera.ois.disable=0 |
Shuzhen Wang | a186314 | 2014-07-21 14:03:15 -0700 | [diff] [blame] | 254 | |
Mekala Natarajan | 51f7126 | 2014-05-29 14:30:47 -0700 | [diff] [blame] | 255 | # GPS configuration |
| 256 | PRODUCT_COPY_FILES += \ |
Jignesh Dixit | a2ebe16 | 2014-06-04 10:49:32 -0500 | [diff] [blame] | 257 | device/moto/shamu/gps.conf:system/etc/gps.conf |
Mekala Natarajan | 51f7126 | 2014-05-29 14:30:47 -0700 | [diff] [blame] | 258 | |
| 259 | # GPS |
| 260 | PRODUCT_PACKAGES += \ |
| 261 | libloc_adapter \ |
| 262 | libloc_eng \ |
| 263 | libloc_api_v02 \ |
| 264 | libloc_ds_api \ |
| 265 | libloc_core \ |
| 266 | libizat_core \ |
| 267 | libgeofence \ |
| 268 | libgps.utils \ |
| 269 | gps.msm8084 \ |
Vineeta Srivastava | c4aee86 | 2014-07-09 07:32:41 +0000 | [diff] [blame] | 270 | flp.msm8084 \ |
| 271 | liblbs_core \ |
Kevin Tang | b994ecb | 2014-12-08 12:54:29 -0800 | [diff] [blame] | 272 | flp.conf |
Mekala Natarajan | 51f7126 | 2014-05-29 14:30:47 -0700 | [diff] [blame] | 273 | |
Vineeta Srivastava | 1f59181 | 2014-06-13 16:17:02 -0700 | [diff] [blame] | 274 | # NFC packages |
| 275 | PRODUCT_PACKAGES += \ |
Martijn Coenen | 7c7b792 | 2014-07-25 10:00:49 -0700 | [diff] [blame] | 276 | nfc_nci.bcm2079x.default \ |
Vineeta Srivastava | 1f59181 | 2014-06-13 16:17:02 -0700 | [diff] [blame] | 277 | NfcNci \ |
| 278 | Tag |
| 279 | |
bshao1 | 22e39a1 | 2014-06-12 10:10:08 -0500 | [diff] [blame] | 280 | PRODUCT_COPY_FILES += \ |
bshao1 | 22e39a1 | 2014-06-12 10:10:08 -0500 | [diff] [blame] | 281 | frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \ |
| 282 | frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hce.xml \ |
| 283 | device/moto/shamu/nfc/libnfc-brcm.conf:system/etc/libnfc-brcm.conf \ |
Martijn Coenen | c6ee8cb | 2014-09-29 20:04:19 -0700 | [diff] [blame] | 284 | device/moto/shamu/nfc/libnfc-brcm-20795a10.conf:system/etc/libnfc-brcm-20795a10.conf |
bshao1 | 22e39a1 | 2014-06-12 10:10:08 -0500 | [diff] [blame] | 285 | |
Vineeta Srivastava | a47338c | 2014-07-11 11:38:36 -0700 | [diff] [blame] | 286 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
Chris Fries | bc11184 | 2014-06-25 11:01:17 -0500 | [diff] [blame] | 287 | persist.sys.usb.config=mtp |
| 288 | |
Patrick Tjin | e62a093 | 2014-06-29 21:47:36 -0700 | [diff] [blame] | 289 | # Modem debugger |
Patrick Tjin | 5c28ba9 | 2014-07-01 10:47:09 -0700 | [diff] [blame] | 290 | ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) |
Patrick Tjin | e62a093 | 2014-06-29 21:47:36 -0700 | [diff] [blame] | 291 | PRODUCT_PACKAGES += \ |
| 292 | QXDMLogger |
| 293 | |
Ramanan Rajeswaran | 87d3208 | 2014-09-08 14:47:24 -0700 | [diff] [blame] | 294 | # Disable modem ramdumps |
| 295 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 296 | persist.sys.qc.sub.rdump.on=0 |
| 297 | |
Patrick Tjin | e62a093 | 2014-06-29 21:47:36 -0700 | [diff] [blame] | 298 | PRODUCT_COPY_FILES += \ |
| 299 | device/moto/shamu/init.shamu.diag.rc.userdebug:root/init.shamu.diag.rc |
| 300 | else |
| 301 | PRODUCT_COPY_FILES += \ |
| 302 | device/moto/shamu/init.shamu.diag.rc.user:root/init.shamu.diag.rc |
| 303 | endif |
| 304 | |
Libin.Tang@motorola.com | 90bd37b | 2014-07-23 16:20:37 -0500 | [diff] [blame] | 305 | # Enable for volte call |
Etan Cohen | f909ec4 | 2014-10-07 22:34:37 -0700 | [diff] [blame] | 306 | AUDIO_FEATURE_ENABLED_MULTI_VOICE_SESSIONS := true |
Libin.Tang@motorola.com | 90bd37b | 2014-07-23 16:20:37 -0500 | [diff] [blame] | 307 | |
Iliyan Malchev | 642c54b | 2014-08-06 22:34:16 -0700 | [diff] [blame] | 308 | PRODUCT_PROPERTY_OVERRIDES += \ |
Iliyan Malchev | a66764c | 2014-08-06 11:32:36 -0700 | [diff] [blame] | 309 | ro.hwui.texture_cache_size=72 \ |
| 310 | ro.hwui.layer_cache_size=48 \ |
| 311 | ro.hwui.r_buffer_cache_size=8 \ |
| 312 | ro.hwui.path_cache_size=32 \ |
| 313 | ro.hwui.gradient_cache_size=1 \ |
| 314 | ro.hwui.drop_shadow_cache_size=6 \ |
| 315 | ro.hwui.texture_cache_flushrate=0.4 \ |
| 316 | ro.hwui.text_small_cache_width=1024 \ |
| 317 | ro.hwui.text_small_cache_height=1024 \ |
| 318 | ro.hwui.text_large_cache_width=2048 \ |
| 319 | ro.hwui.text_large_cache_height=1024 |
| 320 | |
Ajay Dudani | 2e51cd2 | 2014-09-15 22:32:25 -0700 | [diff] [blame] | 321 | |
| 322 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 323 | dalvik.vm.heapgrowthlimit=256m |
| 324 | |
Vineeta Srivastava | 4248fd4 | 2014-05-02 16:20:41 -0700 | [diff] [blame] | 325 | # setup dalvik vm configs. |
| 326 | $(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk) |
| 327 | |
| 328 | $(call inherit-product-if-exists, hardware/qcom/msm8x84/msm8x84.mk) |
Vineeta Srivastava | c666ece | 2014-05-07 15:47:27 -0700 | [diff] [blame] | 329 | $(call inherit-product-if-exists, vendor/qcom/gpu/msm8x84/msm8x84-gpu-vendor.mk) |
Ajay Dudani | 66481b4 | 2014-06-18 23:01:33 -0700 | [diff] [blame] | 330 | |
| 331 | # setup dm-verity configs. |
Geremy Condra | d6eacf3 | 2014-08-21 14:17:15 -0700 | [diff] [blame] | 332 | PRODUCT_SYSTEM_VERITY_PARTITION := /dev/block/platform/msm_sdcc.1/by-name/system |
Ajay Dudani | 66481b4 | 2014-06-18 23:01:33 -0700 | [diff] [blame] | 333 | $(call inherit-product, build/target/product/verity.mk) |
| 334 | |
Iliyan Malchev | 20ecf23 | 2014-08-05 11:09:50 -0700 | [diff] [blame] | 335 | # setup scheduler tunable |
| 336 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 337 | ro.qualcomm.perf.cores_online=2 |
| 338 | |
Vineeta Srivastava | 407be71 | 2014-08-17 02:31:28 -0700 | [diff] [blame] | 339 | PRODUCT_PACKAGES += \ |
| 340 | power.shamu |
Chris Fries | 4da9415 | 2014-08-22 17:08:28 -0500 | [diff] [blame] | 341 | |
| 342 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 343 | ro.frp.pst=/dev/block/platform/msm_sdcc.1/by-name/frp |
Vineeta Srivastava | 393ee02 | 2014-09-16 08:45:24 -0700 | [diff] [blame] | 344 | |
| 345 | # Delegation for OEM customization |
| 346 | PRODUCT_OEM_PROPERTIES := \ |
| 347 | ro.config.ringtone \ |
| 348 | ro.config.notification_sound \ |
| 349 | ro.config.alarm_alert \ |
| 350 | ro.config.wallpaper \ |
| 351 | ro.config.wallpaper_component \ |
| 352 | ro.oem.* \ |
| 353 | oem.* |
Mayank Agarwal | 5700f8d | 2015-02-03 20:28:53 -0800 | [diff] [blame] | 354 | |
| 355 | # Copy the qcril.db file from qcril to system. Useful to get the radio tech family for the camped operator |
| 356 | PRODUCT_COPY_FILES += \ |
| 357 | device/moto/shamu/qcril.db:system/etc/ril/qcril.db |