Ubuntu – Accessing Android SD Card

androidmountsd card

New here so please bear with me!

I have an SD Card with some photos on it. It is formatted for an old Vodafone Android phone but the phone does not work any more so I need to access the card directly.

I cannot see how to mount an Android formatted SD Card directly in Linux such that I can see the photo files on the SD Card.

Would anyone be able to give me a step by step process to access the photos. I am relatively inexperienced with Linux but used to programme in Unix so am picking things up quickly.

I am running Ubuntu. I have an SD card slot that works fine with other SD cards.

Disks shows the SD card with:

  • Partition 1 (17MB): Device /dev/mmcblkop1
  • Partition Type 19a710a2-b3ca-11e4-b026-10604b889dcf
  • Contents Unknown

  • Partition 2 (8.0GB): Device /dev/mmcblkop2

  • Partition Type 193d1ea4-b3ca-11e4-b075-10604b889dcf
  • Contents Unknown

I ran sudo fdisk -l which shows:

Disk /dev/mmcblk0: 7969 MB, 7969177600 bytes
256 heads, 63 sectors/track, 965 cylinders, total 15564800 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000
Device            Boot      Start     End       Blocks    Id    System
/dev/mmcblk0p1  

        1         15564799  7782399+  ee    GPT

I also ran sgdisk --print /dev/mmcblk0:

Disk /dev/mmcblk0: 15564800 sectors, 7.4 GiB
Logical sector size: 512 bytes
Disk identifier (GUID): 6117AB28-D818-4C73-A33A-5F6E0A26B696
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 15564766
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)
Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048           34815   16.0 MiB    FFFF  android_meta
   2           34816        15564766   7.4 GiB     FFFF  android_expand

Further details from sudo lsblk -f /dev/mmcblk0:

NAME        FSTYPE LABEL           MOUNTPOINT                             
mmcblk0                            
├─mmcblk0p1                        
└─mmcblk0p2       

sudo blkid:

/dev/sda1: LABEL="System Reserved" UUID="46C204CAC204BFE3" TYPE="ntfs" 
/dev/sda2: UUID="EA66089566086523" TYPE="ntfs" 
/dev/sda3: LABEL="Data" UUID="06B6D646B6D635C1" TYPE="ntfs" 
/dev/sda5: UUID="cd798835-cf23-496a-a826-8603c60a3ecb" TYPE="ext4" 
/dev/sda6: UUID="de9c0c43-0775-421c-9b9c-4063fdf6a236" TYPE="swap" 
/dev/sdb: LABEL="Mark SSD1" UUID="F44401DF4401A588" TYPE="ntfs" 
/dev/sdc1: UUID="040D813E3C84050B" TYPE="ntfs"

I think that the android phone must have encrypted the card, hence why nothing is visible and as a result it will be impossible to retrieve any of the photos. If anyone believes there is a way to recover them then please let me know.

QUESTION: how to mount a GPT system?

Best Answer

You’ve surely already found this informative blog post: Decrypting Android M adopted storage

Related Question