docs/changes.md
--drop-cap argument to drop capabilities..replace functionality in certain situationsoverlay.d replaced files to be not accessiblemagiskinit and magiskboot) for smaller sizesmagiskinit as initaction.sh support to allow modules to define an action triggered from UIinit so Magisk is installable on devices with small boot partitionsresetprop -wgenfscon and filename_translibsepolpayload.bin-g and -G options-tboot.img when patching Samsung firmware with init_boot.imgext4 partitions over f2fs when selecting the pre-init partitionoverlayfs files injectedoverlay.dinit_boot.img for Samsung ODIN firmwaremagiskdsepolicy injection mechanismsharedUserIdmagiskdsystem_server restarts to prevent UID reuse attacksgetrandom syscallAppSpecializeArgssu -c <cmd>lz4_legacy archive with multiple magiclz4_lg compressionumask being set in zygoteskip_initramfs from dtb bootargsPATCHVBMETAFLAG to configure whether vbmeta flags should be patched/system/etc (required for Pixel 6)/proc/bootconfig for loading boot configurationsinit.real on some Sony devices*_compat_cil_file from system_extsepolicy.rule copy/installation fixessepolicy.rule mounting strategyro. props before updating. This will fix bootloops that could be caused by modifying device fingerprint properties.lz4_lg compressed boot imageslibsqlite.so fail to loadsu -c behavior that broke many root appsbroken pipe issue)f2fs userdata as it may result in kernel crashes. This shall fix a lot of bootloopsDHTB header and ASUS blob image formatssystem_root on legacy SAR devicespost-fs-data scripts cannot block more than 35 secondsmagisk --install-module commandlogcat weirdnesslz4_lg and lz4_legacy (Pixel 5 and 4a 5G)androidboot.fstab_suffixPATH when executing boot scripts--remove-modules command implementationcom.android.i18n to LD_LIBRARY_PATH when linking libsqlite.sopost-fs-data mode timeout from 10 seconds to 40 seconds/sbin folder exists (Android 11)init to use it for 2SI devices*.te format. Please check updated documentation or magiskpolicy --help for more details.extra blobslz4_legacy decompressionheader_size in boot image headers (fix vbmeta error on Samsung devices)mnt_point value in DTB fstab--remove-modules command to remove modules without root in ADB shellACTION_REBOOT intent to workaround some OEM broadcast restrictionsskip_mount instead of auto_mount: from opt-in to opt-out<magisk_img>/.core/<stage>.d to /data/adb/<stage>.dFLAG_INCLUDE_STOPPED_PACKAGES in broadcasts to force wake Magisk Managersu_infoLD_XXX flags set in appssu_info caching system, should use less resources and computing powermagiskinit_daemon, the actual magisk daemon (magiskd) shall handle everything itselfskip_initramfs devices with slot suffix (Huawei Treble)sepolicy_debug from loadingMS_SILENT flag when mounting, should fix some devices that cannot mount magisk.imgskip_initramfs devices using split sepolicies (e.g. Zenfone 4 Oreo)/cache/magisk.img and /data/adb/magisk_merge.img supportmagiskinit_daemon to monitor socketslz4_legacy format properly, should fix all LG devicessystem_file contextskip_initramfs devices (Pixel family)skip_initramfs devicesutil_functions.sh on LollipopLZMA_CHECK_CRC64 to LZMA_CHECK_CRC32, kernel only supports latterutil_functions.sh, used as a global shell script function source for all kinds of installationlate_start service
This shall fix the long boot times, especially on Samsung devicesam_proc_start patterns/sbin to /sbin_orig and link back, fix Samsung no-suid issue