Hyejin Kim | 4344bc0 | 2015-03-04 18:46:10 +0900 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2015 The Android Open-Source Project |
| 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 | |
| 17 | # This file includes all definitions that apply to ALL bullhead devices, and |
| 18 | # are also specific to bullhead devices |
| 19 | # |
| 20 | # Everything in this directory will become public |
| 21 | |
| 22 | |
| 23 | ifeq ($(TARGET_PREBUILT_KERNEL),) |
Patrick Tjin | 2a88615 | 2015-04-17 07:54:16 -0700 | [diff] [blame] | 24 | LOCAL_KERNEL := device/lge/bullhead-kernel/Image.gz-dtb |
Hyejin Kim | 4344bc0 | 2015-03-04 18:46:10 +0900 | [diff] [blame] | 25 | else |
| 26 | LOCAL_KERNEL := $(TARGET_PREBUILT_KERNEL) |
| 27 | endif |
| 28 | |
| 29 | PRODUCT_COPY_FILES := \ |
| 30 | $(LOCAL_KERNEL):kernel |
| 31 | |
| 32 | PRODUCT_COPY_FILES += \ |
| 33 | device/lge/bullhead/init.bullhead.rc:root/init.bullhead.rc \ |
Hyejin Kim | 66283e2 | 2015-03-05 15:01:02 +0900 | [diff] [blame] | 34 | device/lge/bullhead/init.bullhead.usb.rc:root/init.bullhead.usb.rc \ |
Hyejin Kim | 4344bc0 | 2015-03-04 18:46:10 +0900 | [diff] [blame] | 35 | device/lge/bullhead/fstab.bullhead:root/fstab.bullhead \ |
Vineeta Srivastava | cec9bdb | 2015-04-14 22:10:30 -0700 | [diff] [blame] | 36 | device/lge/bullhead/ueventd.bullhead.rc:root/ueventd.bullhead.rc \ |
Thierry Strudel | 16e5ac7 | 2015-05-14 15:25:21 -0700 | [diff] [blame] | 37 | device/lge/bullhead/init.bullhead.sensorhub.rc:root/init.bullhead.sensorhub.rc \ |
Vineeta Srivastava | cec9bdb | 2015-04-14 22:10:30 -0700 | [diff] [blame] | 38 | device/lge/bullhead/init.bullhead.fp.rc:root/init.bullhead.fp.rc |
Hyejin Kim | 4344bc0 | 2015-03-04 18:46:10 +0900 | [diff] [blame] | 39 | |
Hyejin Kim | 0763332 | 2015-03-09 17:25:27 +0900 | [diff] [blame] | 40 | PRODUCT_COPY_FILES += \ |
| 41 | frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:system/etc/media_codecs_google_audio.xml \ |
| 42 | frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:system/etc/media_codecs_google_telephony.xml \ |
| 43 | frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:system/etc/media_codecs_google_video.xml \ |
Sungmin Choi | 571183f | 2015-05-21 13:28:30 +0900 | [diff] [blame] | 44 | device/lge/bullhead/media_codecs.xml:system/etc/media_codecs.xml \ |
| 45 | device/lge/bullhead/media_profiles.xml:system/etc/media_profiles.xml |
Hyejin Kim | 0763332 | 2015-03-09 17:25:27 +0900 | [diff] [blame] | 46 | |
donghun2.kim | 5cc5711 | 2015-03-19 21:03:02 +0900 | [diff] [blame] | 47 | # Audio |
| 48 | PRODUCT_COPY_FILES += \ |
| 49 | device/lge/bullhead/audio_policy.conf:system/etc/audio_policy.conf \ |
Vineeta Srivastava | 2a009cd | 2015-06-29 16:07:11 -0700 | [diff] [blame] | 50 | device/lge/bullhead/audio_effects.conf:system/etc/audio_effects.conf \ |
keunhui.park | 2972bf9 | 2015-06-04 15:40:27 +0900 | [diff] [blame] | 51 | device/lge/bullhead/mixer_paths.xml:system/etc/mixer_paths.xml \ |
| 52 | device/lge/bullhead/audio_platform_info.xml:system/etc/audio_platform_info.xml |
donghun2.kim | 5cc5711 | 2015-03-19 21:03:02 +0900 | [diff] [blame] | 53 | |
Vineeta Srivastava | 69566b1 | 2015-05-13 08:56:25 -0700 | [diff] [blame] | 54 | #Sound Trigger |
| 55 | PRODUCT_COPY_FILES += \ |
| 56 | device/lge/bullhead/sound_trigger_mixer_paths.xml:system/etc/sound_trigger_mixer_paths.xml \ |
| 57 | device/lge/bullhead/sound_trigger_platform_info.xml:system/etc/sound_trigger_platform_info.xml |
| 58 | |
Hyejin Kim | e68e464 | 2015-03-07 11:44:49 +0900 | [diff] [blame] | 59 | # Input device files |
| 60 | PRODUCT_COPY_FILES += \ |
| 61 | device/lge/bullhead/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \ |
| 62 | device/lge/bullhead/qpnp_pon.kl:system/usr/keylayout/qpnp_pon.kl |
| 63 | |
Ramanan Rajeswaran | 49754a6 | 2015-06-05 10:49:28 -0700 | [diff] [blame] | 64 | # for launcher layout |
| 65 | PRODUCT_PACKAGES += \ |
| 66 | BullheadLayout |
| 67 | |
| 68 | # Delegation for OEM customization |
| 69 | PRODUCT_OEM_PROPERTIES := \ |
| 70 | ro.config.ringtone \ |
| 71 | ro.config.notification_sound \ |
| 72 | ro.config.alarm_alert \ |
| 73 | ro.config.wallpaper \ |
| 74 | ro.config.wallpaper_component \ |
| 75 | ro.oem.* \ |
| 76 | oem.* |
| 77 | |
Hyejin Kim | e68e464 | 2015-03-07 11:44:49 +0900 | [diff] [blame] | 78 | # Prebuilt input device calibration files |
| 79 | PRODUCT_COPY_FILES += \ |
| 80 | device/lge/bullhead/touch_dev.idc:system/usr/idc/touch_dev.idc |
| 81 | |
Hyejin Kim | 4344bc0 | 2015-03-04 18:46:10 +0900 | [diff] [blame] | 82 | # These are the hardware-specific features |
| 83 | PRODUCT_COPY_FILES += \ |
Patrick Tjin | 6a7f961 | 2015-04-14 20:25:11 -0700 | [diff] [blame] | 84 | frameworks/native/data/etc/handheld_core_hardware.xml:system/etc/permissions/handheld_core_hardware.xml \ |
| 85 | frameworks/native/data/etc/android.hardware.bluetooth_le.xml:system/etc/permissions/android.hardware.bluetooth_le.xml \ |
Hyejin Kim | 8eaa6ea | 2015-03-06 18:43:25 +0900 | [diff] [blame] | 86 | frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:system/etc/permissions/android.hardware.camera.flash-autofocus.xml \ |
| 87 | frameworks/native/data/etc/android.hardware.camera.front.xml:system/etc/permissions/android.hardware.camera.front.xml \ |
| 88 | frameworks/native/data/etc/android.hardware.camera.full.xml:system/etc/permissions/android.hardware.camera.full.xml \ |
| 89 | frameworks/native/data/etc/android.hardware.camera.raw.xml:system/etc/permissions/android.hardware.camera.raw.xml \ |
| 90 | frameworks/native/data/etc/android.hardware.location.gps.xml:system/etc/permissions/android.hardware.location.gps.xml \ |
| 91 | frameworks/native/data/etc/android.hardware.wifi.xml:system/etc/permissions/android.hardware.wifi.xml \ |
| 92 | frameworks/native/data/etc/android.hardware.wifi.direct.xml:system/etc/permissions/android.hardware.wifi.direct.xml \ |
| 93 | frameworks/native/data/etc/android.hardware.sensor.proximity.xml:system/etc/permissions/android.hardware.sensor.proximity.xml \ |
| 94 | frameworks/native/data/etc/android.hardware.sensor.light.xml:system/etc/permissions/android.hardware.sensor.light.xml \ |
| 95 | frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:system/etc/permissions/android.hardware.sensor.gyroscope.xml \ |
| 96 | frameworks/native/data/etc/android.hardware.sensor.barometer.xml:system/etc/permissions/android.hardware.sensor.barometer.xml \ |
| 97 | frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:system/etc/permissions/android.hardware.sensor.stepcounter.xml \ |
| 98 | frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:system/etc/permissions/android.hardware.sensor.stepdetector.xml \ |
| 99 | frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:system/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \ |
| 100 | frameworks/native/data/etc/android.software.sip.voip.xml:system/etc/permissions/android.software.sip.voip.xml \ |
| 101 | frameworks/native/data/etc/android.hardware.usb.accessory.xml:system/etc/permissions/android.hardware.usb.accessory.xml \ |
| 102 | frameworks/native/data/etc/android.hardware.usb.host.xml:system/etc/permissions/android.hardware.usb.host.xml \ |
| 103 | frameworks/native/data/etc/android.hardware.audio.low_latency.xml:system/etc/permissions/android.hardware.audio.low_latency.xml \ |
| 104 | frameworks/native/data/etc/android.hardware.telephony.cdma.xml:system/etc/permissions/android.hardware.telephony.cdma.xml \ |
| 105 | frameworks/native/data/etc/android.hardware.telephony.gsm.xml:system/etc/permissions/android.hardware.telephony.gsm.xml \ |
Thierry Strudel | 058bafa | 2015-05-12 14:34:23 -0700 | [diff] [blame] | 106 | frameworks/native/data/etc/android.hardware.nfc.xml:system/etc/permissions/android.hardware.nfc.xml \ |
| 107 | frameworks/native/data/etc/android.hardware.nfc.hce.xml:system/etc/permissions/android.hardware.nfc.hce.xml \ |
Sungmin Choi | 71cc5b1 | 2015-05-18 20:02:25 +0900 | [diff] [blame] | 108 | frameworks/native/data/etc/android.hardware.ethernet.xml:system/etc/permissions/android.hardware.ethernet.xml \ |
| 109 | frameworks/native/data/etc/android.software.midi.xml:system/etc/permissions/android.software.midi.xml |
Hyejin Kim | 4344bc0 | 2015-03-04 18:46:10 +0900 | [diff] [blame] | 110 | |
Hyejin Kim | 82a5a9b | 2015-03-11 17:21:45 +0900 | [diff] [blame] | 111 | # For SPN display |
| 112 | PRODUCT_COPY_FILES += \ |
| 113 | device/lge/bullhead/spn-conf.xml:system/etc/spn-conf.xml |
| 114 | |
Hyejin Kim | c15ba1c | 2015-03-26 20:15:10 +0900 | [diff] [blame] | 115 | # For GPS |
| 116 | PRODUCT_COPY_FILES += \ |
| 117 | device/lge/bullhead/sec_config:system/etc/sec_config |
| 118 | |
Thierry Strudel | f9621af | 2015-05-07 23:25:21 -0700 | [diff] [blame] | 119 | # NFC config files |
| 120 | PRODUCT_COPY_FILES += \ |
| 121 | device/lge/bullhead/nfc/libnfc-brcm.conf:system/etc/libnfc-brcm.conf \ |
| 122 | device/lge/bullhead/nfc/libnfc-nxp.conf:system/etc/libnfc-nxp.conf |
| 123 | |
Sungmin Choi | 2969642 | 2015-03-27 18:49:11 +0900 | [diff] [blame] | 124 | # For WiFi |
| 125 | PRODUCT_COPY_FILES += \ |
| 126 | device/lge/bullhead/wifi/wpa_supplicant_overlay.conf:system/etc/wifi/wpa_supplicant_overlay.conf \ |
| 127 | device/lge/bullhead/wifi/p2p_supplicant_overlay.conf:system/etc/wifi/p2p_supplicant_overlay.conf \ |
| 128 | device/lge/bullhead/wifi/WCNSS_cfg.dat:system/etc/firmware/wlan/qca_cld/WCNSS_cfg.dat \ |
| 129 | device/lge/bullhead/wifi/WCNSS_qcom_cfg.ini:system/etc/firmware/wlan/qca_cld/WCNSS_qcom_cfg.ini |
| 130 | |
Sungmin Choi | 0ce9c71 | 2015-04-22 10:44:52 +0900 | [diff] [blame] | 131 | # MSM IRQ Balancer configuration file |
| 132 | PRODUCT_COPY_FILES += \ |
Sungmin Choi | 8f67d4d | 2015-04-06 16:24:01 -0700 | [diff] [blame] | 133 | device/lge/bullhead/msm_irqbalance.conf:vendor/etc/msm_irqbalance.conf |
Sungmin Choi | 0ce9c71 | 2015-04-22 10:44:52 +0900 | [diff] [blame] | 134 | |
Thierry Strudel | a42e7ac | 2015-06-03 17:14:28 -0700 | [diff] [blame] | 135 | # Power configuration file |
| 136 | PRODUCT_COPY_FILES += \ |
| 137 | device/lge/bullhead/init.bullhead.power.sh:system/bin/init.bullhead.power.sh |
| 138 | |
Sungmin Choi | f70efd4 | 2015-06-08 16:20:07 -0700 | [diff] [blame] | 139 | # MBN |
| 140 | PRODUCT_COPY_FILES += \ |
| 141 | device/lge/bullhead/init.bullhead.sh:system/bin/init.bullhead.sh |
| 142 | |
Hyejin Kim | 4344bc0 | 2015-03-04 18:46:10 +0900 | [diff] [blame] | 143 | PRODUCT_TAGS += dalvik.gc.type-precise |
| 144 | |
| 145 | PRODUCT_AAPT_CONFIG := normal |
Sungmin Choi | a866ad1 | 2015-03-21 13:18:59 +0900 | [diff] [blame] | 146 | PRODUCT_AAPT_PREF_CONFIG := xxhdpi |
Hyejin Kim | 4344bc0 | 2015-03-04 18:46:10 +0900 | [diff] [blame] | 147 | |
| 148 | PRODUCT_CHARACTERISTICS := nosdcard |
| 149 | |
Sungmin Choi | 9fc3986 | 2015-03-14 10:44:36 +0900 | [diff] [blame] | 150 | # for off charging mode |
| 151 | PRODUCT_PACKAGES += \ |
| 152 | charger_res_images |
| 153 | |
Hyejin Kim | e58fd8c | 2015-03-06 14:42:06 +0900 | [diff] [blame] | 154 | PRODUCT_PACKAGES += \ |
| 155 | gralloc.msm8992 \ |
| 156 | hwcomposer.msm8992 \ |
| 157 | libgenlock \ |
soyoung.min | b63ab6e | 2015-03-17 14:21:23 -0500 | [diff] [blame] | 158 | memtrack.msm8992 \ |
| 159 | lights.bullhead |
Hyejin Kim | e58fd8c | 2015-03-06 14:42:06 +0900 | [diff] [blame] | 160 | |
donghun2.kim | 5cc5711 | 2015-03-19 21:03:02 +0900 | [diff] [blame] | 161 | PRODUCT_PACKAGES += \ |
Sungmin Choi | bc9e50f | 2015-04-30 11:41:21 +0900 | [diff] [blame] | 162 | libc2dcolorconvert \ |
| 163 | libstagefrighthw \ |
| 164 | libOmxCore \ |
| 165 | libmm-omxcore \ |
| 166 | libOmxVdec \ |
| 167 | libOmxVdecHevc \ |
| 168 | libOmxVenc |
| 169 | |
| 170 | PRODUCT_PACKAGES += \ |
donghun2.kim | 5cc5711 | 2015-03-19 21:03:02 +0900 | [diff] [blame] | 171 | audio.primary.msm8992 \ |
| 172 | audio.a2dp.default \ |
| 173 | audio.usb.default \ |
| 174 | audio.r_submix.default \ |
donghun2.kim | 7f7a93f | 2015-06-11 09:44:10 +0900 | [diff] [blame] | 175 | libaudio-resampler \ |
| 176 | libqcomvoiceprocessing \ |
| 177 | libqcomvisualizer \ |
Sungmin Choi | fa38188 | 2015-06-27 13:01:43 +0900 | [diff] [blame] | 178 | libqcompostprocbundle \ |
| 179 | libvolumelistener |
donghun2.kim | 5cc5711 | 2015-03-19 21:03:02 +0900 | [diff] [blame] | 180 | |
Sungmin Choi | e9cbfdc | 2015-03-28 11:55:35 +0900 | [diff] [blame] | 181 | PRODUCT_PACKAGES += \ |
| 182 | librmnetctl \ |
| 183 | rmnetcli |
| 184 | |
seulgi.kim | 5e3e9b1 | 2015-03-31 15:17:20 +0900 | [diff] [blame] | 185 | # GPS module |
| 186 | PRODUCT_PACKAGES += \ |
| 187 | libgps.utils \ |
| 188 | libloc_core \ |
| 189 | libloc_eng \ |
| 190 | libloc_api_v02 \ |
| 191 | gps.msm8992 |
| 192 | |
| 193 | # GPS configuration |
| 194 | PRODUCT_COPY_FILES += \ |
| 195 | device/lge/bullhead/gps.conf:system/etc/gps.conf |
| 196 | |
Thierry Strudel | 058bafa | 2015-05-12 14:34:23 -0700 | [diff] [blame] | 197 | # NFC packages |
| 198 | PRODUCT_PACKAGES += \ |
Thierry Strudel | f9621af | 2015-05-07 23:25:21 -0700 | [diff] [blame] | 199 | nfc_nci.bullhead \ |
Thierry Strudel | 058bafa | 2015-05-12 14:34:23 -0700 | [diff] [blame] | 200 | NfcNci \ |
| 201 | Tag |
| 202 | |
Vineeta Srivastava | 12ba748 | 2015-04-27 22:26:31 -0700 | [diff] [blame] | 203 | # Fingerprint Sensor |
| 204 | PRODUCT_PACKAGES += \ |
| 205 | fingerprint.bullhead |
| 206 | |
Sungmin Choi | 2969642 | 2015-03-27 18:49:11 +0900 | [diff] [blame] | 207 | # Wi-Fi |
| 208 | PRODUCT_PACKAGES += \ |
| 209 | libwpa_client \ |
| 210 | hostapd \ |
| 211 | dhcpcd.conf \ |
| 212 | wpa_supplicant \ |
| 213 | wpa_supplicant.conf |
| 214 | |
Sungmin Choi | 4db6ad6 | 2015-05-06 16:44:18 +0900 | [diff] [blame] | 215 | # Camera |
| 216 | PRODUCT_PACKAGES += \ |
| 217 | camera.msm8992 \ |
| 218 | libcamera \ |
| 219 | libmmcamera_interface \ |
| 220 | libmmcamera_interface2 \ |
| 221 | libmmjpeg_interface \ |
| 222 | libqomx_core \ |
| 223 | mm-qcamera-app |
| 224 | |
Thierry Strudel | 16e5ac7 | 2015-05-14 15:25:21 -0700 | [diff] [blame] | 225 | # Sensor & activity_recognition HAL |
| 226 | PRODUCT_PACKAGES += \ |
| 227 | sensors.bullhead \ |
| 228 | activity_recognition.bullhead \ |
| 229 | sensortool.bullhead |
| 230 | |
Sungmin Choi | a38ab54 | 2015-06-02 01:30:59 -0700 | [diff] [blame] | 231 | PRODUCT_PACKAGES += \ |
| 232 | keystore.msm8992 \ |
| 233 | gatekeeper.msm8992 |
| 234 | |
Vineeta Srivastava | 9e62d51 | 2015-06-08 15:08:15 -0700 | [diff] [blame] | 235 | # Verified boot |
| 236 | PRODUCT_PACKAGES += \ |
| 237 | slideshow \ |
| 238 | verity_warning_images |
| 239 | |
Tom Cherry | 8554f91 | 2015-06-04 14:42:23 -0700 | [diff] [blame] | 240 | # For android_filesystem_config.h |
| 241 | PRODUCT_PACKAGES += \ |
| 242 | fs_config_files |
| 243 | |
Hyejin Kim | 4344bc0 | 2015-03-04 18:46:10 +0900 | [diff] [blame] | 244 | DEVICE_PACKAGE_OVERLAYS := \ |
| 245 | device/lge/bullhead/overlay |
| 246 | |
Sungmin Choi | f7b0ae7 | 2015-05-16 19:45:05 +0900 | [diff] [blame] | 247 | # Enable AAC 5.1 output |
| 248 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 249 | media.aac_51_output_enabled=true |
| 250 | |
keunhui.park | 2972bf9 | 2015-06-04 15:40:27 +0900 | [diff] [blame] | 251 | # Audio |
| 252 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 253 | persist.audio.dualmic.config=endfire \ |
| 254 | persist.audio.fluence.voicecall=true \ |
| 255 | persist.audio.fluence.voicecomm=true \ |
| 256 | persist.audio.fluence.voicerec=false \ |
| 257 | persist.audio.fluence.speaker=true \ |
| 258 | persist.speaker.prot.enable=true |
| 259 | |
Hyejin Kim | 4344bc0 | 2015-03-04 18:46:10 +0900 | [diff] [blame] | 260 | PRODUCT_PROPERTY_OVERRIDES += \ |
Sungmin Choi | 2969642 | 2015-03-27 18:49:11 +0900 | [diff] [blame] | 261 | wifi.interface=wlan0 \ |
| 262 | wifi.supplicant_scan_interval=15 |
| 263 | |
| 264 | PRODUCT_PROPERTY_OVERRIDES += \ |
Sungmin Choi | c56c617 | 2015-03-09 08:51:41 +0900 | [diff] [blame] | 265 | ro.opengles.version=196609 |
Hyejin Kim | 4344bc0 | 2015-03-04 18:46:10 +0900 | [diff] [blame] | 266 | |
| 267 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 268 | ro.sf.lcd_density=480 |
| 269 | |
Hyejin Kim | f9722d1 | 2015-03-06 15:26:55 +0900 | [diff] [blame] | 270 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 271 | persist.hwc.mdpcomp.enable=true |
| 272 | |
Hyejin Kim | dfa3b06 | 2015-03-06 17:48:48 +0900 | [diff] [blame] | 273 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 274 | ro.hwui.texture_cache_size=72 \ |
| 275 | ro.hwui.layer_cache_size=48 \ |
| 276 | ro.hwui.r_buffer_cache_size=8 \ |
| 277 | ro.hwui.path_cache_size=32 \ |
| 278 | ro.hwui.gradient_cache_size=1 \ |
| 279 | ro.hwui.drop_shadow_cache_size=6 \ |
| 280 | ro.hwui.texture_cache_flushrate=0.4 \ |
| 281 | ro.hwui.text_small_cache_width=1024 \ |
| 282 | ro.hwui.text_small_cache_height=1024 \ |
| 283 | ro.hwui.text_large_cache_width=2048 \ |
| 284 | ro.hwui.text_large_cache_height=1024 |
| 285 | |
Hyejin Kim | 275dc9e | 2015-03-11 16:09:56 +0900 | [diff] [blame] | 286 | PRODUCT_PROPERTY_OVERRIDES += \ |
Sungmin Choi | a218952 | 2015-04-25 09:55:12 +0900 | [diff] [blame] | 287 | ro.frp.pst=/dev/block/platform/soc.0/f9824900.sdhci/by-name/persistent |
Sungmin Choi | 7ef9779 | 2015-03-26 14:22:40 +0900 | [diff] [blame] | 288 | |
Sungmin Choi | 7b2a9a5 | 2015-05-12 11:44:49 +0900 | [diff] [blame] | 289 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 290 | drm.service.enabled=true |
| 291 | |
Sungmin Choi | 63d2dfb | 2015-04-24 11:11:14 +0900 | [diff] [blame] | 292 | # for perfd |
| 293 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 294 | ro.min_freq_0=384000 |
| 295 | ro.min_freq_4=384000 |
| 296 | |
Sungmin Choi | 7ef9779 | 2015-03-26 14:22:40 +0900 | [diff] [blame] | 297 | PRODUCT_PROPERTY_OVERRIDES += \ |
Sungmin Choi | 7ad9521 | 2015-05-07 13:40:16 +0900 | [diff] [blame] | 298 | ro.vendor.extension_library=libqti-perfd-client.so |
| 299 | |
| 300 | PRODUCT_PROPERTY_OVERRIDES += \ |
Sungmin Choi | 8f67d4d | 2015-04-06 16:24:01 -0700 | [diff] [blame] | 301 | rild.libpath=/vendor/lib64/libril-qc-qmi-1.so |
Hyejin Kim | 275dc9e | 2015-03-11 16:09:56 +0900 | [diff] [blame] | 302 | |
Hyejin Kim | 637e0da | 2015-03-11 16:13:01 +0900 | [diff] [blame] | 303 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 304 | ro.telephony.default_cdma_sub=0 |
| 305 | |
Hyejin Kim | 9fec120 | 2015-03-11 16:14:51 +0900 | [diff] [blame] | 306 | # LTE, CDMA, GSM/WCDMA |
| 307 | PRODUCT_PROPERTY_OVERRIDES += \ |
Hyejin Kim | dcb92d5 | 2015-03-11 16:15:55 +0900 | [diff] [blame] | 308 | ro.telephony.default_network=10 \ |
Hyejin Kim | d610c29 | 2015-03-11 16:24:46 +0900 | [diff] [blame] | 309 | telephony.lteOnCdmaDevice=1 \ |
| 310 | persist.radio.mode_pref_nv10=1 |
Hyejin Kim | 9fec120 | 2015-03-11 16:14:51 +0900 | [diff] [blame] | 311 | |
Hyejin Kim | 2495ef3 | 2015-03-11 16:26:31 +0900 | [diff] [blame] | 312 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 313 | persist.radio.apm_sim_not_pwdn=1 |
| 314 | |
Hyejin Kim | 7fa043f | 2015-03-11 16:32:34 +0900 | [diff] [blame] | 315 | # Setup custom emergency number list based on the MCC. This is needed by RIL |
| 316 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 317 | persist.radio.custom_ecc=1 |
| 318 | |
Hyejin Kim | 6b9b6ef | 2015-03-11 16:48:14 +0900 | [diff] [blame] | 319 | # Request modem to send PLMN name always irrespective |
| 320 | # of display condition in EFSPN. |
| 321 | # RIL uses this property. |
| 322 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 323 | persist.radio.always_send_plmn=true |
| 324 | |
Hyejin Kim | c18396f | 2015-03-11 16:50:42 +0900 | [diff] [blame] | 325 | # Ril sends only one RIL_UNSOL_CALL_RING, so set call_ring.multiple to false |
| 326 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 327 | ro.telephony.call_ring.multiple=0 |
| 328 | |
Hyejin Kim | 5471556 | 2015-03-11 17:16:54 +0900 | [diff] [blame] | 329 | # Update 1x signal strength after 2s |
| 330 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 331 | persist.radio.snapshot_enabled=1 \ |
| 332 | persist.radio.snapshot_timer=2 |
| 333 | |
koh.changseok | 1980de7 | 2015-04-01 01:45:27 +0900 | [diff] [blame] | 334 | # Set bluetooth soc to rome |
| 335 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 336 | qcom.bluetooth.soc=rome |
| 337 | |
Sungmin Choi | 3065040 | 2015-05-17 23:13:22 +0900 | [diff] [blame] | 338 | # Set Bluetooth transport initialization timeout |
| 339 | PRODUCT_PROPERTY_OVERRIDES += \ |
| 340 | bluetooth.enable_timeout_ms=12000 |
| 341 | |
Sungmin Choi | 0800c90 | 2015-04-06 10:06:23 -0700 | [diff] [blame] | 342 | PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \ |
| 343 | ro.bt.bdaddr_path=/persist/bdaddr.txt |
| 344 | |
Veena Sambasivan | 6da58a1 | 2015-07-04 16:12:16 -0700 | [diff] [blame^] | 345 | # Power HAL |
| 346 | PRODUCT_PACKAGES += \ |
| 347 | power.bullhead |
| 348 | |
Hyejin Kim | d0859d4 | 2015-03-11 17:26:06 +0900 | [diff] [blame] | 349 | # Modem debugger |
| 350 | ifneq (,$(filter userdebug eng, $(TARGET_BUILD_VARIANT))) |
| 351 | PRODUCT_PACKAGES += \ |
| 352 | QXDMLogger |
| 353 | |
| 354 | PRODUCT_COPY_FILES += \ |
| 355 | device/lge/bullhead/init.bullhead.diag.rc.userdebug:root/init.bullhead.diag.rc |
| 356 | else |
| 357 | PRODUCT_COPY_FILES += \ |
| 358 | device/lge/bullhead/init.bullhead.diag.rc.user:root/init.bullhead.diag.rc |
| 359 | endif |
| 360 | |
Sungmin Choi | c6f8bce | 2015-04-15 14:57:16 -0700 | [diff] [blame] | 361 | # setup dm-verity configs. |
Sungmin Choi | a218952 | 2015-04-25 09:55:12 +0900 | [diff] [blame] | 362 | PRODUCT_SYSTEM_VERITY_PARTITION := /dev/block/platform/soc.0/f9824900.sdhci/by-name/system |
| 363 | PRODUCT_VENDOR_VERITY_PARTITION := /dev/block/platform/soc.0/f9824900.sdhci/by-name/vendor |
Sungmin Choi | c6f8bce | 2015-04-15 14:57:16 -0700 | [diff] [blame] | 364 | $(call inherit-product, build/target/product/verity.mk) |
| 365 | |
Hyejin Kim | 4344bc0 | 2015-03-04 18:46:10 +0900 | [diff] [blame] | 366 | # setup dalvik vm configs. |
| 367 | $(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk) |
| 368 | |
Patrick Tjin | f3861aa | 2015-03-12 11:05:44 -0700 | [diff] [blame] | 369 | $(call inherit-product-if-exists, hardware/qcom/msm8994/msm8992.mk) |
Patrick Tjin | fd19f81 | 2015-03-11 15:50:30 -0700 | [diff] [blame] | 370 | $(call inherit-product-if-exists, vendor/qcom/gpu/msm8994/msm8994-gpu-vendor.mk) |