Help Please! Something's wrong with my HTC Desire - Desire Q&A, Help & Troubleshooting

I have a rooted HTC desire which was running on defrost rom. I have a 2GB sd card and i used the rom manager to partition it. Then I tried flashing the RCMixHD rom after wiping data, cache and dalvik cache, but it said
E:Can't mount /dev/block/mmcblk0p2 (File exists).
Now when I boot my phone it gets stuck at the HTC screen. I can only use the bootloader and clockworkmod recovery.
I've tried doing a nandroid restore but I get "MD5 mismatch".
Please Help!

Repartition your SD card. Make sure you use at least 512 mb ext partition.

When I used ROM manager to partition it I used 512 mb ext partition and 64 mb swap partition.
I found a solution here
http://forum.cyanogenmod.com/topic/6433-solved-messed-up-partitions-on-internal-storage/
but I can't get about to doing it because I can't get adb to work(I have never used adb before). I tried but the SDK manager can't detect my phone.

wabbler said:
I have a rooted HTC desire which was running on defrost rom. I have a 2GB sd card and i used the rom manager to partition it. Then I tried flashing the RCMixHD rom after wiping data, cache and dalvik cache, but it said
E:Can't mount /dev/block/mmcblk0p2 (File exists).
Now when I boot my phone it gets stuck at the HTC screen. I can only use the bootloader and clockworkmod recovery.
I've tried doing a nandroid restore but I get "MD5 mismatch".
Please Help!
Click to expand...
Click to collapse
I got the same exact problem with this rom yesterday.. I had to buy a cardreader and restore my SD card.. no more try for this rom! haha.

Phew...I finally got my phone to boot normally after flashing my old rom(defrost) a few times and deleting all partitions from the sd card. Now I'm scared to flash anymore roms...I think I'll be using DeFrost for a very long time.

dont create a swap partition. just fat, then ext.

Related

Backup/Wipe ext-Partition

Hi,
I'm looking for a way to backup and wipe the ext-partition. I'm using ClockWordMod and partitioned my SD with ROM Manager.
ClockWorkMod can't mount my ext-Partition - so there is no way to wipe it or back it up.
With other Recoverymods Restore didn't work at all. So I'm perfectly happy with ClockWorkMod as it's reliable - the only problem is, that I can't do anything with the ext-Partition...
Any suggestions?
Linux can read ext partitions and backup/wipe no problem, but if your a Windows user then you will have to try a different recovery such as AM Desire Recovery, he says he has ext wipe working
Eggcake said:
Hi,
I'm looking for a way to backup and wipe the ext-partition. I'm using ClockWordMod and partitioned my SD with ROM Manager.
ClockWorkMod can't mount my ext-Partition - so there is no way to wipe it or back it up.
With other Recoverymods Restore didn't work at all. So I'm perfectly happy with ClockWorkMod as it's reliable - the only problem is, that I can't do anything with the ext-Partition...
Any suggestions?
Click to expand...
Click to collapse
i had the same problem then i flashed the permanent recovery (www.unrevoked.com/recovery) and problem solved!
Seems like ClockWork doesn't work with ext2 for me. Tried various versions, couldn't mount any ext2 partition (and that's what you get, when you partition your SD with ROM Manager).
I reformatted the partition to ext3 with Linux (I know there are also other Recoverys, but I find them too unreliable) and now everything works fine.
Strange that ClockWork can only mount ext3 but no ext2...
Of course this solves my original problem as I can wipe and backup the ext-partition with ClockWork now.
I have the same problem with my ext2 partition here.
If I run ext2 -> ext3 in Recovery, is my ext partition wiped after that? Or is anything running unchanged afterwards?
uTauro said:
I have the same problem with my ext2 partition here.
If I run ext2 -> ext3 in Recovery, is my ext partition wiped after that? Or is anything running unchanged afterwards?
Click to expand...
Click to collapse
I tried this, partition didn't get wiped and I was able to do a nandroid incl ext after that.
uTauro said:
I have the same problem with my ext2 partition here.
If I run ext2 -> ext3 in Recovery, is my ext partition wiped after that? Or is anything running unchanged afterwards?
Click to expand...
Click to collapse
Shouldn't get wiped, no.

problem

Installed adamg`s open desire rom and after installing cant seem to get the phone to boot, just stuck on htc screen. Tried to restore my nandroid backup but does the same thing after installation.
It does give an error after installation in the custom recovery, it reads
Restoring Sd-ext...
E:Can`t mount/dev/block/mmcblk0p2(file exists )
erroe mounting /sd-ext/!
Skipping format...
E:Can`t mount/dev/block/mmcblk0p2(file exists )
erroe mounting /sd-ext/!
Skipping format...
Have a partition installed 512mb taht was working fine today?
If I did a factory reset would i lose my custom recover and backups?
Any ideas
memphisuklf said:
Installed adamg`s open desire rom and after installing cant seem to get the phone to boot, just stuck on htc screen. Tried to restore my nandroid backup but does the same thing after installation.
It does give an error after installation in the custom recovery, it reads
Restoring Sd-ext...
E:Can`t mount/dev/block/mmcblk0p2(file exists )
erroe mounting /sd-ext/!
Skipping format...
E:Can`t mount/dev/block/mmcblk0p2(file exists )
erroe mounting /sd-ext/!
Skipping format...
Have a partition installed 512mb taht was working fine today?
If I did a factory reset would i lose my custom recover and backups?
Any ideas
Click to expand...
Click to collapse
double check your partitions, make sure you have FAT32 + EXT3 @512mb then flash the chosen rom again, this is your best chance.
go with my rom, linked through my signature, the update will wipe the Cache + dalvik cache but keep all of you personal data and apps.
LeeDroid said:
double check your partitions, make sure you have FAT32 + EXT3 @512mb then flash the chosen rom again, this is your best chance.
go with my rom, linked through my signature, the update will wipe the Cache + dalvik cache but keep all of you personal data and apps.
Click to expand...
Click to collapse
How do i check the partitions? Cant boot so can`t see them that way and haven't got card reader or anything. Im sure its got something to do with partition. Does this seem like it is causing the problem?
Any help appreciated.
bump, need help
have you wiped everything before flash?
I wiped with rom manager after downloading rom. Not sure of all the custom recovery options as rom manager usually does it all for you. Not sure if i should wipe date, cache etc, will this wipe my backups? Tried removing sd card but wont boot, not even sure how I would get another custom rom on sd card so i could flash that. I have both defrost 2.4a and opendesire aswell as a nandroid backup on my sd card but can't get these to boot either
Must be something to do with the sd card partition. Everything I try I get the message
E:Can`t mount/dev/block/mmcblk0p2(file exists)
error mounting sd/ext/!
Don't know what this means but think its causing the problem.
perhaps a bad sector on the SD?
try backing up everything on the SD, format it again & try the roms one by one to see which possible causes the issue
U need to try an alternative recovery.
Try using unrevoked, and flash and different recovery.
Sounds like the fake flash recovery u got with rom manager Isn't clearing ur partitions.
Sent from my HTC Desire using XDA App
My Wife has got same phone so I have full sd card backup from before I partition this morning. Might format sd card and put that back on. and restore backup from that. Format will remove partition wont it?
memphisuklf said:
My Wife has got same phone so I have full sd card backup from before I partition this morning. Might format sd card and put that back on. and restore backup from that. Format will remove partition wont it?
Click to expand...
Click to collapse
usually does some programs allow you to keep it tho but 90% of the cases its just gone
formatted card through windows but its still saying i only have 3.18gb. How do I get rid of partition?
memphisuklf said:
formatted card through windows but its still saying i only have 3.18gb. How do I get rid of partition?
Click to expand...
Click to collapse
in Windows XP Disk Management, right-click the existing partition,
and click delete, that will leave the whole card as unallocated space. Then
right-click on the unallocated space, and click new partition.
edit : or install http://www.sdcard.org/consumers/formatter/sdfv2000.zip
free SD partitioner
in disk management it only shows the size as 3.18gb, I made the partition through rom manager which I think formats it in linux which windows doesn't recognise.
Taking the Sd card out gets in onto the animation screen, so a little further, but still doesn't boot. Very frustrating. \\\\\any more help appreciated.
Flash a ROM that doesn't use Apps2SD.
can you link one for me pal, ripping my hair out here, lol. By the way how do you do full wipe in custom recovery ie data, cache, is that it?
edit. Don't matter. Sorted. Copied an earlier backup of sd card onto spare sd card and did a recovery. Still need to know how to remove the partition from other sd card using windows.
This was definitely the problem and won't be using rom manager to do another partition.
If someone does know how to remove partitions using rom manager from sd card via windows then would appreciate it if you would let me know...
Stock rooted ROM: http://forum.xda-developers.com/showthread.php?t=694564
Full wipe can be done using the "wipe data/factory reset" option in ClockworkMod Recovery.
To get rid of the ext Partition get gparted or something like that. Normal Windows cant see ext partitions because its a Linux filesystem. You can also take a Linux live cd.
Can't you just take ROM Manager and partition your SD card again? Swap 0/Ext 0/FAT 32 All
It looks like something isnt ok with the partitions so i would recommend to delete all partitions and make them new i also had a problem once with my sd card but after deleting all partitions and repartition it everything was ok again.

fix "can't mount /dev/block/mmcblk0p2 (File exists) error mounting /sd-ext/!.

I flashed a Leedroid 3.0 and it was just stuck in the boot screen. So tried to clear data and all thru recovery and i got this error "can't mount /dev/block/mmcblk0p2 (File exists) error mounting /sd-ext/!.
I downloaded gparted to repartition my 8gb sd card. I did a ext3 partition. When i plug back the sd card, the error still comes out in recovery mode. Any rom i flash gets stuck in Bootscreen still. I tried partitioning my 4gb sd card but it also gave the same error in the recovery.
please help. Been trying the whole day and still nothing is happening
Have you tried partitioning it through recovery? (If you have that option available)
I'd begin with reflashing a cwm recovery, cause maybe the problem is not your sd. In "mounts and storage" did you try to mount/amount sd-ext ?
Sent from my Desire using LeeDrOiD 2.4.1
I cant also mount/unmount sd ext. It says the same thing. can't mount /dev/block/mmcblk0p2 (File exists) error mounting /sd-ext/!. should i just buy a fresh new memory card?
What exactly is your recovery ?
Sent from my Desire using LeeDrOiD 2.4.1
flash clockworkmod recovery 2.5.0.7 . Im using a sd card now without partition. It seems to work with the rom. Using Leedroid 2.4.1 . If i use the original SD card and reboot it with it, its just stuck in HTC boot screen.
So you should just use parted again with your stock sd to make it work ...
Sent from my Desire using LeeDrOiD 2.4.1
can't mount /dev/block/mmcblk0p2 (File exists) error mounting /sd-ext/
Click to expand...
Click to collapse
Common error when card is not partitioned or wrongly partitioned. First make Fat, then make EXT.
http://forum.xda-developers.com/showpost.php?p=7279872&postcount=3
Thanks man. I was able to repartition. I made a wrong partition in gparted. Made a fat32 primary then the second one extended partition. From your post i made it primary also the second one. Now my rom reads the sd card. Thanks again.
Hmmm I had this exact same problem with LeeDroid 3.0.2... Trying to flash without wiping, had about 80 apps on my EXT3 partition... Got stuck on the white HTC screen for about 2 hours, gave up, pulled the battery, tried to flash the alignment zip, still stuck... tried to restore nandroid backup but then started getting this same error as you.
Thankfully was able to rescue all files from my SD card, format and partition again, then flashed LeeDroid 3.0.2 and restored a Titanium backup... everything running smoothly again! Phew...
streetdaddy said:
[..]
Thankfully was able to rescue all files from my SD card, format and partition again, then flashed LeeDroid 3.0.2 and restored a Titanium backup... everything running smoothly again! Phew...
Click to expand...
Click to collapse
May I ask how did you manage to do that?
EDIT:
Ok. Apart from the backup/restore issues that depend on having a healthy ext partition as I figure, the "can't mount [..] error mounting /sd-ext/!" problem is responsible for the "green HTC logo on the white screen freeze" also. So I've been trying to make it work all evening and this is what I found:
The Error (at least in my case) and the freaking "green HTC logo" freezez were generated because the Ext partition got corrupted in some bizarre and mysterious way. I have no idea how that could have happened, but I guess a small role in this ballet got played by the ROM itself and maybe even the nandroid backup built into the CWM (ClockWorkMod). It started right after I finished installing a fresh copy of the LeeDroid 2.4.1 and all my favourite apps (which worked flawlessly), rebooted into bootloader > CWM > nandroid and made the full backup of the system. Rebooting the device afterwards got me into the above mentioned freeze.
I tried many things, among which were flashing different ROMs and Radio images (without wiping though), but none worked. I just wanted to roll back to the previous state (because i've spent quite some time configuring and installing the 2.4.1) and it seemed impossible at that point. Browsing the recovery options got me into the Mount and storage section where I noticed the listed error with the ext partition. I thought maybe formatting will help - well, it didn't. After a couple of weird things I had tried, I've decided I should delete the ext partition (leaving just the fat32 intact). Creating a new ext partition from scratch seemed to solve the error. However this didn't solve the freezing. And the reason had to be the fact that when it created the nandroid backup images, the ext was already corrupt (or however unreadable), so the relative image was not written because it didn't see the source.
I doubt there is any way to fully restore my previously installed ROM with all of it's apps in place and in a functioning order, because the ext partition had data on it and now it's missing (hence the freeze).
Therefore the question: what could have gone so badly wrong to compromise the ext partition?
And another one: is the LeeDroid 2.4.1 ROM or the 2.5.0.7 ClockworkMod Recovery the culprit?
Sorry for the looong post. I look further to hearing from Lee, if his busy schedule allows it and thank him in advance.
Cheers!
streetdaddy said:
Hmmm I had this exact same problem with LeeDroid 3.0.2... Trying to flash without wiping, had about 80 apps on my EXT3 partition... Got stuck on the white HTC screen for about 2 hours, gave up, pulled the battery, tried to flash the alignment zip, still stuck... tried to restore nandroid backup but then started getting this same error as you.
Thankfully was able to rescue all files from my SD card, format and partition again, then flashed LeeDroid 3.0.2 and restored a Titanium backup... everything running smoothly again! Phew...
Click to expand...
Click to collapse
hi! having the same exact problem right now... could you please help me how did you rescue all of your sd-card and sd-ext partitions? Thank you very much!
same problem on my N1, reparition to resolved
hi..
i got this problem too
i have clockworkmod recovery. pvt4.
cyanogenmod 7.1.
didn't make any partitions,
everything is by default as i got with cyanogenmod
s-on.
sd - 8gb, class2
yesterday my desire freezed.so i had to pull out the battery. but i couldn't turn it on till' i didn't wipe cache and dalvik cache.
When i selected wipe dalvik cache i got this
E: can't mount /dev/ block/mmcblk0p2
(file exists)
but it wiped it and my phone worked.
this appears even without sd card
it freezed after a week again but after a couple of reboots it works again but the error still exists.
i am newbie so i don't know what to do?
So I flashed a ROM which stuffed up my partitions somehow (also became S-ON, WTH?!).
I got 'can't open /dev/block/mmcblk0 (or /dev/block/mmcblk0p1) (invalid argument)' when trying to mount /sdcard.
I also got the aforementioned 'can't open /dev/block/mmcblk0p2 (file exists)' when trying to mount /sd-ext.
After literally 16 hours of head banging, I realised when I partitioned the SD card again that they were logical instead of primary. Partitioned using minitool partition wizard home edition.
Rundown:
I'm using LeeDroid v3.3.3 with clockworkmod recovery 2.5.0.7
Make sure you partition FAT32 first as primary, then ext3 as primary. LeeDroid says to partition ext3 1GB after FAT32, so e.g. my SD card is 16GB, I have ~13.8GB FAT32 | 1GB ext3
This fixed the 'can't mount /dev/block/mmcblk0' error, /sdcard is mountable.
You can now run .zip files from recovery (yay!). Throw alignment_ext3.zip on there and run it. You should now be able to mount /sd-ext.
Do a full wipe + Dalvik cache wipe (to test /sd-ext accessibility). For me it was back to normal and I'm currently doing a restore.
Always do a backup.

newbie problem?

Hi
Playing around with my rooted htc deisire i tried to flash the new RcMic HBOOT
After doing god knows what
i cant start my phone and keep having this message
Error in CACHE: recovery/log (No space left on device)
please help
Give us more information what you did before.
Did you full wipe/factory reset & wipe cache? What partitions do you have on SD Card, are you S-OFF?
yes
i am s-off
i did wipe cache/wipe factory reset
i tried to restore to my lee droid 2.4 but my phone keeps looping from the start
What partitions do you have on SD Card, which HBOOT you are using, which version of the ROM you flashed?
i flashed this rom
http://forum.xda-developers.com/showthread.php?t=988570
i have no partition
hboot 6-93.1002
Did you read first post?
It clearly says you need 1GB+ EXT2/3/4 partition on SD card. Thats why you getting errors and end up with bootloop.
Also if you have Stock HBOOT be sure to flash A2SD+ version, and CM7 version if you flashed CM7 HBOOT partition table.
Before flashing again be sure to perform Full Wipe/Factory reset and Cache wipe!
theo.as said:
yes
i am s-off
i did wipe cache/wipe factory reset
i tried to restore to my lee droid 2.4 but my phone keeps looping from the start
Click to expand...
Click to collapse
I cannot find rcmixs hboot. Only recommend one for this rom, which is cm7. You flashed this one? If, you cannot restore leedroid rom, because the /system partition of cm7 hboot is to small. If not, wright partition sizes of your hboot here.
Swyped from my HTC Desire using XDA App
sorry guys cant really follow
what you are suggesting?
right now i cant flash anything
Reformat your SD Card, make FAT32 partition + 1GB EXT4 partition. (backup data if you have important files on SD)
Full wipe/Factory reset + Cache wipe.
Download RCMixS_v2.0_A2SD+_BravoHboot.zip if you have Stock HBOOT or RCMixS_v2.0_A2SD_CM7Hboot.zip if you flashed CM7 HBOOT earlier and put it on SD Card.
Flash it, and wait... it takes a bit longer on first boot!
Enjoy.
if i dont want to flash rcmix and want to go back to my old lee droid rom, i have to do all these things you describe?
Yes you need, but just flash LeeDroid ROM instead of RcMix.
You need to do the rest tho because LeeDroid require 512MB+ EXT2/3/4 partition too for A2SD.
Btw. you need to repartition your SD card only once, then you just wipe and flash other ROM if you want, but EXT partition is mandatory!
repartitioning using which method?
g parted or through windows?
sorry for all the questions
theo.as said:
repartitioning using which method?
g parted or through windows?
sorry for all the questions
Click to expand...
Click to collapse
GParted. With windows you cannot create an ext partition, because ext is a linux file system. But i would always use gparted or recovery of phone to partition sd card and never windows.
If U dont wanna use Gparted, then
use "MiniTool Partition Wizard Home Edition" in windows. (freeware-use google)
Can make all partitions, with no problems!
thanks very much guys
just finished
everything as before
followed your direction and i am back to business
Will this work for partitioning htc desire in windows. Tried Gparted but for some reason it wasn't working for me on boot.

[Q] Can't mount SD card in recovery to flash a new rom, help!

Hi there,
I was about to flash a new rom on my Dinc, and right after I formatted /system, the sdcard became unable to mount and now I can't access the .zip for the new rom. I've tried flashing 3 versions of CWM as well as one of TWRP but none of them can access my SD card. I also reformatted it in my PC with no success. I currently don't have any operating system on it so all I can work with is hboot and recovery.
Can anyone help me fix this?
egunth said:
Hi there,
I was about to flash a new rom on my Dinc, and right after I formatted /system, the sdcard became unable to mount and now I can't access the .zip for the new rom. I've tried flashing 3 versions of CWM as well as one of TWRP but none of them can access my SD card. I also reformatted it in my PC with no success. I currently don't have any operating system on it so all I can work with is hboot and recovery.
Can anyone help me fix this?
Click to expand...
Click to collapse
Did you format it fat32 with the pc? If the cards fine (can be used by pc and fat32) and recovery and hboot still cant find it, then id venture to say the sdcard slot is damaged or went out.
Using adb in recovery, you should be able to push a rom file to emmc and flash it from there.
cmlusco said:
Did you format it fat32 with the pc? If the cards fine (can be used by pc and fat32) and recovery and hboot still cant find it, then id venture to say the sdcard slot is damaged or went out.
Using adb in recovery, you should be able to push a rom file to emmc and flash it from there.
Click to expand...
Click to collapse
I did format it FAT32, and the SD card is definitely fine. I don't think that the slot is the problem either because other things won't mount either.
Actually the only thing I can mount in recovery is /system, everything else is inaccessible. It was having mounting problems before which is why I decided to flash it with a new rom (was running Jellybean very poorly). I also tried flashing the original recovery, doing "clear storage" that way, and reflashing with CWM but it had no effect. During the storage wipe it said that /datadata doesn't even exist. It also shows errors that it can't mount the files /dev/block/mmcblk01 and /dev/blk/mmcblk0p2
This is what the log shows when I did the CLEAR STORAGE using the stock recovery
Restore factory NV setting...
Formatting DATA:...
E: format_root_device: can't find mtd partition "datadata"
Formatting EMMC:...
Formatting CACHE:...
Wipe ALL failed.
E:Can't mount DATADATA:recovery/log
E:Can't mount /dev/block/mmcblk0p2 (or /dev/block/mmcblk1)
(No such file or directory)
The same thing happened to me long back. What I did was that I cleared data, cache, and dalvik cache... Worked for me... You can try but i wont take any responsibility
Sent from my HTC Salsa C510e using XDA

Categories

Resources