[Q] Retrieve data from CWM

Search This thread

dsv591

Senior Member
Sep 29, 2009
59
2
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
 

samersh72

Senior Member
Nov 26, 2012
3,572
7,472
51
GB
meettomy.site
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

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
 

dsv591

Senior Member
Sep 29, 2009
59
2
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

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)
 
Last edited:

samersh72

Senior Member
Nov 26, 2012
3,572
7,472
51
GB
meettomy.site
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)

did you try this
Code:
adb shell
mount /sdcard
 

dsv591

Senior Member
Sep 29, 2009
59
2
did you try this
Code:
adb shell
mount /sdcard

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
 
Last edited: