How to set parameters in the temporary inspiration record
In boardconfig. mk
# Board_bootimage_partition_size: = 10485760# Board_recoveryimage_partition_size: = 10485760# Board_systemimage_partition_size: = 314572800# Board_userdataimage_partition_size: = 1073741824
Similar configuration, but how do you know how the data comes from? How do you match the data on your mobile phone,
In fact, the default configuration file is described.Fdisk-L/dev/block/mmcblk0You can view the specific partition information, similar
# Dev: Size: erasersize: Name: # mtd0 00a00000 00100000 22 boot™ # mtd1 00500000 00100000 22 kpanic? # mtd2 12c00000 00100000 22 system? # mtd3 00400000 00100000 22 Plash? # mtd4 09600000 22 cache? # mtd5 00100000 40000000? userdata™ # mtd6 00a00000 00100000? Recovery™ # mtd7 00100000 00100000? MISC? # mtd8 00100000 00100000? TCC?
The following task is to open the calculator and convert the value of size to the corresponding 10-digit system, and rewrite the corresponding size.
_________________________________________________________________________________________________________________
Another problem is hanging on the SD card.
# Board_ums_lunfile: = "/sys/devices/platform/usb_mass_storage/lun0/file"
This field declares the files to be used when the SD card is mounted. How can I modify the file based on my mobile phone? ADB shell enters the interactive mode to find the Lun file (CD/sys/; find. -Name "Lun *"
Then replace the obtained field with the preceding one.