KernelFlasher icon indicating copy to clipboard operation
KernelFlasher copied to clipboard

Add a setting for usage of sha1 from ramdisk

Open RimuruChan opened this issue 2 years ago • 1 comments

Apologies for any inconvenience. I'm curious about why we prefer to perform a check and use the SHA1 of a CPIO file instead of simply calculating the SHA1 of the partition itself?

https://github.com/capntrips/KernelFlasher/blob/1cbbba497f42755d6459a83d9a7d8ee14f550572/app/src/main/java/com/github/capntrips/kernelflasher/ui/screens/slot/SlotViewModel.kt#L115-L125

RimuruChan avatar Mar 17 '24 11:03 RimuruChan

The original idea was to keep up with the original boot image to avoid bootloops. The available backups are also tied to that value. A change to that functionality has been requested on XDA, as well. I plan to add toggles for both features on a settings screen, but I wouldn't expect it in the coming weeks.

capntrips avatar Mar 17 '24 18:03 capntrips