Magisk v26.2 Released

d3Xt3r@lemmy.nz to Android@lemdro.id – 147 points –
Release Magisk v26.2 · topjohnwu/Magisk
github.com
  • [MagiskBoot] Support extracting boot image from payload.bin
  • [MagiskBoot] Support cpio files containing character files
  • [MagiskBoot] Support listing cpio content
  • [MagiskBoot] Directly handle AVB 1.0 signing and verification without going through Java implementation
  • [Daemon] Make daemon socket a fixed path in MAGISKTMP
  • [resetprop] Support printing property context
  • [resetprop] Support only printing persistent properties from storage
  • [resetprop] Properly support setting persistent properties bypassing property_service
  • [MagiskSU] Support -g and -G options
  • [MagiskSU] Support switching mount namespace to PID with -t
  • [MagiskPolicy] Fix patching extended permissions
  • [MagiskPolicy] Support more syntax for extended permissions
  • [MagiskPolicy] Support printing out the loaded sepolicy rules
  • [App] Support patching boot image from ROM zips
  • [App] Properly preserve boot.img when patching Samsung firmware with init_boot.img
12

  • [App] Support patching boot image from ROM zips

Sounds useful!

  • [MagiskBoot] Support extracting boot image from payload.bin

Does this mean I can extract the boot image on an unroooted phone, to root it?

Unclear. To me, you get the payload.bin from roms you download, but that don't necessarily expose boot.img, but I don't see how there would be a way for magisk to find a payload.bin on your rom on its own, it's just another more convenient way of getting a boot.img.

I'm assuming this is for patching an ota file. Right now I download the factory image and patch the init_boot.img from that, and flash it after I download and flash the OTA. I guess this means I don't have to download both

Where do you download the factory image from? I can't find it on the Motorola website, or any trusted source.

I've personally got a pixel, and Google makes the factory images freely available. If I remember right my old Motorola had a desktop updater app that you could install if you set the USB mode on your phone to something like "installer" or similar. I could grab OTA files from the cache on the updater.

I switched to iOS a couple of years ago, and the biggest thing I miss is Magisk. Glad to see it's still going strong, keep kicking ass

I could have really used that "support extracting boot image from payload.bin" back when I had my OnePlus 10T. Having to go to my dental was inconvenient.