Skip to content

Supported Partitions

Zackptg5 edited this page Feb 26, 2024 · 2 revisions

Stock Magisk:

  • /system
  • /vendor
  • /product
  • /system_ext

Magisk Delta/Kitsune and KSU (this should match whatever they support):

  • /odm
  • /my_carrier
  • /my_company
  • /my_engineering
  • /my_heytap
  • /my_preload
  • /my_product
  • /my_region
  • /my_stock
  • /prism
  • /optics
  • /my_manifest
  • /system_dlkm
  • /odm_dlkm
  • /vendor_dlkm

Note that Kitsune changed location of module files. All non-standard magisk partitions above are now mounted at $MODPATH/root/ (i.e. $MODPATH/root/odm It's probably easier to keep existing install logic for regular Magisk partition layout and move them in the end:

if [ "$(echo $MAGISK_VER | awk -F- '{ print $NF}')" == "kitsune" ]; then
  mkdir $MODPATH/root
  for PART in $PARTITIONS; do
    mv -f $MODPATH/system$PART $MODPATH/root
  done
fi
Clone this wiki locally