View previous topic :: View next topic |
Author |
Message |
Princess Nell l33t
Joined: 15 Apr 2005 Posts: 916
|
Posted: Sun Sep 30, 2012 8:46 pm Post subject: Read Android SD card |
|
|
My Android phone is dead, I took the SD card out and tried to read it under Gentoo through the MMC card reader in my laptop (SD card adapter), but no go.
Code: |
Sep 25 19:45:27 beans kernel: mmc0: new SD card at address d555
Sep 25 19:45:27 beans kernel: mmcblk0: mmc0:d555 SD032 30.6 MiB
Sep 25 19:45:27 beans kernel: mmcblk0: unknown partition table
|
I find it strange that I cannot read a card from what is essentially another Linux system? At the very least, I'd expect VFAT or something like that, but not even the correct size of the card (4GB) is recognised. Any pointers? |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54208 Location: 56N 3W
|
Posted: Sun Sep 30, 2012 10:07 pm Post subject: |
|
|
Princess Nell,
It sounds like you phone killed the SD card as it died.
There should be a single VFAT partition with an MSDOS partition table.
Run testdisk on /dev/mmcblk0 to see it it can find any partitions but do not let it write a new partition table.
Use Code: | mount -o ro,loop,offset=<bytes_to_partition> -t vfat /dev/mmcblk0 /mnt/someplace |
to have a look round and hopefully recover the files.
You could try dd to make an image of the device too. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
Princess Nell l33t
Joined: 15 Apr 2005 Posts: 916
|
Posted: Mon Oct 01, 2012 8:02 am Post subject: |
|
|
The card reads and mounts correctly now. Not sure what went wrong the last time, maybe it didn't sit correctly in the adapter; or hibernation messed things up.
Thanks for the suggestions, testdisk is a great tool that I have used successfully before. |
|
Back to top |
|
|
mir3x Guru
Joined: 02 Jun 2012 Posts: 455
|
Posted: Wed Oct 03, 2012 1:39 pm Post subject: |
|
|
NeddySeagoon - just note - android uses ext3 and ext4 also ( or mostly maybe ) on sdcard. _________________ Sent from Windows |
|
Back to top |
|
|
Johnriver743 n00b
Joined: 09 Oct 2012 Posts: 2
|
Posted: Fri Oct 12, 2012 6:06 pm Post subject: |
|
|
Can any one tell me android ext2 also on sdcard or not? |
|
Back to top |
|
|
gentoo_ram Guru
Joined: 25 Oct 2007 Posts: 474 Location: San Diego, California USA
|
Posted: Sat Oct 13, 2012 5:39 pm Post subject: |
|
|
Standard Android behavior is to use the vfat filesystem on the SDcard. There will be an MBR partition table with one partition. Unless your Android phone OEM changed the behavior. Some data on the card may be encrypted (like applications moved to the SDcard), but the standard data (photos, music, etc.) will not be encrypted. |
|
Back to top |
|
|
|