[One (M8) Q&A, Help & Troubleshooting] Sambeg:
Hello there!

I have now searched and searched and come upon many great threads in this massive forum however i have yet to find a solution to my current problem. Every time i have went here i have always managed to find something to help me fix my phones over the years but this this time I've hit a wall it seems.

What happened was that my phone started to crash the google apps like gallery etc. No big deal at first but then i decided to do a factory reset thinking that might fix the problem but then my phone just starts up to the HTC logo and throws several different error messages that Google.xxx.xxx could not start/has crashed. IF i click these away they appear after a while again and the phone will be stuck like that.

I can start the phone in fastboot mode to be able to use ADB etc..

The phone is currently bootloader unlocked and with S-on

Now this is what i have done:

First of all the phone wasn't in debugging mode when it crashed so I'm guessing its still not which might complicate the matter further.

* Using a TWRP.img file i managed to get the phone in to the TWRP mode on the phone. (Fastboot boot TWRPfilename.img)

I do not have any TWRP files on my phone nor any apps this was all from the files on the PC. I just mention this because thats the only sign of life the phone has given me so far.

*I tried to go in from the adb shell and enabling it using the following code:

Adb shell

echo "persist.service.adb.enable=1" >>/system/build.prop

echo "persist.service.debuggable=1" >>/system/build.prop

echo "persist.sys.usb.config=mass_storage,adb" >>/system/build.prop"

reboot﻿

I have no idea as to if it worked or not but the phone rebooted again.

* Tried to reflash with the right RUU for my phone with the right CID thanks to guides on this forum -- i get error 159 (this is because the CID is wrong from what ive read in other threads)

* Tried changing the CID to 11111111 but that did not work i got another error doing that:

C:\adb>fastboot oem writecid 11111111

...

(bootloader) SecuritySDInit: counter = 3

(bootloader) m8_init_sd, SD card already power on

(bootloader) [SPEW] GPIO 0 status is 0

(bootloader) sdhci_open: id=0

(bootloader) Initializing MMC host data structure and clock!

(bootloader) mmc slot#2 clock enabled

(bootloader) sdhci_set_clock: slot 2, freq 192000000

(bootloader) GPLL0 is enabled

(bootloader) clock_update_cfg_sd is done

(bootloader) sd clock set done

(bootloader) sdhci_set_bus_width: bus width 0

(bootloader) sdhci_clk_supply: freq 400000

(bootloader) Decoded CID fields:

(bootloader) Manufacturer ID: 2

(bootloader) OEM ID: 0x544d

(bootloader) Product Name: SA16G

(bootloader) Product revision: 1.1

(bootloader) Product serial number: 37A24E6D

(bootloader) Manufacturing date: 10 2013

(bootloader) sdhci_clk_supply: freq 50000000

(bootloader) sdhci_set_bus_width: bus width 1

(bootloader) Done initialization of the card

(bootloader) erase_grpsize: -16777216

(bootloader) erase_grpmult: 261077976

(bootloader) wp_grpsize: 0

(bootloader) wp_grpen: 0

(bootloader) perm_wp: 0

(bootloader) temp_wp: 0

(bootloader) [Tuxera][Error] No exFAT partition found

(bootloader) [FAT_ERROR] fat_open_file: can not find SMART_IO.CRD

(bootloader) [JAVACARD_ERR] SMART_IO.CRD cann't find

OKAY [ 0.132s]

finished. total time: 0.132s

* Tried flashing from a .zip file with the fastboot commands.

ALL of these things I have tried with the bootloader locked and unlocked. (if this is any important info)

The phone ran the 6.12.401.4 version at the moment of the crash and that's what shows in the RUUs ive tried as well. Also the phone is not rooted.

Now is there a way to completely flush the phone out of any info and just reinstalling it like you can do with windows on a PC for example since whatever i try is met by an error message or a failed flash etc..?

some more info about the phone from getvar:

(bootloader) version: 0.5

(bootloader) version-bootloader: 3.19.0.0000

(bootloader) version-baseband: 1.29.214500021.12G

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 6.12.401.4

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

(bootloader) meid: 00000000000000

(bootloader) product: m8_ul

(bootloader) platform: hTCBmsm8974

(bootloader) modelid: 0P6B10000

(bootloader) cidnum: HTC__Y13

(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: 76df2b54

(bootloader) hbootpreupdate: 11

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.028s