Skip to content

Commit

Permalink
garnet: rootdir: Add support to restart SIM 2
Browse files Browse the repository at this point in the history
*Works for those using dual sim

Change-Id: I718bfe91dda4e1ed611c91e1bc51e21caa1381c7
  • Loading branch information
ramaadni authored and royweisfeld committed Jan 22, 2025
1 parent 6b54e3c commit d0ca983
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions rootdir/system/bin/init.sim.restart.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/system/bin/sh
#
# Copyright (C) 2024 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#

service call phone 185 i32 0 i32 0
service call phone 186 i32 0 i32 0

sleep 0.5

service call phone 185 i32 0 i32 1
service call phone 186 i32 0 i32 1

0 comments on commit d0ca983

Please sign in to comment.