diff --git a/device.mk b/device.mk index c70d976..b60e925 100644 --- a/device.mk +++ b/device.mk @@ -29,6 +29,11 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \ frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml +# Ramdisk +PRODUCT_PACKAGES += \ + qmuxd.rc \ + netmgrd.rc + # Get non-open-source specific aspects $(call inherit-product, vendor/samsung/mondrianlte/mondrianlte-vendor.mk) diff --git a/rootdir/Android.bp b/rootdir/Android.bp new file mode 100644 index 0000000..39c8e0d --- /dev/null +++ b/rootdir/Android.bp @@ -0,0 +1,13 @@ +prebuilt_etc { + name: "qmuxd.rc", + src: "etc/qmuxd.rc", + sub_dir: "init", + vendor: true, +} + +prebuilt_etc { + name: "netmgrd.rc", + src: "etc/netmgrd.rc", + sub_dir: "init", + vendor: true, +} diff --git a/rootdir/etc/netmgrd.rc b/rootdir/etc/netmgrd.rc new file mode 100644 index 0000000..68b3b5c --- /dev/null +++ b/rootdir/etc/netmgrd.rc @@ -0,0 +1,4 @@ +service vendor.netmgrd /vendor/bin/netmgrd + class core + user root + group radio readproc system wakelock oem_2950 \ No newline at end of file diff --git a/rootdir/etc/qmuxd.rc b/rootdir/etc/qmuxd.rc new file mode 100644 index 0000000..567170e --- /dev/null +++ b/rootdir/etc/qmuxd.rc @@ -0,0 +1,4 @@ +service vendor.qmuxd /vendor/bin/qmuxd + class core + user radio + group radio audio bluetooth gps oem_2950 log \ No newline at end of file