e3q: config.fs: Add vendor_secdir

This resolves an issue where the camera service couldn't write to
/sys/power/wake_lock

Change-Id: I826e60ca996888a603a22dd0fcedd921d28897cb
This commit is contained in:
David Wronek
2025-01-04 20:45:43 +01:00
parent 22ea12362e
commit c025acecd5
10 changed files with 123 additions and 42 deletions

View File

@@ -173,12 +173,6 @@ sh_binary {
vendor: true,
}
sh_binary {
name: "install-recovery.sh",
src: "bin/install-recovery.sh",
vendor: true,
}
sh_binary {
name: "qca6234-service.sh",
src: "bin/qca6234-service.sh",

View File

@@ -1,12 +0,0 @@
#!/vendor/bin/sh
if ! applypatch --check EMMC:/dev/block/bootdevice/by-name/recovery$(getprop ro.boot.slot_suffix):110034944:fb67367b173f54e3bc51d601d18084bca70ad952; then
applypatch \
--patch /vendor/recovery-from-boot.p \
--source EMMC:/dev/block/bootdevice/by-name/boot$(getprop ro.boot.slot_suffix):100663296:6bae827ab03d5a9c73d764a2bed3c454358ebd45 \
--target EMMC:/dev/block/bootdevice/by-name/recovery$(getprop ro.boot.slot_suffix):110034944:fb67367b173f54e3bc51d601d18084bca70ad952 && \
(log -t install_recovery "Installing new recovery image: succeeded" && setprop vendor.ota.recovery.status 200) || \
(log -t install_recovery "Installing new recovery image: failed" && setprop vendor.ota.recovery.status 454)
else
log -t install_recovery "Recovery image already installed" && setprop vendor.ota.recovery.status 200
fi

View File

@@ -27,13 +27,6 @@
#
#
service logger /system/bin/logcat -b all -D -f /metadata/boot_log.txt
class main
user root
group root system
disabled
oneshot
on early-init
on init
@@ -41,7 +34,6 @@ on init
on late-init
on post-fs
start logger
on late-fs

View File

@@ -114,3 +114,11 @@ service factory_ssc /vendor/bin/factory.ssc
on property:sys.boot_completed=1
setprop ro.factory.sensor.delay.init 1
on property:sys.dexopt.ctrl=true
setprop dalvik.vm.dex2oat-cpu-set "0,1,5,6"
setprop dalvik.vm.dex2oat-threads 4
on property:sys.dexopt.ctrl=false
setprop dalvik.vm.dex2oat-cpu-set ""
set_dex2oat_threads ctrl