Skip to content

Commit

Permalink
Add new M blobs and configs
Browse files Browse the repository at this point in the history
  • Loading branch information
Grarak committed Apr 1, 2016
1 parent 06c0eab commit d26f343
Show file tree
Hide file tree
Showing 32 changed files with 813 additions and 698 deletions.
5 changes: 1 addition & 4 deletions BoardConfigCommon.mk
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ MALLOC_IMPL := dlmalloc

# Kernel
BOARD_DTBTOOL_ARGS := --dt-tag "htc,project-id = <"
BOARD_KERNEL_CMDLINE := console=none androidboot.hardware=qcom user_debug=31 ehci-hcd.park=3 zcache androidboot.selinux=permissive
BOARD_KERNEL_CMDLINE := console=none androidboot.hardware=qcom user_debug=31 ehci-hcd.park=3 zcache
BOARD_KERNEL_BASE := 0x00000000
BOARD_KERNEL_PAGESIZE := 2048
BOARD_KERNEL_SEPARATED_DT := true
Expand Down Expand Up @@ -93,9 +93,6 @@ TARGET_SPECIFIC_HEADER_PATH := $(LOCAL_PATH)/include
# Lights
TARGET_PROVIDES_LIBLIGHT := true

# Logging
COMMON_GLOBAL_CFLAGS += -DMOTOROLA_LOG

# NFC
BOARD_NFC_CHIPSET := pn547

Expand Down
17 changes: 16 additions & 1 deletion a5-common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,13 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
libshim_log

# GPS
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/flp.conf:system/etc/flp.conf \
$(LOCAL_PATH)/configs/gps.conf:system/etc/gps.conf \
$(LOCAL_PATH)/configs/izat.conf:system/etc/izat.conf \
$(LOCAL_PATH)/configs/sap.conf:system/etc/sap.conf

# Graphics
PRODUCT_PACKAGES += \
copybit.msm8226 \
Expand Down Expand Up @@ -174,9 +181,17 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
power.msm8226

# RIL
PRODUCT_PACKAGES += \
libcnefeatureconfig \
libxml2 \
libstlport \
libshim_ril

# Thermal
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/thermal-engine.conf:system/etc/thermal-engine.conf
$(LOCAL_PATH)/configs/thermal-engine.conf:system/etc/thermal-engine.conf \
$(LOCAL_PATH)/configs/thermal-engine-8226.conf:system/etc/thermal-engine-8226.conf

# USB
PRODUCT_PACKAGES += \
Expand Down
11 changes: 10 additions & 1 deletion audio/mixer_paths.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- Version: A5 20140304_add_voice_call_with_enforce_shutter_sound -->
<!-- Version: A5 20151026_add_init_value_for_some_paths -->
<mixer>
<!-- These are the initial mixer settings -->
<ctl name="Voice Rx Device Mute" id="0" value="0" />
Expand Down Expand Up @@ -55,14 +55,17 @@
<ctl name="Voice_Tx Mixer INTERNAL_BT_SCO_TX_Voice" value="0" />
<ctl name="HDMI_RX_Voice Mixer CSVoice" value="0" />
<ctl name="SLIM_0_RX_Voice Mixer CSVoice" value="0" />
<ctl name="SLIM_0_RX_Voice Mixer Voip" value="0" />
<ctl name="SLIMBUS_4_RX Audio Mixer MultiMedia1" value="0" />
<ctl name="SLIMBUS_4_RX Audio Mixer MultiMedia2" value="0" />
<ctl name="MultiMedia5 Mixer SLIM_0_TX" value="0" />
<ctl name="MultiMedia5 Mixer AFE_PCM_TX" value="0" />
<ctl name="MultiMedia5 Mixer INTERNAL_FM_TX" value="0" />
<ctl name="MultiMedia1 Mixer MI2S_TX" value="0" />
<ctl name="MultiMedia1 Mixer SLIM_0_TX" value="0" />
<ctl name="MultiMedia1 Mixer SLIM_4_TX" value="0" />
<ctl name="MultiMedia1 Mixer SEC_AUX_PCM_UL_TX" value="0" />
<ctl name="MultiMedia1 Mixer AFE_PCM_TX" value="0" />
<ctl name="HDMI Mixer MultiMedia1" value="0" />
<ctl name="HDMI Mixer MultiMedia2" value="0" />
<ctl name="HDMI Mixer MultiMedia3" value="0" />
Expand Down Expand Up @@ -139,6 +142,8 @@
<ctl name="MultiMedia1 Mixer VOC_REC_UL" value="0" />
<ctl name="MultiMedia1 Mixer VOC_REC_DL" value="0" />
<!-- Incall Recording end -->
<!-- Audio BTSCO -->
<ctl name="MultiMedia5 Mixer INTERNAL_BT_SCO_TX" value="0" />
<!-- anc headset -->
<!-- IIR/voice anc -->
<ctl name="IIR1 Band1" id="0" value="268435456" />
Expand Down Expand Up @@ -1064,6 +1069,10 @@

