CWM USB mount not working - HTC One X

My One X was working with the TWRP recovery. When I try to use CWM (because TWRP doesn't let me to install Android 4.4), a strange problem appears - not working USB mount. The only thing in the log is:
Code:
I:Can't partition non-vfat: /storage/sdcard0 (vfat)
/storage/sdcard0: Shared-Unmounted
And there's a new device in the device manager - "One", which has no driver working.
How can I force USB storage to work?

Try this one
https://www.dropbox.com/s/14c1ikgsp38axwv/twrp-recovery2.img

Nothing happens when I plug my phone to PC and try to mount. As on CWM, my PC doesn't event play "plugged in device" sound.
What I exactly did:
1. Reboot into bootloader
2. Erase cache
3. Flash this recovery
4. Erase cache
5. Reboot into bootloader
6. Go to recovery
EDIT:
I tried to flash it once again and USB storage now mounts. Thank you.

Edit :
Nice

Could Mr Hofs upload that magical recovery one more time? :angel:

Mr Hofs said:
Try this one
https://www.dropbox.com/s/14c1ikgsp38axwv/twrp-recovery2.img
Click to expand...
Click to collapse
Which version you suggested?
I installed TWRP2.8.0.0 and have device "One" in device manager with yellow exclamation mark
I have HTC sync installed but i beleive that their drivers has nothing to do with recoveries MTP mode. Right?
Do I need some other driver or other recovery?

Related

[Q] Problem mounting SD-card in ClockworkMod Recovery v5.8.0.2

I have rooted Htc Desire with ClockworkMod Recovery v5.8.0.2 and yasterday i was going to install a new rom.
At first i do backup, all was normally until the recovery find some error with sd-ext and skiped backuping it, when it finished i was going at recovery screen and go to mounts and storage and try to mount sd-ext i got an error (Error mounting /sd-ext) so i tried to mount sdcard but i get the same error (Error mounting /sdcard) and then i pull out battery and give it back and turn on phone but the phone didˇn load my android system then i go beck in recovery and format boot,cache,data and system. Then i click to install ZIP from sdcard but when i click chose zip from sdcard the recovery report: E:Can´t mount /sdcard/. I try another time with other SD-card but the same problem.
So i ask friend what to do and he sey: try to install other version of recovery. But i root and install this version with some program (unrevoked), and this program need ROM on my phone.
So i am asking you, How to install recovery on a desire whitch doesn`t have ROM installed??
P.S.: Sory for my bad english and i hope that anyone know this.
Use fastboot to flash recovery without the use of a sd-card.
Here's a fastboot tool:
http://forum.xda-developers.com/showthread.php?t=1193915
You will need fastboot usb drivers installed.
Sent from my toaster
abaaaabbbb63 said:
Use fastboot to flash recovery without the use of a sd-card.
Here's a fastboot tool:
http://forum.xda-developers.com/showthread.php?t=1193915
You will need fastboot usb drivers installed.
Sent from my toaster
Click to expand...
Click to collapse
I tried it but i got this messeage
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
Feedback, criticism, ideas, improvments, thanks and appreciations are welcomed on the forum-thread.
............................................................
Operating system: Windows.
Tools folder found.
Windows fastboot tools found.
The folder containing the IMG files was not found.
No Nandroid folder was not found - "Restore" button disabled.
STARTING PRINT OF DEVICE INFO.
-----------------------------------.
-----------------------------------.
PRINT OF DEVICE INFO FAILURE - PLEASE CHECK YOUR CONNECTION.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------
I reinstall drivers and tried again but then the same messeage, idont know what to do

[Q] One X recovery problem

Hello,
I wanted to install CM10 on my One x.
I've unlocked and rooted the device successfully and created a backup of the stock ROM using Clockworkmod (V5.8.2.7).
I then renamed the folder of the rom backup to "stock rom".
So far so good.
I downloaded CM10 and tried to install it. It installed the files correctly and then rebooted and the CM logo appeared.
But after many hours of waiting, the logo was still on the screen and it was still loading/booting.
This could not be ok so I rebooted into the boatloader and thought I'd set back the backup of the stock ROM.
When trying to restore the stock rom I get the following error:
"Checking MD5 sums..."
"MD5 mismatch".
I think this error is caused because I renamed the backup folder.
How can I solve this problem?
Can I connect to the boatloader using USB and then rename the folder or calculate a new MD5 crc??
Kind regards.
sander-w said:
Hello,
I wanted to install CM10 on my One x.
I've unlocked and rooted the device successfully and created a backup of the stock ROM using Clockworkmod (V5.8.2.7).
I then renamed the folder of the rom backup to "stock rom".
So far so good.
I downloaded CM10 and tried to install it. It installed the files correctly and then rebooted and the CM logo appeared.
But after many hours of waiting, the logo was still on the screen and it was still loading/booting.
This could not be ok so I rebooted into the boatloader and thought I'd set back the backup of the stock ROM.
When trying to restore the stock rom I get the following error:
"Checking MD5 sums..."
"MD5 mismatch".
I think this error is caused because I renamed the backup folder.
How can I solve this problem?
Can I connect to the boatloader using USB and then rename the folder or calculate a new MD5 crc??
Kind regards.
Click to expand...
Click to collapse
you can't rename the folder from bootloader, you have to get into recovery, mount usb and then rename the folder
matt95 said:
you can't rename the folder from bootloader, you have to get into recovery, mount usb and then rename the folder
Click to expand...
Click to collapse
When I go to recovery->mounts and storage menu -> mount USB storage
I get the the following error:
"E: Unable to open ums lunfile (No such file or directory)"
sander-w said:
When I go to recovery->mounts and storage menu -> mount USB storage
I get the the following error:
"E: Unable to open ums lunfile (No such file or directory)"
Click to expand...
Click to collapse
you should reinstall your custom recovery just to be sure...
Recovery Download
go into fastboot mode and type:
Code:
fastboot flash recovery path/to/recovery.img
sander-w said:
When I go to recovery->mounts and storage menu -> mount USB storage
I get the the following error:
"E: Unable to open ums lunfile (No such file or directory)"
Click to expand...
Click to collapse
You need clockworkmod 5.8.4.0
fastboot flash recovery recovery-5.8.4.0.img
BenPope said:
You need clockworkmod 5.8.4.0
fastboot flash recovery recovery-5.8.4.0.img
Click to expand...
Click to collapse
Ok. I installed clockworkmod 5.8.4.0.
And now?
sander-w said:
Ok. I installed clockworkmod 5.8.4.0.
And now?
Click to expand...
Click to collapse
now try to mount USB again and see if that works
matt95 said:
now try to mount USB again and see if that works
Click to expand...
Click to collapse
It says USB storage is mounted.
Also when the bootloader enters HBOOT it says " failed to open usb master mode". is that ok?
don't forget you need to:
- extract the boot.img from the CM10 ROM zip file.
In fastboot....
- flash the boot.img with the command 'fastboot flash boot boot.img'
- clear the cache with the command 'fastboot erase cache'
reboot into your recovery program
find the USB mounting option and mount it
copy the CM10 ROM zip file
unmount the drive
do a factory reset
wipe the dalvik cache
install CM10
....and reboot
usually if it's stuck on the splash it's because you didn't clear out the dalvik cache.
sander-w said:
It says USB storage is mounted.
Also when the bootloader enters HBOOT it says " failed to open usb master mode". is that ok?
Click to expand...
Click to collapse
can you get into fastboot on the phone? you'll need fastboot in order to flash the kernel
sander-w said:
It says USB storage is mounted.
Also when the bootloader enters HBOOT it says " failed to open usb master mode". is that ok?
Click to expand...
Click to collapse
now that you can mount USB remane the nandroid backup and restore it...
Yes I can get into fastboot.
I'm currently downloading CM10 so I will try your suggestions in a second.
thegh0sts said:
don't forget you need to:
- extract the boot.img from the CM10 ROM zip file.
In fastboot....
- flash the boot.img with the command 'fastboot flash boot boot.img'
- clear the cache with the command 'fastboot erase cache'
reboot into your recovery program
find the USB mounting option and mount it
copy the CM10 ROM zip file
unmount the drive
do a factory reset
wipe the dalvik cache
install CM10
....and reboot
usually if it's stuck on the splash it's because you didn't clear out the dalvik cache.
can you get into fastboot on the phone? you'll need fastboot in order to flash the kernel
Click to expand...
Click to collapse
I did the following.
- extracted the .img file
- flashed it using : 'fastboot flash boot boot.img'
- cleared cache
- reboot into recovery
- The mounts and storage menu looks like this.
- unmount /cache
- mount /data
- mount /sdcard
- mount /system
- format /cache
- format /data
- format /sdcard
- format /system
- mount USB storage
When I open up the "mount USB storage' menu I get:
"USB Mass Storage device
Leaving this menu unmount
your SD card from your PC."
- unmount
- ++++ Go Back ++++
So it looks like the sdcard is mounted but I cant see it as a drive on my pc.
sander-w said:
I did the following.
- extracted the .img file
- flashed it using : 'fastboot flash boot boot.img'
- cleared cache
- reboot into recovery
- The mounts and storage menu looks like this.
- unmount /cache
- mount /data
- mount /sdcard
- mount /system
- format /cache
- format /data
- format /sdcard
- format /system
- mount USB storage
When I open up the "mount USB storage' menu I get:
"USB Mass Storage device
Leaving this menu unmount
your SD card from your PC."
- unmount
- ++++ Go Back ++++
So it looks like the sdcard is mounted but I cant see it as a drive on my pc.
Click to expand...
Click to collapse
try changing usb cable
matt95 said:
try changing usb cable
Click to expand...
Click to collapse
That didn't help.
can you take a screenshot of the USB mounting process?
matt95 said:
can you take a screenshot of the USB mounting process?
Click to expand...
Click to collapse
see files attached
sander-w said:
see files attached
Click to expand...
Click to collapse
I think I understand the "problem'.
The sd card is mounted when I'm in the "mount USB storage" menu. When I leave the menu, the sdcars is unmounted.
Now I can continue with the zip file
I solved it.
after the sd card was mounted I could install the ROM
sander-w said:
I solved it.
after the sd card was mounted I could install the ROM
Click to expand...
Click to collapse
glad to hear that
Thanks all for helping me out!

[Q] please help

my htc one x got stuck on boot screen i had unlocked the device installed a rom it worked fine
but for installation of other rom i had formated phone and sdcard partion my stock back up rom now deleted no rom in the phone
wat to do now help
Hook usb cable to your pc > recovery > mounts and storage > mount usb storage
Enter the custom recovery and mount the sdcard as a mass storage device.
Copy the new rom.zip to the phone and install it including of flashing the boot.img
TToivanen said:
Hook usb cable to your pc > recovery > mounts and storage > mount usb storage
Click to expand...
Click to collapse
please can u explain more
Not much to explain about it. You enter the custom recovery, go to mounts and storage and then tap the last option in the list.....its something like
Mount as usb mass storage device
Mr Hofs said:
Not much to explain about it. You enter the custom recovery, go to mounts and storage and then tap the last option in the list.....its something like
Mount as usb mass storage device
Click to expand...
Click to collapse
after that what is the process what should i do
Copy a rom.zip to the sdcard (the one you like) make a full wipe and install the rom. Then also flash the boot.img from the new rom with fastboot commands
Mr Hofs said:
Copy a rom.zip to the sdcard (the one you like) make a full wipe and install the rom. Then also flash the boot.img from the new rom with fastboot commands
Click to expand...
Click to collapse
cant see usb storage on my pc
Ramesh yannam said:
cant see usb storage on my pc
Click to expand...
Click to collapse
got it man thank u very much
Ramesh yannam said:
cant see usb storage on my pc
Click to expand...
Click to collapse
Depends on what you are doing and what recovery you are using....
So what recovery are you on (type AND version number please)
Mr Hofs said:
Depends on what you are doing and what recovery you are using....
So what recovery are you on (type AND version number please)
Click to expand...
Click to collapse
got it thanks for your great support
All sorted now ?

[Q] HTC ONE -- can't access from computer

Hi all, I ****ed up and didn't make a backup.
I wiped the phone clean from bootloader recovery, but then realized I had forgotten to move the new gapps and cm rom to my phone.
When I plug it in, it is recognized by my computer, but the HTC MTP Device fails to work.
I can't see the phone, and therefore can't put anything on it to flash. If I mount the phone via the bootloader, it pops up in Windows and wants to be formatted.
I have been looking around and trying different things for the past couple hours, and figured it was time to ask someone who might know..
Any ideas?
chriswcs said:
Hi all, I ****ed up and didn't make a backup.
I wiped the phone clean from bootloader recovery, but then realized I had forgotten to move the new gapps and cm rom to my phone.
When I plug it in, it is recognized by my computer, but the HTC MTP Device fails to work.
I can't see the phone, and therefore can't put anything on it to flash. If I mount the phone via the bootloader, it pops up in Windows and wants to be formatted.
I have been looking around and trying different things for the past couple hours, and figured it was time to ask someone who might know..
Any ideas?
Click to expand...
Click to collapse
I tried to take a screen shot, but it won't let me post it as I am noob-status.
Device Manager:
Android USB Devices
MyHTC
.
.
.
Portable Devices
J:/
<!> MTP USB Device
I don't understand why I can't mount or access the phone. Do I not have the right drivers installed?
Is there any way to get around this and put the files on my phone so I can install any old ROM so I can boot it up again??
You need to update the drivers on your PC, there's a few threads on how to do it. You should still be able to use adb push to add files, though.
Drivers are fine ! Go in recovery and mount the sdcard as a usb mass storage device ! In the title you speak of a HTC one......so is it a ONE or a ONE X ?
Thanks for replying!
It is an HTC One X. Should I just install the Android SDK bundle? Or are there other drivers?
Android sdk bundle is good. But you have MYHTC so that's correct. You need to go into the recovery and mount the sdcard as a usb storage device, it will show the drive in windows and then you can copy a rom onto it.
Mr Hofs said:
Android sdk bundle is good. But you have MYHTC so that's correct. You need to go into the recovery and mount the sdcard as a usb storage device, it will show the drive in windows and then you can copy a rom onto it.
Click to expand...
Click to collapse
Hi, so I installed the newest HTC driver (4.2) and all the SDK bundles. When I plug the phone it, it still won't recognize the HTC MTP Device. When I mount from the bootloader, it doesn't let me mount the sdcard (only the system data and cache), and Windows still shows a drive that needs to be formatted.
Do you think it's still a Windows driver I'm missing? If I go Terminal Command on phone it says
E: Unable to mount '/sdcard'
E: Unable to mount storage.
What's the option called you tap inside recovery. And what recovery are you using ?
If it's CWM you go to mounts and storage and tap the last option in that list.....then wait till it pops up on the pc
I'm using TWRP v 2.4.2.0 and I couldn't check the box for mount sdcard.
ADB push worked!
But the ROM failed. Is there anything else I'm missing?
It still says that E: can't mount.
Try this recovery please, i know this one blinded
https://db.tt/MNtVjpOJ
Mr Hofs said:
Try this recovery please, i know this one blinded
https://db.tt/MNtVjpOJ
Click to expand...
Click to collapse
Firstly thank you so much for taking time to help a lost stranger out!
What I did was reformat the J: drive that popped up on Windows, then I was able to put both the CM10.2 and GAPPS on the /sdcard/ (it would then mount)
I could then install both of them successfully, but I don't have a boot.img because my kernel is wiped. Will that file work as a boot.img?
chriswcs said:
Firstly thank you so much for taking time to help a lost stranger out!
What I did was reformat the J: drive that popped up on Windows, then I was able to put both the CM10.2 and GAPPS on the /sdcard/ (it would then mount)
I could then install both of them successfully, but I don't have a boot.img because my kernel is wiped. Will that file work as a boot.img?
Click to expand...
Click to collapse
Or how do I try your recover? Should I push it with adb? If so, to where?
I found two other boot.img files on the webs (boot.img and cm10.img), but I don't know how to get the phone to actually boot off them
The boot.img has to be flashed via Fastboot in the bootloader. So if you installed CM correctly via the recovery then flash the boot.img from the CM.zip ....
Fastboot flash boot boot.img
And a kernel can't be wiped via the recovery by the way. You can only delete/overwrite it via Fastboot commands
Mr Hofs said:
The boot.img has to be flashed via Fastboot in the bootloader. So if you installed CM correctly via the recovery then flash the boot.img from the CM.zip ....
Fastboot flash boot boot.img
And a kernel can't be wiped via the recovery by the way. You can only delete/overwrite it via Fastboot commands
Click to expand...
Click to collapse
Okay! That's good
I think it flashed correctly, now I am just waiting for the phone to boot up. It's been going for about 25 minutes though. Should it be that long?
Nope not good.......make a full wipe in recovery before installing the rom.
Factory reset
Wipe cache partition
Advanced-wipe dalvik cache
Mounts and storage-format cache,data,system
Then install CM and gapps then reboot because you already flashed its boot.img
Mr Hofs said:
Nope not good.......make a full wipe in recovery before installing the rom.
Factory reset
Wipe cache partition
Advanced-wipe dalvik cache
Mounts and storage-format cache,data,system
Then install CM and gapps then reboot because you already flashed its boot.img
Click to expand...
Click to collapse
None of the ROMs I've tried have worked! I think it's because my hboot is version 1.14.
Lol dude you have the evita go to the HTC one XL forum. You are in the completely wrong forum......sorry !!!
chriswcs said:
None of the ROMs I've tried have worked! I think it's because my hboot is version 1.14.
Click to expand...
Click to collapse
Stuck yet again.
I relocked the phone to flash new firmware, but I have CID 1111111, so I can't find anything to unlock the bootloader again.
Double sauced. Ahhhhhh
Unlock the bootloader by flashing the unlock_Code.bin file wich you got the first time when it's unlocked.
Fastboot flash token unlock_code.bin
But you really should continue this in the right forum. Flashing stuff from here may brick the phone !

One X can't Mount SD

Hi all, really need some expert help.
I fitted an one x + battery a week ago, and all was running ok until Wednesday. Phone locked up and wouldn't reboot. I've read as much as I can but I cant seem to find a cure.
I can enter bootloader and flash from there. I have erased cahce, flashed TWPR, but in recovery I still cannot mount sd card.
I have uninstalled and re installed HTC Sync.
Some help would be greatly received as I need the phone for work and sat nav.
I have tried running ruu, but it fails saying usb error.
I am not sure but I think I need stock recovery which will repair corrupted sd card.
Thanks in advance. Mel
Try philz touch recovery
I will when I get home Mr Hoffs.
Problem also it sometimes wont even boot into bootloader, or recovery. It seems very hit and miss, any ideas why this might be?
Im hoping its due to corruption of SD that can be cured with a format.
Flash the recovery when you reach the bootloader, and afterwards also erase cache !
Fastboot erase cache
https://www.dropbox.com/s/yqzlpqo8illa53j/Philz recovery 5.15.9.img
Good afternoon Mr Hoffs. I. have flashed Philz recovery, erased cache. But everything I try it says unable to mount sd card, unable to mount data, unable to format/mount SD card. This happens with everything I try in all recoveries.
Do you think I need a stock recovery, I read that this can help to format the card.
If so, where would I find the stock recovery.
What a way to spend a Friday evening, but I need my phone.
I get the noise when connecting my phone to laptop.
I have tried 2 cables, all usb ports. Tried cable on my old Desire and its fine
While I connect my laptop says its installing the drivers software, but then it says ' driver software was not correctly installed ' but I have also had the message that usb not recognised
Its strange that it will mount ok in fastboot.
I'm happy for more suggestions. Does the phone charge in Philz recovery, I am currently on 61%, so ok for a while.
Thanks for your help so far, hopefully we can save my One X
no harm in trying, give me the outcome of : fastboot getvar version-main. then i csn give at least the stock recovery. but in philz you need to enter the recovery, then hookup the usb cable and then press mount as usb mass storage. It can take a few minutes before it actually mounts and pop up in windows. So make sure to give it enough time to mount
Mr Hofs said:
no harm in trying, give me the outcome of : fastboot getvar version-main. then i csn give at least the stock recovery. but in philz you need to enter the recovery, then hookup the usb cable and then press mount as usb mass storage. It can take a few minutes before it actually mounts and pop up in windows. So make sure to give it enough time to mount
Click to expand...
Click to collapse
I have 3.16.110.4
Just going back the Philz recovery and will leave it connected for a few minutes, but previously I have left it but fingers crossed
Left Philz recovery on for at least 10 minutes. When I try to mount usb storage it does nothing.
Mount cache returns ' error mounting cache '
Mount data returns 'error mounting date '
mount sd card the same
mount system the same
Format cache E: format_volume :make_extf4fs failed on /dev/block/mmcblk0p13 error formatting cache
Format date E:format volume: make_extf4fsfailed on /dev/block/mmcblk0p15 error formatting date
Format sd card ( used default option ) Error mounting sd card Skipping format Done formatting / sd card default
Fprmat system E: format volume make extf4fs failed on /dev/block/mmcblk0p12
wipe Dalvik cache E:cant open/ cache/revovery/last_log.
Device Driver software was not correctly installed
Hope this makes sense to you Mr Hoffs !!
when you are in the recovery, not mounted or anything. Do you see MYHTC in the windows device manager. i think you have to update the drivers. install the latest HTC syncmanager from the htc site and let it all update. then try again.
Mr Hofs said:
when you are in the recovery, not mounted or anything. Do you see MYHTC in the windows device manager. i think you have to update the drivers. install the latest HTC syncmanager from the htc site and let it all update. then try again.
Click to expand...
Click to collapse
It comes up as MYHTC.
What do you suggest now Mr Hoffs ?
But computer says device driver not installed.
Hmm not sure, MYHTC is fine. Ruu is not available so that's a no go ! Maybe a next thing to look at is sideloading a rom to the SD via twrp ?!
Mr Hofs said:
Hmm not sure, MYHTC is fine. Ruu is not available so that's a no go ! Maybe a next thing to look at is sideloading a rom to the SD via twrp ?!
Click to expand...
Click to collapse
So you mean flash twrp recovery ? Then try to side load, will this work even though its not mounting/ seeing the sd card. Any idea where to get the stock recovery, as I saw a video on you tube where the guy flashed stock recovery, which formatted the card, he then returned to custom recovery and loaded rom. I have searched but am not sure which is the correct stock recovery img
Stock recovery :
https://www.dropbox.com/s/r9661p9d0oxsg51/stock recovery 3.16.img
At this point you can try anything. No usb mass storage is !
Mr Hofs said:
Stock recovery :
https://www.dropbox.com/s/r9661p9d0oxsg51/stock recovery 3.16.img
At this point you can try anything. No usb mass storage is !
Click to expand...
Click to collapse
ADB sideload complete FAILED !!!
Flashed stock too ? Tried other pc's too ?
Ow and yeah the batt charges on philz recovery ! So if you need more power put it in there
Mr Hofs said:
Flashed stock too ? Tried other pc's too ?
Click to expand...
Click to collapse
No, phone wont turn on now, I have to leave it a while for some reason before I can get it back into bootloader ( not sure why )
Will update after stock recovery is flashed. No other computers in the house.
Oke once you back into flashing mode, flash philz and charge the battery up all the way. Then try more !
Mr Hofs said:
Oke once you back into flashing mode, flash philz and charge the battery up all the way. Then try more !
Click to expand...
Click to collapse
Battery was showing 100% earlier in recovery so I think it is charged, I get a different noise when connecting to pc. Not sure what this crazy phone is upto !
Only thing you can do is try all these different things including another pc (never know) not sure what else to try. Maybe this :
1: Factory reset from the bootloader menu
2: factory reset within recovery
Then check for mount options
This morning it wouldn't turn on after being on charge overnight.
Device manage says Apx.........
I've left it and gone to work hoping the phone fairies are looking down on me.
I did try factory reset in bootloader, and recovery.

Categories

Resources