Files
egaunnac f7b82fd588 topaz: Setup sim restart shell script
sm8450 and above have a very annoying SMS receiving bug where for some carriers it won't work
after a device restart if QTI telephony injection isn't available, but one of the workarounds
is to either use airplane mode toggle or eject the sim card and reinsert it

Instead of doing that? Let's try and automate disabling and enabling the sim card

@mirabelle1999: Update Script to fix and work for 4GB Variants.

Change-Id: I76732c2a668ff179e32050aee4abe315de3d9357
Co-authored-by: Marc Bourgoin <themard85@gmail.com>
Co-authored-by: mirabelle1999 <jonzdepaz118@gmail.com>
Signed-off-by: mirabelle1999 <jonzdepaz118@gmail.com>
2025-05-10 08:14:42 +00:00

159 lines
2.7 KiB
Plaintext

//
// Copyright (C) 2023 The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
// fstab
prebuilt_etc {
name: "fstab.qcom",
src: "etc/fstab.qcom",
vendor: true,
vendor_ramdisk_available: true,
}
// zram
prebuilt_etc {
name: "fstab.zram",
src: "etc/fstab.zram",
vendor: true,
}
// Init configuration files
prebuilt_etc {
name: "init.qcom.rc",
src: "etc/init.qcom.rc",
sub_dir: "init/hw",
vendor: true,
}
prebuilt_etc {
name: "init.qti.kernel.rc",
src: "etc/init.qti.kernel.rc",
sub_dir: "init/hw",
vendor: true,
}
prebuilt_etc {
name: "init.recovery.qcom.rc",
src: "etc/init.recovery.qcom.rc",
sub_dir: "init",
recovery: true,
}
prebuilt_etc {
name: "init.target.rc",
src: "etc/init.target.rc",
sub_dir: "init/hw",
vendor: true,
}
prebuilt_etc {
name: "init.xiaomi.rc",
src: "etc/init.xiaomi.rc",
sub_dir: "init/hw",
vendor: true,
}
prebuilt_etc {
name: "ueventd.qcom.rc",
filename: "ueventd.rc",
src: "etc/ueventd.qcom.rc",
vendor: true,
}
// Init scripts
sh_binary {
name: "init.class_main.sh",
src: "bin/init.class_main.sh",
vendor: true,
}
sh_binary {
name: "init.goodix.events.sh",
src: "bin/init.goodix.events.sh",
vendor: true,
}
sh_binary {
name: "init.qcom.post_boot.sh",
src: "bin/init.qcom.post_boot.sh",
vendor: true,
}
sh_binary {
name: "init.kernel.post_boot-bengal.sh",
src: "bin/init.kernel.post_boot-bengal.sh",
vendor: true,
}
sh_binary {
name: "init.kernel.post_boot-bengal-iot.sh",
src: "bin/init.kernel.post_boot-bengal-iot.sh",
vendor: true,
}
sh_binary {
name: "init.kernel.post_boot.sh",
src: "bin/init.kernel.post_boot.sh",
vendor: true,
}
sh_binary {
name: "init.qcom.class_core.sh",
src: "bin/init.qcom.class_core.sh",
vendor: true,
}
sh_binary {
name: "init.qcom.early_boot.sh",
src: "bin/init.qcom.early_boot.sh",
vendor: true,
}
sh_binary {
name: "init.qcom.sh",
src: "bin/init.qcom.sh",
vendor: true,
}
sh_binary {
name: "init.qti.dcvs.sh",
src: "bin/init.qti.dcvs.sh",
vendor: true,
}
sh_binary {
name: "init.qti.early_init.sh",
src: "bin/init.qti.early_init.sh",
vendor: true,
}
sh_binary {
name: "init.qti.kernel.sh",
src: "bin/init.qti.kernel.sh",
vendor: true,
}
sh_binary {
name: "init.qti.write.sh",
src: "bin/init.qti.write.sh",
vendor: true,
}
sh_binary {
name: "init.sim.restart.sh",
src: "bin/init.sim.restart.sh",
}
sh_binary {
name: "system_dlkm_modprobe.sh",
src: "bin/system_dlkm_modprobe.sh",
vendor: true,
}
sh_binary {
name: "vendor_modprobe.sh",
src: "bin/vendor_modprobe.sh",
vendor: true,
}