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
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.
im trying to install android revolution, i did superwipe but forgot to put the zip file for the rom on the phone. i cant access the sd card from recovery anymore so how do i put it on there to flash it?
You'll have to push the file using adb
adb push /path/to/file /data/media
That will put it on the root of your SD partition
I'm special.
Sent from my Full AOSP on Toro-VZW using xda premium
Michealtbh said:
You'll have to push the file using adb
adb push /path/to/file /data/media
That will put it on the root of your SD partition
Click to expand...
Click to collapse
This but make sure to mount /data in recovery
Sent from my sprint galaxy nexus
Have ADB installed, in recovery mode type this to copy file to the internal storage:
adb push locationoffile.zip /data/media
Type this to copy everything from your internal storage to a backup folder located in your ADB directory:
adb pull /data/media ./backup
phio said:
Mounts and storage - mount USB storage
Click to expand...
Click to collapse
The Nexus do not even have that option available since it does not use UMS mode.
Markolic said:
im trying to install android revolution, i did superwipe but forgot to put the zip file for the rom on the phone. i cant access the sd card from recovery anymore so how do i put it on there to flash it?
Click to expand...
Click to collapse
I did the same with my htc incredible but still had cwm's recovery installed. To put a install file on my zip card:
1. Start phone - and enter the boot screen (for me, my phone automatically went to the boot screen since I didn't have any system installed). If recovery is not a scrollable option, then select and run bootloader and the recovery option will become available.
2. Select and press 'recovery' to go into recovery
3. Select and press 'mounts and storage'
4. At the bottom of the mounts and storage screen, select and press 'mount usb storage'
5. Plug you phone into your computer and a new removeable disk (your sd card) should be available on your computer.
6. Copy install files from computer to phone sd card.
Hope that helps.
selevine said:
I did the same with my htc incredible but still had cwm's recovery installed. To put a install file on my zip card:
1. Start phone - and enter the boot screen (for me, my phone automatically went to the boot screen since I didn't have any system installed). If recovery is not a scrollable option, then select and run bootloader and the recovery option will become available.
2. Select and press 'recovery' to go into recovery
3. Select and press 'mounts and storage'
4. At the bottom of the mounts and storage screen, select and press 'mount usb storage'
5. Plug you phone into your computer and a new removeable disk (your sd card) should be available on your computer.
6. Copy install files from computer to phone sd card.
Hope that helps.
Click to expand...
Click to collapse
As stated that doesn't work with GNexus. ADB is the only option
eksasol said:
The Nexus do not even have that option available since it does not use UMS mode.
Click to expand...
Click to collapse
How embarrassing. I was messing with my fascinate all morning. I forgot which forum I was even on. -__-
Sent from my Full AOSP on Toro-VZW using xda premium
While in recovery plug your device into your computer with the usb and then just go into the partitions manager and then select mount usb mass storage and that will mount your sdcard to your computer.
brentezekiel said:
While in recovery plug your device into your computer with the usb and then just go into the partitions manager and then select mount usb mass storage and that will mount your sdcard to your computer.
Click to expand...
Click to collapse
As already stated above, GNex doesn't support Mass Storage mode at all.
And hey, what's the point of bumping a thread as old as this?
Sent from Google Nexus 4 @ CM10.2
AndyYan said:
As already stated above, GNex doesn't support Mass Storage mode at all.
And hey, what's the point of bumping a thread as old as this?
Sent from Google Nexus 4 @ CM10.2
Click to expand...
Click to collapse
he's prolly trying to get his post count up so he can then clutter up development threads.
Ok guys, long story short my cell phone stays on a loop while booting, I'm running JB 4.2 (AOKP).
I need to get some information from the internal storage before wiping the device, so far I've tried to mount the USB storage from CWM and it only shows my external SD on my computer. I tried mounting/unmounting "emmc" and "sdcard" (and pretty much every other mount point) whithout success so as a last resource I'm trying to pull the data using ADB, however when I start the adb server it doen't show any device (the device is on recovery mode at the time, CWM v5.0.2.7).
So I guess my question is, how can I get ADB to detect my cell phone in order to pull data from it while on recovery mode?
Of course, if you have any other suggestions as to how to get the data from it please let me know.
just mount the internal sd card
First an easier method would be to just flash the latest twrp via odin and then mount the internal sd card from there because the cwm your using is way outdated and has alot of problems. also i said twrp beacuse its easier to use than cwm and the layout is better