yashsingh1/xdaforums huggingface dataset:
[Moto X Q&A] MatiCepe:
So, as the title says, I had a Moto X XT1058 from AT&T.

I updated a long time ago to Lollipop and the phone worked perfectly fine until yesterday, when suddenly shutted down and when I restarted, got stuck on M logo.

I restarted to bootloader(?) pressing power off and vol down buttons.

The version that shows me is 30.BE

The device wasn't unlocked or rooted, because I was happy with the stock ROM, so it says Device is LOCKED ans Status Code 0.

I tried every option on this menu and everyone says (in red):

"No valid PIV block in SP for system

piv validation failed (system)

Boot up failed"

I tryed with abd, fastboot, mfastboot and RSDLite to flash gpt.bin and motoboot.img and every time I do it I get a error, and the operation fails.

For what I've read in tooooooo many posts, it's probably death, but I resist to this idea, so I came here to ask for advice.

THE PHONE IS NOT IN WARRANTY ANY MORE.

Thanks in advance and sorry for my english (not my native language).
[Moto X Q&A] Fahadroid:
why dont you try twrp recovery ?

just flash it
[Moto X Q&A] MatiCepe:
Can I do it if my phone isn't rooted? The bootloader it's locked!
[Moto X Q&A] Salik Iqbal:
Flash full stock att 5.1 rom, it will be fine.
[Moto X Q&A] Fahadroid:
Flashing via fastboot mode will be okay !

do search here you will get details !
[Moto X Q&A] MatiCepe:
But I never flashed any ROM on this phone. I got Lollipop from a OTA update. My phone was stock. Never rooted, never unlock bootloader. I didn't find any tutorial to do it with this characteristics.

And it's an AT&T xt1058
[Moto X Q&A] Fahadroid:
first you need to unlock your bootloader .. otherwise you wont be able to recover your device

Please do a search regarding unlocking bootloader !
[Moto X Q&A] MatiCepe:
The bootloader of the XT1058 from AT&T is'nt unlockable.... That's the big trouble. I've read that it can be done if it's no 4.2.2, but not if the version is newer.
[Moto X Q&A] Salik Iqbal:
Download rsd lite for windows, get latest stock rom for att, reboot your phone into fastboot, flash stock rom and you are done.
[Moto X Q&A] MatiCepe:
I searched and the lastone is ATT_XT1058_5.1.0_LPA23.12-21.7_cid1_CFC.xml.zip. I try to flash it on my phone via RSD and the process showsme this error:

Failed flashing process. 4/18 flash motoboot "motoboot.img" -> Phone returned FAIL.
[Moto X Q&A] Salik Iqbal:
Is your phone is charge enough? Search 5.1.1 att xml zip
[Moto X Q&A] Renatech:
can anybody give a solution for this problem because i am also with a xt1058 at&t, The device wasn't unlocked or rooted and the version that shows me is 30.BE too

sorry my english
[Moto X Q&A] Salik Iqbal:
What's up with your device any screen shot?
[Moto X Q&A] H3c4rtr1:
Hi, i have the same problem, my device is locked by AT&T and i cant flash the firmware< i have a unlock code from the AT&T company, how I can introdce that code manually? Thanks!
[Moto X Q&A] honda125:
Thank you

You can help how you got the code, give details.

Thank you
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mikeeey:
tomorrow hopefully i will be getting the Tilt, and I will most likely wanna put the HTC rom on my phone. where is the correct guide on this forum for doing so? I really wouldnt like to brick my phone when i get it.

however there is an alternative option i was thinking of. I watched a review on youtube when the guy first turned on the phone, it started to install all of the AT&T 3rd party apps. Is there any way to skip this part? i really dont want all of that AT&T junk on my phone, which is why i was thinking of flashing to the htc rom. Also i assume the htc rom has more Rom and Ram avaible?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] TaurusBullba R.I.P.:
To install the HTC factory ROM you'll need to follow and install this.

To skip installing some of the extra apps and settings on the Tilt you'll just need to soft-reset the device following the initial setup, but right before it's starts installing all the extras.

The stock HTC ROM does have more free ROM, but no real difference with the RAM.

Hope that answers your questions. :)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] eagercrow:
I'm not seeing the HTC ROM for the Kaiser anywhere, what am I overlooking?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] TaurusBullba R.I.P.:
You don't have too far to look. It's stickied in this forum. ;)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] eagercrow:
Doh! ....:eek: Thanks, I knew it was right under my nose somewhere
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mikeeey:
thanks, but when you said

"To skip installing some of the extra apps and settings on the Tilt you'll just need to soft-reset the device following the initial setup, but right before it's starts installing all the extras."

maybe it's just cuz i dont have the Tilt Yet, but i dont quite understand what your trying to say. follow the initial setup?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] TaurusBullba R.I.P.:
Sorry I wasn't clearer. During the initial setup of the phone (when you first turn it on), you do things like align the screen, set the time and date, then it starts it's "customization" and begins installing all the extras. Right when it starts the "customization" (it will identify it as such), just soft-reset. Make sense? :)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mikeeey:
ah yes thanks. makes much more sense now. how much more Rom do you think there will be now without all that junk? like 50mb+?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] TaurusBullba R.I.P.:
I'm not sure how much you'll free up, as I didn't do it. But if you're considering flashing the HTC ROM you'll get about 120+ free ROM while even keeping all it's customization files. SIGNIFICANT difference. :)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mikeeey:
well I might just try both then. If i install the HTC rom im not gonna lose any important AT&T settings am i? (3g, gps, etc..)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] tonydt1g3r:
how are you going to get around the keyboard issue
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] TaurusBullba R.I.P.:
Good question. Currently no one's come up with the fix for that. However, it should be easy enough. We just need someone with the ATT ROM installed to document all the keyboard references in the registry and the values for them and then compare that with the HTC ROM's registry keyboard values and adjust accordingly (hopefully).

Since I've found out that you can't flash back to the ATT ROM once you flash the HTC ROM... yet, I can't do that myself (dang).

Any takers?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] wpbear:
I didnt realize that, I thought the Hard SPL fixed that.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] TaurusBullba R.I.P.:
Yeah, getting the "INVALID MODEL ID" 244 error. We need a custom RUU to flash back, it appears.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mikeeey:
1. whats the keyboard issue?

2. you cant flash back to the AT&T rom, is this only temporary? will there be a way to flash back eventually?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] TaurusBullba R.I.P.:
Just thinking, I guess we could just change the Model ID in the nbh to reflect the correct model number. That *should* correct the 244 error.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] sirsycho:
FYI... my method for flashing back and forth is just to put the phone into the bootloader manually and then running the ROMUpdateUtility.exe from the extracted ROMs. I am using the HardSPL bootloader, not using SSPL at all at this point.

Let me know if that doesn't work for you and I'll try to be more verbose.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mikeeey:
what exactly is the keyboard problem? im guessing it quits working or something when you flash the HTC Rom on the Tilt?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] sirsycho:
keyboard still works fine... but some of the alt keys are mixed up. So the blue alternate keys don't map correctly. This isn't a deal breaker for me, because I know it will be fixed soon and I really like the ability to remap my PTT button with the HTC ROM.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mikeeey:
is there a way to remap the PTT button with the AT&T rom? say thru the registry or something?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] wpbear:
Check you SPL

and

SUPERCID. I dont think you are SUPERCID for some reason. Sounds like the SPL correct since it is allowing the flash to start but the RUU figures out not SUPERCID.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] wpbear:
I bet in here if it isnt the standard change. We need to get into the Ext ROM and/or PreConfig files. The PreConfig CAB should be visible in the win dir so start there.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] sirsycho:
well, I've installed both Roms and extracted all the cabs in the Windows dir... so far I can't find anything that changes anything keyboard related.

##########################

# From the ATT Rom's Windows Dir: #

##########################

Cingular_Pre_Midlets_New.CAB

C_getmail.ppcwm5.Release.cingular.CAB

C_GetTeleNav.CAB

C_OZPocketPC.CAB

Move_Camera.cab

MP_CVSDcpl_20070202.cab

MsPacMan.2577.CAB

OZIM_HomePlug_20Jul07.CAB

PP_CWS_PIE_Default_0409.CAB

PP_XpressMail_launchCamera.cab

PT_Extra_RIL_Setting_31May07.cab

removeHiddenProxy4CWS_0522.cab

restoreHiddenProxy4CWS_0522.cab

TeleNavPlug_28Jun07.CAB

Today_Order_23Jul07.cab

##########################

# From the HTC Rom's Windows Dir: #

##########################

PP_AKv33-DefaultPage_WWE-0409.CAB

Any ideas? I'll upload anything you think might be the key.

Dave
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] pof:
Look for *.provxml files in \windows\ folder of the AT&T rom, the keyboard registry keys should be there ;)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] TaurusBullba R.I.P.:
What info are you showing in bootloader?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] sirsycho:
Thanks pof!!!

For what it's worth, anyone care to try this before I reflash to HTC?

<!-- ITS#2654 USSD Key mapping of QWERTY keyboard -->

<characteristic type="Registry">

<characteristic type="HKLM\Hardware\DeviceMap\Keybd" translation="filesystem" >

<parm name="CWSLayout" datatype="integer" value="1" />

</characteristic>

</characteristic>
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] TaurusBullba R.I.P.:
Check that same location under \keybd. There's a "CurLang" reference. What's it's value?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] URPREY:
In mxipupdate_oemoperators_106.provxml

I found :

<!-- ITS#1119 USSD Setting on Kaiser Cingular -->

<characteristic type="Registry">

<characteristic type="HKLM\Services\ussd" translation="filesystem" >

<parm name="DisplayDone" datatype="integer" value="1" />

</characteristic>

</characteristic>

<!-- ITS#2654 USSD Key mapping of QWERTY keyboard -->

<characteristic type="Registry">

<characteristic type="HKLM\Hardware\DeviceMap\Keybd" translation="filesystem" >

<parm name="CWSLayout" datatype="integer" value="1" />

</characteristic>

</characteristic>
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] sirsycho:
CurLang = 1033 (Decimal)

Full Key Export Below: (values are in hex)

___________________

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\KEYBD]

"FirstCalibration"=dword:00000001

"CWSLayout"=dword:00000001

"CurLang"=dword:00000409

"TaskManVKey"=dword:0000002e

"ContMoreVKey"=dword:00000000

"ContLessVKey"=dword:00000000

"CalVKey"=dword:00000000

"DriverName"="KbdNopAll.dll"
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] TaurusBullba R.I.P.:
No dice. That's identical with the HTC ROM. Any other provxml files of interest?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] sirsycho:
Even the CWSLayout??

I'll take another look. PM me an email address and I'll send you the files as well.

Dave
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] TaurusBullba R.I.P.:
Another place to check on the ATT ROM:

HCU\keyboard layout\Preload. Under "Default", I have a value of e0010409. Any variation with yours?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] TaurusBullba R.I.P.:
CWSLayout isn't present. Weird.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] sirsycho:
Here ya go... looks to be the same:

[HKEY_CURRENT_USER\keyboard layout]

[HKEY_CURRENT_USER\keyboard layout\Preload]

@="e0010409"

[HKEY_CURRENT_USER\keyboard layout\Preload\1]

@="e0010409"

[HKEY_CURRENT_USER\keyboard layout\toggle]

"Hotkey"="1"
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] TaurusBullba R.I.P.:
Yeah, just the same. Hmm... :confused:
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] sirsycho:
GOT IT!!!!

alrighty... I think I got it.

Someone please verify.

Add registry key:

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\KEYBD]

"CWSLayout"=dword:00000001

Step by step:

get PHM Registry editor (Google it) or another one if you prefer

run it

open they key above then click values to see the values in the key

add a key (DWORD)

name it CWSLayout

change the value to 1 (decimal)

soft reset

@TaurusBullba - not sure why it didn't stay for you, it was persistent for me.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] TaurusBullba R.I.P.:
Nice! I got it to stick. I was soft-resetting too quickly. Here's the work. :)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] woohyuksheng:
yeaa,the same issue appears on my kaiser while i flash the htc ship rom.

i have tried fixing it,but failed,seems that not only need the registry setting.

what's worse,when i change some codepage of American english in registry ,and softreset my device, the hard keyboard stop working:confused:,only hardreset can solve it

