Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • O OnlineNandroid
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • Ameer Dawood
  • OnlineNandroid
  • Wiki
  • Partition Layout Files

Partition Layout Files · Changes

Page history
Updated PartitionLayoutFiles (markdown) authored 12 years ago by Ameer Dawood's avatar Ameer Dawood
Hide whitespace changes
Inline Side-by-side
Showing with 0 additions and 0 deletions
+0 -0
  • Partition-Layout-Files.md Partition-Layout-Files.md +0 -0
  • No files found.
Partition-Layout-Files.md 0 → 100644
View page @ 46a96c52
Online Nandroid uses a file named ``partlayout4nandroid`` for detection unmountable/unmounted partitions such as boot and recovery. This is a guide of how to make the ``partlayout4nandroid`` file for various devices.
1. The file should be in text format.
2. The raw file should be named ``partlayout4nandroid.{codename}`` where {codename} is the device's code name. Eg: ``partlayout4nandroid.maguro`` for Google Galaxy Nexus
3. Line endings should be UNIX style, LF only.
4. The first line of the file should be a column header in the form ``dev: size erasesize name``. (Spacing does not matter.)
5. Each line, thereafter, should start with the partition block device representation, which should be followed by a colon, a space, partition size in hexadecimal, a space, eraze size in hexadecimal, a space and partition name in quotes. An example is shown below:
``mmcblk0p1: 1ab3c 70000 "misc"``
6. The hexadecimal size and erase size should omit the ``0x`` normally used for hexadecimal representations.
7. The hexadecimal size and erase size should be padded with preceding zeros until it is the same length as the hexadecimal size of the partition with the highest size.
8. The eraze size can be left as zeros, if unknown, padded in the same manner described above.
9. Each partition must have a valid size value.
10. If a partition's name is not known, it can be named as ``unknown``
11. The file should end with a line feed / empty line.
12. The below partitions must be named:
* boot partition, named as "boot".
* recovery partition, named as "recovery", unless the device does not have one.
* system partition, named as "system".
* data partition, named as "userdata".
* cache partition, named as "cache"
* appslog partition, named as "appslog", if the device has one.
* wimax partition, named as "wimax", if the device has one.
* datadata partition, named as "datadata", if the device has one.
* flexrom partition, named as "flexrom", if the device has one.
* efs partition, named as "efs", if the device has one.
* internal sd card, named as "emmc", if the device has one.
* All other mounted / mountable partitions.
Clone repository
  • Code Names for Versions of Online Nandroid
  • Contact me
  • For Developers
  • Frequently Asked Questions
  • Home
  • How To Detect Partition Layouts
  • How To Gather Information About Partition Layouts
  • Installation
  • Interesting Facts about Online Nandroid
  • Localization
  • Mirrors
  • Partition Layout Files
  • Requirements
  • Supported Devices
  • Supported Recoveries
View All Pages