Qcom has issues that prevent it from working with a hermetic
partition build.
Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
Could not decompress initial ramdisk image.
Booting to EDL
You can get dmesg from EDL, dump memory and read any HEX Reader, for example - GHex
This reverts commit c264973aa9.
* these prop should be accessed by init process from /system partition
I /system/bin/init: type=1107 audit(0.0:3): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=persist.vendor.bt.a2dp_offload_cap pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:bluetooth_prop:s0 tclass=property_service permissive=1'
I /system/bin/init: type=1107 audit(0.0:4): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=ro.hwui.render_ahead pid=1 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:default_prop:s0 tclass=property_service permissive=1'
* With the older flag the system space size was being chosen statically,
this way only the reserved size for Gapps is static while the whole size
is being dynamically chosen
Change-Id: Ib9a59ab429f725b2f571c8b1d74cec8bb6ab72dc
The new folder structure now looks like this:
device/qcom/sepolicy_vndr
├─ legacy-um (meant for sdm845 until sm8350)
├─ sm8450
└─ sm8550
SEPolicy.mk placed in the root automatically redirects devices to the
proper subfolder.
Change-Id: I4ed1a06af779909d64172da294c4a99a3ae9ba0d
* AVB's `--flags 3` argument builds a disabled VBMeta with
disabled hashtree, so no need to set both flags individually.
Change-Id: Ibe9ee322a5af58f13e76d53e18dee49451fe8838
Signed-off-by: adi8900 <adrianszymanski242@gmail.com>
We tried doing this on Android 11 and later reverted it due to fd leaks
during prolonged video calls. However, the issue has been fixed on
Android 12, so let's enable it again for performance.
Nanhumly:
SystemUI Lag encountered in Android13 QPR1, probably related to OpenGLRenderer
E/OpenGLRenderer( 1556): Unable to match the desired swap behavior.
W/Parcel ( 1556): Expecting binder but got null!
D/OpenGLRenderer( 2414): endAllActiveAnimators on 0x7adac3e100 (RippleDrawable) with handle 0x7a3803b540
So switch to Vulkan UI renderer for now, even though it has rendering problems in some interfaces.
Change-Id: I1cd2ca6931aad60f9c48d40aa0212b69c68edef8
Signed-off-by: Nishant Kumar <www.rajsonu13@gmail.com>
So to match what is shipped with stock because prebuilt a-HAL
and extensions are being used.
Change-Id: I74d5bd1de5ea87984ace38076cb5a0bd54736ca6
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Custom audio policy manager is hard disabled by CAF
for 2 years now. Remove as well the audio feature flags
that were used to configure it.
Change-Id: Idd34d1cbbdb735d6cf0de3b159c2670bf7ddd1e3
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
As of I3c7aed1bdb45db728d319f7d757400e44d232283 the Bluetooth stack
defaults to reasonable defaults that should work for all devices.
Change-Id: I056d63c4c8a2727e384172e964dc0000b6773504
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
* It's largely for testing purposes and it consumes
a large amount of memory. If your hardware doesn't
have graphics then it can be useful, which isn't the
case for shipped devices.
Change-Id: I2348718ad3afba846498572161fa7e83dd8b7ce9
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Basically any non-plain-text files in our proprietary file list
are ELF binaries. Granted that I can use llvm-readobj to check the
headers and build them through cc_prebuilt_binary or
cc_prebuilt_library_shared one by one, but the result is kind of
pointless.
The purpose of cc_prebuilt_binary is to track dependencies by
running check_elf_file.py on them. We have so many proprietary blobs
that it is nearly impossible (and sometimes impractical and undesirable)
to define dependencies.
Quoting commit afc09932f6fa07c5f6beffbcdc2bb4691e527321 in
system/sepolicy [1]:
"Devices launching with R or eariler can this by setting following
under BoardConfig.mk"
It is impractical to replace every prop definition from qcom to
vendor_property_type for old platforms like SDM845, so relax the
enforcement to avoid triggering millions of neverallows.
ref:
[1] afc09932f6
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Enable 64 bit compilation for DRM plugins.
This will generate DRM plugins, HALs & oemcrypto_test in 64 bit.
Change-Id: I451db39edea3446d9816fcaba77caa8d3b097afb