Hello,
Since i tried flashing my phone to 3.0.5 leedroid i get the following problem.
the phone gets stuck in bootloop!
I used the zip file for the new ext3 allignment from the thread of Leedroid.
After i flashed the 3.0.5 i get dalvik cache errors.
I wiped all cache and the dalvik as well before flashing the rom.
See my logcat attached.
I can not get passed this
someone please help me!
try to mount sd card manually in the recovery after installing 3.05 and before the first boot
It solves this question for me..
There are some directions for enabling SD card in fastboot in this thread which might also help:
http://forum.xda-developers.com/showthread.php?t=691639
Found the issue!!
First of all thank you all for your help and giving out the information that might be helpfull for others.
As I wanted to put a new zip file on the FAT32 partition of the SD i noticed something:
The partition was corrupted!
So after checkinng the SD card all partitions seemed corrupted.
So after reformatting the SD card in the following order:
1. make a new fat32 partition of 2.72 GB
2 make a new ext3 partition of 512 MB
3 make a new swap-file partition of 219 MB (this size seems weird to me, but there was no more room)
After this has been done, I hooked up the phone to my pc with the Android SDK installed.
I started up the Dalvik Debug Monitor and keeped a close eye for errors.
After this i mounted the sd card to my pc again in clockworkmod.
I copied the rom zipfile again.
Reflashed the phone and made sure the SD card was mounted to the phone again.
Rebooted my phone and it worked!
Thank you all for your input.
Related
Hello, tonight i tried some thing (i just wanted to change rom), but i made some mistakes... now i cannot boot my phone, it keeps rebooting. I have Leedroid ROM and it keeps rebooting after PC-boot like animation. The only thing i can access is the back button + power recovery. What can i do?
Thanks!
I have tried to wipe the cache and system, and solo deleted storage (hard reset)... but same point. I think that if i can put a update.zip on the sdcard i can flash it... but at the moment i don't have a sd card reader. Is the phone dead?
No your phone isnt dead
1. If you have a nandroid on your sd card just enter hboot and recover your system.
2. Otherwise you can perform an md5 check of the rom you downloaded and wish to flash. (just to make sure its not corrupted, i suppose your trying to flash leedroid) Enter hboot wipe everything >system wipe>cache>dalvic and then relash the rom. Oh and make sure your sd card is partitioned correctly ... a2sd, D2EXt ...
3. If problem persists go into hboot mount your phone as storage copy another rom you would like to try and then flash this, you can just follow the steps in no2 abouve again.
This should solve your problem!
The thing that i have done BAD is the format of the card... or better, i have done right things but i'm almost sure something was wrong. I formatted it from gparted, then created a 3GB FAT32 partition, and with the remaining space i created a ext4 partition. Then, i moved the files needed for the rom that i wanted to flash (MIUI) in the fat32 partition, as i seen that the ext4 part was mounted read only (dunno why).
IMPORTANT: I have done all this mounting the SD card via Clockwork recovery.
When i selected the voice "flash a zip selecting from memory card" (or something )... it said "cannot find a valid zip".
Then the only choice for me was to reboot and... that is
Now i cannot mount SD, as i don't have (at home) a SD card reader and i don't have access to CWM recovery.
SD Card Problems With Clockwork Recovery
Hi there XDA, basically everytime I have an SD-EXT partition on my phone (i always, always make them using Linux manually) if I format my SD-Card (which should only format the Fat32 partition, I run into a big issue. My SD-Card will un-mount, possibly format i don't know, then it won't remount. If I connect my phone to windows the SD-Card has all its partitions removed. Very strange?
Anyway I decided to switch to Oxygen 2.0.1 this morning, as it's a much more stable rom, and anyway I performed what I said above on Froyo 2.1 (DeFrost) and the SD-Card wouldn't mount, when I noticed that the SD-Card didn't have any partitions I formatted it using Windows. I then placed the update.zip file of Oxygen onto the root of my SD-Card.
I proceeded to Clockwork Recovery and selected the option 'Select .Zip from SD Card' and I was shocked to see something saying No Files Found. We I have tried everything to sort this out, and absolutely nothing seems to be working? I have used a Ubuntu Live CD to try and completely wipe and re-format my SD-Card which completed sucessfully, but no joy, i've tried all the options on Clockwork Recovery, nothing works, I used a 2GB SD-Card to install Oxygen and this worked fine, once the phone was booted everything would work including the 8GB Card if I switched them. I know I should just put up with this, but I need to fix this.
Does anyone know how I can get my card to work again thanks.
Ok, I've searched everywhere and I cant find an answer so I've come here for help.
I've got a Telstra Branded HTC desire, been rooted and is running Leeroid 2.3 for the last month and its been great. Just bought a new 32gb SDHC to replace my old 8gb. Put it in my phone and detected it without a problem, was able to run "ClockWorkMod" to install a partition for A2SD "512mb ext, 0mb swap". Booted recovery, backed up, wiped the factory/data, Wiped Partition Cache and Wiped Dalvik Cache.
Now here's the problem
After all that is done I reboot from recovery mode, The phone hangs at the First Telstra Logo "The White HTC screen for original Rom". Take the 32gb SDHC out and put the old 8gb and it boots normally, take the 8gb out and have no memory and it boots normally.
Anyone know what the problem is? I've been re-installing the Rom on both the 8gb and 32gb, Re-Formatted the 32gb, copied all the files from the 8gb to 32gb and ran a full nandroid backup and still have the same problem........
While Restoring a copy of the backup from the 8gb on the 32gb, I got two things that are missing according to the check.
".android_secure.img not found. Skipping restore of /sdcard/.android_secure."
"sd-ext.img not found. Skipping restore of sd-ext/."
Spent the last 5 hours fiddling around with the phone but getting really frustrated, any help or a solution would be great
Thanks
It is definitely your SD Card.
However, a nandroid restore should work.
And from some reason you miss some files from your backup. The EXT.img is vital to make the ROM Run.
It does not even boot if you flash the ROM again after a full wipe?
nagypapi said:
It is definitely your SD Card.
However, a nandroid restore should work.
And from some reason you miss some files from your backup. The EXT.img is vital to make the ROM Run.
It does not even boot if you flash the ROM again after a full wipe?
Click to expand...
Click to collapse
When you mean full wipe, thats re-installing the rom from the 32gb SDHC or do I have to format something in Recovery Mode?
I donno why it cant find the EXT.img when I do the backup, if all fails I might as well throw out the SD card since its purpose was just for the phone......=_=
Yeah, a copied backup from the 8gb on the 32gb does the same thing, just hangs on the white splash logo thingy
Why not just wipe everything and start from scratch? Bit of a pain but if it works, it works.
Meaple said:
Why not just wipe everything and start from scratch? Bit of a pain but if it works, it works.
Click to expand...
Click to collapse
I am willing to do that, the thing is whenever I put the 32gb card in my phone, it just hangs on the first set of logo's.
I've copied the Leeroid to the root of the 32gb, wiped the Factory/Data, Partition Cache and so on.
Go into install from zip and select Leeroid 3.2d.zip and run that. It finishes installing and asks me to reboot. I reboot manually and it loads the first set of logos and hangs.......
I've put the memstick in the phone and it worked before I partitioned it for A2SD. After that, its just been chaos, Im using the 8gb stick again so I can make calls an all but 32gb would be great to use =_=
If there's anyway to get this thing up and running on the 32gb. Doesnt matter if I have to start from scratch, as long if it works. That would be great ^_^
SD CARD = your 32 GB card
1. Partiton your SD CARD for A2SD+ (512MB Ext3 minimum)
2. Put SD CARD in the phone, copy Leedroid_a2sd.zip (or whatever it is) to the card.
3. In recovery wipe everything (data(factory reset)/cahce/dalvik cache) - dalvik is found under the advanced menu.
4. Install Leedroid 2.3
5. First boot takes 5-15 mins, so just wait.
nagypapi said:
SD CARD = your 32 GB card
1. Partiton your SD CARD for A2SD+ (512MB Ext3 minimum)
2. Put SD CARD in the phone, copy Leedroid_a2sd.zip (or whatever it is) to the card.
3. In recovery wipe everything (data(factory reset)/cahce/dalvik cache) - dalvik is found under the advanced menu.
4. Install Leedroid 2.3
5. First boot takes 5-15 mins, so just wait.
Click to expand...
Click to collapse
I've got the 32gb SD Card working again, turns out that the partition I created on ClockWorkMod was corrupted. Rejoined the Partition, Wiped everything and installed Leeroid 2.3 and it works fine and the phone picks up the memory.
New Problem
I cannot get ClockWorkMod to create the partition since it automatically reboots the phone every time I attempt it and I get an black screen with an android/! picture.
Im using Gparted to create the A2SD partition but each time I create one I get an error
Unable to detect file system! Possible reasons are:
- The File System is Damaged
- The File System is Unknown to Gparted
- There is no file system available
- The device entry /dev/sdc2 is missing
I'm assuming that the SDHC I bought, for some reason doesn't allow me to create a partition? If that is the case, is there any work around to install apps to the SDHC. The Desire is such an awesome phone but it lacks the internal memory
nagypapi, I know I'm asking too many questions but your help means a lot
What card is it? If it was a cheap one, it can cause problems.
And partition it from the phone using GParted.
Boot into recovery, mount USB storage. And the run Gparted.
Remove both partitions, and create new ones from scratch.
If GParted still gives an error, try to format it on the PC.
nagypapi said:
What card is it? If it was a cheap one, it can cause problems.
And partition it from the phone using GParted.
Boot into recovery, mount USB storage. And the run Gparted.
Remove both partitions, and create new ones from scratch.
If GParted still gives an error, try to format it on the PC.
Click to expand...
Click to collapse
I bought the SDHC from eBay, doesn't have a brand but it works apart from the whole partition thingy.
I got the error when I format the SDHC on the computer with card reader, I'll have a go with the USB Storage on the phone recovery mode. Donno if it will make a difference but I'll give it a shot anyways, I cant do it now since I have work tomorrow but I'll attempt it while I'm working and get back to you
Sounds like a defective card, send it back, if possible. Never use "unbranded" cards.
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.
I re-installed Leedroid as i was trying to get apps2sd working on an ext3 fromated sd card and upon reinstalling, it hung at the Telstra Splash screen for about 20 mins. I took the battery out and rebooted into bootloader where it displays that no image can be found on the sd card.
The computer detects the sd card however when i enter recovery mode to install zip from sd card, it displays "can't mount /dev/block/mmcblk0.... can't mount /sdcard".
What do i do to completely erase everything and install Leedroid again ?
Backup your SD card, format FAT32 and ext3 then flash the rom again.
I copy+pasted everything to windows earlier when everything was working, but don't have anything on the sd card to back up now. I tried formating to fat32 but the bootloader still says the same thing about the sd card, therefore i can't flash the rom.
Anyone ? i'm out of ideas. I tried a different sd card but the phone still 'cant mount'.
seems you got problem with your partition on the sd card, use you recovery to rebuild you partition or gparted to do so...
googlise gparted live cd or more friendly virualbox or vmplayer to run a complete linux distri.
Did you partition your sd-card on this way:
http://leedroid.com/bravo-wiki/partitioning-your-sd-card-ready-for-a2sd
If not, do it, flash the rom again and all should work.
You could try the sd card enable command?
Code:
fastboot oem enable qxdm 0
Otherwise there is a good guide on USB brick here:
http://forum.xda-developers.com/showthread.php?t=700734
Hope it helps!