From 2326e056bdb699d6ce11653d515cecff6f636da3 Mon Sep 17 00:00:00 2001 From: Daniel Zheng Date: Tue, 22 Aug 2023 14:23:37 -0700 Subject: [PATCH] Add documentation to README adding documentation on how to use fastboot-info inside of fastboot README Test: na Bug: 297084293 Change-Id: Ic2d17c92a776f1cae9ef80f6b615ddbc841afb74 --- fastboot/README.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/fastboot/README.md b/fastboot/README.md index 63db5c38bf2d..55583eb0efc0 100644 --- a/fastboot/README.md +++ b/fastboot/README.md @@ -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