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 EDIT: Some holi/blair devices have this problem too. Co-authored-by: Marc Bourgoin <themard85@gmail.com> Change-Id: I76732c2a668ff179e32050aee4abe315de3d9357
83 lines
No EOL
1.4 KiB
Text
83 lines
No EOL
1.4 KiB
Text
//
|
|
// Copyright (C) 2022 The LineageOS Project
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
|
|
cc_library_static {
|
|
name: "libinit_oplus",
|
|
recovery_available: true,
|
|
shared_libs: ["libbase"],
|
|
srcs: ["init_oplus.cpp"],
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "fstab.qcom",
|
|
src: "fstab.qcom",
|
|
vendor: true,
|
|
vendor_ramdisk_available: true,
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "init.oplus.rc",
|
|
src: "init.oplus.rc",
|
|
sub_dir: "init",
|
|
device_specific: true,
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "init.qcom.rc",
|
|
src: "init.qcom.rc",
|
|
sub_dir: "init/hw",
|
|
vendor: true,
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "init.qcom.recovery.rc",
|
|
src: "init.qcom.recovery.rc",
|
|
sub_dir: "init",
|
|
recovery: true,
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "init.target.rc",
|
|
src: "init.target.rc",
|
|
sub_dir: "init/hw",
|
|
vendor: true,
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "ueventd.oplus.rc",
|
|
filename: "ueventd.rc",
|
|
src: "ueventd.oplus.rc",
|
|
device_specific: true,
|
|
}
|
|
|
|
prebuilt_etc {
|
|
name: "ueventd.qcom.rc",
|
|
filename: "ueventd.rc",
|
|
src: "ueventd.qcom.rc",
|
|
vendor: true,
|
|
}
|
|
|
|
sh_binary {
|
|
name: "init.class_main.sh",
|
|
src: "init.class_main.sh",
|
|
vendor: true,
|
|
}
|
|
|
|
sh_binary {
|
|
name: "init.qcom.early_boot.sh",
|
|
src: "init.qcom.early_boot.sh",
|
|
vendor: true,
|
|
}
|
|
|
|
sh_binary {
|
|
name: "init.qcom.sh",
|
|
src: "init.qcom.sh",
|
|
vendor: true,
|
|
}
|
|
|
|
sh_binary {
|
|
name: "init.sim.restart.sh",
|
|
src: "init.sim.restart.sh",
|
|
} |