failed to mount /sdcard - HD2 Android Q&A, Help & Troubleshooting and Genera

Hi guys, i know this has come up on here before and i've searched through all the threads but found only a lot of information which is of no use at all.
Ok heres the info on my phone:
HSPL 2.08
Task 29ned
2.15.50.14 Radio
CustomRUU
Magdlr
CWM and also tried TWRP
I've used windows format from recovery (usb mass storage) and also minitool partition starting with fat32 and 32kb sectors then ext3 partition but on mounting it only returns the following:
E: failed to mount /sdcard (Invalid Argument)
Error mounting /sdcard
so far tried fat32, ntfs, ext2, ext3 out of sheer desperation
Any help would be muchly appreciated but i'm assuming it might be the sdcard at fault i really don't know.
Thanks in advance.
Dan

Hi Dan
In minitool, did you set the primary/logical box to primary?
Why ext3?
Also what rom did you install, and what install method?

Robbie P said:
Hi Dan
In minitool, did you set the primary/logical box to primary?
Why ext3?
Also what rom did you install, and what install method?
Click to expand...
Click to collapse
Thanks for your reply, yes both were set to primary, ext3 as that what lots of threads on here advised. Formatted to fat32 first. I can see it on my pc but can't mount it on the phone? Any ideas?
No rom on the phone yet as i can't get the zip files to be recognised as the sdcard can't mount so you can see my problem now.
Am now getting a new error message saying:
E: Unable to write to ums lunfile (No such file or directory)
Thanks
Dan

Hi Dan, best to start afresh with your card. Use this https://www.sdcard.org/downloads/formatter_4/ to format it to fat32, and see if it shows up then.
I don't know of any latest roms using ext3, most use an ext4 partition on the sd card
Anyway, report back

Robbie P said:
Hi Dan, best to start afresh with your card. Use this https://www.sdcard.org/downloads/formatter_4/ to format it to fat32, and see if it shows up then.
I don't know of any latest roms using ext3, most use an ext4 partition on the sd card
Anyway, report back
Click to expand...
Click to collapse
Ok i'm slowly getting somewhere, twrp didn't work, minitool didn't work, cwm didn't work so then i tried the new version of twrp and formatted it on the sdcard which can now mount sdcard on twrp.
The issue i'm having now is that adb doesn't list it under devices. I'm having to use adb sideload as because its been formatted on the phone it can't be seen on the pc? Not sure if thats as i don't have the hd2 drivers on the pc but its got hd2 toolkit installed. Either way i now don't have any way of installing from the rom zips I have.
Thanks
Dan

Hi Dan, I don't think Android Debug Bridge will work if you do not yet have android on your phone (unless it works from twrp). It seems you have magldr installed, can you use usb mass storage to transfer your rom to phone?
Also I do highly recommend using the sd formatter i linked to earlier, but i assume you do not have a card reader, hence doing all from phone.
Best of luck

I had this problem to fix
i installed everything then formatted card to fat32 using mini partition wizard and then did EXt4 and swap partition from Cwm Recovery and it worked just fine

Fix for unable to mount sdcard error
Neurom707 said:
I had this problem to fix
i installed everything then formatted card to fat32 using mini partition wizard and then did EXt4 and swap partition from Cwm Recovery and it worked just fine
Click to expand...
Click to collapse
Just incase anyone has the same problem i had with the never ending unable to mount sdcard problem.
What this turned out to be was cwm would format the card but only a certain area, then if you format with windows it will again only format a certain area that it see with its own file system. Then minitools would have a strange arrangement of differing file systems and changing this by usb connection through magdlr kept creating these problems.
I was trying to use adb to connect the phone to the pc through usb drivers but in the end it simply wasn't worth the effort.
First I went over cwm with the latest version of twrp.
Then I went out to buy a new sdcard simply to get a sdcard to microsd card tool.
Reformat the sdcard (with minitool partition) once in the pc (using the microsd to sdcard tool) to fat32 or fat32 with an ext4 partition if yr doing nand and dataext. Both partitions need to be primary and make sure there are no other partitions on the card this may take a few goes as sometimes you get a random partition or I did anyway.
Then put your rom files on the sdcard using the pc.
Remove sdcard from pc and install in phone.
Boot phone into magldr and choose recovery and this will take you into twrp and simply choose install and find the rom file you want to install.
Don't worry if you have any problems in the rom install you can always go back into twrp and wipe the system which is the rom.
Hope that helps anyone who was experiencing the same issues.

Alternate workaround
I had the same problem others have above. I wound up using a different workaround, and was able to do it with just the phone, a USB cable, and a Windows 7 PC. No SD adapter was needed and there was no need to remove the microSD card from the phone.
I took a stock WinMo 6.5 TMOUS HD2, installed Black LK and TWRP and cleared everything (cache, etc.). Then I used Black LK (very similar to cLK) to re-partition the internal storage to accept my new Android ROM. All I needed at this point was to install the ROM. I tried to copy my Android ROM to a microSD card I had in another phone and then bring it over, but TWRP was unable to read the card. It also couldn't mount the card via USB.
I was able to use TWRP to format the microSD. Then TWRP was able to USB Mount the microSD, but when my PC dectected it, I received a popup indicating that I needed to format the SD before Windows could use it. I said "yes", and allowed Windows to format the card as one big FAT32 partition. It took a few minutes, during which I was a little nervous as there was no progress meter or anything else on either the phone or the PC to indicate it was working. But once it finished, Windows was finally able to access the microSD card and copy the .zip file for the ROM. Once that was complete, I told Windows to eject the microSD, then un-mounted it in TWRP. And, finally, TWRP was able to see the ROM file and install it to NAND from the microSD.
Anyway, thought I'd post it up in case anybody else runs into this and doesn't have a card reader or adapter.

Related

cant format sd card after trying to install hero rom

I tried to install the hero rom and went to format the sd card with paragon but for some reason it shows my whole sd card as ext2 and I try to delete the partition and format it but it never works. Is there anyway to bring my sd back to life?
right click on the partition and resize then reclick on the unallocated side and create partion fat32
HOGWILD said:
right click on the partition and resize then reclick on the unallocated side and create partion fat32
Click to expand...
Click to collapse
I can't do that when I try to it doesn't list the sd as an option. I just have the delete partition ioption but when I remove and re insert my sd it still reads as ext2. idk if I fried the card this sux tho it was only like 3 months old..
Download gparted and boot into that.
Was having similar problems with my sd card. In order to get it to work I used the recovery cd in paragon and it finally read it correctly which allowed me to format it. The recovery cd is provided in paragon. Just go to the "Boot and Rescue" section and follow the steps to create one. Then just restart your computer with it in your dvd drive and it wil automatically boot to it, unless you have that changed for some odd reason.
And the sd card must be in a card reader other than the g1 (a usb reader will work). It just won't mount correctly through the recovery disc of you use your phone
CashMoney474 said:
Was having similar problems with my sd card. In order to get it to work I used the recovery cd in paragon and it finally read it correctly which allowed me to format it. The recovery cd is provided in paragon. Just go to the "Boot and Rescue" section and follow the steps to create one. Then just restart your computer with it in your dvd drive and it wil automatically boot to it, unless you have that changed for some odd reason.
And the sd card must be in a card reader other than the g1 (a usb reader will work). It just won't mount correctly through the recovery disc of you use your phone
Click to expand...
Click to collapse
Ok I will try that now and yes I've only used the sd card reader so hopefully that will work.thank you..will report back if it works.thank you

Mmmm toasty - 8GB SD Card appears to be FUBAR.

It started with I repartitioned it using the Aman RA recovery "Part SD: fat32+ext2+swap" and flashed a Hero ROM. It worked fine. When I wiped and restored CM 4.1.999 (nandroid) I couldn't get to any of my programs or anything else on the SD Card. After some wiping and some trial and error I said screw it and re-formatted (via Windows) and re-partitioned my card via recovery. Again, I couldn't access any of my programs or the card.
I can format the card as one 7.x GB partition and it seems to be OK, but when I try to partition into fat23+ext2+swap via recovery (or any combination of more than one partition using Paragon Partition Manager) it is rendered unusable. If I re-mount it to my computer I get that the drive is not formatted.
If I format it it to one partition and then try to create multiple partitions via Paragon I get "A new partition cannot be created on this hard disk. Most probably, all primary slots are occupied and there is no extended partition."
Any ideas?
nolageek said:
It started with I repartitioned it using the Aman RA recovery "Part SD: fat32+ext2+swap" and flashed a Hero ROM. It worked fine. When I wiped and restored CM 4.1.999 (nandroid) I couldn't get to any of my programs or anything else on the SD Card. After some wiping and some trial and error I said screw it and re-formatted (via Windows) and re-partitioned my card via recovery. Again, I couldn't access any of my programs or the card.
I can format the card as one 7.x GB partition and it seems to be OK, but when I try to partition into fat23+ext2+swap via recovery (or any combination of more than one partition using Paragon Partition Manager) it is rendered unusable. If I re-mount it to my computer I get that the drive is not formatted.
If I format it it to one partition and then try to create multiple partitions via Paragon I get "A new partition cannot be created on this hard disk. Most probably, all primary slots are occupied and there is no extended partition."
Any ideas?
Click to expand...
Click to collapse
I just recovered mine from this the other day...when I went into parted it was not showing the label of "primary" which was signifying it was not actually an initialized partition....even though I told it mkpartfs primary fat32 and put the parameters for it...
My fix was to use my Mac and format it to FAT standard (not FAT32) which allowed it to be seen in my Vista machine downstairs....when I insert it asked to format and I said no (as it would only format 200MB and leave the other 7.6GB unusable) and went into Manage under My Computer (right click, choose Manage) then went down and right clicked the SDHC card and chose to format it to FAT32..which it did.
Put the memory card back in the phone, went back to parted and redid my partitions and they showed the "primary" label as they should...took card out of the phone, put back in the Mac and copied over the zip I wanted to flash to the FAT32...put back in the phone and flashed with Amun-RA 1.2.3
why dont you partition using gparted on the G1? try formatting it within windows first, and then using the gparted method. it may work, may just have been a bad format/partition the first time.
palosjr said:
why dont you partition using gparted on the G1? try formatting it within windows first, and then using the gparted method. it may work, may just have been a bad format/partition the first time.
Click to expand...
Click to collapse
I've used sdpart in the recovery. I thought that used gparted?
I also had this problem with Paragon, I formatted the card and partitioned using gparted boot cd. Works great now.

[Q] Failed to setup APP2SD

