[Q] Mount SD Card from TWRP - Kindle Fire 2 Q&A, Help and Troubleshooting

I accidentally wiped everything including SD Card on my Kindle fire. Is there a way I can mount the SD Card from the TWRP Recovery or command prompt? Or maybe just flash the rom from the Command Prompt? Do I need to get a factory cable?

Why don't you use adb to push a ROM to your sdcard?

Related

How to format/repair damaged SD Card through ADB

Long story short, put new sd card in today and tried to partition with AMON 2.0, it crashed when creating fat32 partition and now it doesnt show either in windows, gparted livedisk, phone or recovery. AMON cant repair it or format it. Im a total noob with ADB but is there any way it can be repaired through adb? if i use adb shell and LS there is a directory called sdcard and one called sd-ext? Is it repairable???
How are you connecting it to the computer? Via usb while still in the phone? Don't forget to mount the sd card in recovery so Gparted can see it.
No, trying in AMON as phone wont boot when sd is in. if i try to mount sd-ext or sdcard through AMON it sayd no such directory?

[Q] Desire Bricked ?

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!

[Q] USB Brick And No Rom Access

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.

[Q] How to access external-sd with adb in recovery mode?

I can't seem to find/access my external sd card in adb shell when my phone is in recovery mode. Going to /sdcard gives me the internal location where CWM backups are kept. Nothing is listed in /external_sd and when I choose 'mount external sd' from the menu in clockworkmod I get an error in CWM. I need to access it because that's where I keep backups of files I'm messing with.
ThisThing said:
I can't seem to find/access my external sd card in adb shell when my phone is in recovery mode. Going to /sdcard gives me the internal location where CWM backups are kept. Nothing is listed in /external_sd and when I choose 'mount external sd' from the menu in clockworkmod I get an error in CWM. I need to access it because that's where I keep backups of files I'm messing with.
Click to expand...
Click to collapse
What format is the SD Card in? If its exFAT then CWM wont be able to recognize it. If its FAT or FAT32 then try this in adb shell
su
mount /external_sd
Sent from my ASUS Transformer Pad TF300T using Tapatalk 2
su shows up as an unrecognized command, oddly enough (even though it works when I'm not in recovery.) I've found another way to move the files around so I'm not going to worry about it.
My problem now is the framework-res.apk that I replaced some sounds in causes boot to get stuck on the end of the t-mobile animation. I'm finding threads all over the place about how to replace it, but if anyone has a guaranteed method for this device now I'd appreciate it.

How to install custom rom on formatted sd card.

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!

Categories

Resources