最終更新:2015-12-09 (水) 14:40:46 (1757d)  

Android/パーティション
Top / Android / パーティション

メモ

Factory Images for Nexus Devices

  • fastboot flash bootloader bootloader-hammerhead-HHZ12h.img
    fastboot flash radio radio-hammerhead-M8974A-2.0.50.2.26.img
    fastboot flash recovery recovery.img
    fastboot flash system system.img
    fastboot flash boot boot.img
    fastboot flash cache cache.img
    fastboot flash userdata userdata.img

よくあるレイアウト

確認方法

Android/proc/mtd

  • # cat /proc/mtd

Android/proc/partitions

df

Android/proc/mounts

Android/dev/block/platform

  • Android/dev/block/platform/msm_sdcc.1/by-name
    shell@android:/dev/block/platform/msm_sdcc.1/by-name $ ls -l                   
    lrwxrwxrwx root     root              1970-01-24 20:34 DDR -> /dev/block/mmcblk0p4
    lrwxrwxrwx root     root              1970-01-24 20:34 OneSeg -> /dev/block/mmcblk0p28
    lrwxrwxrwx root     root              1970-01-24 20:34 aboot -> /dev/block/mmcblk0p5
    lrwxrwxrwx root     root              1970-01-24 20:34 boot -> /dev/block/mmcblk0p7
    lrwxrwxrwx root     root              1970-01-24 20:34 cache -> /dev/block/mmcblk0p34
    lrwxrwxrwx root     root              1970-01-24 20:34 dbi -> /dev/block/mmcblk0p3
    lrwxrwxrwx root     root              1970-01-24 20:34 dbibak -> /dev/block/mmcblk0p29
    lrwxrwxrwx root     root              1970-01-24 20:34 drm -> /dev/block/mmcblk0p21
    lrwxrwxrwx root     root              1970-01-24 20:34 encrypt -> /dev/block/mmcblk0p20
    lrwxrwxrwx root     root              1970-01-24 20:34 felica -> /dev/block/mmcblk0p23
    lrwxrwxrwx root     root              1970-01-24 20:34 fota -> /dev/block/mmcblk0p25
    lrwxrwxrwx root     root              1970-01-24 20:34 fsc -> /dev/block/mmcblk0p17
    lrwxrwxrwx root     root              1970-01-24 20:34 fsg -> /dev/block/mmcblk0p16
    lrwxrwxrwx root     root              1970-01-24 20:34 grow -> /dev/block/mmcblk0p38
    lrwxrwxrwx root     root              1970-01-24 20:34 laf -> /dev/block/mmcblk0p24
    lrwxrwxrwx root     root              1970-01-24 20:34 misc -> /dev/block/mmcblk0p13
    lrwxrwxrwx root     root              1970-01-24 20:34 modem -> /dev/block/mmcblk0p1
    lrwxrwxrwx root     root              1970-01-24 20:34 modemst1 -> /dev/block/mmcblk0p10
    lrwxrwxrwx root     root              1970-01-24 20:34 modemst2 -> /dev/block/mmcblk0p11
    lrwxrwxrwx root     root              1970-01-24 20:34 mpt -> /dev/block/mmcblk0p26
    lrwxrwxrwx root     root              1970-01-24 20:34 pad -> /dev/block/mmcblk0p9
    lrwxrwxrwx root     root              1970-01-24 20:34 pad1 -> /dev/block/mmcblk0p12
    lrwxrwxrwx root     root              1970-01-24 20:34 pad2 -> /dev/block/mmcblk0p19
    lrwxrwxrwx root     root              1970-01-24 20:34 persist -> /dev/block/mmcblk0p14
    lrwxrwxrwx root     root              1970-01-24 20:34 rct -> /dev/block/mmcblk0p32
    lrwxrwxrwx root     root              1970-01-24 20:34 recovery -> /dev/block/mmcblk0p15
    lrwxrwxrwx root     root              1970-01-24 20:34 rpm -> /dev/block/mmcblk0p6
    lrwxrwxrwx root     root              1970-01-24 20:34 rpmbak -> /dev/block/mmcblk0p30
    lrwxrwxrwx root     root              1970-01-24 20:34 sbl1 -> /dev/block/mmcblk0p2
    lrwxrwxrwx root     root              1970-01-24 20:34 seclog -> /dev/block/mmcblk0p27
    lrwxrwxrwx root     root              1970-01-24 20:34 sns -> /dev/block/mmcblk0p22
    lrwxrwxrwx root     root              1970-01-24 20:34 spare -> /dev/block/mmcblk0p36
    lrwxrwxrwx root     root              1970-01-24 20:34 ssd -> /dev/block/mmcblk0p18
    lrwxrwxrwx root     root              1970-01-24 20:34 system -> /dev/block/mmcblk0p33
    lrwxrwxrwx root     root              1970-01-24 20:34 tombstones -> /dev/block/mmcblk0p35
    lrwxrwxrwx root     root              1970-01-24 20:34 tz -> /dev/block/mmcblk0p8
    lrwxrwxrwx root     root              1970-01-24 20:34 tzbak -> /dev/block/mmcblk0p31
    lrwxrwxrwx root     root              1970-01-24 20:34 userdata -> /dev/block/mmcblk0p37

Android/エミュレータ (JB)

  • root@android:/ # cat /proc/mtd
    cat /proc/mtd
    dev:    size   erasesize  name
    mtd0: 0c200000 00020000 "system"
    mtd1: 0c200000 00020000 "userdata"
    mtd2: 04000000 00020000 "cache"
    root@android:/ # df
    df
    Filesystem             Size   Used   Free   Blksize
    /dev                   252M    32K   252M   4096
    /mnt/asec              252M     0K   252M   4096
    /mnt/obb               252M     0K   252M   4096
    /system                194M   191M     2M   4096
    /data                  194M     9M   184M   4096
    /cache                  64M     1M    62M   4096
    /mnt/sdcard             98M     8K    98M   512
    /mnt/secure/asec        98M     8K    98M   512
    root@android:/ # cat /proc/partitions
    cat /proc/partitions
    major minor  #blocks  name
    
      31        0     198656 mtdblock0
      31        1     198656 mtdblock1
      31        2      65536 mtdblock2
     179        0     102400 mmcblk0

Nexus 5/パーティション

関連

参考