Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] Retrieve data from CWM

OP dsv591

4th May 2014, 08:15 PM   |  #1  
OP Member
Thanks Meter: 2
 
45 posts
Join Date:Joined: Sep 2009
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
4th May 2014, 08:43 PM   |  #2  
Quote:
Originally Posted by dsv591

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
4th May 2014, 10:21 PM   |  #3  
OP Member
Thanks Meter: 2
 
45 posts
Join Date:Joined: Sep 2009
Quote:
Originally Posted by samersh72

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 by dsv591; 4th May 2014 at 10:30 PM. Reason: something new to assume
4th May 2014, 10:38 PM   |  #4  
Quote:
Originally Posted by dsv591

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
4th May 2014, 10:41 PM   |  #5  
OP Member
Thanks Meter: 2
 
45 posts
Join Date:Joined: Sep 2009
Quote:
Originally Posted by samersh72

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 by dsv591; 4th May 2014 at 10:55 PM.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes