[q] twrp cant mount cache - HTC One X

When in fastboot i can clear the cache and it is sucessfull, in twrp i cant mount it, my phone is in a constant boot loop that shows the notice in red indicating the constant bootloop is trying to load twrp.
after this i have to reflash twrp then clear the cache and reboot before i can get into twrp again.
i have viper 2.6.0 downloaded and cannot install it
i have a twrp backup of my origonal rom that wont work due to the previous.
i have tried flashing clockworkmod and it failed.
i had an error mounting the sd card but i managed to fix it
when i try to restore the boot in twrp it has errors mounting the cache
What should i do?

Why would you want to mount the cache? just format the cache and flash the correct boot.img in fastboot-USB mode and your phone will have no problems.

When i tried that nothing happend, and i dont know why when trying to flash the boot.img in twrp it wants to access the cache but it fails.
I think part of my problem with the fastboot boot.img copy was that i do not have the boot.img from my origonal O.S. in a .img format so i had to download somebody elses nand to try that. when i backed up my O.S. with twrp it saved my boot info as boot.emmc.win

t3ckfr3ak1 said:
When i tried that nothing happend, and i dont know why when trying to flash the boot.img in twrp it wants to access the cache but it fails.
I think part of my problem with the fastboot boot.img copy was that i do not have the boot.img from my origonal O.S. in a .img format so i had to download somebody elses nand to try that. when i backed up my O.S. with twrp it saved my boot info as boot.emmc.win
Click to expand...
Click to collapse
Yes and you can flash that like all other boot.img files
Fastboot flash boot boot.emmc.win
You cant flash a boot.img in recovery ! I.dont really get the picture what you are trying to do ? Cache is just temp....you can wipe it and it builds up again. You can't flash cache or anything like that ....

I ran ruu and rooted but when I try to install a rom Twrp fails on me and says it can't mount the cache
Sent from my HTC One X using xda app-developers app

t3ckfr3ak1 said:
I ran ruu and rooted but when I try to install a rom Twrp fails on me and says it can't mount the cache
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Bringing this back. I'm having the same problem and wanted to see if you found a fix for it...?
---------- Post added at 09:48 PM ---------- Previous post was at 08:55 PM ----------
t3ckfr3ak1 said:
I ran ruu and rooted but when I try to install a rom Twrp fails on me and says it can't mount the cache
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
integramodder said:
Bringing this back. I'm having the same problem and wanted to see if you found a fix for it...?
Click to expand...
Click to collapse
Never mind. I ended up changing recoveries from TWRP 2.5.0.0 to CWM 6.0.2.8 and it was able to mount and wipe the cache.

Related

[Q] HTC ONE X rooted unable to boot to recovery

HTC ONE X international version....
Unlocked bootloader using HTC DEV
Rooted using
http://onexroot.com/one-x-root/how-to-root-one-x/
Flashed CM9 build from
http://www.modaco.com/topic/353715-01-06-rom-cyanogenmod-9-endeavor-unleashed-014/
Am stuck on the Cynogenmod 9 boot screen....
Unable to boot to recovery
(When i select recovery and press powerbutton, phone reboots and goes back to CM9 boot animation....)
I tried flashing Clockworkmod using
http://forum.xda-developers.com/showthread.php?t=1594819
to no result....
Device manager shows right drivers havebeen installed....
Please Help....
Thanks,
Satya
sats.mine2k4 said:
HTC ONE X international version....
Unlocked bootloader using HTC DEV
Rooted using
http://onexroot.com/one-x-root/how-to-root-one-x/
Flashed CM9 build from
http://www.modaco.com/topic/353715-01-06-rom-cyanogenmod-9-endeavor-unleashed-014/
Am stuck on the Cynogenmod 9 boot screen....
Unable to boot to recovery
(When i select recovery and press powerbutton, phone reboots and goes back to CM9 boot animation....)
I tried flashing Clockworkmod using
http://forum.xda-developers.com/showthread.php?t=1594819
to no result....
Device manager shows right drivers havebeen installed....
Please Help....
Thanks,
Satya
Click to expand...
Click to collapse
you need to erase cache
use this command --> fastboot erase cache
then try to boot to recovery
Doo Doo said:
you need to erase cache
use this command --> fastboot erase cache
then try to boot to recovery
Click to expand...
Click to collapse
Excellent solved the solved the problem(kind off)
I was able to boot to recovery..
Could any also please suggest a way to get another on to the HTC ONE X memory( i forgot to back up the standard rom ) and the CM 9 rom i put on it is not working.....
Thanks,
Satya
sats.mine2k4 said:
Excellent solved the solved the problem(kind off)
I was able to boot to recovery..
Could any also please suggest a way to get another on to the HTC ONE X memory( i forgot to back up the standard rom ) and the CM 9 rom i put on it is not working.....
Thanks,
Satya
Click to expand...
Click to collapse
Use the latest CWM recovery, has the ability to mount memory on USB, or install an RUU, and start all over again, both possible
And by the way, always have a custom ROM in your memory for this situations
srashedian said:
Use the latest CWM recovery, has the ability to mount memory on USB, or install an RUU, and start all over again, both possible
And by the way, always have a custom ROM in your memory for this situations
Click to expand...
Click to collapse
Hmm... I have the CWM 5.8.3.1 (touch recovery). When i try to "Mount USB Storage" i get an error message reading
E: Unable to open UMS Lunfile(No such file or directory)
I also did try to Partition and format SD Card...
Should i use a different(lesser) version of the CWM recovery or a different recovery all together...
Thanks,
Satya
sats.mine2k4 said:
Hmm... I have the CWM 5.8.3.1 (touch recovery). When i try to "Mount USB Storage" i get an error message reading
E: Unable to open UMS Lunfile(No such file or directory)
I also did try to Partition and format SD Card...
Should i use a different(lesser) version of the CWM recovery or a different recovery all together...
Thanks,
Satya
Click to expand...
Click to collapse
CWM 5.8.4.0 supports USB while in recovery under advanced tab. See
http://forum.xda-developers.com/showthread.php?t=1594819
Might be worthwhile in the future keeping a rom you know works locally so if worst happens to can recover to it for the time being.
didnt' work for me
I was having the same problem. I updated my recovery to 5.8.4.0 and then cleared cache. Still stuck in boot loop. I can't get to the recovery to re-install rom. Any other suggestions?
redknite said:
I was having the same problem. I updated my recovery to 5.8.4.0 and then cleared cache. Still stuck in boot loop. I can't get to the recovery to re-install rom. Any other suggestions?
Click to expand...
Click to collapse
have you flashed the boot.img that came with the rom

HELP! messed up my rooting/installing custom roms

Hi, I rooted my One X and installed cyanogenmod 10, but i forgot to wipe before installing it, so that messed things up pretty bad. I tried wiping using clockwork recovery and it still didn't work, then i accidentally did a factory reset in the boot menu. so i think I messed things up big time. It was running the official JB update (android 4.1.1, sense 4+)
please help me out!
Boot to recovery and redo the whole thing (reflash the ROM.zip) ??
No backup?
U didnt do a nandroid backup before doing all this?
ckpv5 said:
Boot to recovery and redo the whole thing (reflash the ROM.zip) ??
Click to expand...
Click to collapse
clockwerk can't find any files, i guess they are deleted by doing the bootmenu factory reset, is there a way to reflash it using my pc only?
aman360elite said:
U didnt do a nandroid backup before doing all this?
Click to expand...
Click to collapse
well clockwork couldn't find the backup anymore, it said the sd card was empty
advanzd said:
clockwerk can't find any files, i guess they are deleted by doing the bootmenu factory reset, is there a way to reflash it using my pc only?
well clockwork couldn't find the backup anymore, it said the sd card was empty
Click to expand...
Click to collapse
Well mount usb storage in recovery and copy the ROM over
tomascus said:
Well mount usb storage in recovery and copy the ROM over
Click to expand...
Click to collapse
it says E:unable to open ums lunfile (no such file or directory)
Dude ...why did you complicate it ? Just do a full wipe ...and install the Rom again
donhashem.dh said:
Dude ...why did you complicate it ? Just do a full wipe ...and install the Rom again
Click to expand...
Click to collapse
how can i do a full wipe ?
Yeah it once happened to me....I changed the version of cwm ...it didn't wrote that crap anymore ...so change the version of cwm and flash the Rom again
donhashem.dh said:
Yeah it once happened to me....I changed the version of cwm ...it didn't wrote that crap anymore ...so change the version of cwm and flash the Rom again
Click to expand...
Click to collapse
thx
.........
advanzd said:
how can i do a full wipe ?
Click to expand...
Click to collapse
There's an full data wipe option when you first enter recovery
advanzd said:
how can i change the version of cwm if i can't access the usb mount?
Click to expand...
Click to collapse
To flash another recovery version you flash it as if your flashing a kernel ...but by typing fastboot flash recovery recovery.img....and don't forget to rename the new cwm recovery you want to flash to recovery....
so i wiped it using recovery (data wipe, cache wipe) and installed some other ROM called cleanROM (http://www.scottsroms.com/downloads.php?do=file&id=289) but my phone keeps getting stuck at the HTC Quietly brilliant boot screen
Dude, do u flash boot.img first before flashing any rom?
Sent from my HTC One X using xda premium
serwan said:
Dude, do u flash boot.img first before flashing any rom?
Click to expand...
Click to collapse
which boot.img do i have to flash?
Read up!
advanzd said:
which boot.img do i have to flash?
Click to expand...
Click to collapse
Again my point.Why dont people read up before doing things.600$ Device man.Why do u wanna take ur chances.
Read up about the things u are gonna do first! :/
The stock one ......
You need to extract boot.img from rom.zip that you wanna flash.
Then put it on your fastboot folder and flash it using fastboot flash boot boot.img command. Then fastboot erase cache. Boot to recovery and flash your rom again.
Sent from my HTC One X using xda premium
aman360elite said:
Again my point.Why dont people read up before doing things.600$ Device man.Why do u wanna take ur chances.
Read up about the things u are gonna do first! :/
Click to expand...
Click to collapse
yeah i guess it was pretty dumb
advanzd said:
it says E:unable to open ums lunfile (no such file or directory)
Click to expand...
Click to collapse
And update the custom recovery, this indicates also that you might have old one !
Ow and if you want to flash files from recovery after you flashed the boot.img please UNHOOK the phone from the pc, it will see the file after doing that !!!
Update the recovery to 5.8.4.0 if you don't have that version
Then mount the sd card from recovery and copy the rom.zip
Copy the boot.img file from the rom.zip and place it in fastboot folder.
Put the phone in bootloader menu and flash the boot.img
Fastboot flash boot boot.img
Fastboot erase cache
Then go into recovery perform a factory reset and UNHOOK the cable from the phone and flash the rom.zip !

Screwed up my One X

I tried installing a custom rom today and I think I messed up really bad, because my phone does not get pass the boot screen and I cannot enter the recovery setting. I think I messed up after entering
fastboot flash boot boot.img
in the command prompt and restarting because I forgot to put the rom zip on my phone. Since then I could not get pass the boot screen and even tried running a backup using CWM, but it didn't help. I then managed to mount my phone and put the rom onto it and installed it, but again it didn't help.
Now my phone can only enter the bootloader, I select hboot and fastboot, but nothing else works. Everytime I select recovery or factory reset I get the htc boot screen and it gets stuck. Does anyone have any solutions?
Thanks
did u backup your phone rom???
if you did u can go to recovery and restore it
and never try to change rom again trust me in that
otherwise i can't help bcuz i did the same mistake
I did make a backup, but like I said I can't enter recovery anymore, so I can't load the backup.
Thanks for trying to help anyway though.
fastboot erase cache
Often fixes recovery problems.
BenPope said:
fastboot erase cache
Often fixes recovery problems.
Click to expand...
Click to collapse
Still not working, thanks anyway.
What HBOOT version do you have and what custom ROM are you trying to install?
edit: you didn't need to restart after changing boot.img cause in Recovery you can just go Advanced and then mount USB and copy the ROM or whatever files you want that way.
BlueSingA said:
What HBOOT version do you have and what custom ROM are you trying to install?
edit: you didn't need to restart after changing boot.img cause in Recovery you can just go Advanced and then mount USB and copy the ROM or whatever files you want that way.
Click to expand...
Click to collapse
I have hboot 1.39.0000 and I was trying to install the latest cyanogenmod cm-10-20130106-NIGHTLY-endeavoru.
Yeah I realized this after I restarted and did it get the zip onto the phone. I think I installed it, but the phone is still stuck on the boot screen
UPDATE: Okay I've managed to install CWM recovery, so I think I'm making progress
You had to flash CWM again? Odd..
Anyway, if you happen to encounter the same problem with CM10 I suggest you try some other custom ROM.. Just make sure you "fastboot flash boot boot.img" and then "fastboot erase cache", and if for some reason you decide to format the sdcard or simply forget to add in the ROM zip, you can do it in Recovery when you mount the device as USB under Advanced options. Best of luck!
BlueSingA said:
You had to flash CWM again? Odd..
Anyway, if you happen to encounter the same problem with CM10 I suggest you try some other custom ROM.. Just make sure you "fastboot flash boot boot.img" and then "fastboot erase cache", and if for some reason you decide to format the sdcard or simply forget to add in the ROM zip, you can do it in Recovery when you mount the device as USB under Advanced options. Best of luck!
Click to expand...
Click to collapse
Yeah CWM didn't load up, but I got it working again. Well it seems I'm back to getting the rom to install and being stuck at the boot screen again, so maybe I just need to use a different rom. Thanks for the help though
Okay, I've tried installing a few roms, but unfortunately I'm still on the boot screen, I can sometimes even reach the cyanogenmod boot screen, but get stuck there. I've read that this might be kernel issue, does anyone have any ideas?
CM10 requires a special boot.img for newer hboots. Check post 9308 in CM10 thread.
Sent from my EndeavorU using xda app-developers app
TToivanen said:
CM10 requires a special boot.img for newer hboots. Check post 9308 in CM10 thread.
Sent from my EndeavorU using xda app-developers app
Click to expand...
Click to collapse
You are a goddamn hero! Thanks, this solved everything.
No problem!
Sent from my EndeavorU using xda app-developers app

Stuck on White Boot Screen flashed wrong boot.img

Appreciated any help I can get here.
I'm attempting to flash my first custom ROM by following the instructions here (http://drippler.com/updates/share/how-unlock-root-install-custom-rom-your-htc-one-x).I've got to point 5 and instead of copying the zip file and boot.img to my phone I stupidly went and carried out the 'fastboot flash boot boot.img' command first. The result is the phone just hangs on the boot screen.
I can get back into recovery OK, but after a couple of hours searching I'm struggling to see how I can resolve this. I have tried a full restore from recovery but it didn't work.
I assume I have to put the boot.img and ROM zip file back on the phone and repeat the process. I cannot find a way to enable me to do this as I cant seem to mount the phone on the PC.
Thanks in advance.
You can mount the sdcard as a usb mass storage device inside the recovery. What recovery do you have ?
You flashed the new boot.img already ? All you have to do is enter the recovery and perform a full wipe before you install the new rom. Of the rom is not on the phone sd you mount it first and copy the rom over. Then continue to install it
Mr Hofs said:
You can mount the sdcard as a usb mass storage device inside the recovery. What recovery do you have ?
You flashed the new boot.img already ? All you have to do is enter the recovery and perform a full wipe before you install the new rom. Of the rom is not on the phone sd you mount it first and copy the rom over. Then continue to install it
Click to expand...
Click to collapse
I have Clockmod v5.8.1.8
No I didn't transfer the boot.img file from the new ROM to the phone. I just typed 'fastboot flash boot boot.img' into the command prompt. The new boot.img file was in the fastboot folder.
http://db.tt/Krlm4dPs
Flash the above recovery, you have an old one that does not support usb mass storage !
Ow and the boot.img does not have to be on the phone, only the rom.zip to install it. The boot.img file is only flashed in fastboot as you did. No need to do anything else.
When you enter the new recovery you go to
MOUNTS & STORAGE - mount as mass storage device (most bottom option)
Mr Hofs said:
http://db.tt/Krlm4dPs
Flash the above recovery, you have an old one that does not support usb mass storage !
Ow and the boot.img does not have to be on the phone, only the rom.zip to install it. The boot.img file is only flashed in fastboot as you did. No need to do anything else.
When you enter the new recovery you go to
MOUNTS & STORAGE - mount as mass storage device (most bottom option)
Click to expand...
Click to collapse
OK, thank you. New recovery installed, zip file transferred. Wipe cache partition & Wipe Dalvik Cache completed. Install from zip file completed. Re-boot and it still hangs.
I'm using the CM10 nightly from 17/2/2013 if this presents a problem at all?
I've also tried 'fastboot erase cache', which has no effect either.
Flash this boot.img
http://db.tt/uDdWaAtH
Also wipe everything ! Also data factory reset and under mounts and storage - format cache,data,system
Otherwise it will not boot again
Mr Hofs said:
Flash this boot.img
http://db.tt/uDdWaAtH
Also wipe everything ! Also data factory reset and under mounts and storage - format cache,data,system
Otherwise it will not boot again
Click to expand...
Click to collapse
Appreciate you taking time to help me out. Thank you. Were still not there though, it's still hanging on the first boot screen.
The CM10 zip file is only 171MB which seems awfully small to me. I'm currently downloading the Viper Rom 3.3.7 which is 625MB. Could this be part of the issue? Am I trying to flash just an update and not full ROM?
Nope, AOSP ROMs are small in size. The zip you have is legitimate full ROM.
TToivanen said:
Nope, AOSP ROMs are small in size. The zip you have is legitimate full ROM.
Click to expand...
Click to collapse
Thank you, that's that theory out of the window, I think this bloody phone may follow it !
Try this.....
First in recovery do
Wipe data factory reset
Wipe cache partition
Advanced - wipe dalvik cache
Mounts and storage - format cache, data, system
Then install the rom.zip, dont reboot and install directly the gapps.zip
Then you type
Adb reboot bootloader
Flash the boot.img again (for cm10 the modded one)
Fastboot flash boot boot.img
Fastboot erase cache
Fastboot reboot
*fingers crossed*
Mr Hofs said:
Try this.....
First in recovery do
Wipe data factory reset
Wipe cache partition
Advanced - wipe dalvik cache
Mounts and storage - format cache, data, system
Then install the rom.zip, dont reboot and install directly the gapps.zip
Then you type
Adb reboot bootloader
Flash the boot.img again (for cm10 the modded one)
Fastboot flash boot boot.img
Fastboot erase cache
Fastboot reboot
*fingers crossed*
Click to expand...
Click to collapse
Boom! Sorted, I think it was the fingers crossed bit that finally did it!
Many thanks for your help this afternoon, it is much appreciated. I'll buy you a pint if your ever in Sheffield.
Thanks ! I will add that to my todo list !!! Checked : trip to Sheffield !!!
Nice you tot it sorted ! :thumbup:
CASE CLOSED !
Also you probably want to flash a new recovery as well. Clockwork recovery has a habit of failing on one x phones. TWRP is currently the most stable recovery for One X.
Sent from my One X using xda premium
Greygollum said:
Also you probably want to flash a new recovery as well. Clockwork recovery has a habit of failing on one x phones. TWRP is currently the most stable recovery for One X.
Sent from my One X using xda premium
Click to expand...
Click to collapse
Can you explain that a bit more.....im using cwm sinds i had my good old desire. Never had a single issue with it. Never one failed flash or backup restore....
Sent from my GT-P5110 using xda app-developers app
CWM sucks on One X. The evita one x that is.
Yeah he's not so quick with an answer so i guess he's on a slow dual-core evita phone
Greygollum said:
Also you probably want to flash a new recovery as well. Clockwork recovery has a habit of failing on one x phones. TWRP is currently the most stable recovery for One X.
Sent from my One X using xda premium
Click to expand...
Click to collapse
It was the second thing I did! I'm now wondering why it's took me this long to finally root and install a Custom ROM on my android phone. Thanks for your help. :beer:
Sent from my HTC One X using xda app-developers app
No problem. I had issues with CWM failing to flash correctly on the One x. I have had no problems with TWRP. I have heard dozens of complaints about CWM in a few different phones especially the One x.
BTW I respond slow because I work for a living.
Sent from my One X using xda premium
Greygollum said:
No problem. I had issues with CWM failing to flash correctly on the One x. I have had no problems with TWRP. I have heard dozens of complaints about CWM in a few different phones especially the One x.
BTW I respond slow because I work for a living.
Sent from my One X using xda premium
Click to expand...
Click to collapse
Keep your pants on mate, it was just a joke....

Can't Mount Cache

I can't mount my cache the error message are can't mount/cache/lastlog and /cache/lastinstall
By mistake i have done clean to install a new ROM and hence my phone is without rom and i can't install a new one until /cache is mounted
I have philz recovery installed
Your help will be really appreciated
Thanks so much
AkshatBahety said:
I can't mount my cache the error message are can't mount/cache/lastlog and /cache/lastinstall
By mistake i have done clean to install a new ROM and hence my phone is without rom and i can't install a new one until /cache is mounted
I have philz recovery installed
Your help will be really appreciated
Thanks so much
Click to expand...
Click to collapse
same thing happend with me.........
Just repair cache by going to advance wipe>select cache/dalvik/data wht u want>change or repair file system and repair
Sent from my YU5010 using XDA Free mobile app
#pnexusj# said:
Just repair cache by going to advance wipe>select cache/dalvik/data wht u want>change or repair file system and repair
Sent from my YU5010 using XDA Free mobile app
Click to expand...
Click to collapse
dont have option to change or repair...i am on philz touch recovery not on stock
but whenever i go to wipe cache, data...it says cant mount or open cache/recovery/last log or /last install
Repairing option is in custom only and not in stock
Use twrp
Or flash factory images using fastboot
#pnexusj# said:
Repairing option is in custom only and not in stock
Use twrp
Or flash factory images using fastboot
Click to expand...
Click to collapse
tried to flash stock and twrp using fastboot. it shows successful on pc but when i reboot into recovery mode, it reboots with philz and same errors displayed....someone told me to flash cache.img. Actually i got cache.img of stock lollipop, but when i tried to flash it via fastboot the same error appears again.

Categories

Resources