[Android Software/Hacking General [Developers Only]] lebigmac:
If I plug my official MakeRW / ro2rw tool into my old systemrw_1.32 script this is the result I get on my stock EROFS super.img (Redmi Note 12 5G). Looks like it just works lol.

/systemrw.sh in=../super.img <
--------------------------------------------------
| SystemRW v1.32 automated script by lebigmac |
| @xda ©2021 Big thank you to @Kolibass @Brepro1 |
|@munjeni @AndyYan @gabrielfrias @YOisuPU @bynarie |
| without your help this would not be possible! |
--------------------------------------------------

systemrw: Custom input detected: ../super.img
systemrw: Initiating procedure...

systemrw: Device is in Android mode. Ignoring
systemrw: Current device: Xiaomi Redmi Note 12 5G
systemrw: Current Android version: 12
systemrw: Current SELinux status: Permissive
systemrw: Current slot is: 0
systemrw: Your super partition is located at: /dev/block/sda8
systemrw: / is already R/W capable. Ignoring
systemrw: /product is already R/W capable. Ignoring
systemrw: /vendor is already R/W capable. Ignoring
systemrw: Adjusting permissions...
systemrw: Attempting to disable dm-verity and verification...
verification is already disabled on slot with suffix _a.
verity is already disabled on slot with suffix _a.
systemrw: Unpacking embedded partitions from ../super.img
systemrw: Nested partitions were successfully extracted from super

---------------------------------------------------
| Welcome to the one and only original, universal |
|===================================================|
| MakeRW / ro2rw v1.0 by lebigmac |
|===================================================|
| [ read-only-2-read/write partition converter ] |
|Also known as: RO-to-RW, Read-Only Unlocker, Block |
|Unsharer Pro, Shared_Blocks Remover Pro, EXT4-RW, |
|EROFSRW, EROFS-RW, ERWFS, EROFS NUKER, EROFS-2-EXT4|
|CONVERTER, F2FSRW, F2FS-RW, F2FS TERMINATOR, REALRW|
| F2FS-2-EXT4 CONVERTER, FORCE-READ-WRITE ENABLER, |
|FORCE-RW, THE-REAL-RW, Partition Resizer Pro, EXT4 |
| Partition creator, Make_RW, Make-RW, ROTORW, The |
|real MakeRW/ro2rw, Make_EXT4 & many more aliases...|
|---------------------------------------------------|
| Credits: lebigmac, BrePro1, Kolibass, Yuki1001, |
| thka2016 - Shout-outs to @munjeni @frxhb @baxal0 |
| @harpreet.s @HemanthJabalpuri @aiecxs |
|===================================================|
| Official homepage |
|===================================================|
|You can use this software for free for educational,|
| personal, non-commercial, legal purposes. To use |
| this app for commercial purposes, please rent a |
| commercial usage license @ the offical link above |
|===================================================|
| Always download original MakeRW/ro2rw by lebigmac!|
| Never trust any dubious copycat imitations! |
|---------------------------------------------------|
| You can learn from my code but please don't steal,|
| hack, crack or abuse it in any way! Thank you! <3 |
---------------------------------------------------
Custom input detected: /data/local/tmp/systemrw_1.32/img/odm_a.img

makerw: Initiating MakeRW / ro2rw procedure...

makerw: Current size of odm_a.img in bytes: 1363968
makerw: Current size of odm_a.img in 512-byte sectors: 2664
makerw: Current size of odm_a.img in MB: 1

makerw: EXT4 file system detected @ odm_a.img
makerw: shared_blocks read-only feature detected @ odm_a.img

Resizing the filesystem on /data/local/tmp/systemrw_1.32/img/odm_a.img to 416 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/img/odm_a.img is now 416 (4k) blocks long.

makerw: Removing shared_blocks from odm_a.img...
makerw: shared_blocks of odm_a.img successfully removed

makerw: Shrinking odm_a.img to minimum size...

Resizing the filesystem on /data/local/tmp/systemrw_1.32/img/odm_a.img to 311 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/img/odm_a.img is now 311 (4k) blocks long.

---------------------------------------------------
| Welcome to the one and only original, universal |
|===================================================|
| MakeRW / ro2rw v1.0 by lebigmac |
|===================================================|
| [ read-only-2-read/write partition converter ] |
|Also known as: RO-to-RW, Read-Only Unlocker, Block |
|Unsharer Pro, Shared_Blocks Remover Pro, EXT4-RW, |
|EROFSRW, EROFS-RW, ERWFS, EROFS NUKER, EROFS-2-EXT4|
|CONVERTER, F2FSRW, F2FS-RW, F2FS TERMINATOR, REALRW|
| F2FS-2-EXT4 CONVERTER, FORCE-READ-WRITE ENABLER, |
|FORCE-RW, THE-REAL-RW, Partition Resizer Pro, EXT4 |
| Partition creator, Make_RW, Make-RW, ROTORW, The |
|real MakeRW/ro2rw, Make_EXT4 & many more aliases...|
|---------------------------------------------------|
| Credits: lebigmac, BrePro1, Kolibass, Yuki1001, |
| thka2016 - Shout-outs to @munjeni @frxhb @baxal0 |
| @harpreet.s @HemanthJabalpuri @aiecxs |
|===================================================|
| Official homepage |
|===================================================|
|You can use this software for free for educational,|
| personal, non-commercial, legal purposes. To use |
| this app for commercial purposes, please rent a |
| commercial usage license @ the offical link above |
|===================================================|
| Always download original MakeRW/ro2rw by lebigmac!|
| Never trust any dubious copycat imitations! |
|---------------------------------------------------|
| You can learn from my code but please don't steal,|
| hack, crack or abuse it in any way! Thank you! <3 |
---------------------------------------------------
Custom input detected: /data/local/tmp/systemrw_1.32/img/product_a.img

makerw: Initiating MakeRW / ro2rw procedure...

makerw: Current size of product_a.img in bytes: 347717632
makerw: Current size of product_a.img in 512-byte sectors: 679136
makerw: Current size of product_a.img in MB: 331

makerw: EROFS file system detected @ product_a.img
Extracting product.img...
Unpack done. 3s
erofsUnpack 1.3.220207 Linux
loaded 537 fs_config entries
Creating filesystem with parameters:
Size: 695435264
Block size: 4096
Blocks per group: 32768
Inodes per group: 7088
Inode size: 256
Journal blocks: 0
Label: product
Blocks: 169784
Block groups: 6
Reserved block group size: 47
Created filesystem with 545/42528 inodes and 106731/169784 blocks
makerw: Shrinking product_a.img to minimum size...

Resizing the filesystem on /data/local/tmp/systemrw_1.32/img/product_a.img to 105919 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/img/product_a.img is now 105919 (4k) blocks long.

---------------------------------------------------
| Welcome to the one and only original, universal |
|===================================================|
| MakeRW / ro2rw v1.0 by lebigmac |
|===================================================|
| [ read-only-2-read/write partition converter ] |
|Also known as: RO-to-RW, Read-Only Unlocker, Block |
|Unsharer Pro, Shared_Blocks Remover Pro, EXT4-RW, |
|EROFSRW, EROFS-RW, ERWFS, EROFS NUKER, EROFS-2-EXT4|
|CONVERTER, F2FSRW, F2FS-RW, F2FS TERMINATOR, REALRW|
| F2FS-2-EXT4 CONVERTER, FORCE-READ-WRITE ENABLER, |
|FORCE-RW, THE-REAL-RW, Partition Resizer Pro, EXT4 |
| Partition creator, Make_RW, Make-RW, ROTORW, The |
|real MakeRW/ro2rw, Make_EXT4 & many more aliases...|
|---------------------------------------------------|
| Credits: lebigmac, BrePro1, Kolibass, Yuki1001, |
| thka2016 - Shout-outs to @munjeni @frxhb @baxal0 |
| @harpreet.s @HemanthJabalpuri @aiecxs |
|===================================================|
| Official homepage |
|===================================================|
|You can use this software for free for educational,|
| personal, non-commercial, legal purposes. To use |
| this app for commercial purposes, please rent a |
| commercial usage license @ the offical link above |
|===================================================|
| Always download original MakeRW/ro2rw by lebigmac!|
| Never trust any dubious copycat imitations! |
|---------------------------------------------------|
| You can learn from my code but please don't steal,|
| hack, crack or abuse it in any way! Thank you! <3 |
---------------------------------------------------
Custom input detected: /data/local/tmp/systemrw_1.32/img/system_a.img

makerw: Initiating MakeRW / ro2rw procedure...

makerw: Current size of system_a.img in bytes: 4326748160
makerw: Current size of system_a.img in 512-byte sectors: 8450680
makerw: Current size of system_a.img in MB: 4126

makerw: EROFS file system detected @ system_a.img
Extracting system.img...
Unpack done. 84s
erofsUnpack 1.3.220207 Linux
loaded 5127 fs_config entries
Creating filesystem with parameters:
Size: 8653496320
Block size: 4096
Blocks per group: 32768
Inodes per group: 8128
Inode size: 256
Journal blocks: 0
Label: system
Blocks: 2112670
Block groups: 65
Reserved block group size: 519
Created filesystem with 5135/528320 inodes and 1476240/2112670 blocks
makerw: Shrinking system_a.img to minimum size...

Resizing the filesystem on /data/local/tmp/systemrw_1.32/img/system_a.img to 1466813 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/img/system_a.img is now 1466813 (4k) blocks long.

---------------------------------------------------
| Welcome to the one and only original, universal |
|===================================================|
| MakeRW / ro2rw v1.0 by lebigmac |
|===================================================|
| [ read-only-2-read/write partition converter ] |
|Also known as: RO-to-RW, Read-Only Unlocker, Block |
|Unsharer Pro, Shared_Blocks Remover Pro, EXT4-RW, |
|EROFSRW, EROFS-RW, ERWFS, EROFS NUKER, EROFS-2-EXT4|
|CONVERTER, F2FSRW, F2FS-RW, F2FS TERMINATOR, REALRW|
| F2FS-2-EXT4 CONVERTER, FORCE-READ-WRITE ENABLER, |
|FORCE-RW, THE-REAL-RW, Partition Resizer Pro, EXT4 |
| Partition creator, Make_RW, Make-RW, ROTORW, The |
|real MakeRW/ro2rw, Make_EXT4 & many more aliases...|
|---------------------------------------------------|
| Credits: lebigmac, BrePro1, Kolibass, Yuki1001, |
| thka2016 - Shout-outs to @munjeni @frxhb @baxal0 |
| @harpreet.s @HemanthJabalpuri @aiecxs |
|===================================================|
| Official homepage |
|===================================================|
|You can use this software for free for educational,|
| personal, non-commercial, legal purposes. To use |
| this app for commercial purposes, please rent a |
| commercial usage license @ the offical link above |
|===================================================|
| Always download original MakeRW/ro2rw by lebigmac!|
| Never trust any dubious copycat imitations! |
|---------------------------------------------------|
| You can learn from my code but please don't steal,|
| hack, crack or abuse it in any way! Thank you! <3 |
---------------------------------------------------
Custom input detected: /data/local/tmp/systemrw_1.32/img/system_ext_a.img

makerw: Initiating MakeRW / ro2rw procedure...

makerw: Current size of system_ext_a.img in bytes: 300380160
makerw: Current size of system_ext_a.img in 512-byte sectors: 586680
makerw: Current size of system_ext_a.img in MB: 286

makerw: EROFS file system detected @ system_ext_a.img
Extracting system_ext.img...
Unpack done. 5s
erofsUnpack 1.3.220207 Linux
loaded 1406 fs_config entries
Creating filesystem with parameters:
Size: 600760320
Block size: 4096
Blocks per group: 32768
Inodes per group: 7344
Inode size: 256
Journal blocks: 0
Label: system_ext
Blocks: 146670
Block groups: 5
Reserved block group size: 39
Created filesystem with 1414/36720 inodes and 116408/146670 blocks
makerw: Shrinking system_ext_a.img to minimum size...

