yashsingh1/xdaforums huggingface dataset:
[HTC One X] nickerrides:
Can someone help me get back to stock so i can send my one x back? Im currently running Charmandar Rom v4.1.0. And here's some info on my phone

HBOOT-0.94.0000

Radio-1.1204.103.14

Image Version- 1.28.707.10

I would really appreciate the help. Thanks!
[HTC One X] kaminix:
This hboot updating business is driving me crazy.

OK, so I flashed the stock recovery from this thread and a RUU linked in this thread. My One X was purchased in Sweden.

The files I got were these:

recovery-1-29-401-11.img

RUU_ENDEAVOR_U_ICS_40_HTC_Europe_1.29.401.11_Radio_1.1204.105.14_release_260491_signed.exe

Since I'm on a Mac I'm running the RUU in VM Ware Fusion with Windows 7. Though all flashing is done from my Mac.

The last attempt ended with an error saying (after it had already been working for a very long time and put files on the phone, mind you!) that my phone can not be flashed with this RUU. It's an incorrect RUU.

Does HTC not classify Sweden as Europe? Or is it because of the recovery image I'm using?

The error is called 155.
[HTC One X] ckpv5:
1) flash stock-recovery.img

2) relock the bootloader - fastboot oem lock

3) flash RUU - http://bit.ly/IjzQwM

---------- Post added at 11:34 AM ---------- Previous post was at 11:32 AM ----------

Any possibility that you do not relock the bootloader before you run the RUU ?

command : fastboot oem lock
[HTC One X] kaminix:
Yup, done that.
[HTC One X] ckpv5:
What is your device CID ?

You can check in fastboot mode, type fastboot oem readcid

Not so sure about Mac & VM ware. Maybe the CID check will ensure you got the right RUU.
[HTC One X] kaminix:
(bootloader) DEBUG: cid: HTC__Y13

OKAY [ 0.018s]

finished. total time: 0.018s
[HTC One X] ckpv5:
This means the RUU that you have is not the right one. You need a htc-nor RUU. Let see if I'm able to help you for the RUU. I'll be back at my PC in next one hour.
[HTC One X] kaminix:
Thank you! I can't find any NOR in the filefactory archive.
[HTC One X] ckpv5:
I was wrong. Recheck the android-info.txt in the RUU that you have, htc__y13 is listed, so it is the correct RUU for you. So I guess you need to have a windows PC to run RUU correctly.

These are listed:

cidnum: HTC__001

cidnum: HTC__E11

cidnum: HTC__203

cidnum: HTC__Y13

cidnum: HTC__102

cidnum: HTC__405

cidnum: HTC__304

cidnum: HTC__032

cidnum: HTC__J15

cidnum: HTC__A07

cidnum: HTC__016

cidnum: HTC__M27
[HTC One X] kaminix:
Could it have something to do with the kernel I'm running? It's not the stock kernel.
[HTC One X] ckpv5:
Usually kernel has nothing to with it. But for me, to revert to stock with a RUU, I always follow this order:

1) fastboot flash recovery stock_recovery.img

fastboot reboot-bootloader

fastboot erase cache

2) fastboot flash boot stock_boot.img

fastboot reboot-bootloader

fastboot erase cache

3) fastboot oem lock

4) phone will reboot, put it back to bootloader - fastboot mode

5) run RUU

It never fails me. Some people will say it is unnecessary to flash a stock_boot.img but there is no harm to do that.
[HTC One X] nickerrides:
THANKS!
[HTC One X] Enzopreme:
anyone have any idea why when i relocked my boot loader, it now reads **Security Warning** under **relocked**? Also when it starts to boot, on the splash screen it reads...

This build is intended for HTC development purposes only, any changes without the written consent blah blah blah.

I cant get my RUU to flash, I have relocked, and installed the stock recovery, all i get is to the quietly brilliant splash screen. Any help would be greatly appreciated.
[HTC One X] ckpv5:
Your device is international Htc One X and not AT&T Htc One X/Htc One XL ?

Maybe flashing the stock boot image will helps.
[HTC One X] BigShowSavas:
Security warning means battery is low. Due to that it seams, it didnt flash stock images correctly. Let it charge and start over.

PS.: Stock Kernel should also be flashed for RUU install. Never worked with custom in mine.
[HTC One X] kaminix:
Where do I find the stock kernel?

How does this work when I've got modules installed, will I have to do a super wipe or something to revert to the old kernel?
[HTC One X] dragonesdenano:
Help, Have a friend with security warning and bootloader lock, and The phone only enters bootloader...

Enviado desde mi HTC One X usando Tapatalk 2
[HTC One X] pee-wee:
Unlock through htcdev

Sent from my HTC One X
[HTC One X] dragonesdenano:
Thanks Man...I think we are on The way...

He is doing The following, using power off and getting The splash screen as is stated in Ruu part...I think is number 2 ...again and again and trying to unlocked The bootloader, he has The Code ...so he only needs more battery... He is new, and called me when phone was in trouble and not before.... We r from GrupoAndroid argentina... But I read and live in xda hox thread..

Cheers mate....

If we solve the problem or use a hammer I will comment here!!!;)

Enviado desde mi HTC One X usando Tapatalk 2
[HTC One X] ckpv5:
Are you still trying to run RUU in VM ? Here is an interesting read of running RUU on Mac : http://xdaforums.com/showpost.php?p=26596639&postcount=3

Attached here is the stock kernel (stock boot.img) extracted from 1.29.401.11 RUU in case you need it.
[HTC One X] MusiQ1:
Hi,

I wanna go back to stock / locked to do some updates and wait for a proper non sense rom.

but i can't figure out how, the OP is a bit confusing (and i'm fluent in English (at least talking lol)). I had a backup of my rom before flashing custom rom. It is based on 1.29.401.7.

Am i correct if I say that;

- I need to flash this stock recovery; http://www.androidrevolution.nl/ARHD/index.php?dir=OneX/Recovery/ and then the 1.29.401.7.

- Relock the bootloader

- Just search for updates and let it flash itself

Thats it? Or am I wrong?
[HTC One X] Setsuna666:
You need to flash stock recovery, relock bootloader and then flash the right RUU for your device.
[HTC One X] Gav1n:
hi can any one help me

im stuck in a fastboot loop ..went to put new rom on phone ....and just keeps rebooting to hboot/fast boot...

Can get in to clockworkmod recovery v5.8.4.0..

tried restore image....wipe cach...wipe dalvik..

fastboot....erase cache

just reboots in to hboot....

info: unlocked

radio 1-1.1204.104.14

cid: HTC__001

thanks gavin
[HTC One X] lashton:
one guide too confusing for me, mines locked on HTC boot screen and n\NOTHING works! in this guide!
[HTC One X] theNazerith:
Great thread...It helped me when i had a soft brick issue

i unlocked my bootloader, got root

i installed proxoid to do free wifi through a proxy host

http://code.google.com/p/proxoid/

then i found out about tether 1.1

http://xdaforums.com/show....php?t=1677261

when my phone rebooted it goes straight to a black screen

i try to power on and the lights at the bottom flash 3 times

when i try to connect to usb adb devices show my item

i try fastboot reboot bootloader and it says <waiting for devices> indefinately

holding power and volume down doesnt do anything either

so i can't get into bootloader and htc sync manager does not recognize my phone at all

is there anything i can do?

i am using the AT&T USA version...EVITA or whatever
[HTC One X] Setsuna666:
This forum is for the Internal version of the One X, not the AT&T/Rogers one. If you can't get into bootloader, I believe your phone is bricked, but to be sure, ask in the right device section , maybe someone will be able to help you.
[HTC One X] theNazerith:
I posted here because trying to get access to the bootloader is pretty much teh same for both versions

just flashing roms and kernels are different...this is the most comprehensive thread to unbrick your htc one that i know of...

i looked in the rodgers section and there are mutliple threads but nothing that isnt cover here...

i would like to do a hard battery reset but cant so waiting for my phones battery to die so i can see if i can get lucky and get back into bootloader...
[HTC One X] real77055:
my phone is bootlooping.

i cant cange my phone recovery to stock.

in adb command its said that it flashed the stock but nothing changed than. i tried to relock my bootloader to go back to stock. in adb command its said relocked but in hboot its said unlocked.

when i run the signed RUU for my device phone again bootlooping.. don't know what to do. did everything in your tut..
[HTC One X] real77055:
please help me. i dont think i totally bricked my phone. CWM recovery seems working. but i'm unable to change that recovery or flash boot.img any help???
[HTC One X] real77055:
i see no one can help/////(((
[HTC One X] schorschl:
Hello,

i have a big problem going back to stock. My One x ist from 02 germany. So i downloaded the right ruu (RUU_ENDEAVOR_U_ICS_40_O2_DE_1.26.207.2_Radio_1.1204.90.13_release_251288_signed) because this ruu is 1.26, i downloaded and installed android revolution 2.1, a 1.26 rom.

I flashed the recovery for 1.26 and the boot.img (i extraded both from the ruu). But now if i run the ruu it shows me as current software 1.29.207.11, although i installed arhd 2.1 which is a 1.26 rom. Ruu shows the updated version will be 1.26.207.2. But if i start the flash an error occurs. The error is 140 (bootloader version error).

