Skip to content

Instantly share code, notes, and snippets.

@codekidX
Created June 19, 2014 08:45
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 codekidX/62c73e655f282ee4bf0a to your computer and use it in GitHub Desktop.
Save codekidX/62c73e655f282ee4bf0a to your computer and use it in GitHub Desktop.
diff --git a/device_mint.mk b/device_mint.mk
index 2e335e1..97e646c 100644
--- a/device_mint.mk
+++ b/device_mint.mk
@@ -60,3 +60,11 @@ TARGET_BUILD_VARIANT := userdebug
PRODUCT_AAPT_CONFIG := normal ldpi mdpi nodpi
PRODUCT_AAPT_PREF_CONFIG := ldpi
+# These are the hardware-specific settings that are stored in system properties.
+# Note that the only such settings should be the ones that are too low-level to
+# be reachable from resources or other mechanisms.
+PRODUCT_PROPERTY_OVERRIDES += \
+ wifi.interface=wlan0 \
+ mobiledata.interfaces=rmnet0 \
+ ro.telephony.ril_class=SamsungBCMRIL \
+
diff --git a/system.prop b/system.prop
index 4bfcac3..d8e86fd 100644
--- a/system.prop
+++ b/system.prop
@@ -15,5 +15,6 @@ ro.tvout.enable=false
persist.sys.storage_preload=1
ro.telephony.ril_class=SamsungBCMRIL
+persist.sys.dataprefer.simid=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment