31 December 2014

How to Fix “E: Can’t mount /sdcard/” on Smartphone






Android is really a great operating system with immense flexibility and that is why it is the most popular platform in the world. Owning an Android device gives you access to millions of amazing apps and, if you are an adventurous user, also lets you flash custom ROMs, kernels, mods and ported apps via a custom recovery.

There is a huge custom development community that keeps toiling for giving us stuff that enhance our mobile experience. Involving in such activities might add some adventurous flair to your mobile experience but, at the same time, they might also pose issues and risk to the device. Nobody would like to turn his/her phone into a costly paperweight and that’s why one should always take utmost care while flashing custom ROMs, mods and kernels.
Anyway, if you are addicted to flashing mods and ROMs on your Android device, or even if you are a novice to such things, and happen to encounter SD card mount issue in recovery, we have come with some possible solutions to fix the problem. When the error occurs, you might see one of the following messages on the recovery screen:
  • CWM can’t mount SD
  • SD Card Not Mounted
  • Can’t mount external micro sd-card
  • SD card won’t mount
  • Can’t mount sdcard
  • Can’t mount emmc
  • Can’t mount external micro sd-card
  • E:Can’t mount /cache/recovery/command last_log emmc external micro sd-card
  • E: Can’t mount /sdcard/
  • E:failed to mount /sdcard (file exists)
  • E:failed to mount /sdcard (no such file or directory)
 
 Download this: SD Formattor
 https://www.sdcard.org/downloads/formatter_4/
 

Method 2: Update CWM or TWRP Recovery

Formatting the SD card did not help you at all? Don’t worry, this might be a recovery related issue! Just download the latest version of CWM/TWRP recovery and flash it. You can also try switching to a different recovery than installed on your device. In other words, if your device has CWM, try TWRP and vice versa.
Download ClockworkMod Recovery
Download TWRP Recovery

Flashing ROMs When SD Card is Not Mounted

If you got an urgent need to flash a ROM but after booting into CWM PhilZ recovery are not able to access the external SD storage because of E: Can’t mount /sdcard/ issue, there is still a way you can install the ROM using ADB commands. Here’s how:
  1. Set up Android SDK (ADB and Fastboot) on your computer. Alternatively, you can download the minimal Fastboot tool and unzip it.
  2. Now copy the ROM zip file to the platform-tools or mfastboot-v2 folder.
  3. Get into CWM recovery mode.
  4. Make sure that USB Debugging is enabled on your phone. Just to make sure that you device is detected by ADB, connect you phone to computer, launch a command window from the ADB and fastboot folder and type the following command:
    adb devices
  5. If you see your device’s serial number in the command window, you are good to go.
  6. Now type this:
    adb shell
  7. You should see “#” (hash) somewhere in front of your command line.
  8. Now type the following command and press Enter key:
    ls
  9. Now you should show you the folders on your device. Try to navigate to the directory /data/media using the following command:
    cd /data/media/
  10. Now push the ROM file to the above directory via the following command (replace ROM.zip with the name of your ROM file):
    adb push ROM.zip /data/media/ROM.zip
The ROM file will now be installed to your phone and it should boot properly. This tip can be helpful if your device gets into bootloop and you are not able to access your ROM backup or flashable Zip on the SD card.