180

[2020.1.2] Magisk v20.2 - Root & Universal Systemless Interface [Android 4.2...

 4 years ago
source link: https://forum.xda-developers.com/showpost.php?p=81364297&%3Bpostcount=57
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

The Magic Mask for Android

  • If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.

  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

Magisk - The Magic Mask for Android

Status Not open for further replies.

topjohnwu

Senior Recognized Developer / Recognized Contribut
Jan 31, 2012 1,849 60,406 Taipei
2018.3.28 Magisk v16.3
Remove Backward Compatibility Symlinks
The paths of some static files have been moved to secure directories for quite some while. I've added symlinks to reduce breakage at that time, but it also introduces a ton of dirty workarounds into the hiding mechanism. The module template was already updated with these changes for over 4 months, I think it is about time to remove these symlinks.

Remove SafetyNet Blacklists
Previously, Magisk Manager has an internal list of apps that uses SafetyNet. It will blacklist these apps to prevent users from double hiding them. However a recent update of Pokemon GO introduces its own detection method in addition to the existing SafetyNet check, so I decided to simply just remove this list all together. Pokemon GO users will now need to explicitly add the app to the hide list for the best experience.

Future Plans
I'm aware of Magisk currently doesn't work on Samsung S9(+). It is most likely caused by yet another weird Treble implementation from OEMs. So the next goal is to of course add support for these new Sammys.
Also another controversy news has caught the spotlight: Google banning none certified devices from Google Play Services upon setup. This can be workarounded with installing Magisk before running the setup. I would love to add some optimization so it can play better with Treble ROMs (GSI) out of the box to prevent these issues.
But keep in mind that I'm still in charge of the military training, so development will be slow.
Last edited: Mar 28, 2018

topjohnwu

Senior Recognized Developer / Recognized Contribut
Jan 31, 2012 1,849 60,406 Taipei
2018.4.29 Magisk v16.4
Massive Refactoring
I spent weeks redesigning the way Magisk starts up, including how /sbin tmpfs overlay is constructed. Along with the redesign, I cleaned up the sepolicy rules and also switched the domain root processes will run in to prevent conflicts. Some parts of procedure graph in the docs thus became obsolete, but I haven't have the time to update it yet.
In this major refactoring, I finally decided to remove post-fs mode. As a replacement, the files for simple mount should now be moved from /cache/magisk_mount to /data/adb/magisk_simple, and will be mounted immediately in post-fs-data mode before the daemon initialization.

MagiskHide Improvements
There is an increasing amount of apps that run device verification / root detection in a separate service, which was under the radar of MagiskHide's implementation. These services are now included as the target.

I still haven't had the time to check out Galaxy S9 support yet, as these under-the-hood changes took more time than I expected.
Here are the changelogs:
  • Magisk v16.4
    - [Daemon] Directly check logcat command instead of detecting logd, should fix logging and MagiskHide on several Samsung devices
    - [Daemon] Fix startup Magisk Manager APK installation on Android P
    - [MagiskPolicy] Switch from AOSP u:r:su:s0 to u:r:magisk:s0 to prevent conflicts
    - [MagiskPolicy] Remove unnecessary sepolicy rules to reduce security penalty
    - [Daemon] Massive re-design /sbin tmpfs overlay and daemon start up
    - [MagiskInit] Remove magiskinit_daemon, the actual magisk daemon (magiskd) shall handle everything itself
    - [Daemon] Remove post-fs stage as it is very limited and also will not work on A/B devices; replaced with simple mount in post-fs-data, which will run ASAP even before the daemon is started
    - [General] Remove all 64-bit binaries as there is no point in using them; all binaries are now 32-bit only.
    Some weirdly implemented root apps might break (e.g. Tasker, already reported to the developer), but it is not my fault
    - [resetprop] Add Protobuf encode/decode to support manipulating persist properties on Android P
    - [MagiskHide] Include app sub-services as hiding targets. This might significantly increase the amount of apps that could be properly hidden
  • Magisk Manager v5.7.0
    - Add app shortcuts for Android 7.1+
    - Bump minimal module minMagisk requirement to 1500
    - Adjustments for new sepolicies on v16.4+
    - Fix crashes when refreshing the online repo

topjohnwu

Senior Recognized Developer / Recognized Contribut
Jan 31, 2012 1,849 60,406 Taipei
2018.7.8 Magisk v16.6
Hello, long time no see guys! Wondering why v16.5 is skipped? Because we went through so many internal testing that we ran out of version numbers

Full Treble-ish
Magisk relies on files placed in /data to work properly, so if you performed factory reset, Magisk couldn't fully function until you re-install. In this new version, a stub Magisk Manager APK is embedded into magiskinit, and it will be installed if no manager is detected. The stub will download and install the full Magisk Manager, then the full version will reconstruct a proper Magisk environment. This is particular useful for people switching to/across GSI ROMs: you can swap system images with full wipes without the need to reinstall Magisk! This also means that people can share pre-rooted boot images with others using the same device, as Magisk is fully functional with solely a patched boot image.

No More Mysterious Root Loss
Several users has been constantly reporting the "root loss" issue: Magisk will randomly stop working. Actually, over a year ago when MagiskHide was just announced, a similar issue was widespread and fixed at that time. The cause of the issue has something to do with the fact that Magisk unexpectedly unmounts stuffs in Zygote's mount namespace. Recently I found out that there are devices running multiple Zygote servers at a time! This weird edge case was not handled by MagiskHide, and thus root loss issues still occurs on some users. A new mechanism is implemented to mitigate this notorious bug.

However, there were still users losing root caused by a more serious issue: magisk daemon crashing. To cure the symptoms but not the disease, I introduced Invincible Mode a while ago, but the reason of the crashes was never identified. I spent some time rewriting the most complicated (and suspicious) part: logcat monitoring, introducing a new daemon, magisklogd, which will work hand in hand with the main daemon, magiskd. Internal testers who used to experience daemon crashes no longer have any issues up to this point; additionally a new invincible mode implemented by constant handshaking between the 2 daemons still remains, should the daemon crashes.

Miscellaneous
Tons of other bug fixes, optimizations, new support is also added to this release, here I'll briefly go through them.
  • Magisk Manager will preserve the random package name when upgrading within the app. Magisk will no longer prefer the package name com.topjohnwu.magisk over repackaged (hidden) Magisk Manager to prevent malware from targeting this specific package name. If you have a repackaged Magisk Manager installed, com.topjohnwu.magisk will be forcefully denied root access. You can use Restore Magisk Manager in settings, or uninstall the repackaged Magisk Manager to unlock com.topjohnwu.magisk.
  • The logic to calculate free space in ext4 images is replaced with new extremely precise methods, hopefully no more module installation failures caused by images should happen. All modules using template 1500 will automatically benefit from the new free space calculation method on Magisk v16.6+, no additional changes are needed.
  • Support for Samsung Galaxy S9/S9+ is officially added.
  • Magisk v16.4 switched to 32-bit only binaries and caused issues in some apps. A new wrapper script is added to eliminate all possible quirks.
  • Treble GSIs (e.g. phh AOSP) sometimes require replacing adbd in ramdisk and used to conflict with Magisk. It is now fixed and ADB will fully function when using GSIs.
  • LineageOS introduced addon.d-v2 to A/B partition devices, the addon.d script is updated to be A/B aware (untested on my side)
Note to ROM Developers
If you are embedding Magisk Zip into your ROM, and your ROM uses Aroma Installer, please be aware that on some devices (most likely Samsung devices), it is possible that the installation process of Magisk could break Aroma. Please test flashing your ROM zip before releasing to your users. If you found out you are the few unfortunate devices, unzip the Magisk zip, and do the following changes and re-zip the installer:
Code:
# Remove or comment out these 2 lines in META-INF/com/google/android/updater-script

eval $BOOTSIGNER -verify < $BOOTIMAGE && BOOTSIGNED=true
$BOOTSIGNED && ui_print "- Boot image is signed with AVB 1.0"
The reason why Aroma Installer breaks is unknown. Maybe consider letting the project that's abandoned for nearly 5 years go?

topjohnwu

Senior Recognized Developer / Recognized Contribut
Jan 31, 2012 1,849 60,406 Taipei
2018.7.19 Magisk v16.7
A stable release is imminent!

Hot Fix (versionCode: 1671)
  • Fix booting to fastboot on half-treble devices (OP5/5T on stable OOS, maybe more)
  • Detect ramdisk partition for Huawei
Bug Fixes
EMUI's logcat for some reason will change the permission of its output file, and since Magisk will do several logcat commands dumping output to /dev/null, the permission is messed up, causing tons of stuff to break, including adbd; the issue is now fixed. Some new Treble devices (e.g. OnePlus 5/5T) had some issues with the "lazy" method I used to early mount partitions, so the "proper" way is introduced: magiskinit will start reading fstab in device trees to detect the partition partname. A positive side effect is that some custom Treble devices (many Xiaomi devices) modifies the device tree to redirect vendor to an unused partition, and this is now fully supported!

Legacy Support
Starting from v16.7, the native part of Magisk is compiled against SDK 16 (Android 4.1 JellyBean), which is the beginning of legacy support. This doesn't mean you can flash Magisk on your obsolete devices now, as there are tons of stuffs needed to be done: Magisk Manager does not install on anything lower than Android 5.0; most features are not even tested yet. Proper legacy support won't happen until the next release is pushed to the stable channel though, v17 is my top priority now and I want it to be as bug free as possible!
Last edited: Jul 19, 2018

topjohnwu

Senior Recognized Developer / Recognized Contribut
Jan 31, 2012 1,849 60,406 Taipei
2018.9.1 Magisk v17.1
This long awaited stable release is delayed due to me moving to the US and some unexpected issues in the meantime. But hey it's here guys!
I suggest those who care (e.g. module developers) follow me on Twitter, as I do most of the announcements other than Magisk releases over there.

Hotfix v17.1
There was some incompatibility issues when upgrading from v16.0 to v17.0. If you are caught in a bootloop, first use the uninstaller to completely remove Magisk, then flash v17.1, I'm extremely sorry for all stuck in bootloops.

Release Cycles
Starting from v17.0, the stable channel and the beta channel are considered as "public releases", meaning both will be well tested before release and should be good for most normal users as daily driver. In general (meaning no catastrophic bugs), each major version bump (e.g. v17 -> v18) will be on the stable channel, and each minor version bump (e.g. v17.0 -> v17.1) will be on the beta channel. For version codes, the first 3 digits represent the version of a public release (e.g. 17500 will be v17.5), the last 2 digits are for internal iterations (e.g. 17521 will be v17.6 WIP, iteration 21). There will be a separate "Experimental Channel" in the cutting edge, but this is out of scope for this post.

New Module Template: 17000
Due to some oddities to FBE, the path Magisk used to store persist files (/data/adb) cannot be created/accessed in custom recoveries if the folder/data decryption does not exist. Magisk has to install files to an alternative path, and the new template is updated for this change, which at the same time prevents corrupting data on FBE when installing in custom recoveries.

Install to Inactive Slot is Back!
Due to some changes in the Pixel OTA engines, the feature to install Magisk to inactive slots after OTA was broken for quite a while. This update added the ability for Magisk to force a slot swap using bootctl, so this super fascinating feature (that I personally do use a lot) is now back!

SafetyNet Check is Back!
People are panicking about the "Invalid Response" of SN checks in Magisk Manager. It is actually just a cosmetic issue as Google banned the old API (which Magisk Manager and tons of SN apps in Play Store was still using).
I'm well aware of several games in the wild was recently updated to detect Magisk yet again, I'll focus on that after this stable release, no worries!

Highlights
For those that were on the stable channel, here is a highlight of what has changed from v16.0 to v17.0
  • Android Pie (9.0) support
  • Support targeting sub services when selecting an app to hide with MagiskHide, meaning background services of hidden apps would not be able to detect root
  • Fix root loss issue when MagiskHide is enabled
  • Support Samsung S9/S9+/Note 9
  • And of course, tons of bug fixes and improvements you're not aware of
Last edited: Sep 1, 2018

topjohnwu

Senior Recognized Developer / Recognized Contribut
Jan 31, 2012 1,849 60,406 Taipei
2018.9.21 Magisk v17.2
Unexpected early release due to a bug in Magisk Manager that never surfaced until some online repo triggered it LOL. But well this means you get several sweet features early too

Magisk Manager Obfuscation
There are some detection method out in the wild (e.g. PS4 Remote Play) that analyzes all installed APKs to find signs of Magisk Manager to mitigate the package name randomization feature within the app. The counter-counter-attack here is to do excessive obfuscation so it can no longer do so.

New Communication Scheme
However, for full obfuscation to be possible, it creates some issues. In MagiskSU's code, some Java class names in Magisk Manager are hardcoded as destinations to send requests and logging information. A completely new communication scheme is written from scratch to eliminate any class name assumptions in MagiskSU, so that 100% Magisk Manager obfuscation is achievable. This current release (Magisk Manager 6.0.0), however, is not built with full obfuscation due to the requirement to be backwards compatible with v17.1.

Randomize Service Names
Magisk injects several init services to startup the daemon. Some apps (e.g. Fate Grand Order) are updated to detect these specific service names to determine whether Magisk services are running on your device. MagiskInit is updated to randomly generate service names pre-init, so every time your device reboots it will use a different service name.

Updated Resetprop
Android Pie introduced a new type of system property format that previous resetprop is not able to handle. Several properties, for example device fingerprint props, are therefore unable to be modified (many people modify device fingerprint to pass CTS). Resetprop is updated to use the upstream AOSP code base to process system properties.
Last edited: Sep 21, 2018

topjohnwu

Senior Recognized Developer / Recognized Contribut
Jan 31, 2012 1,849 60,406 Taipei
2018.10.20 Magisk v17.3
(A hot fix with some minor changes is published with verison code 17302, the version number is the same, v17.3)

Welcome to the Magisk family, Pixel 3!
I originally planned to do more changes to Magisk Manager before a new public release, but I think people can't wait to root their shiny new Pixel 3, so here we go!

Up-to-date Documentations
Some subtle details, design choices, developer guides are all added to the documentations!
For most average users though, the most interesting part would be the tutorial: Best Practices for MagiskHide, please take some time and check it out!

Magisk Documentations

Boot Image Header v1
Google updated the boot image header format from v0 to v1 and was first used on the Pixel 3. The new header supports recovery DTBOs, which won't be used on any A/B devices, including Pixel 3 so that isn't the main issue here. The new format stores its version number to an originally unused entry in the header to determine whether the extended header entries is used. However in some freaking devices like Samsung's, they have been using the supposedly "unused" entry as the size of an non-AOSP "extra section" for quite a long time. magiskboot is designed to support extracting these extra sections (because people use Samsung), but with the introduction of header v1, the tool couldn't interpret the image properly, and thus generating invalid boot images.
magiskboot's boot image parsing, unpacking and repacking code was rewritten with C++ to utilize the more powerful language features due to the complexity (because I still need to support freaking PXA format headers used by old Samsung devices...)

MagiskSU Rewrite
Both the daemon and client side of MagiskSU is completely rewritten with improvements and optimizations, for example: simplified `su_info` caches, early ACK between daemon and client to prevent process freezing when denied, sending parsed command-line options instead of full arguments, and many more!

Samsung Defex Patches
A hexpatch for removing Samsung's new KNOX feature: Defex Safeplace was actually already introduced in previous releases, but that solution wasn't ideal since each new kernel release would generate different patterns. A more general patch (which is only a single CPU instruction!) was discovered and included into this new release.

Magisk-Modules-Repo Moderation
If you aren't aware, a team of zealous volunteer moderators were already starting to review new submission manually, being the gate keeper of our beloved Magisk-Modules-Repo. Hopefully this will prevent pointless/spam modules polluting the download section in Magisk Manager!
Last edited: Oct 22, 2018

topjohnwu

Senior Recognized Developer / Recognized Contribut
Jan 31, 2012 1,849 60,406 Taipei
2018.12.8 Magisk v18.0

Release Notes

Changelog
Magisk
  • v18.0
    - [General] Migrate all code base to C++
    - [General] Modify database natively instead of going through Magisk Manager
    - [General] Deprecate path /sbin/.core, please start using /sbin/.magisk
    - [General] Boot scripts are moved from <magisk_img>/.core/<stage>.d to /data/adb/<stage>.d
    - [General] Remove native systemless hosts (Magisk Manager is updated with a built-in systemless hosts module)
    - [General] Allow module post-fs-data.sh scripts to disable/remove modules
    - [MagiskHide] Use component names instead of process names as targets
    - [MagiskHide] Add procfs protection on SDK 24+ (Nougat)
    - [MagiskHide] Remove the folder /.backup to prevent detection
    - [MagiskHide] Hide list is now stored in database instead of raw textfile in images
    - [MagiskHide] Add "--status" option to CLI
    - [MagiskHide] Stop unmounting non-custom related mount points
    - [MagiskSU] Add FLAG_INCLUDE_STOPPED_PACKAGES in broadcasts to force wake Magisk Manager
    - [MagiskSU] Fix a bug causing SIGWINCH not properly detected
    - [MagiskPolicy] Support new av rules: type_change, type_member
    - [MagiskPolicy] Remove all AUDITDENY rules after patching sepolicy to log all denies for debugging
    - [MagiskBoot] Properly support extra_cmdline in boot headers
    - [MagiskBoot] Try to repair broken v1 boot image headers
    - [MagiskBoot] Add new CPIO command: "exists"
Magisk Manager
  • v6.1.0
    - Introduce new downloading methods: no longer uses buggy system Download Manager
    - Introduce many new notifications for better user experience
    - Add support for Magisk v18.0
    - Change application name to "Manager" after hiding(repackaging) to prevent app name detection
    - Add built-in systemless hosts module (access in settings)
    - Auto launch the newly installed app after hiding(repackaging) and restoring Magisk Manager
    - Fix bug causing incomplete module.prop in modules to have improper UI
Last edited: Sep 24, 2019

topjohnwu

Senior Recognized Developer / Recognized Contribut
Jan 31, 2012 1,849 60,406 Taipei
2019.2.4 Magisk v18.1

Release Notes

Changelog
Magisk
  • v18.1
    - [General] Support EMUI 9.0
    - [General] Support Kirin 960 devices
    - [General] Support down to Android 4.2
    - [General] Major code base modernization under-the-hood
Magisk Manager
  • v7.0.0
    - Major UI redesign!
    - Render Markdown natively (no more buggy WebView!)
    - Support down to Android 4.1 (native Magisk only support Android 4.2 though)
    - Significantly improve Magisk log disply performance
    - Fix post OTA scripts for A/B devices
    - Reduce memory usages when verifying and signing boot image
    - Drop support for Magisk lower than v18.0
Last edited: Sep 24, 2019

topjohnwu

Senior Recognized Developer / Recognized Contribut
Jan 31, 2012 1,849 60,406 Taipei
2019.3.28 Magisk v19.0

Release Notes

Changelog
Magisk
  • v19.0
    - [General] Remove usage of magisk.img
    - [General] Add 64 bit magisk binary for native 64 bit support
    - [General] Support A only system-as-root devices that released with Android 9.0
    - [General] Support non EXT4 system and vendor partitions
    - [MagiskHide] Use Zygote ptracing for monitoring new processes
    - [MagiskHide] Targets are now per-application component
    - [MagiskInit] Support Android Q (no logical partition support yet!)
    - [MagiskPolicy] Support Android Q new split sepolicy setup
    - [MagiskInit] Move sbin overlay creation from main daemon post-fs-data to early-init
    - [General] Service scripts now run in parallel
    - [MagiskInit] Directly inject magisk services to init.rc
    - [General] Use lzma2 compressed ramdisk in extreme conditions
    - [MagicMount] Clone attributes from original file if exists
    - [MagiskSU] Use ACTION_REBOOT intent to workaround some OEM broadcast restrictions
    - [General] Use skip_mount instead of auto_mount: from opt-in to opt-out
Magisk Manager
  • v7.1.0
    - Support the new module format
    - Support per-application component granularity MagiskHide targets (only on v19+)
    - Ask for fingerprint before deleting rules if enabled
    - Fix the bug that causes repackaging to lose settings
    - Several UI fixes
Last edited: Sep 24, 2019

topjohnwu

Senior Recognized Developer / Recognized Contribut
Jan 31, 2012 1,849 60,406 Taipei
2019.5.1 Magisk v19.1

Release Notes

Changelog
Magisk
  • v19.1
    - [General] Support recovery based Magisk
    - [General] Support Android Q Beta 2
    - [MagiskInit] New sbin overlay setup process for better compatibility
    - [MagiskInit] Allow long pressing volume up to boot to recovery in recovery mode
    - [MagicMount] Use proper system_root mirror
    - [MagicMount] Use self created device nodes for mirrors
    - [MagicMount] Do not allow adding new files/folders in partition root folder (e.g. /system or /vendor)
Magisk Manager
  • v7.1.2
    - Support patching Samsung AP firmware
    - Much better module downloading mechanism
Last edited: Sep 24, 2019

topjohnwu

Senior Recognized Developer / Recognized Contribut
Jan 31, 2012 1,849 60,406 Taipei
2019.5.20 Magisk v19.2

Mostly bug fixes and small improvements, enjoy

Changelog
Magisk
  • v19.2
    - [General] Fix uninstaller
    - [General] Fix bootloops on some devices with tmpfs mounting to /data
    - [MagiskInit] Add Kirin hi6250 support
    - [MagiskSU] Stop claiming device focus for su logging/notify if feasible
    This fix issues with users locking Magisk Manager with app lock, and prevent
    video apps get messed up when an app is requesting root in the background.
Magisk Manager
  • v7.2.0
    - Huge UI overhaul
    - More sweet changes coming in the future!
Last edited: May 20, 2019

topjohnwu

Senior Recognized Developer / Recognized Contribut
Jan 31, 2012 1,849 60,406 Taipei
2019.6.5 Magisk v19.3

The source code of Magisk Manager on master is still not ready for publish, so it will come later in the future.
This release should be the last stable v19 release. Starting from the next release, more advantageous changes will be added and beta tested.

Changelog
Magisk
  • v19.3
    - [MagiskHide] Hugely improve process monitor implementation, hopefully should no longer cause 100% CPU and daemon crashes
    - [MagiskInit] Wait for partitions to be ready for early mount, should fix bootloops on a handful of devices
    - [MagiskInit] Support EROFS used in EMUI 9.1
    - [MagiskSU] Properly implement mount namespace isolation
    - [MagiskBoot] Proper checksum calculation for header v2
Last edited: Dec 13, 2019

topjohnwu

Senior Recognized Developer / Recognized Contribut
Jan 31, 2012 1,849 60,406 Taipei
2019.9.19 Magisk v19.4

Release Notes

This version is heavily tested and tons of bugs were squashed before release. However due to the massive changes, it is decided to release a public beta for people/root app developers to adjust/update before things hit public stable.

Changelog
Magisk
  • v19.4
    - [MagiskInit] [SAR] Boot system-as-root devices with system mounted as /
    - [MagiskInit] [2SI] Support 2-stage-init for A/B devices (Pixel 3 Android 10)
    - [MagiskInit] [initramfs] Delay sbin overlay creation to post-fs-data
    - [MagiskInit] [SARCompat] Old system-as-root implementation is deprecated, no more future changes
    - [MagiskInit] Add overlay.d support for root directory overlay for new system-as-root implementation
    - [MagiskSU] Unblock all signals in root shells (fix bash on Android)
    - [MagicMount] Support replacing files in /product
    - [MagiskHide] Support Android 10's Zygote blastula pool
    - [MagiskHide] All random strings now also have random length
    - [MagiskBoot] Allow no recompression for ramdisk.cpio
    - [MagiskBoot] Support some weird Huawei boot images
    - [General] Add new "--remove-modules" command to remove modules without root in ADB shell
    - [General] Support Android 10 new APEX libraries (Project Mainline)
Magisk Manager
  • v7.3.4
    - App is now fully written in Kotlin!
    - New downloading system
    - Add new "Recovery Mode" to Advanced Settings
Last edited: Oct 12, 2019

topjohnwu

Senior Recognized Developer / Recognized Contribut
Jan 31, 2012 1,849 60,406 Taipei
2019.10.11 Magisk v20.0

Release Notes

Enjoy Android 10

Changelog
Magisk
  • v20.0
    - [MagiskBoot] Support inject/modify mnt_point value in DTB fstab
    - [MagiskBoot] Support patching QCDT
    - [MagiskBoot] Support patching DTBH
    - [MagiskBoot] Support patching PXA-DT
    - [MagiskInit] [2SI] Support non A/B setup (Android 10)
    - [MagiskHide] Fix bug that reject process names with ":"
    - [MagicMount] Fix a bug that cause /product mirror not created
Magisk Manager
  • v7.3.5
    - Sort installed modules by name
    - Better pre-5.0 support
    - Fix potential issues when patching tar files
Last edited: Oct 12, 2019

topjohnwu

Senior Recognized Developer / Recognized Contribut
Jan 31, 2012 1,849 60,406 Taipei
2019.11.2 Magisk v20.1

Release Notes

Changelog
Magisk
  • v20.1
    - [MagiskSU] Support component name agnostic communication (for stub APK)
    - [MagiskBoot] Set proper header_size in boot image headers (fix vbmeta error on Samsung devices)
    - [MagiskHide] Scan zygote multiple times
    - [MagiskInit] Support recovery images without /sbin/recovery binary. This will fix some A/B devices unable to boot to recovery after flashing Magisk
    - [General] Move acct to prevent daemon being killed
    - [General] Make sure "--remove-modules" will execute uninstall.sh after removal
Magisk Manager
  • v7.4.0
    - Hide Magisk Manager with stub APKs on Android 9.0+
    - Allow customizing app name when hiding Magisk Manager
    - Generate random keys to sign the hidden Magisk Manager to prevent signature detections
    - Fix fingerprint UI infinite loop

topjohnwu

Senior Recognized Developer / Recognized Contribut
Jan 31, 2012 1,849 60,406 Taipei
2020.1.2 Magisk v20.2

Release Notes

Changelog
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)
Last edited: Jan 2, 2020
Status Not open for further replies.

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK