You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Device: Moto G64 5G India
Android version: 14
Magisk version name: 218327f
Magisk version code: 28101
When attempting to flash a Magisk-patched boot image created using Magisk v28 or v28.1 on a Moto G64 5G device, the process fails with the error:
Preflash validation failed
However, when the boot image is patched using Magisk v27, the flashing process completes successfully without errors. This suggests a compatibility issue introduced in Magisk v28+ that prevents the bootloader from accepting the patched boot image.
It seems like a regression introduced in Magisk v28 related to boot image padding is causing the "Preflash validation failed" error on some devices.
The release notes for v28 mention a change in MagiskBoot: "Don't pad zeros if signed boot image is larger". It is highly likely that this change is the root cause of the problem. It's possible that some bootloaders are sensitive to the exact size and padding of the boot image, and the new padding behavior in v28 is not compatible with these bootloaders.
Device: Moto G64 5G India
Android version: 14
Magisk version name: 218327f
Magisk version code: 28101
When attempting to flash a Magisk-patched boot image created using Magisk v28 or v28.1 on a Moto G64 5G device, the process fails with the error:
However, when the boot image is patched using Magisk v27, the flashing process completes successfully without errors. This suggests a compatibility issue introduced in Magisk v28+ that prevents the bootloader from accepting the patched boot image.
Device Information:
Steps to Reproduce:
Extract the stock
boot.img
from the firmware.Patch the
boot.img
using Magisk v28.0 or v28.1.Flash the patched boot image via fastboot:
Observe the error:
Repeat the same process using Magisk v27.0 to patch the
boot.img
.Flashing succeeds without errors.
Expected Behavior:
The Magisk-patched boot image created with v28+ should flash successfully, as it does with v27.
Observed Behavior:
Attached Magisk patched images of v27, v28 and v28.1 uploaded in Google Drive and shared the link below:
Google Drive
Attached screenshots of fastboot error for 3 different boot images.
Thank you for your assistance in resolving this issue.
The text was updated successfully, but these errors were encountered: