mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-19 19:38:48 +00:00

Should be copy & paste error: 1. boot->r_fmt should be re-checked instead of boot->k_fmt once MTK header was found in ramdisk. 2. ramdisk_size should be restored instead of kernel_size when uncompressed ramdisk was found. 3. Correct header of ramdisk Signed-off-by: Shaka Huang <shakalaca@gmail.com>