[General Questions and Answers] CheckS86:
¡ I need help please !

I have a HTC Desire 10 pro (From Aliexpress, yes warranty avoid), it was working fine (more than a year) until a few days ago. One morning I took it and it was off but the notification led was not on despite charging. I tried to turn it on and enter to recovery but it was not responding. I decided to open the phone to remove the battery and verify that it was not damaged. Mysteriously the battery was in good condition, and once I removed it and plugged it back in, the phone responded again when connecting the USB and the charger.

But there is a problem, when the system is going to boot, after showing the HTC logo, the phone turns off together with the notification led and returns to the state in which I found it at first.

I removed and placed the battery again so that it would respond again, but now I entered to recovery to make a reset, but the problem is that the recovery is very outdated, so it does not have the "wipe data" options.

It should be said that i can enter into a "recovery mode" that shows:

"

hTC download mode

*** LOCKED ***

htc_a56dj_pro_dtwl PVT S-ON

LK-1.01.0000(8804eff8)

RADIO-UNKNOWN

OpenDSP-UNKNOWN

OS-1.18.400.22

Aug 1 2017,13:15:24(929341)

system info

show barcode

reboot to bootloader

reboot to download mode

reboot

power down

Security Warranty

If you flash this phone with any ROM

that was not officially released by HTC

you take the risk of

releasing your personal and financial

information to unknown sources.

SD NOT MOUNTED

OTG NOT MOUNTED

FILE NOT FOUND

"

Where the blue txt is the actual menu.

In this "recovery mode" I can't use ADB commands, i only can execute some fastboot commands (PC recognizes my device because of fastboot drivers) as "reboot", but for example:

* I can't use the "erase" command because my current recovery is not supported:

"

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot erase userdata

erasing 'userdata'...

FAILED (remote: Partition userdata erase not supported)

finished. total time: 0.022s

"

* Nor I can directly install the TWRP recovery because it tells me:

"

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery.img

target reported max download size of 1596000000 bytes

sending 'recovery' (14320 KB)...

OKAY [ 1.507s]

writing 'recovery'...

(bootloader) HOSD CL#929341

FAILED (remote: 9 RU_SECURITY_FAIL recovery and bootloader isn't BL_UNLOCKE)

finished. total time: 2.550s

"

* And I can't use the "oem unlock" command either because it just says:

"

...

(bootloader) [ERR] Command error !!!

OKAY [ 0.062s]

finished. total time: 0.062s

"

Finally "getvar all" command shows this (i think could be useful):

"

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot getvar all

(bootloader) kernel: lk

(bootloader) product: htc_a56dj_pro_dtwl

(bootloader) version: 1.0

(bootloader) max-download-size: 1596000000

(bootloader) serialno: LC68B1000101

(bootloader) current-slot:

(bootloader) imei:

( here shows IMEI correctly )

(bootloader) version-main: 1.18.400.22

(bootloader) boot-mode: download

(bootloader) version-baseband: READ version-baseband ERROR

(bootloader) version-bootloader: 1.01.0000(8804eff8)

(bootloader) mid: 2PYA1****

(bootloader) cid: 11111111

all:

finished. total time: 0.061s

"

Well, this is the situation, and i think the solution is:

Install the TWRP recovery to do a factory reset and if necessary install a ROM (official or not).

Buuut, to install the recovery I need to activate USB debugging (MANUALLY in the android options) and activate the OEM unlock option to unlock the bootloader, which is impossible for me since the phone "turns off" before starting.

My question is:

How to activate OEM unlock option without having to access to android settings? I mean, with commands in fastboot or in some software.

I have searched a LOT on the internet and I can't find anything about it, all the tutorials have the device fully functional, not like me that my device does not start.