yashsingh1/xdaforums huggingface dataset:
[HTC One X] shree.cse:
I am facing a weird problem, probably this may brick my phone. I am on latest recovery.

Today I flashed insertcoin's 6.0.0, after to take a back up, I entered recovery. From that time it keep on rebooting. Now after using this command 'fastboot erase cache' I can enter recovery, but it's still rebooting, Only once it reached the bootanimation of IC, after that reboot reboot....!

My mobile is not even allowing me to charge in power off mode, when I connect my power cable its starting to power on.

Can any one please help me?

Problem solved! By relocking and flashing my stock ruu, after that updated my Phone with OTA and locked again. Possibly this was something related to HBoot. After updating to latest 0.94 version, no issues. Previously I can't even flash a rom in recovery, cause it was rebooted even in recovery.
[HTC One X] Rycon33:
^^ sometimes bootloop happens when you forgot to fastboot flash the compatible boot.img

But assuming you fastbooted the correct boot.img, you may try installing again your preferred ROM (full wipe) and see if you can finally boot after.

And also, always make sure you have ample space when doing backup, at least 3gb left.
[HTC One X] GabrielSousa:
the mount sdcard dont work ?
[HTC One X] Daekin:
no, just like on Samsung Galaxy S II, Samsung Galaxy Note, Asus Transformer TF101 and some others. these devices use another method of accesing internal EMMC storage, therefore old driver that is using UMS lunfile complains about that file missing.
[HTC One X] wtfhax:
I don't know if this will help koush but i've posted this a while ago..

echo /dev/block/mmcblk0p14 > /sys/devices/platform/fsl-tegra-udc/gadget/lun0/file

it'll mount the sdcard and probably the missing lun0 file that the driver is looking for
[HTC One X] Daekin:
great. if that really works it is amazing...

I will try to run that command from adb shell when booted into recovery...

or perhaps make one small helper CWM zip for it :p
[HTC One X] leventccc:
Thanks it works!
[HTC One X] blacklistedcard:
Can't get recovery to work

I flashed the CWM recovery but when I get into the bootloader it tries to boot to the htc recovery?????

fastboot flash recovery recovery-clockwork-touch-5.8.3.1-endeavoru.img

sending 'recovery' (5732 KB)...

OKAY [ 0.967s]

writing 'recovery'...

OKAY [ 1.482s]

finished. total time: 2.449s

fastboot erase cache

erasing 'cache'...

OKAY [ 0.125s]

finished. total time: 0.125s

I reboot back into bootloader, select recovery and then the next screent is the HTC screen about a developer version.

What am I doing wrong? The device is unlocked and rooted.

I also noticed if I keep the volume button down when the HTC device is booting into the ROM. There is a SAFE ON message at the left hand corner of the screen.

blacklistedcard
[HTC One X] blacklistedcard:
Don't get it. Looks like CWM recovery installs ok, but its not. Anyone have any suggestions?
[HTC One X] landwomble:
Fastboot erase cache.
[HTC One X] blacklistedcard:
My device is the Rogers HTC One X. Snap Dragon s4. 8:( So the problem the whole time was that.

Thanks for the reply.......
[HTC One X] broncogr:
Added Edit 9 to OP :)
[HTC One X] ruscik:
Got my One X about 4h ago it lasted what about 30 min before I decided to root as I hate adds (coming form WP7). The way I used is via HTCDev.com and using clockworkmod and super su. All went with no problems. I booted up and got a message that there is update (like before the root), downloaded it but can not install it as it goes to recovery directly after that and if I select install zip and go to where update is located (download folder) it starts processing it and stops saying certificate invalid. Is there something I have to do to install updates?
[HTC One X] darkony:
Download OTA zip from one-x and copy to PC, edit the zip file META-INF\com\google\android\updater-script , Delete line >

assert(check_cid(getprop("ro.cid"), "00000000" , "11111111" ,

"22222222" , "33333333" , "44444444" , "55555555" , "66666666" ,

"77777777" , "88888888" , "99999999" , "HTC__622") == "t");

then save and try again

p.s. use notepad ++
[HTC One X] rjvrijn:
Until s-off i do it as follows. My hox is:

- initialy unlocked bootloader

- with the stock recovery untached

Now when a new ota is available i just install it (no need to relock bootloader)

This does unroot my (stock)rom but i only have to fastboot in cwm recovery to flash supersu.zip again.

So in short: i can accept a new ota without changing anything. I just have to boot in cwm recovery and reflash superus.zip after the update.
[HTC One X] fs61:
Hi Guys,

yesterday i've unlocked my HOX, did root and flashed CWM 5.8.3.1 over.

But when i plug my phone while i am in the recovery it does not charge and mounting usb is not possible...(-> when i click to mount usb storage :- e: unable to opem ums lunfile (no such file or di...)

did i something wrong?

Edit: ooooh i guess i have read it wrong. phone is charging but led is not available while charging, right? and usb storage is still an issue will be fixed asap, right?
[HTC One X] broncogr:
right.

Anyway dont charge in recovery, charge with device off or in OS
[HTC One X] shogun168:
Latest version isn't working for me .. after using it and then putting ARHD 6 on my phone, everytime i go back to recovery, it enters bootloop .. the times i do manage to get in and install from zip, it blacks out and re-enters bootloop .. :(
[HTC One X] wormym:
Hi, can you help me, my phone in emergency now:

My device: HTC One X

I flash kernel and rom leedroid 6.3, before that i used kernel franco R5 with rom Romeos normally. package of Lee 6.3 has problem: bootloop if u flash from another rom package, and at this moment no one fix it.

I forgot backup, and now my phone bootloop and energy is below 30% so i can not go back to rom ship! As you wrote: my device can not charge in recovery mode, isn't it? Can you help me charging problem:( ?
[HTC One X] broncogr:
Turn it off from bootloader. Charge it will off provided you have 5.8.3.1 recovery...
[HTC One X] broncogr:
RichardTrip has found the way to enable usb in recovery!!!

This is a major breakthrough!!!!

Expect a new version with ALL issues solved soon
[HTC One X] kemmo123:
awesome news. hopefully no more disasters in recovery. :)
[HTC One X] ClydeB1:
Awesome news, looking fwd to the new version
[HTC One X] wormym:
@ broncogr: Thanks u very much!
[HTC One X] DrAgKurt:
cool!

glad to hear that news! :)
[HTC One X] incident:
Great news guys.
[HTC One X] Sebby:
great..

i think that was the person from the Ginger Villain rom on the desire

men.. that was a great rom and kernel builder in the desire days

will the charging with the phone off and not turn the phone on and bootup after 15 min. or so (with this recovery the phone stays not off if i put it on the charger)
[HTC One X] richardtrip:
If you want to test:

http://xda.richardtrip.org/?dir=./HTC/recovery/OneX

For the kernel change check my github.
[HTC One X] ThePanama:
Works a treat for me, many thanks :)
[HTC One X] broncogr:
Thanks mate.

People bear in mind that the option in recovery to mount usb storage doesnt yet work in this recovery version.

Be patient for the next one
[HTC One X] mox123:
looking forward to usb fix!! thanks
[HTC One X] Sebby:
before i flash it how do we mount it now then

i already can mount the sdcard and adb files in with droidexplorer in the recovery (with the version before,not the version from richardtrip)
[HTC One X] omar302:
It does not mount SDCard. It simply enables ADB when device is in Recovery. Previuos version did not have ADB functioning in Recovery mode.
[HTC One X] broncogr:
Wait for the fixed one or mount it from adb...

adb shell

echo /dev/block/mmcblk0p14 > /sys/devices/platform/fsl-tegra-udc/gadget/lun0/file
[HTC One X] xavier_soares:
Excellent work, Thank you
[HTC One X] dk_zero-cool:
That is the best news to day. It is very frustrating not being able to access the device from recovery. I use that a lot.
[HTC One X] flakz0r:
awesome work Trip, works fine :)
[HTC One X] GabrielSousa:
thanks a lot for your hard work ;)
[HTC One X] richardtrip:
New version with mount usb storage

