1 parent 5c110e4 commit d1623feCopy full SHA for d1623fe
1 file changed
app/src/main/java/com/github/capntrips/kernelflasher/ui/screens/slot/SlotViewModel.kt
@@ -125,7 +125,8 @@ class SlotViewModel(
125
else -> log(context, "Invalid boot.img", shouldThrow = true)
126
}
127
} else {
128
- log(context, "Invalid boot.img", shouldThrow = true)
+ // boot.img v4 has no ramdisk!
129
+ _sha1 = Shell.cmd("$magiskboot sha1 $boot").exec().out.firstOrNull()
130
131
Shell.cmd("$magiskboot cleanup").exec()
132
0 commit comments