diff --git a/BoardConfig.mk b/BoardConfig.mk index 0d1c886..11f299b 100755 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -297,7 +297,7 @@ BOARD_FORCE_UDISK_VISIBLE ?= true BOARD_DISABLE_SAFE_MODE ?= true #enable 3g dongle -BOARD_HAVE_DONGLE ?= false +BOARD_HAVE_DONGLE ?= true #for boot and shutdown animation ringing BOOT_SHUTDOWN_ANIMATION_RINGING ?= false @@ -328,7 +328,7 @@ BOARD_BLUETOOTH_LE_SUPPORT ?= true BOARD_WIFI_SUPPORT ?= true #for rk 4g modem -BOARD_HAS_RK_4G_MODEM ?= false +BOARD_HAS_RK_4G_MODEM ?= true #for rk DLNA PRODUCT_HAVE_DLNA ?= false diff --git a/modules/4g_modem.mk b/modules/4g_modem.mk index 5037d9e..7c84692 100644 --- a/modules/4g_modem.mk +++ b/modules/4g_modem.mk @@ -18,7 +18,7 @@ PRODUCT_PACKAGES += \ CarrierDefaultApp \ CarrierConfig \ rild \ - librk-ril \ + libreference-ril-em05 \ dhcpcd PRODUCT_COPY_FILES += vendor/rockchip/common/phone/etc/apns-full-conf.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/apns-conf.xml @@ -35,14 +35,14 @@ DEVICE_MANIFEST_FILE += device/rockchip/common/4g_modem/manifest.xml ifeq ($(strip $(TARGET_ARCH)), arm64) PRODUCT_PROPERTY_OVERRIDES += \ - vendor.rild.libpath=/vendor/lib64/librk-ril.so + vendor.rild.libpath=/vendor/lib64/libreference-ril-em05.so PRODUCT_COPY_FILES += \ - $(LOCAL_PATH)/4g_modem/bin64/dhcpcd:$(TARGET_COPY_OUT_VENDOR)/bin/dhcpcd \ - $(LOCAL_PATH)/4g_modem/lib64/librk-ril.so:$(TARGET_COPY_OUT_VENDOR)/lib64/librk-ril.so + $(LOCAL_PATH)/../4g_modem/bin64/dhcpcd:$(TARGET_COPY_OUT_VENDOR)/bin/dhcpcd \ + $(LOCAL_PATH)/../4g_modem/lib64/librk-ril.so:$(TARGET_COPY_OUT_VENDOR)/lib64/librk-ril.so else PRODUCT_PROPERTY_OVERRIDES += \ - vendor.rild.libpath=/vendor/lib/librk-ril.so + vendor.rild.libpath=/vendor/lib/libreference-ril-em05.so PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/4g_modem/bin32/dhcpcd:$(TARGET_COPY_OUT_VENDOR)/bin/dhcpcd \ diff --git a/overlay_wifi_only/frameworks/base/core/res/res/values/config.xml b/overlay_wifi_only/frameworks/base/core/res/res/values/config.xml index 33e8c93..bf4f825 100644 --- a/overlay_wifi_only/frameworks/base/core/res/res/values/config.xml +++ b/overlay_wifi_only/frameworks/base/core/res/res/values/config.xml @@ -22,5 +22,5 @@ If true, this means that the device supports data connectivity through the telephony network. This can be overridden to false for devices that support voice and/or sms . --> - false + true