XDA Developer topjohnwu has released Magisk 18.0 that brings some major improvements to Magisk Hide, new C++ codebase, ProcFS vulnerability fix, new Magisk Manager and more. You can now download Magisk 18.0 and Magisk Manager 6.1.0. The complete list of changes and installations instructions are provided below.
Magisk is one of the most powerful and commonly used root solution for Android devices in 2018. It was first introduced a few years ago and worked up its way as a unified interface for applying modifications to Android phones and tablets systemless-ly (That is, without touching/altering the /system partition). One of the many features that Magisk offers is the ability to root a majority of Android devices, irrespective of the manufacturer.
Earlier last month, we saw Magisk 17.3 that brought a better support for Google Pixel 3/Pixel 3 XL, fix for Samsung Defex security feature, and more. Today, the creator of Magisk, topjohnwu, has released Magisk 18.0 update that carries even more changes and new features that have been discussed below.
Magisk 18.0 & Magisk Manager 6.1.0 – Changelog
The current release majorly revolves around several changes and improvements, the majority of which focus on Magisk Hide for improved anti-root detection methods. The all-new Magisk Manager 6.1.0 brings new downloading methods and fully supports the latest Magisk release.
Last month, Magisk’s creator topjohnwu published an article on Medium.com, making us all aware of how a bug in Android’s ProcFS allowed app developers to detect root, even with Magisk Hide enabled. His latest Magisk 18.0 fixes the said bug on every device with Android 7.0 Nougat.
Starting with this release, the process monitor in Magisk will now allocate component names instead of process names. Unlike the traditional method that required all process names to be added to the Magisk Hide list, the new component-based approach will allow Magisk to detect which app launched the process. Thus, adding protection to common root-detecting mechanisms.
Another major change in this release is the new C++ codebase. The developer had been working in the background to migrate Magisk completely to the new codebase, which is much modern and will allow him to easily maintain the code.
In his release notes, topjohnwu also states that next Magisk Manager update will drop support for all legacy Magisk versions and only support Magisk 18.0 or above. So, he strongly suggests that you move/upgrade to the latest version. This will allow your device to be updated with the recent vulnerability fixes as well.
Now, before you go ahead and download Magisk 18.0 and Magisk Manager 6.1.0, take a look at the complete changelog first. (Source: Original XDA thread)
- [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 the 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”
- [MagiskBoot] Support boot image header v1 (Pixel 3)
- [MagiskSU] No more linked lists for caching su_info
- [MagiskSU] Parse command-lines in client side and send only options to dthe aemon
- [MagiskSU] Early ACK to prevent client freezes and early denies
- [Daemon] Prevent bootloops in situations where /data is mounted twice
- [Daemon] Prevent logcat failures when /system/bin is magic mounting, could cause MagiskHide to fail
- [Scripts] Switch hexpatch to remove Samsung Defex to a more general pattern
- [Scripts] Update data encryption detection for better custom recovery support
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
Magisk Manager 6.0.1
- Update to use new online module’s organizing method
- When fingerprint authentication is enabled, toggling root permissions in “Superuser” section now requires fingerprint beforehand
- Fix crashes when entering MagiskHide section on some devices
- Remove support to Magisk version lower than v15.0
- Ask storage permissions before patching stock boot image
- Update dark theme CardView color
The developer has made many major improvements and changes in this new update for a better experience for rooted users. We duly appreciate his hard work and the time he has devoted to the community. You can now move down towards the next section to download Magisk 18.0 and Magisk Manager 6.1.0 APK right now.
Download Magisk 18.0 (Magisk Manager 6.1.0)
- Magisk-v17.3.zip / MagiskManager-v6.0.1.apk
- Magisk-v17.2.zip / MagiskManager-v6.0.0.apk
- Magisk-v17.1.zip / MagiskManager-v5.9.1.apk
- Magisk-v16.7.zip / MagiskManager-v5.8.3.apk
The new stable version has been provided as a flashable ZIP, that could be installed via TWRP or other custom recoveries such as RedWolf Recovery Project. The Magisk Manager APK is also provided should you wish to update it manually.
How to Install Magisk 18.0?
Installing Magisk on Android is easy, even if you’re going to do it for the first time. To do so, there are two different methods – (1) Flashing Magisk 18.0 ZIP via TWRP recovery or (2) By patching the stock boot image and flashing it via fastboot.
The second method could look a bit confusing at first but works flawlessly if you have the correct boot image corresponding to the firmware installed on your phone. You can either extract the stock firmware file to get the stock boot image or use try downloading it from firmware.mobi.
Before everything, we strongly recommend you to take a full backup of all your data on the device. This shall prevent any data loss situation should any issue arise after the installation. Further, for method 2, you must also install the required Android platform-tools on the PC.
In case you already have the previous version installed, then you can simply update Magisk 18.0 via the simple set of instructions below.
How to Update to Magisk 18.0?
This is what you need to do if you already have the previous version of Magisk installed on your phone.
- Open ‘Magisk Manager’.
- Press the menu icon on the top-left.
- Select ‘Settings’ from the menu.
- Scroll down to ‘Update Settings’ section.
- Tap on ‘Update Channel’ and select ‘Stable’, if it is not already selected.
- Go back to the Magisk Manager main screen and swipe down to refresh.
- Tap on the ‘Update Magisk’ button.
- Select ‘Install’ > ‘Direct Install’.
- The installer will automatically install Magisk 18.0 and update it.
- When finished, press the ‘Reboot’ button.
When the phone boots, it shall be running the latest Magisk 18.0 with Magisk Manager 6.1.0 installed. You can go ahead and check the SafetyNet status and it should pass. Now that your phone is rooted, you can also install root-enabled apps, use mods like ViPER4Android/Dolby Atmos, hide root from apps like Pokemon Go, and install Magisk Modules to enable extra features on your phone.
So, you have just been able to download Magisk 18.0 and install/update it. This latest release is majorly focused on enhancing Magisk Hide’s capability to hide root and protect against the discovered root-detecting mechanisms.
At last, don’t forget to have a look at some useful resources in the official documentation:
We highly value the efforts of topjohnwu for making it possible for enthusiasts like customization to a whole new level. If you have any questions, please leave them down in the comments.