[OnePlus 11] ezdiy:
This is for expert users, testers wanted. This is unsafe to use for anything interesting, use only for read-only operations.Read-out data are not guaranteed to be correct.

If you need something reliable, you can use proprietary Windows tools:

MITM proxy with original MSM DownloadTool

Or the more recent wellqrg's mod of MSM DownloadTools - much easier to set up, but obfuscated code.

Source: https://github.com/ezdiy/edl (will be PR into upstream once verified to work reliably)

Technical: https://github.com/bkerler/edl/issues/439

Attached archive is loader and keys for Ace 2 Pro I'm using, this may not work on other SD8 Gen 2 devices and you'll need the following extracted from CPH: images/prog_firehose_ddr.elf, image/DigestsToSign_nv00000000.bin.mbn, rename it to prog_firehose_ddr.elf.digests. The prog_firehose_ddr.elf.verify can be reused from archive, or new ones may need to be captured for other loaders.

$ ./edl --loader=prog_firehose_ddr.elf rl dumps --memory=ufs --skip=userdata --genxml
Qualcomm Sahara / Firehose Client V3.62 (c) B.Kerler 2018-2023.
main - Using loader prog_firehose_ddr.elf ...
main - Waiting for the device
......
main - Hint: Press and hold vol up+dwn, connect usb. For some, only use vol up.
main - Xiaomi: Press and hold vol dwn + pwr, in fastboot mode connect usb.
Run "./fastpwn oem edl".
main - Other: Run "adb reboot edl".

...............
...main - Device detected :)
sahara - Protocol version: 3, Version supported: 1
main - Mode detected: sahara
sahara -
Version 0x3
------------------------
Serial: 0x4376317c61d

sahara - Protocol version: 3, Version supported: 1
sahara - Uploading loader prog_firehose_ddr.elf ...
sahara - 64-Bit mode detected.
sahara - Firehose mode detected, uploading...
sahara - Loader successfully uploaded.
main - Trying to connect to firehose loader ...
firehose - INFO: Version: SM8550_V2.1.10_0525_1
firehose - INFO: Binary build date: May 25 2023 @ 17:57:44
firehose - INFO: Binary build date: May 25 2023 @ 17:57:44
firehose - INFO: Function Version: V1.1
firehose - INFO: Chip serial num (0x6317c61d) Chip ID (0x0)
firehose - INFO: Supported Functions (29):
firehose - INFO: program
firehose - INFO: read
firehose - INFO: nop
firehose - INFO: patch
firehose - INFO: configure
firehose - INFO: setbootablestoragedrive
firehose - INFO: erase
firehose - INFO: power
firehose - INFO: firmwarewrite
firehose - INFO: getstorageinfo
firehose - INFO: benchmark
firehose - INFO: emmc
firehose - INFO: ufs
firehose - INFO: fixgpt
firehose - INFO: getsha256digest
firehose - INFO: sha256init
firehose - INFO: sha256final
firehose - INFO: programcust
firehose - INFO: erasebackupgpt
firehose - INFO: eraseuserdata
firehose - INFO: move
firehose - INFO: getsigndata
firehose - INFO: verify
firehose - INFO: writever
firehose - INFO: writelockdata
firehose - INFO: getbasicdata
firehose - INFO: writecdtdata
firehose - INFO: resetdigest
firehose - INFO: transfercfg
firehose - INFO: End of supported functions 29
firehose - INFO: devprg_spmi_init: success:0
firehose - INFO: 0x2646 SpmiBus_ReadLong: success:0x0
firehose - INFO: 0x2646 r_data: 0x0
firehose - INFO: 0x2640 r_data: 0x3
firehose - INFO: VIP is enabled, receiving the partition info of size 36864
firehose - Sending VIP partition of 28472 bytes
firehose
firehose - [LIB]: !DEBUG! rsp.data: 'bytearray(b'<?xml version="1.0" encoding="UTF-8" ?>\n<data>\n<log value="INFO: partition_num=181, partition_info_size=132" /></data>')'
firehose
firehose - [LIB]: Couldn't detect MaxPayloadSizeFromTargetinBytes
firehose
firehose - [LIB]: Couldn't detect TargetName
firehose - Nop succeeded.
firehose - TargetName=Unknown
firehose - MemoryName=UFS
firehose - Version=1
firehose - Trying to read first storage sector...
firehose - Running configure...
firehose - Storage report:
firehose - total_blocks:248773632
firehose - block_size:4096
firehose - page_size:4096
firehose - num_physical:6
firehose - manufacturer_id:462
firehose - serial_num:1297306958
firehose - fw_version:301
firehose - mem_type:UFS
firehose - prod_name:KLUGGARHHD-B0G1
firehose_client - Supported functions:
-----------------
program,read,nop,patch,configure,setbootablestoragedrive,erase,power,firmwarewrite,getstorageinfo,benchmark,emmc,ufs,fixgpt,getsha256digest,sha256init,sha256final,programcust,erasebackupgpt,eraseuserdata,move,getsigndata,verify,writever,writelockdata,getbasicdata,writecdtdata,resetdigest,transfercfg,devprg_spmi_init: success:0,0x2646 SpmiBus_ReadLong: success:0x0,0x2646 r_data: 0x0,0x2640 r_data: 0x3,VIP is enabled, receiving the partition info of size 36864
Wrote partition xml as rawprogram0.xml
Progress: |██████████| 100.0% Read (Sector 0x2 of 0x2, ) 5.67 MB/s
Progress: |██████████| 100.0% Read (Sector 0x2000 of 0x2000, ) 37.29 MB/s
Progress: |██████████| 100.0% Read (Sector 0x100 of 0x100, ) 36.01 MB/s
Progress: |██████████| 100.0% Read (Sector 0x80 of 0x80, ) 34.88 MB/s
Progress: |██████████| 100.0% Read (Sector 0x80 of 0x80, ) 39.49 MB/s
Progress: |██████████| 100.0% Read (Sector 0x3BF900 of 0x3C0000, ) 38.98 MB/s
Progress: |██████████| 100.0% Read (Sector 0x3BFA00 of 0x3C0000, ) 36.77 MB/s
Progress: |██████████| 100.0% Read (Sector 0x3BFB00 of 0x3C0000, ) 40.69 MB/s
Progress: |██████████| 100.0% Read (Sector 0x3BFC00 of 0x3C0000, ) 36.62 MB/s
Progress: |██████████| 100.0% Read (Sector 0x3BFD00 of 0x3C0000, ) 40.63 MB/s
Progress: |██████████| 100.0% Read (Sector 0x3BFE00 of 0x3C0000, ) 36.68 MB/s
Progress: |██████████| 100.0% Read (Sector 0x3BFF00 of 0x3C0000, ) 40.86 MB/s
Progress: |██████████| 100.0% Read (Sector 0x3C0000 of 0x3C0000, ) 36.66 MB/s
Progress: |██████████| 100.0% Read (Sector 0x10 of 0x10, ) 24.30 MB/s
Progress: |██████████| 100.0% Read (Sector 0x10 of 0x10, ) 24.64 MB/s
Progress: |██████████| 100.0% Read (Sector 0x10 of 0x10, ) 23.33 MB/s
Progress: |██████████| 100.0% Read (Sector 0x10 of 0x10, ) 25.03 MB/s
Progress: |██████████| 100.0% Read (Sector 0x4000 of 0x4000, ) 36.40 MB/s
Progress: |██████████| 100.0% Read (Sector 0x10000 of 0x10000, ) 37.06 MB/s
Progress: |██████████| 100.0% Read (Sector 0x20A4 of 0x20A4, ) 40.38 MB/s
Wrote partition xml as rawprogram1.xml
Progress: |██████████| 100.0% Read (Sector 0x600 of 0x600, ) 36.79 MB/s
Progress: |██████████| 100.0% Read (Sector 0x4B of 0x4B, ) 33.59 MB/s
Progress: |██████████| 100.0% Read (Sector 0x8 of 0x8, ) 15.69 MB/s
Progress: |██████████| 100.0% Read (Sector 0x8 of 0x8, ) 16.40 MB/s
Progress: |██████████| 100.0% Read (Sector 0x40 of 0x40, ) 36.62 MB/s
Progress: |██████████| 100.0% Read (Sector 0x15A of 0x15A, ) 38.32 MB/s
Wrote partition xml as rawprogram2.xml
Progress: |██████████| 100.0% Read (Sector 0x600 of 0x600, ) 37.08 MB/s
Progress: |██████████| 100.0% Read (Sector 0x4B of 0x4B, ) 33.77 MB/s
Progress: |██████████| 100.0% Read (Sector 0x8 of 0x8, ) 15.74 MB/s
Progress: |██████████| 100.0% Read (Sector 0x8 of 0x8, ) 18.40 MB/s
Progress: |██████████| 100.0% Read (Sector 0x40 of 0x40, ) 36.60 MB/s
Progress: |██████████| 100.0% Read (Sector 0x15A of 0x15A, ) 38.15 MB/s
Wrote partition xml as rawprogram3.xml
Progress: |██████████| 100.0% Read (Sector 0x1A of 0x1A, ) 30.39 MB/s
Progress: |██████████| 100.0% Read (Sector 0x20 of 0x20, ) 31.74 MB/s
Progress: |██████████| 100.0% Read (Sector 0x100 of 0x100, ) 36.69 MB/s
Progress: |██████████| 100.0% Read (Sector 0x100 of 0x100, ) 36.27 MB/s
Progress: |██████████| 100.0% Read (Sector 0x20 of 0x20, ) 29.15 MB/s
Progress: |██████████| 100.0% Read (Sector 0x4 of 0x4, ) 20.06 MB/s
Progress: |██████████| 100.0% Read (Sector 0x100 of 0x100, ) 36.56 MB/s
Progress: |██████████| 100.0% Read (Sector 0x1C97 of 0x1C97, ) 40.12 MB/s
Wrote partition xml as rawprogram4.xml
Progress: |██████████| 100.0% Read (Sector 0x500 of 0x500, ) 40.62 MB/s
Progress: |██████████| 100.0% Read (Sector 0x80 of 0x80, ) 34.69 MB/s
Progress: |██████████| 100.0% Read (Sector 0x80 of 0x80, ) 39.37 MB/s
Progress: |██████████| 100.0% Read (Sector 0x400 of 0x400, ) 36.97 MB/s
Progress: |██████████| 100.0% Read (Sector 0x800 of 0x800, ) 36.77 MB/s
Progress: |██████████| 100.0% Read (Sector 0x12C00 of 0x12C00, ) 37.07 MB/s
Progress: |██████████| 100.0% Read (Sector 0x600 of 0x600, ) 36.70 MB/s
Progress: |██████████| 100.0% Read (Sector 0x400 of 0x400, ) 36.79 MB/s
Progress: |██████████| 100.0% Read (Sector 0x2000 of 0x2000, ) 37.01 MB/s
Progress: |██████████| 100.0% Read (Sector 0x100 of 0x100, ) 36.32 MB/s
Progress: |██████████| 100.0% Read (Sector 0x4000 of 0x4000, ) 36.76 MB/s
Progress: |██████████| 100.0% Read (Sector 0x80 of 0x80, ) 34.86 MB/s
Progress: |██████████| 100.0% Read (Sector 0xC000 of 0xC000, ) 36.71 MB/s
Progress: |██████████| 100.0% Read (Sector 0x20 of 0x20, ) 30.01 MB/s
Progress: |██████████| 100.0% Read (Sector 0x14 of 0x14, ) 25.09 MB/s
Progress: |██████████| 100.0% Read (Sector 0x10 of 0x10, ) 23.51 MB/s
Progress: |██████████| 100.0% Read (Sector 0x1800 of 0x1800, ) 41.09 MB/s
Progress: |██████████| 100.0% Read (Sector 0x200 of 0x200, ) 41.71 MB/s
Progress: |██████████| 100.0% Read (Sector 0x200 of 0x200, ) 39.69 MB/s
Progress: |██████████| 100.0% Read (Sector 0x20 of 0x20, ) 37.93 MB/s
Progress: |██████████| 100.0% Read (Sector 0x21900 of 0x2191C, ) 40.69 MB/s
Progress: |██████████| 100.0% Read (Sector 0x2191C of 0x2191C, ) 28.19 MB/s
Progress: |██████████| 100.0% Read (Sector 0x100 of 0x100, ) 36.11 MB/s
Progress: |██████████| 100.0% Read (Sector 0x20 of 0x20, ) 29.53 MB/s
Progress: |██████████| 100.0% Read (Sector 0xC000 of 0xC000, ) 36.37 MB/s
Progress: |██████████| 100.0% Read (Sector 0x1E00 of 0x1E00, ) 36.86 MB/s
Progress: |██████████| 100.0% Read (Sector 0x40 of 0x40, ) 33.53 MB/s
Progress: |██████████| 100.0% Read (Sector 0xA00 of 0xA00, ) 36.74 MB/s
Progress: |██████████| 100.0% Read (Sector 0x6400 of 0x6400, ) 36.72 MB/s
Progress: |██████████| 100.0% Read (Sector 0x20A4 of 0x20A4, ) 40.56 MB/s
Progress: |██████████| 100.0% Read (Sector 0x200 of 0x200, ) 38.96 MB/s
Progress: |██████████| 100.0% Read (Sector 0xD of 0xD, ) 19.99 MB/s
Progress: |██████████| 100.0% Read (Sector 0x800 of 0x800, ) 36.66 MB/s
Progress: |██████████| 100.0% Read (Sector 0x500 of 0x500, ) 40.68 MB/s
Progress: |██████████| 100.0% Read (Sector 0x80 of 0x80, ) 35.02 MB/s
Progress: |██████████| 100.0% Read (Sector 0x80 of 0x80, ) 39.48 MB/s
Progress: |██████████| 100.0% Read (Sector 0x400 of 0x400, ) 36.50 MB/s
Progress: |██████████| 100.0% Read (Sector 0x800 of 0x800, ) 36.84 MB/s
Progress: |██████████| 100.0% Read (Sector 0x12C00 of 0x12C00, ) 37.10 MB/s
Progress: |██████████| 100.0% Read (Sector 0x600 of 0x600, ) 36.81 MB/s
Progress: |██████████| 100.0% Read (Sector 0x400 of 0x400, ) 36.53 MB/s
Progress: |██████████| 100.0% Read (Sector 0x2000 of 0x2000, ) 36.72 MB/s
Progress: |██████████| 100.0% Read (Sector 0x100 of 0x100, ) 36.27 MB/s
Progress: |██████████| 100.0% Read (Sector 0x4000 of 0x4000, ) 36.71 MB/s
Progress: |██████████| 100.0% Read (Sector 0x80 of 0x80, ) 35.36 MB/s
Progress: |██████████| 100.0% Read (Sector 0xC000 of 0xC000, ) 36.00 MB/s
Progress: |██████████| 100.0% Read (Sector 0x20 of 0x20, ) 30.76 MB/s
Progress: |██████████| 100.0% Read (Sector 0x14 of 0x14, ) 27.12 MB/s
Progress: |██████████| 100.0% Read (Sector 0x10 of 0x10, ) 24.70 MB/s
Progress: |██████████| 100.0% Read (Sector 0x1800 of 0x1800, ) 36.73 MB/s
Progress: |██████████| 100.0% Read (Sector 0x200 of 0x200, ) 39.13 MB/s
Progress: |██████████| 100.0% Read (Sector 0x200 of 0x200, ) 41.84 MB/s
Progress: |██████████| 100.0% Read (Sector 0x20 of 0x20, ) 29.16 MB/s
Progress: |██████████| 100.0% Read (Sector 0x21900 of 0x2191C, ) 40.76 MB/s
Progress: |██████████| 100.0% Read (Sector 0x2191C of 0x2191C, ) 28.65 MB/s
Progress: |██████████| 100.0% Read (Sector 0x100 of 0x100, ) 43.05 MB/s
Progress: |██████████| 100.0% Read (Sector 0x20 of 0x20, ) 29.47 MB/s
Progress: |██████████| 100.0% Read (Sector 0xC000 of 0xC000, ) 36.76 MB/s
Progress: |██████████| 100.0% Read (Sector 0x40 of 0x40, ) 33.17 MB/s
Progress: |██████████| 100.0% Read (Sector 0xA00 of 0xA00, ) 36.63 MB/s
Progress: |██████████| 100.0% Read (Sector 0x6400 of 0x6400, ) 37.27 MB/s
Progress: |██████████| 100.0% Read (Sector 0x20A4 of 0x20A4, ) 39.54 MB/s
Progress: |██████████| 100.0% Read (Sector 0x200 of 0x200, ) 38.00 MB/s
Progress: |██████████| 100.0% Read (Sector 0xD of 0xD, ) 20.91 MB/s
Progress: |██████████| 100.0% Read (Sector 0x800 of 0x800, ) 36.63 MB/s
Progress: |██████████| 100.0% Read (Sector 0x1 of 0x1, ) 3.67 MB/s
Progress: |██████████| 100.0% Read (Sector 0x100 of 0x100, ) 43.04 MB/s
Progress: |██████████| 100.0% Read (Sector 0x1 of 0x1, ) 3.92 MB/s
Progress: |██████████| 100.0% Read (Sector 0x1 of 0x1, ) 9.52 MB/s
Progress: |██████████| 100.0% Read (Sector 0x100 of 0x100, ) 38.97 MB/s
Progress: |██████████| 100.0% Read (Sector 0x800 of 0x800, ) 36.65 MB/s
Progress: |██████████| 100.0% Read (Sector 0x20000 of 0x20000, ) 41.63 MB/s
Progress: |██████████| 100.0% Read (Sector 0x20 of 0x20, ) 31.30 MB/s
Progress: |██████████| 100.0% Read (Sector 0x80 of 0x80, ) 34.94 MB/s
Progress: |██████████| 100.0% Read (Sector 0x7 of 0x7, ) 14.56 MB/s
Progress: |██████████| 100.0% Read (Sector 0x20A4 of 0x20A4, ) 39.61 MB/s
Progress: |██████████| 100.0% Read (Sector 0x7800 of 0x7800, ) 36.77 MB/s
Progress: |██████████| 100.0% Read (Sector 0x1400 of 0x1400, ) 36.79 MB/s
Progress: |██████████| 100.0% Read (Sector 0x20 of 0x20, ) 30.29 MB/s
Progress: |██████████| 100.0% Read (Sector 0x20 of 0x20, ) 32.99 MB/s
Progress: |██████████| 100.0% Read (Sector 0x2000 of 0x2000, ) 36.74 MB/s
Progress: |██████████| 100.0% Read (Sector 0x80 of 0x80, ) 36.81 MB/s
Progress: |██████████| 100.0% Read (Sector 0x10 of 0x10, ) 30.30 MB/s
Progress: |██████████| 100.0% Read (Sector 0x20 of 0x20, ) 31.23 MB/s
Progress: |██████████| 100.0% Read (Sector 0x40 of 0x40, ) 41.95 MB/s
Progress: |██████████| 100.0% Read (Sector 0x2755 of 0x2755, ) 37.76 MB/s
Wrote partition xml as rawprogram5.xml
Progress: |██████████| 100.0% Read (Sector 0x1A of 0x1A, ) 36.97 MB/s
Progress: |██████████| 100.0% Read (Sector 0x1400 of 0x1400, ) 36.83 MB/s
Progress: |██████████| 100.0% Read (Sector 0x1400 of 0x1400, ) 36.75 MB/s
Progress: |██████████| 100.0% Read (Sector 0x300 of 0x300, ) 40.66 MB/s
Progress: |██████████| 100.0% Read (Sector 0x300 of 0x300, ) 40.66 MB/s
Progress: |██████████| 100.0% Read (Sector 0x300 of 0x300, ) 42.47 MB/s
Progress: |██████████| 100.0% Read (Sector 0x20 of 0x20, ) 37.02 MB/s
Progress: |██████████| 100.0% Read (Sector 0x200 of 0x200, ) 38.83 MB/s
Progress: |██████████| 100.0% Read (Sector 0x800 of 0x800, ) 37.47 MB/s
Progress: |██████████| 100.0% Read (Sector 0x10000 of 0x10000, ) 36.74 MB/s
Progress: |██████████| 100.0% Read (Sector 0x4000 of 0x4000, ) 36.82 MB/s
Progress: |██████████| 100.0% Read (Sector 0x2000 of 0x2000, ) 37.00 MB/s
Progress: |██████████| 100.0% Read (Sector 0x4000 of 0x4000, ) 37.26 MB/s
Progress: |██████████| 100.0% Read (Sector 0x2000 of 0x2000, ) 36.72 MB/s
Progress: |██████████| 100.0% Read (Sector 0x1400 of 0x1400, ) 36.74 MB/s
Progress: |██████████| 100.0% Read (Sector 0x100 of 0x100, ) 36.21 MB/s
Progress: |██████████| 100.0% Read (Sector 0x2BBB of 0x2BBB, ) 37.12 MB/s