sanders: Add dtv init file to fix dtv
Signed-off-by: ronaxdevil <pratabidya.007@gmail.com>
This commit is contained in:
@@ -356,7 +356,9 @@ PRODUCT_PACKAGES += \
|
|||||||
init.qcom.sensors.sh \
|
init.qcom.sensors.sh \
|
||||||
init.sanders.rc \
|
init.sanders.rc \
|
||||||
init.spectrum.rc \
|
init.spectrum.rc \
|
||||||
init.spectrum.sh
|
init.spectrum.sh \
|
||||||
|
init.dtv.rc \
|
||||||
|
init.dtv.sh
|
||||||
|
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
$(LOCAL_PATH)/rootdir/etc/ueventd.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc
|
$(LOCAL_PATH)/rootdir/etc/ueventd.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc
|
||||||
|
|||||||
@@ -107,3 +107,19 @@ LOCAL_MODULE_CLASS := ETC
|
|||||||
LOCAL_SRC_FILES := etc/init.spectrum.sh
|
LOCAL_SRC_FILES := etc/init.spectrum.sh
|
||||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
|
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
|
||||||
include $(BUILD_PREBUILT)
|
include $(BUILD_PREBUILT)
|
||||||
|
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
LOCAL_MODULE := init.dtv.rc
|
||||||
|
LOCAL_MODULE_TAGS := optional eng
|
||||||
|
LOCAL_MODULE_CLASS := ETC
|
||||||
|
LOCAL_SRC_FILES := etc/init.dtv.rc
|
||||||
|
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_ETC)/init/hw
|
||||||
|
include $(BUILD_PREBUILT)
|
||||||
|
|
||||||
|
include $(CLEAR_VARS)
|
||||||
|
LOCAL_MODULE := init.dtv.sh
|
||||||
|
LOCAL_MODULE_TAGS := optional eng
|
||||||
|
LOCAL_MODULE_CLASS := ETC
|
||||||
|
LOCAL_SRC_FILES := etc/init.dtv.sh
|
||||||
|
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
|
||||||
|
include $(BUILD_PREBUILT)
|
||||||
|
|||||||
5
rootdir/etc/init.dtv.rc
Normal file
5
rootdir/etc/init.dtv.rc
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
on property:sys.boot_completed=1
|
||||||
|
# executar sh e inserir os modulos
|
||||||
|
exec u:r:init:s0 root root -- /init.dtv.sh
|
||||||
|
exec u:r:su:s0 root root -- /init.dtv.sh
|
||||||
|
|
||||||
2
rootdir/etc/init.dtv.sh
Normal file
2
rootdir/etc/init.dtv.sh
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
#!/system/bin/sh
|
||||||
|
insmod /vendor/lib/modules/isdbt.ko
|
||||||
@@ -28,6 +28,7 @@
|
|||||||
import /vendor/etc/init/hw/init.mmi.rc
|
import /vendor/etc/init/hw/init.mmi.rc
|
||||||
import /vendor/etc/init/hw/init.sanders.rc
|
import /vendor/etc/init/hw/init.sanders.rc
|
||||||
import /vendor/etc/init/hw/init.spectrum.rc
|
import /vendor/etc/init/hw/init.spectrum.rc
|
||||||
|
import /vendor/etc/init/hw/init.dtv.rc
|
||||||
|
|
||||||
on early-init
|
on early-init
|
||||||
mount debugfs debugfs /sys/kernel/debug
|
mount debugfs debugfs /sys/kernel/debug
|
||||||
|
|||||||
Reference in New Issue
Block a user