diff options
author | Nathan Chancellor <natechancellor@gmail.com> | 2018-08-02 13:57:02 -0700 |
---|---|---|
committer | Chris Renshaw <osm0sis@outlook.com> | 2018-08-03 00:03:46 -0300 |
commit | 51662f9a1d42ac12a624b7ccd0458e507a2a506f (patch) | |
tree | 93dccd14100b986de3a147d5bdfd53f70c2d3617 /README.md | |
parent | 5ce0e9f2d420f94bcf81e1ca476e11def1481a80 (diff) |
README: Document flash_dtbo
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -64,6 +64,7 @@ repack_ramdisk flash_boot write_boot reset_ak +flash_dtbo ``` __"if search string"__ is the string it looks for to decide whether it needs to add the tweak or not, so generally something to indicate the tweak already exists. __"cmdline entry name"__ behaves somewhat like this as a match check for the name of the cmdline entry to be changed/added by the _patch_cmdline_ function, followed by the full entry to replace it. __"prop name"__ also serves as a match check in _patch_prop_ for a property in the given prop file, but is only the prop name as the prop value is specified separately. @@ -74,7 +75,7 @@ __"before|after"__ requires you simply specify __"before"__ or __"after"__ for t __"block|mount|fstype|options|flags"__ requires you specify which part (listed in order) of the fstab entry you want to check and alter. -_dump_boot_ and _write_boot_ are the default method of unpacking/repacking, but for more granular control, or omitting ramdisk changes entirely ("OG AK" mode), these can be separated into _split_boot; unpack_ramdisk_ and _repack_ramdisk; flash_boot_ respectively. +_dump_boot_ and _write_boot_ are the default method of unpacking/repacking, but for more granular control, or omitting ramdisk changes entirely ("OG AK" mode), these can be separated into _split_boot; unpack_ramdisk_ and _repack_ramdisk; flash_boot_ respectively. _flash_dtbo_ can be used to flash a dtbo image. It is automatically included in _write_boot_ but can be called separately if using "OG AK" mode or creating a dtbo only zip. Multi-partition zips can be created by removing the ramdisk and patch folders from the zip and including instead "-files" folders named for the partition (without slot suffix), e.g. boot-files + recovery-files, or kernel-files + ramdisk-files (on some Treble devices). These then contain zImage, and ramdisk, patch, etc. subfolders for each partition. To setup for the next partition, simply set `block=` and `ramdisk_compression=` for the new target partition and use the _reset_ak_ command. |