This Magisk module contains scripts and binaries for arm64 CPUs to create dynamic partitions 

For a detailed documentation of this module see here

https://bnsmb.de/My_HowTos_for_Android.html#Documentation_for_the_Magisk_Module_with_tools_to_use_an_additional_dynamic_partition


Note

The customize script in the Magisk module checks whether the dmctl binary is available via the PATH variable in the running Android operating system. 

If no dmctl binary is found, the script tests whether one of the dmctl binaries in the Magisk module works, and if so, it creates a symlink to this dmctl binary in /system/bin/dmctl

The dmctl binaries from the Magisk Module are available in the directory

/system/usr/create_dynamic_partition_tools/dmctl_binaries/

after you have installed the module:

ASUS_I006D:/ $ ls -ld $( find /system/usr/create_dynamic_partition_tools/dmctl_binaries -type f )
-rwxr-xr-x 1 root root 90744 2025-02-14 16:20 /system/usr/create_dynamic_partition_tools/dmctl_binaries/33/dmctl_android33
-rwxr-xr-x 1 root root 99160 2025-02-14 16:20 /system/usr/create_dynamic_partition_tools/dmctl_binaries/34/dmctl_android34
-rwxr-xr-x 1 root root 95496 2025-02-14 16:20 /system/usr/create_dynamic_partition_tools/dmctl_binaries/35/dmctl_android35
ASUS_I006D:/ $ 

Note

android33 = API 33 = Android 13
android34 = API 34 = Android 14
android35 = API 35 = Android 15

(see https://source.android.com/docs/setup/reference/build-numbers)

The dmctl binaries are dynamically linked binaries and may or may not work in other Android versions:

ASUS_I006D:/ $ ldd $( which dmctl )                                                                                                                                
	linux-vdso.so.1 => [vdso] (0x7ccef68000)
	libbase.so => /system/lib64/libbase.so (0x7ccdcc7000)
	liblog.so => /system/lib64/liblog.so (0x7ccdc4e000)
	libc++.so => /system/lib64/libc++.so (0x7ccd8e5000)
	libc.so => /apex/com.android.runtime/lib64/bionic/libc.so (0x7ccbe54000)
	libm.so => /apex/com.android.runtime/lib64/bionic/libm.so (0x7ccdc85000)
	libdl.so => /apex/com.android.runtime/lib64/bionic/libdl.so (0x7ccdd17000)
ASUS_I006D:/ $ 


 

History

10.11.2024 v1.0.0
  initial release

14.02.2025 v1.1.0
  added the dmctl binaries for Android 13, 14 and Android 15

25.02.2026 v1.2.0
  added the cryptsetup binaries version 2.8.0 listed in the post https://xdaforums.com/t/exe-static-linux-binaries-for-arm-android-cryptsetup-encfs-f2fs-tools-testdisk-photorec.3709380/

