sonyxperiadev / device-sony-common

70 stars 139 forks source link

[R/S] common: Don't explicitly disable vendor boot #872

Closed MarijnS95 closed 2 years ago

MarijnS95 commented 2 years ago

None of our devices set BOARD_BOOT_HEADER_VERSION, which must be at least version 3 for vendor_boot to be enabled by default, as per the AOSP change that this was originally explicitly disabled for: https://r.android.com/1457443 - it'll stay disabled for all our platforms without explicitly setting this to false. Removing this explicit disablement will allow us to enable the feature on newer platforms like Sagami where vendor_boot is required.

Build- and boot-tested on XQ-AU52 (PDX201 DSDS, Seine, Xperia 10 II) running Android 12, and J9110 (Griffin DSDS, Kumano, Xperia 1) running Android 11, no vendor_boot.img is generated and the device functions as normal.

Fixes: f570b264 ("common: Update vendor boot variable")

CC @ix5