New version uploaded:

http://xda.richardtrip.org/?dir=HTC/recovery/OneX
[HTC One X] treebill:
You can adb push stuff to your sd in recovery so long as you boot it from fast boot.

Fastboot boot recovery.IMG

Adb push Rom.zip /sdcard/

Edit 6 in op
[HTC One X] jureca:
Download link does not work, thank you very much for your work.

Enviado desde mi HTC One X usando Tapatalk 2
[HTC One X] atesszan:
It's works!:D
[HTC One X] richardtrip:
http://xda.richardtrip.org/HTC/reco...kwork-touch-5.8.3.1-endeavoru_fixedadbusb.img

but you should see that if you click the link.
[HTC One X] jureca:
From the mobile will not let me, then try it from the PC, thank you very much.

Enviado desde mi HTC One X usando Tapatalk 2
[HTC One X] broncogr:
Edited OP with latest version of RichardTrip's recovery with USB issues fixed and USB automount enabled!!!
[HTC One X] LorD ClockaN:
why would you want to download via mobile? you can't fastboot flash without PC
[HTC One X] r0cafella:
-OFFTOPIC- Waiting for your kernel :)

On topic - fully working on my device broncogr - USB mounts automatically with this recovery Kudos to all involved in this.
[HTC One X] roady85:
Thank you very much for your work, it works great!!! :D

MfG Daniel
[HTC One X] AFCAjax:
RichardTrip u saved my life! My phone was bricked with LeeDroid 6.3.0. Now I can access my SD again! I love you!
[HTC One X] hamdir:
USB storage is auto mounting but is this safe for flashing ROMs that touch the storage during install?

just wondering so dont shoot me
[HTC One X] canna666:
fastboot commands?

which commands do i use to send recovery img is it

cd c:\fastboot

c:\fastboot>flash recovery recovery-clockwork-touch-5.8.3.1-endeavoru_fixedadbusb.img

or

cd c:\fastboot

c:\fastboot>flash recovery\recovery-clockwork-touch-5.8.3.1-endeavoru_fixedadbusb.img

i've tried both of these it says

c:\fastboot>recovery-clockwork-touch-5.8.3.1-endeavoru_fixedadbusb.img

'recovery-clockwork-touch-5.8.3.1-endeavoru_fixedadbusb.img' is not recognized a

s an internal or external command,

operable program or batch file.

steps i took

1.place recovery-clockwork-touch-5.8.3.1-endeavoru_fixedadbusb in c:\fastboot folder

2.put phone in fastboot

3.send commands

adb is working and fastboot i sent fastboot erase cache and it worked

help please
[HTC One X] broncogr:
fastboot flash recovery recovery-clockwork-touch-5.8.3.1-endeavoru_fixedadbusb.img
[HTC One X] canna666:
just tried your command this happened

Microsoft Windows [Version 6.1.7601]

Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Windows\System32>fastboot flash recovery recovery-clockwork-touch-5.8.3.1-end

eavoru_fixedadbusb.img

error: cannot load 'recovery-clockwork-touch-5.8.3.1-endeavoru_fixedadbusb.img'

C:\Windows\System32>
[HTC One X] broncogr:
You dont have the file in the right path mate....

You are running this from system32.......
[HTC One X] hd2neuling:
broncogr, RichardTrip & all the guys involved in this project:

BIG THX for this awesome work, test-recovery works without any problem on my device :)

LG, Helmut
[HTC One X] canna666:
how do i get to the right path please or where sould i put recovery file?
[HTC One X] broncogr:
put it where you run fastboot from...
[HTC One X] ClydeB1:
..... or else drag and drop the file into cmd prompt after you have entered the "fastboot flash recovery" bit of the command. That will auto populate the path and file name.
[HTC One X] canna666:
lol thanks worked it out i used

c:\Windows>cd c:\fastboot

