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
16 lines
264 B
Bash
Executable file
16 lines
264 B
Bash
Executable file
#!/system/bin/sh
|
|
#
|
|
# Copyright (C) 2024 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
sleep 1
|
|
|
|
service call phone 185 i32 0 i32 0
|
|
service call phone 186 i32 0 i32 0
|
|
|
|
sleep 2
|
|
|
|
service call phone 185 i32 0 i32 1
|
|
service call phone 186 i32 0 i32 1
|