Magisk v20.2 lets modules include custom sepolicy patches and introduces a new module installer format
Tags: xda, news, magisk, android
Published: 2020-01-03 18:42:28

---
title: Magisk v20.2 lets modules include custom sepolicy patches and introduces a new module installer format
published: true
date: 2020-01-03 08:17:17 UTC
tags: XDA,News,Magisk,Android
canonical_url: https://www.xda-developers.com/magisk-v20-2-update/
---

[Magisk](https://forum.xda-developers.com/apps/magisk) is one of the best tools for Android users looking to unlock the full potential of their device. It’s a systemless interface developed by XDA Recognized Developer [_topjohnwu_](https://forum.xda-developers.com/member.php?u=4470081) that can be used for everything from rooting your device to adding unique features to it. The best part about using it is that it allows users to tinker with system settings without actually making changes to system files. Another reason behind its popularity is its ability to bypass Google’s [SafetyNet](https://forum.xda-developers.com/apps/magisk/guide-magisk-troubleshooting-t3641417/post73145987#post73145987) which prevents certain apps from running on rooted devices. Late last year, _topjohnwu_ [rolled out Magisk v20.1](https://www.xda-developers.com/magisk-v20-1-magisk-manager-v7-4-0-introduces-new-hiding-mode-for-android-9-devices/) along with Magisk Manager v7.4.0 featuring a couple of interesting updates to the interface. And now, they’ve released v20.2 which includes even more changes and bug fixes for both Magisk and Magisk Manager.

As per the release notes posted on our forums, the update brings improvements to the root request prompt, support for patching dtb/dtbo partition formats, support for pre-init sepolicy patch in modules, and a new module installer format which aims to make creating new modules easier. Here’s the official changelog for Magisk v20.2:

- [MagiskSU] Properly handle communication between daemon and application (root request prompt)
- [MagiskInit] Fix logging in kmsg
- [MagiskBoot] Support patching dtb/dtbo partition formats
- [General] Support pre-init sepolicy patch in modules
- [Scripts] Update magisk stock image backup format
- 
- Magisk Manager
  - v7.5.0
    - Support new MagiskSU communication method (ContentProvider)
    - Fix several issues with hidden stub APK
    - Support using BiometricPrompt (face unlock)

For more information on the pre-init sepolicy patches for modules and the new module installer format, you can visit the GitHub source linked below. If you’re interested in creating new Magisk modules with the updated installer format, you can follow [topjohnwu’s guide](https://topjohnwu.github.io/Magisk/guides.html) on how to use the new module template.

* * *

**Source: [XDA Forums](https://forum.xda-developers.com/showpost.php?p=81364297&postcount=57), [GitHub](https://github.com/topjohnwu/magisk_files/blob/de0ebcfdf314133118e1fd4bbbf12db9ae7f4613/notes.md)**

The post [Magisk v20.2 lets modules include custom sepolicy patches and introduces a new module installer format](https://www.xda-developers.com/magisk-v20-2-update/) appeared first on [xda-developers](https://www.xda-developers.com).