<path name="speaker-and-headphones">
<path name="headphones" />
<ctl name="RX4 MIX1 INP1" value="RX1" />
<ctl name="RX4 MIX1 INP2 Mux" value="RX2" />
<ctl name="SPK DAC Switch" value="1" />
<ctl name="COMP0 Switch" value="1" />
</path>

<path name="usb-headphones">
Expand Down
4 changes: 4 additions & 0 deletions cm.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,9 @@
{
"repository": "android_device_qcom_common",
"target_path": "device/qcom/common"
},
{
"repository": "android_external_stlport",
"target_path": "external/stlport"
}
]
138 changes: 73 additions & 65 deletions common-proprietary-files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ bin/adsprpcd
vendor/lib/libadsprpc.so
vendor/lib/libfastcvadsp_stub.so
vendor/lib/libfastcvopt.so
vendor/lib/rfsa/adsp/libadsp_denoise_skel.so
vendor/lib/rfsa/adsp/libfastcvadsp.so
vendor/lib/rfsa/adsp/libfastcvadsp_skel.so
vendor/lib/rfsa/adsp/libdspCV_skel.so

# Audio
etc/Bluetooth_cal.acdb
Expand All @@ -18,76 +14,77 @@ etc/Headset_cal.acdb
etc/Speaker_cal.acdb
etc/tfa/playback.drc
etc/tfa/playback.eq
etc/tfa/playback.preset
etc/tfa/playback_l.drc
etc/tfa/playback_l.eq
etc/tfa/playback_l.preset
etc/tfa/playback.preset
etc/tfa/tfa9895.config
etc/tfa/tfa9895_l.speaker
etc/tfa/tfa9895.patch
etc/tfa/tfa9895.speaker
etc/tfa/voice_l.drc
etc/tfa/tfa9895_l.speaker
etc/tfa/voice.drc
etc/tfa/voice_l.eq
etc/tfa/voice.eq
etc/tfa/voice_l.preset
etc/tfa/voice.preset
etc/tfa/voice_l.drc
etc/tfa/voice_l.eq
etc/tfa/voice_l.preset
etc/tfa/voip.drc
etc/tfa/voip.eq
etc/tfa/voip.preset
etc/tfa/voip_l.drc
etc/tfa/voip_l.eq
etc/tfa/voip_l.preset
etc/tfa/voip.preset
vendor/lib/libacdbloader.so
vendor/lib/libacdbmapper.so
vendor/lib/libacdbrtac.so
vendor/lib/libadiertac.so
vendor/lib/libaudcal.so
vendor/lib/soundfx/libqcbassboost.so
vendor/lib/soundfx/libqcvirt.so
vendor/lib/soundfx/libqcreverb.so
vendor/lib/soundfx/libqcvirt.so

# Bluetooth
bin/hci_qcomm_init

