mardi 3 janvier 2017

Version 10 of Magisk Adds a New Way to Vendor Mirrors, and More

We’ve talked about Magisk here at XDA multiple times in the past, and it’s been great to watch the development of this modification since it was first introduced. The goal of Magisk is to overcome the limitations of systemless mods for the Android platform. By creating a universal systemless interface, this enables developers and users to apply software mods in a way that doesn’t interfere with the system partition.

Version 9 of Magisk was released just last month, and it came with a number of new changes like removing the interface for post-fs modules, re-writing the certain features, and preparing itself for MultiROM support. MultiROM support is still a work in progress, but you can watch a proof of concept video for that feature right here. This version 10 update comes with a new way to mount system (vendor) mirrors, a universal way of dealing with /vendor, and the ability to add anything to any place. Magic Mount will now use symlinks to mirroring back (if possible), which reduces bind mounts for adding files. It will also check init namespace and zygote namespace in an attempt to prevent Magic Mount from breakage. Magisk Hide will now send SIGSTOP to pause a target process ASAP so that it will cause a crash less if the unmounting was too late. And hiding should also work under any conditions now, even when adding libs and /system root.

Yesterday, we saw a quick 10.2 update released that adds a few new changes to Magisk as well. The changelog mentions removing apps/priv-app from whitelist as a fix for crashes, it comes with a fix for the phh binary being out-of-date. And it fixes a bug that caused root to disappear when upgrading within Magisk Manager. You can find the full changelog for these two updates listed below. . .

v10.2

  • [Magic Mount] Remove apps/priv-app from whitelist, should fix all crashes
  • [phh] Fix binary out-of-date issue
  • [scripts] Fix root disappear issue when upgrading within Magisk Manager

v10

  • [Magic Mount] Use a new way to mount system (vendor) mirrors
  • [Magic Mount] Use universal way to deal with /vendor, handle both separate partition or not
  • [Magic Mount] Adding anything to any place is now officially supported (including /system root and /vendor root)
  • [Magic Mount] Use symlinks for mirroring back if possible, reduce bind mounts for adding files
  • [Magisk Hide] Check init namespace, zygote namespace to prevent Magic Mount breakage (a.k.a root loss)
  • [Magisk Hide] Send SIGSTOP to pause target process ASAP to prevent crashing if unmounting too late
  • [Magisk Hide] Hiding should work under any conditions, including adding libs and /system root etc.
  • [phh] Root the device if no proper root detected
  • [phh] Move /sbin to /sbin_orig and link back, fix Samsung no-suid issue
  • [scripts] Improve SuperSU integration, now uses sukernel to patch ramdisk, support SuperSU built in ramdisk restore
  • [template] Add PROPFILE option to load system.prop

Source: XDA Forum



from xda-developers http://ift.tt/2iv5Qun
via IFTTT

Aucun commentaire:

Enregistrer un commentaire