Edward Falk
Edward Falk

Reputation: 10113

Android source base: where is partition table defined

In the Android system source base, where is the partition table specified? I realize that this is vendor/device-specific.

Upvotes: 2

Views: 1509

Answers (1)

fadden
fadden

Reputation: 52353

The partition sizes are defined in the board configuration files. For example, the system partition size is BOARD_SYSTEMIMAGE_PARTITION_SIZE, defined here for flo and here for grouper.

Mapping code names to products is a separate issue. (IIRC, grouper and flo are the Nexus 7 (2012) and Nexus 7 (2013), respectively.)

Upvotes: 2

Related Questions