diff options
Diffstat (limited to 'fastboot')
| -rw-r--r-- | fastboot/fastboot.bash | 2 | ||||
| -rw-r--r-- | fastboot/fastboot.cpp | 1 | ||||
| -rw-r--r-- | fastboot/fuzzy_fastboot/main.cpp | 2 |
3 files changed, 3 insertions, 2 deletions
diff --git a/fastboot/fastboot.bash b/fastboot/fastboot.bash index cc1366cf4c..406e8b8d78 100644 --- a/fastboot/fastboot.bash +++ b/fastboot/fastboot.bash @@ -109,7 +109,7 @@ _fastboot_cmd_flash() { cur="${COMP_WORDS[COMP_CWORD]}" if [[ $i -eq $COMP_CWORD ]]; then - partitions="boot bootloader dtbo modem odm oem product radio recovery system vbmeta vendor vendor_dlkm" + partitions="boot bootloader dtbo modem odm odm_dlkm oem product radio recovery system vbmeta vendor vendor_dlkm" COMPREPLY=( $(compgen -W "$partitions" -- $cur) ) else _fastboot_util_complete_local_file "${cur}" '!*.img' diff --git a/fastboot/fastboot.cpp b/fastboot/fastboot.cpp index 4ca6a6a695..d33c987704 100644 --- a/fastboot/fastboot.cpp +++ b/fastboot/fastboot.cpp @@ -145,6 +145,7 @@ static Image images[] = { { "dtbo", "dtbo.img", "dtbo.sig", "dtbo", true, ImageType::BootCritical }, { "dts", "dt.img", "dt.sig", "dts", true, ImageType::BootCritical }, { "odm", "odm.img", "odm.sig", "odm", true, ImageType::Normal }, + { "odm_dlkm", "odm_dlkm.img", "odm_dlkm.sig", "odm_dlkm", true, ImageType::Normal }, { "product", "product.img", "product.sig", "product", true, ImageType::Normal }, { "recovery", "recovery.img", "recovery.sig", "recovery", true, ImageType::BootCritical }, { "super", "super.img", "super.sig", "super", true, ImageType::Extra }, diff --git a/fastboot/fuzzy_fastboot/main.cpp b/fastboot/fuzzy_fastboot/main.cpp index e7f785b837..34ab32c12b 100644 --- a/fastboot/fuzzy_fastboot/main.cpp +++ b/fastboot/fuzzy_fastboot/main.cpp @@ -1286,7 +1286,7 @@ TEST_P(UserdataPartition, UnlockErases) { ASSERT_TRUE(PartitionHash(fb.get(), "userdata", &hash_buf, &retcode, &err_msg)) << err_msg; ASSERT_EQ(retcode, 0) << err_msg; - // Sanity check of hash + // Validity check of hash EXPECT_NE(hash_before, hash_buf) << "Writing a random buffer to 'userdata' had the same hash as after erasing it"; SetLockState(true); // Lock the device |
