Merge "Add documentation to README" into main am: beeeef7b34 am: 12a3909628 am: 307bc8bc52

Original change: https://android-review.googlesource.com/c/platform/system/core/+/2722494

Change-Id: I546079a258592c8e6c2cec05707b3b6391557f97
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Daniel Zheng 2023-08-23 21:53:07 +00:00 committed by Automerger Merge Worker
commit cfa18e2918

View file

@ -165,6 +165,28 @@ The various currently defined commands are:
using the new bootloader.
## Flashing Logic
Fastboot binary will follow directions listed out fastboot-info.txt
build artifact for fastboot flashall && fastboot update comamnds.
This build artifact will live inside of ANDROID_PRODUCT_OUT &&
target_files_package && updatepackage.
The currently defined commands are:
flash %s Flash a given partition. Optional arguments include
--slot-other, {filename_path}, --apply-vbmeta
reboot %s Reboot to either bootloader or fastbootd
update-super Updates the super partition
if-wipe Conditionally run some other functionality if
wipe is specified
erase %s Erase a given partition (can only be used in conjunction)
with if-wipe -> eg. if-wipe erase cache
## Client Variables