Advertisement
arter97

Untitled

Aug 11th, 2019
442
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 2.86 KB | None | 0 0
  1. diff --git a/BoardConfigCommon.mk b/BoardConfigCommon.mk
  2. index d2248ec..777645e 100644
  3. --- a/BoardConfigCommon.mk
  4. +++ b/BoardConfigCommon.mk
  5. @@ -165,9 +165,7 @@ BOARD_VNDK_VERSION := current
  6.  DISABLE_EAP_PROXY := true
  7.  
  8.  # Verified Boot
  9. -BOARD_AVB_ENABLE := true
  10. -BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --set_hashtree_disabled_flag
  11. -BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flags 2
  12. +BOARD_AVB_ENABLE := false
  13.  
  14.  # Inherit from the proprietary version
  15.  -include vendor/oneplus/sm8150-common/BoardConfigVendor.mk
  16. diff --git a/rootdir/etc/fstab.qcom b/rootdir/etc/fstab.qcom
  17. index 2e7a0aa..7fd36da 100644
  18. --- a/rootdir/etc/fstab.qcom
  19. +++ b/rootdir/etc/fstab.qcom
  20. @@ -30,7 +30,7 @@
  21.  # specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
  22.  
  23.  #<src>                                                 <mnt_point>            <type>  <mnt_flags and options>                            <fs_mgr_flags>
  24. -/dev/block/bootdevice/by-name/system                    /                      ext4    ro,barrier=1,discard                                 wait,slotselect,avb
  25. +/dev/block/bootdevice/by-name/system                    /                      ext4    ro,barrier=1,discard                                 wait,slotselect
  26.  /dev/block/bootdevice/by-name/metadata                  /metadata              ext4    noatime,nosuid,nodev,discard                         wait,formattable
  27.  /dev/block/bootdevice/by-name/userdata                  /data                  ext4    noatime,nosuid,nodev,barrier=1,noauto_da_alloc,discard latemount,wait,check,fileencryption=ice,keydirectory=/metadata/vold/metadata_encryption,quota,reservedsize=512M
  28.  /dev/block/bootdevice/by-name/userdata                   /data                 f2fs    noatime,nosuid,nodev,discard,fsync_mode=nobarrier latemount,wait,check,fileencryption=ice,keydirectory=/metadata/vold/metadata_encryption,quota,formattable,reservedsize=128M
  29. @@ -51,4 +51,4 @@
  30.  # and fails if it does not find it.
  31.  /dev/block/bootdevice/by-name/misc                      /misc                  emmc    defaults                                             defaults
  32.  /dev/block/bootdevice/by-name/boot                      /boot                  emmc    defaults                                             defaults
  33. -/dev/block/bootdevice/by-name/recovery                  /recovery              emmc    defaults                                             defaults
  34. \ No newline at end of file
  35. +/dev/block/bootdevice/by-name/recovery                  /recovery              emmc    defaults                                             defaults
  36. diff --git a/sm8150.mk b/sm8150.mk
  37. index e8972b5..2be22fd 100644
  38. --- a/sm8150.mk
  39. +++ b/sm8150.mk
  40. @@ -31,8 +31,7 @@ AB_OTA_UPDATER := true
  41.  AB_OTA_PARTITIONS += \
  42.      boot \
  43.      dtbo \
  44. -    system \
  45. -    vbmeta
  46. +    system
  47.  
  48.  AB_OTA_POSTINSTALL_CONFIG += \
  49.      RUN_POSTINSTALL_system=true \
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement