GitHub/LineageOS/G12/android_device_askey_deadpool.git
3 days agodeadpool: Make device name/product prop overrides work lineage-21
LuK1337 [Thu, 27 Jan 2022 09:53:26 +0000 (10:53 +0100)]
deadpool: Make device name/product prop overrides work

Change-Id: I64d11103ddb8f9dce70b9bc110745d4aafd667dc

6 days agodeadpool: wifi: Reflect FW and NVRAM path changes lineage-20
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

6 days 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

2 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

2 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

2 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

2 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

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

Change-Id: I693e59abbfcec4f016de324517ad0e24ef565c65

5 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
(cherry picked from commit 68779fcd5f97652b95291e962224b55580fef1bf)

5 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

6 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

6 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

6 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

6 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

6 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

6 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

6 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

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

Change-Id: I78293436e7db69d356acbe7c14a22cb49e12b905
(cherry picked from commit 83f465c3dbf9b7f0d5066728407ec175a1545091)

9 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

11 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

16 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

16 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

16 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

16 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

22 months 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

22 months 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

22 months 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

23 months 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

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

Change-Id: I5bbc92935d81897929edf3daefb27a9e09691f60