[One (M8) General] SabalSabal:
I apologize for my ignorance my friend. It's just that it took a long time for me to be able to afford this device so I don't want to mess things up. I hope you understand.

Anyways, I flashed the firmware twice. The wifi still doesn't work.

Here is what terminal showed:

fastboot oem rebootRUU

...

(bootloader) Start Verify: 3

OKAY [ 0.012s]

finished. total time: 0.013s

Sfastboot flash zip firmware.zip

target reported max download size of 1830711296 bytes

sending 'zip' (43011 KB)...

OKAY [ 2.610s]

writing 'zip'...

(bootloader) adopting the signature contained in this image...

(bootloader) signature checking...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) checking custom ID...

(bootloader) checking main version...

(bootloader) checking hboot version...

(bootloader) start image[hboot] unzipping for pre-update check...

(bootloader) start image[hboot] flushing...

(bootloader) signature checking...

(bootloader) [RUU]WP,hboot,0

(bootloader) [RUU]WP,hboot,99

(bootloader) [RUU]WP,hboot,100

(bootloader) ...... Successful

FAILED (remote: 90 hboot pre-update! please flush image again immediately)

finished. total time: 7.255s

fastboot flash zip firmware.zip

target reported max download size of 1826418688 bytes

sending 'zip' (43011 KB)...

OKAY [ 3.097s]

writing 'zip'...

(bootloader) adopting the signature contained in this image...

(bootloader) signature checking...

(bootloader) zip header checking...

(bootloader) zip info parsing...

(bootloader) checking model ID...

(bootloader) checking custom ID...

(bootloader) checking main version...

(bootloader) checking hboot version...

(bootloader) total_image_number=4

(bootloader) start image[boot] unzipping & flushing...

(bootloader) [RUU]UZ,boot,0

(bootloader) [RUU]UZ,boot,12

(bootloader) [RUU]UZ,boot,24

(bootloader) [RUU]UZ,boot,35

(bootloader) [RUU]UZ,boot,49

(bootloader) [RUU]UZ,boot,59

(bootloader) [RUU]UZ,boot,71

(bootloader) [RUU]UZ,boot,83

(bootloader) [RUU]UZ,boot,95

(bootloader) [RUU]UZ,boot,100

(bootloader) [RUU]WP,boot,0

(bootloader) [RUU]WP,boot,99

(bootloader) [RUU]WP,boot,100

(bootloader) ...... Successful

(bootloader) current_image_number=0

(bootloader) start image[recovery] unzipping & flushing...

(bootloader) [RUU]UZ,recovery,0

(bootloader) [RUU]UZ,recovery,7

(bootloader) [RUU]UZ,recovery,14

(bootloader) [RUU]UZ,recovery,21

(bootloader) [RUU]UZ,recovery,29

(bootloader) [RUU]UZ,recovery,35

(bootloader) [RUU]UZ,recovery,42

(bootloader) [RUU]UZ,recovery,60

(bootloader) [RUU]UZ,recovery,66

(bootloader) [RUU]UZ,recovery,74

(bootloader) [RUU]UZ,recovery,80

(bootloader) [RUU]UZ,recovery,88

(bootloader) [RUU]UZ,recovery,95

(bootloader) [RUU]UZ,recovery,100

(bootloader) [RUU]WP,recovery,0

(bootloader) [RUU]WP,recovery,99

(bootloader) [RUU]WP,recovery,100

(bootloader) ...... Successful

(bootloader) current_image_number=1

(bootloader) start image[radio] unzipping & flushing...

(bootloader) [RUU]UZ,radio,0

(bootloader) [RUU]UZ,radio,11

(bootloader) [RUU]UZ,radio,18

(bootloader) [RUU]UZ,radio,27

(bootloader) [RUU]UZ,radio,36

(bootloader) [RUU]UZ,radio,45

(bootloader) [RUU]UZ,radio,54

(bootloader) [RUU]UZ,radio,63

(bootloader) [RUU]UZ,radio,72

(bootloader) [RUU]UZ,radio,81

(bootloader) [RUU]UZ,radio,86

(bootloader) [RUU]UZ,radio,95

(bootloader) [RUU]UZ,radio,100

(bootloader) trying to rename MBA

(bootloader) [RUU]WP,radio,0

(bootloader) [RUU]WP,radio,36

(bootloader) [RUU]WP,radio,72

(bootloader) [RUU]WP,radio,100

(bootloader) ...... Successful

(bootloader) current_image_number=2

(bootloader) start image[rcdata] unzipping & flushing...

(bootloader) [RUU]UZ,rcdata,0

(bootloader) [RUU]UZ,rcdata,100

(bootloader) [RUU]WP,rcdata,0

(bootloader) [RUU]WP,rcdata,100

(bootloader) ...... Successful

(bootloader) current_image_number=3

OKAY [ 11.671s]

finished. total time: 14.768s

Also here is the new fastboot get var all

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.22.21331147A1.29G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 3.28.401.9

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

(bootloader) imei2: Not Support

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: HTC__001

(bootloader) battery-status: good

(bootloader) battery-voltage: 0mV

(bootloader) partition-layout: Generic

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: df77f8b7

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.009s