Error code 3034 at boot_error_handler.c Line 517

When I try to boot, I get the following output on the serial console:

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.BF.3.0-00261
S - IMAGE_VARIANT_STRING=HAAAANAAA
S - OEM_IMAGE_VERSION_STRING=C-BPATTH
S - Boot Config, 0x000002e1
S - Core 0 Frequency, 0 MHz
B -      1545 - PBL, Start
B -      3490 - bootable_media_detect_entry, Start
B -    133977 - bootable_media_detect_success, Start
B -    133981 - elf_loader_entry, Start
B -    135571 - auth_hash_seg_entry, Start
B -    135781 - auth_hash_seg_exit, Start
B -    151183 - elf_segs_hash_verify_entry, Start
B -    210412 - PBL, End
B -    217465 - SBL1, Start
B -    280569 - pm_device_init, Start
D -     14731 - pm_device_init, Delta
B -    295911 - boot_flash_init, Start
D -        30 - boot_flash_init, Delta
B -    299906 - boot_config_data_table_init, Start
D -     24522 - boot_config_data_table_init, Delta - (0 Bytes)
B -    329003 - CDT version:3,Platform ID:24,Major ID:1,Minor ID:0,Subtype:0
B -    335225 - sbl1_ddr_set_params, Start
B -    338916 - cpr_init, Start
D -         0 - cpr_init, Delta
B -    344528 - Pre_DDR_clock_init, Start
D -       183 - Pre_DDR_clock_init, Delta
D -         0 - sbl1_ddr_set_params, Delta
B -    357033 - pm_driver_init, Start
D -      6832 - pm_driver_init, Delta
B -    372527 - clock_init, Start
D -        30 - clock_init, Delta
B -    382683 - Image Load, Start
D -     25589 - QSEE Image Loaded, Delta - (460664 Bytes)
B -    408273 - Image Load, Start
D -       427 - SEC Image Loaded, Delta - (2048 Bytes)
B -    415501 - sbl1_efs_handle_cookies, Start
D -      2531 - sbl1_efs_handle_cookies, Delta
B -    423218 - Image Load, Start
D -     11620 - QHEE Image Loaded, Delta - (51952 Bytes)
B -    434869 - Image Load, Start
D -     13450 - RPM Image Loaded, Delta - (149492 Bytes)
B -    448350 - Image Load, Start
D -      1982 - APPSBL Image Loaded, Delta - (64 Bytes)
B -    455029 - QSEE Execution, Start
D -        61 - QSEE Execution, Delta
B -    461800 - SBL1, End
D -    246623 - SBL1, Delta
B -    466650 - Error code 3034 at boot_error_handler.c Line 517

I was able to boot the rescue image from SDCARD, which did allow me to enter fastboot and sideload the factory android image. That process did succeed without error messages, but I still get the error from above when trying to boot from internal EMMC.

How to fix the board?

Have you tried recovering the board using the full SD install image?

I had the same problem and fix it reinstalling the image with a full SD install image.