[One (M7) Q&A, Help & Troubleshooting] alray:
Lets take a look at this again.

Your phone was a M7CDTU:

(bootloader) version: 0.5

(bootloader) version-bootloader: 2.49.0000

(bootloader) version-baseband: T3.16.1229.31

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 5.15.1403.12

(bootloader) version-misc: PVT SHIP S-OFF

(bootloader) serialno: HC23W5TRYTTYU8

(bootloader) imei: 355860860887766

(bootloader) meid: 00000000000000

(bootloader) product: m7cdtu

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0781***

(bootloader) cidnum: 11111111

(bootloader) battery-status: good

(bootloader) battery-voltage: 4112mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: RUU

(bootloader) commitno-bootloader: dirty-1f512bb6

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

Then you've mistakenly flashed a M7_UL ruu on it and everything was messed up:

(bootloader) version: 0.5

(bootloader) version-bootloader: 1.54.0000

(bootloader) version-baseband: N/A

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

(bootloader) version-misc: UNKNOWN

(bootloader) serialno:

(bootloader) imei: 355195000000010

(bootloader) meid: 00000000000000

(bootloader) product:

(bootloader) platform: HBOOT-8064

(bootloader) modelid: *********

(bootloader) cidnum:

(bootloader) battery-status: good

(bootloader) battery-voltage: 2758mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: UNKNOWN

(bootloader) commitno-bootloader: dirty-e135dbf9

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

Someone kind of repaired it, now showing M7CDUG instead of M7CDTU, wrong imei and serialno:

(bootloader) version: 0.5

(bootloader) version-bootloader: 2.24.0000

(bootloader) version-baseband: T3.16.1229.31

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main:

(bootloader) version-misc: PVT SHIP S-ON

(bootloader) serialno: HT367W902840

(bootloader) imei: 355868058264475

(bootloader) meid: 00000000000000

(bootloader) product: m7cdug

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0771000

(bootloader) cidnum: HTC__A07

(bootloader) battery-status: good

(bootloader) battery-voltage: 3626mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-604b17d6c9

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

and then you've flashed some ruu:

(bootloader) version: 0.5

(bootloader) version-bootloader: 2.49.0000

(bootloader) version-baseband: U2.07.3501.27

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.13.401.3

(bootloader) version-misc: PVT SHIP S-OFF

(bootloader) serialno: HT367W902840

(bootloader) imei: 355868058264475

(bootloader) meid: 00000000000000

(bootloader) product: m7cdug

(bootloader) platform: HBOOT-8064

(bootloader) modelid: PN0771000

(bootloader) cidnum: 11111111

(bootloader) battery-status: good

(bootloader) battery-voltage: 3759mV

(bootloader) partition-layout: Generic

(bootloader) security: off

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: dirty-1f512bb6

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

First, you can't use OTA files to restore a phone. OTA are only patches and must be flashed over the right version. What is wrong exactly with the RUU you've tried? They don't flash or don't work correctly? I would try to flash the version that was supposed to be on the phone, the version back from your first getvar (x.xx.1403.x). You might need to write the correct MID to be able to flash it. If nothing works, Id say ask the person who "injected" the firmware to "inject" the right one and try again.