Hey guys,
I decided to setup my sd card today cause my phone internal memory was constantly running out. I followed the stickies on how to partition the SD using EASEUS. After I partitioned the app2sd partition, i booted up my phone. The phone says there is no sd card. So i rebooted the phone and mount my SD card through recoverymod. I can still see my sd card and files inside of it, but it only has 7GB left instead of 8GB. EASEUS too only detects only one partition of 7GB. Other then mounting the storage through recoverymod's Mounting USB Storage, the sd card cant be mounted anywhere else. Recoverymod shows Error: failed to mount /sdcard for all functions that require the sd card.
Has anyone came across this problem and fixed it ?
ackz said:
Hey guys,
I decided to setup my sd card today cause my phone internal memory was constantly running out. I followed the stickies on how to partition the SD using EASEUS. After I partitioned the app2sd partition, i booted up my phone. The phone says there is no sd card. So i rebooted the phone and mount my SD card through recoverymod. I can still see my sd card and files inside of it, but it only has 7GB left instead of 8GB. EASEUS too only detects only one partition of 7GB. Other then mounting the storage through recoverymod's Mounting USB Storage, the sd card cant be mounted anywhere else. Recoverymod shows Error: failed to mount /sdcard for all functions that require the sd card.
Has anyone came across this problem and fixed it ?
Click to expand...
Click to collapse
It seems that your sdcard is corrupted.
Try to backup all data and reformat all partitions in linux
Windows can't recognize second partition on sdcard & it can sometimes mess up the partition.
Try GParted (google it).
d4rkkn16ht said:
It seems that your sdcard is corrupted.
Try to backup all data and reformat all partitions in linux
Windows can't recognize second partition on sdcard & it can sometimes mess up the partition.
Try GParted (google it).
Click to expand...
Click to collapse
I tried browsing my SD card through GParted ( linux version and boot cd version), and all of them shows only 1 partition of 7gbs. One G is still missing and sd card still fails to work .
ackz said:
I tried browsing my SD card through GParted ( linux version and boot cd version), and all of them shows only 1 partition of 7gbs. One G is still missing and sd card still fails to work .
Click to expand...
Click to collapse
Did you make a backup of your sd before creating the sd ext partition
? Should be written in each tutorial concerning sd ext creation.
Otherwise your data is no more.
As already written, windows is not able to read a sd ext partition. its fully right, that your fat32 partition shows only 7gb, the other 1gb is used from the sd ext and not viewable by windows.
...to create a sd-ext very easy go into cwm-advanced-format sd card and chose 1gb ext 0 swap.
Sent from my HTC HD2 using XDA Premium App
ackz said:
I tried browsing my SD card through GParted ( linux version and boot cd version), and all of them shows only 1 partition of 7gbs. One G is still missing and sd card still fails to work .
Click to expand...
Click to collapse
Try this :
Backup all data in your micro SD.
Open & boot your computer using Gparted Linux / Parted Magic Linux / any other linux that has GParted / Parted inside its LiveCD
Run Gparted.
Delete all partitions.
Options:
Create sd-ext partition using GParted :
Create 1 fat32 Partition (as Primary) & adjust the size to your liking
Create 1 ext3/ext4 (as Primary...check if your android kernel support ext4) & adjust the size to your liking (usually 1 - 2 GB is enough)
Create sd-ext partition using CW Recovery:
Create fat32 Partition (as Primary...use all space)
Boot HD2 into AD Recovery
Go to Advanced menu
Format & choose sd-ext partition options
Flash your fav. ROM
Notes:
I personally like Parted better than GParted as it's a lot quicker & more advanced options (GParted is only a front-end for Parted).
Parted is for advanced user & TUI.
If you want to try Parted,make sure you read the manual & understand everything related to your actions (open console / terminal & type : man parted)
Use Parted using Root access (open console / terminal & type : sudo parted).
Use it with caution as it can wipe all of your hard drive data !
For more info about Parted try this link :
GNU Parted

ums lunfile

I wanted to go back from WP7 (Yuki rom) to Android, so I installed CWM back with the requested partition layout for the new rom, but now I cannot mount SD card back. It constantly says its unable to write ums lunfile and it wont let me mount SD storage or install any rom's. USB flasher from MAGLDR works fine but when i go to MassStorage it wont mount it on the PC. I have MAGLDR 1.13 a 3.0.2.4 CWM and the EU version of HD2. Please help, thanks
when passing from wnmo7 to android you should format your sd (panasonic sd formatter recommended).or your phone can only see 200mb of it.
yeah but the application cannot see my card and the system is not giving it a drive letter...the card shows up when I go to computer administration but i cannot do anything with it

Can't restore sd card

(Sorry for my bad english[emoji14])
Hello, i bought a new sdcard just yersteday. Right a hour ago, i've plugged it in my P8Lite and it was working well. Then i decided to create another partition(ext4) to link my obb app files with Link2sd in my sdcard via pc. Everything gone well but when i've put it in, my phone told me that the sdcard is broken and i need to restore it. When i try to restore, it fails and shows me this message:
" 'command 118 volume unmount public:179:129' failed with '400 118 command failed' "
I've tried to restore it with my pc, change file system to: ext2-3-4, FAT and exFAT, i've tried to wipe it but still nothing. My pc detects my sd (cause i've an adaptator for pc) and i can put files in, but with my phone i can't do nothing. Does anyone have this problem too? Thanks to anyone that wants to help me.
My phone specs:
P8Lite B564 with root and xposed
The problem is that you need to format the SD Card to FAT32. The other problem is that windows natively only gives you the format to FAT32 option on 32GB sizes and lower. What you have to do is download a FAT32 formatter and put your sd card in your pc using the adapter and format it completely to FAT32. Good luck hope I was able to help you

Categories

Resources