[Android Software/Hacking General [Developers Only]] ronaldocoyle:
Ok I'm now confused. Everything done exactly even was able to mount but can't copy file to system_ext.

Device: Redmi Note 11

[Note: I didn't run the script. The super_fixed.bin was from previous session. I just replaced super.img with super_fixed.bin of the same rom & flashed. Seems to be still able to mount but no idea why I can't copy. I can still delete stuff though]

PS C:\Users\Ryan> adb devices

List of devices attached

ac9353f device

PS C:\Users\Ryan> adb shell

spes:/ $ su

spes:/ # su mount -o remount, rw /

su: invalid option -- o

MagiskSU

Usage: su [options] [-] [user [argument...]]

Options:

-c, --command COMMAND pass COMMAND to the invoked shell

-h, --help display this help message and exit

-, -l, --login pretend the shell to be a login shell

-m, -p,

--preserve-environment preserve the entire environment

-s, --shell SHELL use SHELL instead of the default /system/bin/sh

-v, --version display version number and exit

-V display version code and exit

-mm, -M,

--mount-master force run in the global mount namespace

2|spes:/ # su mount -o remount, rw /system_ext

su: invalid option -- o

MagiskSU

Usage: su [options] [-] [user [argument...]]

Options:

-c, --command COMMAND pass COMMAND to the invoked shell

-h, --help display this help message and exit

-, -l, --login pretend the shell to be a login shell

-m, -p,

--preserve-environment preserve the entire environment

-s, --shell SHELL use SHELL instead of the default /system/bin/sh

-v, --version display version number and exit

-V display version code and exit

-mm, -M,

--mount-master force run in the global mount namespace

2|spes:/ # mount -o remount,rw /system

mount: '/system' not in /proc/mounts

1|spes:/ # mount -o remount,rw /system_ext

spes:/ # mount -o remount,rw /product

spes:/ # mount -o remount,rw /vendor

spes:/ # mount | grep dm-

/dev/block/dm-3 on / type ext4 (ro,seclabel,relatime,discard)

/dev/block/dm-0 on /system_ext type ext4 (rw,seclabel,relatime,discard)

/dev/block/dm-2 on /vendor type ext4 (rw,seclabel,relatime,discard)

/dev/block/dm-1 on /product type ext4 (rw,seclabel,relatime,discard)

/dev/block/dm-4 on /data type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,gc_merge,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=21484,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier)

/dev/block/dm-4 on /data/user/0 type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,gc_merge,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=21484,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier)

/dev/block/dm-4 on /data_mirror/data_ce/null type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,gc_merge,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=21484,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier)

/dev/block/dm-4 on /data_mirror/data_ce/null/0 type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,gc_merge,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=21484,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier)

/dev/block/dm-4 on /data_mirror/data_de/null type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,gc_merge,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=21484,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier)

/dev/block/dm-4 on /data_mirror/cur_profiles type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,gc_merge,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,flush_merge,extent_cache,mode=adaptive,active_logs=6,reserve_root=21484,resuid=0,resgid=1065,inlinecrypt,alloc_mode=default,checkpoint_merge,fsync_mode=nobarrier)

spes:/ #