land: Remove dependency on QCOM post-boot shell script
Refactor all the relevant stuff to init.qcom.power.rc Change-Id: I6a4a60a8da01e392885ce302300ab0a25d8b30ad
This commit is contained in:
parent
06c627fd07
commit
8ccdb7d6be
6 changed files with 7 additions and 2153 deletions
|
@ -4,7 +4,6 @@ PRODUCT_COPY_FILES += \
|
||||||
|
|
||||||
# Init scripts
|
# Init scripts
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
init.qcom.post_boot.sh \
|
|
||||||
init.qcom.power.rc
|
init.qcom.power.rc
|
||||||
|
|
||||||
# Properties
|
# Properties
|
||||||
|
|
|
@ -81,10 +81,3 @@ LOCAL_MODULE_TAGS := optional eng
|
||||||
LOCAL_MODULE_CLASS := ETC
|
LOCAL_MODULE_CLASS := ETC
|
||||||
LOCAL_SRC_FILES := etc/init.qcom.fm.sh
|
LOCAL_SRC_FILES := etc/init.qcom.fm.sh
|
||||||
include $(BUILD_PREBUILT)
|
include $(BUILD_PREBUILT)
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
|
||||||
LOCAL_MODULE := init.qcom.post_boot.sh
|
|
||||||
LOCAL_MODULE_TAGS := optional eng
|
|
||||||
LOCAL_MODULE_CLASS := ETC
|
|
||||||
LOCAL_SRC_FILES := etc/init.qcom.post_boot.sh
|
|
||||||
include $(BUILD_PREBUILT)
|
|
||||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -1,4 +1,4 @@
|
||||||
on property:sys.boot_completed=1
|
on enable-low-power
|
||||||
# HMP scheduler settings
|
# HMP scheduler settings
|
||||||
write /proc/sys/kernel/sched_window_stats_policy 3
|
write /proc/sys/kernel/sched_window_stats_policy 3
|
||||||
write /proc/sys/kernel/sched_ravg_hist_size 3
|
write /proc/sys/kernel/sched_ravg_hist_size 3
|
||||||
|
@ -124,5 +124,11 @@ on property:sys.boot_completed=1
|
||||||
rm /data/system/perfd/default_values
|
rm /data/system/perfd/default_values
|
||||||
start perfd
|
start perfd
|
||||||
|
|
||||||
|
on property:sys.boot_completed=1
|
||||||
|
trigger enable-low-power
|
||||||
|
|
||||||
swapon_all fstab.qcom
|
swapon_all fstab.qcom
|
||||||
write /proc/sys/vm/swappiness 100
|
write /proc/sys/vm/swappiness 100
|
||||||
|
|
||||||
|
on charger
|
||||||
|
trigger enable-low-power
|
||||||
|
|
|
@ -832,12 +832,6 @@ service sensor-sh /system/bin/sh /init.qcom.sensors.sh
|
||||||
user root
|
user root
|
||||||
oneshot
|
oneshot
|
||||||
|
|
||||||
service qcom-post-boot /system/bin/sh /system/etc/init.qcom.post_boot.sh
|
|
||||||
class late_start
|
|
||||||
user root
|
|
||||||
disabled
|
|
||||||
oneshot
|
|
||||||
|
|
||||||
service qti-testscripts /system/bin/sh /system/etc/init.qcom.testscripts.sh
|
service qti-testscripts /system/bin/sh /system/etc/init.qcom.testscripts.sh
|
||||||
class late_start
|
class late_start
|
||||||
user root
|
user root
|
||||||
|
@ -858,7 +852,6 @@ service wifi-crda /system/bin/sh /system/etc/init.crda.sh
|
||||||
oneshot
|
oneshot
|
||||||
|
|
||||||
on property:sys.boot_completed=1
|
on property:sys.boot_completed=1
|
||||||
start qcom-post-boot
|
|
||||||
start qti-testscripts
|
start qti-testscripts
|
||||||
|
|
||||||
service atfwd /system/bin/ATFWD-daemon
|
service atfwd /system/bin/ATFWD-daemon
|
||||||
|
|
|
@ -231,7 +231,6 @@ on charger
|
||||||
mount ext4 /dev/block/bootdevice/by-name/system /system ro barrier=1
|
mount ext4 /dev/block/bootdevice/by-name/system /system ro barrier=1
|
||||||
load_all_props
|
load_all_props
|
||||||
setprop persist.sys.usb.config mass_storage
|
setprop persist.sys.usb.config mass_storage
|
||||||
start qcom-post-boot
|
|
||||||
setprop persist.sys.usb.config mass_storage
|
setprop persist.sys.usb.config mass_storage
|
||||||
start hvdcp_opti
|
start hvdcp_opti
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue