[LG G7 ThinQ  Guides, News, & Discussion] nttuan:
Goto Fastboot mode

Type: fastboot boot ofox-new.img

to boot into Recovery OFox

unmount all partitions

Run optimize.cmd to check the partitions.

after that

Run dump.cmd to dump the partitions.

@echo off

adb shell "e2fsck -f -y /dev/block/sda20"
adb shell "resize2fs /dev/block/sda20"

adb shell "e2fsck -f -y /dev/block/sda21"
adb shell "resize2fs /dev/block/sda21"

adb shell "e2fsck -f -y /dev/block/sda22"
adb shell "resize2fs /dev/block/sda22"

adb shell "e2fsck -f -y /dev/block/sda23"
adb shell "resize2fs /dev/block/sda23"

adb shell "e2fsck -f -y /dev/block/sda24"
adb shell "resize2fs /dev/block/sda24"

adb shell "e2fsck -f -y /dev/block/sda25"
adb shell "resize2fs /dev/block/sda25"

adb shell "e2fsck -f -y /dev/block/sda26"
adb shell "resize2fs /dev/block/sda26"

echo Press ENTER to reboot...
pause > nul
adb reboot
cls

adb pull /dev/block/sda24 OP_a.img
adb pull /dev/block/sda25 OP_b.img
adb pull /dev/block/sde7 abl_a.img
adb pull /dev/block/sde28 abl_b.img
adb pull /dev/block/sde10 akmu_a.img
adb pull /dev/block/sde31 akmu_b.img
adb pull /dev/block/sde1 aop_a.img
adb pull /dev/block/sde22 aop_b.img
adb pull /dev/block/sde46 apdp.img
adb pull /dev/block/sde11 boot_a.img
adb pull /dev/block/sde32 boot_b.img
adb pull /dev/block/sda16 carrier.img
adb pull /dev/block/sdd2 cdt.img
adb pull /dev/block/sde13 cmnlib64_a.img
adb pull /dev/block/sde34 cmnlib64_b.img
adb pull /dev/block/sde12 cmnlib_a.img
adb pull /dev/block/sde33 cmnlib_b.img
adb pull /dev/block/sdd3 ddr.img
adb pull /dev/block/sde14 devcfg_a.img
adb pull /dev/block/sde35 devcfg_b.img
adb pull /dev/block/sde44 devinfo.img
adb pull /dev/block/sde45 dip.img
adb pull /dev/block/sda2 drm.img
adb pull /dev/block/sde8 dsp_a.img
adb pull /dev/block/sde29 dsp_b.img
adb pull /dev/block/sde18 dtbo_a.img
adb pull /dev/block/sde39 dtbo_b.img
adb pull /dev/block/sda10 eksst.img
adb pull /dev/block/sda15 els.img
adb pull /dev/block/sda9 encrypt.img
adb pull /dev/block/sda12 fota.img
adb pull /dev/block/sdg1 frp.img
adb pull /dev/block/sdf5 fsc.img
adb pull /dev/block/sdf4 fsg.img
adb pull /dev/block/sda7 ftm.img
adb pull /dev/block/sda27 grow.img
adb pull /dev/block/sde3 hyp_a.img
adb pull /dev/block/sde24 hyp_b.img
adb pull /dev/block/sde9 keymaster_a.img
adb pull /dev/block/sde30 keymaster_b.img
adb pull /dev/block/sde16 laf_a.img
adb pull /dev/block/sde37 laf_b.img
adb pull /dev/block/sde49 limits.img
adb pull /dev/block/sde53 logdump.img
adb pull /dev/block/sde51 logfs.img
adb pull /dev/block/sde6 mdtp_a.img
adb pull /dev/block/sde27 mdtp_b.img
adb pull /dev/block/sde5 mdtpsecapp_a.img
adb pull /dev/block/sde26 mdtpsecapp_b.img
adb pull /dev/block/sda6 misc.img
adb pull /dev/block/sde4 modem_a.img
adb pull /dev/block/sde25 modem_b.img
adb pull /dev/block/sdf2 modemst1.img
adb pull /dev/block/sdf3 modemst2.img
adb pull /dev/block/sda1 mpt.img
adb pull /dev/block/sde47 msadp.img
adb pull /dev/block/sda18 oem_a.img
adb pull /dev/block/sda19 oem_b.img
adb pull /dev/block/sda17 persdata.img
adb pull /dev/block/sda5 persist.img
adb pull /dev/block/sda8 power.img
adb pull /dev/block/sda14 pstore.img
adb pull /dev/block/sde15 qupfw_a.img
adb pull /dev/block/sde36 qupfw_b.img
adb pull /dev/block/sde20 raw_resources_a.img
adb pull /dev/block/sde41 raw_resources_b.img
adb pull /dev/block/sda11 rct.img
adb pull /dev/block/sda sda.img
adb pull /dev/block/sdb sdb.img
adb pull /dev/block/sdc sdc.img
adb pull /dev/block/sdd sdd.img
adb pull /dev/block/sde sde.img
adb pull /dev/block/sdf sdf.img
adb pull /dev/block/sdg sdg.img
adb pull /dev/block/sde43 sec.img
adb pull /dev/block/sde21 sid_a.img
adb pull /dev/block/sde42 sid_b.img
adb pull /dev/block/sda3 sns.img
adb pull /dev/block/sde48 spunvm.img
adb pull /dev/block/sda13 srtc.img
adb pull /dev/block/sda4 ssd.img
adb pull /dev/block/sde52 sti.img
adb pull /dev/block/sde19 storsec_a.img
adb pull /dev/block/sde40 storsec_b.img
adb pull /dev/block/sda22 system_a.img
adb pull /dev/block/sda23 system_b.img
adb pull /dev/block/sde50 toolsfv.img
adb pull /dev/block/sde2 tz_a.img
adb pull /dev/block/sde23 tz_b.img
adb pull /dev/block/sda26 userdata.img
adb pull /dev/block/sde17 vbmeta_a.img
adb pull /dev/block/sde38 vbmeta_b.img
adb pull /dev/block/sda20 vendor_a.img
adb pull /dev/block/sda21 vendor_b.img
adb pull /dev/block/sdb1 xbl_a.img
adb pull /dev/block/sdc1 xbl_b.img
adb pull /dev/block/sdb2 xbl_config_a.img
adb pull /dev/block/sdc2 xbl_config_b.img