Skip to content

Commit

Permalink
nx510j: Update GPS blobs
Browse files Browse the repository at this point in the history
Change-Id: I5575c62573022227c991fc56b6625be4de62ff43
  • Loading branch information
moetayuko committed Oct 6, 2015
1 parent 75aa14d commit 956a441
Show file tree
Hide file tree
Showing 42 changed files with 89 additions and 20 deletions.
37 changes: 37 additions & 0 deletions Android.mk
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,43 @@ LOCAL_MULTILIB := both
LOCAL_PROPRIETARY_MODULE := true
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := com.qualcomm.location
LOCAL_MODULE_OWNER := zte
LOCAL_SRC_FILES := proprietary/priv-app/com.qualcomm.location/com.qualcomm.location.apk
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
LOCAL_MODULE_CLASS := APPS
LOCAL_PRIVILEGED_MODULE := true
LOCAL_CERTIFICATE := platform
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := libloc_api_v02
LOCAL_MODULE_OWNER := zte
LOCAL_SRC_FILES_64 := proprietary/lib64/libloc_api_v02.so
LOCAL_SRC_FILES_32 := proprietary/lib/libloc_api_v02.so
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_SUFFIX := .so
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_PATH_64 := $(TARGET_OUT_SHARED_LIBRARIES)
LOCAL_MODULE_PATH_32 := $(2ND_TARGET_OUT_SHARED_LIBRARIES)
LOCAL_MULTILIB := both
include $(BUILD_PREBUILT)

include $(CLEAR_VARS)
LOCAL_MODULE := libloc_ds_api
LOCAL_MODULE_OWNER := zte
LOCAL_SRC_FILES_64 := proprietary/lib64/libloc_ds_api.so
LOCAL_SRC_FILES_32 := proprietary/lib/libloc_ds_api.so
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_SUFFIX := .so
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_PATH_64 := $(TARGET_OUT_SHARED_LIBRARIES)
LOCAL_MODULE_PATH_32 := $(2ND_TARGET_OUT_SHARED_LIBRARIES)
LOCAL_MULTILIB := both
include $(BUILD_PREBUILT)

$(shell mkdir -p $(PRODUCT_OUT)/system/vendor/lib/egl && pushd $(PRODUCT_OUT)/system/vendor/lib > /dev/null && ln -s egl/libEGL_adreno.so libEGL_adreno.so && popd > /dev/null)
$(shell mkdir -p $(PRODUCT_OUT)/system/vendor/lib64/egl && pushd $(PRODUCT_OUT)/system/vendor/lib64 > /dev/null && ln -s egl/libEGL_adreno.so libEGL_adreno.so && popd > /dev/null)

Expand Down
41 changes: 22 additions & 19 deletions nx510j-vendor-blobs.mk
Original file line number Diff line number Diff line change
Expand Up @@ -660,31 +660,34 @@ PRODUCT_COPY_FILES += \
vendor/zte/nx510j/proprietary/vendor/lib/libOmxMux.so:system/vendor/lib/libOmxMux.so \
vendor/zte/nx510j/proprietary/vendor/lib/libSHIMDivxDrm.so:system/vendor/lib/libSHIMDivxDrm.so \
vendor/zte/nx510j/proprietary/vendor/lib/libextendedmediaextractor.so:system/vendor/lib/libextendedmediaextractor.so \
vendor/zte/nx510j/proprietary/lib64/hw/gps.default.so:system/lib64/hw/gps.default.so \
vendor/zte/nx510j/proprietary/lib64/libgps.utils.so:system/lib64/libgps.utils.so \
vendor/zte/nx510j/proprietary/lib64/libloc_api_v02.so:system/lib64/libloc_api_v02.so \
vendor/zte/nx510j/proprietary/lib64/libloc_core.so:system/lib64/libloc_core.so \
vendor/zte/nx510j/proprietary/lib64/libloc_ds_api.so:system/lib64/libloc_ds_api.so \
vendor/zte/nx510j/proprietary/lib64/libloc_eng.so:system/lib64/libloc_eng.so \
vendor/zte/nx510j/proprietary/lib/hw/gps.default.so:system/lib/hw/gps.default.so \
vendor/zte/nx510j/proprietary/lib/libgps.utils.so:system/lib/libgps.utils.so \
vendor/zte/nx510j/proprietary/lib/libloc_api_v02.so:system/lib/libloc_api_v02.so \
vendor/zte/nx510j/proprietary/lib/libloc_core.so:system/lib/libloc_core.so \
vendor/zte/nx510j/proprietary/lib/libloc_ds_api.so:system/lib/libloc_ds_api.so \
vendor/zte/nx510j/proprietary/lib/libloc_eng.so:system/lib/libloc_eng.so \
vendor/zte/nx510j/proprietary/vendor/bin/slim_ap_daemon:system/vendor/bin/slim_ap_daemon \
vendor/zte/nx510j/proprietary/bin/location-mq:system/bin/location-mq \
vendor/zte/nx510j/proprietary/bin/loc_launcher:system/bin/loc_launcher \
vendor/zte/nx510j/proprietary/bin/quipc_igsn:system/bin/quipc_igsn \
vendor/zte/nx510j/proprietary/etc/permissions/com.qualcomm.location.xml:system/etc/permissions/com.qualcomm.location.xml \
vendor/zte/nx510j/proprietary/vendor/lib64/hw/flp.default.so:system/vendor/lib64/hw/flp.default.so \
vendor/zte/nx510j/proprietary/vendor/lib64/libgeofence.so:system/vendor/lib64/libgeofence.so \
vendor/zte/nx510j/proprietary/vendor/lib64/libizat_core.so:system/vendor/lib64/libizat_core.so \
vendor/zte/nx510j/proprietary/vendor/lib64/liblbs_core.so:system/vendor/lib64/liblbs_core.so \
vendor/zte/nx510j/proprietary/vendor/lib64/libasn1cper.so:system/vendor/lib64/libasn1cper.so \
vendor/zte/nx510j/proprietary/vendor/lib64/libasn1crt.so:system/vendor/lib64/libasn1crt.so \
vendor/zte/nx510j/proprietary/vendor/lib64/libasn1crtx.so:system/vendor/lib64/libasn1crtx.so \
vendor/zte/nx510j/proprietary/vendor/lib64/liblocationservice.so:system/vendor/lib64/liblocationservice.so \
vendor/zte/nx510j/proprietary/vendor/lib64/liblowi_client.so:system/vendor/lib64/liblowi_client.so \
vendor/zte/nx510j/proprietary/vendor/lib64/libquipc_os_api.so:system/vendor/lib64/libquipc_os_api.so \
vendor/zte/nx510j/proprietary/vendor/lib64/libulp2.so:system/vendor/lib64/libulp2.so \
vendor/zte/nx510j/proprietary/vendor/lib64/libxtadapter.so:system/vendor/lib64/libxtadapter.so \
vendor/zte/nx510j/proprietary/vendor/lib64/libxtwifi_ulp_adaptor.so:system/vendor/lib64/libxtwifi_ulp_adaptor.so \
vendor/zte/nx510j/proprietary/vendor/lib64/libxtwifi_zpp_adaptor.so:system/vendor/lib64/libxtwifi_zpp_adaptor.so \
vendor/zte/nx510j/proprietary/vendor/lib64/libalarmservice_jni.so:system/vendor/lib64/libalarmservice_jni.so \
vendor/zte/nx510j/proprietary/vendor/lib/hw/flp.default.so:system/vendor/lib/hw/flp.default.so \
vendor/zte/nx510j/proprietary/vendor/lib/libgeofence.so:system/vendor/lib/libgeofence.so \
vendor/zte/nx510j/proprietary/vendor/lib/libizat_core.so:system/vendor/lib/libizat_core.so \
vendor/zte/nx510j/proprietary/vendor/lib/liblbs_core.so:system/vendor/lib/liblbs_core.so \
vendor/zte/nx510j/proprietary/vendor/lib/libasn1cper.so:system/vendor/lib/libasn1cper.so \
vendor/zte/nx510j/proprietary/vendor/lib/libasn1crt.so:system/vendor/lib/libasn1crt.so \
vendor/zte/nx510j/proprietary/vendor/lib/libasn1crtx.so:system/vendor/lib/libasn1crtx.so \
vendor/zte/nx510j/proprietary/vendor/lib/liblocationservice.so:system/vendor/lib/liblocationservice.so \
vendor/zte/nx510j/proprietary/vendor/lib/liblowi_client.so:system/vendor/lib/liblowi_client.so \
vendor/zte/nx510j/proprietary/vendor/lib/libquipc_os_api.so:system/vendor/lib/libquipc_os_api.so \
vendor/zte/nx510j/proprietary/vendor/lib/libulp2.so:system/vendor/lib/libulp2.so \
vendor/zte/nx510j/proprietary/vendor/lib/libxtadapter.so:system/vendor/lib/libxtadapter.so \
vendor/zte/nx510j/proprietary/vendor/lib/libxtwifi_ulp_adaptor.so:system/vendor/lib/libxtwifi_ulp_adaptor.so \
vendor/zte/nx510j/proprietary/vendor/lib/libxtwifi_zpp_adaptor.so:system/vendor/lib/libxtwifi_zpp_adaptor.so \
vendor/zte/nx510j/proprietary/vendor/lib/libalarmservice_jni.so:system/vendor/lib/libalarmservice_jni.so \
vendor/zte/nx510j/proprietary/bin/sensors.qcom:system/bin/sensors.qcom \
vendor/zte/nx510j/proprietary/lib64/hw/sensors.oem.so:system/lib64/hw/sensors.oem.so \
vendor/zte/nx510j/proprietary/vendor/lib64/hw/sensors.msm8994.so:system/vendor/lib64/hw/sensors.msm8994.so \
Expand Down
5 changes: 4 additions & 1 deletion nx510j-vendor.mk
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ PRODUCT_PACKAGES += \
libtime_genoff \
libmdmdetect \
libFlacSwDec \
libmm-abl
libmm-abl \
com.qualcomm.location \
libloc_api_v02 \
libloc_ds_api

$(call inherit-product, vendor/zte/nx510j/nx510j-vendor-blobs.mk)
Binary file modified proprietary/app/TimeService/TimeService.apk
Binary file not shown.
Binary file added proprietary/bin/loc_launcher
Binary file not shown.
Binary file added proprietary/bin/location-mq
Binary file not shown.
Binary file added proprietary/bin/quipc_igsn
Binary file not shown.
26 changes: 26 additions & 0 deletions proprietary/etc/permissions/com.qualcomm.location.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>

<!---******************************************************************************
* @file com.qualcomm.location.xml
* @brief configuration file for permission mapping
* Copyright (c) 2012 Qualcomm Atheros, Inc.
* All Rights Reserved.
* Qualcomm Atheros Confidential and Proprietary.
* *****************************************************************************-->


<permissions>

<permission name="com.qualcomm.permission.IZAT" >
<group gid="gps" />
<group gid="net_raw" />
<group gid="net_admin" />
<group gid="system" />
<group gid="qcom_diag" />
<group gid="sdcard_rw" />
<group gid="media_rw" />
<group gid="wifi" />
</permission>

</permissions>

Binary file removed proprietary/lib/hw/gps.default.so
Binary file not shown.
Binary file removed proprietary/lib/libgps.utils.so
Binary file not shown.
Binary file removed proprietary/lib/libloc_core.so
Binary file not shown.
Binary file removed proprietary/lib/libloc_eng.so
Binary file not shown.
Binary file removed proprietary/lib64/hw/gps.default.so
Binary file not shown.
Binary file removed proprietary/lib64/libgps.utils.so
Binary file not shown.
Binary file removed proprietary/lib64/libloc_core.so
Binary file not shown.
Binary file removed proprietary/lib64/libloc_eng.so
Binary file not shown.
Binary file not shown.
Binary file removed proprietary/vendor/bin/slim_ap_daemon
Binary file not shown.
Binary file added proprietary/vendor/lib/hw/flp.default.so
Binary file not shown.
Binary file added proprietary/vendor/lib/libalarmservice_jni.so
Binary file not shown.
Binary file removed proprietary/vendor/lib/libasn1cper.so
Binary file not shown.
Binary file removed proprietary/vendor/lib/libasn1crt.so
Binary file not shown.
Binary file removed proprietary/vendor/lib/libasn1crtx.so
Binary file not shown.
Binary file added proprietary/vendor/lib/liblocationservice.so
Binary file not shown.
Binary file added proprietary/vendor/lib/liblowi_client.so
Binary file not shown.
Binary file added proprietary/vendor/lib/libquipc_os_api.so
Binary file not shown.
Binary file added proprietary/vendor/lib/libulp2.so
Binary file not shown.
Binary file added proprietary/vendor/lib/libxtadapter.so
Binary file not shown.
Binary file added proprietary/vendor/lib/libxtwifi_ulp_adaptor.so
Binary file not shown.
Binary file added proprietary/vendor/lib/libxtwifi_zpp_adaptor.so
Binary file not shown.
Binary file added proprietary/vendor/lib64/hw/flp.default.so
Binary file not shown.
Binary file added proprietary/vendor/lib64/libalarmservice_jni.so
Binary file not shown.
Binary file removed proprietary/vendor/lib64/libasn1cper.so
Binary file not shown.
Binary file removed proprietary/vendor/lib64/libasn1crt.so
Binary file not shown.
Binary file removed proprietary/vendor/lib64/libasn1crtx.so
Binary file not shown.
Binary file added proprietary/vendor/lib64/liblocationservice.so
Binary file not shown.
Binary file added proprietary/vendor/lib64/liblowi_client.so
Binary file not shown.
Binary file added proprietary/vendor/lib64/libquipc_os_api.so
Binary file not shown.
Binary file added proprietary/vendor/lib64/libulp2.so
Binary file not shown.
Binary file added proprietary/vendor/lib64/libxtadapter.so
Binary file not shown.
Binary file not shown.
Binary file added proprietary/vendor/lib64/libxtwifi_zpp_adaptor.so
Binary file not shown.

0 comments on commit 956a441

Please sign in to comment.