From 07bf8e46591d7ef8be34a8d5e8b6d1abfc683440 Mon Sep 17 00:00:00 2001 From: LuK1337 Date: Thu, 11 Jul 2019 15:32:52 +0200 Subject: [PATCH 1/3] FP5: Drop SSR services and set SSR restart_level in init.qcom.rc Change-Id: I32fc08c9ad36b9c8ebfc019fc87a19eece18f0b4 --- init/init.qcom.rc | 40 +++++++++------------------------------- 1 file changed, 9 insertions(+), 31 deletions(-) diff --git a/init/init.qcom.rc b/init/init.qcom.rc index d71de60..5e42857 100644 --- a/init/init.qcom.rc +++ b/init/init.qcom.rc @@ -93,6 +93,15 @@ on early-boot exec u:r:vendor_qti_init_shell:s0 -- /vendor/bin/init.qti.can.sh setprop ro.sf.lcd_density ${vendor.display.lcd_density} + # SSR + write /sys/bus/msm_subsys/devices/subsys0/restart_level RELATED + write /sys/bus/msm_subsys/devices/subsys1/restart_level RELATED + write /sys/bus/msm_subsys/devices/subsys2/restart_level RELATED + write /sys/bus/msm_subsys/devices/subsys3/restart_level RELATED + write /sys/bus/msm_subsys/devices/subsys4/restart_level RELATED + write /sys/bus/msm_subsys/devices/subsys5/restart_level RELATED + write /sys/bus/msm_subsys/devices/subsys6/restart_level RELATED + chown system system /mnt/vendor/persist/data/pfm/licenses chmod 0775 /mnt/vendor/persist/data/pfm/licenses chown system system /mnt/vendor/persist/data/pfm/licenses/store_0 @@ -417,17 +426,6 @@ on property:persist.vendor.qcomsysd.enabled=1 on property:persist.vendor.qcomsysd.enabled=0 stop qcomsysd -service vendor.ssr_setup /system/vendor/bin/ssr_setup - oneshot - disabled - -service vendor.ss_ramdump /system/vendor/bin/subsystem_ramdump - class main - user system - group system - ioprio rt 4 - disabled - on property:ro.vendor.iocgrp.config=1 mkdir /dev/blkio mount cgroup none /dev/blkio blkio @@ -440,9 +438,6 @@ on property:ro.vendor.iocgrp.config=1 write /dev/blkio/blkio.weight 1000 write /dev/blkio/bg/blkio.weight 100 -on property:persist.sys.ssr.enable_debug=* - write /sys/module/subsystem_restart/parameters/enable_debug ${persist.sys.ssr.enable_debug} - on property:persist.sys.mba_boot_timeout=* write /sys/module/pil_msa/parameters/pbl_mba_boot_timeout_ms ${persist.sys.mba_boot_timeout} @@ -452,17 +447,6 @@ on property:persist.sys.modem_auth_timeout=* on property:persist.sys.pil_proxy_timeout=* write /sys/module/peripheral_loader/parameters/proxy_timeout_ms ${persist.sys.pil_proxy_timeout} -on property:persist.vendor.ssr.restart_level=* - start vendor.ssr_setup - -on property:persist.vendor.ssr.enable_ramdumps=1 - write /sys/module/subsystem_restart/parameters/enable_ramdumps 1 - mkdir /data/vendor/ramdump_ssr 770 system system - start vendor.ss_ramdump - -on property:persist.vendor.ssr.enable_ramdumps=0 - write /sys/module/subsystem_restart/parameters/enable_ramdumps 0 - on property:persist.vendor.sys.rawdump_copy=1 write /sys/kernel/dload/emmc_dload 1 @@ -763,12 +747,6 @@ service charger /system/bin/charger capabilities SYS_BOOT seclabel u:r:charger:s0 -service vendor.ssr_diag /system/vendor/bin/ssr_diag - class late_start - user system - group system - disabled - service diag_mdlog_start /system/vendor/bin/diag_mdlog class late_start user shell -- GitLab From be1cdb97b54002abda682de58102fbec343ce88e Mon Sep 17 00:00:00 2001 From: Rohit Sekhar Date: Wed, 18 Oct 2023 11:12:14 +0530 Subject: [PATCH 2/3] FP5: Include all qcril_database configs --- proprietary-files.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/proprietary-files.txt b/proprietary-files.txt index f466272..ccd97f1 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -1231,12 +1231,16 @@ vendor/etc/init/ssgtzd.rc vendor/etc/init/vendor.qti.rmt_storage.rc vendor/etc/init/vendor.qti.tftp.rc vendor/etc/qcril_database/upgrade/config/10.0_config.sql +vendor/etc/qcril_database/upgrade/config/11.0_config.sql +vendor/etc/qcril_database/upgrade/config/12.0_config.sql vendor/etc/qcril_database/upgrade/config/6.0_config.sql vendor/etc/qcril_database/upgrade/config/7.0_config.sql vendor/etc/qcril_database/upgrade/config/8.0_config.sql vendor/etc/qcril_database/upgrade/config/9.0_config.sql vendor/etc/qcril_database/upgrade/other/0_initial_qcrilnr.sql vendor/etc/qcril_database/upgrade/other/10_version_update_ecc_table.sql +vendor/etc/qcril_database/upgrade/other/11_version_update_ecc_table.sql +vendor/etc/qcril_database/upgrade/other/12_version_update_ecc_table.sql vendor/etc/qcril_database/upgrade/other/1_version_intro_qcrilnr.sql vendor/etc/qcril_database/upgrade/other/2_version_add_wps_config_qcrilnr.sql vendor/etc/qcril_database/upgrade/other/3_version_update_wps_config_qcrilnr.sql -- GitLab From a5b798f946bce652ef842295a9dfc0a2d69ada43 Mon Sep 17 00:00:00 2001 From: Rohit Sekhar Date: Mon, 23 Oct 2023 10:51:18 +0530 Subject: [PATCH 3/3] FP5: Bump to FP5.TT3L.A.106.20230918 update --- BoardConfig.mk | 2 +- lineage_FP5.mk | 2 +- proprietary-files.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BoardConfig.mk b/BoardConfig.mk index d85f071..7c95e07 100644 --- a/BoardConfig.mk +++ b/BoardConfig.mk @@ -185,7 +185,7 @@ TARGET_USERIMAGES_USE_F2FS := true ENABLE_VENDOR_RIL_SERVICE := true # Security -VENDOR_SECURITY_PATCH := 2023-08-05 +VENDOR_SECURITY_PATCH := 2023-09-05 # SELinux include device/qcom/sepolicy_vndr-legacy-um/SEPolicy.mk diff --git a/lineage_FP5.mk b/lineage_FP5.mk index b331f4a..e3393bd 100644 --- a/lineage_FP5.mk +++ b/lineage_FP5.mk @@ -26,4 +26,4 @@ PRODUCT_NAME := lineage_FP5 PRODUCT_GMS_CLIENTID_BASE := android-alcatel -BUILD_FINGERPRINT := Fairphone/FP5/FP5:13/TKQ1.230127.002/TT3G:user/release-keys +BUILD_FINGERPRINT := Fairphone/FP5/FP5:13/TKQ1.230127.002/TT3L:user/release-keys diff --git a/proprietary-files.txt b/proprietary-files.txt index ccd97f1..606a7bc 100644 --- a/proprietary-files.txt +++ b/proprietary-files.txt @@ -1,4 +1,4 @@ -# Unpinned blobs from Fairphone/FP5/FP5:13/TKQ1.230127.002/TT3G:user/release-keys +# Unpinned blobs from Fairphone/FP5/FP5:13/TKQ1.230127.002/TT3L:user/release-keys # ACDBs vendor/etc/acdbdata/IDP/lahaina-yupikidp-snd-card/IDP_Yupik_Bluetooth_cal.acdb -- GitLab