# Camera
bin/mm-qcamera-daemon
etc/firmware/ILP0100_IPM_Code_out.bin
etc/firmware/ILP0100_IPM_Data_out.bin
etc/firmware/alIAF_InData_4M2M
etc/firmware/cpp_firmware_v1_1_1.fw
etc/firmware/cpp_firmware_v1_1_6.fw
etc/firmware/cpp_firmware_v1_2_0.fw
etc/firmware/ILP0100_IPM_Code_out.bin
etc/firmware/ILP0100_IPM_Data_out.bin
etc/firmware/lscbuffer_rev2.bin
lib/libawb_calibration.so
lib/hw/camera.msm8226.so
lib/libBeautyChat.so
lib/libawb_calibration.so
lib/libcamera_aec.so
lib/libcamera_af.so
lib/libcamera_awb.so
lib/libcameraface.so
lib/libcamerapp.so
lib/libhtccamera.so
lib/libmmcamera_interface.so
lib/libmmjpeg_interface.so
lib/libposteffect.so
lib/libqomx_core.so
lib/libtuning_aec_ov13850_hdr_16_9.so
lib/libtuning_aec.so
lib/libtuning_aec_ov13850_hdr.so
lib/libtuning_aec_ov13850_night_16_9.so
lib/libtuning_aec_ov13850_hdr_16_9.so
lib/libtuning_aec_ov13850_night.so
lib/libtuning_aec_ov13850_video_60fps.so
lib/libtuning_aec_ov13850_videoHFR.so
lib/libtuning_aec_ov13850_night_16_9.so
lib/libtuning_aec_ov13850_video.so
lib/libtuning_aec_ov13850_videoHFR.so
lib/libtuning_aec_ov13850_video_60fps.so
lib/libtuning_aec_ov13850_zoe.so
lib/libtuning_aec_ov13850_zsl_16_9.so
lib/libtuning_aec_ov13850_zsl.so
lib/libtuning_aec_s5k5e_onelane_hdr_16_9.so
lib/libtuning_aec_ov13850_zsl_16_9.so
lib/libtuning_aec_s5k5e_onelane_hdr.so
lib/libtuning_aec_s5k5e_onelane_video_16_9.so
lib/libtuning_aec_s5k5e_onelane_hdr_16_9.so
lib/libtuning_aec_s5k5e_onelane_video.so
lib/libtuning_aec_s5k5e_onelane_zsl_16_9.so
lib/libtuning_aec_s5k5e_onelane_video_16_9.so
lib/libtuning_aec_s5k5e_onelane_zsl.so
lib/libtuning_aec.so
lib/libtuning_aec_s5k5e_onelane_zsl_16_9.so
lib/libtuning_af.so
lib/libtuning_af_ti201_ov13850.so
lib/libtuning_af_ti201_ov13850_otp.so
Expand All @@ -96,8 +93,8 @@ lib/libtuning_awb_s5k5e_onelane.so
vendor/lib/libchromatix_ov13850_common.so
vendor/lib/libchromatix_ov13850_default_video.so
vendor/lib/libchromatix_ov13850_hdr.so
vendor/lib/libchromatix_ov13850_hfr_60fps.so
vendor/lib/libchromatix_ov13850_hfr.so
vendor/lib/libchromatix_ov13850_hfr_60fps.so
vendor/lib/libchromatix_ov13850_preview.so
vendor/lib/libchromatix_ov13850_qtr.so
vendor/lib/libchromatix_ov13850_zoe.so
Expand All @@ -106,6 +103,8 @@ vendor/lib/libchromatix_s5k5e_onelane_default_video.so
vendor/lib/libchromatix_s5k5e_onelane_hdr.so
vendor/lib/libchromatix_s5k5e_onelane_preview.so
vendor/lib/libchromatix_s5k5e_onelane_video_16_9.so
vendor/lib/libjpegdhw.so
vendor/lib/libjpegehw.so
vendor/lib/libmmcamera2_c2d_module.so
vendor/lib/libmmcamera2_cpp_module.so
vendor/lib/libmmcamera2_iface_modules.so
Expand All @@ -125,19 +124,23 @@ vendor/lib/libmmcamera_ov13850.so
vendor/lib/libmmcamera_s5k5e_onelane.so
vendor/lib/libmmcamera_tintless_algo.so
vendor/lib/libmmcamera_tintless_bg_pca_algo.so
vendor/lib/libmmcamera_tuning.so
vendor/lib/libmmcamera_wavelet_lib.so
vendor/lib/libmmipl.so
vendor/lib/libmmjpeg.so
vendor/lib/libmmqjpeg_codec.so
vendor/lib/liboemcamera.so
vendor/lib/libqomx_jpegdec.so
vendor/lib/libqomx_jpegenc.so

# GPS
etc/gps.conf
lib/hw/gps.default.so
lib/libgps.utils.so
lib/libloc_api_v02.so
lib/libloc_core.so
lib/libloc_ds_api.so
lib/libloc_eng.so
vendor/lib/hw/flp.default.so
vendor/lib/libflp.so
vendor/lib/libgeofence.so
vendor/lib/libizat_core.so
vendor/lib/liblbs_core.so
Expand All @@ -157,24 +160,18 @@ vendor/lib/egl/libEGL_adreno.so
vendor/lib/egl/libGLESv1_CM_adreno.so
vendor/lib/egl/libGLESv2_adreno.so
vendor/lib/egl/libq3dtools_adreno.so
vendor/lib/libadreno_utils.so
vendor/lib/libC2D2.so
vendor/lib/libc2d30-a3xx.so
vendor/lib/libc2d30-a4xx.so
vendor/lib/libc2d30.so
vendor/lib/libCB.so
vendor/lib/libOpenCL.so
vendor/lib/libRSDriver_adreno.so
vendor/lib/libadreno_utils.so
vendor/lib/libc2d30-a3xx.so
vendor/lib/libgsl.so
vendor/lib/libllvm-qcom.so
vendor/lib/libOpenCL.so
vendor/lib/libOpenVG.so
vendor/lib/librs_adreno_sha1.so
vendor/lib/librs_adreno.so
vendor/lib/libRSDriver_adreno.so
vendor/lib/librs_adreno_sha1.so
vendor/lib/libsc-a3xx.so

# IRSC
bin/irsc_util

# Media
etc/firmware/venus.b00
etc/firmware/venus.b01
Expand All @@ -183,60 +180,71 @@ etc/firmware/venus.b03
etc/firmware/venus.b04
etc/firmware/venus.mbn
etc/firmware/venus.mdt
lib/libmmjpeg_interface.so
vendor/lib/libI420colorconvert.so
vendor/lib/libjpegdhw.so
vendor/lib/libjpegehw.so
vendor/lib/libmm-color-convertor.so
vendor/lib/libmmjpeg.so
vendor/lib/libmmqjpeg_codec.so
vendor/lib/libqomx_jpegdec.so
vendor/lib/libqomx_jpegenc.so
vendor/lib/libOmxAacDec.so
vendor/lib/libOmxEvrcDec.so
vendor/lib/libOmxQcelp13Dec.so

# Perf
vendor/lib/libqti-perfd-client.so

# Power
bin/mpdecision
bin/thermal-engine
vendor/bin/thermal-engine
vendor/lib/libthermalclient.so
vendor/lib/libthermalioctl.so

# QMI
bin/rmt_storage

# Radio
vendor/lib/libqti-perfd-client.so

# Sensors
bin/akmd
lib/hw/sensors.msm8226.so

# Time
-app/TimeService/TimeService.apk
bin/time_daemon
-vendor/lib/libTimeService.so
-vendor/lib/libtime_genoff.so

# TrustZone
bin/qseecomd
etc/firmware/cmnlib.b00
etc/firmware/cmnlib.b01
etc/firmware/cmnlib.b02
etc/firmware/cmnlib.b03
etc/firmware/cmnlib.mdt
etc/firmware/hcheck.b00
etc/firmware/hcheck.b01
etc/firmware/hcheck.b02
etc/firmware/hcheck.b03
etc/firmware/hcheck.mdt

# DRM
bin/qseecomd
vendor/firmware/cmnlib.b00
vendor/firmware/cmnlib.b01
vendor/firmware/cmnlib.b02
vendor/firmware/cmnlib.b03
vendor/firmware/cmnlib.mdt
etc/firmware/dxhdcp2.b00
etc/firmware/dxhdcp2.b01
etc/firmware/dxhdcp2.b02
etc/firmware/dxhdcp2.b03
etc/firmware/dxhdcp2.mdt
vendor/firmware/keymaster/keymaster.b00
vendor/firmware/keymaster/keymaster.b01
vendor/firmware/keymaster/keymaster.b02
vendor/firmware/keymaster/keymaster.b03
vendor/firmware/keymaster/keymaster.mdt
vendor/lib/drm/libdrmwvmplugin.so
vendor/lib/libQSEEComAPI.so
vendor/lib/libWVStreamControlAPI_L1.so
vendor/lib/libWVphoneAPI.so
vendor/lib/libdrmdecrypt.so
vendor/lib/libwvdrm_L1.so
vendor/lib/libdrmdiag.so
vendor/lib/libdrmfs.so
vendor/lib/libdrmtime.so
vendor/lib/librpmb.so
vendor/lib/libssd.so

# Widevine
etc/firmware/widevine.b00
etc/firmware/widevine.b01
etc/firmware/widevine.b02
etc/firmware/widevine.b03
etc/firmware/widevine.mdt
lib/libdrmdecrypt.so
vendor/lib/drm/libdrmwvmplugin.so
vendor/lib/libDivxDrm.so
vendor/lib/libSHIMDivxDrm.so
vendor/lib/libWVStreamControlAPI_L3.so
vendor/lib/libwvdrm_L3.so
vendor/lib/libwvm.so
vendor/lib/mediadrm/libdrmclearkeyplugin.so
vendor/lib/mediadrm/libwvdrmengine.so
Loading

0 comments on commit d26f343

Please sign in to comment.