Resizing the filesystem on /data/local/tmp/systemrw_1.32/img/system_ext_a.img to 116008 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/img/system_ext_a.img is now 116008 (4k) blocks long.

---------------------------------------------------
| Welcome to the one and only original, universal |
|===================================================|
| MakeRW / ro2rw v1.0 by lebigmac |
|===================================================|
| [ read-only-2-read/write partition converter ] |
|Also known as: RO-to-RW, Read-Only Unlocker, Block |
|Unsharer Pro, Shared_Blocks Remover Pro, EXT4-RW, |
|EROFSRW, EROFS-RW, ERWFS, EROFS NUKER, EROFS-2-EXT4|
|CONVERTER, F2FSRW, F2FS-RW, F2FS TERMINATOR, REALRW|
| F2FS-2-EXT4 CONVERTER, FORCE-READ-WRITE ENABLER, |
|FORCE-RW, THE-REAL-RW, Partition Resizer Pro, EXT4 |
| Partition creator, Make_RW, Make-RW, ROTORW, The |
|real MakeRW/ro2rw, Make_EXT4 & many more aliases...|
|---------------------------------------------------|
| Credits: lebigmac, BrePro1, Kolibass, Yuki1001, |
| thka2016 - Shout-outs to @munjeni @frxhb @baxal0 |
| @harpreet.s @HemanthJabalpuri @aiecxs |
|===================================================|
| Official homepage |
|===================================================|
|You can use this software for free for educational,|
| personal, non-commercial, legal purposes. To use |
| this app for commercial purposes, please rent a |
| commercial usage license @ the offical link above |
|===================================================|
| Always download original MakeRW/ro2rw by lebigmac!|
| Never trust any dubious copycat imitations! |
|---------------------------------------------------|
| You can learn from my code but please don't steal,|
| hack, crack or abuse it in any way! Thank you! <3 |
---------------------------------------------------
Custom input detected: /data/local/tmp/systemrw_1.32/img/vendor_a.img

makerw: Initiating MakeRW / ro2rw procedure...

makerw: Current size of vendor_a.img in bytes: 637583360
makerw: Current size of vendor_a.img in 512-byte sectors: 1245280
makerw: Current size of vendor_a.img in MB: 608

makerw: EROFS file system detected @ vendor_a.img
Extracting vendor.img...
Unpack done. 28s
erofsUnpack 1.3.220207 Linux
loaded 3759 fs_config entries
Creating filesystem with parameters:
Size: 1275166720
Block size: 4096
Blocks per group: 32768
Inodes per group: 7792
Inode size: 256
Journal blocks: 0
Label: vendor
Blocks: 311320
Block groups: 10
Reserved block group size: 79
Created filesystem with 3767/77920 inodes and 270139/311320 blocks
makerw: Shrinking vendor_a.img to minimum size...

Resizing the filesystem on /data/local/tmp/systemrw_1.32/img/vendor_a.img to 269652 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/img/vendor_a.img is now 269652 (4k) blocks long.

systemrw: Joining all extracted images back into one single super image...
systemrw: Please wait and ignore the invalid sparse warnings...

Invalid sparse file format at header magic
Invalid sparse file format at header magic
Invalid sparse file format at header magic
Invalid sparse file format at header magic
Invalid sparse file format at header magic

systemrw: Successfully created patched super image @
systemrw: /data/local/tmp/systemrw_1.32/img/super_fixed.bin

systemrw: Congratulations! Your image(s) should now have R/W capability
systemrw: Please reboot into bootloader and flash the file(s) manually

sunstone:/data/local/tmp/systemrw_1.32 #

Maybe you guys are getting the fatal out of space make_ext4fs error because my MakeRW / ro2rw procedure forgot about deleting all the working files during the ro2rw conversion process? :unsure: Only a quick update to the official MakeRW / ro2rw tool could fix that, which can only be achieved if the dear moderator could please be so kind and unlock that thread. Thank you (y)