GitHub/LineageOS/G12/android_device_askey_wade.git
6 weeks agowade: Allow droidlogic app to interact with systemcontrol hwservice
Nolen Johnson [Mon, 10 Jun 2024 19:39:41 +0000 (15:39 -0400)]
wade: Allow droidlogic app to interact with systemcontrol hwservice

* No idea how stock does this, will figure it out later.
* Labeling droidlogic app changes nothing.

Change-Id: Icd27d73402a9fdffdc849de7d2f56183e86e3da6

6 weeks agowade: Fix subtitlemanager HAL ELF checks
Cosmin Tanislav [Fri, 16 Aug 2024 23:23:32 +0000 (02:23 +0300)]
wade: Fix subtitlemanager HAL ELF checks

Change-Id: I0d242a404b2f983cecab5994d56a6098dcb9c3c1

6 weeks agowade: Patch keymint service to replace ndk_platform backend
Bruno Martins [Sun, 6 Oct 2024 09:32:13 +0000 (10:32 +0100)]
wade: Patch keymint service to replace ndk_platform backend

At the same time bump the ndk version where applicable to fix:

error: module "android.hardware.security.keymint-service.amlogic" variant
"android_vendor_arm_armv8-a": depends on multiple versions of the same aidl_interface:
android.hardware.security.keymint-V1-ndk-source,
android.hardware.security.keymint-V3-ndk-source

Change-Id: I394545d7af4422cae2c446278a681cbbc353c9f3

6 weeks agowade: Remove now dead SOC flag
Nolen Johnson [Wed, 9 Oct 2024 22:03:51 +0000 (18:03 -0400)]
wade: Remove now dead SOC flag

Change-Id: I342ffd48e4c183338dfc04894ddddcd938f2b460

6 weeks agowade: Decommonize TEE
Nolen Johnson [Wed, 9 Oct 2024 21:34:29 +0000 (17:34 -0400)]
wade: Decommonize TEE

Change-Id: Ic2dffaa76ab5f5435fac781975ef17ebf114d4ee

6 weeks agowade: Unpin IR
Nolen Johnson [Wed, 9 Oct 2024 21:44:00 +0000 (17:44 -0400)]
wade: Unpin IR

Change-Id: Icc254dacf27c0b39db0e792e66a8c45cd7de1039

6 weeks agowade: Mount factory partition in init scripts
Nolen Johnson [Sun, 6 Oct 2024 15:44:43 +0000 (11:44 -0400)]
wade: Mount factory partition in init scripts

Change-Id: I3db4f2d3619fcb93aa586c8cbe984580ee17b3e7

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

Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc

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

Change-Id: I9d9d34e4636d294bb6e03d37e2eb78cacea4f5ad

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

Change-Id: I1b02fd710c43ef66025d5d395728785c0ce3ddbe

5 months agowade: Set manifest target-level to 5
Tim Zimmermann [Sun, 15 May 2022 04:02:43 +0000 (06:02 +0200)]
wade: Set manifest target-level to 5

Change-Id: Ic72d17ebdb388dee9e63e27a36190c93c095fb0c

5 months agowade: Drop COMMON_LUNCH_CHOICES
Michael Bestas [Sun, 19 May 2024 22:45:16 +0000 (01:45 +0300)]
wade: 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 agowade: sti6130d350-user 12 SC 20240419 release-keys
Nolen Johnson [Tue, 11 Jun 2024 00:37:40 +0000 (20:37 -0400)]
wade: sti6130d350-user 12 SC 20240419 release-keys

Change-Id: Icd666b0209cf329fce353e566d4e81dd6ad6e282

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

Change-Id: I317455785c75c3c478491c2029b723f3085cef48

5 months agowade: Pull keymint to device tree
Nolen Johnson [Mon, 10 Jun 2024 05:06:08 +0000 (01:06 -0400)]
wade: Pull keymint to device tree

Change-Id: I15ac115ccf36d39a3529247dd146fe8c89cbe369

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

Change-Id: I916d593ac032e671cfdcd53db3c11a1f219d1b81

5 months agowade: Build and pull IR blobs
Nolen Johnson [Sun, 9 Jun 2024 17:58:57 +0000 (13:58 -0400)]
wade: Build and pull IR blobs

Change-Id: Ifa951c7275885e5da15ca492423dc86d19f1c3c6

5 months agowade: Decommonize NRDP / ODM files
Nolen Johnson [Sat, 8 Jun 2024 21:51:16 +0000 (17:51 -0400)]
wade: Decommonize NRDP / ODM files

Change-Id: I5391c8cbc8eef9a024420531c66c68d4ea27d9c4

6 months agowade: Set PRODUCT_IS_ATV
Bruno Martins [Sun, 3 Mar 2024 15:27:26 +0000 (15:27 +0000)]
wade: 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 agowade: Import IR remote mapping and standardize
Nolen Johnson [Sat, 4 May 2024 05:38:40 +0000 (01:38 -0400)]
wade: Import IR remote mapping and standardize

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

Change-Id: I0ebe561536e4174fdd8becf8a6ded67f0291b2b5

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

Change-Id: I64d11103ddb8f9dce70b9bc110745d4aafd667dc

6 months agowade: wifi: Reflect FW and NVRAM path changes
Bruno Martins [Thu, 25 Apr 2024 15:22:32 +0000 (16:22 +0100)]
wade: 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 agowade: init: Do not change permissions of WiFi FW reload sysfs paths
Bruno Martins [Thu, 22 Feb 2024 16:40:44 +0000 (16:40 +0000)]
wade: 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 agowade: Fix WiFi AP FW filename
Bruno Martins [Thu, 22 Feb 2024 16:33:54 +0000 (16:33 +0000)]
wade: 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 agowade: Fix and run sort-blobs-list
Nolen Johnson [Tue, 28 Nov 2023 17:32:31 +0000 (12:32 -0500)]
wade: Fix and run sort-blobs-list

* Makes this alphabetize properly.

Change-Id: I2450977ff6acd4cd7d29dfd2e3a4ca7f32b71904

12 months agowade: Migrate deprecated BT profile configs into sysprops
Bruno Martins [Fri, 27 Oct 2023 12:14:29 +0000 (13:14 +0100)]
wade: 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 agowade: Properly overlay Bluetooth apex
Bruno Martins [Fri, 27 Oct 2023 12:11:54 +0000 (13:11 +0100)]
wade: Properly overlay Bluetooth apex

Change-Id: I87c4f1136fd68490bd55bda4033f36988cbd57f1

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

Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53

12 months agowade: bluetooth: Remove BTA_DM_COD
Bruno Martins [Thu, 26 Oct 2023 21:10:27 +0000 (22:10 +0100)]
wade: 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 agowade: bluetooth: Remove BLE_PRIVACY_SPT
Arne Coucheron [Sat, 14 Sep 2019 22:07:46 +0000 (00:07 +0200)]
wade: bluetooth: Remove BLE_PRIVACY_SPT

Change-Id: Ic9b3282cd43a07779c31c932877295d1716f697b

12 months agowade: bluetooth: Remove KERNEL_MISSING_CLOCK_BOOTTIME_ALARM define
Arne Coucheron [Sun, 21 May 2017 04:09:26 +0000 (06:09 +0200)]
wade: 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

16 months agowade: Use minimal GMS if building with it
Bruno Martins [Thu, 9 Jun 2022 13:34:59 +0000 (14:34 +0100)]
wade: Use minimal GMS if building with it

Only minimal GMS fits.

Change-Id: If9ce99880bcd6949354f80882176aaaded9aad85

16 months agowade: Decommonize super image size
Nolen Johnson [Tue, 11 Jul 2023 20:57:03 +0000 (16:57 -0400)]
wade: Decommonize super image size

Change-Id: I78293436e7db69d356acbe7c14a22cb49e12b905

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

* These now directly support VENDOR_COMMON!

Change-Id: I6c4e2226fea90be3dcc29dccbd7e23d24b2473f5

19 months agowade: sti6130d350-user 12 SC 20221221 release-keys
Nolen Johnson [Sun, 9 Apr 2023 05:32:35 +0000 (01:32 -0400)]
wade: sti6130d350-user 12 SC 20221221 release-keys

* Don't need to pin libsecmem anymore as our blobs are now
  compatible with newer common blobs.

Change-Id: I24ba0d0b8c73370ec822fe6010988f90f74f1668

23 months agowade: Decommonize libsecmem
Christian Hoffmann [Sat, 10 Dec 2022 03:54:11 +0000 (22:54 -0500)]
wade: 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 agowade: Declare our Wi-Fi chipset vendor
Nolen Johnson [Sat, 10 Dec 2022 03:32:40 +0000 (22:32 -0500)]
wade: 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

2 years agowade: Correct PRODUCT_MANUFACTURER
Nolen Johnson [Fri, 22 Jul 2022 14:08:37 +0000 (10:08 -0400)]
wade: Correct PRODUCT_MANUFACTURER

Change-Id: Ia63656ef804629ab3bef8f0e05547a1a6c081bf2

2 years agowade: Update release key (and fix a typo)
Christian Hoffmann [Sat, 25 Jun 2022 10:47:23 +0000 (12:47 +0200)]
wade: Update release key (and fix a typo)

Change-Id: I160f21dd7c36155f9c63b560b277cd9247c1dbf5

2 years agowade: BT remote idc and kl moved to lineage atv
Christian Hoffmann [Wed, 8 Jun 2022 22:23:17 +0000 (00:23 +0200)]
wade: BT remote idc and kl moved to lineage atv

Change-Id: Ifc1fbbb6ba94f0f91b986019333112010d9d27cd

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

Change-Id: I5e2e3d51aeb440a7119ddba8b72b23b08509bf24

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

* Allows several variables to be read in common tree.

Change-Id: Ic8f3a4d210568254d814b013b67d8f06efff5e63

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

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

Change-Id: I94642c86049d85d1b4f372309bc5899f9876ffe3

2 years agowade: Decommonize liboemcrypto.so
me2151 [Sat, 7 May 2022 20:35:30 +0000 (20:35 +0000)]
wade: Decommonize liboemcrypto.so

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

Change-Id: I3c26081fe5fa70a3833aa6231a778596fa3f45fd

2 years agowade: Set ro.soc.model
Nolen Johnson [Tue, 19 Apr 2022 17:24:00 +0000 (13:24 -0400)]
wade: Set ro.soc.model

* Differs from deadpool.

Change-Id: I7a9f45d5bf0740e86688ebf6e05670d2e1bad9d5

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

Change-Id: I884adf58c0dbffdcd0bc51b53d26bbce242b6dfb

2 years agowade: Decommonize ro.vendor.platform.support.dolbyvision
Nolen Johnson [Tue, 19 Apr 2022 17:07:14 +0000 (13:07 -0400)]
wade: Decommonize ro.vendor.platform.support.dolbyvision

Change-Id: Ib69e5ebcb850dbfc325119c9178dbebfa15bb0bc

2 years agowade: Update blobs to sti6130d350-user-10-QT-20220222 lineage-18.1
Rohan Hasabe [Wed, 30 Mar 2022 11:33:31 +0000 (13:33 +0200)]
wade: Update blobs to sti6130d350-user-10-QT-20220222

Change-Id: Ic25fbb63a737f562659c7d0186650f41242f72d8

2 years agowade: Update blobs to sti6140d350-user-10-QT-20211207
Rohan Hasabe [Sat, 5 Mar 2022 20:41:36 +0000 (21:41 +0100)]
wade: Update blobs to sti6140d350-user-10-QT-20211207

Signed-off-by: Rohan Hasabe <rohanhasabe8@gmail.com>
Change-Id: I6bfea0ec532a13bb0f970e525e6b99ad38ad3d64

2 years agoRevert "wade: build & overlay KeyHandler"
Nolen Johnson [Mon, 13 Dec 2021 19:20:43 +0000 (20:20 +0100)]
Revert "wade: build & overlay KeyHandler"

* Commonized now.

This reverts commit 61581478c572a0be692a04cf1afae1859950ea94.

Change-Id: Iaeac5e014b96a89da92a3512d76eade2ef0b4221

3 years agowade: include broadcom firmware makefile
Jan Altensen [Thu, 16 Sep 2021 08:30:07 +0000 (10:30 +0200)]
wade: include broadcom firmware makefile

Change-Id: I491f42dd0464aaa7aa92b77fdd2375c0666a4c5b

3 years agowade: build & overlay KeyHandler
Timi Rautamäki [Wed, 1 Sep 2021 16:13:30 +0000 (16:13 +0000)]
wade: build & overlay KeyHandler

Change-Id: I1bd4c27a646f5deda26f20d99e87ae61f977bde6

3 years agowade: add keylayouts
Timi Rautamäki [Sun, 12 Sep 2021 19:21:46 +0000 (19:21 +0000)]
wade: add keylayouts

Add keylayout for app buttons (Netflix, etc.).

Change-Id: I085e3f760f9ea1749a2541753c60e32dd26f419e

3 years agowade: decommonize remote keylayout
Timi Rautamäki [Tue, 31 Aug 2021 07:22:18 +0000 (07:22 +0000)]
wade: decommonize remote keylayout

This fixes assistant button and maps Netflix, YouTube, Google Play buttons.

Change-Id: Ifa7e7c13754f50aa9da21d166ced5abad1e2d2da

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

Change-Id: I699dbd893f6a59b95c368c2a0e9ed4b7f0d1ef55

3 years agowade: Decommonize init.amlogic.wifi_buildin.rc
Nolen Johnson [Thu, 1 Jul 2021 21:11:57 +0000 (17:11 -0400)]
wade: 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 agowade: Decommonize TA files
Aaron Kling [Thu, 1 Jul 2021 19:37:31 +0000 (14:37 -0500)]
wade: Decommonize TA files

* These are different on all Askey G12A devices.

Change-Id: I4f798d094aacb4270619609c8cf9e0427abf2a95

3 years agowade: Configure Broadcom Bluetooth/Wi-Fi HALs
Nolen Johnson [Fri, 25 Jun 2021 05:05:35 +0000 (01:05 -0400)]
wade: 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 agowade: Build Broadcom DHD module inline
Aaron Kling [Fri, 25 Jun 2021 05:04:25 +0000 (01:04 -0400)]
wade: Build Broadcom DHD module inline

Change-Id: I042931d6361420868f53f682c70fee8c5a2b589d

3 years agowade: Build device specific DTBO
Aaron Kling [Thu, 1 Jul 2021 06:38:57 +0000 (01:38 -0500)]
wade: Build device specific DTBO

Change-Id: Icd51d102952092c973cb83214be7bf590b382ada

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

Change-Id: I882a5f2481802cabe28204ee9c65905d1a80f984

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

Change-Id: I5bbc92935d81897929edf3daefb27a9e09691f60