Skip to content

Instantly share code, notes, and snippets.

@sooorajjj
Last active November 22, 2018 15:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sooorajjj/d7b6bc803f09db1f14c386d4b56247c4 to your computer and use it in GitHub Desktop.
Save sooorajjj/d7b6bc803f09db1f14c386d4b56247c4 to your computer and use it in GitHub Desktop.
qcom_msm8909_gps_remove.patch
diff --git a/msm8909w.mk b/msm8909w.mk
index 03bde3c..cba1429 100644
--- a/msm8909w.mk
+++ b/msm8909w.mk
@@ -5,7 +5,7 @@ BOARD_SEPOLICY_8909W_DIR := device/qcom/msm8909w/sepolicy
BOARD_OPENSOURCE_DIR := device/qcom/msm8909w/opensource
BOARD_DLKM_DIR := device/qcom/msm8909w/common/dlkm
-BOARD_GPS_HAL := hardware/qcom/gps/msm8909
+# BOARD_GPS_HAL := hardware/qcom/gps/msm8909
BOARD_DISPLAY_HAL := hardware/qcom/display/msm8909
BOARD_BT_HAL := hardware/qcom/bt/msm8909
BOARD_WLAN_HAL := hardware/qcom/wlan/msm8909
diff --git a/system.prop b/system.prop
index f01785a..66a6b41 100644
--- a/system.prop
+++ b/system.prop
@@ -223,3 +223,7 @@ ro.am.reschedule_service=true
#Enable feedback driven core_ctl
ro.qti.userspacectl=true
+
+
+## Nimo custom HW
+config.disable_location=true
\ No newline at end of file
diff --git a/wearable_core_hardware.xml b/wearable_core_hardware.xml
index f0d5e5e..851fe07 100644
--- a/wearable_core_hardware.xml
+++ b/wearable_core_hardware.xml
@@ -28,7 +28,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-->
<permissions>
<feature name="android.hardware.type.watch" />
- <feature name="android.hardware.location" />
<feature name="android.hardware.sensor.compass" />
<feature name="android.hardware.sensor.accelerometer" />
<feature name="android.hardware.bluetooth" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment