[Sony Xperia XZ2 Questions & Answers] kyokutou:
Just got my xz2 bricked. I try to install lineage OS on my xz2, but the system partition is not big enough(jap ver), so I decide to repartition it. But something went wrong with the parted, the partition did not created with given name but with a null value.

So the partition system_a, system_b, vendor_a, vendor_b, oem_a, oem_b is gone, physically.:ROFLMAO:

By now my phone can only be boot into fastboot mode, when u try to boot into recovery or flashmode, it will tell u that device corrupt cannot be boot ,will power off in 5 sec.

In normal condition, it can be fix by reflash system partition but the system partition is no more so it wont help.

Also, due to the inaccessable flash mode, neither new flasher and flash tool will help.

Try to boot up from a img using fastboot boot boot.img it return this:

Sending 'boot.img' (65536 KB) OKAY [ 0.168s]

Booting FAILED (remote: 'Failed to load/authenticate boot image: Load Error')

fastboot: error: Command failed

fastboot getvar all

(bootloader) parallel-download-flash:yes

(bootloader) hw-revision:20001

(bootloader) unlocked:yes

(bootloader) off-mode-charge:0

(bootloader) charger-screen-enabled:0

(bootloader) battery-soc-ok:yes

(bootloader) battery-voltage:4205

(bootloader) version-baseband:1311-9109_52.0.B.9.316

(bootloader) version-bootloader:1310-7079_X_Boot_SDM845_LA2.0_P_118

(bootloader) erase-block-size: 0x1000

(bootloader) logical-block-size: 0x1000

(bootloader) variant:SDM UFS

(bootloader) partition-type:xbl_config_b:raw

(bootloader) partition-size:xbl_config_b: 0x20000

(bootloader) partition-type:xbl_b:raw

(bootloader) partition-size:xbl_b: 0x3D5000

(bootloader) partition-type:xbl_config_a:raw

(bootloader) partition-size:xbl_config_a: 0x20000

(bootloader) partition-type:xbl_a:raw

(bootloader) partition-size:xbl_a: 0x3D5000

(bootloader) partition-type:rddata:raw

(bootloader) partition-size:rddata: 0x1400000

(bootloader) partition-type:userdata:ext4

(bootloader) partition-size:userdata: 0xBDAEED000

(bootloader) partition-type:fsc:raw

(bootloader) partition-size:fsc: 0x20000

(bootloader) partition-type:fsmetadata:raw

(bootloader) partition-size:fsmetadata: 0x101000

(bootloader) partition-type:Qnovo:raw

(bootloader) partition-size:Qnovo: 0x1800000

(bootloader) partition-type:diag:raw

(bootloader) partition-size:diag: 0x2000000

(bootloader) partition-type:appslog:raw

(bootloader) partition-size:appslog: 0x1000000

(bootloader) partition-type:frp:raw

(bootloader) partition-size:frp: 0x80000

(bootloader) partition-type:keystore:raw

(bootloader) partition-size:keystore: 0x80000

(bootloader) partition-type:misc:raw

(bootloader) partition-size:misc: 0x100000

(bootloader) partition-type:cdt:raw

(bootloader) partition-size:cdt: 0x20000

(bootloader) partition-type:fsg:raw

(bootloader) partition-size:fsg: 0x200000

(bootloader) partition-type:modemst2:raw

(bootloader) partition-size:modemst2: 0x200000

(bootloader) partition-type:modemst1:raw

(bootloader) partition-size:modemst1: 0x200000

(bootloader) partition-type:logdump:raw

(bootloader) partition-size:logdump: 0x4000000

(bootloader) partition-type:logfs:raw

(bootloader) partition-size:logfs: 0x800000

(bootloader) partition-type:toolsfv:raw

(bootloader) partition-size:toolsfv: 0x100000

(bootloader) partition-type:limits:raw

(bootloader) partition-size:limits: 0x1000

(bootloader) partition-type:spunvm:raw

(bootloader) partition-size:spunvm: 0x800000

(bootloader) partition-type:msadp:raw

(bootloader) partition-size:msadp: 0x40000

(bootloader) partition-type:apdp:raw

(bootloader) partition-size:apdp: 0x40000

(bootloader) partition-type:sec:raw

(bootloader) partition-size:sec: 0x4000

(bootloader) partition-type:dtbo_b:raw

(bootloader) partition-size:dtbo_b: 0x800000

(bootloader) partition-type:vbmeta_b:raw

(bootloader) partition-size:vbmeta_b: 0x10000

(bootloader) partition-type:rdimage_b:raw

(bootloader) partition-size:rdimage_b: 0x1400000

(bootloader) partition-type:boot_b:raw

(bootloader) partition-size:boot_b: 0x4000000

(bootloader) partition-type:dsp_b:raw

(bootloader) partition-size:dsp_b: 0x2000000

(bootloader) partition-type:bluetooth_b:raw

(bootloader) partition-size:bluetooth_b: 0x100000

(bootloader) partition-type:modem_b:raw

(bootloader) partition-size:modem_b: 0xF000000

(bootloader) partition-type:dtbo_a:raw

(bootloader) partition-size:dtbo_a: 0x800000

(bootloader) partition-type:vbmeta_a:raw

(bootloader) partition-size:vbmeta_a: 0x10000

(bootloader) partition-type:rdimage_a:raw

(bootloader) partition-size:rdimage_a: 0x1400000

(bootloader) partition-type:boot_a:raw

(bootloader) partition-size:boot_a: 0x4000000

(bootloader) partition-type:dsp_a:raw

(bootloader) partition-size:dsp_a: 0x2000000

(bootloader) partition-type:bluetooth_a:raw

(bootloader) partition-size:bluetooth_a: 0x100000

(bootloader) partition-type:modem_a:raw

(bootloader) partition-size:modem_a: 0xF000000

(bootloader) partition-type:tzxfl_b:raw

(bootloader) partition-size:tzxfl_b: 0x80000

(bootloader) partition-type:tzxflattest_b:raw

(bootloader) partition-size:tzxflattest_b: 0x80000

(bootloader) partition-type:xfl_b:raw

(bootloader) partition-size:xfl_b: 0x1E00000

(bootloader) partition-type:qupfw_b:raw

(bootloader) partition-size:qupfw_b: 0x10000

(bootloader) partition-type:devcfg_b:raw

(bootloader) partition-size:devcfg_b: 0x20000

(bootloader) partition-type:cmnlib64_b:raw

(bootloader) partition-size:cmnlib64_b: 0x80000

(bootloader) partition-type:cmnlib_b:raw

(bootloader) partition-size:cmnlib_b: 0x80000

(bootloader) partition-type:keymaster_b:raw

(bootloader) partition-size:keymaster_b: 0x80000

(bootloader) partition-type:abl_b:raw

(bootloader) partition-size:abl_b: 0x180000

(bootloader) partition-type:hyp_b:raw

(bootloader) partition-size:hyp_b: 0x80000

(bootloader) partition-type:tz_b:raw

(bootloader) partition-size:tz_b: 0x200000

(bootloader) partition-type:aop_b:raw

(bootloader) partition-size:aop_b: 0x80000

(bootloader) partition-type:tzxfl_a:raw

(bootloader) partition-size:tzxfl_a: 0x80000

(bootloader) partition-type:tzxflattest_a:raw

(bootloader) partition-size:tzxflattest_a: 0x80000

(bootloader) partition-type:xfl_a:raw

(bootloader) partition-size:xfl_a: 0x1E00000

(bootloader) partition-type:qupfw_a:raw

(bootloader) partition-size:qupfw_a: 0x10000

(bootloader) partition-type:devcfg_a:raw

(bootloader) partition-size:devcfg_a: 0x20000

(bootloader) partition-type:cmnlib64_a:raw

(bootloader) partition-size:cmnlib64_a: 0x80000

(bootloader) partition-type:cmnlib_a:raw

(bootloader) partition-size:cmnlib_a: 0x80000

(bootloader) partition-type:keymaster_a:raw

(bootloader) partition-size:keymaster_a: 0x80000

(bootloader) partition-type:abl_a:raw

(bootloader) partition-size:abl_a: 0x180000

(bootloader) partition-type:hyp_a:raw

(bootloader) partition-size:hyp_a: 0x80000

(bootloader) partition-type:tz_a:raw

(bootloader) partition-size:tz_a: 0x200000

(bootloader) partition-type:aop_a:raw

(bootloader) partition-size:aop_a: 0x80000

(bootloader) partition-type:ddr:raw

(bootloader) partition-size:ddr: 0x100000

(bootloader) partition-type:devinfo:raw

(bootloader) partition-size:devinfo: 0x1000

(bootloader) partition-type:ssd:raw

(bootloader) partition-size:ssd: 0x2000

(bootloader) partition-type:persist:raw

(bootloader) partition-size:persist: 0x2000000

(bootloader) partition-type:xflkeystorebak:raw

(bootloader) partition-size:xflkeystorebak: 0x20000

(bootloader) partition-type:xflkeystore:raw

(bootloader) partition-size:xflkeystore: 0x20000

(bootloader) partition-type:LTALabel:raw

(bootloader) partition-size:LTALabel: 0x1000000

(bootloader) partition-type:TA:raw

(bootloader) partition-size:TA: 0x200000

(bootloader) has-slot:modem:yes

(bootloader) has-slot:system:no

(bootloader) current-slot:b

(bootloader) has-slot:boot:yes

(bootloader) slot-retry-count:b:0

(bootloader) slot-unbootable:b:yes

(bootloader) slot-successful:b:no

(bootloader) slot-retry-count:a:7

(bootloader) slot-unbootable:a:no

(bootloader) slot-successful:a:no

(bootloader) slot-count:2

(bootloader) secure:no

(bootloader) serialno:BH9

(bootloader) serial:7205K

(bootloader) product:SO-

(bootloader) max-download-size:805306368

(bootloader) kernel:uefi

all:

Finished. Total time: 0.257s

I'm wondering if there's a way to skip the AVB to force boot into recovery or manage partition under the fastboot mode，or boot my phone into EDL mode to save it