[Redmi Note 10] Ham1do:
How to make Miui Mix fully read/write and decrypted using only your phone with UKA kitchen:

DISCLAIMER NOTICE:

* I'm not responsible for bricked devices, dead SD cards.

* YOU are choosing to make these modifications.

This guide should work with any a11 rom built under brotli compression inside rom.zip (system.new.dat.br, vendor.new.dat.br..), and it won't work with roms under payload.bin compression.

1- You need at least +30gb of space in internal memory.

2- Install UKA_5.6_eng_magisk.zip magisk module.

Dowload from here:

https://xdaforums.com/t/unpacker-kitchen-for-android-uka.4087797/page-6

3- Reboot and Install termux and type:

su <enter>

menu <enter>

4- Using mt manager app or X-plore app (i use both) copy MiuiMix.zip into internal memory (which will be modded).

5- Extract system.new.dat.br, system.patch.dat & system.transfer.list from MiuiMix.zip to /data/local/SystemUnpacker/

6- In termux type 6 then 1, then type cd /data/local/UnpackerSystem, then 1 to unpack *.br.

7- With mt manager app check /data/local/SystemUnpacker/ if the extraction has been done sucessefully, and delete: system.new.dat.br, system.patch.dat, system.transfer.list and system.img.

8- In termux type 9 then 1 then 0 then 1 .. and while the compression process, choose 5 as compression level (levels from 0 to 7) to repack system again into br format (with r/w permissions).

9- Copy/overwrite the new: system.new.dat.br, system.patch.dat & system.transfer.list into MiuiMix.zip ( update files inside zip).

10- In termux type type 12 then 1 to clean folder.

11- Do same steps (from step 5 to 10) for :

product.new.dat.br, product.patch.dat & product.transfer.list.

12- Do same steps (from step 5 to 10) for :

system_ext.new.dat.br, system_ext.patch.dat & system_ext.transfer.list.

13- Now we will decrypt vendor:

Extract vendor.new.dat.br, vendor.patch.dat, vendor.transfer.list & dynamic_partitions_op_list from MiuiMix.zip to /data/local/SystemUnpacker/

14- Open /data/local/UnpackerSystem/vendor/etc/fstab.default wth text editor (i prefer using mt manager), search for "fileencryption" and replace it wth "encryptable" and save.

15- Do same with /data/local/UnpackerSystem/vendor/etc/fstab.emmc.

16- Delete: vendor.new.dat.br, vendor.patch.dat, vendor.transfer.list and vendor.img.

17- In termux type 9 then 3, then type cd /data/local/UnpackerSystem, then 1, and while the compression choose 4 for android11 compatibility and choose 5 for compression level.

18- with mt manager open/data/local/UnpackerSystem/config/vendor/vendor_size_out.txt and copy the new vendor partition size ("1859366912" for example).

19- With mt manager open /data/local/UnpackerSystem/dynamic_partitions_op_list as text and replace values:

Grow partition vendor_a from 0 to 1715535872

resize vendor_a 1715535872

Replace two values "1715535872" with "1859366912" and save.

20- Copy/overwrite the new: vendor.new.dat.br, vendor.patch.dat, vendor.transfer.list & dynamic_partitions_op_list into MiuiMix.zip (update files inside zip).

21- Save the new MiuiMix.zip in Sd card.

22- Boot into ofox recovery , wipe metadata, data & cache , install the new MiuiMix.zip, reinstall ofox, reboot to ofox recovery, format data, reboot to system and pray :)

Thanks to @kory-vadim for UKA kitchen and @RajivShastri king for the translation of this cool tool from russian to english language.

Thanks to MiuiMix team.