c:\fastboot>fastboot flash recovery recovery-clockwork-touch-5.8.3.1-endeavoru_f

ixedadbusb.img

sending 'recovery' (5760 KB)...

OKAY [ 0.747s]

writing 'recovery'...

(bootloader) Format partition SOS done

OKAY [ 0.570s]

finished. total time: 1.318s
[HTC One X] Huey85:
sweet jeebuz! thanks for the test recovery with the usb mount fixes. no longer will i need to worry about not having a ROM copied to my internal memory before flashing kernel and wiping my data/cache in preps for flashing new ROMs.
[HTC One X] jureca:
Working usb storage thank you very much richardtrip.
[HTC One X] shree.cse:
Thanks mate. Perfect as Mentioned!
[HTC One X] gil78:
Thanks mate it's good for me you are Big Boss:)
[HTC One X] incident:
Good point m8. Did someone tried it already ?!
[HTC One X] wormym:
Big thanks to fix mount usb issues!
[HTC One X] Admeisterz:
If you read above comments you would get your answers instead of asking the same question. Im sure Dev will update OP if there is an update.
[HTC One X] Alex240188:
no, you will still be able to restore using the interim recovery by paul.

leedroid will not install on this one because it uses the aroma installer, the official cwm uses the device.id which is coded to look for endeavouru however our device id is endeavoru so it will always fail until we get an updated version
[HTC One X] kuailan:
For your info, I am not asking any questions...I have read all the issues and complaint people making about this recovery. Personally I am back to using paul recovery, simply because that's the only way I can install LeeDroid. I know very soon the developer will definitely fix this.
[HTC One X] shingers5:
On rom manager you can install touch recovery but its version 5.8.2.3. This version breaks the touch sense in aroma so you have to use vol to navaigate and power to select. Aroma does work but no touch. Like I said volume buttons to navigate power to select. I have tried this so its why I am posting.
[HTC One X] shingers5:
It works with leedroid just use power and volume buttons..only touch doesn't work but aroma does
[HTC One X] shingers5:
At top you see recovery flashed direct from rom manager for one x gsm
[HTC One X] broncogr:
Flashing from Rom Manger doesnt work at the moment.

It says flashed successfully but doesnt
[HTC One X] shingers5:
Mate it works as I have it on my phone lol. The .4 version doesn't but its defo flashed and working and broke aroma
[HTC One X] broncogr:
New link in OP.

5.8.2.7 link up

Now works with all Roms !!!!

The update is necessary as it fixes issues!!!!
[HTC One X] torxx:
I guess that I will switch now to the official one..
[HTC One X] shenye:
we know the fix now, koush will get on it later.
[HTC One X] x.Orville.x:
got this error

unknown partition 'recovery-clockwork-touch-5.8.2.7-endeavoru.img'

error: cannot determine image filename for 'recovery-clockwork-touch-5.8.2.7-endeavoru.img'
[HTC One X] shingers5:
Thanks mate on it now
[HTC One X] vallandil:
Updated and works as promised...

Thanks M8
[HTC One X] mattman83:
You are using the wrong syntax with adb. What exact command did you type.

M.
[HTC One X] Basil 123:
you left out the word 'recovery' after 'fastboot flash'
[HTC One X] mike1986.:
Thanks broncogr for posting new recovery! :)
[HTC One X] putti71:
Why do I have to flash it over fastboot?

Cant I just install it over cwm directly?
[HTC One X] broncogr:
doesnt work for now...

You have to flash from fastboot
[HTC One X] Anthropologic:
I don't come into the recovery mode, it comes vor a second then the phone reboots! i've flashed interim recovery again, but the same problem, can some one help me, please?
[HTC One X] hd2neuling:
Only tried to flash a Mod.zip from Recovery while connected with PC and 1X-"SD" was shown on TotalCommander.

Got no problem.

LG, Helmut
[HTC One X] broncogr:
Why would anyone flash a rom while having usb connected to pc anyway?
[HTC One X] hvihavai:
Haven't tried the test version yet, but why it is automounting usb? Why not have a menu option to mount usb storage?

But thanks for the update, going to test this later.
[HTC One X] heobanhki:
nice.. Working usb storage

Working usb storage.

Thank man
[HTC One X] zvieratko:
I have probably never seen a ROM which touches SD card...
[HTC One X] broncogr:
That will be the case when the official CWM recovery is out...
[HTC One X] hd2neuling:
Maybe because some guys forget to disconnect :D

LG, Helmut
[HTC One X] demajoor:
got the test recovery working but not charging in recovery
[HTC One X] zvieratko:
I just tested this recovery and it works, but I hit a small issue

I did a fresh backup and wanted to transfer it by USB storage rightaway - the folder was there but it was inaccessible until reboot - so I guess it is not completely safe to work with the storage from both recovery and the computer...

apart from that great - I feel a lot safer now that ADB and storage are working without OS...
[HTC One X] vengence_angels:
how do i access the ROM.zip on my pc to flash?..

i went to mounts and storage..then mount usb storage but there is an error message at the bottom..
[HTC One X] broncogr:
Of course IT IS CHARGING in recovery...

You just have to know how to look....

The led light doesnt turn on in recovery....
[HTC One X] gil78:
The only thing is that if I turn off the phone when I put it back in charge, it starts
[HTC One X] hasan_abeer:
hi sir thanks for the new features of recovery.... just one question is how it works. usb mounting... please explain more... i already flash new recovery but I don't know how it works.... please i need help
[HTC One X] demajoor:
ok thx then usb storage is working indeed
[HTC One X] ckpv5:
Once you enter the recovery, connect your usb cable to PC you will see in your PC, you can access the USB storage directly. Previously no direct access.
[HTC One X] gil78:
Excuse me this only happens if I turn off the phone, in fastboot.

If I turn off the phone of the Rom, it's good.

It's just be normal?
[HTC One X] omar302:
Excellent work. Working fine.

FYI:

In recovery, to check battery percentage:

to check charging status:
[HTC One X] raimondomartire:
Work awesome
[HTC One X] SiqMawsh:
Thank you very much!
[HTC One X] Forsaked:
Awesome, thank you!
[HTC One X] Snah001:
Excellent work done by Richard.

Indeed an extraordinary chef/dev.

Big compliments!:thumbup:
[HTC One X] OneCheekyDevil:
There IS a menu option to mount the USB, but the problem is that it is mounting the USB automatically if you're connected to the PC.
[HTC One X] hvihavai:
Yes, hadn't tried the test recovery when I wrote that, and already have been answered that this is how it's going to work when fully ready (not in test).

And actually I'm just now testing the test recovery... :) Seems to work as promised.
[HTC One X] n3ocort3x:
Works like a charm... thanks for that... charging and usb...well done..xD
[HTC One X] dortok:
Is there a way to unmount USB storage? Couldn't see the option
[HTC One X] treebill:
And stores some crap on the sd which I would assume is deleted in a full wipe

Im not going to flash just yet till more testing is done, I would rather the sd not auto mount sound dangerous to me as your reading a zip from sd while its being read from a pc.

Till I know its safe ill hold back and use adb to push any files I need in recovery.
[HTC One X] WebghostDK:
I am now unable to boot into Recovery.

When i do so, the phone automaticly reboots.

I've tried it over and over again, the same result every time.

Any suggestions?
[HTC One X] migascalp:
Fastboot erase cache
[HTC One X] monx®:
Well done. ;)

2EV0108707936641S
[HTC One X] ShyamSasi:
Conformed working.... Thanks Richard!
[HTC One X] festa20:
Yea working here glad I flashed it need it today while trying aokp lol

Thanks Richard
[HTC One X] mahesh_9j:
awesome work Richard...its working :)
[HTC One X] Giblet-dono:
Whilst normally booted my phone has been on the charger overnight (10+ hours) and it didn't charge.

the last thing I did was flash this new recovery!

I have not had this problem at any other time so I think it's the recovery.

after a reboot the problem was gone

And I havent been able to reproduce it since
[HTC One X] richardtrip:
If you booted normal you don't even use the recovery so it must be something else.
[HTC One X] maddler:
USB is working great! :)

It was THE feature I was really missing!
[HTC One X] themono:
Richard, I was a big fan of the work you did for my Iconia, and now here you are fixing things on my One X as well. I appreciate your work.
[HTC One X] Giblet-dono:
thank you for your response
[HTC One X] fabioccoelho:
Thanks!

Thanks @Richard... works fine for me too :D

[ ]'s
[HTC One X] XsMagical:
USB working!!! Life saver bro, no more RUU when i softbrick lol
[HTC One X] danw87:
thanks richard works a treat many thanks
[HTC One X] lrbpereira:
Thanks Richard!

The fixes on the non touch recovery is it possibile to implement? Don´t use the touch version...
[HTC One X] black demon:
i just flashed the test version.. the usb works fine now but i cannot boot the phone.. whenever i reboot, it goes back to the recovery.. i tried holding the power button to have a hard reboot and it still boots to the recovery.. any idea what i have done wrong?
[HTC One X] Hedgehog57:
Do you have unplugged USB when you are restarting? Or try also erase cache (fastboot erase cache). It works fine here...
[HTC One X] black demon:
i did unplug USB and it still reboots to recovery, also i tried flashing the old version i was using and still with the same result :S i eased cache with no use.. what the hell have i done wrong :'(
[HTC One X] broncogr:
You have flashed the recovery.img to the boot partition....

Either flash a boot.img from fastboot in fastboot usb mode or run your specific RUU....
[HTC One X] drvsbsm:
Post above mine is probably your solution.

You said you tried to flash the previous CWM recovery.img did you do that flashing through the the current CWM beta with storage mounting? If so...........

Maybe try to fastboot flash the previous CWM recovery.img using fastboot commands on your PC, I don't know if that would work any different but it may be worth a try. If that don't work maybe get with RichardTrip through PM or another avenue and maybe he can help you out because it seems something went wrong as you are the only one that has reported problems that I have saw.

Hopefully you get it sorted out.

It is working OK for me and others that have used it so you situation seems to be unique.
[HTC One X] wintermute000:
yep sounds like a good educated guess
[HTC One X] black demon:
i knew what i did wrong lol.. i rushed with the command and didn't use "fastboot flash recovery" but used "fasboot flash boot".. from what i know this is used to flash kernels (guide me if i misunderstood).

so i reflashed the kernel (franco v6 =P) and flashed back the recovery and everything works amazing now!

but is there a way to stop auto mounting of the usb drive? like an option to enable and disable it?
[HTC One X] Hedgehog57:
I think, not yet.
[HTC One X] wintermute000:
You owe drvsbsm a drink!!!!!!!!!!!!!!!!!!!!!!!!!
[HTC One X] Daekin:
In TWRP recovery it can be mounted manually.

If I find out how to lower DPI I would use that because it has file manager! But default UI is not finger friendly :(
[HTC One X] drvsbsm:
The new TWRP would be really nice if they would integrate something similar to what they have on the HP Touchpad and other devices it is really nice on the HP Touchpad how it is integrated with CM9 you don't even have to connect a USB connection to your PC to get upgraded to the latest and greatest nightly it does it all strait from the device. First it downloads to your device what you need from the servers and runs its commands on a restart.

On a restart it does a Backup of your current Rom then it upgrades everything it does it all cleans-wipes caches, adds latest G-Apps, and updates the newest Rom on the fly with a simple restart, really nice thing they got going on there wish they could somehow do the same with the One X Roms on the fly, it does everything for you, all you have to do is download everything on your Phone or Tablet then hit update and watch as it just goes ...............

Next boot-up you are on the newest nightly and everything is updated, I gotta say I love it. It is one of the best things that I have used on an Android device. Even though I don't use my Touchpad that much, because I also own a Transformer Prime and an IPad:eek: that I got on a really good deal.