Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 63dfeaae authored by Daniel Zheng's avatar Daniel Zheng
Browse files

Adding flag to disable fastboot_info

Adding flag to override fastboot_info for a quick fix in case
fastboot_info format is wrong

Test: fastboot flashall
Change-Id: I1f41646f14d747ce7ac7636ca9ced7279e13f7b0
parent eabfe272
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -2213,6 +2213,7 @@ int FastBootTool::Main(int argc, char* argv[]) {
                                      {"disable-verification", no_argument, 0, 0},
                                      {"disable-verity", no_argument, 0, 0},
                                      {"disable-super-optimization", no_argument, 0, 0},
                                      {"disable-fastboot-info", no_argument, 0, 0},
                                      {"force", no_argument, 0, 0},
                                      {"fs-options", required_argument, 0, 0},
                                      {"header-version", required_argument, 0, 0},
@@ -2253,6 +2254,8 @@ int FastBootTool::Main(int argc, char* argv[]) {
                g_disable_verity = true;
            } else if (name == "disable-super-optimization") {
                fp->should_optimize_flash_super = false;
            } else if (name == "disable-fastboot-info") {
                fp->should_use_fastboot_info = false;
            } else if (name == "force") {
                fp->force_flash = true;
            } else if (name == "fs-options") {