[Android Software/Hacking General [Developers Only]] DeviLL2014:
Everything is done, but the system is still in RO

E:\RealmeC3\platform-tools>adb shell
* daemon not running; starting now at tcp:5037
* daemon started successfully
RMX2020:/ $ su
RMX2020:/ # cd /data/local/tmp/systemrw_1.32
RMX2020:/data/local/tmp/systemrw_1.32 # chmod +x ./systemrw.sh
RMX2020:/data/local/tmp/systemrw_1.32 #
ev/block/by-name/super | awk '{print $NF}'` out=./img/super_fixed.bin size=50 <
--------------------------------------------------
| SystemRW v1.32 automated script by lebigmac |
| @xda c2021 Big thank you to @Kolibass @Brepro1 |
|@munjeni @AndyYan @gabrielfrias @YOisuPU @bynarie |
| without your help this would not be possible! |
--------------------------------------------------

systemrw: Custom input detected: /dev/block/mmcblk0p43
systemrw: Custom output detected: ./img/super_fixed.bin
systemrw: Custom size detected: 50 MB
systemrw: Initiating procedure...

systemrw: Device is in Android mode. Ignoring
systemrw: Current device: realme
systemrw: Current Android version: 11
setenforce: Couldn't set enforcing status to '0': Invalid argument
systemrw: Current SELinux status: Enforcing
systemrw: Current slot is: 0
systemrw: Your super partition is located at: /dev/block/mmcblk0p43
systemrw: / is read-only
systemrw: /product is read-only
systemrw: /vendor is read-only
systemrw: Adjusting permissions...
systemrw: Attempting to disable dm-verity and verification...
verification is already disabled.
verity is already disabled.
systemrw: Unpacking embedded partitions from /dev/block/mmcblk0p43
systemrw: Nested partitions were successfully extracted from super

systemrw: Current size of vendor.img in bytes: 692318208
systemrw: Current size of vendor.img in MB: 660
systemrw: Current size of vendor.img in 512-byte sectors: 1352184

systemrw: 'shared_blocks feature' detected @ vendor.img

systemrw: Increasing filesystem size of vendor.img...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/img/vendor.img to 21127
8 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/img/vendor.img is now 211278 (4k
) blocks long.

systemrw: Removing 'shared_blocks feature' of vendor.img...
e2fsck 1.45.4 (23-Sep-2019)
systemrw: Read-only lock of vendor.img successfully removed

systemrw: Shrinking size of vendor.img back to minimum size...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/img/vendor.img to 17890
0 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/img/vendor.img is now 178900 (4k
) blocks long.

systemrw: Custom size of vendor.img in bytes: 785203200
systemrw: Custom size of vendor.img in MB: 748
systemrw: Custom size of vendor.img in 512-byte sectors: 1533600

systemrw: Increasing filesystem size of vendor.img...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/img/vendor.img to 19170
0 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/img/vendor.img is now 191700 (4k
) blocks long.

=================================================

systemrw: Current size of system.img in bytes: 2260987904
systemrw: Current size of system.img in MB: 2156
systemrw: Current size of system.img in 512-byte sectors: 4415992

systemrw: 'shared_blocks feature' detected @ system.img

systemrw: Increasing filesystem size of system.img...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/img/system.img to 68999
8 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/img/system.img is now 689998 (4k
) blocks long.

systemrw: Removing 'shared_blocks feature' of system.img...
e2fsck 1.45.4 (23-Sep-2019)
systemrw: Read-only lock of system.img successfully removed

systemrw: Shrinking size of system.img back to minimum size...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/img/system.img to 56605
8 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/img/system.img is now 566058 (4k
) blocks long.

systemrw: Custom size of system.img in bytes: 2371002368
systemrw: Custom size of system.img in MB: 2261
systemrw: Custom size of system.img in 512-byte sectors: 4630864

systemrw: Increasing filesystem size of system.img...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/img/system.img to 57885
8 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/img/system.img is now 578858 (4k
) blocks long.

=================================================

systemrw: Current size of product.img in bytes: 2117632
systemrw: Current size of product.img in MB: 2
systemrw: Current size of product.img in 512-byte sectors: 4136

systemrw: 'shared_blocks feature' detected @ product.img

systemrw: Increasing filesystem size of product.img...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/img/product.img to 646
(4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/img/product.img is now 646 (4k)
blocks long.

systemrw: Removing 'shared_blocks feature' of product.img...
e2fsck 1.45.4 (23-Sep-2019)
systemrw: Read-only lock of product.img successfully removed

systemrw: Shrinking size of product.img back to minimum size...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/img/product.img to 496
(4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/img/product.img is now 496 (4k)
blocks long.

systemrw: Custom size of product.img in bytes: 54460416
systemrw: Custom size of product.img in MB: 51
systemrw: Custom size of product.img in 512-byte sectors: 106368

systemrw: Increasing filesystem size of product.img...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/img/product.img to 1329
6 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/img/product.img is now 13296 (4k
) blocks long.

=================================================

systemrw: Current size of my_product.img in bytes: 42147840
systemrw: Current size of my_product.img in MB: 40
systemrw: Current size of my_product.img in 512-byte sectors: 82320

systemrw: 'shared_blocks feature' detected @ my_product.img

systemrw: Increasing filesystem size of my_product.img...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/img/my_product.img to 1
2862 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/img/my_product.img is now 12862
(4k) blocks long.

systemrw: Removing 'shared_blocks feature' of my_product.img...
e2fsck 1.45.4 (23-Sep-2019)
systemrw: Read-only lock of my_product.img successfully removed

systemrw: Shrinking size of my_product.img back to minimum size...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/img/my_product.img to 1
0367 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/img/my_product.img is now 10367
(4k) blocks long.

systemrw: Custom size of my_product.img in bytes: 94892032
systemrw: Custom size of my_product.img in MB: 90
systemrw: Custom size of my_product.img in 512-byte sectors: 185336

systemrw: Increasing filesystem size of my_product.img...
resize2fs 1.45.4 (23-Sep-2019)
Resizing the filesystem on /data/local/tmp/systemrw_1.32/img/my_product.img to 2
3167 (4k) blocks.
The filesystem on /data/local/tmp/systemrw_1.32/img/my_product.img is now 23167
(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
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
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

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