correct document typos

pull/140/head
cfig 3 years ago
parent cbe39e8c3b
commit 078930b7c7
No known key found for this signature in database
GPG Key ID: B104C307F0FDABB7

@ -229,6 +229,19 @@ Then flash vbmeta.img.signed to your device.
</details>
<details>
<summary>How to merge init_boot.img into boot.img</summary>
* unpack init_boot.img and copy out "build/unzip_boot/root".
* clear workspace by `gradle clear`, then unpack boot.img
* copy back the "build/unzip_boot/root"
* edit build/unzip_boot/boot.json
- change `ramdisk.size` to 1
- change `ramdisk.file` from "build/unzip_boot/ramdisk.img" to "build/unzip_boot/ramdisk.img.lz4"
</details>
## boot.img layout
Read [boot layout](doc/layout.md) of Android boot.img and vendor\_boot.img.
Read [miac layout](doc/misc_image_layout.md) of misc\.img
@ -268,12 +281,3 @@ This project is developed with products by Jetbrains.
</a>
</details>
How to merge init_boot.img into boot.img:
* unpack init_boot.img and copy out "build/unzip_boot/root".
* clear workspace by `gradle clear`, then unpack boot.img
* copy back the "build/unzip_boot/root"
* edit build/unzip_boot/boot.json
- change `ramdisk.size` to 1
- change `ramdisk.file` from "build/unzip_boot/ramdisk.img" to "build/unzip_boot/ramdisk.img.lz4"

@ -120,7 +120,7 @@ For partitions: `/boot` and `/init_boot`.
|<header version> | 4 (value in [3|4]) |
|--------------------------------+--------------------------| --> 44
|<cmdline> | 1024+512=1536 |
|--------------------------------+--------------------------| --> 44
|--------------------------------+--------------------------| --> 1580
|<signature_size> (v4 only) | 4 |
|--------------------------------+--------------------------| --> 1584
|<padding> | min(n * page_size |

Loading…
Cancel
Save