Kernel Flasher is an Android app to flash, backup, and restore kernels.
Features
- Flash AK3 kernel zips
- Backup and Restore kernel partitions
- Mount, Map, and Resize vendor_dlkm
- Save dmesg and logcat
Planned and Potential Features
- Keep original AK3 zip filename during flash (useful when viewing logs)
- Add support for FKM update json format
- Periodically check update json URLs automatically in the background?
- Move backups to a folder in the sdcard root (breaking change)
- Allow selective backup and restoration of raw partitions
- Create and display hashes for all partitions
- Verify hashes after backup and restoration?
- Add a setting for preferred hashing algorithms?
- Named backups? notes?
- Reallow flashing to the inactive slot?
- Attempt to fallback on resize when there is no room for replace
- Provide multiple reboot options
Notes
When making a backup of the active slot, to save time, it is assumed that the kernel on disk is the same as the running kernel. The Check Kernel Version button can retrieve it from disk prior to backup.
After restore (or flash from AK3), the updated contents of
vendor_dlkm
can't immediately be backed up. Unmounting, unmapping, then remapping it can make it available for backup.AK3 helper modules are not backed up. Flashing the AK3 zip is preferable. The backup function is mostly intended for stock.
Credits
@osm0sis for AK3, feedback, and general guidance
@eng.stk & @Freak07 for feedback, advice, and encouragement
@phhusson for lptools
@topjohnwu for Magisk and libsu
Latest Update
2022-08-07 v1.0.0-alpha08
Last edited: