E: Can´t mount /dev/block/mmcblk0p2 (File exists) - Desire General

Hello,
I have a PVT4 Desire with erasezize 40000
I am rootes and s-off
Recovery : Clockworkmod Alpharev Recovery 2.5.1.8
After i switch from Starburst Rom to a normal apps2sd+ rom, i got this:
E: Can´t mount /dev/block/mmcblk0p2 (File exists)
Error everytime in Recovery.
This error comes before i have to confirm the wipe of the dalvik cache.
I unrooted the phone with a official RUU and rooted it again and did s-off again,
but the error still exists.
Stock Rom is working, recovery is working, but i am afraid of flashing a new rom
Please help
Thank you

Do you still have the ext partition? I believe this is the error that you get when there is no ext partition.

no, i don´t have a ext partition, because it is a rooted stock rom running now without apps2sd+
its a new sdcard fat 32
do you mean if i create a new ext partition on the sd card, the error disappers ??

Yes but i don't know if there is any point in doing that.

ok, i created a new ext 3 partition on the sd card, but the error still exists

I found the exact error in a different thread here.
They managed to solve it

dunno if its of ne help....but i had the same prob of "E:Can't mount /dev/block/mmcbld0p2 (file exists)" with my HTC Desire with cynogen recovery mod and leedroid.
phone was getting stuck at boot screen. only recovery was working. i unmounted the SD card, deleted the ext3 partition through Disk Management in windows and mounted the card again. Now, android booted (but without A2SD) i downloaded ROM Manager and used the option "partition SD card" and like a miracle, the phone rebooted, partitioned my SD card, and rebooted back to android (this time WITH A2SD working!!!)
hope it gets as easy as this for u guys as well.
(P.S. : before A2SD, my internal space showed 92.4 mb, after A2SD started functioning, internal memory showed 130.2 mb)

PVT4 Desire's can't use CWM - they have to use AmonRA as highlighted in the stickied at the top of the General thread

stuck in bootloop, with same error in recovery
i have somehow managed to screw the device, it wont boot stuck at htc white screen, id really appreciate if you could help, i cant manage to get adb setup on my computer to list the connected devices maybe the driver issues
what i did to get into this was this:
1.i was using a custom rom from Auraxtsense 8.3 with Amon.RA recovery
2.i got into Rom Manager n install clockworkmod recovery just out of curiosity, the next reboot i was stuck on the htc screen
3.i can get into recovery n stuff, but i cannot mount my SD card, ive somehow managed to get my data out of the card by using it from another phone
steps tried:
1.i tried to go into fastboot n use a RUU to flash it but i got a Error 171 usb connection error
2.tried using Android fastboot commander but it fails to flash any type of file
i cannot understand the right process to go about things please help me, even if i can setup adb with the right drivers, access it from hboot or so push files make it stock then root n stuff again
formatted the sdcard totally to fat32 also n then tried via recovery to partition n all no luck

AceNik said:
i have somehow managed to screw the device, it wont boot stuck at htc white screen, id really appreciate if you could help, i cant manage to get adb setup on my computer to list the connected devices maybe the driver issues
what i did to get into this was this:
1.i was using a custom rom from Auraxtsense 8.3 with Amon.RA recovery
2.i got into Rom Manager n install clockworkmod recovery just out of curiosity, the next reboot i was stuck on the htc screen
3.i can get into recovery n stuff, but i cannot mount my SD card, ive somehow managed to get my data out of the card by using it from another phone
steps tried:
1.i tried to go into fastboot n use a RUU to flash it but i got a Error 171 usb connection error
2.tried using Android fastboot commander but it fails to flash any type of file
i cannot understand the right process to go about things please help me, even if i can setup adb with the right drivers, access it from hboot or so push files make it stock then root n stuff again
formatted the sdcard totally to fat32 also n then tried via recovery to partition n all no luck
Click to expand...
Click to collapse
Flash the rom again but no wipe.
I get the /dev/block **** when I wipe Dalvik cache but everything is working fine.

GoogleJelly said:
Flash the rom again but no wipe.
I get the /dev/block **** when I wipe Dalvik cache but everything is working fine.
Click to expand...
Click to collapse
i cannot access sd card, when in recovery n try to choose option flash zip from SD it gives this error
tried RUU also but get that stupid USB error
u think guys at HTC RMA will fix it?

Format the SD Card and see if that works.

Thanks, Steps that worked
GoogleJelly said:
Format the SD Card and see if that works.
Click to expand...
Click to collapse
hey thanks, i did that plus i also needed to run this command that seemed to have fixed the issue
Code:
fastboot oem enableqxdm 0
although i followed 2 threads
No-ADB-No-SD
&
Usb Brick Function
but jus used the command n formatted memory card n stuff worked not i couldnt move those 2 files mentioned here to the system since cat commands couldnt work
im still unsure device seems restored using my earlier rom from AuraxtSense with Data2SD
i still wonder if it completely fixed, n whether i should go ahead n create a goldcard, n like i need a guide to know what are the perfect things to do to keep as backup when such stuff happens

dunno if its of ne help....but i had the same prob of "E:Can't mount /dev/block/mmcbld0p2 (file exists)" with my HTC Desire with cynogen recovery mod and leedroid.
phone was getting stuck at boot screen. only recovery was working. i unmounted the SD card, deleted the ext3 partition through Disk Management in windows and mounted the card again. Now, android booted (but without A2SD) i downloaded ROM Manager and used the option "partition SD card" and like a miracle, the phone rebooted, partitioned my SD card, and rebooted back to android (this time WITH A2SD working!!!)
hope it gets as easy as this for u guys as well.
(P.S. : before A2SD, my internal space showed 92.4 mb, after A2SD, internal showed 130.2 mb)

the error's gone, but problem exists
hey the error of the recovery not being able to access memory card is gone, but now when within the android OS the problem is when connected to the computer the charge sign or even the prompt to mount as disk drive does not show in the notification
in short i need to mount my memory card on the computer n the android OS cannot figure out how, is there somethin that may still be locked, i issued a command earlier from fastboot to get the earlier problem go
Code:
fastboot oem enableqxdm 0

You have the USB brick issue. The misc partition gets corrupted.
If you search you will find the solution.
Sent from my HTC Desire using XDA App

Jpcurrie said:
You have the USB brick issue. The misc partition gets corrupted.
If you search you will find the solution.
Sent from my HTC Desire using XDA App
Click to expand...
Click to collapse
hey thanks, i tried here
i need some help
Code:
3. Get flash_image from the attached files below
Move this to /data/ , and flash the modified image using:
"/data/flash_image misc /data/mtd0.img"
You can move both mtd0.img and flash_image by putting it on your sdcard, and issueing the following command in a terminal emulator:
'cat /sdcard/flash_image > /data/flash_image'
'cat /sdcard/mtd0.img > /data/mtd0.img'
You might have to do 'chmod u+x /data/flash_image' before you run the commands (or chmod 755 /data/flash_image)
4. Repeat step 3 a couple of times if it doesn't seem to work well.
5. All done! Reboot, you should have normal usb connectivity. Post your 'fastboot oem boot' log and intermediate steps if it fails.
i got the 2 files on my sdcard, im rooted but S-ON, i tried the 3 commands
cat /sdcard/flash_image > /data/flash_image
cat /sdcard/mtd0.img > /data/mtd0.img
chmod u+x /data/flash_image
in terminal emulator on phone, but when i press enter jus shows # again
then tried /data/flash_image misc /data/mtd0.img
says illegal instruction or somethin as an error
can you help me if im doin this rite? i browsed the /data/ folder via a ESFile Browser it seemed to be empty

I had this issue with my SD using, i solved it. Just partition your SD with 512mb for ext2 primary and the rest for fat32 WITH ALSO primary partition, I was using FAT32 Primary and EXT Logical, thats why i got the error =)
Hope it helps, and sorry for my bad english

hi guys, im also getting the following error... E:cant mount /dev/block/mmcblk0p2
i have searched for days now trying to find the solution, i see something about adb and command lines etc but i have no idea how to do that!
plus i see that it means that ineternal partitions are somehow messed up, but i only get this error with one of my sd cards.. my old one works fine. so surely it is a sd card problem,
i have so far tried partitoning with cwm recovery, in windows, using gparted and no luck.. as anyone found a definate solution yet?!
thanks

Solution to E:cant mount /dev/block/mmcblk0p2
moley10 said:
hi guys, im also getting the following error... E:cant mount /dev/block/mmcblk0p2
i have searched for days now trying to find the solution, i see something about adb and command lines etc but i have no idea how to do that!
plus i see that it means that ineternal partitions are somehow messed up, but i only get this error with one of my sd cards.. my old one works fine. so surely it is a sd card problem,
i have so far tried partitoning with cwm recovery, in windows, using gparted and no luck.. as anyone found a definate solution yet?!
thanks
Click to expand...
Click to collapse
hey i had this problem a few weeks back
refer this thread just to get the update.zip file
1.format your SD card to FAT32, put update.zip on it
2.boot into fastboot, connect usb cord to phone n computer
to get into fastboot mode
press volume down + power held for a few seconds when phone is off
then press volume down once n enter fastboot
then connect the phone to the computer
3.on the computer run command prompt n browse to the director with android SDK n go into the tools folder
execute this command
Code:
fastboot oem enableqxdm 0
4.once this is done, the SD card is then recognized by the recovery
5.now reboot go back into recovery from the same volume down+power sequence n then say flash zip from SD card
to get into recovery
vol down + power at start n then select recovery (having access to recovery is important)
then choose flash zip from sd n flash the file update.zip from your sd card
basically the fastboot command n format of the sd card should be fine to let you flash a new ROM zip file n get the phone started
but the issue is actually called a USB brick in which, you lose access to bluetooth, battery drains a lot, n there is no way to access mem card via usb on the computer its not recognized
hence i flashed this update file from that forum there, which describes the fix in detail

Related

[Q] Cant mount sd card

So today i rooted my desire, and tried installing the Sense 2.2 HD.
The installation failed and now i cant boot up, get stuck at the white screen with HTC logo. Connected SD card through USB in recovery mode, and formated it multiple times successful into all kinds of formats (fat16, 32, ext2, 3) in both windows and ubuntu.
Now when i try to run the update.zip or any rom file from recovery i get the following error
E:Cant mount /sdcard
(No such file or directory)
or some other problem
Any help would be nice
Moved to Q&A.
Take a look HERE. Hopefully this should sort you out.
I've did a wipe data/factory reset, is it still rooted after that?
Cant get this crap to work. It boots straight into Fastboot usb now. But it wont find the sd card. Its the stock sd with 4 gig. My pc finds it and it works
How do i get my phone to recognize the sd card?
Yes you should still be rooted, a wipe/factory reset won't unroot your handset.
All you need to do is the fastboot command to get your SD card recognised again. If this doesn't help, I'd try a new or different card.
Wow took awhile. Downloaded an RUU and went into fastboot and updated.
All sorted then?

Lost!!!

