[Xiaomi 13 Pro] StratOS_HTC:
I'm on the way to create a full backup of phone.

Since backup - recovery is not available for zircon (Redmi note 13 pro +)

I've make a way to compress the images and pull it back to comp - Because raw files are space consuming.

To create a backup of UFS I'll get a current active slot and backup / compress a files from blocks

zircon:/dev/block/platform/soc/112b0000.ufshci/by-name # ls -l
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 apusys_a -> /dev/block/sdc39
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 apusys_b -> /dev/block/sdc70
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 audio_dsp_a -> /dev/block/sdc30
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 audio_dsp_b -> /dev/block/sdc61
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 backup1 -> /dev/block/sdc17
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 backup2 -> /dev/block/sdc19
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 backup3 -> /dev/block/sdc20
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 backup4 -> /dev/block/sdc21
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 backup5 -> /dev/block/sdc22
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 backup6 -> /dev/block/sdc26
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 backup7 -> /dev/block/sdc29
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 boot_a -> /dev/block/sdc43
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 boot_b -> /dev/block/sdc74
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 boot_para -> /dev/block/sdc52
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 ccu_a -> /dev/block/sdc34
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 ccu_b -> /dev/block/sdc65
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 connsys_bt_a -> /dev/block/sdc54
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 connsys_bt_b -> /dev/block/sdc77
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 connsys_gnss_a -> /dev/block/sdc56
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 connsys_gnss_b -> /dev/block/sdc79
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 connsys_wifi_a -> /dev/block/sdc55
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 connsys_wifi_b -> /dev/block/sdc78
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 countrycode -> /dev/block/sdc90
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 cust -> /dev/block/sdc88
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 dpm_a -> /dev/block/sdc32
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 dpm_b -> /dev/block/sdc63
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 dram_para -> /dev/block/sdc53
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 dtbo_a -> /dev/block/sdc46
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 dtbo_b -> /dev/block/sdc80
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 ebuff -> /dev/block/sdc87
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 efuse -> /dev/block/sdc50
lrwxrwxrwx 1 root root 15 2024-05-27 18:42 expdb -> /dev/block/sdc3
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 ffu -> /dev/block/sdc85
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 flashinfo -> /dev/block/sdc94
lrwxrwxrwx 1 root root 15 2024-05-27 18:42 frp -> /dev/block/sdc4
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 gpueb_a -> /dev/block/sdc38
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 gpueb_b -> /dev/block/sdc69
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 gsort -> /dev/block/sdc84
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 gz_a -> /dev/block/sdc41
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 gz_b -> /dev/block/sdc72
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 init_boot_a -> /dev/block/sdc45
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 init_boot_b -> /dev/block/sdc76
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 lk_a -> /dev/block/sdc42
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 lk_b -> /dev/block/sdc73
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 logo_a -> /dev/block/sdc57
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 logo_b -> /dev/block/sdc81
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 mcf_ota_a -> /dev/block/sdc28
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 mcf_ota_b -> /dev/block/sdc60
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 mcupm_a -> /dev/block/sdc37
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 mcupm_b -> /dev/block/sdc68
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 md1img_a -> /dev/block/sdc25
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 md1img_b -> /dev/block/sdc58
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 mem -> /dev/block/sdc86
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 metadata -> /dev/block/sdc14
lrwxrwxrwx 1 root root 15 2024-05-27 18:42 misc -> /dev/block/sdc1
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 mvpu_algo_a -> /dev/block/sdc40
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 mvpu_algo_b -> /dev/block/sdc71
lrwxrwxrwx 1 root root 15 2024-05-27 18:42 nvcfg -> /dev/block/sdc5
lrwxrwxrwx 1 root root 15 2024-05-27 18:42 nvdata -> /dev/block/sdc6
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 nvram -> /dev/block/sdc51
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 opconfig -> /dev/block/sdc92
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 opcust -> /dev/block/sdc91
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 otp -> /dev/block/sdc23
lrwxrwxrwx 1 root root 15 2024-05-27 18:42 para -> /dev/block/sdc2
lrwxrwxrwx 1 root root 15 2024-05-27 18:42 persist -> /dev/block/sdc7
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 pi_img_a -> /dev/block/sdc31
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 pi_img_b -> /dev/block/sdc62
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 proinfo -> /dev/block/sdc49
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 protect1 -> /dev/block/sdc15
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 protect2 -> /dev/block/sdc16
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 pstore -> /dev/block/sdc24
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 rescue -> /dev/block/sdc89
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 scp_a -> /dev/block/sdc33
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 scp_b -> /dev/block/sdc64
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 sec1 -> /dev/block/sdc48
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 seccfg -> /dev/block/sdc18
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 spmfw_a -> /dev/block/sdc27
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 spmfw_b -> /dev/block/sdc59
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 sspm_a -> /dev/block/sdc36
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 sspm_b -> /dev/block/sdc67
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 super -> /dev/block/sdc83
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 tee_a -> /dev/block/sdc47
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 tee_b -> /dev/block/sdc82
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 userdata -> /dev/block/sdc93
lrwxrwxrwx 1 root root 15 2024-05-27 18:42 vbmeta_a -> /dev/block/sdc8
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 vbmeta_b -> /dev/block/sdc11
lrwxrwxrwx 1 root root 15 2024-05-27 18:42 vbmeta_system_a -> /dev/block/sdc9
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 vbmeta_system_b -> /dev/block/sdc12
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 vbmeta_vendor_a -> /dev/block/sdc10
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 vbmeta_vendor_b -> /dev/block/sdc13
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 vcp_a -> /dev/block/sdc35
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 vcp_b -> /dev/block/sdc66
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 vendor_boot_a -> /dev/block/sdc44
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 vendor_boot_b -> /dev/block/sdc75

What is weird is that a dev/block/mapper

contains a guess init partitions of /super

So can any1 explain it to me if those block should be also need to backup and what is the difference regardins super on UFS (/dev/block/sdc83)

and partial blocks dm* ?

Just line userdata (/dev/block/sdc93) and userdata (/dev/block/dm-45)

zircon:/dev/block/mapper # ls -l
total 0
drwxr-xr-x 2 root root 340 2024-05-27 18:42 by-uuid
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 com.android.extservices -> /dev/block/dm-12
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 com.android.permission -> /dev/block/dm-10
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 com.android.tzdata -> /dev/block/dm-34
lrwxrwxrwx 1 root root 15 2024-05-27 18:42 mi_ext_a -> /dev/block/dm-8
lrwxrwxrwx 1 root root 15 2024-05-27 18:42 odm_a -> /dev/block/dm-0
lrwxrwxrwx 1 root root 15 2024-05-27 18:42 odm_dlkm_a -> /dev/block/dm-1
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 pl_a -> /dev/block/dm-46
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 pl_b -> /dev/block/dm-47
lrwxrwxrwx 1 root root 15 2024-05-27 18:42 product_a -> /dev/block/dm-2
lrwxrwxrwx 1 root root 15 2024-05-27 18:42 system_a -> /dev/block/dm-3
lrwxrwxrwx 1 root root 15 2024-05-27 18:42 system_dlkm_a -> /dev/block/dm-4
lrwxrwxrwx 1 root root 15 2024-05-27 18:42 system_ext_a -> /dev/block/dm-5
lrwxrwxrwx 1 root root 16 2024-05-27 18:42 userdata -> /dev/block/dm-45
lrwxrwxrwx 1 root root 15 2024-05-27 18:42 vendor_a -> /dev/block/dm-6
lrwxrwxrwx 1 root root 15 2024-05-27 18:42 vendor_dlkm_a -> /dev/block/dm-7