Skip to content

Commit a22dcef

Browse files
committed
Enable Both slot Flash options (Fix resetprop) : Try 3
1 parent 1a46a30 commit a22dcef

File tree

1 file changed

+1
-1
lines changed
  • app/src/main/java/com/github/capntrips/kernelflasher/ui/screens/slot

1 file changed

+1
-1
lines changed

app/src/main/java/com/github/capntrips/kernelflasher/ui/screens/slot/SlotViewModel.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -442,7 +442,7 @@ class SlotViewModel(
442442
private fun resetSlot() {
443443
val activeSlotSuffix = Shell.cmd("getprop ro.boot.slot_suffix").exec().out[0]
444444
val newSlot = if (activeSlotSuffix == "_a") "_b" else "_a"
445-
Shell.cmd("magisk resetprop -n ro.boot.slot_suffix $newSlot").exec()
445+
Shell.cmd("resetprop -n ro.boot.slot_suffix $newSlot").exec()
446446
wasSlotReset = !wasSlotReset
447447
}
448448

0 commit comments

Comments
 (0)