diff --git a/lineagehw/hidl/livedisplay/DisplayModes.cpp b/lineagehw/hidl/livedisplay/DisplayModes.cpp index 0202be64..113905ee 100644 --- a/lineagehw/hidl/livedisplay/DisplayModes.cpp +++ b/lineagehw/hidl/livedisplay/DisplayModes.cpp @@ -29,7 +29,7 @@ namespace samsung { static constexpr const char* kModePath = "/sys/class/mdnie/mdnie/mode"; static constexpr const char* kModeMaxPath = "/sys/class/mdnie/mdnie/mode_max"; -static constexpr const char* kDefaultPath = "/data/misc/.displaymodedefault"; +static constexpr const char* kDefaultPath = "/data/vendor/display/.displaymodedefault"; const std::map DisplayModes::kModeMap = { {0, "Dynamic"}, diff --git a/lineagehw/hidl/livedisplay/lineage.livedisplay@2.0-service.samsung-exynos.rc b/lineagehw/hidl/livedisplay/lineage.livedisplay@2.0-service.samsung-exynos.rc index cf26d1ca..3fd15b5f 100644 --- a/lineagehw/hidl/livedisplay/lineage.livedisplay@2.0-service.samsung-exynos.rc +++ b/lineagehw/hidl/livedisplay/lineage.livedisplay@2.0-service.samsung-exynos.rc @@ -1,3 +1,6 @@ +on post-fs-data + mkdir /data/vendor/display 0770 system system + service livedisplay-hal-2-0-samsung-exynos /system/bin/hw/lineage.livedisplay@2.0-service.samsung-exynos class hal user system diff --git a/lineagehw/hidl/livedisplay/lineage.livedisplay@2.0-service.samsung-qcom.rc b/lineagehw/hidl/livedisplay/lineage.livedisplay@2.0-service.samsung-qcom.rc index bd3ca6ce..48ebd94c 100644 --- a/lineagehw/hidl/livedisplay/lineage.livedisplay@2.0-service.samsung-qcom.rc +++ b/lineagehw/hidl/livedisplay/lineage.livedisplay@2.0-service.samsung-qcom.rc @@ -1,3 +1,6 @@ +on post-fs-data + mkdir /data/vendor/display 0770 system system + service livedisplay-hal-2-0-samsung-qcom /system/bin/hw/lineage.livedisplay@2.0-service.samsung-qcom class late_start user system diff --git a/lineagehw/hidl/livedisplay/vendor.lineage.livedisplay@2.0-service.samsung-exynos.rc b/lineagehw/hidl/livedisplay/vendor.lineage.livedisplay@2.0-service.samsung-exynos.rc index 994fda08..2faab1b6 100644 --- a/lineagehw/hidl/livedisplay/vendor.lineage.livedisplay@2.0-service.samsung-exynos.rc +++ b/lineagehw/hidl/livedisplay/vendor.lineage.livedisplay@2.0-service.samsung-exynos.rc @@ -1,3 +1,6 @@ +on post-fs-data + mkdir /data/vendor/display 0770 system system + service vendor.livedisplay-hal-2-0-samsung-exynos /vendor/bin/hw/vendor.lineage.livedisplay@2.0-service.samsung-exynos class hal user system diff --git a/lineagehw/hidl/livedisplay/vendor.lineage.livedisplay@2.0-service.samsung-qcom.rc b/lineagehw/hidl/livedisplay/vendor.lineage.livedisplay@2.0-service.samsung-qcom.rc index f6624061..86986018 100644 --- a/lineagehw/hidl/livedisplay/vendor.lineage.livedisplay@2.0-service.samsung-qcom.rc +++ b/lineagehw/hidl/livedisplay/vendor.lineage.livedisplay@2.0-service.samsung-qcom.rc @@ -1,3 +1,6 @@ +on post-fs-data + mkdir /data/vendor/display 0770 system system + service vendor.livedisplay-hal-2-0-samsung-qcom /vendor/bin/hw/vendor.lineage.livedisplay@2.0-service.samsung-qcom class late_start user system