Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
139 commits
Select commit Hold shift + click to select a range
903b35c
g2: configs: mixer_paths: Lower speaker volume
ZdrowyGosciu Oct 2, 2015
5489a24
Revert "g2: configs: audio_effects: Setup audio output session config…
ZdrowyGosciu Oct 3, 2015
c0d2287
Revert "g2: Disable AV offload (for now)"
ZdrowyGosciu Oct 3, 2015
856f18b
g2: init: power: Enable low power on boot
Oct 3, 2015
6429c3b
g2: init: power: Remove MP-Decision service stop
ZdrowyGosciu Oct 3, 2015
a1afd7d
Revert "g2: configs: mixer_paths: Lower speaker volume"
ZdrowyGosciu Oct 4, 2015
d90e365
g2-common: Remove dependency on qcom/msm8x74
intervigilium Oct 2, 2015
9cd5282
g2-common: Clean up
intervigilium Oct 2, 2015
f7b4f66
g2-common: Reorganize boardconfig
intervigilium Oct 2, 2015
91b45d7
g2-common: Reorganize g2.mk
intervigilium Oct 2, 2015
48845fd
g2-common: Separate keylayouts
intervigilium Oct 2, 2015
c6380fd
g2-common: Remove unused synaptics keylayout
intervigilium Oct 2, 2015
0700bc5
g2-common: Remove unused keycodes
intervigilium Oct 2, 2015
ca1c9fa
g2-common: Remove unused thermal config
intervigilium Oct 2, 2015
f050e61
g2-common: Clean up permissions
intervigilium Oct 2, 2015
a2596b6
g2-common: Add proprietary file extraction scripts
intervigilium Oct 2, 2015
86710ea
g2-common: Add common NFC config
intervigilium Oct 3, 2015
3c172f3
g2-common: Add proprietary-files listing
intervigilium Oct 2, 2015
6173105
g2: Cleanup (and sync struct with CM 12.1) system props
ZdrowyGosciu Oct 4, 2015
bcb5fc7
g2-common: Update media codec profiles
intervigilium Oct 4, 2015
19a6e05
g2-common: Reorganize init script makefile
intervigilium Oct 5, 2015
aac004c
g2: Move g2.init.power.rc include to custom_prop.mk
ZdrowyGosciu Oct 5, 2015
6e500a4
g2-common: Convert init.qcom.sh to set_baseband.sh
intervigilium Oct 5, 2015
d440be5
g2-common: Remove unused init items
intervigilium Oct 5, 2015
69a073d
g2-common: More proprietary file cleanup
intervigilium Oct 4, 2015
2c2eb7a
g2-common: Clean up init scripts
intervigilium Oct 5, 2015
0142670
g2-common: Device does not have a barometer
intervigilium Oct 5, 2015
4a0c429
g2: Move back g2.init.power.rc include to g2.mk
ZdrowyGosciu Oct 5, 2015
2c65464
g2: Move back custom emergency number list
ZdrowyGosciu Oct 5, 2015
d194857
g2-common: Introduce init.recovery.g2.rc
intervigilium Oct 5, 2015
792bd79
g2: init: power: Clear default values at startup + remove useless cpu…
ZdrowyGosciu Oct 7, 2015
d7f2540
g2: init: power: Move CPU permissions from early init
ZdrowyGosciu Oct 7, 2015
ebd09b0
g2: init: power: Entropy tuning
Oct 7, 2015
04c1904
g2-common: Add IR blaster support
intervigilium Oct 8, 2015
8e492cd
g2-common: Actually run hwaddrs binary to set BT MAC
intervigilium Oct 9, 2015
a8de024
Revert "g2: bluetooth: Replace USE_AXI_BRIDGE_LOCK with UART_FORCE_TW…
intervigilium Oct 9, 2015
089cfc3
g2-common: Update Bluedroid config
intervigilium Oct 9, 2015
608b91b
g2: configs: Rebase audio policy (for now)
ZdrowyGosciu Oct 12, 2015
0b89108
Revert "g2: configs: Rebase audio policy (for now)"
ZdrowyGosciu Oct 13, 2015
74a556f
g2-common: configs: Sync audio policy with CM 12.1
ZdrowyGosciu Oct 13, 2015
d2e6c4b
g2-common: configs: Rebase audio policy
ZdrowyGosciu Oct 13, 2015
66714b0
g2-common: overlay: FB: Use LG D801 30B LED + vibrator + brightness s…
intervigilium Oct 14, 2015
47f94a5
g2-common: Fix extraction of proprietary APKs
intervigilium Oct 14, 2015
dd74e0b
g2-common: Reduce GPS logging verbosity
intervigilium Oct 14, 2015
4f78f58
g2-common: Reduce NFC logging verbosity
intervigilium Oct 14, 2015
83d93e6
g2-common: Use QC location services
intervigilium Oct 14, 2015
d2b6c8b
g2-common: Update GPS proprietary listing
intervigilium Oct 14, 2015
316352c
g2-common: overlay: FB: Rebase brightness values
ZdrowyGosciu Oct 15, 2015
dcc397a
g2-common: configs: audio_policy.conf: Sync with CM 13.0
ZdrowyGosciu Oct 16, 2015
f30695f
g2-common: configs: audio_policy.conf: Make compress offload static
ZdrowyGosciu Oct 16, 2015
2fc2202
g2-common: custom_prop: Setup QCOM RIL wake lock timeout
ZdrowyGosciu Oct 17, 2015
7ed2e65
g2-common: custom_prop: Lower MP-Decision performance cores
ZdrowyGosciu Oct 17, 2015
f80c3d3
g2-common: custom_prop: Remove QCOM RIL wakelock timeout setting
ZdrowyGosciu Oct 17, 2015
66ade6e
Revert "g2: overlay: FB: Don't skip restoring network selection"
ZdrowyGosciu Oct 17, 2015
d777318
g2-common: Setup Wi-Fi scan intervals by Framework
ZdrowyGosciu Oct 17, 2015
dfd4681
g2-common: overlay: Clear translatable parameters
ZdrowyGosciu Oct 17, 2015
1295564
g2-common: custom_prop: Enable 16bit PCM offload
ZdrowyGosciu Oct 17, 2015
5da2558
g2-common: configs: mixer_paths.xml: Increase microphone volume
ZdrowyGosciu Oct 17, 2015
2277cf7
g2-common: configs: mixer_paths.xml: Lower speaker volume (in call)
ZdrowyGosciu Oct 17, 2015
fc40351
g2-common: Move custom props to system props
ZdrowyGosciu Oct 17, 2015
34ca931
g2-common: configs: Remove useless audio_platform_info.xml
ZdrowyGosciu Oct 18, 2015
f54fd9d
g2-common: configs: audio_policy.conf: Cleanup
Rashed97 Oct 18, 2015
a96f6f7
g2-common: sepolicy: Address mpdecision denials
fefifofum Oct 17, 2015
8bbe06b
g2-common: init: power: Setup Simple GPU
ZdrowyGosciu Oct 18, 2015
5445701
g2-common: init: power: Setup Intelli THERMAL
ZdrowyGosciu Oct 18, 2015
f38c5ff
g2-common: init: Setup ZRAM
ZdrowyGosciu Oct 18, 2015
8381060
g2-common: system_prop: Disable I/O scheduler setup
ZdrowyGosciu Oct 18, 2015
8f7d7b6
g2-common: init: power: Fix MM-OSAL logmask + MP-Decision default_values
ZdrowyGosciu Oct 18, 2015
b636e2d
g2-common: custom_prop: Include LIBARGS in RIL
ZdrowyGosciu Oct 18, 2015
14ad346
g2-common: Fix RILD device argument
ZdrowyGosciu Oct 18, 2015
54d866a
g2-common: Remove memory tweaks (for now)
ZdrowyGosciu Oct 19, 2015
19d6927
g2-common: overlay: FB: Lower medium brightness values
ZdrowyGosciu Oct 19, 2015
b6c43c2
g2-common: Remove RILD device argument
ZdrowyGosciu Oct 19, 2015
bf20e0f
Revert "g2-common: configs: audio_policy.conf: Cleanup"
ZdrowyGosciu Oct 19, 2015
889a473
g2-common: init: VM/LMK/NET tweaks
ZdrowyGosciu Oct 20, 2015
ac1142b
g2-common: init: power: Setup GPU max freq easier
ZdrowyGosciu Oct 20, 2015
63bdd07
g2-common: init: Setup 192000kB minfree LMK
ZdrowyGosciu Oct 21, 2015
4900d3c
g2-common: power: Change early init to boot complete + setup zen (256…
ZdrowyGosciu Oct 26, 2015
12439d5
g2-common: init: power: Lower random read threshold (sync with kernel)
ZdrowyGosciu Oct 26, 2015
879479f
g2-common: init: Undervolt -15mV
ZdrowyGosciu Oct 26, 2015
ffc615b
g2-common: power: Setup nightmare GOV
ZdrowyGosciu Oct 26, 2015
294a1fa
g2-common: configs: audio_policy.conf: Rebase (sync with CM 13.0)
Rashed97 Oct 26, 2015
7d1fb75
g2-common: init: power: Add write access to MM OSAL logmask + small c…
ZdrowyGosciu Oct 27, 2015
ab988a6
g2-common: init: power: Move governor setup to profile (cleanup)
ZdrowyGosciu Oct 27, 2015
96d2048
g2-common: Setup uberdemand as default GOV
ZdrowyGosciu Oct 27, 2015
6815e5e
g2-common: init: Don't swap ZRAM at startup
ZdrowyGosciu Oct 28, 2015
1eb4cab
g2-common: init: power: Use MSM CPUFREQ in CPU BW
ZdrowyGosciu Oct 28, 2015
669a108
g2-common: configs: audio_policy.conf: Fix slow audio/video stream
ZdrowyGosciu Oct 30, 2015
bf19531
g2-common: init: Don't set ZRAM disksize at startup
ZdrowyGosciu Oct 30, 2015
5b560b8
g2-common: init: Disable UV
ZdrowyGosciu Oct 30, 2015
ab660e8
g2-common: init: Tune LMK
Nov 3, 2015
cbd5df0
g2-common: Use open source thermanager
stellirin Nov 1, 2015
17d3d27
g2-common: init: power: Don't startup Intelli Thermal
ZdrowyGosciu Nov 3, 2015
fc82815
g2-common: Setup interactive as default GOV
ZdrowyGosciu Nov 3, 2015
8493599
g2-common: Include Thermanager in SEPolicy
ZdrowyGosciu Nov 3, 2015
2c89064
g2-common: init: power: Fix Power HAL CM extension permission
ZdrowyGosciu Nov 4, 2015
7483272
Revert "g2-common: init: Tune LMK"
ZdrowyGosciu Nov 4, 2015
19ac674
g2-common: init: Fix LMK permissions
ZdrowyGosciu Nov 4, 2015
7b0e433
g2-common: init: Setup VM/LMK/TCP tweaks after boot complete
ZdrowyGosciu Nov 4, 2015
5d34a52
g2-common: Setup QC-QMI logmask
stellirin Nov 8, 2015
bf094f0
g2-common: Use OSS TimeKeep service by Sony
stellirin Nov 10, 2015
643c1d2
g2-common: init: Enable QCOM thermal engine & time daemon services
ZdrowyGosciu Nov 12, 2015
26008c5
g2-common: SEPolicy: Allow thermanager to shutdown the device
invisiblek Nov 16, 2015
267768b
g2-common: init: Start set_baseband at boot complete
intervigilium Nov 16, 2015
5a9c29e
g2-common: init: power: Remove interactive GOV setup
ZdrowyGosciu Nov 24, 2015
5a38c4f
g2-common: thermanager: Disable brightness control
finnq Nov 29, 2015
902c1f6
g2-common: Kill mm-parser
hyperb1iss Nov 27, 2015
67e1dab
g2-common: configs: thermanager.xml: Fix backlight error
ZdrowyGosciu Nov 29, 2015
deaab50
g2-common: init: power: Move Power HAL permission to CM profile
ZdrowyGosciu Dec 4, 2015
31bb59a
fstab: mount ext4 cache and data with journal_async_commit
invisiblek Dec 2, 2015
bd4cac9
fstab: don't trim persist, sns, persist-lg or mpt
invisiblek Nov 25, 2015
187d229
fstab: notrim is an fs_mgr flag, move it there
invisiblek Nov 26, 2015
f588967
g2-common: fstab: Support USB OTG storage, but not adoptable
jsharkey Nov 30, 2015
919eedc
g2-common: Enable new sample rate representation
Rashed97 Oct 20, 2015
e458d7c
g2-common: Cleanup audio policy
Rashed97 Oct 18, 2015
05c1b0d
Revert "g2-common: fstab: Support USB OTG storage, but not adoptable"
ZdrowyGosciu Dec 11, 2015
f3da86c
g2-common: Cleanup com.android.future.usb.accessory package
mikeNG Nov 30, 2015
c471aa2
g2-common: adding compilation of libextmedia_jni & libqcmediaplayer
Aug 11, 2015
2052b56
g2-common: media_codecs: Checkout from CAF 6.0 tree
Rashed97 Oct 14, 2015
7ce86ce
g2-common: remove video editor from media_profiles.xml
May 28, 2015
726b89d
g2-common: Clean up media library listing
intervigilium Nov 30, 2015
3be893b
g2-common: Remove proprietary-files.txt
ZdrowyGosciu Dec 12, 2015
4fb7d96
g2-common: init: power: Enable adaptive lmk
invisiblek Nov 15, 2015
05b5e0a
g2-common: init: power: Cleanup (sync for LP511M kernel)
ZdrowyGosciu Dec 12, 2015
63885e9
g2-common: init: power: Add MM OSAL logmask
ZdrowyGosciu Dec 12, 2015
83f1691
g2-common: init: power: Update read ahead to 512 kB
ZdrowyGosciu Dec 12, 2015
d92610f
g2-common: init: Enable DT2W at startup
ZdrowyGosciu Dec 12, 2015
7bcb62b
g2-common: Build OTAUpdates + Camera apps
ZdrowyGosciu Dec 13, 2015
46b5ebb
g2-common: Revert last media libs commits
ZdrowyGosciu Dec 13, 2015
03231e0
g2-common: Use Intelliplug as default hotplug
ZdrowyGosciu Dec 14, 2015
97bcf68
g2-common: init: power: Lower GPU max freq to 320MHz
ZdrowyGosciu Dec 14, 2015
1f45222
g2-common: Build kernel with GCC 4.9
ZdrowyGosciu Dec 14, 2015
5d2200a
g2-common: init: power: Remove LMK settings
ZdrowyGosciu Dec 16, 2015
1b73c07
Revert "g2-common: Use OSS TimeKeep service by Sony"
ZdrowyGosciu Dec 16, 2015
4ef9415
g2-common: init: power: Tune LMK minfree
ZdrowyGosciu Dec 17, 2015
c492805
g2-common: init: power: Move LMK + VM pressure settings to kernel
ZdrowyGosciu Dec 18, 2015
cf59e75
g2-common: configs: mixer_paths.xml: Raise volumes a bit
firebird11 Dec 22, 2015
8f58e93
g2-common: init: power: Setup interactive GOV (CAF)
ZdrowyGosciu Dec 30, 2015
43fbc79
g2-common: power HAL: Sync with CAF
ZdrowyGosciu Dec 30, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
165 changes: 75 additions & 90 deletions BoardConfigCommon.mk
Original file line number Diff line number Diff line change
Expand Up @@ -14,136 +14,121 @@
# limitations under the License.
#

# CPU
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_SPECIFIC_HEADER_PATH := device/lge/g2-common/include

# Architecture
TARGET_ARCH := arm
TARGET_ARCH_VARIANT := armv7-a-neon
TARGET_BOARD_PLATFORM := msm8974
TARGET_BOARD_PLATFORM_GPU := qcom-adreno330
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
TARGET_CPU_VARIANT := krait
#TARGET_USE_QCOM_BIONIC_OPTIMIZATION := true

TARGET_NO_RADIOIMAGE := true
TARGET_NO_BOOTLOADER := true
TARGET_GCC_VERSION_EXP := 4.9

# Assertions
TARGET_BOARD_INFO_FILE ?= device/lge/g2-common/board-info.txt

# Bootloader
TARGET_BOOTLOADER_BOARD_NAME := galbi
TARGET_NO_BOOTLOADER := true
TARGET_NO_RADIOIMAGE := true

# Platform
TARGET_BOARD_PLATFORM := msm8974
TARGET_BOARD_PLATFORM_GPU := qcom-adreno330

# Kernel information
BOARD_KERNEL_BASE := 0x00000000
BOARD_KERNEL_CMDLINE := no_underclock=0 console=none androidboot.hardware=g2 androidboot.bootdevice=msm_sdcc.1 user_debug=31 msm_rtb.filter=0x0 mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_g2_lgd_cmd
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x05000000 --tags_offset 0x04800000
BOARD_KERNEL_PAGESIZE := 2048
BOARD_KERNEL_SEPARATED_DT := true
# Kernel
BOARD_CUSTOM_BOOTIMG := true
BOARD_CUSTOM_BOOTIMG_MK := device/lge/g2-common/releasetools/mkbootimg.mk
BOARD_KERNEL_BASE := 0x00000000
BOARD_KERNEL_CMDLINE := no_underclock=0 console=ttyHSL0,115200,n8 androidboot.hardware=g2 androidboot.bootdevice=msm_sdcc.1 user_debug=31 msm_rtb.filter=0x0 mdss_mdp.panel=1:dsi:0:qcom,mdss_dsi_g2_lgd_cmd
BOARD_KERNEL_PAGESIZE := 2048
BOARD_KERNEL_SEPARATED_DT := true
BOARD_MKBOOTIMG_ARGS := --ramdisk_offset 0x05000000 --tags_offset 0x04800000
TARGET_KERNEL_SOURCE := kernel/lge/msm8974
TARGET_KERNEL_ARCH := arm

# Audio
BOARD_USES_ALSA_AUDIO:= true
AUDIO_FEATURE_LOW_LATENCY_PRIMARY := true
AUDIO_FEATURE_ENABLED_NEW_SAMPLE_RATE := true
BOARD_USES_ALSA_AUDIO := true

# Bluetooth
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/lge/g2-common/bluetooth
BOARD_BLUEDROID_VENDOR_CONF := device/lge/g2-common/bluetooth/vnd_g2.txt
BOARD_HAVE_BLUETOOTH := true
BOARD_HAVE_BLUETOOTH_BCM := true

# Wi-Fi
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
WPA_SUPPLICANT_VERSION := VER_0_8_X
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
BOARD_HOSTAPD_DRIVER := NL80211
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd
BOARD_WLAN_DEVICE := bcmdhd
WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path"
WIFI_DRIVER_FW_PATH_STA := "/system/etc/firmware/fw_bcmdhd.bin"
WIFI_DRIVER_FW_PATH_AP := "/system/etc/firmware/fw_bcmdhd_apsta.bin"
# Camera
COMMON_GLOBAL_CFLAGS += -DLG_CAMERA_HARDWARE
USE_DEVICE_SPECIFIC_CAMERA := true

# Charger
BOARD_CHARGER_ENABLE_SUSPEND := true
COMMON_GLOBAL_CFLAGS += \
-DBOARD_CHARGING_CMDLINE_NAME='"androidboot.mode"' \
-DBOARD_CHARGING_CMDLINE_VALUE='"chargerlogo"'

# CMHW
BOARD_HARDWARE_CLASS := device/lge/g2-common/cmhw/

# Display
USE_OPENGL_RENDERER := true
TARGET_USES_ION := true
#TARGET_USES_OVERLAY := true
TARGET_USES_C2D_COMPOSITION := true
HAVE_ADRENO_SOURCE := false
OVERRIDE_RS_DRIVER := libRSDriver_adreno.so
NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3

# EGL
MAX_EGL_CACHE_KEY_SIZE := 12*1024
MAX_EGL_CACHE_SIZE := 2048*1024
NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
OVERRIDE_RS_DRIVER := libRSDriver_adreno.so
TARGET_USES_ION := true
USE_OPENGL_RENDERER := true

# Qualcomm HALs
BOARD_USES_QCOM_HARDWARE := true

# QCOM PowerHAL
TARGET_POWERHAL_VARIANT := g2
# Fonts
EXTENDED_FONT_FOOTPRINT := true

# Lights
TARGET_PROVIDES_LIBLIGHT := true

# Camera
USE_DEVICE_SPECIFIC_CAMERA := true
COMMON_GLOBAL_CFLAGS += -DLG_CAMERA_HARDWARE
#COMMON_GLOBAL_CFLAGS += -DLPA_DEFAULT_BUFFER_SIZE=512

# Flags
#TARGET_RELEASE_CPPFLAGS += -DNEEDS_VECTORIMPL_SYMBOLS
COMMON_GLOBAL_CFLAGS += -DNO_SECURE_DISCARD

RECOVERY_FSTAB_VERSION = 2
TARGET_RECOVERY_FSTAB = device/lge/g2-common/rootdir/etc/fstab.g2
BOARD_USE_CUSTOM_RECOVERY_FONT := \"roboto_23x41.h\"
TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
BOARD_HAS_NO_SELECT_BUTTON := true
COMMON_GLOBAL_CFLAGS += -DNO_SECURE_DISCARD

TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_USE_F2FS := true
# Partitions
BOARD_FLASH_BLOCK_SIZE := 131072
BOARD_BOOTIMAGE_PARTITION_SIZE := 23068672 # 22M
BOARD_CACHEIMAGE_PARTITION_SIZE := 734003200 #700M
BOARD_RECOVERYIMAGE_PARTITION_SIZE := 23068672 # 22M
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2684354560 # 2.5G (actually 2.75, but leave room for model variation)
BOARD_USERDATAIMAGE_PARTITION_SIZE := 13725837312 # 12.8G (its much larger, but this is enough for now)
BOARD_CACHEIMAGE_PARTITION_SIZE := 734003200 #700M
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
BOARD_FLASH_BLOCK_SIZE := 131072 # (BOARD_KERNEL_PAGESIZE * 64)

# Bluetooth
BOARD_HAVE_BLUETOOTH := true
BOARD_HAVE_BLUETOOTH_BCM := true
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/lge/g2-common/bluetooth
BOARD_BLUEDROID_VENDOR_CONF := device/lge/g2-common/bluetooth/vnd_g2.txt
# Power
TARGET_POWERHAL_VARIANT := g2

# Fonts
EXTENDED_FONT_FOOTPRINT := true
# Qualcomm support
BOARD_USES_QCOM_HARDWARE := true
BOARD_USES_QC_TIME_SERVICES := true

# Offmode Charging
BOARD_CHARGER_ENABLE_SUSPEND := true
COMMON_GLOBAL_CFLAGS += \
-DBOARD_CHARGING_CMDLINE_NAME='"androidboot.mode"' \
-DBOARD_CHARGING_CMDLINE_VALUE='"chargerlogo"'
# Recovery
COMMON_GLOBAL_CFLAGS += -DNO_SECURE_DISCARD
TARGET_RECOVERY_FSTAB = device/lge/g2-common/rootdir/etc/fstab.g2
TARGET_RECOVERY_PIXEL_FORMAT := "RGBX_8888"
TARGET_RECOVERY_UPDATER_LIBS := librecovery_updater_g2
TARGET_USERIMAGES_USE_EXT4 := true
TARGET_USERIMAGES_USE_F2FS := true

# CM Hardware
BOARD_HARDWARE_CLASS := device/lge/g2-common/cmhw/
# Releasetools
TARGET_RELEASETOOLS_EXTENSIONS := device/lge/g2-common/releasetools

# RIL
BOARD_RIL_CLASS := ../../../device/lge/g2-common/ril/
TARGET_RELEASE_CPPFLAGS += -DNEEDS_LGE_RIL_SYMBOLS

# SELinux policies
# QCOM sepolicy
include device/qcom/sepolicy/sepolicy.mk

BOARD_SEPOLICY_DIRS += \
device/lge/g2-common/sepolicy

# RIL
BOARD_RIL_CLASS := ../../../device/lge/g2-common/ril/
TARGET_RELEASE_CPPFLAGS += -DNEEDS_LGE_RIL_SYMBOLS

# Releasetools
TARGET_RECOVERY_UPDATER_LIBS := librecovery_updater_g2
TARGET_RELEASETOOLS_EXTENSIONS := device/lge/g2-common/releasetools

# Qualcomm time
BOARD_USES_QC_TIME_SERVICES := true
BOARD_SEPOLICY_UNION += \
thermanager.te

# Device headers
TARGET_SPECIFIC_HEADER_PATH := device/lge/g2-common/include
# Wi-Fi
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
WPA_SUPPLICANT_VERSION := VER_0_8_X
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_bcmdhd
BOARD_HOSTAPD_DRIVER := NL80211
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_bcmdhd
BOARD_WLAN_DEVICE := bcmdhd
WIFI_DRIVER_FW_PATH_PARAM := "/sys/module/bcmdhd/parameters/firmware_path"
WIFI_DRIVER_FW_PATH_STA := "/system/etc/firmware/fw_bcmdhd.bin"
WIFI_DRIVER_FW_PATH_AP := "/system/etc/firmware/fw_bcmdhd_apsta.bin"
7 changes: 2 additions & 5 deletions bluetooth/vnd_g2.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
BLUETOOTH_UART_DEVICE_PORT = "/dev/ttyHS99"
FW_PATCHFILE_LOCATION = "/vendor/firmware/"
FW_PRE_PATCH="/vendor/firmware/bcm4335_prepatch.hcd"
FW_PATCH_SETTLEMENT_DELAY_MS = 100
UART_TARGET_BAUD_RATE = 3000000
LPM_IDLE_TIMEOUT_MULTIPLE = 5
BT_WAKE_VIA_PROC = TRUE
SCO_USE_I2S_INTERFACE = FALSE
SCO_I2SPCM_IF_ROLE = 0
BTVND_DBG = FALSE
BTHW_DBG = FALSE
VNDUSERIAL_DBG = FALSE
UPIO_DBG = FALSE
USE_AXI_BRIDGE_LOCK = TRUE
UART_FORCE_TWO_STOPBITS = TRUE
27 changes: 0 additions & 27 deletions configs/audio_effects.conf
Original file line number Diff line number Diff line change
Expand Up @@ -278,30 +278,3 @@ effects {
#
# TODO: add default audio pre processor configurations after debug and tuning phase
#

# Audio output session configurations.
# New for L, similar to above but for playback streams
# Enables FX settings for a given stream type. Valid stream types are:
# "default", "voice_call", "system", "ring", "music", "alarm", "notification",
# "bluetooth_sco", "enforced_audible", "dtmf", "tts"

output_session_processing {
music {
music_helper { }
}
ring {
ring_helper { }
}
alarm {
ring_helper { }
}
voice_call {
voice_helper { }
}
tts {
tts_helper { }
}
notification {
notification_helper { }
}
}
62 changes: 0 additions & 62 deletions configs/audio_platform_info.xml

This file was deleted.

Loading