Who can help me going back to stock. How can the ruu still say there is a 1.29 rom installed when there isnt. I think this is the reason for the bootloader error later on.

Please i need your help, i don't know what i can do. before going back to stock i had arhd 7.2 installed.
[HTC One X] daniele610:
try this, for me worked fine. go to android revolution hd thread, download 7.2 rom, 7.2 boot and stock kernel for 2.xxx base.

start phone in bootloader, flash stock kernel, go to recovery, flash stock modules.

restart phone in bootloader, flash 7.2 boot and do and erase chace.

go to recovery, run superwipe script,than flash rom WHITOUT selecting any tweaks (it's very important, dont' select any mods) reboot phone and pray.

if phone dont' boot try to do another erase cache by bootloader... but i think in this way your phone will boot..

edit: you can't go to bootloader? (i don't understand..)
[HTC One X] jimmyboggust:
Hello

Wanted to go back to stock... so flashed stock recovery, then relocked then flashed ruu, got bootloader error as I was coming from coredroid rom which has test firmware....

What can I do now?????

Any help will be much appreciated

James
[HTC One X] milomak:
I was attempting to relock my bootloader (going to send the unit in for repairs) and was going to go back to a htc rom.

However I flashed a recovery that was not the same version as the running rom. Problem is I only noticed this after I ran fastboot oem lock. So now it just reboots into fastboot mode.

So I tried to unlock again via htcdev. However when I get to step 7, I get the following:

I’ve searched the thread for that error code but it doesn’t seem to have come up before. Any ideas on where to go from here?

edit - shut the phone down for a couple of hours. switched it on again and ran the command immediately. worked.
[HTC One X] Kve:
Thanks for this post so far , however i'm having problems with this step

fastboot flash system system.img

the previous step worked fine but this one gave me the following error.

sending 'system' (960876 KB).

FAILED (remote: (00000006))

finished. total time: 0.094s

any clue what might be the issue? Thanks in advance.
[HTC One X] sdarshan10:
Reverting back to stock ROM

I recently purchased htc one x. It is running on viperx rom. I want to get back to stock firmware. My CID is optus001. Can I install indian rom on the same. Pls help me I am getting poor battery backup on viperx rom.
[HTC One X] mibikin:
I have a kind of big problem that I cannot find a solution to. Sometimes, while just sitting in my pocket, the phone just shuts off. From this off state, my phone won't turn on, unless plugged into a charger for 5 seconds, then the phone can boot normally. It isn't the battery dying, unless it can charge to exactly where it was when it turned off in five seconds. I haven't found a single person with this problem, and I would rather not factory reset. I am on 1.29.707.11. Can anyone help me?

Sent from my HTC One X
[HTC One X] sdarshan10:
Can't Flash RUU

Dear All,

I was having viperx rom version 1.29.980.11 installed. As I was wanted to install stock ROM I unroot the phone and install stock recovery in it. Then I relock the bootloader . Now the problem is when I tried to install my RUU which is optus australia as per my CID it gived me error 140 bootloader version error. Please suggest what should I do now. I am not being able to use my HOX.
[HTC One X] sdarshan10:
From where can I find link for ARHD 1.26 rom version. I need to return to stock ROM. My current ROM is 1.29.980.11 viperx rom. CID OPTUS001.
[HTC One X] infexis:
Guys i am really stuck here.. i am unlocked and flashed newest clockworkmod recovery but i can not get into it.

The only thing that i have access to is fastboot and even there sometimes it doesnt accept command (probably because of battery below 10%)

I am also not able to charge the battery above 10%, i have been monitoring through fastboot and the highest charge i had was 3667mv.

Also i tried to charge the phone at the htc splash screen wich seems to charge without notification light though, but still not above 10%....

So in other words, i am not able to get into recovery to flash a rom, and i can not flash the stock ruu either..what should i do..any suggestion?

I have been struggeling with this almost two days now and i really dont want to go the service way because they are so slow..altough in worst case if none of you maniacs can help me im glad i have extra insurance to cover it..
[HTC One X] ClydeB1:
In fastboot try the following cmd: fastboot reboot recovery, if that doesn't work then try fastboot reboot-recovery. I'd leave the phone overnight though to let it fully charge in recovery before flashing a rom.
[HTC One X] infexis:
like i wrote, i can not get into recovery and the battery doesnt charge past 10% ( ca 36xx mv. )

and btw. those commands dont work for me, i just get the help menu
[HTC One X] ClydeB1:
I saw that, but did you try the commands from bootloader mode as you said you did have access to fastboot. If you get to recovery after running the commands then you can charge the phone as it will charge with the latest recovery version.

Edit: Ok, I saw you edited your post while I was replying. Sorry not sure what else to suggest.

---------- Post added at 08:11 PM ---------- Previous post was at 08:01 PM ----------

Ok, depending on what hboot version you have, try using this tool, it does give an option to boot into Recovery from fastboot mode.
[HTC One X] infexis:
it says the time how long it took to perform the action but it didnt do anything..the phone was properly connected according to the software
[HTC One X] ClydeB1:
Running out of options here - try this one

Alternatively try this - with your recovery.img in your adb folder enter adb boot recovery.img. this will boot to the recovery image on your pc and you should then be able to run adb commands. Then enter adb reboot-recovery which should then boot into the recovery version on your device and hopefully you can then charge.
[HTC One X] infexis:
OMFG this is unbelievable, that didnt work either.. i also tried to flash the other recovery that was included but same thing there...

And the recovery reboot option from that software didnt discover the device apparently...but the flash recovery did something and rebooted the phone where it got stuck at htc logo again (probably trying to get into recovery) because that is the stuff that happens when i try manually also...
[HTC One X] ClydeB1:
Ok my last bit of advice (fresh out of ideas after this) - http://xdaforums.com/showthread.php?t=1658084
[HTC One X] infexis:
i will try that and report tomorrow, because it will probably take som e time..

thanks for the attempt to help, i really appreciate it <3
[HTC One X] ClydeB1:
Good luck mate :D
[HTC One X] infexis:
alright so i went to the gym while the phone was rebooting in repeat in attempt to recharge the battery, and now when i came back i see it was stone dead! :@

edit1 altough i think its something good to see its charging when off.. lets see if it charges full this time.. will let it be for the night..

edit2 nope, this one drained the battery to dead too..the led first turned off for a while, then started blinking and now is on again and i guess this is how its gonna be.

im gonna make one last try with the last option mentioned in first post, but for that i need to install windows 7 on my pc because i am running windows 8 right now and dont have the start menu so it doesnt show me the %temp%

(not installing windows 7 only because of that, i dont really like the metro stuff on win8)
[HTC One X] ClydeB1:
That doesn't sound good :eek:
[HTC One X] mibikin:
Can I have some help with something that bugs me whenever it happens? My One X is just about perfect. I do have one verrrrrrrrrrry strange issue, where if the phone gets squeezed at all on the right side, whether from a tight grip or a hit into something, the phone shuts off. To get the phone back on, I need to plug the phone into the wall for 12seconds and then I can boot it again. Does anyone on earth have this issue?
[HTC One X] infexis:
alright so i discovered that the phone refuses charge above 3670mv

and when i tried the method to extract boot and system from the ruu .exe this happened:

i have hboot 0.95.0000, and 1.29.401.12 ruu

What the hell is happening here, everything i ever learned about android phones seems so unusable in my situation.

I really hope and wish that some smart king head out there can help me solve this madness.

edit: any chanse that i am on wrong bootloader, if that is the case how to know wich is correct and how to change ?
[HTC One X] sdarshan10:
Type fastboot getvar all it will tell u which version to install
[HTC One X] infexis:
C:\fastboot>fastboot getvar all

(bootloader) version: 0.5a

(bootloader) version-bootloader: 0.95.0000

(bootloader) version-baseband: 2.1204.127.19

(bootloader) version-cpld: None

(bootloader) version-microp: None

(bootloader) version-main: 1.29.401.12

(bootloader) serialno:

(bootloader) imei:

(bootloader) product: endeavoru

(bootloader) platform: HBOOT-T30S

(bootloader) modelid: PJ4610000

(bootloader) cidnum: None

(bootloader) battery-status: low

(bootloader) battery-voltage: 3398mV

(bootloader) devpower: 0

(bootloader) partition-layout: None

(bootloader) security: on

(bootloader) build-mode: SHIP

(bootloader) boot-mode: FASTBOOT

(bootloader) commitno-bootloader: None

(bootloader) hbootpreupdate: 2

(bootloader) gencheckpt: 0

all: Done!

finished. total time: 0.865s

So what does this mean, is everything like it should be or what ?
[HTC One X] sdarshan10:
Yes u r installing right version ...you can also install 2.17.401 ruu ...search football's thread for it....try to install it...
[HTC One X] infexis:
In my case i cant install any ruu, because i cant get up to 30% battery, remember?
[HTC One X] sdarshan10:
There is one thread for that also please search for it on this site
[HTC One X] infexis:
I have read all threads about this case i could find, the only way to charge the battery in this case seems to be with the script wich limits me to the 3670/80 mV or the one that says to install newest clockwork recovery and i have allready tried that, it says OKAY from the adb but irl it doesnt give any difference at all :p nad i also tried that one that says to try and charge at the htc splash screen but none of these seem to charge the battery to 30% :(
[HTC One X] sdarshan10:
http://xdaforums.com/showthread.php?t=1658084. Hope this will help...
[HTC One X] infexis:
like i said, already tried that one :p

if you read few post back i posted log wich shows the battery doesnt charge past 36xx that way :p

is there any way to erase battery stats from fastboot? i almost suspect that the phone thinks its full charge at 3670
[HTC One X] sdarshan10:
You tried installing twrp recovery ?
[HTC One X] infexis:
yeah i tried that from the oneclick tool and it was the same..

it seems that the phone doesnt flash recoveries but in adb it says okay every time :p

oh damn i just found someting that terrifies me in this thread

6. now u just have to run the RUU that you downloaded and patiently wait for it to finish..

REMEMBER your phone should be charged ABOVE 35% AND if the ruu or restore is INTERRUPTED 4 any reson during restore your

phone will be PERMANENTLY BRICKED..

that true?! :(
[HTC One X] sdarshan10:
if you have installed TWRP recovery....have you tried switching it off from recovery option and then charging it for say abt 2 hrs? And yes if you are getting error as your phone is not charged above 30% then please don't flash RUU it is very dangerous...
[HTC One X] infexis:
the thing is that i can not get in any recovery at all so i am not able to try that option.

and i am not sure but i think that i actually have tried to restore with ruu and the battery was low..im not sure but its possible..

in that case.. am i ****ed or is there still some hope?
[HTC One X] sdarshan10:
In the fastboot mode there is one option for recovery when you will select it should boot you in the custom recovery installed.....try it if you have TWRP or clockwork mode recovery installed..you can also boot into recovery using htc one x all in one kit....
[HTC One X] infexis:
i tried that too a few posts back.. damn i really begin to think that my phone is bricked..
[HTC One X] sdarshan10:
then i am sorry...i think you should give it to htc service center if they can do something....
[HTC One X] dragonesdenano:
Yeap, you bricked ur phone mate. U should take to the service.

RAZER ROM
[HTC One X] ckpv5:
That thread about batch script charging will let your device have enough voltage to re-unlock your device (if you did relock it), to flash the CWM. It never meant to have enough battery to run the RUU. Once you can fastboot flash the recovery, put in a custom rom.zip and flash that. Once it is up and running, then you can let the phone charge to 100% and then you can run RUU.

Also read that you can't enter the recovery, have you tried "fastboot erase cache" after "fastboot flash recovery recovery.img" ?
[HTC One X] infexis:
of course...

edit: i gave it in to service today, lucky me i had extra insurance for it =)
[HTC One X] Selec1:
Hello,

After flashing the viper boot.img and flashing the viper rom it crashed on 23.91%.

I was stuck in APX mode but now I've booted in bootloader. Factory reset goes back to fastboot and the same happpens when I trie to boot in recovery from bootloader.

If I try to flash a new recovery it says:

sending 'recovery' (5742 KB)...
OKAY [ 0.730s]
writing 'recovery'...
(bootloader) Format partition SOS done
FAILED (remote: (00030000))
finished. total time: 1.004s

I've tried to flash viper rom again but fastboot seems unable to write. Recovery and boot.img gives me the same error (FAILED (remote: (00030000)))

C:\Android\UBT>fastboot format cache
formatting 'cache' partition...
FAILED (remote: unknown command)
FAILED (remote: unknown command)
finished. total time: 0.100s

It snapped out of APX after many tries. Left the phone alone, not charging and tried to boot to bootloader.

How do I unbrick my device?

I'm still in bootloader.
[HTC One X] ClydeB1:
Is your battery low? If so you may need to try this in order to get some additional charge in before reflashing. Have you tried all of the steps on the 1st post, specifically this one:
[HTC One X] hemal_4404:
My Phone Bricked

I flashed RUU 1.29.751.12 which was given by Football and it stop with error with last stage of flashing. Now my is struck on black screen with htc logo. and retry cannot flash back as RUU is giving battery low error. what shout i do
[HTC One X] ckpv5:
Did you flash the stock recovery and boot img and relock the bootloader prior to run the RUU ?

Just restart the device by press and hold the power button for about 10 sec and let it boot, will it stuck at htc quitely screen ? If yes, let it hang there and charge your device with main power.
[HTC One X] hemal_4404:
Yes i did boot img, stock recovery and relock. My device stuck at in HTC with black background which comes while running RUU..