GitHub/LineageOS/G12/android_device_askey_deadpool.git
6 weeks agodeadpool: Decommonize TEE
Nolen Johnson [Wed, 9 Oct 2024 21:34:29 +0000 (17:34 -0400)]
deadpool: Decommonize TEE

Change-Id: Ic2dffaa76ab5f5435fac781975ef17ebf114d4ee

6 weeks agodeadpool: Kill NRDP
Nolen Johnson [Wed, 9 Oct 2024 21:30:10 +0000 (17:30 -0400)]
deadpool: Kill NRDP

* Netflix doesn't work.

Change-Id: Ibc4c8dcd806f01b78da4fff06741c380a17c3e27

2 months agodeadpool: Sync extract scripts with templates
Michael Bestas [Tue, 27 Aug 2024 19:51:30 +0000 (22:51 +0300)]
deadpool: Sync extract scripts with templates

Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc

4 months agodeadpool: Set new BT and WiFi firmware include paths
Bruno Martins [Sun, 7 Jul 2024 17:03:11 +0000 (18:03 +0100)]
deadpool: Set new BT and WiFi firmware include paths

Change-Id: I9d9d34e4636d294bb6e03d37e2eb78cacea4f5ad

4 months agodeadpool: Properly build WLAN kernel module
Bruno Martins [Sat, 16 Dec 2023 21:54:10 +0000 (21:54 +0000)]
deadpool: Properly build WLAN kernel module

Change-Id: I1b02fd710c43ef66025d5d395728785c0ce3ddbe

5 months agodeadpool: Drop COMMON_LUNCH_CHOICES
Michael Bestas [Sun, 19 May 2024 22:45:16 +0000 (01:45 +0300)]
deadpool: Drop COMMON_LUNCH_CHOICES

As of 14 QPR2 this is broken, let's remove it instead of updating it
every 3 months. breakfast is the way to go.

Change-Id: I097bd54b894d9a49c7ce8b1ab6f343349e268fd8

5 months agodeadpool: Set VENDOR_BRAND
Nolen Johnson [Mon, 10 Jun 2024 05:32:06 +0000 (01:32 -0400)]
deadpool: Set VENDOR_BRAND

Change-Id: I317455785c75c3c478491c2029b723f3085cef48

5 months agodeadpool: Pull keymint to device tree
Nolen Johnson [Mon, 10 Jun 2024 05:04:55 +0000 (01:04 -0400)]
deadpool: Pull keymint to device tree

Change-Id: I15ac115ccf36d39a3529247dd146fe8c89cbe369

5 months agodeadpool: Split g12a/sm1 proprietary files
Nolen Johnson [Sun, 9 Jun 2024 17:49:16 +0000 (13:49 -0400)]
deadpool: Split g12a/sm1 proprietary files

Change-Id: Id46e0431e4ef926949fc551ce0267a7a06b74fea

5 months agodeadpool: Decommonize NRDP / ODM files
Nolen Johnson [Sat, 8 Jun 2024 21:50:29 +0000 (17:50 -0400)]
deadpool: Decommonize NRDP / ODM files

Change-Id: I375b3b979ca3af7f1c3347b6cb5dd019e732f728

6 months agodeadpool: Set PRODUCT_IS_ATV
Bruno Martins [Sun, 3 Mar 2024 15:27:26 +0000 (15:27 +0000)]
deadpool: Set PRODUCT_IS_ATV

Despite being already set by Google in device/google/atv/products/atv_system.mk,
it isn't available in time to be used in common product makefiles
further down in the chain.

Change-Id: Ic0a87eeb98902fc08dd3c8edd202c634b1f3eb49

6 months agodeadpool: Import IR remote mapping and standardize
Nolen Johnson [Sat, 4 May 2024 05:38:04 +0000 (01:38 -0400)]
deadpool: Import IR remote mapping and standardize

* Drop other ones as they're now in device/lineage/atv.

Change-Id: I0ebe561536e4174fdd8becf8a6ded67f0291b2b5

6 months agodeadpool: Make device name/product prop overrides work
LuK1337 [Thu, 27 Jan 2022 09:53:26 +0000 (10:53 +0100)]
deadpool: Make device name/product prop overrides work

Change-Id: I64d11103ddb8f9dce70b9bc110745d4aafd667dc

