Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Magisk v21.4 wipes boot-appended vbmeta, unbootable on Unihertz Titan (and other Mediatek devices with Android 10) #3727

Closed
ValdikSS opened this issue Jan 17, 2021 · 7 comments

Comments

@ValdikSS
Copy link

Unihertz Titan does not have dedicated vbmeta partition, Android 10 image on this device has vbmeta appended to boot.img, which is padded to partition size.

Magisk Manager 8.0.7 (4832), upon Magisk 21.4 (21400) installation, wipes vbmeta header and footer from boot.img on this device, making it unbootable.
Magisk Manager does not offer to preserve dm-verity on this device, and the log file does not contain any strings regarding AVB (as it was with Android 9 on this device).

Adding blank vbmeta with disabled verification manually into the patched image allows device to boot again.

Please check the following archive with three files:

  • boot_10.img — original boot.img from the firmware
  • magisk_patched.img ­— the file patched by Magisk Manager
  • magisk_patched_noavb_manual.img — patched file with manually added vbmeta data and footer.

https://files.catbox.moe/9cp3eo.zip

Log file of direct (re)installation on top of already patched image. The resulting image came without vbmeta, rendering device unbootable.
magisk_install_log_2021-01-17T22:37:05Z.log

@nift4
Copy link

nift4 commented Feb 8, 2021

This affects other MediaTek devices like the Gigaset GS290 and the Volla Phone too

@ValdikSS ValdikSS changed the title Magisk v21.4 wipes boot-appended vbmeta, unbootable on Unihertz Titan Magisk v21.4 wipes boot-appended vbmeta, unbootable on Unihertz Titan (and other Mediatek devices with Android 10) Feb 8, 2021
@osm0sis
Copy link
Collaborator

osm0sis commented Mar 15, 2021

Any improvement on latest Canary?

@ChrisPHL
Copy link

+1
This seems to have severe impact. :-/ My GS290 does not boot after patching with the Magisk versions seen in the starting post.

@nift4
Copy link

nift4 commented Mar 20, 2021

Canary works fine here

@ChrisPHL
Copy link

Oh, I'm not familiar with "canray" what exactly does that mean? Where can I download the canary version of Magisk? Does "canary" mean something like "latest"?

@ValdikSS
Copy link
Author

commit 027ec70 fixes the issue, canary build works fine.

@nift4
Copy link

nift4 commented Mar 20, 2021

@ChrisPHL it is the development version of Magisk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants