samedi 28 février 2015

[Q] About BoardConfig.mk and partition sizes... topic






Hello, I'm building CyanogenMod 10.1 to my Samsung Galaxy Core Plus SM-G350. I am using an existing github project as my base but I'm little confused about partition sizes in the BoardConfig.mk. So these are the questions: How to get correct values from ROM or phone? What format are they? (hex or decimal or blocksizes??) I don't want to brick my phone.
Does it really matter how big those sizes are in BoardConfig.mk?

Here is the BoardConfig.mk: https://github.com/trivalent/samsung...BoardConfig.mk

Here is my /proc/partitions

Code:


major minor  #blocks  name

  7        0      46809 loop0
  7        1      55125 loop1
  7        2      39533 loop2
  7        3      39533 loop3
  7        4      38493 loop4
  7        5      48888 loop5
  7        6      31217 loop6
  7        7      49928 loop7
 253        0    153600 zram0
 179        0    3817472 mmcblk0
 179        1      1024 mmcblk0p1
 179        2        256 mmcblk0p2
 179        3        256 mmcblk0p3
 179        4        256 mmcblk0p4
 179        5      8192 mmcblk0p5
 179        6      8192 mmcblk0p6
 179        7      19200 mmcblk0p7
 179        8        512 mmcblk0p8
 179        9      2048 mmcblk0p9
 179      10      2048 mmcblk0p10
 179      11      8192 mmcblk0p11
 179      12        512 mmcblk0p12
 179      13        512 mmcblk0p13
 179      14        256 mmcblk0p14
 179      15      20480 mmcblk0p15
 179      16    204800 mmcblk0p16
 179      17    1182392 mmcblk0p17
 179      18      30720 mmcblk0p18
 179      19    2318336 mmcblk0p19
 179      32  30915584 mmcblk1
 179      33  28817408 mmcblk1p1
 179      34    2097152 mmcblk1p2
 254        0      46809 dm-0
 254        1      55125 dm-1
 254        2      39532 dm-2
 254        3      39532 dm-3
 254        4      38493 dm-4
 254        5      48888 dm-5
 254        6      31216 dm-6
 254        7      49927 dm-7
  7        8      34335 loop8
 254        8      34335 dm-8
  7        9      30177 loop9
 254        9      30177 dm-9
  7      10      2111 loop10
 254      10      2110 dm-10
  7      11      64512 loop11
 254      11      64512 dm-11
  7      12      6269 loop12
 254      12      6268 dm-12


Here is my /proc/emmc:

Code:


dev:            size        erasesize        name
mmcblk0p1: 00000800 00000400 "cal"
mmcblk0p2: 00000200 00000400 "sysparm_dep"
mmcblk0p3: 00000200 00000400 "parm-spml_dep"
mmcblk0p4: 00000200 00000400 "RF_CAL_FILE"
mmcblk0p5: 00004000 00000400 "KERNEL"
mmcblk0p6: 00004000 00000400 "RECOVERY"
mmcblk0p7: 00009600 00000400 "modem"
mmcblk0p8: 00000400 00000400 "reserved"
mmcblk0p9: 00001000 00000400 "SBL1"
mmcblk0p10: 00001000 00000400 "SBL2"
mmcblk0p11: 00004000 00000400 "PARAM"
mmcblk0p12: 00000400 00000400 "DTSBK"
mmcblk0p13: 00000400 00000400 "DTS"
mmcblk0p14: 00000200 00000400 "FOTA_SIG"
mmcblk0p15: 0000a000 00000400 "efs"
mmcblk0p16: 00064000 00000400 "CSC"
mmcblk0p17: 00241570 00000400 "system"
mmcblk0p18: 0000f000 00000400 "HIDDEN"
mmcblk0p19: 0046c000 00000400 "userdata"
mmcblk0p20: 00000001 00000400 ""
mmcblk0p21: 00000001 00000400 ""
mmcblk0p22: 00000001 00000400 ""
mmcblk0p23: 00000001 00000400 ""
mmcblk0p24: 00000001 00000400 ""
mmcblk0p25: 00000001 00000400 ""
mmcblk0p26: 00000001 00000400 ""
mmcblk0p27: 00000001 00000400 ""
mmcblk0p28: 00000001 00000400 ""
mmcblk0p29: 00000001 00000400 ""
mmcblk0p30: 00000001 00000400 ""
mmcblk0p31: 00000001 00000400 ""
mmcblk0p32: 00000001 00000400 ""
mmcblk0p33: 00000001 00000400 ""
mmcblk0p34: 00000001 00000400 ""
mmcblk0p35: 00000001 00000400 ""
mmcblk0p36: 00000001 00000400 ""
mmcblk0p37: 00000001 00000400 ""
mmcblk0p38: 00000001 00000400 ""
mmcblk0p39: 00000001 00000400 ""
mmcblk0p40: 00000001 00000400 ""
mmcblk0p41: 00000001 00000400 ""
mmcblk0p42: 00000001 00000400 ""
mmcblk0p43: 00000001 00000400 ""
mmcblk0p44: 00000001 00000400 ""
mmcblk0p45: 00000001 00000400 ""
mmcblk0p46: 00000001 00000400 ""
mmcblk0p47: 00000001 00000400 ""
mmcblk0p48: 00000001 00000400 ""
mmcblk0p49: 00000001 00000400 ""
mmcblk0p50: 00000001 00000400 ""
mmcblk0p51: 00000001 00000400 ""
mmcblk0p52: 00000001 00000400 ""
mmcblk0p53: 00000001 00000400 ""
mmcblk0p54: 00000001 00000400 ""
mmcblk0p55: 00000001 00000400 ""
mmcblk0p56: 00000001 00000400 ""
mmcblk0p57: 00000001 00000400 ""
mmcblk0p58: 00000001 00000400 ""
mmcblk0p59: 00000001 00000400 ""
mmcblk0p60: 00000001 00000400 ""
mmcblk0p61: 00000001 00000400 ""
mmcblk0p62: 00000001 00000400 ""
mmcblk0p63: 00000001 00000400 ""
mmcblk0p64: 00000001 00000400 ""
mmcblk0p65: 00000001 00000400 ""
mmcblk0p66: 00000001 00000400 ""
mmcblk0p67: 00000001 00000400 ""
mmcblk0p68: 00000001 00000400 ""
mmcblk0p69: 00000001 00000400 ""
mmcblk0p70: 00000001 00000400 ""
mmcblk0p71: 00000001 00000400 ""
mmcblk0p72: 00000001 00000400 ""
mmcblk0p73: 00000001 00000400 ""
mmcblk0p74: 00000001 00000400 ""
mmcblk0p75: 00000001 00000400 ""
mmcblk0p76: 00000001 00000400 ""
mmcblk0p77: 00000001 00000400 ""
mmcblk0p78: 00000001 00000400 ""
mmcblk0p79: 00000001 00000400 ""
mmcblk0p80: 00000001 00000400 ""
mmcblk0p81: 00000001 00000400 ""
mmcblk0p82: 00000001 00000400 ""
mmcblk0p83: 00000001 00000400 ""
mmcblk0p84: 00000001 00000400 ""
mmcblk0p85: 00000001 00000400 ""
mmcblk0p86: 00000001 00000400 ""
mmcblk0p87: 00000001 00000400 ""
mmcblk0p88: 00000001 00000400 ""
mmcblk0p89: 00000001 00000400 ""
mmcblk0p90: 00000001 00000400 ""
mmcblk0p91: 00000001 00000400 ""
mmcblk0p92: 00000001 00000400 ""
mmcblk0p93: 00000001 00000400 ""
mmcblk0p94: 00000001 00000400 ""
mmcblk0p95: 00000001 00000400 ""
mmcblk0p96: 00000001 00000400 ""
mmcblk0p97: 00000001 00000400 ""
mmcblk0p98: 00000001 00000400 ""
mmcblk0p99: 00000001 00000400 ""
mmcblk0p100: 00000001 00000400 ""
mmcblk0p101: 00000001 00000400 ""
mmcblk0p102: 00000001 00000400 ""
mmcblk0p103: 00000001 00000400 ""
mmcblk0p104: 00000001 00000400 ""
mmcblk0p105: 00000001 00000400 ""
mmcblk0p106: 00000001 00000400 ""
mmcblk0p107: 00000001 00000400 ""
mmcblk0p108: 00000001 00000400 ""
mmcblk0p109: 00000001 00000400 ""
mmcblk0p110: 00000001 00000400 ""
mmcblk0p111: 00000001 00000400 ""
mmcblk0p112: 00000001 00000400 ""
mmcblk0p113: 00000001 00000400 ""
mmcblk0p114: 00000001 00000400 ""
mmcblk0p115: 00000001 00000400 ""
mmcblk0p116: 00000001 00000400 ""
mmcblk0p117: 00000001 00000400 ""
mmcblk0p118: 00000001 00000400 ""
mmcblk0p119: 00000001 00000400 ""


And my df output:

Code:


Filesystem            Size  Used  Free  Blksize
/dev                  358M  68.0K  358M  4096
/mnt/secure            358M  0.00K  358M  4096
/mnt/asec              358M  24.0K  358M  4096
/mnt/obb              358M  0.00K  358M  4096
/system              1.11G  1010M  125M  4096
/efs                  19.7M  4.13M  15.5M  4096
/cache                196M  4.04M  192M  4096
/data                2.18G  1.95G  233M  4096
/mnt/shell/emulated  2.18G  1.95G  233M  4096
/storage/extSdCard    27.5G  17.8G  9.70G  16384
/mnt/secure/asec      27.5G  17.8G  9.70G  16384








Aucun commentaire:

Enregistrer un commentaire