Last summer, I wrote a script that will copy all of my "B" partitions to their corresponding "A" partitions using the "dd" utility. I'm thinking that maybe I can write a variation of this which copies all of my partition data ("A" and "B") to a directory which I can then save onto my desktop computer via "adb pull". Then, I think I could write something which copies in the other direction and restores this partition data. I'm guessing that this could provide similar functionality to nandroid backup and restore.I'm in the same boat. When using TWRP for backup under OOS 10, I usually back up the /boot, /system, /data, and /vendor partitions. If I have messed up my device for some reason, I can always go to TWRP and do a restore, and my device will be back in the exact state that it was in at the time of the backup.
I'm looking for a way to accomplish the same thing without TWRP under OOS 11 when encrypted -- or under any encrypted Android 11 ROM, for that matter. Until I find something suitable, I also am remaining with OOS 10.
Perhaps could something like this done by using the "dd" command?
I'm going to work on this in my spare time and see if I can come up with a way to run this under Android 11 without TWRP.
This is the discussion of the script that I wrote last summer: