OnePlus 6 (oneplus-enchilada)/Hacking

= Hacking on the OnePlus 6 =
The OnePlus 6 is a pretty good device for lowlevel hacking, if you're already comfortable with lowlevel Qualcomm here's a quick rundown:
* bkerler's fantastic EDL tool contains the firehose binary for the device, you can use this to flash individual partitions or completely switch up the partition table, as long as you stay within the constraints of the bootloader.
* The ABL has been modified a fair bit by OnePlus, here's a full bootloader log:
OnePlus 6 bootloader logs
 
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.XF.2.0-00364-SDM845LZB-1
S - IMAGE_VARIANT_STRING=SDM845LA
S - OEM_IMAGE_VERSION_STRING=rd-build-73
S - Note XBL compiled at Jul 13 2021 21:56:54
S - Boot Interface: UFS
S - Secure Boot: On
S - Boot Config @ 0x00786070 = 0x000000c1
S - JTAG ID @ 0x00786130 = 0x2008b0e1
S - OEM ID @ 0x00786138 = 0x0051459b
S - Serial Number @ 0x00784138 = 0x05662f97
S - Feature Config Row 0 @ 0x007841a0 = 0x0050200080000400
S - Feature Config Row 1 @ 0x007841a8 = 0xe000000000000040
S - Core 0 Frequency, 1516 MHz
S - PBL Patch Ver: 1
S - PBL freq: 600 MHZ
B - 94 - PBL, Start
B - 5275 - bootable_media_detect_entry
B - 44238 - bootable_media_detect_success
B - 44613 - elf_loader_entry
B - 45190 - auth_hash_seg_entry
B - 52721 - auth_hash_seg_exit
B - 58726 - elf_segs_hash_verify_entry
B - 65502 - elf_segs_hash_verify_exit
B - 66131 - auth_xbl_sec_hash_seg_entry
B - 73338 - auth_xbl_sec_hash_seg_exit
B - 73340 - xbl_sec_segs_hash_verify_entry
B - 74093 - xbl_sec_segs_hash_verify_exit
B - 74116 - PBL, End
B - 88968 - SBL1, Start
B - 205478 - boot_flash_init, Start
D - 0 - boot_flash_init, Delta
B - 209443 - xblconfig_init, Start
D - 3782 - Auth Metadata
D - 207552 - xblconfig_init, Delta
B - 421967 - sbl1_ddr_set_default_params, Start
D - 1494 - sbl1_ddr_set_default_params, Delta
B - 429958 - boot_config_data_table_init, Start
B - 434655 - CDT not programmed, using default
D - 4575 - boot_config_data_table_init, Delta - (54 Bytes)
B - 449143 - CDT Version:3,Platform ID:8,Major ID:1,Minor ID:0,Subtype:0
B - 454846 - pm_device_init, Start
B - 460092 - PM: PON REASON: PM0=0x800028000000080:0x40 PM1=0x400008000000020:0x0 PM2=0x400
B - 520177 - PM: SET_VAL:Skip
D - 64873 - pm_device_init, Delta
B - 523166 - pm_driver_init, Start
D - 5337 - pm_driver_init, Delta
B - 532072 - PM: Trigger FG IMA Reset
B - 535641 - PM: Trigger FG IMA Reset.Completed
B - 543052 - PM: [OnePlus]Print Oneplus ADC Config
B - 544242 - PM: Name=GPIO_08 adc= 445 adc->id=2
B - 549061 - PM: Name=GPIO_09 adc= 444 adc->id=2
B - 553697 - PM: Name=GPIO_10 adc= 731 adc->id=3
B - 558333 - PM: Name=GPIO_11 adc= 445 adc->id=2
B - 562969 - PM: Name=GPIO_12 adc= 6 adc->id=1
B - 567025 - PM: hw_version = 22 name=PVT
B - 571478 - PM: rf_version = 32 name=UNKNOWN
B - 575535 - PM: init_a_board_version = 1 name=TMO
B - 579896 - PM: enter console_loop time=579896
B - 1184772 - PM: exit console_loop time=1184772
B - 1185779 - PM: set_fast_charge_current=500
B - 1189439 - PM: set_pre_charge_current=250
B - 1193739 - PM: set_float_volt_mv=4365
B - 1197948 - PM: set_usbin_icl=2100
B - 1202737 - PM: EntryVbat: 4231; EntrySOC: -1
B - 1205299 - PM: ADSP result: 8
B - 1209752 - PM: APSD in progress
B - 1213107 - PM: pm_sbl_chg_post_init
B - 1216248 - PM: hw_version = 22 name=PVT
B - 1219939 - PM: get_hw_version: 22 set RF_CLK2 4X
B - 1223995 - vsense_init, Start
D - 0 - vsense_init, Delta
B - 1250927 - sbl1_ddr_set_params, Start
B - 1252757 - Pre_DDR_clock_init, Start
D - 91 - Pre_DDR_clock_init, Delta
D - 7686 - sbl1_ddr_set_params, Delta
B - 1262364 - sbl1_ddr_init, Start
D - 16134 - sbl1_ddr_init, Delta
B - 1282372 - DSF version = 253.10, DSF SHRM version = 173.3
B - 1285697 - Manufacturer ID = 1, Device Type = 7
B - 1291309 - Rank 0 size = 4096 MB, Rank 1 size = 4096 MB
B - 1296341 - do_ddr_training, Start
B - 1302929 - Frequency = 1355 MHz
D - 3507 - do_ddr_training, Delta
B - 1311561 - pImem Init Start
D - 9729 - pImem Init End, Delta
B - 1323212 - clock_init, Start
D - 213 - clock_init, Delta
B - 1328244 - Image Load, Start
D - 6832 - Auth Metadata
D - 244 - Segments hash check
D - 13085 - APDP Image Loaded, Delta - (7828 Bytes)
B - 1344684 - usb: UFS Serial - 5725c671
B - 1349594 - usb: fedl, vbus_low
B - 1353956 - PM: 0: PON=0x80:KPDPWR_N: ON=0x80:PON_SEQ: POFF=0x2:PS_HOLD: OFF=0x8:RAW_DVDD_O
B - 1362343 - PM: 1: PON=0x20:PON1: ON=0x80:PON_SEQ: OFF=0x4:RAW_XVDD_SHD
B - 1372561 - PM: 2: PON=0x20:PON1: ON=0x80:PON_SEQ: OFF=0x4:RAW_XVDD_SHD
B - 1379271 - PM: SMEM Chgr Info Write Success
B - 1385096 - Image Load, Start
D - 3507 - Auth Metadata
D - 10187 - Segments hash check
D - 20954 - AOP Image Loaded, Delta - (178864 Bytes)
B - 1409283 - Image Load, Start
D - 3477 - Auth Metadata
D - 274 - Segments hash check
D - 12139 - QSEE Dev Config Image Loaded, Delta - (34144 Bytes)
B - 1430267 - Image Load, Start
D - 10065 - Auth Metadata
D - 11803 - Segments hash check
D - 41907 - QSEE Image Loaded, Delta - (2038800 Bytes)
B - 1475437 - Image Load, Start
D - 152 - SEC Image Loaded, Delta - (4096 Bytes)
B - 1483733 - Image Load, Start
D - 3538 - Auth Metadata
D - 2440 - Segments hash check
D - 18666 - QHEE Image Loaded, Delta - (391232 Bytes)
B - 1505663 - Image Load, Start
D - 5185 - STI Image Loaded, Delta - (0 Bytes)
B - 1514081 - Image Load, Start
D - 3447 - Auth Metadata
D - 976 - Segments hash check
D - 11285 - ABL Image Loaded, Delta - (203344 Bytes)
B - 1528721 - Image Load, Start
D - 3538 - Auth Metadata
D - 9180 - Segments hash check
D - 30469 - APPSBL Image Loaded, Delta - (2097152 Bytes)
B - 1599847 - success: 1; magic: ; addr: 0x5c00000
B - 1599908 - SBL1, End
D - 1515637 - SBL1, Delta
S - Flash Throughput, 130000 KB/s (5027834 Bytes, 38631 us)
S - DDR Frequency, 1353 MHz
UEFI Start [ 1956] SEC
ASLR : On
DEP : On
Timer Delta : +0 mS
RAM Entry 0 : Base 0x0000000080000000 Size 0x0000000100000000
RAM Entry 1 : Base 0x0000000180000000 Size 0x00000000FC8A0000
UEFI Ver : 5.0.210713.BOOT.XF.2.0-00364-SDM845LZB-1
Build Info : 64b Jul 13 2021 21:57:20
Boot Device : UFS
PROD Mode : TRUE
Retail : TRUE
[OpBootloaderLog] Start 13 10
[OpBootloaderLog] Start init bootloader log service
[OpBootloaderLog] Already init
[OpBootloaderLog] BootCount is 10551
[EFI_D_ERROR] bootloader boot count 10551 times
[OpBootloaderLog] Replace segment 10
[OpBootloaderLog] find free segment is 10
PM0: 20, PM1: 21, PM2: 24,
Elapsed tick: 0x2919968, Wait tick: 0x2DC6C00
Elapsed tick: 0x2A041EE, Wait tick: 0x2DC6C00
Elapsed tick: 0x2AEEBCE, Wait tick: 0x2DC6C00
Elapsed tick: 0x2BD95B7, Wait tick: 0x2DC6C00
Elapsed tick: 0x2CC3F5C, Wait tick: 0x2DC6C00
Elapsed tick: 0x2DAE8F1, Wait tick: 0x2DC6C00
[OpBootloaderLog] Start 48 12
[OpBootloaderLog] Start flush log to ufs
[OpBootloaderLog] Start 48 12
[OpBootloaderLog] Start flush log to ufs
PanelId--read the LCD register 0xDA the ID1 = :0x0000AD
PanelId--read the LCD register 0xDB the ID2 = :0x00000A
PanelId--read the LCD register 0xDC the ID3 = :0x000005
PanelId:0xAD0A05
DisplayDxe: Resolution 1080x2280 (1 intf)
[OpBootloaderLog] Start 48 12
[OpBootloaderLog] Start flush log to ufs
-----------------------------
Platform Init [ 3129] BDS
qWrite addr:0x0 data:0x1
write addr:0x0 error
L:0x21 H:0x4
FG TYPE= 0x421
fg_type:0x421
HW_ID:22
BatteryNotMatch--- = 0
KeyPressed=1 Status=0
key_boot_mode=0x2
WrongBatteryShutdown enter
WrongBatteryShutdown enterBatteryNotMatch=0
Platform : MTP
Chip Name : SDM845
Chip Ver : 2.1
Core 0 Freq: 1612 MHz
-----------------------------
UEFI Total : 2901 ms
POST Time [ 4857] OS Loader
Loader Build Info: May 11 2021 22:56:21
[OpBootloaderLog] Start 48 12
[OpBootloaderLog] Start flush log to ufs
[OpBootloaderLog] Start 48 12
[OpBootloaderLog] Start flush log to ufs
[OpBootloaderLog] Start 48 12
[OpBootloaderLog] Start flush log to ufs
LoadSecureApps: Load app from partition(keymaster): Status = 0x0, AppId = 1
VB: RWDeviceState:READ_CONFIG status=0 read_rsp.status=0 secure_device=1
VB: RWDeviceState: Succeed using rpmb!
Device support param encryption.
enc_header->magic = A0AD646A, ENCRYPTED_MAGIC = A0AD646A
SID 300 is encrypted
check_enc_block_and_fix: Verify SID 300 Success
enc_header->magic = A0AD646A, ENCRYPTED_MAGIC = A0AD646A
SID 304 is encrypted
check_enc_block_and_fix: Verify SID 304 Success
migrate_custflag_from_plaintext[00000131] Start cust flag migration check
[get_param_by_index_and_offset] sid_index = 304 offset = 164 buf = 9984CFD4 length = 4
Encrypted block 304 is verified success
migrate_custflag_from_plaintext[00000139] Cust flag has been migrated, no need to do further!
* The bootloader supports selecting the "best match" from multiple DTBs (all appended to the kernel), this is also true for the PocoPhone F1 and makes it possible to use a single boot image across both devices. The OnePlus 6T seems to select the enchilada DTB before it's own though.
* ABL logs will also be printed via UART, however XBL / SBL logs are only printed if you hook up the Rx line (pulling it high to 1.8v should be enough for this).
* Qualcomm's public ABL sources can offer a lot of insight here, there is a lot of potential for fuzzing by messing with the partition table and various image headers. https://source.codeaurora.org/quic/la/abl/tianocore/edk2/tree/QcomModulePkg?h=LA.UM.9.3.r1-01500-sdm845.0
=== UART Muxing ===
GPIOs 37 and 51 respectively on the TLMM are labelled "usb_sw1" and "usb_sw2", these GPIOs control two MUXES as shown. I've attempted to enable sw1 and get UART out of the USB port but haven't had any luck, something else might be missing.
The MCU pins are muxed when a fast charger is detected, the STM8 MCU then talks to the fast charger via the USB DP/DN pins to negotiate charging current.
 ┌──────────────────┐ ┌──────────────┐
 │ │ Second MUX │ │ Debug UART
 │ 0 ├─────────────────────────┤ 0 ├────────────────────
 USB │ │ │ │
PORT───────┤ │ │ │
 │ │ │ │ MCU Pins
 │ 1 ├──────────┐ │ 1 ├────────────────────
 │ S │ │ │ s │
 └────────┬─────────┘ │ └───┬──────────┘
 │ │ │
 │ │ │
 │ │ │
 │ │ │
 │ │ │
 │ │ │
 │ │ │
 ┌────┴────┐ USB usb_sw2
 │ │
 │ NOT │
 usb_sw1───────┤ GATE │
 │ │
 └─────────┘
 GPIO 37 GPIO 51
 ┌─────────┬───────────────┐ ┌─────────┬──────────┐
 │ usb_sw1 │ Select │ │ usb_sw2 │ Select │
 ├─────────┼───────────────┤ ├─────────┼──────────┤
 │ 0 │ USB │ │ 0 │ UART │
 ├─────────┼───────────────┤ ├─────────┼──────────┤
 │ 1 │ MCU / UAURT │ │ 1 │ MCU │
 └─────────┴───────────────┘ └─────────┴──────────┘
(The diagram was created with ASCIIFLOW, an editable version can be found here).
If you'd like to experiment with the MUXes, you may add the following to the sdm845-oneplus-common.dtsi file under the / { node and toggle the MUXes by modifying the brightness of the LEDs in /sys/class/leds.
/ {
 usb-muxes {
		compatible = "gpio-leds";
		sw1 {
			gpios = <&tlmm 37 GPIO_ACTIVE_HIGH>;
			default-state = "on";
		};
		sw2 {
			gpios = <&tlmm 51 GPIO_ACTIVE_HIGH>;
		};
		mcu_en {
			gpios = <&tlmm 102 GPIO_ACTIVE_HIGH>;
		};
	};
}
== Hypervisor / TZ log ==
The TZ control block is at 0x146bf720, the expected way to use it from Linux is to allocate some memory and then make an SCM call (to the hypervisor) to have it use your memory and copy the log there.
The hypervisor log is stored physically at address 0x858b5000 and can simply be dumped as is. It uses a circular log buffer with a size of 0x2000
This is a hypervisor log from a OnePlus 6 running mainline:
HYP Timestamp Log Init: 1275970
HYP Version Info: QC_IMAGE_VERSION_STRING=TZ.XF.5.0.1.C5-00083.1
HYP Version Info: IMAGE_VARIANT_STRING=WAXAANAAA
OEM Version Info: OEM_IMAGE_VERSION_STRING=CRM
(0)
SMMU Info: VMID 4 not support
SMMU Info: VMID 4 not support
Mapped SMEM as non-cached to EL2
Mapped region <0> as non-cached to EL2
Mapped region <1> as non-cached to EL2
Is TZ APP region mapped to HLOS VM = 1
first psci cpuon time: 3616292
first suspend time: 3855764
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
video_init_and_start Not halted
video_set_state Init-and-start failed
PILSubsys_setState [300012]
pil_set_state_api_ns [300012]
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
SMMU Virt: Invalid S2CRn value=0x00020000 for Dev ID=1
== Partition map ==
/dev/sdf5: PARTLABEL="fsc" PARTUUID="34e1a3ac-925b-2cf4-02d1-be72a53688cf"
/dev/sdf3: PARTLABEL="modemst2" PARTUUID="c1355970-da61-8305-aea2-df193f53daae"
/dev/sdf1: PARTLABEL="ALIGN_TO_128K_2" PARTUUID="08434f59-3681-c80e-491d-2cc43210add2"
/dev/sdf4: PARTLABEL="fsg" PARTUUID="8c15dfe7-5d8e-836b-48c5-9835bc9854b3"
/dev/sdf2: PARTLABEL="modemst1" PARTUUID="8d1faeb6-8674-a0a8-5bdf-d466936f5c9d"
/dev/sdd2: PARTLABEL="cdt" PARTUUID="0f3c41fd-8720-9dd9-4997-55c1ca92cad1"
/dev/sdd3: PARTLABEL="ddr" PARTUUID="a9792eda-8825-aee3-ff96-e616d27e269b"
/dev/sdd1: PARTLABEL="ALIGN_TO_128K_1" PARTUUID="962121e3-559d-0641-0f18-81628f3e9448"
/dev/sdb2: PARTLABEL="xbl_config_a" PARTUUID="5c3db287-e5ea-6e14-8745-939a24b375a7"
/dev/sdb1: PARTLABEL="xbl_a" PARTUUID="c4dd26e5-25d5-f7be-ff2c-eeb242dfa1c2"
/dev/sde32: SEC_TYPE="msdos" UUID="00BC-614E" BLOCK_SIZE="4096" TYPE="vfat" PARTLABEL="modem_b" PARTUUID="cfe2f18a-5dbb-ba1e-f080-4b6df5ab5ee2"
/dev/sde60: PARTLABEL="sec" PARTUUID="3a98dd15-6ef1-bd3e-65b6-ac86d8bb395e"
/dev/sde2: PARTLABEL="tz_a" PARTUUID="6fb4f572-6a80-2df6-129a-a5299a8f3a54"
/dev/sde22: PARTLABEL="fw_4u1ea_a" PARTUUID="fb8c320c-fd90-6770-76f6-741c5ab5f944"
/dev/sde50: PARTLABEL="fw_4u1ea_b" PARTUUID="522b829c-13c8-bbd0-996a-15bb7fa28b9b"
/dev/sde12: PARTLABEL="cmnlib_a" PARTUUID="3faa441a-2136-053f-e802-eb84308d137f"
/dev/sde40: PARTLABEL="cmnlib_b" PARTUUID="b4ee26f8-73a5-2f6e-2d19-f2d66f0f4974"
/dev/sde69: SEC_TYPE="msdos" LABEL="LOGFS" UUID="D273-55EA" BLOCK_SIZE="4096" TYPE="vfat" PARTLABEL="logfs" PARTUUID="f5c45b71-d6ac-634c-fccd-6a0ba77c7c86"
/dev/sde30: PARTLABEL="tz_b" PARTUUID="61c933af-7cbf-51c2-ce59-5ad7ec0fc259"
/dev/sde59: LABEL="op1" UUID="ba588e16-ba7a-4232-a407-16e504d35a5d" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="op1" PARTUUID="a0f1da3f-ef2d-35c4-1f90-9b5b0d7e6a2d"
/dev/sde20: PARTLABEL="LOGO_a" PARTUUID="b715e14f-fedb-a6eb-c193-0600ba0b0566"
/dev/sde49: PARTLABEL="fw_4j1ed_b" PARTUUID="121e7bb1-261f-14bc-2703-acd54d8a1bd2"
/dev/sde10: PARTLABEL="keymaster_a" PARTUUID="20fd2a8c-12f2-63af-abfe-32b29b8cede6"
/dev/sde39: PARTLABEL="boot_b" PARTUUID="644a664b-c619-849f-6f7f-efac5109f257"
/dev/sde67: PARTLABEL="limits" PARTUUID="edccd900-7e8f-7269-1726-29c854829653"
/dev/sde9: LABEL="dsp" UUID="af32c008-2a39-7e5b-a5dc-201456d93103" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="dsp_a" PARTUUID="0e5991db-3f34-7f57-0ed2-3d4f01f3f858"
/dev/sde29: PARTLABEL="aop_b" PARTUUID="e377e3bb-363d-2920-4835-6733035baf08"
/dev/sde57: PARTLABEL="minidump" PARTUUID="6b7d4d38-02a6-bf9a-4b62-1d1af6c3108c"
/dev/sde19: PARTLABEL="storsec_a" PARTUUID="58ec2788-71cd-57d4-6cd7-8f62c634c1c1"
/dev/sde47: PARTLABEL="storsec_b" PARTUUID="0e097b14-fa1c-4435-bbdf-778bc9154d4b"
/dev/sde37: LABEL="dsp" UUID="af32c008-2a39-7e5b-a5dc-201456d93103" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="dsp_b" PARTUUID="3d77a405-02d6-3d8e-bbda-4aa99cf880a3"
/dev/sde65: PARTLABEL="spunvm" PARTUUID="5bbb29d8-6c48-d18b-8a92-5e3345c72329"
/dev/sde7: PARTLABEL="mdtp_a" PARTUUID="53913901-a106-47f2-f4e5-dad92a4a09ed"
/dev/sde27: PARTLABEL="fw_ufs7_a" PARTUUID="3e59f41e-0156-be33-3b1d-58212a4583d6"
/dev/sde55: PARTLABEL="fw_ufs7_b" PARTUUID="9844abf0-6597-f788-b6ac-a8c787c1eca5"
/dev/sde17: PARTLABEL="vbmeta_a" PARTUUID="c87bf4be-e4ad-7fbc-3b7a-324c3e5dd68d"
/dev/sde45: PARTLABEL="vbmeta_b" PARTUUID="a7287247-ce47-f46a-b07d-d334fb7b1a93"
/dev/sde35: PARTLABEL="mdtp_b" PARTUUID="1493abb1-a49c-82f9-f983-8cb1c8afe32a"
/dev/sde63: PARTLABEL="apdp" PARTUUID="ee8804c6-c7df-0018-8b2a-20f9f47bb76d"
/dev/sde5: SEC_TYPE="msdos" UUID="00BC-614E" BLOCK_SIZE="4096" TYPE="vfat" PARTLABEL="bluetooth_a" PARTUUID="b9a2bb0d-d68a-ebda-24a7-8641ca348af9"
/dev/sde25: PARTLABEL="fw_ufs5_a" PARTUUID="d5434ba8-cd19-fb7d-8c2c-0981a8ec102a"
/dev/sde53: PARTLABEL="fw_ufs5_b" PARTUUID="df6c31a0-1235-86ef-163d-877c1efc7fee"
/dev/sde15: PARTLABEL="qupfw_a" PARTUUID="a71b9aa4-c886-d7d5-0159-26ec87d11e9c"
/dev/sde43: PARTLABEL="qupfw_b" PARTUUID="2f1509f4-a0df-b844-64f9-ba39162c3cb7"
/dev/sde71: PARTLABEL="logdump" PARTUUID="e4b3e36c-871e-c290-7c83-e2a5135d3975"
/dev/sde33: SEC_TYPE="msdos" UUID="00BC-614E" BLOCK_SIZE="4096" TYPE="vfat" PARTLABEL="bluetooth_b" PARTUUID="8b52879d-2bf3-acdf-46f8-3fd9a9f4263b"
/dev/sde61: PARTLABEL="devinfo" PARTUUID="79779756-7b19-1b17-8472-44d5e118d13a"
/dev/sde3: PARTLABEL="hyp_a" PARTUUID="3da91e88-6f04-342c-cc72-1f35cfad3652"
/dev/sde23: PARTLABEL="fw_ufs3_a" PARTUUID="53053d60-7897-4fb5-0aee-fdd6817459e0"
/dev/sde51: PARTLABEL="fw_ufs3_b" PARTUUID="6e8ecb1c-3ac9-db5d-db78-f66159577211"
/dev/sde13: PARTLABEL="cmnlib64_a" PARTUUID="1dab09e4-669a-93b0-fdfe-f594220f887d"
/dev/sde41: PARTLABEL="cmnlib64_b" PARTUUID="da1d51ae-903b-2d9c-2dd4-7a8eb35de75e"
/dev/sde31: PARTLABEL="hyp_b" PARTUUID="55f774bb-a3af-4d90-95b0-5a0b74fb1744"
/dev/sde1: PARTLABEL="aop_a" PARTUUID="2999c52b-e6a0-20d6-baa5-385c19ed4b1a"
/dev/sde21: PARTLABEL="fw_4j1ed_a" PARTUUID="92012b8f-65b1-2ff5-95da-b41b471a40db"
/dev/sde11: PARTLABEL="boot_a" PARTUUID="b5ce1aae-e996-fbb7-9073-7d5cef4b0505"
/dev/sde68: PARTLABEL="toolsfv" PARTUUID="620eb6ce-939b-ab50-dded-77ff675daf6d"
/dev/sde58: PARTLABEL="boot_aging" PARTUUID="15139207-cc76-16bd-d322-12379287b83b"
/dev/sde48: PARTLABEL="LOGO_b" PARTUUID="80195fcf-5f27-a855-e511-9e5f747b0194"
/dev/sde38: PARTLABEL="keymaster_b" PARTUUID="52bfabd3-0b7c-4c4f-1b03-4bc280e21cfb"
/dev/sde66: PARTLABEL="splash" PARTUUID="7a258a49-8af9-0802-ecd7-16a93b1c5951"
/dev/sde8: PARTLABEL="abl_a" PARTUUID="822a0bb5-4e7f-c6ea-6bbe-b814feefa4b8"
/dev/sde28: PARTLABEL="fw_ufs8_a" PARTUUID="c0bdb6fe-4f8c-1a03-8dc7-b6f4d696b350"
/dev/sde56: PARTLABEL="fw_ufs8_b" PARTUUID="1a9a7ee2-ad4d-ed57-c466-8b85d7c71bef"
/dev/sde18: PARTLABEL="dtbo_a" PARTUUID="07141197-640f-4249-d67c-ec1f03b16e75"
/dev/sde46: PARTLABEL="dtbo_b" PARTUUID="d0358985-4108-fe3c-4a16-1dc2a7e38182"
/dev/sde36: PARTLABEL="abl_b" PARTUUID="9edeb19a-c563-7128-d722-c06c0c449fe6"
/dev/sde64: PARTLABEL="msadp" PARTUUID="0353bd46-a204-2391-e366-1be598cf45cb"
/dev/sde6: PARTLABEL="mdtpsecapp_a" PARTUUID="0c0bca32-04fc-cd18-e563-248cd6fd1fbe"
/dev/sde26: PARTLABEL="fw_ufs6_a" PARTUUID="b8bfc324-6883-9eca-83a1-5516633b953c"
/dev/sde54: PARTLABEL="fw_ufs6_b" PARTUUID="c8e3c520-9f8c-d8b2-cce3-e808c12916ec"
/dev/sde16: LABEL="vendor" UUID="2b96c597-1e2f-5ee1-9851-c4a9fa9de36e" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="vendor_a" PARTUUID="52254fdc-a6a8-f6d4-3d74-d73cacbb70d2"
/dev/sde44: LABEL="vendor" UUID="0c70056c-5d72-53f7-93e4-c56a1b61e40a" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="vendor_b" PARTUUID="ece4b4bb-ef86-6797-1640-ee5b45a5ca26"
/dev/sde72: PARTLABEL="ImageFv" PARTUUID="c2430e90-9c40-9959-ac0a-3e2e772fbaca"
/dev/sde34: PARTLABEL="mdtpsecapp_b" PARTUUID="2252fb5f-379f-0c47-0122-fe57c32ab77b"
/dev/sde62: PARTLABEL="dip" PARTUUID="c2ca73f9-68d5-690d-86e5-1104baf3ddaf"
/dev/sde4: SEC_TYPE="msdos" UUID="00BC-614E" BLOCK_SIZE="4096" TYPE="vfat" PARTLABEL="modem_a" PARTUUID="63a5685c-26ee-dc68-46f4-be7bcfb25696"
/dev/sde24: PARTLABEL="fw_ufs4_a" PARTUUID="d45faeac-c670-b9ac-bc0d-fb30a92603a2"
/dev/sde52: PARTLABEL="fw_ufs4_b" PARTUUID="317c3348-792c-892b-59d1-80e6e4d88fc2"
/dev/sde14: PARTLABEL="devcfg_a" PARTUUID="e1df972a-1c71-6820-8e6f-eee63595a921"
/dev/sde42: PARTLABEL="devcfg_b" PARTUUID="eb24d5ff-bb79-aaad-3134-3ab7e8c0f43f"
/dev/sde70: PARTLABEL="sti" PARTUUID="c28d9fb3-ebd7-cdbb-9c58-608d20b834db"
/dev/sdc2: PARTLABEL="xbl_config_b" PARTUUID="5617b6e7-3c57-d49b-fead-d1f34008c9b3"
/dev/sdc1: PARTLABEL="xbl_b" PARTUUID="fa3cdd6b-2541-350f-c910-d5748b2a3cdf"
/dev/sda4: PARTLABEL="param" PARTUUID="a5961f11-df32-9d1f-3bea-307d74e02ecc"
/dev/sda16: LABEL="odm" UUID="57aa4559-d6fd-4e97-9ade-119922fc1d44" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="odm_b" PARTUUID="f1ae4175-0e9f-0436-dbd1-f85746806b0b"
/dev/sda2: UUID="8668a952-516c-427a-951b-b8e376987253" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="persist" PARTUUID="2100a4f5-d401-e224-9bb8-27c47cc005da"
/dev/sda14: LABEL="/" UUID="74ab2787-89b4-5f32-9f21-2c085107ac1e" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="system_b" PARTUUID="38544015-f696-30e6-807c-c29c6d5b13cc"
/dev/sda12: PARTLABEL="config" PARTUUID="38bcee05-6fdc-ece1-37ae-3d894d48a1ee"
/dev/sda9: PARTLABEL="oem_stanvbk" PARTUUID="a8e1cd00-91d0-0f6d-9c1a-b355e8285dd6"
/dev/sda10: PARTLABEL="reserve1" PARTUUID="bb68299a-beba-7c17-3d2e-d1d2c6c05e5f"
/dev/sda7: LABEL="op2" UUID="f70c2713-9ead-46cb-be37-4b6fde0d81c9" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="op2" PARTUUID="26889376-e539-8f76-e803-0aa514fa86b4"
/dev/sda5: PARTLABEL="keystore" PARTUUID="cb2783ff-2610-55a4-c872-94415839d26a"
/dev/sda17: PTUUID="2dadf6dc" PTTYPE="dos" PARTLABEL="userdata" PARTUUID="b16d3600-b0e3-3344-98ac-8d5ca27937d2"
/dev/sda3: PARTLABEL="misc" PARTUUID="044add9f-3170-486d-e2bd-82862cc04e41"
/dev/sda15: LABEL="odm" UUID="57aa4559-d6fd-4e97-9ade-119922fc1d44" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="odm_a" PARTUUID="1dbb3335-40e5-75a8-c41f-e4c8cb4eda53"
/dev/sda1: PARTLABEL="ssd" PARTUUID="ee98d4e2-abc9-402c-5401-2a99010bb373"
/dev/sda13: LABEL="/" UUID="74ab2787-89b4-5f32-9f21-2c085107ac1e" BLOCK_SIZE="4096" TYPE="ext4" PARTLABEL="system_a" PARTUUID="52668ad3-45bb-5adc-e742-244972beee8c"
/dev/sda11: PARTLABEL="reserve2" PARTUUID="5bb92f09-071e-051c-5adb-b6fc8c322572"
/dev/sda8: PARTLABEL="oem_dycnvbk" PARTUUID="eb61cc11-4964-ebb9-29ff-dbe968e16c28"
/dev/sda6: PARTLABEL="frp" PARTUUID="ec6399ce-26ce-5ae6-59c4-4f2c688b7548"
=== gdisk output ===
Gdisk from a 256BG OnePlus 6 with U-Boot and the "op2" partition formatted as ESP.
* /dev/sda
Disk /dev/sda: 61677568 sectors, 235.3 GiB
Model: KLUEG8U1EA-B0C1
Sector size (logical/physical): 4096/4096 bytes
Disk identifier (GUID): 81E2AA30-AC32-24DC-8169-EC01D006F39E
Partition table holds up to 32 entries
Main partition table begins at sector 2 and ends at sector 2
First usable sector is 6, last usable sector is 61677562
Partitions will be aligned on 2-sector boundaries
Total free space is 0 sectors (0 bytes)
Number Start (sector) End (sector) Size Code Name
 1 6 7 8.0 KiB A02C ssd
 2 8 8199 32.0 MiB A026 persist
 3 8200 8455 1024.0 KiB A01F misc
 4 8456 8711 1024.0 KiB FFFF param
 5 8712 8839 512.0 KiB A02D keystore
 6 8840 8967 512.0 KiB FFFF frp
 7 8968 74503 256.0 MiB EF00 ESP <-- Usually "op2" partition
 8 74504 77063 10.0 MiB FFFF oem_dycnvbk
 9 77064 79623 10.0 MiB FFFF oem_stanvbk
 10 79624 81647 7.9 MiB FFFF reserve1
 11 81648 85695 15.8 MiB FFFF reserve2
 12 85696 85823 512.0 KiB FFFF config
 13 85824 817983 2.8 GiB A038 system_a
 14 817984 1550143 2.8 GiB FFFF system_b
 15 1550144 1575743 100.0 MiB FFFF odm_a
 16 1575744 1601343 100.0 MiB FFFF odm_b
 17 1601344 61677562 229.2 GiB A03A userdata
* /dev/sdb
Disk /dev/sdb: 1024 sectors, 4.0 MiB
Model: KLUEG8U1EA-B0C1
Sector size (logical/physical): 4096/4096 bytes
Disk identifier (GUID): 923D8C95-86AB-1A21-6F54-581C157B0D64
Partition table holds up to 32 entries
Main partition table begins at sector 2 and ends at sector 2
First usable sector is 6, last usable sector is 1018
Partitions will be aligned on 2-sector boundaries
Total free space is 85 sectors (340.0 KiB)
Number Start (sector) End (sector) Size Code Name
 1 6 901 3.5 MiB A012 xbl_a
 2 902 933 128.0 KiB FFFF xbl_config_a
 3 934 1018 340.0 KiB FFFF last_parti
* /dev/sdc
Disk /dev/sdc: 1024 sectors, 4.0 MiB
Model: KLUEG8U1EA-B0C1
Sector size (logical/physical): 4096/4096 bytes
Disk identifier (GUID): 5E1A2561-16E3-0835-BFDD-C87DBC25F735
Partition table holds up to 32 entries
Main partition table begins at sector 2 and ends at sector 2
First usable sector is 6, last usable sector is 1018
Partitions will be aligned on 2-sector boundaries
Total free space is 85 sectors (340.0 KiB)
Number Start (sector) End (sector) Size Code Name
 1 6 901 3.5 MiB A012 xbl_b
 2 902 933 128.0 KiB FFFF xbl_config_b
 3 934 1018 340.0 KiB FFFF last_parti
* /dev/sdd
Disk /dev/sdd: 8192 sectors, 32.0 MiB
Model: KLUEG8U1EA-B0C1
Sector size (logical/physical): 4096/4096 bytes
Disk identifier (GUID): 3D76D3F1-C0D9-80FC-D52B-CAD940870608
Partition table holds up to 32 entries
Main partition table begins at sector 2 and ends at sector 2
First usable sector is 6, last usable sector is 8186
Partitions will be aligned on 2-sector boundaries
Total free space is 7867 sectors (30.7 MiB)
Number Start (sector) End (sector) Size Code Name
 1 6 31 104.0 KiB FFFF ALIGN_TO_128K_1
 2 32 63 128.0 KiB A01B cdt
 3 64 319 1024.0 KiB A01A ddr
 4 320 8186 30.7 MiB FFFF last_parti
* /dev/sde
Disk /dev/sde: 786432 sectors, 3.0 GiB
Model: KLUEG8U1EA-B0C1
Sector size (logical/physical): 4096/4096 bytes
Disk identifier (GUID): F1CAD518-F969-3E49-10C0-B34D44DA66BE
Partition table holds up to 96 entries
Main partition table begins at sector 2 and ends at sector 4
First usable sector is 6, last usable sector is 786426
Partitions will be aligned on 1-sector boundaries
Total free space is 7435 sectors (29.0 MiB)
Number Start (sector) End (sector) Size Code Name
 1 6 133 512.0 KiB FFFF aop_a
 2 134 645 2.0 MiB A016 tz_a
 3 646 773 512.0 KiB A017 hyp_a
 4 774 31493 120.0 MiB 0700 modem_a
 5 31494 31749 1024.0 KiB FFFF bluetooth_a
 6 31750 32773 4.0 MiB FFFF mdtpsecapp_a
 7 32774 40965 32.0 MiB FFFF mdtp_a
 8 40966 43013 8.0 MiB FFFF abl_a
 9 43014 51205 32.0 MiB FFFF dsp_a
 10 51206 51333 512.0 KiB FFFF keymaster_a
 11 51334 67717 64.0 MiB A036 boot_a
 12 67718 67845 512.0 KiB FFFF cmnlib_a
 13 67846 67973 512.0 KiB FFFF cmnlib64_a
 14 67974 68005 128.0 KiB FFFF devcfg_a
 15 68006 68021 64.0 KiB FFFF qupfw_a
 16 68022 330165 1024.0 MiB A038 vendor_a
 17 330166 330181 64.0 KiB FFFF vbmeta_a
 18 330182 332229 8.0 MiB FFFF dtbo_a
 19 332230 332261 128.0 KiB FFFF storsec_a
 20 332262 336357 16.0 MiB FFFF LOGO_a
 21 336358 336869 2.0 MiB FFFF fw_4j1ed_a
 22 336870 337381 2.0 MiB FFFF fw_4u1ea_a
 23 337382 337893 2.0 MiB FFFF fw_ufs3_a
 24 337894 338405 2.0 MiB FFFF fw_ufs4_a
 25 338406 338917 2.0 MiB FFFF fw_ufs5_a
 26 338918 339429 2.0 MiB FFFF fw_ufs6_a
 27 339430 339941 2.0 MiB FFFF fw_ufs7_a
 28 339942 340453 2.0 MiB FFFF fw_ufs8_a
 29 340454 340581 512.0 KiB FFFF aop_b
 30 340582 341093 2.0 MiB FFFF tz_b
 31 341094 341221 512.0 KiB FFFF hyp_b
 32 341222 371941 120.0 MiB FFFF modem_b
 33 371942 372197 1024.0 KiB FFFF bluetooth_b
 34 372198 373221 4.0 MiB FFFF mdtpsecapp_b
 35 373222 381413 32.0 MiB FFFF mdtp_b
 36 381414 383461 8.0 MiB FFFF abl_b
 37 383462 391653 32.0 MiB FFFF dsp_b
 38 391654 391781 512.0 KiB FFFF keymaster_b
 39 391782 408165 64.0 MiB FFFF boot_b
 40 408166 408293 512.0 KiB FFFF cmnlib_b
 41 408294 408421 512.0 KiB FFFF cmnlib64_b
 42 408422 408453 128.0 KiB FFFF devcfg_b
 43 408454 408469 64.0 KiB FFFF qupfw_b
 44 408470 670613 1024.0 MiB FFFF vendor_b
 45 670614 670629 64.0 KiB FFFF vbmeta_b
 46 670630 672677 8.0 MiB FFFF dtbo_b
 47 672678 672709 128.0 KiB FFFF storsec_b
 48 672710 676805 16.0 MiB FFFF LOGO_b
 49 676806 677317 2.0 MiB FFFF fw_4j1ed_b
 50 677318 677829 2.0 MiB FFFF fw_4u1ea_b
 51 677830 678341 2.0 MiB FFFF fw_ufs3_b
 52 678342 678853 2.0 MiB FFFF fw_ufs4_b
 53 678854 679365 2.0 MiB FFFF fw_ufs5_b
 54 679366 679877 2.0 MiB FFFF fw_ufs6_b
 55 679878 680389 2.0 MiB FFFF fw_ufs7_b
 56 680390 680901 2.0 MiB FFFF fw_ufs8_b
 57 680902 706501 100.0 MiB FFFF minidump
 58 706502 722885 64.0 MiB FFFF boot_aging
 59 722886 748485 100.0 MiB FFFF op1
 60 748486 748489 16.0 KiB A01D sec
 61 748490 748490 4.0 KiB A021 devinfo
 62 748491 748746 1024.0 KiB FFFF dip
 63 748747 748810 256.0 KiB A022 apdp
 64 748811 748874 256.0 KiB A023 msadp
 65 748875 750922 8.0 MiB FFFF spunvm
 66 750923 759278 32.6 MiB FFFF splash
 67 759279 759279 4.0 KiB A040 limits
 68 759280 759535 1024.0 KiB FFFF toolsfv
 69 759536 761583 8.0 MiB FFFF logfs
 70 761584 762095 2.0 MiB FFFF sti
 71 762096 778479 64.0 MiB FFFF logdump
 72 778480 778991 2.0 MiB FFFF ImageFv
 73 778992 786426 29.0 MiB FFFF last_parti
* /dev/sdf
Disk /dev/sdf: 8192 sectors, 32.0 MiB
Model: KLUEG8U1EA-B0C1
Sector size (logical/physical): 4096/4096 bytes
Disk identifier (GUID): 8C676C8C-483B-7150-15F4-B73CC75D5EB9
Partition table holds up to 32 entries
Main partition table begins at sector 2 and ends at sector 2
First usable sector is 6, last usable sector is 8186
Partitions will be aligned on 2-sector boundaries
Total free space is 6587 sectors (25.7 MiB)
Number Start (sector) End (sector) Size Code Name
 1 6 31 104.0 KiB FFFF ALIGN_TO_128K_2
 2 32 543 2.0 MiB A027 modemst1
 3 544 1055 2.0 MiB A028 modemst2
 4 1056 1567 2.0 MiB A02A fsg
 5 1568 1599 128.0 KiB A029 fsc
 6 1600 8186 25.7 MiB FFFF last_parti
=== lsblk output ===
$ sudo lsblk -o PATH,PARTUUID,PARTTYPE,PARTTYPENAME,LABEL,PARTLABEL,START,SIZE,UUID
PATH PARTUUID PARTTYPE PARTTYPENAME LABEL PARTLABEL START SIZE UUID
/dev/sda 235.3G 
/dev/sda1 90b16030-9d6e-8b41-f47f-575a2b601c11 2c86e742-745e-4fdd-bfd8-b6a7ac638772 ssd 48 8K 
/dev/sda2 8c782723-4bd3-5914-e3b7-90a2de933a04 6c95e238-e343-4ba8-b489-8681ed22ad0b persist 64 32M 8668a952-516c-427a-951b-b8e376987253
/dev/sda3 77e2d4ef-a9ee-4801-35c6-c9dfbee4ccda 82acc91f-357c-4a68-9c8f-689e1b1a23a1 misc 65600 1M 
/dev/sda4 162b5d9c-7558-db06-6f18-892bccae8cad 6d679bab-23c7-466e-90ac-a39897c15640 param 67648 1M 
/dev/sda5 5478c133-c748-702a-e3d4-7b7a980b0da4 de7d4029-0f5b-41c8-ae7e-f6c023a02b33 keystore 69696 512K 
/dev/sda6 c94d3031-3b43-5dd0-fc74-d45f925462a5 91b72d4d-71e0-4cbf-9b8e-236381cff17a frp 70720 512K 
/dev/sda7 9d2028c9-09b6-451a-b5e7-d3151a3916e2 c12a7328-f81f-11d2-ba4b-00a0c93ec93b pmOS_boot ESP 71744 256M 13A4-6D99
/dev/sda8 3be0090d-52d4-8b6b-5366-27079fc3b574 ebbeadae-22c9-e33b-8f5d-0e81686a68cc oem_dycnvbk 596032 10M 
/dev/sda9 bc19edc6-8498-60de-980d-269f4925fb7b 0a288b1e-22c9-e33b-8f5d-0e81686a68cc oem_stanvbk 616512 10M 
/dev/sda10 698a851a-f33f-cd61-0d1b-826603a77ca4 004a6838-062a-44df-8152-4f340c052255 reserve1 636992 7.9M 
/dev/sda11 48ca4c46-75c1-3f5b-7c4a-846026908c6f 004a6838-062a-44df-8152-4f340c052255 reserve2 653184 15.8M 
/dev/sda12 ed8f57c6-2bb7-4622-73ff-042e5dce6fb0 04377754-de64-4adb-852f-f01e702df13b config 685568 512K 
/dev/sda13 19cc22c8-45f4-27de-fa05-9f48999ec5d3 97d7b011-54da-4835-b3c4-917ad6e73d74 system_a 686592 2.8G f4650b66-3a93-4022-8f34-523daec227f4
/dev/sda14 fb77c341-58db-78b5-3212-a3e8c80d2363 77036cd4-03d5-42bb-8ed1-37e5a88baa34 / system_b 6543872 2.8G 74ab2787-89b4-5f32-9f21-2c085107ac1e
/dev/sda15 08aec4a5-b82b-c2cf-dca7-fcca675360b2 77036cd4-03d5-42bb-8ed1-37e5a88baa34 odm odm_a 12401152 100M 37c1fef3-437e-4fbe-8f13-5915bdaf3611
/dev/sdb 4M 
/dev/sdb1 9dd5b108-3d9d-9df6-273a-3fdeabb0dd58 dea0ba2c-cbdd-4805-b4f9-f428251c3e98 xbl_a 48 3.5M 
/dev/sdb2 0b8aa997-f093-80de-d0eb-b822f3a4bbaa 5a325ae4-4276-b66d-0add-3494df27706a xbl_config_a 7216 128K 
/dev/sdc 4M 
/dev/sdc1 9795e8c7-a4bc-37ee-ec57-f2404a97b407 dea0ba2c-cbdd-4805-b4f9-f428251c3e98 xbl_b 48 3.5M 
/dev/sdc2 67af4168-1602-8b9f-3e4f-576106777ed3 5a325ae4-4276-b66d-0add-3494df27706a xbl_config_b 7216 128K 
/dev/sdd 32M 
/dev/sdd1 26ffa336-0b0d-07fc-8acb-a95637524e33 fde1604b-d68b-4bd4-973d-962ae7a1ed88 ALIGN_TO_128K_1 48 104K 
/dev/sdd2 a0ec5e99-cf0e-3337-b43c-59b5f04cc668 a19f205f-ccd8-4b6d-8f1e-2d9bc24cffb1 cdt 256 128K 
/dev/sdd3 b18ff3f4-0b09-bf50-f8a7-74f85d8c6cfd 20a0c19c-286a-42fa-9ce7-f64c3226a794 ddr 512 1M 
/dev/sde 3G 
/dev/sde1 18a9eb6c-34ba-778a-378e-24a2ca53423d d69e90a5-4cab-0071-f6df-ab977f141a7f aop_a 48 512K 
/dev/sde2 c468c1af-db1c-568f-8ec7-53b735416d25 a053aa7f-40b8-4b1c-ba08-2f68ac71a4f4 tz_a 1072 2M 
/dev/sde3 ba8bafdb-7f50-1e8f-346a-c13abf300941 e1a6a689-0c8d-4cc6-b4e8-55a4320fbd8a hyp_a 5168 512K 
/dev/sde4 761d9a2e-73d1-bf89-52dd-f16d65f3949f ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 modem_a 6192 120M 00BC-614E
/dev/sde5 690f015d-1f6a-9041-7a71-41457afcc4c3 6cb747f1-c2ef-4092-add0-ca39f79c7af4 bluetooth_a 251952 1M 00BC-614E
/dev/sde6 37f51290-80f6-60ae-a703-290353b5bd99 ea02d680-8712-4552-a3be-e6087829c1e6 mdtpsecapp_a 254000 4M 
/dev/sde7 65ff1e4c-fcd5-2b40-4633-f629b2af4f03 3878408a-e263-4b67-b878-6340b35b11e3 mdtp_a 262192 32M 
/dev/sde8 cc85c2bd-e456-dea5-a0d1-b42da4c942d5 bd6928a1-4ce0-a038-4f3a-1495e3eddffb abl_a 327728 8M 
/dev/sde9 59316eb5-a374-1a87-aec0-1f00d095b771 7efe5010-2a1a-4a1a-b8bc-990257813512 dsp dsp_a 344112 32M af32c008-2a39-7e5b-a5dc-201456d93103
/dev/sde10 c15b5503-05e2-74ea-9dd1-3ddaa1933664 a11d2a7c-d82a-4c2f-8a01-1805240e6626 keymaster_a 409648 512K 
/dev/sde11 1dd3a986-997c-0c48-1d1b-b0d0399f3153 20117f86-e985-4357-b9ee-374bc1d8487d boot_a 410672 64M 
/dev/sde12 4be9c484-fead-b4df-028b-c42f19bb771d 73471795-ab54-43f9-a847-4f72ea5cbef5 cmnlib_a 541744 512K 
/dev/sde13 7a676289-f499-4849-2e3e-6110c72f8b3c 8ea64893-1267-4a1b-947c-7c362acaad2c cmnlib64_a 542768 512K 
/dev/sde14 cb0d0e64-6ccf-412c-a1a1-6a6f6899c0cf f65d4b16-343d-4e25-aafc-be99b6556a6d devcfg_a 543792 128K 
/dev/sde15 0c29a859-40c6-0351-85f0-40bcb67a9e70 21d1219f-2ed1-4ab4-930a-41a16ae75f7f qupfw_a 544048 64K 
/dev/sdf 32M 
/dev/sdf1 24ba638c-a683-3c15-ecf4-6a4bafed73f2 6891a3b7-0ccc-4705-bb53-2673cac193bd ALIGN_TO_128K_2 48 104K 
/dev/sdf2 3afee945-79eb-a5b5-0cd5-20414807b674 ebbeadaf-22c9-e33b-8f5d-0e81686a68cb modemst1 256 2M 
/dev/sdf3 17ee895e-114e-b212-2bbe-0bb4fbdaa8a5 0a288b1f-22c9-e33b-8f5d-0e81686a68cb modemst2 4352 2M 
/dev/sdf4 cc233967-e1f4-7974-355b-44436976bf64 638ff8e2-22c9-e33b-8f5d-0e81686a68cb fsg 8448 2M 
/dev/sdf5 81813b42-bc01-6ba0-2486-72dbb3c8d231 57b90a16-22c9-e33b-8f5d-0e81686a68cb fsc 12544 128K 
/dev/mapper/userdata1 pmOS_boot 480M 3d383d31-eb73-4fca-8db1-4ceb054cb29e
/dev/mapper/userdata2 pmOS_root 228.7G 6db021ae-4eec-4c58-a110-f84db310e6b6
/dev/sde16 b5e4e456-0c89-c7aa-4671-dfcfa58c4a50 97d7b011-54da-4835-b3c4-917ad6e73d74 vendor vendor_a 544176 1G 104d2f29-61d4-5ee5-95f5-160a4487f8c6
/dev/sde17 ea36dbc9-3ef3-8033-289a-8fd65ad70cd8 4b7a15d6-322c-42ac-8110-88b7da0c5d77 vbmeta_a 2641328 64K 
/dev/sde18 88acca40-bf3f-05c5-c64c-57d0b94ef345 24d0d418-d31d-4d8d-ac2c-4d4305188450 dtbo_a 2641456 8M 
/dev/sde19 e2d23828-7af0-2a38-9e54-dc992d9ec299 77036cd4-03d5-42bb-8ed1-37e5a88baa34 storsec_a 2657840 128K 
/dev/sde20 7d09acd3-fdc7-24a3-3ef1-7231c8557dc5 77036cd4-03d5-42bb-8ed1-37e5a88baa34 LOGO_a 2658096 16M 
/dev/sde21 7984bbfb-9c60-969a-511b-1927110bd37b 77036cd4-03d5-42bb-8ed1-37e5a88baa34 fw_4j1ed_a 2690864 2M 
/dev/sde22 0de21a2d-16ed-a2a5-3628-27cbf5f6a7b6 77036cd4-03d5-42bb-8ed1-37e5a88baa34 fw_4u1ea_a 2694960 2M 
/dev/sde23 99cfddd1-c334-fbd3-4592-dd3dae42d7e4 77036cd4-03d5-42bb-8ed1-37e5a88baa34 fw_ufs3_a 2699056 2M 
/dev/sde24 79c101ca-486a-4761-d1fd-42d4a90ecd8f 77036cd4-03d5-42bb-8ed1-37e5a88baa34 fw_ufs4_a 2703152 2M 
/dev/sde25 ba5b3351-d3c7-334a-5d4f-6bc6ee18c76e 77036cd4-03d5-42bb-8ed1-37e5a88baa34 fw_ufs5_a 2707248 2M 
/dev/sde26 959d46fc-62d6-1b81-a3c7-4782878bf939 77036cd4-03d5-42bb-8ed1-37e5a88baa34 fw_ufs6_a 2711344 2M 
/dev/sde27 8aef2687-45eb-6104-822c-ba3ebcda03aa 77036cd4-03d5-42bb-8ed1-37e5a88baa34 fw_ufs7_a 2715440 2M 
/dev/sde28 7dca79b5-2813-87dd-7241-2538fa3f6809 77036cd4-03d5-42bb-8ed1-37e5a88baa34 fw_ufs8_a 2719536 2M 
/dev/sde29 ef572bf2-e170-61e2-636d-1e00d9bdb9ad 77036cd4-03d5-42bb-8ed1-37e5a88baa34 aop_b 2723632 512K 
/dev/sde30 8eec337d-8ffd-bcef-45dd-fbbaef420af8 77036cd4-03d5-42bb-8ed1-37e5a88baa34 tz_b 2724656 2M 
/dev/sde31 c2f15698-daec-9aa2-a097-f7c0ec244fa1 77036cd4-03d5-42bb-8ed1-37e5a88baa34 hyp_b 2728752 512K 
/dev/sde32 d80fff11-faf5-e403-1e07-b3f92da5df14 77036cd4-03d5-42bb-8ed1-37e5a88baa34 modem_b 2729776 120M 00BC-614E
/dev/sde33 6c8f5520-3b25-f1aa-113e-5444ec6b7bc3 77036cd4-03d5-42bb-8ed1-37e5a88baa34 bluetooth_b 2975536 1M 00BC-614E
/dev/sde34 c093098a-c29c-67d5-87cc-b823325f500c 77036cd4-03d5-42bb-8ed1-37e5a88baa34 mdtpsecapp_b 2977584 4M 
/dev/sde35 5d694b4a-8561-d7fd-4f88-192d902bf8d1 77036cd4-03d5-42bb-8ed1-37e5a88baa34 mdtp_b 2985776 32M 
/dev/sde36 f83f5a71-7460-d50f-af91-e30535309ccb 77036cd4-03d5-42bb-8ed1-37e5a88baa34 abl_b 3051312 8M 
/dev/sde37 79ba0936-0c74-64ae-e995-8c041e2d684b 77036cd4-03d5-42bb-8ed1-37e5a88baa34 dsp dsp_b 3067696 32M af32c008-2a39-7e5b-a5dc-201456d93103
/dev/sde38 ede27ba9-4c06-b49f-e30e-cd081c12cefa 77036cd4-03d5-42bb-8ed1-37e5a88baa34 keymaster_b 3133232 512K 
/dev/sde39 45105095-3847-4657-51f2-2a0144550453 77036cd4-03d5-42bb-8ed1-37e5a88baa34 boot_b 3134256 64M 
/dev/sde40 cdb50a31-5cb3-646a-5ffa-37f1fc7cf02d 77036cd4-03d5-42bb-8ed1-37e5a88baa34 cmnlib_b 3265328 512K 
/dev/sde41 6f4fa8ad-0733-6d2a-4641-3335db470550 77036cd4-03d5-42bb-8ed1-37e5a88baa34 cmnlib64_b 3266352 512K 
/dev/sde42 d501d92e-854e-6cdf-bd8a-b29c5303b24f 77036cd4-03d5-42bb-8ed1-37e5a88baa34 devcfg_b 3267376 128K 
/dev/sde43 209724bc-ee5d-f227-2c4d-a3e8e9364db1 77036cd4-03d5-42bb-8ed1-37e5a88baa34 qupfw_b 3267632 64K 
/dev/sde44 dbe58f5c-303e-d453-ef76-91c9c88cbd7e 77036cd4-03d5-42bb-8ed1-37e5a88baa34 vendor vendor_b 3267760 1G 2b96c597-1e2f-5ee1-9851-c4a9fa9de36e
/dev/sde45 f0c2dc1c-9b74-9dc4-b0da-4887611bb8b7 77036cd4-03d5-42bb-8ed1-37e5a88baa34 vbmeta_b 5364912 64K 
/dev/sde46 a82e816e-fe23-6ac6-1015-ae0344a28b28 77036cd4-03d5-42bb-8ed1-37e5a88baa34 dtbo_b 5365040 8M 
/dev/sde47 9538581c-f700-75cd-d11c-ab5d4301790e 02db45fe-ad1b-4cb6-aecc-0042c637defa storsec_b 5381424 128K 
/dev/sde48 262aaa7b-61c0-b7f2-9526-4ce1e664e96f 9ad51e4d-3088-43ea-8ec7-991ad619f88e LOGO_b 5381680 16M 
/dev/sde49 76de293a-76e8-f885-d33c-c9caa5f95104 9846625a-fe09-425b-a08f-2bf5f1f8d838 fw_4j1ed_b 5414448 2M 
/dev/sde50 164fd6d9-9ca4-478b-1703-5a764b214c3c 9846625a-fe09-425b-a08f-2bf5f1f8d839 fw_4u1ea_b 5418544 2M 
/dev/sde51 9f5d63d8-77bd-dbc0-61f2-fa2e0b338a03 9846625a-fe09-425b-a08f-2bf5f1f8d83a fw_ufs3_b 5422640 2M 
/dev/sde52 251cb7ad-053c-fa41-115f-767116727e4e 9846625a-fe09-425b-a08f-2bf5f1f8d83b fw_ufs4_b 5426736 2M 
/dev/sde53 6dc25d07-16a8-0e5f-eca6-e6bf3881195d 9846625a-fe09-425b-a08f-2bf5f1f8d83c fw_ufs5_b 5430832 2M 
/dev/sde54 b10083d8-de96-7a82-f72a-12baaa0d3751 9846625a-fe09-425b-a08f-2bf5f1f8d83d fw_ufs6_b 5434928 2M 
/dev/sde55 9dd01a5a-d0d0-572a-6b93-e93c1c7c65fc 9846625a-fe09-425b-a08f-2bf5f1f8d83e fw_ufs7_b 5439024 2M 
/dev/sde56 630122ae-5505-88cb-f65b-0e694810a868 9846625a-fe09-425b-a08f-2bf5f1f8d83f fw_ufs8_b 5443120 2M 
/dev/sde57 b5df8fd2-39ab-e2b1-0123-0d6d07948f31 961743ca-bd08-48d5-bd8c-25efeb7c7ac2 minidump 5447216 100M 
/dev/sde58 b3d11f25-855a-524f-b3af-961ad2a937ab ca98971a-a88f-4342-bc74-58d1b639b636 boot_aging 5652016 64M 
/dev/sde59 2190addd-4b30-9c0e-7b43-44e1c943850f d1e30bcb-7d78-4fb6-b598-55fc4892644c op1 op1 5783088 100M 58a6b23e-5ce2-4d69-881b-69d3b061564b
/dev/sde60 40b72c38-8636-49d4-7c38-dd1274ab928b 303e6ac3-af15-4c54-9e9b-d9a8fbecf401 sec 5987888 16K 
/dev/sde61 55a5c3dd-193b-177e-64d1-664e7b46788a 65addcf4-0c5c-4d9a-ac2d-d90b5cbfcd03 devinfo 5987920 4K 
/dev/sde62 99e65f2a-7751-c889-3aae-f7da066b659f 4114b077-005d-4e12-ac8c-b493bda684fb dip 5987928 1M 
/dev/sde63 0a53e444-9b7d-7214-598d-17857de29af5 e6e98da2-e22a-4d12-ab33-169e7deaa507 apdp 5989976 256K 
/dev/sde64 c668256b-2eba-a110-b03d-cba0a04c05ae ed9e8101-05fa-46b7-82aa-8d58770d200b msadp 5990488 256K 
/dev/sde65 0ed00786-8fe6-f114-a349-507766d26668 e42e2b4c-33b0-429b-b1ef-d341c547022c spunvm 5991000 8M 
/dev/sde66 1c445d09-286e-7b29-cf92-61c86ecbe66a ad99f201-dc71-4e30-9630-e19eef553d1b splash 6007384 32.6M 
/dev/sde67 5c1a5d8b-a10b-4b4e-29c5-c0477e5fae52 10a0c19c-516a-5444-5ce3-664c3226a794 limits 6074232 4K 
/dev/sde68 63893bdf-3141-3655-72ab-9c08e0089088 97745aba-135a-44c3-9adc-05616173c24c toolsfv 6074240 1M 
/dev/sde69 3fdeb6d4-674f-c5cd-3c4c-9ac8cc3f058b bc0330eb-3410-4951-a617-03898dbe3372 LOGFS logfs 6076288 8M D273-55EA
/dev/sde70 857f6491-4f25-846d-0f4b-6b0ec6224272 aa9a5c4c-4f1f-7d3a-014a-22bd33bf7191 sti 6092672 2M 
/dev/sde71 5e20f984-aef5-f03c-04a3-aea4c71f6c18 5af80809-aabb-4943-9168-cdfc38742598 logdump 6096768 64M 
/dev/sde72 cd1efda2-38b6-99bc-5a9d-e1e6320797ab 17911177-c9e6-4372-933c-804b678e666f ImageFv 6227840 2M 
/dev/sda16 196a8d0f-c73a-078f-9c4a-620bf7c882b0 e4b6514e-2577-495d-a484-1a0c460c6101 odm odm_b 12605952 100M 37c1fef3-437e-4fbe-8f13-5915bdaf3611
/dev/sda17 d7201bd9-a5a4-7413-705e-42ddb9906ca8 1b81e7e6-f50d-419b-a739-2aeef8da3335 userdata 12810752 229.2G