Stuck - Desire Q&A, Help & Troubleshooting

I've been rooted and using Sandvold's ICS for some time now and it has been excellent, but curiosity got the better of me and yesterday I decided to try the AOKP ROM. Somewhere in the process my phone told me 'error mounting SD card' and ever since I have been unable to do anything with it.
It will boot into recovery, but when I press 'power down' to select 'fastboot', it just goes into the 'bootloader/reboot/reboot bootloader/power down' options. If I press 'Power' when Recovery is highlighted, it goes into the white HTC screen and then the ClockworkMod Recovery v5.0.20 screen with the blue menu listing various options. If I choose 'install zip from sd card, for instance, I get E: Can't mount /sdcard/.
I have tried another sd card, but no luck.
Any help appreciated!

connect your phone to pc while it is booted to fastboot (power+back button)
in cmd/terminal:
fastboot oem enableqxdm 0
fastboot oem eraseconfig
what about do some search good guide is here in your case :[13]RECOVERY CAN'T MOUNT SD-CARD

Thanks for the advice. I've tried No.13 without success. All I get is - 'The filename,directory name, or volume label syntax is incorrect'.
I get this message after entering any of the variations in the guide.

Please post the commands you entered here (if you do not remember every one, post the ones you remember).
Sent from my HTC Desire using Tapatalk

cd\ C:\android-sdk-windows\tools
and when that wasn't recognised
cd\ C:\program files\android-sdk-windows\platform-tools
None of these have worked. Although it looks 'bricked', it will boot into recovery and all the usual options are there but when I try any of them ,it can't find the sd card.
I have two laptops, one with Ubuntu and the other with Windoze XP.
I haven't tried the Linux route yet.

do you have fastboot installed? download this zip and make sure drivers are installed too
unzip it and run commands from above with path where you unzip the fastboot.zip

Which error messages do you get?
Sent from my HTC Desire using Tapatalk

FIXED!!!
I tried the NO. 13 instructions again on a friends laptop with Windows 7 and my SD card is back. Wonderful!
Thanks for all the advice.

Related

Have I bricked my phone? Trying to follow unbrick guide but falling at first hurdle

Sorry if this seems a bit stupid, I'm new to android and rooting phones. Anyhow, I'm desperatly in need of help!
I successfully followed the root guide for the desire and got the basic rom on from Modaco (Paul's guide). I then thought it would be fun to try out some of the other roms so gave Pays rom a go but couldn't get this to boot.
I did the changing of the partitions on the SD card tried doing this before and after, still no boot.
Done various other things since but now can't get my phone to be recognised by my PC when in recovery mode. When I go into the boot menu, the USB is picked up but when I go to recovery, it isn't.
I've tried running through the rooting process again to apply the stock rom but I can only do the first bit but when I try to run the windows step2 bit, it says error device not found.
I've been looking at the guide on modaco for unbricking your phone and I cant see how do to the following step:
"Enable the SD Card functionality. Boot your phone in FASTBOOT mode (back + power), and enter this command: 'fastboot oem enableqxdm 0' . This will re-enable your SD card."
I can go into fastboot, that's fine... but how do I enter the command in fastboot? There is no command prompt or text entry method?
Am I being very stupid? Please, can someone help me!!!!!!!
jaketurbo said:
Sorry if this seems a bit stupid, I'm new to android and rooting phones. Anyhow, I'm desperatly in need of help!
I successfully followed the root guide for the desire and got the basic rom on from Modaco (Paul's guide). I then thought it would be fun to try out some of the other roms so gave Pays rom a go but couldn't get this to boot.
I did the changing of the partitions on the SD card tried doing this before and after, still no boot.
Done various other things since but now can't get my phone to be recognised by my PC when in recovery mode. When I go into the boot menu, the USB is picked up but when I go to recovery, it isn't.
I've tried running through the rooting process again to apply the stock rom but I can only do the first bit but when I try to run the windows step2 bit, it says error device not found.
I've been looking at the guide on modaco for unbricking your phone and I cant see how do to the following step:
"Enable the SD Card functionality. Boot your phone in FASTBOOT mode (back + power), and enter this command: 'fastboot oem enableqxdm 0' . This will re-enable your SD card."
I can go into fastboot, that's fine... but how do I enter the command in fastboot? There is no command prompt or text entry method?
Am I being very stupid? Please, can someone help me!!!!!!!
Click to expand...
Click to collapse
You need ADB-SDK
Open a cmd [tools/commandline here] at the tools-dir you will find there and you will be able to execute de fastboot commands. Youre phone has to be connected to youre pc in the fastboot-modus.
Thanks for the quick reply. I'll give that a go now
I struggled with the guide on Modaco, as it's rather vague, so when I finally figured it out I wrote down ALL the steps you have to take, and this is what I ended up with:
To Un-USB Brick HTC Desire:
1. Hold down the back button, and then turn on your Desire
2. Make sure the screen shows FASTBOOT. If it doesn’t, choose it from the options available
3. In command prompt go to the folder on your computer where you downloaded and extracted the Android SDK to
4. At the command prompt type ‘fastboot oem boot’
5. If you know that you don’t have access to the SD card when your phone loads up, also type the command ‘ fastboot oem enable qxdm 0’
6. The bit you need from the information displayed in the CID. Look for something like ‘INFOCID is O2___001’. In this case, my CID is ‘O2___001’
7. On your phone go to Settings>About phone>Software Information and note your Software Number. Mine was 1.21.405.1
8. Now turn off the phone and take the SD card out and put it in your computer
9. Go to http://ks33673.kimsufi.com/misc/ and put in the details from steps 6 & 7.
10. Download the file it creates
11. Get the flash image from http://www.shadowchild.nl/flash_image
12. Put both of these on the SD card
13. Put the SD Card back in your Desire and turn it on
14. Go to the Market and download a terminal emulator. I used ConnectBot
15. Run Connectbot. In the bottom left corner where it says ‘ssh’ click on the triangle. Choose ‘locall and put in anything for your nickname.
16. Now enter the following commands EXACTLY as they are shown below, pressing enter after each one
17. su
18. cat /sdcard/flash_image > /data/flash_image
19. cat /sdcard/mtd0.img > /data/mtd0.img
20. chmod 755 /data/flash_image
21. /data/flash_image misc /data/mtd0.img
22. Reboot your Desire, and it should all work again!
AWESOME
Thanks guys,
sorted now... been a while since I did anything with unix/linux commands as well
Now I just need to figure out when I flash the custom roms, why they don't boot.
When you flash the roms are you doing a full wipe?
I suggest backing up your sd to your pc and then wiping your sd fully just as a precaution.
Then before you flash a rom, from recovery make sure you go down the full list of wipe options. Wipe data, cache, ext (if you have one but shouldn't after wiping sd) etc...
some de-odexed roms like pays take a long time for the first boot (up to 10mins) you just have to be patient
chippieuk said:
I struggled with the guide on Modaco, as it's rather vague, so when I finally figured it out I wrote down ALL the steps you have to take, and this is what I ended up with:
To Un-USB Brick HTC Desire:
1. Hold down the back button, and then turn on your Desire
2. Make sure the screen shows FASTBOOT. If it doesn’t, choose it from the options available
3. In command prompt go to the folder on your computer where you downloaded and extracted the Android SDK to
4. At the command prompt type ‘fastboot oem boot’
5. If you know that you don’t have access to the SD card when your phone loads up, also type the command ‘ fastboot oem enable qxdm 0’
6. The bit you need from the information displayed in the CID. Look for something like ‘INFOCID is O2___001’. In this case, my CID is ‘O2___001’
7. On your phone go to Settings>About phone>Software Information and note your Software Number. Mine was 1.21.405.1
8. Now turn off the phone and take the SD card out and put it in your computer
9. Go to and put in the details from steps 6 & 7.
10. Download the file it creates
11. Get the flash image from
12. Put both of these on the SD card
13. Put the SD Card back in your Desire and turn it on
14. Go to the Market and download a terminal emulator. I used ConnectBot
15. Run Connectbot. In the bottom left corner where it says ‘ssh’ click on the triangle. Choose ‘locall and put in anything for your nickname.
16. Now enter the following commands EXACTLY as they are shown below, pressing enter after each one
17. su
18. cat /sdcard/flash_image > /data/flash_image
19. cat /sdcard/mtd0.img > /data/mtd0.img
20. chmod 755 /data/flash_image
21. /data/flash_image misc /data/mtd0.img
22. Reboot your Desire, and it should all work again!
Click to expand...
Click to collapse
Ok, I've bricked my Desire so my pc no longer recognizes it and the phone can't see the SD card.
I know i have to do the ‘fastboot oem boot’ part but how??
My PC doesn't recognize the phone, at the moment i've got android 1.0 in the Android USB devices with the yellow problem sign against it as the driver/software never loaded when connecting the phone.
I've tried running the Fastboot file from SDK but the screen just flashes up then disappears, so basically I can't get the command prompt up to run step 4 in the above post.
Any suggestions?
Cheers
celticone said:
Ok, I've bricked my Desire so my pc no longer recognizes it and the phone can't see the SD card.
I know i have to do the ‘fastboot oem boot’ part but how??
My PC doesn't recognize the phone, at the moment i've got android 1.0 in the Android USB devices with the yellow problem sign against it as the driver/software never loaded when connecting the phone.
I've tried running the Fastboot file from SDK but the screen just flashes up then disappears, so basically I can't get the command prompt up to run step 4 in the above post.
Any suggestions?
Cheers
Click to expand...
Click to collapse
Further to my post above, I've used cmd in windows to run the flashboot command but it comes up with waiting for device and still waiting after 5 mins. I guess as the PC can't recognize it as a device commnd prompt won't ever work??
Fantastic tutorial!! because it really works!!
Dear All,
I had my HTC Desire Bricked....
I follow all steps of the tutorial and it unbrick my HTC Desire!
thank you so much!!
Greetzzz
AndroidJunk
celticone said:
Further to my post above, I've used cmd in windows to run the flashboot command but it comes up with waiting for device and still waiting after 5 mins. I guess as the PC can't recognize it as a device commnd prompt won't ever work??
Click to expand...
Click to collapse
Try fiddling with when you plug in your USB-cable... that did the trick for me...
Will this work for a Legend???
Does these steps work for HTC Legend aswell?
After installing a custom rom,
I cannot access USB, SD or SIM.
This Guide creates a big moment 22 for me.
I asume im bricked however i have seriously 0 idea how it hapened. After a reboot i could no longer access the SD card, the SIM did not read and the USB could not be connected to the PC. Ive tried with diffrent SD cards and SIM cards without anny progess.
So this guide asumes that this will help:
5. If you know that you don’t have access to the SD card when your phone loads up, also type the command ‘ fastboot oem enable qxdm 0’
But it doesnt. It only gives me the error message:
... INFOR[ERR] Command error !!!
in CMD.
So, i cant use my SD card(it works on the comp but not on phone) And thats that.. what the f*ck do i do?
Edit: Besides,
7. On your phone go to Settings>About phone>Software Information and note your Software Number. Mine was 1.21.405.1
This doesnt aply to me since im running a custom rom and not a stock rom. (And no i cant install a RUU due to the computor not even noticing the phone).
Edit2: Acording to:
http://android.modaco.com/content/h...com/309939/usb-brick-rickrolled-b0rked-fixed/
The command is
fastboot oem enableqxdm 0
not
fastboot oem enable qxdm 0
Wich resulted in a successfull Command but the SD card can still not be read.
The bit I don't get.. (not that I need to do this), but there is no file/executable named fastboot in the dir of the tools directory on the linux sdk. how does it work?
Sajhe said:
This Guide creates a big moment 22 for me.
I asume im bricked however i have seriously 0 idea how it hapened. After a reboot i could no longer access the SD card, the SIM did not read and the USB could not be connected to the PC. Ive tried with diffrent SD cards and SIM cards without anny progess.
So this guide asumes that this will help:
5. If you know that you don’t have access to the SD card when your phone loads up, also type the command ‘ fastboot oem enable qxdm 0’
But it doesnt. It only gives me the error message:
... INFOR[ERR] Command error !!!
in CMD.
So, i cant use my SD card(it works on the comp but not on phone) And thats that.. what the f*ck do i do?
Edit: Besides,
7. On your phone go to Settings>About phone>Software Information and note your Software Number. Mine was 1.21.405.1
This doesnt aply to me since im running a custom rom and not a stock rom. (And no i cant install a RUU due to the computor not even noticing the phone).
Edit2: Acording to:
http://android.modaco.com/content/h...com/309939/usb-brick-rickrolled-b0rked-fixed/
The command is
fastboot oem enableqxdm 0
not
fastboot oem enable qxdm 0
Wich resulted in a successfull Command but the SD card can still not be read.
Click to expand...
Click to collapse
I solved all of this by bypassing the SD card and downloading straight to /Data with Wget in shell.
However i still have the problem of runnin a non HTC rom (NO i cant flash a new one cus i still cant get the damn SD Card to work ).
So the whole software version .. if its wrong. will this still work? I changed the CID in the mtd0-img but since i dont know the software version i cant do annything about it ..
I follow all steps of the tutorial and it unbrick my HTC Desire!
Thanks!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
i love my phone!
Cant running a RUU in fastboot solve a usb brick, please?
chippieuk said:
I struggled with the guide on Modaco, as it's rather vague, so when I finally figured it out I wrote down ALL the steps you have to take, and this is what I ended up with:
To Un-USB Brick HTC Desire:
1. Hold down the back button, and then turn on your Desire
2. Make sure the screen shows FASTBOOT. If it doesn’t, choose it from the options available
3. In command prompt go to the folder on your computer where you downloaded and extracted the Android SDK to
4. At the command prompt type ‘fastboot oem boot’
5. If you know that you don’t have access to the SD card when your phone loads up, also type the command ‘ fastboot oem enable qxdm 0’
6. The bit you need from the information displayed in the CID. Look for something like ‘INFOCID is O2___001’. In this case, my CID is ‘O2___001’
7. On your phone go to Settings>About phone>Software Information and note your Software Number. Mine was 1.21.405.1
8. Now turn off the phone and take the SD card out and put it in your computer
9. Go to BROKEN LINK and put in the details from steps 6 & 7. <---------------------------------
10. Download the file it creates
11. Get the flash image from OTHER LINK
12. Put both of these on the SD card
13. Put the SD Card back in your Desire and turn it on
14. Go to the Market and download a terminal emulator. I used ConnectBot
15. Run Connectbot. In the bottom left corner where it says ‘ssh’ click on the triangle. Choose ‘locall and put in anything for your nickname.
16. Now enter the following commands EXACTLY as they are shown below, pressing enter after each one
17. su
18. cat /sdcard/flash_image > /data/flash_image
19. cat /sdcard/mtd0.img > /data/mtd0.img
20. chmod 755 /data/flash_image
21. /data/flash_image misc /data/mtd0.img
22. Reboot your Desire, and it should all work again!
Click to expand...
Click to collapse
I think the link at the 9 doesn't working anymore. It is connecting a French website which is asking an ID and Password. Can you please renew the link
Thanks
PS. I deleted the link because i don't have 8 posts and i can't add links to my messages.
Have a look for 'gold card helper' in the market.
It should help
Sent from my HTC Desire using Tapatalk

FIXED: SD Card not detected anymore suddenly

Last night the SD card suddenly was missing on my rooted Desire, both in Android and in ClockWorkMod Recovey. The SD card could only be read in fastboot mode. Holy craperoly!
When I tried to mount it in ClockWorkMod Recovery I got an error message saying "E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0) (No such file or directory)". I tried 2 different SD cards but none of them could be mounted.
Searched the web and came across "solutions" like "the mainboard is faulty and must be replaced". WTF!!!
Finally found the solution:
1. Download the Android SDK and extract
2. Connect the phone to the PC via USB
3. Go into Fastboot (hold 'back key' then power on)
5. On your PC enter the command prompt, navigate to the SDK\tools folder and enter
"fastboot oem enableqxdm 0"
"fastboot reboot"
Fixed!
Still have absolutely no clue why the issue happened in the first place...
i tried this but not working , may be it works on some but not for me
well i format with g-parted live cd , and made two partitions of fat32 and ext3
and now it is working
just try it
ps: first i used g-parted live cd in my laptop , but it did not detect my Micro sd
then i tried it on my friend's and then it detected msd , just give it a try , not sure for you
siliconaddict said:
Last night the SD card suddenly was missing on my rooted Desire, both in Android and in ClockWorkMod Recovey. The SD card could only be read in fastboot mode. Holy craperoly!
When I tried to mount it in ClockWorkMod Recovery I got an error message saying "E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0) (No such file or directory)". I tried 2 different SD cards but none of them could be mounted.
Searched the web and came across "solutions" like "the mainboard is faulty and must be replaced". WTF!!!
Finally found the solution:
1. Download the Android SDK and extract
2. Connect the phone to the PC via USB
3. Go into Fastboot (hold 'back key' then power on)
5. On your PC enter the command prompt, navigate to the SDK\tools folder and enter
"fastboot oem enableqxdm 0"
"fastboot reboot"
Fixed!
Still have absolutely no clue why the issue happened in the first place...
Click to expand...
Click to collapse
Hi! Thanks for the info, I did everything you told me but when I enter your command it says it doesn't recognize "fastboot" as an internal or external command... any ideas what goes wrong? the command propmt is the "cmd.exe" right? and I should enter the text right there, once navigated until the tools folder,right? (which is now "platform-tools" by the way")
Btw, about the fast boot mode. I turned off the phone and then pressed the back button and once the power button. It didnt say anything about entering fast boot mode or anything, that's right I guess?
I cant believe HTC is screwing that much... I was such a fan. First HTC sense huge problems.. now this...
Please answer! Thx in advance!

Cannot mount SD card in boot recovery [resolved thanks to mariosraptor]

Hi XDA Community!
Completely bone-headed n00b here (is there any other kind)?
Firstly, a quick background:
HTC Desire, rooted, S-Off, 16 gig Class 4 SD card with 1 gb ext4 partition
I was flashed with a perfectly working Leedroid 2.2f rom, overkill backed up with Clockwork, AmonRa, Titanium, MyBackup Pro, complete SD card backup (you name it, I did it), then wiped and flashed ownhere's Rom because I was running out of app space. The flash was successful then I proceeded to backup ownhere's rom after re-installing all my apps and I think that's where the problem began. I began my first backup with Clockwork via Rom Manager, but was not getting any response, so I rebooted my phone into Clockwork Recovery and backed up ownhere's rom there. After that, I could not turn on my phone.
I'd appreciate if someone could point me in the right direction. As of right now, my phone goes into a vicious boot loop whenever I try to turn it on. I can still get into hboot by holding down the power button and volume down button and then get into Android system recovery (Amon Ra Recovery, build: RA-desire-v2.0.0) by selecting "recovery", but when I try to do a nandroid restore, the error message I get is:
E:Can't mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)
(No such file or directory)
E:Can't mount SDCARD:/nandroid/
I've googled many times and have attempted to follow the steps outlined by various tutorials with similar sounding problems, but unfortunately to no avail. I've tried formatting my SD card on my computer, re-partitioning the SD card on my phone (not sure if that was successful), wiping it, attempting to restore it, attempting to flash it, but I keep getting that same error message above in the end.
I certainly don't deserve it after what I've done, but any help would be greatly appreciated! Thanks for having the patience to read.
EDITED: Below are the steps I took to resolve the issue.
First and foremost, I'd like to point out that prior to encountering this problem (or any problem for that matter), I did a very thorough job of backing up my entire phone multiple times through various methods, but it turns out I only really needed a single nandroid backup and mariosraptor's help. Still, better safe than sorry, I say, which is ironic considering what I did to my phone. Ah well.
Anyway, after running into my problem as described in my OP (original post), the following steps were needed to restore functionality to the phone:
1) With the phone turned off, I booted it into Fastboot by either a) holding down volume rocker+power on button, then choosing "fastboot" or b) holding back button+power on button, which takes you straight into "fastboot".
2) Once in fastboot, I connected my phone to my computer via USB cable.
3) I'm not sure if I needed it running or not, but I then ran Android SDK (a program I used back when I first got my phone and was tinkering with rooting and forcing apps to install onto the SD card before I learned about SD card partitioning and AP2SD/AP2SD+ supported roms and now DATA2SD/DATA2EXT). This program can be downloaded here and an example of how it's used is here, but I'm assuming (I know I shouldn't assume, but I can only describe things I've done or have already done) anyone who as gotten this far already has this program and used it before, even with limited knowledge.
4) I then went into my Start Menu in Windows and ran command prompt. The simplest way to run command prompt, I find, is to type "cmd" into the run dialog, then enter.
5) Once command prompt popped up, I typed in cd\ to change the directory to C:\ and then entered in cd android-sdk-windows/tools to open the directory to c:\android-sdk-windows\tools (I just noticed that you enter in /backsplashes, but end up with \forwardslashes, weird!).
6) I then typed in the fastboot commands as outlined by mariosraptor, that is, I entered "fastboot oem enableqxdm 0" pressed enter, let it finish, then typed in "fastboot reboot" and enter. Wait for phone to reboot, could take a while.
I'm hoping for most people those are all the steps needed in order to restore the phone, but in my case, after entering "fastboot oem enableqxdm 0", I received an error saying: "The program can't start because AdbWinApi.dll is missing from your computer. Try reinstalling the program to fix this problem." I was about to re-install when mariosraptor provided me with the AdbWinApi.dll file here. This is rapidshare link so it will expire. My suggestion is to search for it somewhere (google) if you run into the same missing file as me.
My problem actually didn't stop there either. I found my phone was stuck on the boot animation, although I supposed I could've left it even longer just to make sure it wasn't working, but I actually took my battery out to shut the phone down. I then proceeded to do a nandroid restore to a previous backup I had done before I created this whole problem. I did that by booting the phone into recovery by holding down volume rocker+power button, selecting "recovery", then selecting "nandroid backup/restore" and letting the process go through fully, which took quite some time.
Anyway, it's been a long 20 or so hours for me. I'm going to go rest now. Props again to mariosraptor!
in fastboot mode through adb cmd
fastboot oem enableqxdm 0
fastboot reboot
as long as you are S-off you can use fastboot commands and it is recommended that whatever you do from the moment that youre S-off'd you use fastboot and adb for various works on your Desire.
for more fastboot commands in adb just type fatboot
Hey mario, thanks for the quick reply.
I'm currently reading ADB for Dummies to figure out what you're talking about and will get back to you. I know I've used it before when I rooted my phone, but I was just following step-by-step instructions and had no idea what I was doing.
I recall seeing "unknown device" in device manager while my phone was plugged into my computer via USB during one of my recent attempts at fixing my current issue.
PS. I'm on Windows 7.
So I haven't been able to get far. I've noticed all the ADB commands that need to be entered in command prompt require me to have my phone in "USB debugging mode" by going into in Settings>Applications>Development, but I can't even turn on my phone to get there.
Am I missing something from your instructions? Sorry, my knowledge is quite limited.
When you are in Amonra, you are automaticly in "adb mode" so you can ignore that step. You should however install htc sync for the drivers needed.
turn off your phone by removing battery. press the back button+power on. you are in fastboot mode. the correct cmd's are fastboot commands.
like "fastboot reboot-bootloader" w/o the quotes.
ayato kamina said:
So I haven't been able to get far. I've noticed all the ADB commands that need to be entered in command prompt require me to have my phone in "USB debugging mode" by going into in Settings>Applications>Development, but I can't even turn on my phone to get there.
Am I missing something from your instructions? Sorry, my knowledge is quite limited.
Click to expand...
Click to collapse
Gotcha, I was able to get into "fastboot USB" by following your back button+power on (or down volume+power, then selecting fastboot) and connecting a USB cable to from the phone to my computer. I then went into command prompt (cmd) in the start menu. Typed in:
1) cd\
2) cd android-sdk-windows\tools
3) entered in "fastboot oem enableqxdm 0"
I then received the error message: The program can't start because AdbWinApi.dll is missing from you computer. Try reinstalling the program to fix this problem.
That will be my next step is to re-install Android SDK Windows.
Will report back, thanks!
Lennyz1988 said:
When you are in Amonra, you are automaticly in "adb mode" so you can ignore that step. You should however install htc sync for the drivers needed.
Click to expand...
Click to collapse
Thanks for pointing that out, Lenny. I didn't know that. I'm not sure if I have the HTC Sync drivers, but in fastboot mode (as instructed by mario), I checked device manager in properties of My Computer and the unknown device exclamation icon is gone. I see, ADB interface>HTC Bootloader.
http://rapidshare.com/files/380196682/AdbWinApi.dll
donload it from the link and put in tools foder of SDK
mariosraptor said:
http://rapidshare.com/files/380196682/AdbWinApi.dll
donload it from the link and put in tools foder of SDK
Click to expand...
Click to collapse
Phew! Thanks Mario! I was struggling to re-install Android SDK for some reason. A problem with Java SE JDK. *shrugs*
Will continue now....
i hope it helps. i will see more tomorrow. good luck!!!
ayato kamina said:
Phew! Thanks Mario! I was struggling to re-install Android SDK for some reason. A problem with Java SE JDK. *shrugs*
Will continue now....
Click to expand...
Click to collapse
PROGRESS!!
So I'm finally passed the S-off splash screen and am waiting on the boot animation screen. I expect there to be a problem because I've been formatting and partitioning my SD card so much, the card itself may actually be empty at the moment (not sure). I will wait for while and if nothing changes, I'm going to restore my SD card and try again.
Thanks for getting me this far so far, Mario! Much appreciated!
just let see what happens and hopefully it will work again.
ayato kamina said:
PROGRESS!!
So I'm finally passed the S-off splash screen and am waiting on the boot animation screen. I expect there to be a problem because I've been formatting and partitioning my SD card so much, the card itself may actually be empty at the moment (not sure). I will wait for while and if nothing changes, I'm going to restore my SD card and try again.
Thanks for getting me this far so far, Mario! Much appreciated!
Click to expand...
Click to collapse
mariosraptor said:
in fastboot mode through adb cmd
fastboot oem enableqxdm 0
fastboot reboot
as long as you are S-off you can use fastboot commands and it is recommended that whatever you do from the moment that youre S-off'd you use fastboot and adb for various works on your Desire.
for more fastboot commands in adb just type fatboot
Click to expand...
Click to collapse
my phone is connected,drivers are installed and it is available in fastboot. But when I am typing "fastboot oem enableqxdm 0" it returnes: "... FAILED (status malformed (1 bytes))" and nothing happens.
could u help pleas?
mariosraptor said:
just let see what happens and hopefully it will work again.
Click to expand...
Click to collapse
YES! I can finally turn on my phone again! Thanks so much, Mario! You are a genius and thank you for being so patient with me.
This is what happened:
I waited a while and the phone remained stuck on the boot animation so I took the battery out and completely restored all my files onto my partitioned SD card. I tried booting again with similar results so I tried running a nandroid restore to a previous Leedroid rom from Amon Ra Recovery and no longer received the cannot mount message so the restore was finally able to execute and after a lengthy boot process, I'm up and running again!
Thanks again so much! Once more, I could not have done it without your help. I'm going to see how stable it is, but it looks very good. By tomorrow if I'm still up, I will re-edit my first post with the exact steps I took to remedy my particular problem.
May I have your paypal email address?
persianblue said:
my phone is connected,drivers are installed and it is available in fastboot. But when I am typing "fastboot oem enableqxdm 0" it returnes: "... FAILED (status malformed (1 bytes))" and nothing happens.
could u help pleas?
Click to expand...
Click to collapse
Sorry to hear that, persianblue. In light of your problem, I will write the solution right now, although it sounds like a you're getting a different error message than I did after entering the fastboot command. Regardless, I will post the step-by-step instructions because there's no guarantee you did exactly what I did to recover my phone.
I'll have it up shortly.
SOLUTION
copied and pasted from the first post:
Below are the steps I took to resolve the issue.
First and foremost, I'd like to point out that prior to encountering this problem (or any problem for that matter), I did a very thorough job of backing up my entire phone multiple times through various methods, but it turns out I only really needed a single nandroid backup and mariosraptor's help. Still, better safe than sorry, I say, which is ironic considering what I did to my phone. Ah well.
Anyway, after running into my problem as described in my OP (original post), the following steps were needed to restore functionality to the phone:
1) With the phone turned off, I booted it into Fastboot by either a) holding down volume rocker+power on button, then choosing "fastboot" or b) holding back button+power on button, which takes you straight into "fastboot".
2) Once in fastboot, I connected my phone to my computer via USB cable.
3) I'm not sure if I needed it running or not, but I then ran Android SDK (a program I used back when I first got my phone and was tinkering with rooting and forcing apps to install onto the SD card before I learned about SD card partitioning and AP2SD/AP2SD+ supported roms and now DATA2SD/DATA2EXT). This program can be downloaded here and an example of how it's used is here, but I'm assuming (I know I shouldn't assume, but I can only describe things I've done or have already done) anyone who as gotten this far already has this program and used it before, even with limited knowledge.
4) I then went into my Start Menu in Windows and ran command prompt. The simplest way to run command prompt, I find, is to type "cmd" into the run dialog, then enter.
5) Once command prompt popped up, I typed in cd\ to change the directory to C:\ and then entered in cd android-sdk-windows/tools to open the directory to c:\android-sdk-windows\tools (I just noticed that you enter in /backsplashes, but end up with \forwardslashes, weird!).
6) I then typed in the fastboot commands as outlined by mariosraptor, that is, I entered "fastboot oem enableqxdm 0" pressed enter, let it finish, then typed in "fastboot reboot" and enter. Wait for phone to reboot, could take a while.
I'm hoping for most people those are all the steps needed in order to restore the phone, but in my case, after entering "fastboot oem enableqxdm 0", I received an error saying: "The program can't start because AdbWinApi.dll is missing from your computer. Try reinstalling the program to fix this problem." I was about to re-install when mariosraptor provided me with the AdbWinApi.dll file here. This is rapidshare link so it will expire. My suggestion is to search for it somewhere (google) if you run into the same missing file as me.
My problem actually didn't stop there either. I found my phone was stuck on the boot animation, although I supposed I could've left it even longer just to make sure it wasn't working, but I actually took my battery out to shut the phone down. I then proceeded to do a nandroid restore to a previous backup I had done before I created this whole problem. I did that by booting the phone into recovery by holding down volume rocker+power button, selecting "recovery", then selecting "nandroid backup/restore" and letting the process go through fully, which took quite some time.
Anyway, it's been a long 20 or so hours for me. I'm going to go rest now. Props again to mariosraptor!
Click to expand...
Click to collapse
Congrats mate. nice to hear that you are up and running again. this is what the community does. Help each other!!!
mariosraptor said:
Congrats mate. nice to hear that you are up and running again. this is what the community does. Help each other!!!
Click to expand...
Click to collapse
Absolutely! I'm discovering that firsthand thanks to you. Again, I appreciate your help. I had spent soooo much time trying to figure it out on my own and you were able to help me right away.
You sir, are a class act!
So it's been over a full day since my personal debacle and I'm happy to say my phone is still up and running . There has been, however, one abnormality. It's not a huge issue in the long run as I can still use the phone as I normally do, but I've noticed whenever I plug my micro-usb cable into my phone (with the other end either connected to a computer or a power outlet), there is a noticeable delay before it starts charge. Also, when connected to a computer, I'm no longer receiving the prompt for 1) charge only 2) mount sd card 3) sync 4) etc etc.
The icon in the top left that normally pops up doesn't show either when I have it connected to computer. Again, not a big deal in the long run, but obviously it can be a nuisance not being able to transfer files b/t my phone and computer via this method anymore. Not sure if anyone else has encountered this issue. I'm using the same cable, same computer. My next step is to try it on a diff computer, then eventually a different cable and hopefully that might be the issue.

[Q] SLCD desire cant mount SD on recovery

Hello people,
some things about me: i aint no expert,i am just the "follow the guide step by step" type of guy.
here goes with my problem,
I flashed oxygen v2.0 and my phone after a manual reboot crashed, i tried to boot but it stuck in the oxygen boot logo 4-5 times.
i opened the recovery (clockwork mod-alpharev 2.5.1.8) and wiped everything out (system-data-dalvik cache-ext partition)also formated the whole sd to fat32.
then when i tried to reflash oxygen 1.0.4 my recovery says that it cant mount sd card.the actuall message i get is " E:cant mount /dev/block/mmcblk0p1 (or /dev/block/mmcblk0)"
i have S-OFF and rooted of course,phone is also with oxygen HBOOT.
i tried with 2 diferent cards and with both of them i get the same message.
also both of them are working fine,tested on a laptop card reader.
is it a device HW problem or something that has to do with the wipes i mentioned i did before?
what can i do to bring it back to life??
What happens if you connect the usb? Might be a usb brick.
Hi,
when i connect it via usb i can see it in "my device manager" on my pc listed as "android USB devices - My HTC" (fastboot)
in boot loader i can see it listed as "Android phone - Android Bootloader interface"
when im in cwm-alpharev recovery i can see it as "other devices - Qualcomm CDMA Technologies MSM"
the problem is that i cant mount my sd in recovery to do a NAND restore
the only thing i can do right now is go to fastboot bootloader and cwm-alpharev recovery
any ideas?
Yes, follow the link I gave you.
Skip step one since your still rooted.
ok thanks but i am gonna need some more help,
in step 2 it sais to boot into fastboot and enter a command
enter it where?
Terminal or command prompt, make suer you have the sdk tools installed and can use fastboot. If you don't know what it is or how to get it working start here.
I LOVE YOU so much right now,
all i did is the 'fastboot oem enableqxdm 0' to restore SD functionality and then a nand restore.
my desire owns you his life,
thanks alot.

Unable to write to UMS LUNFILE

A few days ago my HTC didn't boot anymore, so I wiped everything. When I rebooted my phone I was stuck at the alpharev boot image. Luckily recovery and fastboot is still working, but whenever I am in recovery mode and try to mount my SD card it says " unable to write to ums lunfile". I've tried multiple SD cards and none of them are being recognized.
When I'm in fastboot and type "fastboot devices", the command prompt gives this:
SH15CPL01222 - fastboot. I think this means my computer recognizes my device, but only in fastboot mode.
Is there any way I can fix this? Can I push a ROM via fastboot?
Thx in advance
try using fastboot commands -
fastboot oem enableqxdm 0
fastboot oem eraseconfig
what recovery do u have? maybe try flashing 4ext recovery via fastboot and see if theres any change, also try putting a rom on ur sdcard using a card reader. im not sure but its worth a shot. also go read bortaks guide, Desire Q&A/stickies (first post)
Sent from my HTC Desire
Thanks a lot mate. I'm working on it.

Categories

Resources