OK, been screwing with iPhones for YEARS.. (Franlkly, that ****s a cakewalk compared to screwing with android phones)... Anyway, I've inherited an HTC desire that's been rooted with Clockwork 2.something, and a froyo 2.2 rom. I've since updated the hboot to 0.93.0001 FROM .83 or .84 or something... or im TRYING to get the gingervillian rom to function correctly but im having problems with the whole clockwork 3.0 thing. (I cant figure out how to install clockwork to the phone NOT the SD card.. as Im assuming i need clockwork installed to the phone to handle the whole EXT on the SD thing...
(Basically, when i run in a terminal:
su
a2sd cachesd
it returns a "cant mount sd-ext" error...
(this is my biggest problem so far... after that is... HOW THE HELL do i install clockwork to the phone (or upgrade clockwork to the phone) rather than the SD card (yes, i can run the clockwork 3.0 from the sd by entering recovery and "installing" it (which really only runs it) from the sd card (wether it's named update.zip or recovery.img or blahblahblah.zip)...
As im fairly new to the android thing (and for the record.. the android kicks the **** out of every iphone ive ever touched)... can someone PLEASE... point me in the general direction of right?
really? nothing? no one has had a single issue with going to gingervillain? and cant point me in ANY direction? THIS i find difficult to believe...
from what i understand you want to put the latest clockwork recovery onto your phone ????
if so in rom manager click (i not used it for a long time ) the top one syas something like flash clockwork / current clockwork , boot into recovery search for the zip it created and install
or you can get the img file and push it via fastboot
fastboot erase recovery (enter)
fastboot flash recovery clockwork-recovery.img (enter)
^^ thats the commands to push it once you have directed to where it is .. for eg
cd c:\ enter (then direct it to where recovery.img is preferably in tools folder of sdk )
if thats not what you want then thats just some useless info you have gathered .....lol
It's not that difficult your are just mixing up a few words.
Clockwork is a recovery, this way you can flash new roms etc. I think you are using an old tutorial about rooting etc.
1. Download unrevoked to root your device. You can select to install a different recovery in Unrevoked.
2. I would suggest using a different recovery, look for amon-ra in the rom development thread.
3. This error "cant mount sd-ext" means that you don't have an ext3 partition on your SD card. There are a lot of tutorials how to do this, but I think the easiest way is true the amon-ra recovery. (I believe that clockwork also has this option) You have an option to partion your SD card. Make that ext3 partition 512mb or 1gb in size. Set swap for 0. The rest fat32.
4. After you have done this you can type the commands again in the terminal and it will work.
You can skip part 1 and 2 if you want but I suggest that you follow them.
ps the Hboot does not matter anymore which version you have.
OK, so I've gotten a little further. Ive successfully installed Clockwork Mod 3.0.0.5 onto the phone itself (installed via terminal as:
su
flash_ image recovery /sdcard/Clockwork.img
Then did a factory reset of the phone, booted into recovery, formated the sd card with a 1G ext partition, and 128MB swap... the rest as FAT. Then mounted as USB, transfered the Gingervillian 1.5 image to the sd card and installed Gingervillian. Booted into Gingervillian, installed terminal and tried to move the Dalvik cache. TO NO AVAIL...
I still get an error saying that the davlik cache cant be moved.
Additionally, from Clockwork, after formating the SD card, i try to mount sd-ext and it says it cant...
any advice?
OK, apparently it's the SD card I was using (i was attempting to use a 32GB SD card... I swapped back to my 8GB sd card and it seems to work flawlessly.
Any ideas on what would stop the 32gb sd card from taking an ext partition?
(interestingly, google maps crashes when i attempt to a2sd cachesd on the 8gb sd card...)
I didn't need to have an ext 3 partition on my card to use Oxygen and also I didn't update my HBoot from the default.
Using clockwork recovery 2.5.0.7
Just use Rom Manager to install and reboot into clockwork recovery and then from there you should be able to clear the cache and install oxygen with no problems with only a fat32 partition.

[Q] CWM not mounting SDcard (any SDcard)

OK. So I need some serious help.
I have thrashed the web and found similar issues but the fixes there do not work for me.
Today I followed the instructions on the t-mod site (t-mod.org) to install T-Mod LeeDrOiD HD V3.3.3 Port R5 A2SD (Australian version of Leedroid). I had to apply the Telstra froyo RUU first to update my Hboot. The root process and s-off seemed to go fine. I installed the radio Radio_32.56.00.32U_5.17.05.08 and then T-mod.
On the first boot it went past the s-off ‘Why so serious’ screen and I thought I had it made but then the keep looping through the same boot animation screen. The last line reads “Detecting phone storage…”
I went back to recovery and found the CWM could not mount my sdcard.
CWM-AlphaRev Recovery v2.5.1.8
E:Can’t mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
(no such file or directory)
Error mounting SDCARD:!
Since then I have tried a number of things.
- Tried to format card from CWM. Failed
- Tried to format card in Windows 7, which worked. But did not help.
- Tried a different sdcard. No difference.
- Tried to reapply the Telstra RUU. Successfully detected the device but would not complete.
- Hit the panic button.
Other people have reported similar issues with CWM not mounting the sdcard but this is generally fixed by either formatting the card or using a different card. The card in the phone was a brand new Lexar 16GB class 6 and then I tried the original 2GB Sandisk.
Please help.
See my replies here - http://forum.xda-developers.com/showthread.php?t=1176663
Wow. I look at that but not well enough. I thought it was for only when your pc would not detect your phone but it is so much more. thanks
It really is much easier than it looks. Just get Android Flasher from the link I provided in the other thread and run that command and that should re-enable your SD card on your phone.
This happened to my Desire once and I was stuck for hours, in the end found this to fix it, just plug your phone up via Fastboot and give this a go:
fastboot oem enableqxdm 0
Same thing happened to me just now. Fastboot says OKAY but still sd cant be mounted. Is there any other way? I used ADB, I'll also try Android Flasher.
EDIT : I formatted SD via CWM now it works
EDIT2 :Formerly I formatted with gparted in Linux, still wondering why it went wrong
please delete me
Hey Guys, i have the same problem. But i dont know what i should do with the Android Flasher ... Just go to /data an execute the files?? I have the Galaxy S2!
When i click on external_sd/ it says No files found. And how can you re flash the ROM, without having the sd card working. (because all the people say after re flashing it worked again:/)

FXP - Flash file not on sd card root

Good evening,
sorry for the question. But i have a very serious problem. I tried to flash the FX105 Rom , everything went good.. but i Forget to save the Rom in the root of the Sdcard... i wiped all cache and the folder where it used to be "ROM"... So now i cant select it to flash... how can i put the file in the root of SD card now? if i connect to my Laptop i have only ADB access..windows 7 can not mount my sdcard, i want to move the .zip file in to the root directory, so i can select it from FXP Recovery Mod...please help me, im very stuck now
Please
Have you tried the mount options in CWM?
take out sd card,put on cardreader,connect to pc,transfer..
sent from my LT18i FXP103 SuperCharged
hi, i have no card reader for micro sd...
I try this ways:
1)phone is off, pluged to pc, menu key is pressed, then i turn on the phone, the LED is blue... on fastboot shell: fastboot devices.. i get numbers/letters.. but if i try to do this :
adb shell
adb mount sdcard
cd sdcard
adb push <filename> /sdcard/
fast boot says: no device found error...
in CW option i tried the following scenario... usb device plugged to my phone... i normally turn on the device... then on mount options: i select Mount sdcard.. then CW reboots thats it, nothing happens on my pc...
Please guys if you have any idea, please help me
daftman6 said:
in CW option i tried the following scenario... usb device plugged to my phone... i normally turn on the device... then on mount options: i select Mount sdcard.. then CW reboots thats it, nothing happens on my pc...
Click to expand...
Click to collapse
Afaik, you have to boot into recovery, go under mount options, select mount sd card and then connect it to your PC. Usually it should detect your device.
I've always done the same.
And if you don't have a card reader, I don't think it's too expensive to buy one.
Thank you guys, ive solved the problem.
Now i have FXP Ice Cream Sandwich on my Arc! really great rom.
Thanks!

[Q] USB Brick And No Rom Access

Hey Guys,
I've inherited a G2 from a good friend of mine, but it seems that USB access is bricked on the device. I'm unable to mount the SDCard through CWM which makes it unable to flash any rom.
Also, looks like he formatted the OS as I'm unable to boot up CM7 on the phone as it just sits at the HTC screen forever. I can access the device in Fastboot and ADB just fine however.
When I ran the 2 commands:
fastboot oem enableqxdm 0 (unblock your sd-card)
fastboot oem eraseconfig (fix misc partition)
I'm able to read and write files to the SDCard in ADB, but CWM is still unable to mount the SDCard. Anyone have any ideas on how to get the SDCard to read on this guy? It's currently S-OFF on HBOOT 0.84.2000.
Thanks!
Try pushing a zip file with adb push?
Can you see the external storage in your PC (even if it's not accessable) ?
Any kind of error messages while you trying to mount it?
Check the device tab in your PC, if the system have proper drivers for the device.
I guess you know following, but for the record:
If ADB works, use this:
adb push filename.zip /sdcard/filename.zip ......... (rename "filename.zip" twice to the proper name of your zip file)
If not, try to reflash the recorvery via:
fastboot flash recovery recovery.img ........... (unrar the archive first to get IMG file)
Turn device off, remove battery, put battery back, hold trackpad, push power btn. Choose recorvery -> u're back in CWM.
Or maybe ony the SD card have corrupted FAT table / unknown format for OS.
Try to remove the card from phone and connect it to PC via some kind of card reader, or another phone which can connect card as mass storage. Reformat the card to FAT32 (sometimes erase only does not help, so untick quick format and do it again).
Easy way to mount SD card in custom Recovery
ChristmasGT said:
Hey Guys,
... a G2 ... , ... USB access is bricked ...
... can access the device in Fastboot and ADB ...
When I ran the 2 commands:
... but CWM is still unable to mount the SDCard. Anyone have any ideas on how to get the SDCard to read on this guy? It's currently S-OFF on HBOOT 0.84.2000.
Thanks!
Click to expand...
Click to collapse
Mounting SD card in Recovery? Telling recovery to use internal fstab containing sdcard entry should work:
Code:
adb shell mount /sdcard
See what partitions are mounted now:
Code:
adb shell mount
See if the sdcard has some content that can be read from Recovery:
Code:
adb shell ls /sdcard/*
Best regards,
Catherall
Hey Guys thanks for the suggestions. I'm able to push ROMs to the SDCard, but it seems like they vanish after the phone's rebooted.
when pushing I use the following command:
adb push C:\<rom name> /sdcard/
after the upload is complete, I can do "ls /sdcard/" and see the rom inside. But I'm still not able to mount or see it inside of CWM.
Cahterall thanks for the suggestions on the commands, I've tried running them but everything seems to be not found when it comes to the SDCard, which makes it confusing as to how the ROM is even being pushed there. Below's the output of the commands you suggested, I'm also researching like mad to see If I can find any solution.
~EDIT
I think the underlying cause is that I'm getting the following error:
/dev/block/mmcblk1p1 no such file or directory
since /dev/block/mmcblk1p1 is missing it can't mount. Any suggestions?
"Mount and storage" menu in Recovery
ChristmasGT said:
Hey Guys thanks for the suggestions. I'm able to push ROMs to the SDCard, but it seems like they vanish after the phone's rebooted.
when pushing I use the following command:
adb push C:\<rom name> /sdcard/
after the upload is complete, I can do "ls /sdcard/" and see the rom inside. But I'm still not able to mount or see it inside of CWM.
Click to expand...
Click to collapse
Hello,
the output of mount shows that your sd card is NOT mounted at all.
However, Recovery has a directory called /sdcard on the ramdisk where the system is started.
This directory is used to mount the content of the sd card.
When the sd card is not mounted you still can write files into the directory /sdcard on the ramdisk, but they will be gone when you reboot the phone.
Usually in a custom ROM you can use the menu item "Mounts and storage" (engage with trackpad) and choose either to "mount /sdcard" or to "mount sd card to USB".
Mounting sd card to USB should connect the sd card as usb harddisk to your computer.
And mounting /sdcard (the partition) allows to push files on sd card using "adb push".
ChristmasGT said:
~EDIT
I think the underlying cause is that I'm getting the following error:
/dev/block/mmcblk1p1 no such file or directory
since /dev/block/mmcblk1p1 is missing it can't mount. Any suggestions?
Click to expand...
Click to collapse
When I remember correctly then the Desire Z uses "/dev/block/vold/179:33" to mount the sd card with type vfat.
Are you sure that your sd card is formatted using FAT?
Best regards,
Catherall
Hey Catherall, thanks for all the help man!
Unfortunately, trying to mount the /sdcard or mount USB storage gives me the following error:
"E:Unable to write to ums lunfile (No such file or directory)"
I've tried multiple SD Cards and long formatted all of them to FAT with the same results. Can't seem to find any resolution to this at all which is unfortunate.
Just wanted to update this:
I've gone ahead and updated the System / Data / Boot / Cache via fastboot (I'm S-Off) from the following thread:
http://forum.xda-developers.com/showthread.php?t=1572924
Also, it does NOT appear that my EMMC is corrupt and has 2.09GB free. Any ideas by chance?
Still looks like I'm unable to get past the White HTC Logo and still don't have any type of SDCard Access.

Categories

Resources