mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 00:57:38 +00:00
Add changelogs and release notes
This commit is contained in:
parent
fbb4f85ef0
commit
96dd24e91d
410
docs/app_changes.md
Normal file
410
docs/app_changes.md
Normal file
@ -0,0 +1,410 @@
|
||||
# Magisk Manager Changelog
|
||||
|
||||
### v8.0.0
|
||||
|
||||
- 100% full app rewrite! Will list functional changes below.
|
||||
- Add detailed device info in home screen to assist user installation
|
||||
- Support Magisk v21.0 communication protocol
|
||||
|
||||
### v7.5.1
|
||||
|
||||
- Fix toggling app components in MagiskHide screen
|
||||
- Update translations
|
||||
|
||||
### v7.5.0
|
||||
|
||||
- Support new MagiskSU communication method (ContentProvider)
|
||||
- Fix several issues with hidden stub APK
|
||||
- Support using BiometricPrompt (face unlock)
|
||||
|
||||
### 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
|
||||
|
||||
### v7.3.5
|
||||
|
||||
- Sort installed modules by name
|
||||
- Better pre-5.0 support
|
||||
- Fix potential issues when patching tar files
|
||||
|
||||
### v7.3.4
|
||||
|
||||
- App is now fully written in Kotlin!
|
||||
- New downloading system
|
||||
- Add new "Recovery Mode" to Advanced Settings
|
||||
|
||||
### v7.3.0/1/2
|
||||
|
||||
- HUGE code base modernization, thanks @diareuse!
|
||||
- More sweet changes coming in the future!
|
||||
- Reboot device using proper API (no more abrupt reboot)
|
||||
- New floating button in Magisk logs to go to bottom
|
||||
|
||||
### v7.2.0
|
||||
|
||||
- Huge UI overhaul
|
||||
- More sweet changes coming in the future!
|
||||
|
||||
### v7.1.2
|
||||
|
||||
- Support patching Samsung AP firmware
|
||||
- Much better module downloading mechanism
|
||||
|
||||
### v7.1.1
|
||||
|
||||
- Fix a bug that causes some modules using new format not showing up
|
||||
|
||||
### 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
|
||||
|
||||
### 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
|
||||
|
||||
### 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
|
||||
|
||||
### v6.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
|
||||
|
||||
### v6.0.0
|
||||
|
||||
- Update to latest AndroidX support library
|
||||
- Fix crashes when online repos contain incomplete metadata
|
||||
- Optimize BootSigner to use as little memory as possible, prevent OutOfMemoryError
|
||||
- Support new communication scheme between Magisk v17.2 and Magisk Manager
|
||||
- Enable excessive obfuscation to prevent APK analysis root detections (still not 100% obfuscated due to backwards compatibility with stable channel)
|
||||
|
||||
### v5.9.0/v5.9.1
|
||||
|
||||
- No more on boot notifications
|
||||
- Support new mechanism for installing to inactive slot for OTAs on A/B devices
|
||||
- Fix restore Magisk Manager settings on Android P
|
||||
- Verify existing file checksums to prevent unnecessary re-downloads
|
||||
- Update SNET extension to use new Google API, fix "Invalid Response" errors
|
||||
- Move fingerprint settings to magisk database to prevent the settings to be easily removed
|
||||
- Fingerprint settings are now guarded with fingerprint authentications before it can get changed
|
||||
- Prevent any files to be downloaded to /sdcard/MagiskManager
|
||||
|
||||
### v5.8.3
|
||||
|
||||
- Prevent invalid modules in the online repo crashing the app
|
||||
- Update Stable and Beta channel URLs
|
||||
|
||||
### v5.8.1
|
||||
|
||||
- Fix a bug that cause the root shell initializer not running in BusyBox environment
|
||||
|
||||
### v5.8.0
|
||||
|
||||
- Remain hidden when upgrading within repackaged Magisk Manager
|
||||
- New feature: support reconstructing a proper Magisk environment if error detected (e.g. after factory reset)
|
||||
- New uninstall method: download uninstaller and completely remove Magisk + Magisk Manager, following with a reboot
|
||||
- Hidden apps are now shown on the top of the list in MagiskHide fragment
|
||||
- Tons of under-the-hood bug fixes and improvements
|
||||
|
||||
### 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
|
||||
|
||||
### v5.6.4
|
||||
|
||||
- Remove the blacklisted apps using SafetyNet (e.g. Pokemon GO)
|
||||
|
||||
### v5.6.3
|
||||
|
||||
- Fix repo loading UI logic
|
||||
|
||||
### v5.6.2
|
||||
|
||||
- Cleanup folders if installation failed
|
||||
- Add support for Android P
|
||||
|
||||
### v5.6.1
|
||||
|
||||
- Fix database crashes on F2FS with SQLite 3.21.0+
|
||||
- Optimize several settings options
|
||||
- Use native XML for settings migration
|
||||
|
||||
### v5.6.0
|
||||
|
||||
- Remove JNI requirement, Magisk Manager is now pure Java
|
||||
- Update the method of handling su database, may fix the issue that root requests won't save
|
||||
- Add the option to restore Magisk Manager after repackaging with random package name
|
||||
- Massive under-the-hood
|
||||
|
||||
### v5.5.5
|
||||
|
||||
- Fix crashes on Lollipop and some devices not following AOSP standards
|
||||
|
||||
### v5.5.4
|
||||
|
||||
- Fix dtbo on-boot detection, should follow configured dtbo patching behavior on Pixel 2 devices
|
||||
- Add fingerprint authentication for Superuser requests
|
||||
|
||||
### v5.5.3
|
||||
|
||||
- Update translations
|
||||
- Update internal scripts (in sync with Magisk)
|
||||
- Minor adjustments
|
||||
|
||||
### v5.5.2
|
||||
|
||||
- Support sorting online repos with last update
|
||||
- Fix issue that advanced installation settings won't stick
|
||||
- Prevent sudb crashing Magisk Manager
|
||||
|
||||
### v5.5.1
|
||||
- Fix an issue in setting up superuser database, which causes some users to experience tons of root issues
|
||||
|
||||
### v5.5.0
|
||||
|
||||
- Fix dynamic resource loading, prevent crashes when checking SafetyNet
|
||||
- Update SignAPK to use very little RAM for supporting old devices
|
||||
- Support settings migration after hiding Magisk Manager
|
||||
- Add reboot menu in modules section
|
||||
- Add dark theme to superuser request dialogs
|
||||
- Properly handle new HIGHCOMP and add recommended KEEPVERITY and KEEPFORCEENCRYPT flags for installation
|
||||
- Support new paths for v14.6
|
||||
- Massive improvements in repackaging Magisk Manager
|
||||
|
||||
### v5.4.3
|
||||
|
||||
- Add flags to intent to prevent crashes
|
||||
- Update translations
|
||||
|
||||
### v5.4.2
|
||||
|
||||
- Support new paths and setup of v14.5
|
||||
- Support repackaging Magisk Manager for hiding (only works on v14.5+)
|
||||
- Support hardlinking global su database into app data
|
||||
- Support signing boot images (AVB 1.0)
|
||||
- Update app icon to adaptive icons
|
||||
- Remove app from MagiskHide list if uninstalled
|
||||
- Add support to save detailed logs when installing Magisk or modules
|
||||
- Fix download progress error if module is larger than 20MB
|
||||
- Changed the way how downloaded repos are processed, should be rock stable
|
||||
- Prevent crashes when database is corrupted - clear db instead
|
||||
- Fix saving wrong UID issue on multiuser mode
|
||||
- Add custom update channel support - you can now switch to your own update server!
|
||||
- Some UI adjustments and asynchronous UI performance improvements
|
||||
|
||||
### v5.4.0
|
||||
|
||||
- SafetyNet checks now require external code extension (for 100% FOSS)
|
||||
- Repo loading will now show real-time progress instead of blank screen
|
||||
- Show progress when downloading an online module
|
||||
- Allow secondary users to access superuser settings if allowed
|
||||
- Fix several places where external storage is needed but forgot to request
|
||||
- Fetching online repo info from sever is significantly faster thanks to multithreading
|
||||
- Pulling down Download page will now force a full refresh, thanks to the faster loading speed
|
||||
- Using new resetprop tool to properly detect MagiskHide status
|
||||
|
||||
### v5.3.5
|
||||
|
||||
- Fix error when MagiskManager folder doesn't exist
|
||||
- Offload many logic to scripts: script fixes will also be picked up in the app
|
||||
- Add installing Magisk to second slot on A/B partition devices
|
||||
- Support file based encryption: store necessary files into DE storage
|
||||
- Update uninstall method to self remove app and prompt user to manually reboot
|
||||
|
||||
### v5.3.0
|
||||
|
||||
- Add hide Magisk Manager feature - hide the app from detection
|
||||
- Add update channel settings - you can now receive beta updates through the app
|
||||
- Proper runtime permission implementation - request storage permission only when needed
|
||||
- Add boot image file patch feature - you can patch boot images without root!
|
||||
- Rewrite Magisk direct install method - merge with boot image file patch mode
|
||||
- Add feature to restore stock boot image - convenient for applying OTAs
|
||||
|
||||
### v5.2.0
|
||||
|
||||
- Fix force close which occurs when failure in flashing zips
|
||||
- Remove several external dependencies and rewrite a large portion of components
|
||||
- Improve MarkDown support: showing README.MD is much faster and will properly render Unicode characters (e.g. Chinese characters)
|
||||
- Add language settings: you can now switch to languages other than system default
|
||||
- Remove busybox included within APK; download through Internet if needed
|
||||
- Use Magisk internal busybox if detected
|
||||
- Busybox is added to the highest priority in PATH to create reliable shell environment
|
||||
- Always use global namespace for internal shell if possible
|
||||
|
||||
### v5.1.1
|
||||
|
||||
- Fix Magisk Manager hanging when reading files with no end newline
|
||||
- Massive rewrite AsyncTasks to prevent potential memory leak
|
||||
- Fix some minor issues with notifications
|
||||
- Improve update notification and popup behavior
|
||||
- Update internal uninstaller script
|
||||
|
||||
### v5.1.0
|
||||
|
||||
- Introduce a new flash log activity, so you know what is actually happening, just like flashing in custom recoveries!
|
||||
- Rewritten Java native shall interface: merged root shell and normal shell
|
||||
- Cleaned up implementation of repo recyclerview and adapters
|
||||
|
||||
### v5.0.6
|
||||
|
||||
- Fix crash when installing modules downloading from repos
|
||||
|
||||
### v5.0.5
|
||||
|
||||
- Fix update notifications on Android O
|
||||
- Fix crash when trying to install Magisk Manager update
|
||||
- Update translations
|
||||
|
||||
### v5.0.4
|
||||
|
||||
- Fix bug in su timeout
|
||||
|
||||
### v5.0.3
|
||||
|
||||
- Fix FC on boot on Android O
|
||||
- Adapt to Android O broadcast limitations: re-authenticate app when update is disabled on Android O
|
||||
|
||||
### v5.0.2
|
||||
- Rewrite zip signing part, zips downloaded from repo will be properly signed and adjusted for custom recoveries
|
||||
|
||||
### v5.0.1
|
||||
|
||||
- Add namespace mode options
|
||||
- Fix a bug in Manager OTA system
|
||||
|
||||
### v5.0.0
|
||||
|
||||
- Support the new Magisk unified binary
|
||||
- Properly handle application install / uninstall root management issues
|
||||
- Add multiuser mode support
|
||||
- Add application upgrade re-authentication feature
|
||||
- Add basic integrity check for SafetyNet
|
||||
- Merged install fragment and status fragment into Magisk fragment
|
||||
- Fix theme switching glitch
|
||||
- Update translations
|
||||
|
||||
### v4.3.3
|
||||
|
||||
- Re-build APK with stable build tools
|
||||
|
||||
### v4.3.2
|
||||
|
||||
- Improve usage of Github API to support unlimited amount of online repos
|
||||
- Update translations (thanks to all contributors!!)
|
||||
|
||||
### v4.3.1
|
||||
- Update proper Magisk busybox detection, will not be confused by busybox installed by default in custom roms
|
||||
|
||||
### v4.3.0
|
||||
|
||||
- Add Core Only Mode option
|
||||
- Fix crashes when selecting release note on Samsung devices
|
||||
- Hide modules using template lower than version 3
|
||||
|
||||
### v4.2.7
|
||||
|
||||
- Update translations
|
||||
- Update uninstall scripts
|
||||
|
||||
### v4.2.6
|
||||
|
||||
- Samsung crashes finally fixed (confirmed!)
|
||||
- Add settings to disable update notifications
|
||||
- Adjust Dark theme colors
|
||||
- Refined download section, now support download only when root is not detected
|
||||
- Fix crashes in boot image selection
|
||||
|
||||
### v4.2
|
||||
|
||||
- Change Repo cache to database
|
||||
- Dark theme refined
|
||||
- Alert Dialog buttons now properly aligned
|
||||
- Support very large online modules' zip processing
|
||||
- You can now download online modules without installing
|
||||
- Add notifications when new Magisk version is available
|
||||
- Removed changelog, donation link, support link in download cards
|
||||
- Read and display README.md for online modules
|
||||
|
||||
### v4.1
|
||||
|
||||
- Change MagiskHide startup
|
||||
- Reduce static data (= less memory leaks/issues)
|
||||
- Translation updates
|
||||
|
||||
### v4.0
|
||||
|
||||
- Whole new Superuser section for MagiskSU management!
|
||||
- Add Superuser tab in Logs section
|
||||
- Add lots of Superuser settings
|
||||
- Handle MagiskSU requests, logging, notifications
|
||||
- Controls MagiskHide initialization
|
||||
- Add disable button
|
||||
- Add uninstall button
|
||||
- Tons of improvements, not practical to list all :)
|
||||
|
||||
### v3.1
|
||||
|
||||
- Fix online repo inaccessible issue
|
||||
- Fix repo list card expanding issues
|
||||
- Change SafetyNet check to manually triggered
|
||||
- Update translations
|
||||
- Tons of bug fixes preventing potential crashes
|
||||
|
||||
### v3.0
|
||||
|
||||
- Now on Play Store
|
||||
- Add Status Section, you can check Safety Net, root status, and Magisk status in one place
|
||||
- Add Install Section, you can manually choose the boot image location and advanced options
|
||||
|
||||
### v2.5
|
||||
|
||||
- Add Magisk Hide section, you can now add/remove apps from Magisk Hide list
|
||||
- Support custom Magisk Version names, any string is now accepted (for custom builds)
|
||||
- Fixed modules and repos not sorted by name
|
||||
|
||||
### v2.1
|
||||
|
||||
- Add Magisk Hide settings
|
||||
- Add search bar in "Downloads Sections"
|
||||
- Fix crashes when no root is available
|
||||
- Fix trash can icon not updated when removing module
|
||||
- Prevent crash when Magisk Version is set incorrectly
|
||||
|
||||
### v2.0
|
||||
|
||||
- Massive refactor
|
||||
- Material Design
|
||||
- Module Management
|
||||
- Download Section
|
||||
- And much more....
|
||||
|
||||
### v1.0
|
||||
|
||||
- Initial release
|
575
docs/changes.md
Normal file
575
docs/changes.md
Normal file
@ -0,0 +1,575 @@
|
||||
# Magisk Changelog
|
||||
|
||||
### v21.0
|
||||
|
||||
- [General] Support Android 11 🎉
|
||||
- [General] Add Safe Mode detection. Disable all modules when the device is booting into Safe Mode.
|
||||
- [General] Increase `post-fs-data` mode timeout from 10 seconds to 40 seconds
|
||||
- [MagiskInit] Rewritten 2SI support from scratch
|
||||
- [MagiskInit] Support when no `/sbin` folder exists (Android 11)
|
||||
- [MagiskInit] Dump fstab from device-tree to rootfs and force `init` to use it for 2SI devices
|
||||
- [MagiskInit] Strip out AVB for 2SI as it may cause bootloop
|
||||
- [Modules] Rewritten module mounting logic from scratch
|
||||
- [MagiskSU] For Android 8.0+, a completely new policy setup is used. This reduces compromises in Android's sandbox, providing more policy isolation and better security for root users.
|
||||
- [MagiskSU] Isolated mount namespace will now first inherit from parent process, then isolate itself from the world
|
||||
- [MagiskSU] Update communication protocol with Magisk Manager to work with the hardened SELinux setup
|
||||
- [MagiskPolicy] Optimize match all rules. This will significantly reduce policy binary size and save memory and improve general kernel performance.
|
||||
- [MagiskPolicy] Support declaring new types and attributes
|
||||
- [MagiskPolicy] Make policy statement closer to stock `*.te` format. Please check updated documentation or `magiskpolicy --help` for more details.
|
||||
- [MagiskBoot] Support compressed `extra` blobs
|
||||
- [MagiskBoot] Pad boot images to original size with zeros
|
||||
- [MagiskHide] Manipulate additional vendor properties
|
||||
- [BusyBox] Add SELinux support
|
||||
- [BusyBox] Support runtime toggle "ASH Standalone Mode" feature
|
||||
|
||||
### v20.4
|
||||
|
||||
- [MagiskInit] Fix potential bootloop in A-only 2SI devices
|
||||
- [MagiskInit] Properly support Tegra partition naming
|
||||
- [General] Load libsqlite.so dynamically, which removes the need to use wrapper scripts on Android 10+
|
||||
- [General] Detect API level with a fallback method on some devices
|
||||
- [General] Workaround possible bug in x86 kernel readlinkat system call
|
||||
- [BusyBox] Enable SELinux features. Add chcon/runcon etc., and '-Z' option to many applets
|
||||
- [BusyBox] Introduce standalone mode. More details in release notes
|
||||
- [MagiskHide] Disable MagiskHide by default
|
||||
- [MagiskHide] Add more potential detectable system properties
|
||||
- [MagiskHide] Add workaround for Xiaomi devices bootloop when MagiskHide is enabled on cross region ROMs
|
||||
- [MagiskBoot] Support patching special Motorolla DTB format
|
||||
- [MagiskPolicy] Support 'genfscon' sepolicy rules
|
||||
- [Scripts] Support NAND based boot images (character nodes in /dev/block)
|
||||
- [Scripts] Better addon.d (both v1 and v2) support
|
||||
- [Scripts] Support Lineage Recovery for Android 10+
|
||||
|
||||
### v20.3
|
||||
- [MagiskBoot] Fix `lz4_legacy` decompression
|
||||
|
||||
### 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
|
||||
|
||||
### 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
|
||||
|
||||
### 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
|
||||
|
||||
### 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)
|
||||
|
||||
### 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
|
||||
|
||||
### 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.
|
||||
|
||||
### 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)
|
||||
|
||||
### 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
|
||||
|
||||
### 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
|
||||
|
||||
### 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"
|
||||
|
||||
### v17.3
|
||||
|
||||
- [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 daemon
|
||||
- [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
|
||||
|
||||
### v17.2
|
||||
|
||||
- [ResetProp] Update to AOSP upstream to support serialized system properties
|
||||
- [MagiskInit] Randomize Magisk service names to prevent detection (e.g. FGO)
|
||||
- [MagiskSU] New communication scheme to communicate with Magisk Manager
|
||||
|
||||
### v17.0/17.1
|
||||
|
||||
- [General] Bring back install to inactive slot for OTAs on A/B devices
|
||||
- [Script] Remove system based root in addon.d
|
||||
- [Script] Add proper addon.d-v2 for preserving Magisk on custom ROMs on A/B devices
|
||||
- [Script] Enable KEEPVERITY when the device is using system\_root\_image
|
||||
- [Script] Add hexpatch to remove Samsung defex in new Oreo kernels
|
||||
- [Daemon] Support non ext4 filesystems for mirrors (system/vendor)
|
||||
- [MagiskSU] Make pts sockets always run in dev_pts secontext, providing all terminal emulator root shell the same power as adb shells
|
||||
- [MagiskHide] Kill all processes with same UID of the target to workaround OOS embryo optimization
|
||||
- [MagiskInit] Move all sepolicy patches pre-init to prevent Pixel 2 (XL) boot service breakdown
|
||||
|
||||
### v16.7
|
||||
|
||||
- [Scripts] Fix boot image patching errors on Android P (workaround the strengthened seccomp)
|
||||
- [MagiskHide] Support hardlink based ns proc mnt (old kernel support)
|
||||
- [Daemon] Fix permission of /dev/null after logcat commands, fix ADB on EMUI
|
||||
- [Daemon] Log fatal errors only on debug builds
|
||||
- [MagiskInit] Detect early mount partname from fstab in device tree
|
||||
|
||||
### v16.6
|
||||
|
||||
- [General] Add wrapper script to overcome weird `LD_XXX` flags set in apps
|
||||
- [General] Prevent bootloop when flashing Magisk after full wipe on FBE devices
|
||||
- [Scripts] Support patching DTB placed in extra sections in boot images (Samsung S9/S9+)
|
||||
- [Scripts] Add support for addon.d-v2 (untested)
|
||||
- [Scripts] Fix custom recovery console output in addon.d
|
||||
- [Scripts] Fallback to parsing sysfs for detecting block devices
|
||||
- [Daemon] Check whether a valid Magisk Manager is installed on boot, if not, install stub APK embedded in magiskinit
|
||||
- [Daemon] Check whether Magisk Manager is repackaged (hidden), and prevent malware from hijacking com.topjohnwu.magisk
|
||||
- [Daemon] Introduce new daemon: magisklogd, a dedicated daemon to handle all logcat related monitoring
|
||||
- [Daemon] Replace old invincible mode with handshake between magiskd and magisklogd, one will respwan the other if disconnected
|
||||
- [Daemon] Support GSI adbd bind mounting
|
||||
- [MagiskInit] Support detecting block names in upper case (Samsung)
|
||||
- [MagiskBoot] Check DTB headers to prevent false detections within kernel binary
|
||||
- [MagiskHide] Compare mount namespace with PPID to make sure the namespace is actually separated, fix root loss
|
||||
- [MagiskSU] Simplify `su_info` caching system, should use less resources and computing power
|
||||
- [MagiskSU] Reduce the amount of broadcasting to Magisk Manager
|
||||
- [ImgTool] Separate all ext4 image related operations to a new applet called "imgtool"
|
||||
- [ImgTool] Use precise free space calculation methods
|
||||
- [ImgTool] Use our own set of loop devices hidden along side with sbin tmpfs overlay. This not only eliminates another possible detection method, but also fixes apps that mount OBB files as loop devices (huge thanks to dev of Pzizz for reporting this issue)
|
||||
|
||||
### 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
|
||||
|
||||
### v16.3
|
||||
|
||||
- [General] Remove symlinks used for backwards compatibility
|
||||
- [MagiskBoot] Fix a small size calculation bug
|
||||
|
||||
### v16.2
|
||||
|
||||
- [General] Force use system binaries in handling ext4 images (fix module installation on Android P)
|
||||
- [MagiskHide] Change property state to disable if logd is disabled
|
||||
|
||||
### v16.1
|
||||
|
||||
- [MagiskBoot] Fix MTK boot image packaging
|
||||
- [MagiskBoot] Add more Nook/Acclaim headers support
|
||||
- [MagiskBoot] Support unpacking DTB with empty kernel image
|
||||
- [MagiskBoot] Update high compression mode detection logic
|
||||
- [Daemon] Support new mke2fs tool on Android P
|
||||
- [resetprop] Support Android P new property context files
|
||||
- [MagiskPolicy] Add new rules for Android P
|
||||
|
||||
### v16.0
|
||||
|
||||
- [MagiskInit] Support non `skip_initramfs` devices with slot suffix (Huawei Treble)
|
||||
- [MagiskPolicy] Add rules for Magisk Manager
|
||||
- [Compiler] Workaround an NDK compiler bug that causes bootloops
|
||||
|
||||
### v15.4
|
||||
|
||||
- [MagiskBoot] Support Samsung PXA, DHTB header images
|
||||
- [MagiskBoot] Support ASUS blob images
|
||||
- [MagiskBoot] Support Nook Green Loader images
|
||||
- [MagiskBoot] Support pure ramdisk images
|
||||
- [MagiskInit] Prevent OnePlus angela `sepolicy_debug` from loading
|
||||
- [MagiskInit] Obfuscate Magisk socket entry to prevent detection and security
|
||||
- [Daemon] Fix subfolders in /sbin shadowed by overlay
|
||||
- [Daemon] Obfuscate binary names to prevent naive detections
|
||||
- [Daemon] Check logd before force trying to start logcat in a loop
|
||||
|
||||
### v15.3
|
||||
|
||||
- [Daemon] Fix the bug that only one script would be executed in post-fs-data.d/service.d
|
||||
- [Daemon] Add `MS_SILENT` flag when mounting, should fix some devices that cannot mount magisk.img
|
||||
- [MagiskBoot] Fix potential segmentation fault when patching ramdisk, should fix some installation failures
|
||||
|
||||
### v15.2
|
||||
|
||||
- [MagiskBoot] Fix dtb verity patches, should fix dm-verity bootloops on newer devices placing fstabs in dtb
|
||||
- [MagiskPolicy] Add new rules for proper Samsung support, should fix MagiskHide
|
||||
- [MagiskInit] Support non `skip_initramfs` devices using split sepolicies (e.g. Zenfone 4 Oreo)
|
||||
- [Daemon] Use specific logcat buffers, some devices does not support all log buffers
|
||||
- [scripts] Update scripts to double check whether boot slot is available, some devices set a boot slot without A/B partitions
|
||||
|
||||
### v15.1
|
||||
|
||||
- [MagiskBoot] Fix faulty code in ramdisk patches which causes bootloops in some config and fstab format combos
|
||||
|
||||
### v15.0
|
||||
|
||||
- [Daemon] Fix the bug that Magisk cannot properly detect /data encryption state
|
||||
- [Daemon] Add merging `/cache/magisk.img` and `/data/adb/magisk_merge.img` support
|
||||
- [Daemon] Update to upstream libsepol to support cutting edge split policy custom ROM cil compilations
|
||||
|
||||
### v14.6 (1468)
|
||||
|
||||
- [General] Move all files into a safe location: /data/adb
|
||||
- [Daemon] New invincible implementation: use `magiskinit_daemon` to monitor sockets
|
||||
- [Daemon] Rewrite logcat monitor to be more efficient
|
||||
- [Daemon] Fix a bug where logcat monitor may spawn infinite logcat processes
|
||||
- [MagiskSU] Update su to work the same as proper Linux implementation:
|
||||
Initialize window size; all environment variables will be migrated (except HOME, SHELL, USER, LOGNAME, these will be set accordingly),
|
||||
"--preserve-environment" option will preserve all variables, including those four exceptions.
|
||||
Check the Linux su manpage for more info
|
||||
- [MagiskBoot] Massive refactor, rewrite all cpio operations and CLI
|
||||
- [MagiskInit][MagiskBoot] Support ramdisk high compression mode
|
||||
|
||||
### v14.5 (1456)
|
||||
|
||||
- [Magiskinit] Fix bootloop issues on several devices
|
||||
- [misc] Build binaries with NDK r10e, should get rid of the nasty linker warning when executing magisk
|
||||
|
||||
### v14.5 (1455)
|
||||
|
||||
- [Daemon] Moved internal path to /sbin/.core, new image mountpoint is /sbin/.core/img
|
||||
- [MagiskSU] Support switching package name, used when Magisk Manager is hidden
|
||||
- [MagiskHide] Add temporary /magisk removal
|
||||
- [MagiskHide] All changes above contributes to hiding from nasty apps like FGO and several banking apps
|
||||
- [Magiskinit] Use magiskinit for all devices (dynamic initramfs)
|
||||
- [Magiskinit] Fix Xiaomi A1 support
|
||||
- [Magiskinit] Add Pixel 2 (XL) support
|
||||
- [Magiskboot] Add support to remove avb-verity in dtbo.img
|
||||
- [Magiskboot] Fix typo in handling MTK boot image headers
|
||||
- [script] Along with updates in Magisk Manager, add support to sign boot images (AVB 1.0)
|
||||
- [script] Add dtbo.img backup and restore support
|
||||
- [misc] Many small adjustments to properly support old platforms like Android 5.0
|
||||
|
||||
### v14.3 (1437)
|
||||
|
||||
- [MagiskBoot] Fix Pixel C installtion
|
||||
- [MagiskBoot] Handle special `lz4_legacy` format properly, should fix all LG devices
|
||||
- [Daemon] New universal logcat monitor is added, support plug-and-play to worker threads
|
||||
- [Daemon] Invincible mode: daemon will be restarted by init, everything should seamlessly through daemon restarts
|
||||
- [Daemon] Add new restorecon action, will go through and fix all Magisk files with selinux unlabled to `system_file` context
|
||||
- [Daemon] Add brute-force image resizing mode, should prevent the notorious Samsung crappy resize2fs from affecting the result
|
||||
- [resetprop] Add new "-p" flag, used to toggle whether alter/access the actual persist storage for persist props
|
||||
|
||||
### v14.2
|
||||
|
||||
- [MagicMount] Clone attributes to tmpfs mountpoint, should fix massive module breakage
|
||||
|
||||
### v14.1
|
||||
|
||||
- [MagiskInit] Introduce a new init binary to support `skip_initramfs` devices (Pixel family)
|
||||
- [script] Fix typo in update-binary for x86 devices
|
||||
- [script] Fix stock boot image backup not moved to proper location
|
||||
- [script] Add functions to support A/B slot and `skip_initramfs` devices
|
||||
- [script] Detect Meizu boot blocks
|
||||
- [MagiskBoot] Add decompress zImage support
|
||||
- [MagiskBoot] Support extracting dtb appended to zImage block
|
||||
- [MagiskBoot] Support patching fstab within dtb
|
||||
- [Daemon/MagiskSU] Proper file based encryption support
|
||||
- [Daemon] Create core folders if not exist
|
||||
- [resetprop] Fix a bug which delete props won't remove persist props not in memory
|
||||
- [MagicMount] Remove usage of dummy folder, directly mount tmpfs and constuct file structure skeleton in place
|
||||
|
||||
### v14.0
|
||||
|
||||
- [script] Simplify installation scripts
|
||||
- [script] Fix a bug causing backing up and restoring stock boot images failure
|
||||
- [script] Installation and uninstallation will migrate old or broken stock boot image backups to proper format
|
||||
- [script] Fix an issue with selabel setting in `util_functions.sh` on Lollipop
|
||||
- [rc script] Enable logd in post-fs to start logging as early as possible
|
||||
- [MagiskHide] magisk.img mounted is no longer a requirement
|
||||
Devices with issues mounting magisk.img can now run in proper core-only mode
|
||||
- [MagiskBoot] Add native function to extract stock SHA1 from ramdisk
|
||||
- [b64xz] New tool to extract compressed and encoded binary dumps in shell script
|
||||
- [busybox] Add busybox to Magisk source, and embed multi-arch busybox binary into update-binary shell script
|
||||
- [busybox] Busybox is added into PATH for all boot scripts (post-fs-data.d, service.d, and all module scripts)
|
||||
- [MagiskSU] Fully fix multiuser issues
|
||||
- [Magic Mount] Fix a typo in cloning attributes
|
||||
- [Daemon] Fix the daemon crashing when boot scripts opens a subshell
|
||||
- [Daemon] Adjustments to prevent stock Samsung kernel restrictions on exec system calls for binaries started from /data
|
||||
- [Daemon] Workaround on Samsung device with weird fork behaviors
|
||||
|
||||
### v13.3
|
||||
|
||||
- [MagiskHide] Update to bypass Google CTS (2017.7.17)
|
||||
- [resetprop] Properly support removing persist props
|
||||
- [uninstaller] Remove Magisk Manager and persist props
|
||||
|
||||
### v13.2
|
||||
|
||||
- [magiskpolicy] Fix magiskpolicy segfault on old Android versions, should fix tons of older devices that couldn't use v13.1
|
||||
- [MagiskHide] Set proper selinux context while re-linking /sbin to hide Magisk, should potentially fix many issues
|
||||
- [MagiskBoot] Change lzma compression encoder flag from `LZMA_CHECK_CRC64` to `LZMA_CHECK_CRC32`, kernel only supports latter
|
||||
- [General] Core-only mode now properly mounts systemless hosts and magiskhide
|
||||
|
||||
### v13.1
|
||||
|
||||
- [General] Merge MagiskSU, magiskhide, resetprop, magiskpolicy into one binary
|
||||
- [General] Add Android O support (tested on DP3)
|
||||
- [General] Dynamic link libselinux.so, libsqlite.so from system to greatly reduce binary size
|
||||
- [General] Remove bundled busybox because it casues a lot of issues
|
||||
- [General] Unlock all block devices for read-write support instead of emmc only (just figured not all devices uses emmc lol)
|
||||
- [Scripts] Run all ext4 image operations through magisk binary in flash scripts
|
||||
- [Scripts] Updated scripts to use magisk native commands to increase compatibility
|
||||
- [Scripts] Add addon.d survival support
|
||||
- [Scripts] Introduce `util_functions.sh`, used as a global shell script function source for all kinds of installation
|
||||
- [MagiskBoot] Moved boot patch logic into magiskboot binary
|
||||
- [MagiskSU] Does not fork new process for each request, add new threads instead
|
||||
- [MagiskSU] Added multiuser support
|
||||
- [MagiskSU] Introduce new timeout queue mechanism, prevent performance hit with poorly written su apps
|
||||
- [MagiskSU] Multiple settings moved from prop detection to database
|
||||
- [MagiskSU] Add namespace mode option support
|
||||
- [MagiskSU] Add master-mount option
|
||||
- [resetprop] Updated to latest AOSP upstream, support props from 5.0 to Android O
|
||||
- [resetprop] Renamed all functions to prevent calling functions from external libc
|
||||
- [magiskpolicy] Updated libsepol from official SELinux repo
|
||||
- [magiskpolicy] Added xperm patching support (in order to make Android O work properly)
|
||||
- [magiskpolicy] Updated rules for Android O, and Liveboot support
|
||||
- [MagiskHide] Remove pseudo permissive mode, directly hide permissive status instead
|
||||
- [MagiskHide] Remove unreliable list file monitor, change to daemon request mode
|
||||
- [MagiskHide] MagiskHide is now enabled by default
|
||||
- [MagiskHide] Update unmount policies, passes CTS in SafetyNet!
|
||||
- [MagiskHide] Add more props for hiding
|
||||
- [MagiskHide] Remove background magiskhide daemon, spawn short life process for unmounting purpose
|
||||
- [Magic Mount] Ditched shell script based mounting, use proper C program to parse and mount files. Speed is SIGNIFICANTLY improved
|
||||
|
||||
### v12.0
|
||||
|
||||
- [General] Move most binaries into magisk.img (Samsung cannot run su daemon in /data)
|
||||
- [General] Move sepolicy live patch to `late_start` service
|
||||
This shall fix the long boot times, especially on Samsung devices
|
||||
- [General] Add Samsung RKP hexpatch back, should now work on Samsung stock kernels
|
||||
- [General] Fix installation with SuperSU
|
||||
- [MagiskHide] Support other logcat `am_proc_start` patterns
|
||||
- [MagiskHide] Change /sys/fs/selinux/enforce(policy) permissions if required
|
||||
Samsung devices cannot switch selinux states, if running on permissive custom kernel, the users will stuck at permissive
|
||||
If this scenario is detected, change permissions to hide the permissive state, leads to SafetyNet passes
|
||||
- [MagiskHide] Add built in prop rules to fake KNOX status
|
||||
Samsung apps requiring KNOX status to be 0x0 should now work (Samsung Pay not tested)
|
||||
- [MagiskHide] Remove all ro.build props, since they cause more issues than they benefit...
|
||||
- [MagiskBoot] Add lz4 legacy format support (most linux kernel using lz4 for compression is using this)
|
||||
- [MagiskBoot] Fix MTK kernels with MTK headers
|
||||
|
||||
### v11.5/11.6
|
||||
|
||||
- [Magic Mount] Fix mounting issues with devices that have separate /vendor partitions
|
||||
- [MagiskBoot] Whole new boot image patching tool, please check release note for more info
|
||||
- [magiskpolicy] Rename sepolicy-inject to magiskpolicy
|
||||
- [magiskpolicy] Update a rule to allow chcon everything properly
|
||||
- [MagiskHide] Prevent multirom crashes
|
||||
- [MagiskHide] Add patches for ro.debuggable, ro.secure, ro.build.type, ro.build.tags, ro.build.selinux
|
||||
- [MagiskHide] Change /sys/fs/selinux/enforce, /sys/fs/selinux/policy permissions for Samsung compatibility
|
||||
- [MagiskSU] Fix read-only partition mounting issues
|
||||
- [MagiskSU] Disable -cn option, the option will do nothing, preserved for compatibility
|
||||
|
||||
### v11.1
|
||||
|
||||
- [sepolicy-inject] Add missing messages
|
||||
- [magiskhide] Start MagiskHide with scripts
|
||||
|
||||
### v11.0
|
||||
|
||||
- [Magic Mount] Support replacing symlinks.
|
||||
Symlinks cannot be a target of a bind mounted, so they are treated the same as new files
|
||||
- [Magic Mount] Fix the issue when file/folder name contains spaces
|
||||
- [BusyBox] Updated to v1.26.2. Should fix the black screen issues of FlashFire
|
||||
- [resetprop] Support reading prop files that contains spaces in prop values
|
||||
- [MagiskSU] Adapt communication to Magisk Manager; stripped out unused data transfer
|
||||
- [MagiskSU] Implement SuperUser access option (Disable, APP only, ADB Only, APP & ADB)
|
||||
phh Superuser app has this option but the feature isn't implemented within the su binary
|
||||
- [MagiskSU] Fixed all issues with su -c "commands" (run commands with root)
|
||||
This feature is supposed to only allow one single option, but apparently adb shell su -c "command" doesn't work this way, and plenty of root apps don't follow the rule. The su binary will now consider everything after -c as a part of the command.
|
||||
- [MagiskSU] Removed legacy context hack for TiBack, what it currently does is slowing down the invocation
|
||||
- [MagiskSU] Preserve the current working directory after invoking su
|
||||
Previously phh superuser will change the path to /data/data after obtaining root shell. It will now stay in the same directory where you called su
|
||||
- [MagiskSU] Daemon now also runs in u:r:su:s0 context
|
||||
- [MagiskSU] Removed an unnecessary fork, reduce running processes and speed up the invocation
|
||||
- [MagiskSU] Add -cn option to the binary
|
||||
Not sure if this is still relevant, and also not sure if implemented correctly, but hey it's here
|
||||
- [sepolicy-inject] Complete re-write the command-line options, now nearly matches supolicy syntax
|
||||
- [sepolicy-inject] Support all matching mode for nearly every action (makes pseudo enforced possible)
|
||||
- [sepolicy-inject] Fixed an ancient bug that allocated memory isn't reset
|
||||
- [uninstaller] Now works as a independent script that can be executed at boot
|
||||
Fully support recovery with no /data access, Magisk uninstallation with Magisk Manager
|
||||
- [Addition] Busybox, MagiskHide, hosts settings can now be applied instantly; no reboots required
|
||||
- [Addition] Add post-fs-data.d and service.d
|
||||
- [Addition] Add option to disable Magisk (MagiskSU will still be started)
|
||||
|
||||
### 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
|
||||
|
||||
### v9
|
||||
|
||||
- **[API Change] Remove the interface for post-fs modules**
|
||||
- [resetprop] New tool "resetprop" is added to Magisk to replace most post-fs modules' functionality
|
||||
- [resetprop] Magisk will now patch "ro.boot.verifiedbootstate", "ro.boot.flash.locked", "ro.boot.veritymode" to bypass Safety Net
|
||||
- [Magic Mount] Move dummy skeleton / mirror / mountinfo filesystem tree to tmpfs
|
||||
- [Magic Mount] Rewritten dummy cloning mechanism from scratch, will result in minimal bind mounts, minimal file traversal, eliminate all possible issues that might happen in extreme cases
|
||||
- [Magic Mount] Adding new items to /systen/bin, /system/vendor, /system/lib(64) is properly supported (devices with seperate vendor partition is not supported yet)
|
||||
- [Magisk Hide] Rewritten from scratch, now run in daemon mode, proper list monitoring, proper mount detection, and maybe more.....
|
||||
- [Boot Image] Add support for Motorola boot image dtb, it shall now unpack correctly
|
||||
- [Uninstaller] Add removal of SuperSU custom patch script
|
||||
|
||||
### v8
|
||||
|
||||
- Add Magisk Hide to bypass SafetyNet
|
||||
- Improve SuperSU integration: no longer changes the SuperSU PATH
|
||||
- Support rc script entry points not located in init.rc
|
||||
|
||||
### v7
|
||||
|
||||
- Fully open source
|
||||
- Remove supolicy dependency, use my own sepolicy-injection
|
||||
- Run everything in its own selinux domain, should fix all selinux issues
|
||||
- Add Note 7 stock kernel hex patches
|
||||
- Add support to install Magisk in Magisk Manager
|
||||
- Add support for image merging for module flashing in Magisk Manager
|
||||
- Add root helpers for SuperSU auto module-ize and auto upgrading legacy phh superuser
|
||||
- New paths to toggle busybox, and support all root solutions
|
||||
- Remove root management API; both SuperSU and phh has their own superior solutions
|
||||
|
||||
### v6
|
||||
|
||||
- Fixed the algorithm for adding new files and dummy system
|
||||
- Updated the module template with a default permission, since people tend to forget them :)
|
||||
|
||||
### v5
|
||||
|
||||
- Hotfix for older Android versions (detect policy before patching)
|
||||
- Update uninstaller to NOT uninstall Magisk Manager, since it cause problems
|
||||
|
||||
### v4
|
||||
|
||||
- Important: Uninstall v1 - v3 Magisk before upgrading with the uninstaller in the OP!!
|
||||
- Massive Rewrite Magisk Interface API! All previous mods are NOT compatible! Please download the latest version of the mods you use (root/xposed)
|
||||
- Mods are now installed independently in their own subfolder. This paves the way for future Magisk Manager versions to manage mods, **just like how Xposed Modules are handled**
|
||||
- Support small boot partition devices (Huawei devices)
|
||||
- Use minimal sepolicy patch in boot image for smaller ramdisk size. Live patch policies after bootup
|
||||
- Include updated open source sepolicy injection tool (source code available), support nearly all SuperSU supolicy tool's functionality
|
||||
|
||||
### v3
|
||||
|
||||
- Fix bootimg-extract for Exynos Samsung devices (thanks to @phhusson), should fix all Samsung device issues
|
||||
- Add supolicy back to patch sepolicy (stock Samsung do not accept permissive domain)
|
||||
- Update sepolicy-injection to patch su domain for Samsung devices to use phh's root
|
||||
- Update root disable method, using more aggressive approach
|
||||
- Use lazy unmount to unmount root from system, should fix some issues with custom roms
|
||||
- Use the highest possible compression rate for ramdisk, hope to fix some devices with no boot partition space
|
||||
- Detect boot partition space insufficient, will abort installer instead of breaking your device
|
||||
|
||||
### v2
|
||||
|
||||
- Fix verity patch. It should now work on all devices (might fix some of the unable-to-boot issues)
|
||||
- All scripts will now run in selinux permissive mode for maximum compatibility (this will **NOT** turn your device to permissive)
|
||||
- Add Nougat Developer Preview 5 support
|
||||
- Add systemless host support for AdBlock Apps (enabled by default)
|
||||
- Add support for new root disable method
|
||||
- Remove sepolicy patches that uses SuperSU's supolicy tool; it is now using a minimal set of modifications
|
||||
- Removed Magisk Manager in Magisk patch, it is now included in Magisk phh's superuser only
|
||||
|
||||
### v1
|
||||
- Initial release
|
30
docs/releases/18000.md
Normal file
30
docs/releases/18000.md
Normal file
@ -0,0 +1,30 @@
|
||||
## 2018.12.7 Magisk v18.0
|
||||
|
||||
Here comes a stable release, this time with quite a few major updates!
|
||||
|
||||
### MagiskHide Improvements
|
||||
Starting from v18, the process monitor matches component names instead of process names. Android allow app services to name their process arbitrarily, and many apps starting to use dedicated services to detect root; it used to require adding all of these service process names to the list to hide Magisk effectively. Component names have the format: `<package name>/<java class name>`, which means we can always know which application spawned a given process.
|
||||
|
||||
**TL;DR, ALL processes spawned from the applications on the hide list will be targeted.**
|
||||
|
||||
Recently I discovered a *very widespread Linux kernel bug* affecting tons of Android devices (full write-up: [Medium Article](https://medium.com/@topjohnwu/from-anime-game-to-android-system-security-vulnerability-9b955a182f20)). This bug exposes the supposedly protected `procfs`, which is abused in some apps to detect Magisk with information leaked from other processes. Magisk will patch this bug on all Android 7.0+ devices. Yes, a fully effective MagiskHide requires the enhanced Android Sandbox in modern Android versions.
|
||||
|
||||
### Path Changes
|
||||
The name of the folder `/sbin/.core` is confusing and will no longer be used; it is replaced with `/sbin/.magisk`. Another major change is the location to store general boot scripts. As these boot scripts should still run even if `magisk.img` is not mounted, they are moved out of `magisk.img`, from `<img>/.core/<stage>.d` to `/data/adb/<stage>.d` (stage is either `post-fs-data` or `service`). Say goodbye to stupid paths like `/sbin/.core/img/.core/post-fs-data.d`!
|
||||
|
||||
Quick recap:
|
||||
|
||||
- New `magisk.img` mountpoint: `/sbin/.magisk/img`
|
||||
- New internal busybox PATH: `/sbin/.magisk/busybox`
|
||||
- The folder `<img>/.core` is no longer used in any places. `magisk.img` is solely used for storing modules, no other functionality depends on it.
|
||||
- **Symlinks are created so all old paths will still work. None of the existing apps/scripts depending on these internal paths should break, but please migrate to the new paths ASAP.**
|
||||
|
||||
### Dropping Legacy Support
|
||||
**The NEXT Magisk Manager upgrade (not this one) will only support v18+, please upgrade ASAP.** Magisk Manager is always designed to be fully functional across a wide range of Magisk versions. However, to enforce full obfuscation, I will have to drop legacy support eventually.
|
||||
|
||||
This is also a good opportunity to push the whole community forward, all module developers should forget about backward compatibility (e.g. stop supporting the old Magisk paths, please don't torture yourself...). I expect very few structural changes in the near future, so again, please upgrade ASAP :)
|
||||
|
||||
### Modern C++ Code Base
|
||||
Although this has nothing to do with the end user, tons of effort was done to migrate Magisk to a more modern C++ code base instead of the previous good plain old C. This makes the code easier to maintain and allows me to utilized many C++ language features.
|
||||
|
||||
### Full Changelog: [here](https://forum.xda-developers.com/showpost.php?p=68966755&postcount=2)
|
17
docs/releases/18100.md
Normal file
17
docs/releases/18100.md
Normal file
@ -0,0 +1,17 @@
|
||||
# 2019.2.4 Magisk v18.1
|
||||
|
||||
What is a better way to celebrate Chinese New Year than a new Magisk update!
|
||||
|
||||
### EMUI 9 Support
|
||||
Welcome on board "again", Huawei! Even though Huawei had officially blocked bootloader unlocks, people still love to buy them (duh), and there are paid services that unlock Huawei bootloaders. So hey, get Magisk installed on that bad boy! One caveat is that since Huawei have changed the partitions, special workarounds has to be done. Details and instructions are in the newly created [instruction page](https://topjohnwu.github.io/Magisk/install.html)
|
||||
|
||||
### Support Down to Android 4.2
|
||||
Because why not, it was quite a lot of fun LOL. All devices running KitKat and higher will have all features enabled. MagiskHide and resetprop aren't possible on Jellybean, and Magic Mount (modules) is temporarily disabled; basically it only works as a root solution for now. Android 4.1 isn't 100% usable yet, so installation is also temporarily blocked. Eventually, all Jellybean devices will have full Magic Mount and MagiskSU support.
|
||||
|
||||
### Major Magisk Manager Update
|
||||
Aside from the obvious major UI overhaul, tons of little user experience and performance improvements are also added. The app is finally less crappy now :)
|
||||
|
||||
### Final Words
|
||||
I'm aware that there are apps updated to detect Magisk, however no MagiskHide improvements efforts are done in this release; v18.1 is aimed to be as stable as possible. Stay tuned for future public betas, or if you are more adventurous, jump on the Canary Channel bandwagon for more aggressive hiding techniques :)
|
||||
|
||||
### Full Changelog: [here](https://forum.xda-developers.com/showpost.php?p=68966755&postcount=2)
|
29
docs/releases/19000.md
Normal file
29
docs/releases/19000.md
Normal file
@ -0,0 +1,29 @@
|
||||
# 2019.3.28 Magisk v19.0
|
||||
|
||||
I would say this is one of my most ambitious release of all time! Due to the extremely massive changes, this release will be a public beta. Calling it v18.2 doesn't do it justice, so v19.0 we go.
|
||||
|
||||
## Magisk Module installer
|
||||
**Magisk module developers: pay extra attention!** A completely new [Magisk Module Installer](https://github.com/topjohnwu/magisk-module-installer) replaces the old Magisk module template. This new format decouples **ALL** installation logic from modules, and encourages developers to use the provided API for installation. This new format is **ENFORCED**, meaning all existing modules should upgrade ASAP, and new modules are **REQUIRED** to follow the rules.
|
||||
|
||||
Carefully read through the [updated docs](https://topjohnwu.github.io/Magisk/guides.html)!
|
||||
|
||||
**Warning: All existing modules that does not use the new module format will be automatically removed on May 1st, 2019. Module devs: upgrade your existing modules ASAP!**
|
||||
|
||||
## Imageless Magisk
|
||||
Since the existence of Magisk, all modules are stored within an EXT4 image which will be loop mounted at boot. This approach has a few problems: resizing the image is a huge headache (no live resizing, `resize2fs` on some devices refuse to work properly), and also MANY devices using F2FS ships a broken driver with the kernel, causing EXT4 loop devices unable to be mounted at all. All these problems come to an end now: modules are now directly stored in `/data`! Backwards compatibility is provided, for modules that uses the official module template, installation should work just fine.
|
||||
|
||||
**Warning: Although module migration was tested, there are still chances that your modules will get lost in the process. Be prepared to reinstall your existing modules in that case.**
|
||||
|
||||
## Native 64 Bit is Back
|
||||
At one point in history, Magisk uses native 64 binaries. However due to binary size considerations, all binaries was switched to 32 bit. Starting from v19, all static binaries are still 32 bit only, but the most important part: the main `magisk` binary now runs in native 64 bit on supported devices.
|
||||
|
||||
## Zygote Ptrace Based MagiskHide
|
||||
MagiskHide used to use `logcat` to monitor activity manager events for new process creation. That method is extremely unreliable: even with constant improvements since introduction, it is still not working 100% of the time. Here comes a fundamentally new approach: ptrace the zygote process and step through all fork events. In layman's term, this new method is able to target a process before it even starts to run! The code for it is extremely tricky, but it was tested for quite a while in the canary channel, so I'm confident enough to release this to the public :)
|
||||
|
||||
## Android Q
|
||||
Full support for Android Q Beta 1 is also introduced in this release. However, you cannot use it on the Pixel 3 (XL) due to the fact that Google decided to use logical partitions on the 3rd gen Pixels starting with Q. A solution is still WIP, please stay tuned!
|
||||
|
||||
## Final Words
|
||||
What you can expect in upcoming releases: Samsung S10 support, and full logical partition support. Also, I *AM* aware of Google Pay issues, but these are not my main focus now since there are still tons of other issues for me to focus on. Several discussion threads on XDA provide seemingly working solutions, please do some research on your own.
|
||||
|
||||
### Full Changelog: [here](https://forum.xda-developers.com/showpost.php?p=68966755&postcount=2)
|
12
docs/releases/19100.md
Normal file
12
docs/releases/19100.md
Normal file
@ -0,0 +1,12 @@
|
||||
# 2019.5.1 Magisk v19.1
|
||||
Finally, a lovely stable release!
|
||||
|
||||
For those that were using v18.1, here are some quick highlights of v19.0
|
||||
|
||||
- Imageless Magisk: Although module migration was tested, there are still chances that your modules will get lost in the process. Be prepared to reinstall your existing modules in that case.
|
||||
- Native 64-bit support
|
||||
- Zygote Ptrace Based MagiskHide
|
||||
|
||||
Other than adding support for Samsung system-as-root devices, this release is mostly bug fixes from v19.0. Enjoy :)
|
||||
|
||||
### Full Changelog: [here](https://forum.xda-developers.com/showpost.php?p=68966755&postcount=2)
|
1
docs/releases/19200.md
Normal file
1
docs/releases/19200.md
Normal file
@ -0,0 +1 @@
|
||||
# TODO
|
1
docs/releases/19300.md
Normal file
1
docs/releases/19300.md
Normal file
@ -0,0 +1 @@
|
||||
# TODO
|
23
docs/releases/19400.md
Normal file
23
docs/releases/19400.md
Normal file
@ -0,0 +1,23 @@
|
||||
# 2019.9.19 Magisk v19.4
|
||||
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.
|
||||
|
||||
### New System-as-root Implementation
|
||||
Magisk has supported system-as-root devices for a long time since the first Pixel came out. The goal is always to revert things back to the good old initramfs based root dir. However, this not only creates tons of issues on many devices, not easily hide-able with MagiskHide, but most importantly not even possible on Android 10. Starting with v19.4, Magisk will follow how Google has designed system-as-root: mounting system actually to `/` (root).
|
||||
|
||||
This implies several **MASSIVE** consequences for system-as-root devices:
|
||||
- `/system` is no longer a valid mount point. For existing root apps that remounts `/system` to `rw`, you will have to remount `/` instead of `/system`
|
||||
- The root directory (`/`) is no longer `rootfs`, but actually system. Remounting `/` to `rw` and modify files means you are writing to the actual system partition, NOT volatile storage as it used to be in `rootfs`. This is not recommended as user is not necessary aware that you are tampering an actual partition, sometimes dangerous if dm-verity/AVB-verity is enforced, or sometimes outright impossible since many devices now ship with read-only system partitions (e.g. EROFS, EXT4 dedup)
|
||||
- Several custom kernel rely on Magisk's root directory overlay system (`overlay`) for modifying `/`. This is no longer compatible with the new implementation. A new overlay system (`overlay.d`) will replace the existing one as an alternative (details in [documentations](https://topjohnwu.github.io/Magisk/guides.html#root-directory-overlay-system)). To provide backwards compatibility, Magisk will switch to "Compat Mode" when `/overlay` is detected, which simply reverts to the old system-as-root setup. **Compat Mode will not work on Android 10 and will cause bootloop**. Although things will still work as it used to, **please upgrade to `overlay.d` ASAP**.
|
||||
|
||||
### Android 10 Support
|
||||
Other than A-only devices running Android 10, Android 10 is fully supported with MagiskHide fully functioning. Android 10's biggest challenge is the new "2-Stage-Init" system-as-root implementation, which is the sole reason why A-only is not support yet. Stay tuned for further updates as that is the next thing on the list.
|
||||
|
||||
(For those interested in "2-Stage-Init" and other details of system-as-root, check [this Twitter thread I tweeted](https://twitter.com/topjohnwu/status/1174392824625676288))
|
||||
|
||||
### Product Partition Support
|
||||
Magisk Module developers can now finally properly modify files in `/product`! This partition is now an essential part in Android 10, and many files are moved from system to product. Please check [documentations](https://topjohnwu.github.io/Magisk/details.html#magic-mount) for more details.
|
||||
|
||||
### A-Only System-as-root
|
||||
A huge number of new devices have A-only system-as-root setups (Android 9.0). These unfortunate devices will have to install Magisk into the recovery partition. Please check the fully updated [Installation Guide](https://topjohnwu.github.io/Magisk/install.html) for more details.
|
||||
|
||||
### Full Changelog: [here](https://forum.xda-developers.com/showpost.php?p=68966755&postcount=2)
|
23
docs/releases/20000.md
Normal file
23
docs/releases/20000.md
Normal file
@ -0,0 +1,23 @@
|
||||
# 2019.10.11 Magisk v20.0
|
||||
The following release notes are mostly the same as v19.4. Compared to v19.4 beta, the most notable change is adding tons of support for more devices on Android 10, along with several bug fixes.
|
||||
|
||||
### New System-as-root Implementation
|
||||
Magisk has supported system-as-root devices for a long time since the first Pixel came out. The goal is always to revert things back to the good old initramfs based root dir. However, this not only creates tons of issues on many devices, not easily hide-able with MagiskHide, but most importantly not even possible on Android 10. Magisk will now start to follow how Google has designed system-as-root: mounting system actually to `/` (root).
|
||||
|
||||
This implies several **MASSIVE** consequences for system-as-root devices:
|
||||
- `/system` is no longer a valid mount point. For existing root apps that remounts `/system` to `rw`, you will have to remount `/` instead of `/system`
|
||||
- The root directory (`/`) is no longer `rootfs`, but actually system. Remounting `/` to `rw` and modify files means you are writing to the actual system partition, NOT volatile storage as it used to be in `rootfs`. This is not recommended as user is not necessary aware that you are tampering an actual partition, sometimes dangerous if dm-verity/AVB-verity is enforced, or sometimes outright impossible since many devices now ship with read-only system partitions (e.g. EROFS, EXT4 dedup)
|
||||
- Several custom kernel rely on Magisk's root directory overlay system (`overlay`) for modifying `/`. This is no longer compatible with the new implementation. A new overlay system (`overlay.d`) will replace the existing one as an alternative (details in [documentations](https://topjohnwu.github.io/Magisk/guides.html#root-directory-overlay-system)). To provide backwards compatibility, Magisk will switch to "Compat Mode" when `/overlay` is detected, which simply reverts to the old system-as-root setup. **Compat Mode will not work on Android 10 and will cause bootloop**. Although things will still work as it used to, **please upgrade to `overlay.d` ASAP**.
|
||||
|
||||
### Android 10 Support
|
||||
Android 10 is now fully supported with MagiskHide working as expected. Android 10's biggest challenge is the new "2-Stage-Init" system-as-root implementation, which requires modding early mount fstab in a specific way, and in many devices' cases involves patching DTBs in the boot image.
|
||||
|
||||
(For those interested in "2-Stage-Init" and other details of system-as-root, check [this Twitter thread I tweeted](https://twitter.com/topjohnwu/status/1174392824625676288))
|
||||
|
||||
### Product Partition Support
|
||||
Magisk Module developers can now finally properly modify files in `/product`! This partition is now an essential part in Android 10, and many files are moved from system to product. Please check [documentations](https://topjohnwu.github.io/Magisk/details.html#magic-mount) for more details.
|
||||
|
||||
### A-Only System-as-root
|
||||
A huge number of new devices have A-only system-as-root setups (Android 9.0). These unfortunate devices will have to install Magisk into the recovery partition. Please check the fully updated [Installation Guide](https://topjohnwu.github.io/Magisk/install.html) for more details.
|
||||
|
||||
### Full Changelog: [here](https://forum.xda-developers.com/showpost.php?p=68966755&postcount=2)
|
16
docs/releases/20100.md
Normal file
16
docs/releases/20100.md
Normal file
@ -0,0 +1,16 @@
|
||||
# 2019.11.2 Magisk v20.1
|
||||
Lots of bug fixes from v20.0, and some cool new features!
|
||||
|
||||
### Updated Magisk Manager Hiding
|
||||
Starting with Magisk v20.1 paired with Magisk Manager v7.4.0, a new hiding mode is introduced for Android 9.0+. On supported devices, Magisk Manager will download and customize a heavily obfuscated stub APK and use it as a replacement. The stub app will then download the full app into its private internal data, then dynamically load and run the actual full Magisk Manager.
|
||||
|
||||
Note, not all Android 9.0+ devices will be able to use this feature. To use an obfuscated stub as Magisk Manager, the Magisk daemon will have to rely on a special way to communicate with the app, and some OEMs (most likely Chinese manufacturers) block certain broadcasts, breaking the communication channel.
|
||||
|
||||
Magisk Manager will verify compatibility before it uses stubs to hide itself on Android 9.0+. **The verification relies on Magisk v20.1+, which means you have to fully upgrade and reboot in order to opt in this feature.** If you are already running a hidden Magisk Manager, **restore and upgrade Magisk Manager, upgrade Magisk and reboot, then re-hide the app**.
|
||||
|
||||
For those incompatible with the hiding-with-stub feature, there are also a few updates that everyone, regardless whether using stubs or not, can enjoy:
|
||||
|
||||
- You can now customize the app name of the repackaged Magisk Manager
|
||||
- Magisk Manager will generate new keys to sign the repackaged APK to prevent signature detection
|
||||
|
||||
### Full Changelog: [here](https://forum.xda-developers.com/showpost.php?p=68966755&postcount=2)
|
15
docs/releases/20200.md
Normal file
15
docs/releases/20200.md
Normal file
@ -0,0 +1,15 @@
|
||||
# 2020.1.2 Magisk v20.2
|
||||
|
||||
Happy New Year! Let's start 2020 with a new Magisk release :)
|
||||
|
||||
### Pre-Init sepolicy Patches for Modules
|
||||
Magisk v20.2 add support for modules to include its own custom sepolicy patches. Developers used to use boot scripts along with the `magiskpolicy` tool to do live sepolicy patches; however, this method leads to numerous issues as Android is no longer designed to allow live sepolicy patches, and on some devices (e.g. Huawei) this method is outright inapplicable.
|
||||
|
||||
To address this issue, Magisk allow module devs to create a new file called `sepolicy.rule` in their modules. The module installer script and Magisk daemon will make sure this file is stored in somewhere accessible pre-init to allow `magiskinit` to do its job every time your device boots up.
|
||||
|
||||
### New Module Installer Format
|
||||
The old template is actually pretty convoluted: developers are expected to implement specific callback functions in their `install.sh`, and the zip file structure does not directly represent how modules are actually stored on your device. The new module installer format makes creating new modules very easy, but still give experienced developers tons of freedom to do anything they want in the installation process.
|
||||
|
||||
For details regarding `sepolicy.rule` and the new module installer format, please read the updated [Developer Guides](https://topjohnwu.github.io/Magisk/guides.html). Note that the old "Module Installer Template" is obsolete; creating a Magisk module no longer requires a "template" as it is now a straightforward process.
|
||||
|
||||
### Full Changelog: [here](https://forum.xda-developers.com/showpost.php?p=68966755&postcount=2)
|
9
docs/releases/20300.md
Normal file
9
docs/releases/20300.md
Normal file
@ -0,0 +1,9 @@
|
||||
# 2020.1.10 Magisk v20.3
|
||||
|
||||
### Magisk
|
||||
- Fix `magiskboot` crashing when dealing with `lz4_legacy` format
|
||||
|
||||
### Magisk Manager
|
||||
- Fix MagiskHide app component toggles
|
||||
|
||||
### Full Changelog: [here](https://forum.xda-developers.com/showpost.php?p=68966755&postcount=2)
|
28
docs/releases/20400.md
Normal file
28
docs/releases/20400.md
Normal file
@ -0,0 +1,28 @@
|
||||
## 2020.3.23 Magisk v20.4
|
||||
|
||||
### Miscellaneous
|
||||
This release is mainly focused on stability and bug squashing. Please be aware that MagiskHide is no longer enabled by default. Since Google has enabled [hardware-based key attestation](https://twitter.com/topjohnwu/status/1237656703929180160?s=20) in SafetyNet ([FAQ](https://twitter.com/topjohnwu/status/1237830555523149824?s=20)), there is no effective way to pass full CTS SafetyNet anymore (although Google seems to have temporarily [reverted the change](https://twitter.com/topjohnwu/status/1238514375150850048?s=20)).
|
||||
|
||||
I decided that the fully redesigned Magisk Manager isn't fully ready for prime time yet, so this time around no Magisk Manager update is released. The WIP manager will continue to be improved and is available for testing on the canary channel.
|
||||
|
||||
### BusyBox Standalone Mode
|
||||
Starting with Magisk v20.4, all Magisk related scripts, including boot scripts and module installation scripts, will run on BusyBox's shell (ash) in **standalone mode**. In BusyBox ash standalone mode, **every single command** will be **forced** to use the one that is in Magisk's BusyBox (if available). For instance, no matter how you change the environment variable `PATH`, the `rm` command will always use the one in BusyBox, not the one in system, external BusyBox, vendor, or included in custom recovery.
|
||||
|
||||
The reason behind this change is that all scripts will be guaranteed to have 100% consistent results no matter how the environment is setup. The internal BusyBox is significantly beefed up with patches from @osm0sis, and also with SELinux features enabled. It shall offer a very complete, reliable, and consistent scripting environment. If in any case you **require** to use a command outside of BusyBox, please call it with the full path (e.g. `/system/bin/nslookup`)
|
||||
|
||||
### Magisk Changelog
|
||||
- [MagiskInit] Fix potential bootloop in A-only 2SI devices
|
||||
- [MagiskInit] Properly support Tegra partition naming
|
||||
- [General] Load libsqlite.so dynamically, which removes the need to use wrapper scripts on Android 10+
|
||||
- [General] Detect API level with a fallback method on some devices
|
||||
- [General] Workaround possible bug in x86 kernel readlinkat system call
|
||||
- [BusyBox] Enable SELinux features. Add chcon/runcon etc., and '-Z' option to many applets
|
||||
- [BusyBox] Introduce standalone mode. More details in release notes
|
||||
- [MagiskHide] Disable MagiskHide by default
|
||||
- [MagiskHide] Add more potential detectable system properties
|
||||
- [MagiskHide] Add workaround for Xiaomi devices bootloop when MagiskHide is enabled on cross region ROMs
|
||||
- [MagiskBoot] Support patching special Motorolla DTB format
|
||||
- [MagiskPolicy] Support 'genfscon' sepolicy rules
|
||||
- [Scripts] Support NAND based boot images (character nodes in /dev/block)
|
||||
- [Scripts] Better addon.d (both v1 and v2) support
|
||||
- [Scripts] Support Lineage Recovery for Android 10+
|
Loading…
x
Reference in New Issue
Block a user