[Q] Internal/External Storage not mounting - Droid RAZR M Q&A, Help & Troubleshooting

I recently unlocked my bootloader in order to install the latest PAC ROM. Everything went swimmingly until recently my internal and external sd cards are not mounting. At first I cleared data and factory reset the device and that didn't help, reboots didn't do a thing, and I've used some Terminal codes to try and mount it:
su
echo mkdir /storage/sdcard0 > /data/local/userinit.sh
chmod 700 /data/local/userinit.sh
reboot
but that did nothing. The most recent development is the SIM card doesn't mount right on boot so I'm stuck rebooting the device to just use the network. I tried seeing if Root Explorer would find and mount the card somehow and the SD card and Ext. SD Card sections appear as an unknown file type.

Jaredhd2012 said:
I recently unlocked my bootloader in order to install the latest PAC ROM. Everything went swimmingly until recently my internal and external sd cards are not mounting. At first I cleared data and factory reset the device and that didn't help, reboots didn't do a thing, and I've used some Terminal codes to try and mount it:
su
echo mkdir /storage/sdcard0 > /data/local/userinit.sh
chmod 700 /data/local/userinit.sh
reboot
but that did nothing. The most recent development is the SIM card doesn't mount right on boot so I'm stuck rebooting the device to just use the network. I tried seeing if Root Explorer would find and mount the card somehow and the SD card and Ext. SD Card sections appear as an unknown file type.
Click to expand...
Click to collapse
did you make a nandroid? if so, see if you can restore with that.
what I usually do when installing a new ROM is mount everything -> factory reset -> wipe internal storage -> reboot recovery -> mount everything -> install ROM
I don't think there is any reason to wipe external storage.

Thanks but unfortunately I forgot to make a Nandroid so I've used the Toolkit and reinstalled stock.

Related

Corrupted SD Card

I'm running CM 4.1.11.1 I think and just recently new apps wouldn't install, so I rebooted and all of a sudden all of the apps just turned into the standard icon and none of them said they were installed except for like 3 or 4 of them. I think the SD card is alright, but must have some kind of error in the ext filesystem as I can see all of the files on the FAT32 portion just fine. Do you guys know of any way to just fix the errors on the ext portion without reformatting it? Or do I have to kill all of the partitions and redo them?
You could use the repair ext filesystem option if you are running a recovery image that has it (Cyanogen 1.4 or RA 1.2.3) or just reformat the ext partition using gparted under linux.
Yeah, the repair ext thing didn't work. I think I may just have to clear off the entire card and start from scratch.
I got the same problem
then I backup all the apps up with: tar cvf /sdcard/backup.tar /data/app/*
then copy backup.tar to your desktop pc
then reformat your tf card and repart the partitions
when it's done,move it to your tf card FAT32 partition again
insert to your Phone
the install CM ROM
when it's done
enter the terminal or adb shell
cd /data/app
tar xvf /sdcard/backup.tar
(if it says read only filesystem something you can try reboot )
then check to make sure all the .apk files are under the /data/app directory
then type
fix_permissions
when it's all done reboot
if some apps' error
reinstall them
that's all I did
good luck to you ;-)
oh,I suggest that the size of your ext3 partition should under 400MB
that't the key to solve the problem I thought

installing darktremor on Wildfire/CM6.1

I want to install darktremor A2SDExt on my wildfire and am trying to follow the instructions below
http://www.facebook.com/note.php?note_id=158809660835039
I have downloaded the zip from the site but cannot find the partition sd card menu under clockwork recovery 2.5.01 as stated in the instructions. My menu layout is totally different. I have a partitions menu with options
mount /system
mount /data
unmount / cache
unmount /sdcard
mount /sd-ext
format boot
format system
format data
format cache
format sdcard
format sd-ext
mount USB storage
Could someone please walk me through the process of how I partition my sd card for use with darktremor.
Use ROM Manager.
Thanks for the info I used Rom manager and used the default options to partition my sd card which created two partitions I think called EXT and swap. I copied all my stuff back from my computer to SD card. Then I flashed darktremor.zip
I opened up terminal and typed the following
a2sd cachesd (move dalvik to sd card)
and got a whole load of messages saying permission denied. I have definitely got root so wtf? Any ideas where I'm going wrong. I am reading stuff about EXT 3 and EXT 4. I definitely didn't get the option to create anything like that. I don't think my partitions are right
Try typing su before that. It will require superuser access.
Thanks you're the man. It worked.
Wow I have 128 apps installed on my phone including 35 games and still have 102Mb free internal memory .

[Help] My x10i is boot cycling after messing around

hi.
I already had my x10 with wolfbreak v6 and with rendeiro2005 (crowds) BlackEditionHD v0.2.
but I tried to restore user data and I f**ked up.
actual situation:
cycling boot.
when I try to reinstall wolfbreak or blackeditioHD roms, xrecovery says: ""can't mount /sdcard" and doesn't install.
last thing I did was to re-install the ftf bundle provided by wolfbreak (2.3.3 kernel and baseband .71 only).
need help, please
go to xrec wipe data dalvik, etc and fix premission
try again
if not
partition tools -> mount sd card if it is already mount the unmount card remount card
try then
if it still does not do the means the card is currupted. connect x10 to computer
go to partiton tooll-> mount usb storage copy every thing on hard drive.
not sure but format to fat32 copy your xrec file try to mount to xrec
try to do it again
when the the phone started format card via anroid
marcoplo said:
does not boot ot xrec?
Click to expand...
Click to collapse
yes, but I can't install anything.
I choose "Install custom zip" and then I can navigate on sdcard folders. But when I select somthing to install it always gives the "can't mount /sdcard" error.
i havent readed prop.
marcoplo said:
go to xrec wipe data dalvik, etc and fix premission
try again
if not
partition tools -> mount sd card if it is already mount the unmount card remount card
try then
if it still does not do the means the card is currupted. connect x10 to computer
go to partiton tooll-> mount usb storage copy every thing on hard drive.
not sure but format to fat32 copy your xrec file try to mount to xrec
try to do it again
when the the phone started format card via anroid
Click to expand...
Click to collapse
already tried all those suggestions.
connecting x10 to computer and mounting usb storage didn't work too.
I can see the drive letter but I can't access it.
I can access sdcard files/folders using another phone.
and I can access it via adb shell too.
made a file copy via adb shell and it worked.
so it seems the sdcard is ok.
Problem solved
Solution:
had to install gingerbread ready xRecovery 0.3
used option A: in this post from zdzihu
http://forum.xda-developers.com/showthread.php?t=859571
I made an sdcard backup using another card-reader before.
I thought it would delete all sdcard content... but I was wrong.
thanks anyway
;-)

[Q] TF101 doesn't recognize internal sdcard

I have CWMR 5,8 installed. First boot automatically loads into CWMR [this is, as far as I've read, a problem with the recovery and I can handle it if I can fix the internal sd card]. Rebooting and cold-booting helps me boot up my ROM (I've tried multiple ROMs, currently on CM9).
Everything works, except for my internal sdcard (weirdly thought I cannot access my external micro SD from CWMR). It seems as if its not mounted. I got ADB access to the device, /sdcard is there and all of the files are there. I can adb push and adb pull, so the internal storage seems to be working fine, it just doesn't mount it. Maybe the issue is permissions? ls -la sdcard outputs: lrwxrwxrwx root root 2012-10-26 20:43 sdcard -> /storage/sdcard0
Any ideas? I've tried installing different versions of CWM recoveries (adb push zip file and then using CWM to actually install it), they don't seem to stick.
Does /storage/sdcard0 exist on your device (AFAIK this is the new location defined by JB, but I don't know what CM9 does)?
If not, you may find your files in /data/media.
peeter.tomberg said:
I have CWMR 5,8 installed. First boot automatically loads into CWMR [this is, as far as I've read, a problem with the recovery and I can handle it if I can fix the internal sd card]. Rebooting and cold-booting helps me boot up my ROM (I've tried multiple ROMs, currently on CM9).
Everything works, except for my internal sdcard (weirdly thought I cannot access my external micro SD from CWMR). It seems as if its not mounted. I got ADB access to the device, /sdcard is there and all of the files are there. I can adb push and adb pull, so the internal storage seems to be working fine, it just doesn't mount it. Maybe the issue is permissions? ls -la sdcard outputs: lrwxrwxrwx root root 2012-10-26 20:43 sdcard -> /storage/sdcard0
Any ideas? I've tried installing different versions of CWM recoveries (adb push zip file and then using CWM to actually install it), they don't seem to stick.
Click to expand...
Click to collapse
ok first thing, your external microsd card should be /Removable/MicroSD/. also what do you mean when you say youre pushing zip files then installing them but they dont seem to stick? how are you connecting via adb are you using ./adb shell to connect and move files? theres a certain way you have to push files to the device when youre in recovery.
Fixed it
Hello,
Not being able to mount the internal sdcard
The problem was I installed CM10 then somehow rolled back to CM9. The sdcard location moved between those 2 versions and the CM9 version wasn't able to mount it anymore. After installing CM10 everything worked apart from the boot loop.
TF101 booted into recovery every time
I fixed that by flashing: http://forum.xda-developers.com/showthread.php?t=1213723
and running the command to actually load in the new recovery from here: http://forum.xda-developers.com/showthread.php?t=1530337
In summary
My tf101 works thanks to all the info available on xda

corrupted sd card help please

how to fix corrupted sd card ??
Please help me
shafeel said:
how to fix corrupted sd card ??
Please help me
Click to expand...
Click to collapse
Format it. It will wipe everything though
Any solution can I fix without format?
shafeel said:
Any solution can I fix without format?
Click to expand...
Click to collapse
Pull it out stick it in your PC and let it fix it. I had this happen to me all the time. I got a new SD card, but its starting to do it again. Not sure if its my old phone or software.
Sent from my SM-N920P using Tapatalk
shafeel said:
Any solution can I fix without format?
Click to expand...
Click to collapse
If you are rooted or use custom TWRP recovery you can fix it without take it out from your phone.
First if you are rooted but don't have TWRP:
Unmount your microSD
IT IS VERY IMPORTANT TO UNMOUNT YOUR MICROSD BEFORE YOU CONTINUE OR YOU MAY LOSE YOUR DATA FOREVER
Install Terminal Emulator
Open Terminal Emulator
Type : su then press ENTER
It should trigger Super SU permission if you haven't allow it.
for ExtFAT formatted microSD type: fsck.extfat -fp /dev/block/mmcblk1p1 then press ENTER
Wait until it finish.
Mount your microSD
If you have TWRP:
Enter TWRP Recovery
Go to mount section
Unmount MicroSD
IT IS VERY IMPORTANT TO UNMOUNT YOUR MICROSD BEFORE YOU CONTINUE OR YOU MAY LOSE YOUR DATA FOREVER
Mount system partition
Go to Terminal
Type: cd /system/bin then press ENTER
for ExtFAT formatted microSD type: fsck.extfat -fp /dev/block/mmcblk1p1 then press ENTER
Wait until it finish.
Reboot
Important notes:
the command line may differ a little bit for each ROM/kernel/busybox but the main point is you can fix corrupted microSD from within you phone without formatting it.

Categories

Resources