6 months agodeadpool: wifi: Reflect FW and NVRAM path changes
Bruno Martins [Thu, 25 Apr 2024 15:22:32 +0000 (16:22 +0100)]
deadpool: wifi: Reflect FW and NVRAM path changes

BCMDHD driver has been updated in order to use Linux firmware
loading API. The paths are now relative to /vendor/firmware/.

Update AP and STA paths as well for HAL awareness.

Change-Id: Iffef47a0dccbdc48cdcec142ba59d282ca9dd760

9 months agodeadpool: init: Do not change permissions of WiFi FW reload sysfs paths
Bruno Martins [Thu, 22 Feb 2024 16:40:44 +0000 (16:40 +0000)]
deadpool: init: Do not change permissions of WiFi FW reload sysfs paths

This is a quite old leftover since the proper pwermissions are already
set in init.amlogic.wifi.rc script.

Change-Id: Ib4fca6008ac9ba70d105040bd29ecd762235d0ef

9 months agodeadpool: Fix WiFi AP FW filename
Bruno Martins [Thu, 22 Feb 2024 16:33:54 +0000 (16:33 +0000)]
deadpool: Fix WiFi AP FW filename

Change-Id: I0b842275c65a90112f0381a4c1bf40be67388d77

10 months agodeadpool: Setup firmware extraction
LuK1337 [Thu, 30 Nov 2023 19:47:49 +0000 (20:47 +0100)]
deadpool: Setup firmware extraction

Change-Id: I693e59abbfcec4f016de324517ad0e24ef565c65

11 months agodeadpool: Fix sort-blobs-list
Nolen Johnson [Tue, 28 Nov 2023 17:31:45 +0000 (12:31 -0500)]
deadpool: Fix sort-blobs-list

* Makes this alphabetize properly.

Change-Id: I2450977ff6acd4cd7d29dfd2e3a4ca7f32b71904

12 months agodeadpool: Migrate deprecated BT profile configs into sysprops
Bruno Martins [Fri, 27 Oct 2023 12:14:29 +0000 (13:14 +0100)]
deadpool: Migrate deprecated BT profile configs into sysprops

Google moved all these into sysprops except for "profile_supported_hdp"
which is obsolete since Android 8.0.

This effectivelly disables Hands-Free Profile (HFP) Audio Gateway role,
Object Push Profile (OPP) and Phonebook Access Profile (PBAP) server
role.

Change-Id: I6f96862611b7f21b30157188e6373984561342aa

12 months agodeadpool: Properly overlay Bluetooth apex
Bruno Martins [Fri, 27 Oct 2023 12:11:54 +0000 (13:11 +0100)]
deadpool: Properly overlay Bluetooth apex

Change-Id: I87c4f1136fd68490bd55bda4033f36988cbd57f1

12 months agodeadpool: Replace BTM_DEF_LOCAL_NAME with a sysprop
Sal Savage [Fri, 15 Apr 2022 22:38:17 +0000 (15:38 -0700)]
deadpool: Replace BTM_DEF_LOCAL_NAME with a sysprop

Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53

12 months agodeadpool: bluetooth: Remove BTA_DM_COD
Bruno Martins [Thu, 26 Oct 2023 21:10:27 +0000 (22:10 +0100)]
deadpool: bluetooth: Remove BTA_DM_COD

BTA_DM_COD can no longer be defined. Instead, the class of the device
is now set via bluetooth.device.class_of_device sysprop, which Google
configures for ATV devices (in device/google/atv project) as follows:

 Class of Device
   Service Class: 0x2C -> 44 (Rendering, Capturing, Audio)
   Major Device Class: 0x04 -> 4 (Audio/Video)
   Minor Device Class: 0x20 -> 32 (Set-top box) // default value, should be set to 0x3C for a TV

Change-Id: Ie54d6528d4e8a31a1f7a4e06ab577488e337c184

12 months agodeadpool: bluetooth: Remove BLE_PRIVACY_SPT
Arne Coucheron [Sat, 14 Sep 2019 22:07:46 +0000 (00:07 +0200)]
deadpool: bluetooth: Remove BLE_PRIVACY_SPT

Change-Id: Ic9b3282cd43a07779c31c932877295d1716f697b

12 months agodeadpool: bluetooth: Remove KERNEL_MISSING_CLOCK_BOOTTIME_ALARM define
Arne Coucheron [Sun, 21 May 2017 04:09:26 +0000 (06:09 +0200)]
deadpool: bluetooth: Remove KERNEL_MISSING_CLOCK_BOOTTIME_ALARM define

We're using the new alarmtimer interface in the kernel now,
and thus have CLOCK_BOOTTIME_ALARM.

Change-Id: I147f6a08e31f5bbe8629f11cfa31e10e61d3685c

13 months agodeadpool: Update from TTT1.230205.001
Bruno Martins [Wed, 4 Oct 2023 21:12:06 +0000 (22:12 +0100)]
deadpool: Update from TTT1.230205.001

Change-Id: I989c07ae110ab08c597b11ae4073b17eb4f2a5b8

16 months agodeadpool: Use full super image size
Nolen Johnson [Tue, 11 Jul 2023 20:57:03 +0000 (16:57 -0400)]
deadpool: Use full super image size

Change-Id: I78293436e7db69d356acbe7c14a22cb49e12b905

18 months agodeadpool: Align extractors with templates
Nolen Johnson [Wed, 17 May 2023 12:58:25 +0000 (08:58 -0400)]
deadpool: Align extractors with templates

* These now directly support VENDOR_COMMON!

Change-Id: I6c4e2226fea90be3dcc29dccbd7e23d24b2473f5

23 months agodeadpool: Decommonize libsecmem
Christian Hoffmann [Sat, 10 Dec 2022 03:54:11 +0000 (22:54 -0500)]
deadpool: 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

23 months agodeadpool: Declare our Wi-Fi chipset vendor
Nolen Johnson [Sat, 10 Dec 2022 03:32:40 +0000 (22:32 -0500)]
deadpool: Declare our Wi-Fi chipset vendor

* Now the node permissions are commonized, and guarded by these
  properties which are set by the multihal on stock, but here
  we'll just leave it to devices to declare their vendor as we
  use standalone vendor HALs.

Change-Id: If0720482862de75abbcbf09d3ad502728737867a

23 months agodeadpool: We have our own NRDP group now
Nolen Johnson [Sat, 3 Dec 2022 05:36:18 +0000 (00:36 -0500)]
deadpool: We have our own NRDP group now

Change-Id: If036cb116d8ee3671f6304119a458ab1807e905c

23 months agodeadpool: treewide: TTT1.220909.001.B7-9305992
Nolen Johnson [Fri, 2 Dec 2022 22:10:03 +0000 (17:10 -0500)]
deadpool: treewide: TTT1.220909.001.B7-9305992

Change-Id: I13a6694679a948bcf540787fdf762494fae71948

2 years agodeadpool: Shuffle proprietary makefiles inclusion
Bruno Martins [Thu, 9 Jun 2022 19:16:12 +0000 (20:16 +0100)]
deadpool: Shuffle proprietary makefiles inclusion

Change-Id: I5e2e3d51aeb440a7119ddba8b72b23b08509bf24

2 years agodeadpool: Inherit common tree after device vars are set
Nolen Johnson [Thu, 9 Jun 2022 02:35:35 +0000 (22:35 -0400)]
deadpool: Inherit common tree after device vars are set

* Allows several variables to be read in common tree.

Change-Id: Ic8f3a4d210568254d814b013b67d8f06efff5e63

2 years agodeadpool: Unset DEVICE_PATH in the product makefile
Bruno Martins [Thu, 9 Jun 2022 14:08:33 +0000 (15:08 +0100)]
deadpool: Unset DEVICE_PATH in the product makefile

There's no need for this, make use of LOCAL_PATH instead.

Change-Id: I94642c86049d85d1b4f372309bc5899f9876ffe3

2 years agodeadpool: Decommonize liboemcrypto.so
me2151 [Sat, 7 May 2022 21:26:19 +0000 (21:26 +0000)]
deadpool: Decommonize liboemcrypto.so

* These are device-specific, and to work we need
  the stock version per-device.

Change-Id: Ide993bda7012922fbab1954846f1f4d0a7de870d

2 years agodeadpool: Decommonize vendor.media.support.dolbyvision
Nolen Johnson [Tue, 19 Apr 2022 17:16:42 +0000 (13:16 -0400)]
deadpool: Decommonize vendor.media.support.dolbyvision

Change-Id: I884adf58c0dbffdcd0bc51b53d26bbce242b6dfb

2 years agodeadpool: Decommonize ro.vendor.platform.support.dolbyvision
Nolen Johnson [Tue, 19 Apr 2022 17:06:18 +0000 (13:06 -0400)]
deadpool: Decommonize ro.vendor.platform.support.dolbyvision

Change-Id: Iae8845c1130b2f7c44d768260631b9b2b3cc6ea3

2 years agodeadpool: treewide: adt3-user 12 STT1.211025.001.Z4 7928920 release-keys
Nolen Johnson [Tue, 21 Dec 2021 00:43:44 +0000 (19:43 -0500)]
deadpool: treewide: adt3-user 12 STT1.211025.001.Z4 7928920 release-keys

Change-Id: I39be0fb8aa6e55f8da7e44361c592f17848e1220

3 years agodeadpool: include broadcom firmware makefile lineage-18.1 lineage-19.0
Jan Altensen [Thu, 16 Sep 2021 08:30:07 +0000 (10:30 +0200)]
deadpool: include broadcom firmware makefile

Change-Id: I491f42dd0464aaa7aa92b77fdd2375c0666a4c5b

3 years agodeadpool: decommonize remote keylayout
Timi Rautamäki [Tue, 31 Aug 2021 07:19:43 +0000 (07:19 +0000)]
deadpool: decommonize remote keylayout

Change-Id: Ibb28c7d65e504951da2a4bb2b07f8d9859df6498

3 years agodeadpool: Import NRDP properties
Nolen Johnson [Fri, 16 Jul 2021 20:00:51 +0000 (16:00 -0400)]
deadpool: Import NRDP properties

* Use sabrina's as stock doesn't have these.

Change-Id: I699dbd893f6a59b95c368c2a0e9ed4b7f0d1ef55

3 years agodeadpool: Decommonize init.amlogic.wifi_buildin.rc
Nolen Johnson [Thu, 1 Jul 2021 21:11:57 +0000 (17:11 -0400)]
deadpool: Decommonize init.amlogic.wifi_buildin.rc

* Only deadpool/wade/sabrina have Broadcom Wi-Fi/Bluetooth,
  dopinder/beast have Realtek, and will need different modules
  and node permissions changed.

Change-Id: I204e5c22a1dc306c9c932a3634f5e6534a438ee5

3 years agodeadpool: Decommonize TA files
Aaron Kling [Thu, 1 Jul 2021 19:37:31 +0000 (14:37 -0500)]
deadpool: Decommonize TA files

* These are different on all Askey G12A devices.

Change-Id: I4f798d094aacb4270619609c8cf9e0427abf2a95

3 years agodeadpool: Import FRP configuration from g12-common
Nolen Johnson [Wed, 30 Jun 2021 21:49:50 +0000 (17:49 -0400)]
deadpool: Import FRP configuration from g12-common

* Only deadpool/sabrina actually have an FRP partition.

Change-Id: Ia48d8ba5892a0f7070a2ff389f2857de1a9da772

3 years agodeadpool: Configure Broadcom Bluetooth/Wi-Fi HALs
Nolen Johnson [Fri, 25 Jun 2021 05:05:35 +0000 (01:05 -0400)]
deadpool: Configure Broadcom Bluetooth/Wi-Fi HALs

* We're not unifying things, and the stock MultiHAL requires
  framework side magic, so we're going with the hardware/broadcom
  solution.

* Set Bluetooth overlays based on stock.

* bdroid_buildcfg header and vnd_$device.txt configuration are
  loosely taken from OEM uploads of Amlogic BCM Wi-Fi/BT device
  sources.

Change-Id: Ie8e0f2d2a5f1cb8337ebe88b903fb18a71602f18

3 years agodeadpool: Build Broadcom DHD module inline
Aaron Kling [Fri, 25 Jun 2021 05:04:25 +0000 (01:04 -0400)]
deadpool: Build Broadcom DHD module inline

Change-Id: I042931d6361420868f53f682c70fee8c5a2b589d

3 years agodeadpool: Build device specific DTB
Stricted [Fri, 25 Jun 2021 05:24:03 +0000 (01:24 -0400)]
deadpool: Build device specific DTB

Change-Id: I882a5f2481802cabe28204ee9c65905d1a80f984

3 years agodeadpool: Initial Commit
Nolen Johnson [Thu, 17 Jun 2021 04:43:04 +0000 (00:43 -0400)]
deadpool: Initial Commit

Change-Id: I5bbc92935d81897929edf3daefb27a9e09691f60