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
Hello there
I was wondering, can the internal sd card can be mounted with CWM?
If so, can you provide the button count to do it?
I have a S4 with a broken LCD, and I want to retrieve the data, but since I can't enter the passcode, not kies or windows see the files.
I managed to root it and flash CWM but now I got stuck and I just don't remember if I can't mount the internal SD with CWM
dsv591 said:
Hello there
I was wondering, can the internal sd card can be mounted with CWM?
If so, can you provide the button count to do it?
I have a S4 with a broken LCD, and I want to retrieve the data, but since I can't enter the passcode, not kies or windows see the files.
I managed to root it and flash CWM but now I got stuck and I just don't remember if I can't mount the internal SD with CWM
Click to expand...
Click to collapse
install android sdk if you dont have it.
boot your phone into cwm and connect to pc.
open cmd line where adb file exist, and type:
Code:
adb devices
you must see your serial number with recovery
Code:
adb pull /sdcard/ /sdcard/
when it finish, "sdcard" folder in "c" directory
samersh72 said:
install android sdk if you dont have it.
boot your phone into cwm and connect to pc.
open cmd line where adb file exist, and type:
Code:
adb devices
you must see your serial number with recovery
Code:
adb pull /sdcard/ /sdcard/
when it finish, "sdcard" folder in "c" directory
Click to expand...
Click to collapse
So, after some struggling with the adb drivers I got the device detected by adb and gave this a try, but I think I hit another wall.
sdcard showed 0 files, so I entered the shell and realized the sdcard was not mounted.
I tried to mount it by running mount /sdcard/ but it says sdcard can't be found in fstab{
This is what my fstab has:
cat fstab
/dev/block/mmcblk0p19 /cache ext4 rw
/dev/block/mmcblk0p21 /data ext4 rw
/dev/block/mmcblk0p20 /system ext4 rw
Any suggestion? Thanks in advance
EDIT: I'm thinking that maybe CWM didn't flash correctly (I did it from Odin, and since I'm going blindly there is no way for me to know for sure)
dsv591 said:
So, after some struggling with the adb drivers I got the device detected by adb and gave this a try, but I think I hit another wall.
sdcard showed 0 files, so I entered the shell and realized the sdcard was not mounted.
I tried to mount it by running mount /sdcard/ but it says sdcard can't be found in fstab{
This is what my fstab has:
cat fstab
/dev/block/mmcblk0p19 /cache ext4 rw
/dev/block/mmcblk0p21 /data ext4 rw
/dev/block/mmcblk0p20 /system ext4 rw
Any suggestion? Thanks in advance
EDIT: I'm thinking that maybe CWM didn't flash correctly (I did it from Odin, and since I'm going blindly there is no way for me to know for sure)
Click to expand...
Click to collapse
did you try this
Code:
adb shell
mount /sdcard
samersh72 said:
did you try this
Code:
adb shell
mount /sdcard
Click to expand...
Click to collapse
I did. That's when it said that /sdcard/ coudn't be found in /etc/fstab
****************************
UPDATE
I got it to work.
If anyone is interested, this is how I mounted the sdcard
Code:
mount /dev/block/mmcblk0p21 /sdcard/
where mmcblk0p21 is the partition that sdcard usually mounts.
After that, it was a simple as exiting the shell and run
Code:
pull /sdcard/ /sdcard/
as recommended above
So I have to push my rom from my pc to my phone since I did not do this and now I have no rom on my phone. I try to push it using "adb push rom.zip /sdcard/" and it does not work. Can someone please help me? I really want my phone to work again :crying:
kevinm614 said:
So I have to push my rom from my pc to my phone since I did not do this and now I have no rom on my phone. I try to push it using "adb push rom.zip /sdcard/" and it does not work. Can someone please help me? I really want my phone to work again :crying:
Click to expand...
Click to collapse
Give me a few details about your device. What model number? Rooted? Custom Recovery installed? If you have a custom Recovery installed look below?
Do you have TWRP or Philz Recovery installed? If yes, can you boot to recovery using the correct button sequence?If yes, while in recovery, connect to your PC and let the drivers install. Click on the Windows Start button and select Computer. Do you see your Galaxy S5 listed? If yes, double click on your device and see if Internal Storage is listed. If so, you can copy and paste your ROM Zip to internal storage and then flash it in recovery.
Let me know if this helps your situation or if we need to go a different route.
Sent from my Nexus 6 using XDA-Developers mobile app
fast69mopar said:
Give me a few details about your device. What model number? Rooted? Custom Recovery installed? If you have a custom Recovery installed look below?
Do you have TWRP or Philz Recovery installed? If yes, can you boot to recovery using the correct button sequence?If yes, while in recovery, connect to your PC and let the drivers install. Click on the Windows Start button and select Computer. Do you see your Galaxy S5 listed? If yes, double click on your device and see if Internal Storage is listed. If so, you can copy and paste your ROM Zip to internal storage and then flash it in recovery.
Let me know if this helps your situation or if we need to go a different route.
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
Thank you for replying
It's a G900P, right now it's not rooted because I wiped everything off my phone, including my old ROM.
My custom recovery is Philz, and yes I can get to recovery mode. However, when I connect my phone to my PC, I don't see my phone listed.
kevinm614 said:
Thank you for replying
It's a G900P, right now it's not rooted because I wiped everything off my phone, including my old ROM.
My custom recovery is Philz, and yes I can get to recovery mode. However, when I connect my phone to my PC, I don't see my phone listed.
Click to expand...
Click to collapse
While booted into recovery, have you tried using a different USB port on your PC? Have you tried a different USB cable as well? If this doesn't change anything, look below:
Do you have a micro SD card that you can stick into your PC and copy the ROM zip to it? If so, copy the ROM to the micro SD card and stick it into your S5 and flash the ROM zip using Philz. That's the way I do it.
fast69mopar said:
While booted into recovery, have you tried using a different USB port on your PC? Have you tried a different USB cable as well? If this doesn't change anything, look below:
Do you have a micro SD card that you can stick into your PC and copy the ROM zip to it? If so, copy the ROM to the micro SD card and stick it into your S5 and flash the ROM zip using Philz. That's the way I do it.
Click to expand...
Click to collapse
I have tried using different USB ports and cables, but I still have the same problem. Sadly, I don't have a microSD card.
If you can't get anything else to work then a microSD card will be the best way. Even if you have to borrow a card you can get the job done.
Just a quick question. Do you have the Samsung USB drivers installed to your PC?
Sent from my Nexus 6 using XDA-Developers mobile app
fast69mopar said:
If you can't get anything else to work then a microSD card will be the best way. Even if you have to borrow a card you can get the job done.
Just a quick question. Do you have the Samsung USB drivers installed to your PC?
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
Yep, I have them installed, but my phone still doesn't get recognized.
fast69mopar said:
If you can't get anything else to work then a microSD card will be the best way. Even if you have to borrow a card you can get the job done.
Just a quick question. Do you have the Samsung USB drivers installed to your PC?
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
Is there any other way I can do this?
kevinm614 said:
Yep, I have them installed, but my phone still doesn't get recognized.
Click to expand...
Click to collapse
Okay. I think I may have overlooked a step earlier in your ADB error. It looks like your trying to push your ROM.zip from your home directory instead of pushing the ROM zip from the files actual location. What folder is the ROM zip saved in? Is it in the "DOWNLOADS" folder? If so, then you ADB command would be:
adb push ~/Downloads/rom.zip /sdcard/
Let me know if changing your ADB command works and pushes the ROM.zip to your internal storage.
fast69mopar said:
Okay. I think I may have overlooked a step earlier in your ADB error. It looks like your trying to push your ROM.zip from your home directory instead of pushing the ROM zip from the files actual location. What folder is the ROM zip saved in? Is it in the "DOWNLOADS" folder? If so, then you ADB command would be:
adb push ~/Downloads/rom.zip /sdcard/
Let me know if changing your ADB command works and pushes the ROM.zip to your internal storage.
Click to expand...
Click to collapse
I still get the same error, cannot stat '~/Downloads/rom.zip': No such file or directory.
Okay. Here's what we need to do. I missed this part too and that's my bad. Boot to recovery and select "Mounts and Storage". Plug in the USB cable to the device. Now, make sure your device shows UNMOUNT SDCARD and UNMOUNT SYSTEM. You want your SDCARD and SYSTEM to be mounted so you can push the file.
Now that you are connected, open your command prompt and run your ADB push commands and tell me what happens. Does it transfer your file successfully?
Sent from my Nexus 6 using XDA-Developers mobile app
fast69mopar said:
Okay. Here's what we need to do. I missed this part too and that's my bad. Boot to recovery and select "Mounts and Storage". Plug in the USB cable to the device. Now, make sure your device shows UNMOUNT SDCARD and UNMOUNT SYSTEM. You want your SDCARD and SYSTEM to be mounted so you can push the file.
Now that you are connected, open your command prompt and run your ADB push commands and tell me what happens. Does it transfer your file successfully?
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
There is no mount/unmount sdcard option, but there is a "format /data and /data/media (/sdcard)" option. I can find the umount /system option though.
kevinm614 said:
There is no mount/unmount sdcard option, but there is a "format /data and /data/media (/sdcard)" option. I can find the umount /system option though.
Click to expand...
Click to collapse
Well, that's weird because I am looking at the Philz menu right now as we speak. I selected "Mounts and Storage" from the main screen. Now, while looking down the list in "Mounts and Storage" I see this:
mount /efs
unmount /cache
mount /system
unmount /data
mount /preload
mount /sdcard
mount /external_sd
mount /ext-sd
format /cache
format /system
format /data
format /preload
format /sdcard
format /external _sd
format /ext-sd
format /data and /data/media (/sdcard)
mount USB storage
*****Go Back*****
Does your Philz not look like this in the Mounts and Storage menu? If it does, then you want to see these two below:
Unmount /system
Unmount /sdcard
Sent from my Nexus 6 using XDA-Developers mobile app
---------- Post added at 04:29 AM ---------- Previous post was at 04:25 AM ----------
fast69mopar said:
Well, that's weird because I am looking at the Philz menu right now as we speak. I selected "Mounts and Storage" from the main screen. Now, while looking down the list in "Mounts and Storage" I see this:
mount /efs
unmount /cache
mount /system
unmount /data
mount /preload
mount /sdcard
mount /external_sd
mount /ext-sd
format /cache
format /system
format /data
format /preload
format /sdcard
format /external _sd
format /ext-sd
format /data and /data/media (/sdcard)
mount USB storage
*****Go Back*****
Does your Philz not look like this in the Mounts and Storage menu? If it does, then you want to see these two below:
Unmount /system
Unmount /sdcard
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
{
"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 Nexus 6 using XDA-Developers mobile app
---------- Post added at 04:30 AM ---------- Previous post was at 04:29 AM ----------
fast69mopar said:
Well, that's weird because I am looking at the Philz menu right now as we speak. I selected "Mounts and Storage" from the main screen. Now, while looking down the list in "Mounts and Storage" I see this:
mount /efs
unmount /cache
mount /system
unmount /data
mount /preload
mount /sdcard
mount /external_sd
mount /ext-sd
format /cache
format /system
format /data
format /preload
format /sdcard
format /external _sd
format /ext-sd
format /data and /data/media (/sdcard)
mount USB storage
*****Go Back*****
Does your Philz not look like this in the Mounts and Storage menu? If it does, then you want to see these two below:
Unmount /system
Unmount /sdcard
Sent from my Nexus 6 using XDA-Developers mobile app
---------- Post added at 04:29 AM ---------- Previous post was at 04:25 AM ----------
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
This is just a quick pic from a Google search I found and it matches my Philz menu.
Sent from my Nexus 6 using XDA-Developers mobile app
fast69mopar said:
Well, that's weird because I am looking at the Philz menu right now as we speak. I selected "Mounts and Storage" from the main screen. Now, while looking down the list in "Mounts and Storage" I see this:
mount /efs
unmount /cache
mount /system
unmount /data
mount /preload
mount /sdcard
mount /external_sd
mount /ext-sd
format /cache
format /system
format /data
format /preload
format /sdcard
format /external _sd
format /ext-sd
format /data and /data/media (/sdcard)
mount USB storage
*****Go Back*****
Does your Philz not look like this in the Mounts and Storage menu? If it does, then you want to see these two below:
Unmount /system
Unmount /sdcard
Sent from my Nexus 6 using XDA-Developers mobile app
---------- Post added at 04:29 AM ---------- Previous post was at 04:25 AM ----------
Sent from my Nexus 6 using XDA-Developers mobile app
---------- Post added at 04:30 AM ---------- Previous post was at 04:29 AM ----------
This is just a quick pic from a Google search I found and it matches my Philz menu.
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
All I see are
unmount /system
mount /data
unmount /cache
mount /firmware
mount /firmware-modem
format /boot
format/system
format /data
format /cache
format /firmware
format /firmware-modem
format /data and /data/media (/sdcard)
mount USB storage
kevinm614 said:
All I see are
unmount /system
mount /data
unmount /cache
mount /firmware
mount /firmware-modem
format /boot
format/system
format /data
format /cache
format /firmware
format /firmware-modem
format /data and /data/media (/sdcard)
mount USB storage
Click to expand...
Click to collapse
Another question, I know you said you didn't have a micro SD card but what about a USB-OTG device? You could connect it to your PC and save your new ROM zip to it. Then, You can select Mounts and Storage and then select Mount USB storage.
I need to look again the Galaxy S5 to see why you cannot see the SD card in Mounts and Storage. Ill post back shorlty.
Sent from my Nexus 6 using XDA-Developers mobile app
fast69mopar said:
Another question, I know you said you didn't have a micro SD card but what about a USB-OTG device? You could connect it to your PC and save your new ROM zip to it. Then, You can select Mounts and Storage and then select Mount USB storage.
I need to look again the Galaxy S5 to see why you cannot see the SD card in Mounts and Storage. Ill post back shorlty.
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
Nope, I have seen that, but I don't have it. If my problem still occurs over the weekend, I might buy a micro SD or a USB OTG.
kevinm614 said:
Nope, I have seen that, but I don't have it. If my problem still occurs over the weekend, I might buy a micro SD or a USB OTG.
Click to expand...
Click to collapse
The SD card or OTG will fix your problem. Let me know what you do. Good luck.
kevinm614 said:
So I have to push my rom from my pc to my phone since I did not do this and now I have no rom on my phone. I try to push it using "adb push rom.zip /sdcard/" and it does not work. Can someone please help me? I really want my phone to work again :crying:
Click to expand...
Click to collapse
Root Your Phone .. Install Custom recovery like PhiLz Recovery... Flash the rom using custom recovery You may Put your rom into your sd card .. It will definitely work for You ^_^
ZuBaiR ChAuDhrY said:
Root Your Phone .. Install Custom recovery like PhiLz Recovery... Flash the rom using custom recovery You may Put your rom into your sd card .. It will definitely work for You ^_^
Click to expand...
Click to collapse
The OP has Philz Recovery installed but he cannot get his PC to recognize his device while booted into recovery. I suggested that he/she use a Micro SD CARD or a USB OTG to save a ROM zip to and then flash it in recovery. I was waiting to see if the OP purchased a micro SD card or OTG.
Sent from my Nexus 6 using XDA-Developers mobile app
fast69mopar said:
The OP has Philz Recovery installed but he cannot get his PC to recognize his device while booted into recovery. I suggested that he/she use a Micro SD CARD or a USB OTG to save a ROM zip to and then flash it in recovery. I was waiting to see if the OP purchased a micro SD card or OTG.
Sent from my Nexus 6 using XDA-Developers mobile app
Click to expand...
Click to collapse
I purchased a micro SD last night and all is going well. Thanks a lot
i was trying to install a new rom AOSiP so i wiped my system cache and davlik went ahead to install the rom from my sdcard. it fails saying it cant mount /system and when i check the folder in the terminal on the phone the /system is empty. what do i do to get it to work?
the error is
failed to mount /system (permission denied)
ddarvish said:
i was trying to install a new rom AOSiP so i wiped my system cache and davlik went ahead to install the rom from my sdcard. it fails saying it cant mount /system and when i check the folder in the terminal on the phone the /system is empty. what do i do to get it to work?
the error is
failed to mount /system (permission denied)
Click to expand...
Click to collapse
I had this same issue (just got my PH1). I had to reboot to bootloader and get back into recovery. From there, I was able to mount /system once I got back in. Note that I did take a pitstop in slot A recovery (I have TWRP in slot B) and mounted system there too. Hopefully this helps.
EDIT: Fyi the key is going into recovery for partition A and mounting system there.
--
Vember31 said:
I had this same issue (just got my PH1). I had to reboot to bootloader and get back into recovery. From there, I was able to mount /system once I got back in. Note that I did take a pitstop in slot A recovery (I have TWRP in slot B) and mounted system there too. Hopefully this helps.
EDIT: Fyi the key is going into recovery for partition A and mounting system there.
Click to expand...
Click to collapse
i have Motorola Moto G7 Power (XT1955-4). I was in twrp.img using "fastboot boot" command. i don't know what is difference between Slot A and Slot B.