[HOW-TO] Fix sdcard mounting error WITHOUT FORMATTING SDCARD - Android General

Hello guys,
If you are getting
e:can't mount /sdcard (or) Error mounting /sdcard error.
<<THIS ERROR ONLY APPEARS IN CLOCKWORKMOD RECOVERY>>
Then here's the solution without formatting your sdcard.
1. Pull battery and take out your sdcard.
(Optional: put it in your Laptop/PC to make sure it is working or not)
2. Insert sdcard back and then insert battery, and start phone in Recovery mode.
3. Go to mounts and storage
4. Then select mount /sdcard option.
Now recovery should recognize your sdcard.
IF RECOVERY DOESN'T RECOGNIZE YOUR SDCARD, THEN:
Must be faulty/corrupted sdcard.
or Must be loosen or not properly inserted sdcard.
or Must be recovery bug.
Please click on
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
button if it worked.​

Related

Mount external1 as sdcard

Just thought I would share, I use these commands in a script to mount my external 32gb sdcard as /sdcard/.
Would be better if i could figure out how to get it to work as init.d however the external drive is mounted dead last in the boot order... Currently (without some init.d vodo) this needs to be manually "hot swaped" after boot.
umount /mnt/sdcard
mount -t vfat -o rw,umask=0000 /dev/block/vold/179:97 /mnt/sdcard
Note the numbers.. I learned these on another thread here but those numbers had to be changed for this phone.
More info on how to use these and the source for the original code here: http://forum.xda-developers.com/showthread.php?t=1786014&page=2
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my XT897 using xda premium
This can damage all the internal storage?
I think about trying to mount ext to sdcard to flash something in recovery, because I need the sdcard but it can't be mounted by itself.
Is there a permanent solution to this? All other methods don't work on Android 4.4

[Guide] How to run Windows 95 on Galaxy S Advance

Just tried it for fun. Worked
Source: http://forum.xda-developers.com/showthread.php?t=1688353&nocache=1
I tried this on CM10.1 (so, internal memory -> /storage/sdcard0 & sdcard -> /storage/sdcard1 )
Instructions:
Download this: http://www.mediafire.com/download/03i9l8qswy2825y/W95.rar
Extract it and copy W95.img to a folder named "win" in your internal memory. (/storage/sdcard0/win)
Install this app: https://play.google.com/store/apps/details?id=org.hystudio.android.dosbox
Configure adosbox: Press menu button ->SDL settings ->video setting ->on-screen magnifying glass (sharper screen)
Run the following commands in the command line: (1 line at a time)
Code:
cls
mount d: /storage/sdcard0/win
d:
imgmount a: d:w95.img
boot w95.img
You ll get a blank screen for some time. Wait for it to boot. Voila
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If i want to go back, what to do?
Turn it off.

[Q] Can't reach SDcard

Hi!
I've messed up my mini totally. I can't get into my phone, when I start it, it will only show the HTC screen and not start up.
I can reach bootloader.
This accrued when I made a "Factory reset" and I suspect that everything on the phone is wiped out (including the ROM).
Now I'm trying to install a new ROM (bootloader is onlocket, s-off, Iv'e gor SuperCID etc). But I can't reach my SD card (the phone wont start up), can I "install" the new ROM trough CWM
or somehow push the ROM.zip to my SD card trough CWM?
What I've tried so far:
*Push ROM though adb shell = Result:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What Do I do wrong?
Try the formatting inside the recovery. Try to flash a recovery then format the sdcard. After that, it should work.

Unable to mount /cache and /data - HTC Desire 820

I have read for hours on this and im just looking for abit of help before I start doing unrecoverable damage
The phone boots, but asks for an encryption key (unable to mount /data).
The bootloader is unlocked, I am able to use fastboot, and boot to recovery (TWRP 2.8.7.0) - and Parted, within ADB shell.
I have tried to repair /cache and /data from within TWRP (Wipe -> Advanced Wipe -> Cache/Data - Repair or Change File System -> Repair File System, but it fails;
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Here is the partition layout displayed with "parted /dev/block/mmcblk0 print" ;
What commands do I need to do with parted to get /cache and /data to be mountable?
Any help appreciated, thanks

Custom Rom Bootloop & External SD Card Problem

When i install rom then after reboot to system , the phone is again going to Recovery mode. I wipe data/factory data reset and also install magisk.zip, again the rom was not boot , it always goes to recovery .
Then i again flash Firmware using adb. Then i install ColorOS 6 / Realme UI zip using coloros recovery then the phone boot properly. But i can't use any Custom Rom in my phone.
In twrp / color os recovery , External SD Card not working but before flashing 1st time a rom, the external sd card was working . How to fix this problem?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
it also didn't work in ColorOS 6 Recovery mode.

Categories

Resources