fixing it needs some awesome bro s

:rolleyes:
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] sirsycho:
Thanks TB... Glad you got it workin.

we should get this file added to the sticky tweak post.

Thanks for all the help!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] woohyuksheng:
good info,thanks sirsycho & TaurusBullba very much~

the keyboard mapping changed,but still not correct on my kaiser:( :(

but anyway i am so happy to find this way to change keyboard mapping on kaiser
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] TaurusBullba R.I.P.:
Are you using a Tilt?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] sirsycho:
based on your location, I'm assuming you have a localized ROM and you're trying the HTC WWE one... if you have access to the original ROM for your device, you can flash it and check out the key referenced in the previous posts.

Hoping that gets you sorted.

Best,

Dave
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] woohyuksheng:
yeah, soo happy that i fix my keyboard finally, with standing on the giants' (all u greatest guys') shoulders,thanks very much !

my keyboard is tranditional chinese keyboard (HongKong edition,i think the Taiwan edition is the same)

differences:the blue type on the "A" key is "Tab", not "-";..the one on "s" is "-";..the key in the left of the space is "切换" which can switch the input method

fix method:

in the path [HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\KEYBD]

change the "Curlang" data to 1028(Dec) or 404(Hex)

PS:codepage:0404(traditional chinese),0409(american english)

soft reset~:D :D
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] woohyuksheng:
yea, i upload a pic,but maybe i should say im using TyTN II...
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mbritten:
http://xdaforums.com/showthread.php?t=334759
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mikeeey:
thanks.

anyway, back on the original topic. Do you guys think I should flash to the HTC rom when I get my tilt? Paul from MoDaCo actually said he would keep the AT&T rom, im not sure why... O and which HTC rom should I use (link preferably?). I guess there's many on this site, including betas, i just want the original that would come with the TyTN II.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] URPREY:
I'm going to flash the Kaiser ROM onto my Tilt just to get rid of the AT&T proxy BS.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mikeeey:
I was thinking about it, its just ive read all these topics about problems people have had with their TyTN II..

where can i get the official rom btw?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] cpfuller:
Flash the Tilt for Dummies

Would someone please publish a step by step guide to flashing the Tilt ROM and all known fixes to make it work. I would also like to know what is occuring during each step.

Thanks for your help,

Charles
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] McHale:
yes, it's called reading the forums. All of the information is there and in only a couple posts.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] sirsycho:
it's actually very easy...

1. Install HardSPL (see sticky threads in this forum)

2. Get HTC ROM (see sticky threads in this forum)

3. Install HTC ROM following directions in the thread you got HardSPL from

4. After it is all installed, install the keyboard fix cab file

That's all you have to do really... install any other apps you can't live without.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] sirsycho:
and to McHale's point... there's no substitution for reading. A lot of us here have been lurking for years (at least I know I have), when you've read everything you think is relevant and you get stuck, post away.

Most of the people here aren't too keen on helping people who don't first try to help themselves.

Sorry for the preaching post, just trying to offer some helpful advice before the flames start flying.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] frydryce:
i've been reading about flashing our tilt rom to the HTC rom. can anyone give a reason to stick with the ATT Tilt rom considering its pretty easy to switch back in the case we have a warranty issue?

i just want to make sure i'm not missing out on any feature, albeit part of the bloatware included in the ATT rom.

Thanks!
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] McHale:
well, I have been pouring over the differences between the two ROMS for a few hours and outside of the branding and piles of demo apps clouding the ROMS, it's essentially the same. The main reason I dumped it was for the default_0409.htm file which HTC screwed up and to see what PTT files were there to see if we can add PTT to the HTC ROM (so far... no).

They have a few .exe files which just take you to URLS (like Cingular Video, Media Net, and MusicID).

The HTC ROM is much cleaner but you will lose PTT if you use it (I don't).

-Mc
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] chris_khho:
Thanks

Thanks for that. That's what I am looking for, for a long time.

Here are two observations:

1) The "切换" has no use now. How can I make use of it?

2) The Fn+OK "wireless connection" key has no effect at all?

Thanks.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] cpfuller:
McHale I said for dummies, you know those of us who have no business flashing a ROM but want to anyway. I am a i730 user and I have been spoiled by mrailing over at pdaphonehome. I did read most of the post but was hoping for a step by step guide that I might have missed. I will figure it out and try to create the guide I am looking for so it will be easier for dummies like me. I would appreciate it if you would review it when I get through and make sure it is accurate.

Sirsycho thanks for your help that will certainly get me started on the way to writing my guide.

Thanks again for your help and I meant no disrespect.

Charles
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] vbguru613:
Does the TouchFlo work on the tilt after the HTC flash?
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] McHale:
I got that. And I didn't mean any disresepect either. My point is you NEED to read all of the related threads before you do something with your phone. Not knowing the risks or everything involved could be bad (for example, flashing a G4 ROM on a G3 Wizard). When someone gives instructions, they may skip over things that they feel are obvious but may not be obvious to you.

After you do all the reading, it's best to ask for clarification on the things you don't understand. I certainly don't know everything but I don't feel bad asking for help as long as I make some sign that I searched and KIND of get it.

-Mc
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] SierraDelta:
"Read - read, and then read again" is definitely brilliant advice!

Personnally, I learned a lot from reading the Hermes WiKi, in particular the Hermes Wiktionary. It might be a good idea to carry that section over to the Kaiser Wiki and amend as necessary
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] Chem E Sam:
i have the HTC rom working on my tilt. touchflo works i am very happy with the HTC home screen.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mikeeey:
when the htc rom is flashed on the tilt, will there be any network setting i will need to configure? (3g, edge, etc)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] TaurusBullba R.I.P.:
Nope, HTC Connection Setup will do it for you during startup. Pretty slick. :)
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] mdhensley5:
I know this has been asked already, but I just want to clarify? If we have hardspl installed, can we flash back and forth between HTC and ATT ROM's?

Nevermind. Sirsycho's thread answered this for me.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] trublu:
Hey guys, I flashed the htc rom on my tilt and i'm now having internet connection issues. did you guys have the same problem and is there a way around it. i'm getting frustrated with this. clueless as to how to fix this. thinking hard about flashing for a third time.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] webdk:
is it currently possible to switch back and forth from HTC rom to ATT rom via HARD SPL? if so are there any adjustments needed to do so?

--- Nevermind found my answer in a sticky,
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] frydryce:
i can't seem to find it on this forum; i'm probably using the wrong search strings, but how do you just put the HTC homescreen on? i'm fine with the Tilt ROM right now and don't want to go through the trouble with a cooked rom, but i would like to have the homescreen.

Thanks! if you could also let me know what search string you used, i would appreciate it.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] bigdriver4u:
Just search HTC home. Don't be afraid to search and read.

I would think u could just search on HTC Home and find what you need! But to answer your question I have used this: http://www.4winmobile.com/forums/ph...e-downloadable-packs-all-devices-14-10-a.html

It's an all in one that includes the HTC home screen, customizer, color icons, and weather fix that allows you to add your own city without editing files. Fully automated and menu driven.
[Tilt, TyTN II, MDA Vario III Windows Mobile ROM De] monx®:
I have a problem which the above fix didn't work on new WM6.1. Anybody have this issue or solution?
[Galaxy S6 Q&A, Help & Troubleshooting] slap_shot_12:
I set many of my apps so notifications are blocked. Each time an app updates, though, it deletes that preference and starts giving notifications again. Is there a way to change this so that setting is permanent, even after updating an app?
[One (M8) Q&A, Help & Troubleshooting] majdykhrais:
Hello everyone.

I have an M8 with a corrupted software.

Always stuck on HTC logo.

Sometimes when it boots, it shows "3" , which means it's from Three UK.

I looked everywhere but couldn't find the corresponding RUU, except on http://www.htcdev.com/devcenter/downloads , but it's only around 500 MB !

It's in zip format.

I can go to the bootloader, but it doesn't accept to FACTORY-RESET (gets stuck on HTC screen)

Software status: Official

RELOCKED

Any ideas?

Thanks in advance.
[One (M8) Q&A, Help & Troubleshooting] majdykhrais:
I unlocked the bootloader in order to try to install another RUU.

Now it shows "UNLOCKED" .