Revert "Mount system_other with AVB verification."

This reverts commit dad923662fed86a8af0315dd5970d7a133a570db.

system_other won't be updated during OTA and it might contain AVB
metadata leftover from previous flash. When it happens, device might
fail to boot because of incorrect dm-verity-fec settings.

e.g.,
  device-mapper: verity-fec: 259:36: FEC: recursion too deep

This only happens on A/B devices with PRODUCT_RETROFIT_DYNAMIC_PARTITIONS
set to true, where system_other is a physical partition with the
AVB metadata located at the end of the partition. The active slot
contains primary logical images.

A possible scenario will be:
  a. system_b partition is installed with system_other.img, and AVB
     footer is at the end of system_b.

  b. First time OTA to install logical images to system_b and
     mark _b as the active slot. But AVB footer of system_other from
     step-a isn't cleared. e.g., the logical images don't use up to
     the end of system_b.

  c. Second time OTA to install logical images to system_a and mark _a
     as the active slot.

  d. Factory wipe the device, which triggers the mounting of
     system_other. The leftover of AVB footer from step-a doesn't match
     the leftover of the filesystem data from step-b, then triggers this
     error.

Bug: 129032485
Bug: 139402097
Test: tree hugger
Change-Id: I3cb25117fcab29cd41add978685c6844822acbdc
Merged-In: I3cb25117fcab29cd41add978685c6844822acbdc
(cherry picked from commit 7980a977ee31bd6584cd93959c4e12fadacf45d5)
(cherry picked from commit 2cf4bd101761af9eb0b2f821d7bee9588a176b7a)
2 files changed
tree: f9f9b784e5ad88d980587f0d8c416933b8384c5c
  1. acdbdata/
  2. audio/
  3. bonito/
  4. dumpstate/
  5. factory-images_bonito/
  6. factory-images_sargo/
  7. gpt-utils/
  8. health/
  9. hidl/
  10. json-c/
  11. keymaster/
  12. nfc/
  13. overlay/
  14. permissions/
  15. pixelstats/
  16. powerstats/
  17. recovery/
  18. sargo/
  19. sdm710/
  20. seccomp_policy/
  21. self-extractors/
  22. self-extractors_sargo/
  23. sensors/
  24. usb/
  25. vibrator/
  26. voice_processing/
  27. vr/
  28. .clang-format
  29. .gitignore
  30. Android.bp
  31. Android.mk
  32. AndroidProducts.mk
  33. aosp_bonito.mk
  34. aosp_sargo.mk
  35. audio_effects.xml
  36. audio_platform_info_intcodec_b4.xml
  37. audio_platform_info_intcodec_b4dev.xml
  38. audio_platform_info_intcodec_s4.xml
  39. audio_platform_info_intcodec_s4dev.xml
  40. audio_policy_configuration.xml
  41. audio_policy_configuration_a2dp_offload_disabled.xml
  42. audio_policy_configuration_bluetooth_legacy_hal.xml
  43. audio_policy_volumes.xml
  44. bluetooth_hearing_aid_audio_policy_configuration.xml
  45. board-info.txt
  46. BoardConfig-common.mk
  47. CleanSpec.mk
  48. compatibility_matrix.xml
  49. compatibility_matrix_userdebug.xml
  50. config.fs
  51. default-permissions.xml
  52. device-audio-mfg.mk
  53. device-bonito.mk
  54. device-common.mk
  55. device-sargo.mk
  56. device.mk
  57. device_framework_matrix.xml
  58. framework_manifest_userdebug.xml
  59. fstab.hardware
  60. gps.conf
  61. graphite_ipc_platform_info.xml
  62. init.edge_sense.sh
  63. init.fingerprint.sh
  64. init.firstboot.sh
  65. init.hardware.chamber.rc.userdebug
  66. init.hardware.diag.rc.user
  67. init.hardware.diag.rc.userdebug
  68. init.hardware.mpssrfs.rc.user
  69. init.hardware.mpssrfs.rc.userdebug
  70. init.hardware.rc
  71. init.hardware.usb.rc
  72. init.insmod.cfg
  73. init.insmod.sh
  74. init.logging.rc
  75. init.power.rc
  76. init.qcom.devstart.sh
  77. init.qcom.ipastart.sh
  78. init.qcom.wlan.sh
  79. init.radio.sh
  80. init.ramoops.sh
  81. init.recovery.hardware.device.rc
  82. init.recovery.hardware.rc
  83. lowi.conf
  84. manifest.xml
  85. media_codecs.xml
  86. media_codecs_google_audio.xml
  87. media_codecs_omx.xml
  88. media_codecs_performance.xml
  89. media_profiles_V1_0.xml
  90. mixer_paths_intcodec_b4.xml
  91. mixer_paths_intcodec_s4.xml
  92. OWNERS
  93. p2p_supplicant_overlay.conf
  94. powerhint.json
  95. product.prop
  96. recovery.wipe
  97. sec_config
  98. sound_trigger_mixer_paths.xml
  99. sound_trigger_platform_info.xml
  100. thermal-engine-bonito.conf
  101. thermal-engine-sargo.conf
  102. thermal_info_config_bonito.json
  103. thermal_info_config_sargo.json
  104. ueventd.hardware.rc
  105. uinput-fpc.idc
  106. uinput-fpc.kl
  107. utils.mk
  108. WCNSS_qcom_cfg.ini
  109. wifi_concurrency_cfg.txt
  110. wpa_supplicant_overlay.conf
  111. wpa_supplicant_wcn.conf