Nolen Johnson [Tue, 11 Jun 2024 00:59:06 +0000 (20:59 -0400)]
g12: Update sm1 files from April sabrina build
Change-Id: Id0d154ae0b8c992c1be1b4e7664e476e593c6316
Nolen Johnson [Tue, 11 Jun 2024 00:36:31 +0000 (20:36 -0400)]
g12: Update vendor security patch level from wade
* deadpool's diff to wade has almost no changes on the most
recent wade build, and the only blob differences are DRM /
droidlogic stuff that was _added_.
* This is reflective of our blobs/kernel.
Change-Id: Ibaa30fdef1c975b245b3d7d5b2d157852037ef3e
Nolen Johnson [Mon, 10 Jun 2024 05:51:48 +0000 (01:51 -0400)]
g12: Fix firmware extraction with VENDOR_BRAND
Change-Id: I7af41a450cfed10d115f1bc6514f3a9f452b8374
Nolen Johnson [Mon, 10 Jun 2024 05:34:01 +0000 (01:34 -0400)]
g12: Allow vendor and vendor_brand to diverge
* For devkits which use vendor/amlogic.
Change-Id: Iab593610ecad2a4eccaf753e4ce48fdae26c7ffa
Nolen Johnson [Mon, 10 Jun 2024 05:08:16 +0000 (01:08 -0400)]
g12: Pull keymint to devices
* Do this because devkits don't need this.
Change-Id: I1aadbe46570100ce7ddb6b91b258c31cb2270235
Nolen Johnson [Sun, 9 Jun 2024 19:28:36 +0000 (15:28 -0400)]
g12: Stop setting QCA wifi only property
* denied anyway.
Change-Id: I337ed417e5745b4ed5c412a1b0ae8c4d6381d38e
Nolen Johnson [Sun, 9 Jun 2024 17:46:18 +0000 (13:46 -0400)]
g12: Split g12a/sm1 proprietary files
* Needs its own composer/systemcontrol/keymint.
Change-Id: I5e23feb428ab05fa0a9f46412b7de3a8141c4d47
Nolen Johnson [Sat, 8 Jun 2024 21:46:40 +0000 (17:46 -0400)]
g12: Pull Netflix HAL / DroidLogic apps in
* ATV Netflix depends on L1, so treat is as TEE only.
* DroidLogic apps for better or worse are a huge value
add, so pull them in device-specific trees.
* Decommonize tvconfig files while we're at it, as
these devices have wildly varied ODM partitions.
* sabrina needs it's own keymint, use deadpool's
everywhere else.
Change-Id: Ibf50e4b4e21499efd64cc16c76ead902e69b17fa
Nolen Johnson [Fri, 7 Jun 2024 21:18:06 +0000 (17:18 -0400)]
g12: Mount factory partition and make /mnt/vendor/ mounts optional
* Some devices have them some don't, don't fail to boot if we
don't have it.
Change-Id: Iada51919e5c30309534c09666e2b41b291b4feb7
Nolen Johnson [Thu, 23 May 2024 21:05:04 +0000 (17:05 -0400)]
g12: Fixup PQModule typo
* Fixes pixelation on bootloader splash screen for some.
Change-Id: I3643ec8cfb00dd59296d8566f55daba46f6f1274
Nolen Johnson [Wed, 22 May 2024 21:01:43 +0000 (17:01 -0400)]
g12: Drop reserved sizes
* device/amlogic/common inherits the common values now.
Change-Id: I3b3e5647ce296e320da8fd5940e697dcfa07999a
Nolen Johnson [Tue, 21 May 2024 16:03:06 +0000 (12:03 -0400)]
g12: Set console/baud rate conditionally
Change-Id: Ib063dd6ee5f8bd5beed9cf290152d72ab1db67e9
Nolen Johnson [Mon, 20 May 2024 21:54:40 +0000 (17:54 -0400)]
g12: Move default BT MAC to common
Change-Id: I927c37ba24c09b0d3a0d7b65c7b9bfa4b52cccd5
Nolen Johnson [Mon, 20 May 2024 21:54:03 +0000 (17:54 -0400)]
g12: Commonize a few things
Change-Id: If2c95314dfef4da9445ce963a547863cd3102f49
Nolen Johnson [Mon, 20 May 2024 17:27:07 +0000 (13:27 -0400)]
g12: Commonize ueventd.rc
Change-Id: I09dad343562cd1dd7d352aa3d906f7a992b4820f
Nolen Johnson [Mon, 20 May 2024 17:23:22 +0000 (13:23 -0400)]
g12: init-files: ueventd: Add one node that gx uses
Change-Id: If22a4f13f06a2e679033586ffc75eca5a7e268f1
Nolen Johnson [Wed, 8 May 2024 23:31:50 +0000 (19:31 -0400)]
g12: Allow including console support
* For devkits.
Change-Id: Id7d9fa943930f78768f752295f16880ae0ffe0b7
Nolen Johnson [Sat, 4 May 2024 03:48:17 +0000 (23:48 -0400)]
g12: Move non-overriding keylayouts/idc's to device/lineage/atv
* Standard remote support & UX.
Change-Id: I38897fad4408a51a8dcd9d1feeafcf2ff0c14e6e
Nolen Johnson [Fri, 3 May 2024 20:16:14 +0000 (16:16 -0400)]
g12: Stop declaring/starting services that don't exist
Change-Id: I4685ac8afd6f513628fa8936eb9f9701f0c41d79
Nolen Johnson [Fri, 3 May 2024 20:15:05 +0000 (16:15 -0400)]
g12: Stop settings OEM key from ro.boot property
* Askey in their infinite wisdom left a static one in
u-boot, and one (that's actually set) in product/build.prop,
so we need to hardcode it.
Change-Id: I218a325f5e5b99919bc6d36ac6a6e1b0c4956610
Nolen Johnson [Fri, 3 May 2024 20:02:32 +0000 (16:02 -0400)]
g12: Copy cgroups configs from system/core where possible
* cgroups.json is identical, task_profiles has differences.
Change-Id: I477d5f4f5015f18acedf644f56dc6cad4c1c2d00
Nolen Johnson [Fri, 3 May 2024 19:53:10 +0000 (15:53 -0400)]
g12: Reclassify unsorted blobs
Change-Id: Ibca2513b2e8912d475d67d2fdbe23c5003d3eae5
Nolen Johnson [Thu, 2 May 2024 22:30:43 +0000 (18:30 -0400)]
g12: Decommonize ATV OEM key
* Dopinder's is one digit off.
Change-Id: Ic5bfca5bbfea20680b0777ddff1846d36d248b1f
Nolen Johnson [Thu, 2 May 2024 22:29:53 +0000 (18:29 -0400)]
g12: Remove unused properties
Change-Id: Ibe8e28c0953831449af94e0c3b9a71ba02b9d5f7
Nolen Johnson [Thu, 2 May 2024 22:30:06 +0000 (18:30 -0400)]
g12: Stop copying Generic.kl
* Overrides platform one causing things like SUW
skip to break.
Change-Id: Ia4bf13b80ffd88f23de4fb461e36f8e4ca976b95
Nolen Johnson [Thu, 2 May 2024 22:22:23 +0000 (18:22 -0400)]
g12: Allow GPU to be overriden
* GX can boot this.
Change-Id: Ib59247b08c8f5630d60fa252096af7fccea61c42
Nolen Johnson [Thu, 2 May 2024 22:00:38 +0000 (18:00 -0400)]
g12: Remove property duplicated in aml/common
Change-Id: Ic162f1ef458db9dad9d2d57d1b8d5fc57b5912ca
Nolen Johnson [Mon, 29 Apr 2024 01:02:10 +0000 (21:02 -0400)]
Revert "g12: Ship full recovery image"
This reverts commit
468eadb3a10d0f3a87fcf5c20b1d8a168471e3fa.
Reason for revert: Global now in vendor/lineage.
Change-Id: Ib5d19fe8e69e52c87454418f9e4a0c4bdf90e7b8
Nolen Johnson [Tue, 23 Apr 2024 00:05:40 +0000 (20:05 -0400)]
g12: Allow some SOCs to fall back to gx tree
Change-Id: I5b397dd108da01137521d619829923a2684156c2
Roger Liao [Thu, 18 Jan 2024 20:09:13 +0000 (21:09 +0100)]
g12-common: Update kernel target level
Updating kernel target level to Android Q
checkvintf Error
checkvintf E : files are incompatible:
Runtime info and framework compatibility matrix are
incompatible: Kernel FCM version is not specified, but kernel version
4.9.337 is found. Fix by specifying kernel FCM version in device
checkvintf E : manifest. For example, for a *-r kernel:
checkvintf E : <kernel target-level="4"/>
checkvintf E : INCOMPATIBLE
Bug:
148823278
Change-Id: Ia30013045b0fe15abc859dda503aed790aaeeb76
Bruno Martins [Mon, 18 Mar 2024 13:14:18 +0000 (13:14 +0000)]
g12-common: Declare vulkan lib as a symlink during extraction
Change-Id: I2678e73e957081db7d988da589892b482985778e
Bruno Martins [Sun, 25 Feb 2024 16:56:58 +0000 (16:56 +0000)]
g12-common: Do not set BOARD_SYSTEM_EXTIMAGE_EXTFS_INODE_COUNT
It breaks while generating system_ext image without GMS.
Change-Id: Id085bedb3bbdef063219878153ae4c2ce18b0a47
Nolen Johnson [Wed, 21 Feb 2024 20:02:03 +0000 (15:02 -0500)]
g12: Make reserved sizes fit on tablet builds
Change-Id: I712bdab32f18961f58502fd58acaa42b56b448d3
Nolen Johnson [Thu, 15 Feb 2024 20:57:59 +0000 (15:57 -0500)]
g12: DFUService is in GMS now
* It is used for remote firmare update.
Change-Id: Ic30b59ab8a6d3dd11d10a7bea4158fb2862c34a9
Nolen Johnson [Mon, 29 Jan 2024 06:07:17 +0000 (01:07 -0500)]
g12: Unconditionally build BT deps
* It is installed even if not started, resulting in
dlopen errors.
Change-Id: I8f727e453b7eb511019d13e3147f8bbdb36e3398
(cherry picked from commit
fbe65bb6f436be07968d48d05777d62148e15c92)
Jarl-Penguin [Sun, 20 Feb 2022 09:00:56 +0000 (12:00 +0300)]
g12: Ship full recovery image
* Ensure users are always on the latest recovery image
Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
Change-Id: I033ac4442622b737639d678993daf602a89f9bac
Tim Zimmermann [Wed, 24 Aug 2022 13:40:22 +0000 (15:40 +0200)]
g12: Inherit non_ab_device.mk
* This is required to build applypatch for updating recovery
Change-Id: I38053691f7724b5d6c30159c410d5d04ac136180
Bruno Martins [Tue, 5 Dec 2023 15:05:18 +0000 (15:05 +0000)]
g12-common: Allow extracting only firmware images
Change-Id: Icab3f013661304e3a9ec89b0816a8139f6b8e8e5
Michael Bestas [Thu, 30 Nov 2023 18:44:20 +0000 (20:44 +0200)]
g12-common: Add firmware extraction support
Change-Id: If6cb6334a8f7b2fcc77c8947569eba1b2002190a
Bruno Martins [Tue, 26 Dec 2023 17:21:50 +0000 (17:21 +0000)]
g12-common: Prefer 'cache' backing storage
Android 14 allows using /cache as scratch partition. This applies only
to non-A/B devices and provides much faster overlayfs setup.
Change-Id: Iac5e86a9ca5ecd9d72840e753ea4a58c71079917
Bruno Martins [Sun, 17 Dec 2023 11:39:14 +0000 (11:39 +0000)]
g12-common: Do not limit inodes on all partitions with reserved size
Change-Id: Ib0ce6c5dbf204d715fd13f9d204ea3c657b6a852
Bruno Martins [Sun, 17 Dec 2023 11:41:09 +0000 (11:41 +0000)]
g12-common: Drop space reservation for GMS in vendor partition
Change-Id: I3359575757a27b65c2b28e03d67a238c4d3f77e8
Bruno Martins [Mon, 18 Dec 2023 15:22:51 +0000 (15:22 +0000)]
g12-common: Put oemlock support behind TEE flag
Makes no sense to ship on devkits.
Change-Id: Ic439ec47080e842039a242087715538810ed979c
Bruno Martins [Sat, 16 Dec 2023 22:33:50 +0000 (22:33 +0000)]
g12-common: Only build optee kernel module on targets that have TEE
Change-Id: Ib1f83634f23e1fb6c08aa3ee7248f6a90f793708
Nolen Johnson [Mon, 11 Dec 2023 06:20:50 +0000 (01:20 -0500)]
g12-common: Include device specific rc
Change-Id: Ia4745b7ffb0a1386252d5305ef51c68a207eccd0
Nolen Johnson [Tue, 28 Nov 2023 17:27:50 +0000 (12:27 -0500)]
g12-common: sort-blobs-list
Change-Id: Idd07f3268a63646bf6996830682499d4ccf307ac
Nolen Johnson [Tue, 28 Nov 2023 17:25:36 +0000 (12:25 -0500)]
g12-common: Fix sort-blobs-list
* Makes this alphabetize properly.
Change-Id: I2450977ff6acd4cd7d29dfd2e3a4ca7f32b71904
Nolen Johnson [Tue, 21 Nov 2023 20:55:51 +0000 (15:55 -0500)]
g12-common: Add a readme detailing SOC support
Change-Id: I1d837632896c7d42f0979bd448364bf2b760ff67
Nolen Johnson [Mon, 13 Nov 2023 04:12:02 +0000 (23:12 -0500)]
g12-common: Copy ramdisk to first_stage_ramdisk as well
* Fixes up
1acf46eebcc8452303c55d9c344e254edcf5542e which dropped this.
Change-Id: I365f7af37b5c9830e95650eeeb55027e70162c22
(cherry picked from commit
fa91916f9f5b6cb6dfd1cda76fb3897a30e05358)
Bruno Martins [Tue, 31 Oct 2023 12:53:22 +0000 (12:53 +0000)]
g12-common: Run systemcontrol_static in recovery mode
This is done to ensure that proper display resolution is set while
device is in recovery mode. Meson config file is required, so import
it into the device tree in order to avoid uncommon copy rules.
Change-Id: I3a14e02f8b857a8007a34fbbe902949ead3373a2
Bruno Martins [Wed, 25 Oct 2023 15:22:13 +0000 (16:22 +0100)]
g12-common: Remove no longer existing module
Change-Id: I27ec8c2dfdbba16717b9b092c15725e43c836ab9
LuK1337 [Thu, 19 Oct 2023 22:53:15 +0000 (00:53 +0200)]
g12-common: Build libprotobuf-cpp-lite-3.9.1-vendorcompat
Change-Id: I0aac742db9c2b4b3e48ee20158f19405863893c2
Sal Savage [Wed, 27 Apr 2022 20:30:38 +0000 (13:30 -0700)]
g12-common: Use the ?= operator so BT properties can be overridden
System properties set with the "=" operator cannot be overriden. This
device is used elsewhere in the system and some of the properties need
to be overridden. The "?=" operator will use the assigned value if no
other values are assigned elsewhere, allowing for overrides.
Bug:
230638462
Test: adb shell getprop | grep bluetooth
Change-Id: Id6cd7901555edafef141bbc1bbd5e06dc3a54d0c
Bruno Martins [Wed, 25 Oct 2023 13:14:20 +0000 (14:14 +0100)]
g12-common: Build Widevine DRM HAL dependencies
The vendor variants of android.hardware.drm@1.[0-4] are no longer
implicitly built since the migration to AIDL ClearKey DRM HAL.
Change-Id: I79c69e93e27f3c2f4a1c6f7acf5f013ee8f6cd03
Bruno Martins [Sun, 22 Oct 2023 22:34:42 +0000 (23:34 +0100)]
g12-common: Properly support AVB and non-AVB targets
The devkits do not support AVB, therefore a separate fstab must be used.
Copied over from existing fstab, with references to AVB removed as well
as mounting of /dev/block/tee partition skipped.
Change-Id: Id943a4f959a2e500c59b1def14a7abee69d8839c
Michael Bestas [Fri, 24 Feb 2023 23:23:06 +0000 (01:23 +0200)]
g12-common: init-files: Mark boot as recoveryonly
Change-Id: I09ee9bc584c07f92ac0e19d3756f11de2517047c
Bruno Martins [Sun, 22 Oct 2023 11:39:48 +0000 (12:39 +0100)]
g12-common: Undeclare duplicated Widevine DRM HAL interfaces
Already declared in Widevine DRM HAL fragment manifest.
Change-Id: Ie115f76f73bd4782dbb73d8533f5d1fb537f8f8b
Bruno Martins [Wed, 4 Oct 2023 20:50:55 +0000 (21:50 +0100)]
g12-common: Update from TTT1.230205.001
Change-Id: I1d546fce9381a89546f1d6b7bbdd7e5f1d8d1e27
Bruno Martins [Wed, 4 Oct 2023 09:44:18 +0000 (10:44 +0100)]
g12-common: Invert keymaster deps inclusion logic
The flag is only set for targets that don't support TEE.
Change-Id: I80594529f9d2506f7844a4e38c81740fe339c7b5
Bruno Martins [Wed, 4 Oct 2023 09:33:47 +0000 (10:33 +0100)]
g12-common: Remove default keymaster service
This is moving to amlogic-common, to place it along with gatekeeper
for devices that have no TEE and thus require a software-backed
solution.
Change-Id: I11053c189815820ec622a78f235af4a5d09ae03f
Bruno Martins [Wed, 4 Oct 2023 09:15:18 +0000 (10:15 +0100)]
g12-common: Skip keymaster vendor deps unless target has TEE
Change-Id: I23bd70cc1c10f509e259d9c624702c0f1d1c4725
Bruno Martins [Wed, 4 Oct 2023 09:04:17 +0000 (10:04 +0100)]
g12-common: Only copy HW keystore permission on supported targets
Change-Id: Ia7e7b0eb5840154fa06e77c2d4989e8faee099ec
Bruno Martins [Fri, 29 Sep 2023 13:50:10 +0000 (14:50 +0100)]
g12-common: Skip ATV specific blobs on non-ATV targets
Change-Id: Ifaec95a99ce028dba5be2547919ff35b93542048
Bruno Martins [Fri, 29 Sep 2023 16:11:24 +0000 (17:11 +0100)]
g12-common: Fix Vulkan support
Quite funny, the lib is actually a symlink to ../egl/libGLES_mali.so.
Change-Id: Ib185c9acb14e15fa358becd3973afeb0a4e8ad28
Michael Bestas [Thu, 31 Mar 2022 23:52:31 +0000 (02:52 +0300)]
g12-common: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
Bruno Martins [Wed, 19 Jul 2023 20:42:43 +0000 (21:42 +0100)]
g12-common: Allow targets to include additional manifests
Change-Id: I8bca18e434bc28ed406a5bb745a3381631b7951a
Nolen Johnson [Tue, 11 Jul 2023 20:54:28 +0000 (16:54 -0400)]
g12-common: Decommonize super partition size
Calculate dynamic partition size based on the super partition size
defined by the targets.
Change-Id: I574742d5798338eb98c6f229977bd4aebf4e22f0
Nolen Johnson [Wed, 17 May 2023 13:11:30 +0000 (09:11 -0400)]
g12-common: Align extractors with templates
* These now directly support VENDOR_COMMON!
Change-Id: I6c4e2226fea90be3dcc29dccbd7e23d24b2473f5
Christian Hoffmann [Mon, 10 Apr 2023 08:18:19 +0000 (10:18 +0200)]
g12: Also put fstab to first_stage_ramdisk
* New wade 12 bootloader switches root due to androidboot.force_normal_boot=1
* so just copy to both locations to support both bootloaders
* and also make "fastboot boot" happy (which doesn't set androidboot.force_normal_boot=1)
Change-Id: I1cc99db9403ea5c1d1709427a6eed2cd09933617
Nolen Johnson [Sat, 11 Mar 2023 21:28:18 +0000 (16:28 -0500)]
g12: Categorize permissions
Change-Id: I937e4d199f52fa029607342a1d938be29b12d31d
Nolen Johnson [Sat, 11 Mar 2023 21:25:29 +0000 (16:25 -0500)]
g12: Deduplicate gamepad permission
* Copied in device/amlogic/common/aml.mk
Change-Id: I69d2a5737b54716dad12aae8c35684743da266b8
razorloves [Sat, 20 Aug 2022 07:58:14 +0000 (02:58 -0500)]
g12: Don't limit inodes on /product
This fixes the issue where the MindTheGapps zip install is
incomplete due to /product not having enough free inodes.
Change-Id: I401a09565bc243d2b164f44b0b40518d65209aea
Christian Hoffmann [Tue, 20 Dec 2022 18:11:09 +0000 (19:11 +0100)]
g12: Adjust partition reservations
* Makes MTG fit
Change-Id: I6d43654a4ec5a5a6cd227737c27516f87e312d06
Christian Hoffmann [Sat, 10 Dec 2022 03:54:11 +0000 (22:54 -0500)]
g12: Decommonize libsecmem
* While this works fine on deadpool's newer liboemcrypto,
wade/dopinder and the rest of the g12* family's liboemcrypto's
don't play nicely with the newer libsecmem, so they will need
to continue using older versions of it.
Change-Id: Ib28fdf52668be729ccd30a6f6b57ec9e2a86fca6
Nolen Johnson [Tue, 6 Dec 2022 06:25:27 +0000 (01:25 -0500)]
g12: Build necessary ndk_platform shims needed by blobs
* Really not sure how this works on stock, libs just aren't there.
Change-Id: I9720bc74b1f0a5d441fec6ba2569b460ec1b2b79
Bruno Martins [Fri, 11 Nov 2022 11:59:45 +0000 (11:59 +0000)]
g12: Remove conflicting blur_sysprop_notifier prebuilt
This is built from device/google/atv/products/atv_system_ext.mk.
Change-Id: I848f494c3892e6cea42545ff54f4cd0f73ea8d0a
Nolen Johnson [Fri, 2 Dec 2022 22:09:33 +0000 (17:09 -0500)]
g12: treewide: TTT1.220909.001.B7-
9305992
Change-Id: I280f0b86e4a0f61d534d8fad76d9b4fda0134657
Nolen Johnson [Mon, 26 Sep 2022 19:23:29 +0000 (15:23 -0400)]
g12: Temporarily disable sdr2hdr
* The toggle in Settings is broken.
Change-Id: Ibfd13d725b192f8ddfd128c275353fdbffa392c8
Timi Rautamäki [Mon, 29 Aug 2022 09:35:02 +0000 (09:35 +0000)]
g12: adjust reserved space for 12 gapps
Change-Id: Ice772d08724a07e272d21c33ee368bab0a188fca
Nolen Johnson [Tue, 7 Jun 2022 21:23:12 +0000 (17:23 -0400)]
g12: Move the common stuff to amlogic/common
Change-Id: I45b8d767aa27dcafc0c19fb4e5af814ff40bd2eb
Sebastiano Barezzi [Wed, 20 Apr 2022 12:42:18 +0000 (14:42 +0200)]
g12: Refactor partition flags
* Set file system type and copy out for each partition
* Reorder flags
* Unset PRODUCT_BUILD_SUPER_PARTITION as it defaults to the value
of PRODUCT_USE_DYNAMIC_PARTITIONS
Change-Id: Ie2a3ec5a0fec79a07c79d3f9f633c11f4e40a433
Bruno Martins [Mon, 4 Jul 2022 14:52:29 +0000 (15:52 +0100)]
g12: overlay: Remove config_enableMultiUserUI
This is set globally in LineageOS.
Change-Id: Ia8e5bb3e5ecf60890a6db0622706306d891d8e42
Wang Han [Sun, 19 Aug 2018 03:05:37 +0000 (11:05 +0800)]
g12: Remove config_tether_upstream_types overlay
* No need for it now as framework side handles this well on P
Change-Id: I708663f3de23cf1677a81bf31e8fc5fed4145e1b
Bruno Martins [Mon, 4 Jul 2022 13:20:58 +0000 (14:20 +0100)]
g12: Change proprietary makefiles inheritance order
Change-Id: I65da3e542b763b0435a051892e3974673c95876e
Nolen Johnson [Sun, 3 Jul 2022 20:12:38 +0000 (16:12 -0400)]
fixup! "g12: Drop duplicated property"
* Ugh.
Change-Id: Id0613fcc4cded13d386b6c12a6e837d7f1a382e5
Nolen Johnson [Sun, 3 Jul 2022 19:56:43 +0000 (15:56 -0400)]
g12: Drop duplicated property
* In g12.mk already.
Change-Id: I680d28252b671dd349382c7b4f38f82926e3d7d0
Bruno Martins [Thu, 9 Jun 2022 14:53:49 +0000 (15:53 +0100)]
g12: Guard bluetooth support properly
* Devices without bluetooth must set BOARD_HAVE_BLUETOOTH to
false in product.mk, not BoardConfig.
* While we're at it, remove useless prop to disable bluetooth audio.
Change-Id: Icec1b48bb477d285a5af06ce4d86fdbc0d155213
Jan Altensen [Sat, 18 Jun 2022 05:22:34 +0000 (07:22 +0200)]
Revert "g12: Remove androidboot.dynamic_partitions from kernel cmdline"
This reverts commit
121e182490dfbe7f388b99738d37641dbb7a7b2b.
Reason: Devkits don't set these, and it's harmless on devices
(only Deadpool it seems) who already set it.
Change-Id: I261dfdfc07f5a4dac0285c623e03000e4d1bb1d0
Nolen Johnson [Tue, 7 Jun 2022 21:23:12 +0000 (17:23 -0400)]
g12: Inherit from basic amlogic/common tree
Change-Id: I7b2610c854d264f492e9c67097f7208c23b6db35
Bruno Martins [Wed, 19 Feb 2020 21:17:32 +0000 (21:17 +0000)]
g12: Unset BOARD_VNDK_VERSION
PRODUCT_USE_VNDK will be true in Android-P or later launching devices
and consequently BOARD_VNDK_VERSION will be set to 'current'.
Change-Id: Iaed3eb4875c00742903627d63b4f2968e356781b
Roman Kiryanov [Wed, 8 Apr 2020 21:23:47 +0000 (14:23 -0700)]
g12: Replace audio@2.0-service with audio.service
Legacy service name, use android.hardware.audio.service instead
Bug:
153579444
Test: presubmit
Signed-off-by: Roman Kiryanov <rkir@google.com>
Merged-In: I4c05accb86dd0c9cd1b3fef3d84e0d54b2afc6a1
Change-Id: I6b55b4b1db2577f4176c99dca7021cfe78e13307
Bruno Martins [Thu, 9 Jun 2022 22:19:02 +0000 (23:19 +0100)]
g12: Unset PRODUCT_IS_ATV
This is done already when inheriting from
device/google/atv/products/atv_base.mk.
Change-Id: I8c357ea6692b22babf950a06844acf1cde488e1c
Bruno Martins [Thu, 9 Jun 2022 21:07:54 +0000 (22:07 +0100)]
g12: manifest: Remove unnecessary fqname entries
Change-Id: If6d23d9d340f674e52067aae92024d522025499f
Bruno Martins [Mon, 30 May 2022 18:27:51 +0000 (19:27 +0100)]
g12: Drop default DRM service
This is not needed, since Widevine DRM and Clearkey DRM
services are available.
Change-Id: I97023f1bab88ddb8fa4cb205df190c516a759951
Bruno Martins [Thu, 9 Jun 2022 20:54:44 +0000 (21:54 +0100)]
g12: manifest: Remove old Clearkey DRM entries
These are set in the vintf fragment manifest.
Change-Id: I617dcf2a9a336f1ef33e1db7e311b9d917bf609d
Christian Hoffmann [Tue, 7 Jun 2022 22:03:55 +0000 (00:03 +0200)]
g12: Drop duplicate prop
Change-Id: I3166ac0a8866c9b5f3bb72f20560597f651e0284
Nolen Johnson [Tue, 7 Jun 2022 04:45:37 +0000 (00:45 -0400)]
g12: Move sepolicy to device/amlogic/sepolicy
Change-Id: I281b025f1eea47f6e6df62d256e73441bdd8745a
Nolen Johnson [Tue, 7 Jun 2022 04:01:47 +0000 (00:01 -0400)]
g12: Correct comment on OP-TEE proprietary file setup-makefiles
Change-Id: I53aeb563eb700964af68bc3aa13c8fa9f00eb125
Christian Hoffmann [Mon, 6 Jun 2022 06:32:11 +0000 (08:32 +0200)]
g12: Fix a duplicate entry and remove actual denial
Change-Id: I2278d88738bd21ec1a0ef59cad3b89421ea86115
Nolen Johnson [Mon, 6 Jun 2022 23:13:35 +0000 (19:13 -0400)]
fixup! g12: sepolicy: Address misc denials
* Mixed up chain ordering, this can't go in until
debugfs is in.
Change-Id: Ie2191c0e892a3dfe925efd1b30c21d2c36fceded