Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: botond on April 13, 2014, 05:36:26 PM

Title: Can't Mount Android SD card
Post by: botond on April 13, 2014, 05:36:26 PM
Dear forum!

One of the problems turn to you is that, that last month I bought an A20 android developer motherboard which I installed (I installed it on the SD card)!
I would like to mount the system partition, but unfortunately I can't.
My question is, how can I reach all the partitions?

To help you I attached the fdisk output!

/dev/mmcblk0 lemez: 7913 MB, 7913603072) bájt
1 fej, 16 szektor, 966016 cilinder, összesen 15456256 szektor
Egység: szektorok 1 * 512 = 512 bájt
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Lemezazonosító: 0x00000000

       Eszköz Indítás   Eleje         Vége      Blokkok  Az  Rendszer
/dev/mmcblk0p1         3973120    15456255     5741568    b  W95 FAT32
/dev/mmcblk0p2   *       73728      106495       16384    6  FAT16
/dev/mmcblk0p3               1     3973120     1986560   85  Linux extended
/dev/mmcblk0p5          106496      139263       16384   83  Linux
/dev/mmcblk0p6          139264      172031       16384   83  Linux
/dev/mmcblk0p7          172032     1220607      524288   83  Linux
/dev/mmcblk0p8         1220608     2269183      524288   83  Linux
/dev/mmcblk0p9         2269184     2301951       16384   83  Linux
/dev/mmcblk0p10        2301952     2367487       32768   83  Linux
/dev/mmcblk0p11        2367488     3416063      524288   83  Linux
/dev/mmcblk0p12        3416064     3940351      262144   83  Linux
/dev/mmcblk0p13        3940352     3973119       16384   83  Linux

With regards Botond Horvath
Title: Re: Can't Mount Android SD card
Post by: MBR on April 14, 2014, 12:58:54 AM
Most of the Android partitions use YAFFS2 filesystem (a special fs designed for FLASH memories), which is not supported by defaoul on most Linux distribution. So you need either a kernel with YAFFS2 support (from some Android or custom-made) or use some tools to extract files from the filesystem, see http://code.google.com/p/yaffs2utils/ (http://code.google.com/p/yaffs2utils/).