Hi
I cant make pics and file Explorer says there is no SD Card. Apps on SD Card wont work anymore. I bought a new SD Card with 8GB. Formatted it with Windows XP (Fat32). Same issue. Both cards seem to be OK in Windows using a card reader.
So i began reading lots of tutorials in the last 4 days and decided to root with "Unrevoked 3.32"
I think my device is now rooted because Unrevoked finished with "Done"
Note: At the same time Unrevoked finished the Desire was trying to do something with the SD Card and i cant remember exactly but something like:"20 sec. trying again.. bla..cant mount sd card..continue anyway .. reboot"
then I did " fastboot oem enableqxdm 0 " it finished with:
OKAY [ 0.094s]
finished. total time: 0.094s
Since i tried at least 4 different tutorials and got stuck everytime im actually trying this http://forum.xda-developers.com/showthread.php?t=691639&highlight=usb+brick
and once again i need help on step 3 where it says:
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"
.....
Where is /data/ ?
Both mtd0.img and flash_image are on my sdcard. I started "ConnectBot" selected "local" typed SU twice and got a "#" in front of the cursor.
after typing:"cat /sdcard/flash_image > /data/flash_image" it said:
"/sdcard/flash_image: No such file or directory
am i on the wrong way resolving this?
Thx in advance
Chris
You can find /data on the root of your phone (so one above /sdcard).
Swyped from Oxygen
Thx.
I managed to copy these 2 files to /data
then i started connectbot and typed
su
chmod 755 /data/flash_image
/data/flash_image misc /data/mtd0.img
it gave me no respond just the "#"
was this correct and what to do next?
I googled the question quite extensively but have found no conclusive answers
Is there a way to flash a rom without first transferring it to the SD card (specifically for DHD)? There seems to be something wrong with my SD bay as my phone cannot mount the SD card successfully (it works fine on my computer), so I'm looking for a way to flash a new rom on the phone to rule out the possibility that the ROM is what's causing the SD card failures.
Google turned up a couple of results that seemed promising, but they all say you have to use Amon_RA recovery, which (to my knowledge) does not exist for DHD, and following the same steps while using CWM recovery leads to an error.
Unfortunately, as a new user I can't post the link to the method. It basically involves pushing the rom to /data/ on the phone then executing the command
recovery --update_package=DATA:ROM.zip
this should flash the rom. But because I'm using CWM there is an error, because CWM doesn't allow you to flash that way (or something to that effect)
Currently running IceColdSandwich 3.0.test4
Is there any way I can flash a rom without needing the SD card?? I don't wanna have to buy a new SD bay :/
Maybe this helped .. googled some more
http://forum.xda-developers.com/showthread.php?t=625950
Mount /sdcard
Just like you mounted /data try to mount sdcard using this adb comments,
./adb shell
su
# mount -o rw,remount rootfs /
# chmod 777 /mnt/sdcard
and push your ROM form computer, i.e ("adb push d:\adb directory\Your ROM /sdcard")
and try to mount sdcard in CWM....
I hope this would work for you,
NOT TESTED BY ME !! Pl replay
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.
I'm trying to do a clean install on a formatted sd card. Before I format I want to make sure that I can send the rom and gapps to the device while in recovery. So I downloaded the newest unified toolkit and upgraded to my pro version with my gnex code. I boot to cwm recovery. I run toolkit, can see the device serial under Adb mode, but when I try to push files it gives me a mount failure error in the toolkit window. I also tried going to a command prompt to see if the Adb mount command would work from the command line, but I keep getting "Adb is not a recognized command, operator etc". I tried Adb from within the toolkit directory, the c: root, and the android Sdk directory and I get the same error. Ultimately, like I stated above I just want to do a clean install of a CM rom with a formatted sd card for a totally clean slate. I already have the files on the device on the sdCard in a folder called download. Can I install the Rom and gapps then format the card, or do I have to format the card first, then push the files, then install the rom? Thanks for the help!
I follow the instructions to install BusyBox and Terminal Emulator for Android. (I am rooted).
For backing up the .PIT partition file I type into Terminal Emulator:
su
dd if=/dev/block/mmcblk0 of=/sdcard/out.pit bs=8 count=580 skip=2176
Click to expand...
Click to collapse
For creating the debrick.img (for use in sdcard booting a hard brick):
su
busybox dd if=/dev/block/mmcblk0 of=/sdcard/debrick.img bs=1M count=128
Click to expand...
Click to collapse
After each of these lines are entered, it states that the files have been saved (PIT is like 4000bytes) (Debrick.img is like 100mb).
I check the root directory of both the internal sd and the external micro sd card to copy the files to my PC but the files are not to be found.
Am I looking in the wrong place?
Strange, should be created in the root directory of the internal storage.
Turns out it was in the root directory. I just had to unplug my phone for it to refresh even though I clicked refresh on windows explorer.