79 lines
2.5 KiB
Makefile
Executable File
79 lines
2.5 KiB
Makefile
Executable File
|
|
CUR_PATH := vendor/rockchip/common
|
|
|
|
#########################################################
|
|
# 3G Dongle SUPPORT
|
|
#########################################################
|
|
PRODUCT_COPY_FILES += \
|
|
$(CUR_PATH)/phone/etc/ppp/ip-down:system/etc/ppp/ip-down \
|
|
$(CUR_PATH)/phone/etc/ppp/ip-up:system/etc/ppp/ip-up \
|
|
$(CUR_PATH)/phone/etc/ppp/call-pppd:system/etc/ppp/call-pppd \
|
|
$(CUR_PATH)/phone/etc/operator_table:system/etc/operator_table
|
|
|
|
ifeq ($(strip $(PRODUCT_MODEM)), DTS4108C)
|
|
PRODUCT_COPY_FILES += \
|
|
$(CUR_PATH)/phone/bin/rild_dts4108c:system/bin/rild \
|
|
$(CUR_PATH)/phone/lib/libreference-ril-dts4108c.so:system/lib/libreference-ril.so \
|
|
$(CUR_PATH)/phone/lib/libril-dts4108c.so:system/lib/libril.so
|
|
endif
|
|
|
|
#ifeq ($(strip $(BOARD_HAVE_DONGLE)),true)
|
|
#PRODUCT_PACKAGES += \
|
|
# rild \
|
|
# libril-rk29-dataonly \
|
|
# usb_dongle \
|
|
# usb_modeswitch \
|
|
# chat
|
|
#
|
|
#PRODUCT_PROPERTY_OVERRIDES +=ro.boot.noril=false
|
|
#else
|
|
#PRODUCT_PROPERTY_OVERRIDES +=ro.boot.noril=true
|
|
#endif
|
|
#
|
|
|
|
#james add virtmodem start
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
ro.telephony.default_network=26 \
|
|
ril.fibocom.dialmode=1 \
|
|
ro.radio.noril=false \
|
|
ro.boot.noril=false \
|
|
rild.libpath=/vendor/lib64/libreference-ril.so \
|
|
vendor.rild.libpath=/vendor/lib64/libreference-ril.so
|
|
|
|
PRODUCT_PACKAGES += \
|
|
rild \
|
|
chat \
|
|
ril_ctl
|
|
|
|
PRODUCT_PACKAGES += \
|
|
libreference-ril \
|
|
MmsService \
|
|
messaging \
|
|
android.hardware.radio@1.0 \
|
|
android.hardware.radio@1.1 \
|
|
android.hardware.radio.deprecated@1.0 \
|
|
android.hardware.radio.deprecated@1.1
|
|
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.radio@1.2-radio-service \
|
|
android.hardware.radio.config@1.0-service
|
|
|
|
#PRODUCT_COPY_FILES += \
|
|
# $(CUR_PATH)/phone/apn/apns-conf.xml:system/etc/apns-conf.xml \
|
|
# $(CUR_PATH)/phone/apn/spn-conf.xml:system/etc/spn-conf.xml \
|
|
# $(CUR_PATH)/phone/apn/apns-conf.xml:vendor/etc/apns-conf.xml \
|
|
# $(CUR_PATH)/phone/apn/spn-conf.xml:vendor/etc/spn-conf.xml
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
|
|
frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
persist.radio.multisim.config=dsds
|
|
#james add virtmodem end
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
keyguard.no_require_sim=true \
|
|
ro.com.android.dataroaming=false \
|
|
ro.com.android.mobiledata=false \
|
|
ril.function.dataonly=1
|