Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,770,988 Members 45,251 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Retrieve data from CWM

Tip us?
 
dsv591
Old
#1  
Member - OP
Thanks Meter 2
Posts: 44
Join Date: Sep 2009
Default [Q] Retrieve data from CWM

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
Old
#2  
samersh72's Avatar
Recognized Contributor
Thanks Meter 6914
Posts: 3,438
Join Date: Nov 2012
Location: Android City
Quote:
Originally Posted by dsv591 View Post
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
Google Nexus 5: N5 Tips & Tricks
Galaxy S4 I9500/I9505: Unroot, flash official stock
Galaxy S5 G900: EFS Backup / Post your PIT file.
Galaxy Nexus I9250: Gnex Tips & Tricks ////// Odin/Back to stock 4.3 / 4.2.2
Galaxy SIII Mini I8190: Unroot, Flash official stock
Galaxy Ace Plus S7500: Unroot, Flash official stock
Galaxy Young S5360: Young Tips & Tricks
Galaxy S2 Plus I9105/P: Unroot, Flash official stock
Sony Experia SP C5303 // Sony Experia L C2105
 
dsv591
Old
(Last edited by dsv591; 4th May 2014 at 09:30 PM.) Reason: something new to assume
#3  
Member - OP
Thanks Meter 2
Posts: 44
Join Date: Sep 2009
Quote:
Originally Posted by samersh72 View Post
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)
 
samersh72
Old
#4  
samersh72's Avatar
Recognized Contributor
Thanks Meter 6914
Posts: 3,438
Join Date: Nov 2012
Location: Android City
Quote:
Originally Posted by dsv591 View Post
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
Google Nexus 5: N5 Tips & Tricks
Galaxy S4 I9500/I9505: Unroot, flash official stock
Galaxy S5 G900: EFS Backup / Post your PIT file.
Galaxy Nexus I9250: Gnex Tips & Tricks ////// Odin/Back to stock 4.3 / 4.2.2
Galaxy SIII Mini I8190: Unroot, Flash official stock
Galaxy Ace Plus S7500: Unroot, Flash official stock
Galaxy Young S5360: Young Tips & Tricks
Galaxy S2 Plus I9105/P: Unroot, Flash official stock
Sony Experia SP C5303 // Sony Experia L C2105
 
dsv591
Old
(Last edited by dsv591; 4th May 2014 at 09:55 PM.)
#5  
Member - OP
Thanks Meter 2
Posts: 44
Join Date: Sep 2009
Quote:
Originally Posted by samersh72 View Post
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
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes