[Solved]SD card not mounted - myTouch 3G, Magic Android Development

I've spent the last day and a half fighting with my device to get the espresso dump to boot on my Radio 6.35 32A phone. I finally fixed all the crashes to find that the SD card isn't mounting properly because it keeps telling me that my sd card is missing. I know that my SD works fine because it mounts properly in recovery and every other rom. If anyone can point me to the files that are used to mount the SD card that would be a great help

*Update* i can manually mount /dev/block/mmcblk0p1 to /sdcard and adb into it but it still is not read by the rest of the rom

Phil_McRevis said:
*Update* i can manually mount /dev/block/mmcblk0p1 to /sdcard and adb into it but it still is not read by the rest of the rom
Click to expand...
Click to collapse
Have you partitioned your sd? Becouse I solved that problem on Cursorsense removing partitions on my sd card. Bye.

Try this from command line, boot into fastboot and type:
Code:
fastboot oem enableqxdm 0

Thanks for your responses guys... i'm trying the fastboot method now and no my sd card was not partitioned.

ok so the fastboot oem command didn't work but just curious what did it do?

edited vold.conf.. works now

Phil_McRevis said:
ok so the fastboot oem command didn't work but just curious what did it do?
Click to expand...
Click to collapse
It's the QXDM logging feature which automatically disables the SD card outside of fastboot.

Related

[Q] Unable to use adb with android SDK under windows (Mount SD Card in Recovery)

I'm trying to run: adb shell, but I keep getting error msg: "adb" is not recognized as file or program.
I have Adnroid SDK r08, lattest from the site, installed on my Windwos XP.
I'm doing this, because I cant mount my SD Card on Clockwork, so I can't proceed Flashing with a new ROM, the phone it self under Android, is recognizing the memory.
It is formated under FAT32 and was re-formated with the phone as a couple of posts suggests.
Could someone help me? Thanks
Before running adb, you should change your working directory to the directory where it is located.
For example, if you've installed android sdk in C:\andsdk, then you should use the following command to use it:
Code:
cd C:\andsdk\tools
adb shell
Done, I can already access to adb shell, but when Im trying to mount the sdcard, it says that its unable to mount.
So when I'm trying to Install ROM from SD Card, at Recovery Menu - Clockwork, it says that its unable to mount the SDCard.
Are you sure that your SD card is inserted properly?
Well the card works perfectly when I'm running Android. No problems at all.
Then, they came up (problems) as soon as I went into Recovery menu (Clockwork) and the phone was rooted perfectly with unrevoked 3.31
Things that I've already tried:
- Format SDCard under Fat32 and re format it with the phone => The SD Card works perfectly under Android but cannot mount on Recovery Menu.
- Format SDCard under Ext3 and 4, same as previous.
Any suggestion are welcome, and thank you so much.
When you ask ADB to list devices ('adb devices'), is yours recognised?
As soon as I got into Recovery Menu:
Ran: adb devices
This is what I got:
List of devices attached:
XXXXXXXXXXX - recovery
Click to expand...
Click to collapse
xxx - corresponds to my phone code
Then I do:
adb shell
mount /sdcard
And I get:
mount: mounting /dev/block/mmcblk0p1 on /sdcard failed: No such file or directory
Any suggestions?
Thank you!
Have you tried mounting the SD card in ADB while booted into Android?
This thread sounds like a similar thing, and might be worth reading.

how can I format sdcard from recovery or fastboot?

my i9020T is frozen on google logo but I want to format the Sdcard before sending it for repair. how can I do that?
I tried formatting it using CWM recovery but everything comes back when "Edit: I reboot the phone into recovery again."
I also tired mounting the usb storage and formatting it through my pc but didn't work!
please help
I have both adb and fastboot working. Are there any commands that I can run to format it from these two? or is there any other way at all?
You could always "fastboot oem lock" I know it formats /sdcard, /data and /cache plus if your sending it back its a good idea to relock it anyway
adamgibbo said:
You could always "fastboot oem lock" I know it formats /sdcard, /data and /cache plus if your sending it back its a good idea to relock it anyway
Click to expand...
Click to collapse
The sdcard doesn't get formatted when I re-lock the bootloader
Unmount SD card first than:
adb shell
mkfs.vfat /dev/block//vold/179:1
farisallil said:
my i9020T is frozen on google logo but I want to format the Sdcard before sending it for repair. how can I do that?
I tried formatting it using CWM recovery but everything comes back when I restart the phone.
I also tired mounting the usb storage and formatting it through my pc but didn't work!
please help
I have both adb and fastboot working. Are there any commands that I can run to format it from these two? or is there any other way at all?
Click to expand...
Click to collapse
you said that the phone is frozen at google logo. how come you are able to verify ...that everything comes back when you restart? details please.
If you are able to mount the usb, try just deleting the files manually instead of formating.
A second option would be to:
fastboot oem unlock
actually fastboot oem lock doesnt wipe your phone and card; only the fastboot oem unlock function does. so you could try locking and unlocking again.
deeren said:
you said that the phone is frozen at google logo. how come you are able to verify ...that everything comes back when you restart? details please.
If you are able to mount the usb, try just deleting the files manually instead of formating.
A second option would be to:
fastboot oem unlock
actually fastboot oem lock doesnt wipe your phone and card; only the fastboot oem unlock function does. so you could try locking and unlocking again.
Click to expand...
Click to collapse
The phone does not boot up correctly and it stays frozen on the logo after rebooting. By mounting the usb storage again after rebooting, I see everything come back. You are right, I should have explained that in details, sorry.
I tried deleting files manually but didn't work.
I feel there is kind of protection on the sdcard! because even when I push files to the sd using adb or fastboot, they stay there as long as I don't reboot the phone. Once I reboot the phone into recovery again, bang, they are gone and only old files are there.
charlieb620 said:
Unmount SD card first than:
adb shell
mkfs.vfat /dev/block//vold/179:1
Click to expand...
Click to collapse
when I try that,
Code:
C:\>adb shell
~ # mkfs.vfat /dev/block//vold/179:1
mkfs.vfat /dev/block//vold/179:1
/sbin/sh: mkfs.vfat: not found
any idea?
bump........

[Q] help unbrick b70+ tf101

i have a major and awkward problem , my tf101 is bricked after installing Clemsyn-Blades3.2OCver22a but the weirdest thing is my micro sd card does not show up, only the internal storage. so because of that i cant infect nothing into cmw via micro sd
also .. cold boot freezes
Have you tried reformatting your card in a computer for FAT32?
Also, is your B7O SBKv1 or SBKv2? If it is SBKv1 you can use NVFlash if you need to.
i tried nvflash does not work so im guessing im sbv2.
i formatted micro sd(fat 32)
still only internal memory shows up in cwm .
dnt boot, stuck on asus symbol, tried wiping data and cold booting still , dnt work.
tried everything to my knowledge
kingx00 said:
i tried nvflash does not work so im guessing im sbv2.
i formatted micro sd(fat 32)
still only internal memory shows up in cwm .
dnt boot, stuck on asus symbol, tried wiping data and cold booting still , dnt work.
tried everything to my knowledge
Click to expand...
Click to collapse
Have you tried a different SD card?
kokopopz said:
Have you tried a different SD card?
Click to expand...
Click to collapse
i tried another sd card, but with no unveil it still does not work.
idk if this helps but im using clockwork mod v5.5.04
kingx00 said:
i tried another sd card, but with no unveil it still does not work.
idk if this helps but im using clockwork mod v5.5.04
Click to expand...
Click to collapse
I would check the CWM 5.5.0.4 thread to see if others have the same issue.
kingx00 said:
i tried another sd card, but with no unveil it still does not work.
idk if this helps but im using clockwork mod v5.5.04
Click to expand...
Click to collapse
frederuco said:
I would check the CWM 5.5.0.4 thread to see if others have the same issue.
Click to expand...
Click to collapse
Yeah take a look here
http://forum.xda-developers.com/showthread.php?t=1530337
have you tried to mount manually your sdcard? wich version of cwm you have? the CWM 5.5.0.4 only shows internal sd, but you can manually mount microsd
You will needn adb ready to use in your computer.
adb shell will give you a shell where:
enter sdcard
Code:
cd /sdcard
create a folder to mount your microsd
Code:
mkdir microsd
mount your microsd
Code:
mount /dev/block/mmcblk1p1 /sdcard/microsd
and now navigate trough sdcard to that folder
EDIT: i just had the same problem and i fixed like that,
shaola said:
have you tried to mount manually your sdcard? wich version of cwm you have? the CWM 5.5.0.4 only shows internal sd, but you can manually mount microsd
You will needn adb ready to use in your computer.
adb shell will give you a shell where:
enter sdcard
Code:
cd /sdcard
create a folder to mount your microsd
Code:
mkdir microsd
mount your microsd
Code:
mount /dev/block/mmcblk1p1 /sdcard/microsd
and now navigate trough sdcard to that folder
EDIT: i just had the same problem and i fixed like that,
Click to expand...
Click to collapse
ill give it a try
shaola said:
have you tried to mount manually your sdcard? wich version of cwm you have? the CWM 5.5.0.4 only shows internal sd, but you can manually mount microsd
You will needn adb ready to use in your computer.
adb shell will give you a shell where:
enter sdcard
Code:
cd /sdcard
create a folder to mount your microsd
Code:
mkdir microsd
mount your microsd
Code:
mount /dev/block/mmcblk1p1 /sdcard/microsd
and now navigate trough sdcard to that folder
EDIT: i just had the same problem and i fixed like that,
Click to expand...
Click to collapse
now i have a microsd folder among internal folders
when i chose to open it keeps saying files not found . i already put stock rom on the microsd
kingx00 said:
now i have a microsd folder among internal folders
when i chose to open it keeps saying files not found . i already put stock rom on the microsd
Click to expand...
Click to collapse
ok, that's probably because /sdcard is a symobolinc link to /media/data, it did happen to me also
so go to root directory and delete sdcard with rm (of course you will have to unmount everything mounted over there is there is something)
now create a folder named /sdcard and mount your microsd over sdcard
shaola said:
ok, that's probably because /sdcard is a symobolinc link to /media/data, it did happen to me also
so go to root directory and delete sdcard with rm (of course you will have to unmount everything mounted over there is there is something)
now create a folder named /sdcard and mount your microsd over sdcard
Click to expand...
Click to collapse
my adb shell skills are lacking can you please tell me how i do this
thanks in advance
kingx00 said:
my adb shell skills are lacking can you please tell me how i do this
thanks in advance
Click to expand...
Click to collapse
Code:
rm sdcard
mkdir sdcard
mount /dev/mmcblk0p7 sdcard
cd sdcard
mkdir microsd
mount /dev/mmcblk1p1 microsd
shaola said:
Code:
rm sdcard
mkdir sdcard
mount /dev/mmcblk0p7 sdcard
cd sdcard
mkdir microsd
mount /dev/mmcblk1p1 microsd
Click to expand...
Click to collapse
tried it several times and still not able to get nothing into the microsd, i can see the file but when clicked still cant adb push the stock rom
kingx00 said:
tried it several times and still not able to get nothing into the microsd, i can see the file but when clicked still cant adb push the stock rom
Click to expand...
Click to collapse
adb push? what are you talking about? i think you are messing diferent things here
shaola said:
adb push? what are you talking about? i think you are messing diferent things here
Click to expand...
Click to collapse
i did what you told me, but still unable to enter the microsd, cwm keeps informing me no files are found. ive tried the code you given me . it created the microsd file , and i unmounted and mounted it back, and still nothing appears inside the file
kingx00 said:
i did what you told me, but still unable to enter the microsd, cwm keeps informing me no files are found. ive tried the code you given me . it created the microsd file , and i unmounted and mounted it back, and still nothing appears inside the file
Click to expand...
Click to collapse
Take the microSD card out of your TF. Use USB adaptor or what ever and transfer all files you need to it.
Put it back in the TF and do what shaola stated about mounting your sd card. See if that work.
I just think there's a mis communication of what he's trying to tell you and what you're actually doing.
shaola said:
have you tried to mount manually your sdcard? wich version of cwm you have? the CWM 5.5.0.4 only shows internal sd, but you can manually mount microsd
You will needn adb ready to use in your computer.
adb shell will give you a shell where:
enter sdcard
Code:
cd /sdcard
create a folder to mount your microsd
Code:
mkdir microsd
mount your microsd
Code:
mount /dev/block/mmcblk1p1 /sdcard/microsd
and now navigate trough sdcard to that folder
EDIT: i just had the same problem and i fixed like that,
Click to expand...
Click to collapse
big thx this has worked for me
i'm happy that my transformer is not bricked
So I have the issue where my CWM version is boot looping. I know how to fix it by flashing the CWM roach fix but my SD card directory is not visible either. I unfortunately can not get my transformer driver to install. The driver that is provided from the asus website isn't working. That and the driver should be showing "APX" i believe and it's showing "Transformer".
Basically, I guess I'm asking could this be caused due to me using windows xp? If i use windows 7 would I be able to get the driver installed? Would linux be a work around as well? Can anyone any thought of the situation that or maybe a work around?
I am stuck in the same boat as the original poster. The problem I have is that Win7 pro x64 will not recognize my b70 tf101 in cwm recovery. when i am in device manager it is listed in "other devices" and the device name shows up as "transformer"
any way you could link me the proper driver ?

[Q] Help! TWRP Won't Mount /sdcard for flashing!

I ran a recovery in TWRP to get my phone back to the phones original rom after being on AOKP JB Build 4 on my AT&T One X, but now it stays on the HTC boot screen with the red legal warning on it and TWRP can't mount /sdcard to flash back to another rom. I really hope that this isn't a brick but can someone shine some light on this issue and a possible fix? Help would be greatly appreciated!
Update: Was able to get AOKP flashed back by mounting /data as /sdcard, phone boots into it and I can use it, but the internal storage (/sdcard) is nonexistent and won't mount.
format sdcard in your computers os. make sure not to factory reset or clear storage in bootloader or it will corrupt sdcard.
DvineLord said:
format sdcard in your computers os. make sure not to factory reset or clear storage in bootloader or it will corrupt sdcard.
Click to expand...
Click to collapse
I can't get the phone to mount as a removable drive because of the problem with /sdcard, so I can't format it from my computer.
c_h0use said:
I can't get the phone to mount as a removable drive because of the problem with /sdcard, so I can't format it from my computer.
Click to expand...
Click to collapse
Don't worry about the red text. We all have that. And it is not bricked.
Can you turn the phone on with the stock ROM you flashed? If so, can you mount the SD card while it is on, booted up in phone mode? If, mount it there, then move your new rom to your phone.
Hello,
I have a similar issue, i can get into TWRP recovery, but i am not able to mount sdcard. My mistake was that i did fastboot flash boot boot.img but i neglected to actually flash the room and i didn't put the rom in the sdcard, so now i need to mount the sdcard to load the rom to flash it, but that is where i am stuck, is there a way to copy files into the sdcard via adb or any other way?
Any help will be greatly appreciated it.
Thank you.
XRACER said:
Hello,
I have a similar issue, i can get into TWRP recovery, but i am not able to mount sdcard. My mistake was that i did fastboot flash boot boot.img but i neglected to actually flash the room and i didn't put the rom in the sdcard, so now i need to mount the sdcard to load the rom to flash it, but that is where i am stuck, is there a way to copy files into the sdcard via adb or any other way?
Any help will be greatly appreciated it.
Thank you.
Click to expand...
Click to collapse
I think what you need to do then is flash the ROM from your bootloader. I found this guide with directions explaining how to flash from the bootloader by googling How To Flash Rom from Bootloader in the XDA Wiki. Here are the steps
ROM Flashing
Obtain a ROM of your choice, and note the location on your computer.
reboot your device into fastboot mode via one of the following options.
adb reboot bootloader (requires USB debugging to be turned on).
power off the device then back on with 'vol up' + power button.
Wipe your device.
fastboot -w
Update your ROM.
fastboot update </path/to/your/RomFile.zip>
Your phone will update and automatically reboot into the new ROM.
ROM update without SDcard
If you don't have an sd card, or your slot is broken you can try this trick, but you will need a custom recovery like Clockwork.
Boot up your phone to recovery. And move your rom file to the adb directory, and start a command line ( cmd )
adb shell
mount data
adb push D:\custom_rom.zip /data/
Wait until the push finised, and restart your device to recovery again with "adb reboot-bootloader"
mount data
mount /data /sdcard ( mount the data folder into your sdcard folder, so your recovery will think that you have an sdcard installed )
Locate the ROM .Zip file you wish to flash.
Confirm the flash by following the on-screen instructions (ie: pressing the trackball, pressing the call button, etc.)
If no errors arise during the flashing process then the ROM flash was successful, Reboot the device.
With some root file explorer, remove the rom file if you don't need it anymore, to free up space.
Or use adb to remove the custom recovery
adb shell rm data/custom_rom.zip
thanks for the reply but the procedure is not working,
when in fastboot through cmd i get
fatsboot -w
erasing 'userdata'...
FAILED (remote: not allowed)
finished. total time: 0.003s
I made sure i am in fastboot USB
elphiz
XRACER said:
thanks for the reply but the procedure is not working,
when in fastboot through cmd i get
fatsboot -w
erasing 'userdata'...
FAILED (remote: not allowed)
finished. total time: 0.003s
I made sure i am in fastboot USB
Click to expand...
Click to collapse
Lol this just happen toe last night what u need to do is boot into bootloader then plug it USB cable to ur phone and format your sdcard it make sure u download a Rom to your computer before this it can be any tom you like after you format you can put the Rom on ur sdcard and flash and u will be golden
loading into bootloader doesn't allow the computer to read/access the sdcard keep in mind this is the HOX so the sdcard is the internal memory, i could get into the recovery and then try to mount it that way and format from there but for some reason i can't select the option mount sdcard.
This works:
How to Fix corrupt/unmountable internal storage on the HTC One X/XL
http://forums.team-nocturnal.com/sh...storage-on-the-HTC-One-X-XL?p=13552#post13552
perfect thanks that did the job. now time to install the ROM!!!!
thanks a lot
hmmmm.... one more question would i need to flash the boot image as well before installing the ROM???
EDIT: i went ahead and just flashed the ROM, and everything is working fine.
Thank you to everyone
XRACER said:
perfect thanks that did the job. now time to install the ROM!!!!
thanks a lot
hmmmm.... one more question would i need to flash the boot image as well before installing the ROM???
EDIT: i went ahead and just flashed the ROM, and everything is working fine.
Thank you to everyone
Click to expand...
Click to collapse
If you're not on Hboot 1.14 then you don't have to flashboot flash boot.img. just flash the .zip from your sd card
Sent from my HTC One XL cellular device over clocked to 1.9Ghz
thank you sir!
king200 said:
This works:
How to Fix corrupt/unmountable internal storage on the HTC One X/XL
Click to expand...
Click to collapse
ok this did work and i appreciate the link. ive bookmarked it for future use. what sux is i assumed i bricked and have already had a new phone shipped. oh well guess i got a back up
will this work because my microsims card unable to mount /sdcard which i assume is the internal one will it work even if its blank/empty via computer because i have no working os on my phone i have incredible 4g so i hope you can help me
XRACER said:
loading into bootloader doesn't allow the computer to read/access the sdcard keep in mind this is the HOX so the sdcard is the internal memory, i could get into the recovery and then try to mount it that way and format from there but for some reason i can't select the option mount sdcard.
Click to expand...
Click to collapse
I did it. Apparently you can install a zip ROM from SD card once you repartition it from the recovery. There is an option to partition the SD card in the Recovery.
After that, restart the phone, go into recovery again, connect to the PC using a USB cable, and use the USB mount option if you want to copy the ROM without removing the microSD card from the phone. Copy the zip ROM to the sdcard and try installing the ROM again. It worked for me !
I was installing the Pico ROM from this tutorial:
www (dot) rootlord.com/2013/08/revert-htc-explorer-back-to-stock-rom (dot) html
I
TWRP Mounting SD card
DvineLord said:
format sdcard in your computers os. make sure not to factory reset or clear storage in bootloader or it will corrupt sdcard.
Click to expand...
Click to collapse
So I think I may have currupted my sdcard. I'm running CM-12 4/21/15 nightly. I'm a nubie at this stuff and have read everywhere I can think of on the forums. When I try to reboot to bootloader from TWRP recovery if goes immediately to the do no remove USB connection FIRMWARE Update. I am worried that this will un-root me with AT&T being jerks and fixing the bumped bootloader. So, I have always just pulled the battery, plus it never has any progress on the %downloaded bar.
To try to fix the issue I may have just made it worse and created too many partitions or corrupted the SD by doing exactly what you said not to do above. Before I did a TWRP wipe (not the advanced version) the SD card was mounted, but some apps like google play music kept saying external storage removed. I did the wipe and saw the factory reset screen and said ok. I had to download all my apps again and then switched to Google Now launcher I orginally rooted and bootloader unlocked with bump on a different smaller external SD card. I wasn't sure if that had anything to do with it.
I'm almost unsure what to ask you or other more experienced users what to do.
eee. how about on my samsung galaxy j5 sm j500h? i wanted to mount my phone to pc but i cant. was planning to fix my phone cause im stucked on bootlogo due to flashing xposed-v72-sdk22-arm.zip. Hoping that you guys can help me out.

Dual boot Nottachtrix 1.3.1 external sdcard (Clarifications)

I am new to Smart Phones and this forum site; therefore, I can't post directly to the following thread for clarification questions.
http://http://forum.xda-developers.com/showthread.php?t=1716363
My Atrix 4G has been rooted but the bootloader is still locked.
I am hoping other (Newbies) will find this post and get clarifications to the above thread.
This applied ONLY to the Motorola Atrix 4G?
su
mkdir -p /sdcard/Boot/Phone
mkdir -p /sdcard/Boot/SD
cp /dev/block/mmcblk0p11 /sdcard/Boot/Phone/boot.img
Click to expand...
Click to collapse
The directories above are created on the internal emmc flash mounted at /sdcard and NOT the removable flash with the newly created partitions (the external/removable microSDHC card is normally mounted at /sdcard-ext)? These directories store the TWO boot images that are used in conjunction with the attached boot-rom.sh.txt script to toggle between the two DUAL boot environments?
Reboot and flash Nottachtrix to your sdcard
Click to expand...
Click to collapse
I think a lot of magic happens here during the "Reboot and flash Noattachrrix to your sdcard"??????
You must have your bootloader unlocked for this to work? and have the boot level recovery wherewithal installed CWM??? that looks for zip files at the root level of the file tree (Nottachtrix1.3.1.sd-ext.zip in this example)? If correct, should this zip file be on the emmc internal flash or the removable microSDHC card? Does this zip file need to be renamed? The content of the zip file, along with the correct bootloader recovery wherewithal, knows to flash/install it's contents to the removable microSDHC card (with the three blank newly created partitions)?
Once you've booted into Nottachtrix on your sdcard download terminal emulator and run the following command
su
cp /dev/block/mmcblk0p11 /sdcard/Boot/SD/boot.img
Click to expand...
Click to collapse
You are now booted from and exclusively using the removable microSDHC card (what partitions on the internal emmc flash need to be mounted at this point)? I assume this booted environment is also rooted otherwise the copy command would not work via terminal emulator? The copy command above copies the boot image from partition 11 of the emmc internal flash to the internal emmc flash directory shown? I assume during boot "from the removable microSDHC card" the boot image is somehow copied to partition 11 of the emmc flash (using the attached boot script before booting the alternate environment)?
Sorry for so many clarification questions and hopefully I am not totally of base with my questions and limited understanding.
Thanks Very Much In Advance!!!! for any replies.
Regards, Ron

Categories

Resources