GitHub/LineageOS/G12/android_device_google_sabrina.git
7 weeks agosabrina: init: Do not change permissions of WiFi FW reload sysfs paths lineage-20
Bruno Martins [Thu, 22 Feb 2024 16:40:44 +0000 (16:40 +0000)]
sabrina: 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

7 weeks agosabrina: Fix WiFi AP FW filename
Bruno Martins [Thu, 22 Feb 2024 16:33:54 +0000 (16:33 +0000)]
sabrina: Fix WiFi AP FW filename

Change-Id: I0b842275c65a90112f0381a4c1bf40be67388d77

7 weeks agosabrina: init: Do not change permissions of WiFi FW reload sysfs paths lineage-21
Bruno Martins [Thu, 22 Feb 2024 16:40:44 +0000 (16:40 +0000)]
sabrina: 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

7 weeks agosabrina: Fix WiFi AP FW filename
Bruno Martins [Thu, 22 Feb 2024 16:33:54 +0000 (16:33 +0000)]
sabrina: Fix WiFi AP FW filename

Change-Id: I0b842275c65a90112f0381a4c1bf40be67388d77

2 months agosabrina: Disable systemcontrol_static in recovery
Nolen Johnson [Mon, 11 Dec 2023 06:21:39 +0000 (01:21 -0500)]
sabrina: Disable systemcontrol_static in recovery

Change-Id: Ia5943a6c68963add1ab41f632d522a15b7108879
(cherry picked from commit ad6740130b2636475bbe316ec4b32238b805106d)

2 months agosabrina: Disable systemcontrol_static in recovery
Nolen Johnson [Mon, 11 Dec 2023 06:21:39 +0000 (01:21 -0500)]
sabrina: Disable systemcontrol_static in recovery

Change-Id: Ia5943a6c68963add1ab41f632d522a15b7108879

4 months agosabrina: Fix and run sort-blobs-list
Nolen Johnson [Tue, 28 Nov 2023 17:34:47 +0000 (12:34 -0500)]
sabrina: Fix and run sort-blobs-list

* Makes this alphabetize properly.

Change-Id: I2450977ff6acd4cd7d29dfd2e3a4ca7f32b71904
(cherry picked from commit 3f85c736af0f97ca6b24d9caa42d447af68e4c95)

4 months agosabrina: Fix and run sort-blobs-list
Nolen Johnson [Tue, 28 Nov 2023 17:34:47 +0000 (12:34 -0500)]
sabrina: Fix and run sort-blobs-list

* Makes this alphabetize properly.

Change-Id: I2450977ff6acd4cd7d29dfd2e3a4ca7f32b71904

5 months agosabrina: Migrate deprecated BT profile configs into sysprops
Bruno Martins [Fri, 27 Oct 2023 12:14:29 +0000 (13:14 +0100)]
sabrina: 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,
Message Access Profile (MAP) Server role, Object Push Profile (OPP),
Personal Area Networking Profile (PAN) PANU role and Phonebook Access
Profile (PBAP) server role.

Change-Id: I6f96862611b7f21b30157188e6373984561342aa

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

Change-Id: I87c4f1136fd68490bd55bda4033f36988cbd57f1

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

Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53

5 months agosabrina: bluetooth: Remove BTA_DM_COD
Bruno Martins [Thu, 26 Oct 2023 21:10:27 +0000 (22:10 +0100)]
sabrina: 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

5 months agosabrina: bluetooth: Remove BLE_PRIVACY_SPT
Arne Coucheron [Sat, 14 Sep 2019 22:07:46 +0000 (00:07 +0200)]
sabrina: bluetooth: Remove BLE_PRIVACY_SPT

Change-Id: Ic9b3282cd43a07779c31c932877295d1716f697b

5 months agosabrina: bluetooth: Remove KERNEL_MISSING_CLOCK_BOOTTIME_ALARM define
Arne Coucheron [Sun, 21 May 2017 04:09:26 +0000 (06:09 +0200)]
sabrina: 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 agosabrina: Use full super image size lineage-19.1
Nolen Johnson [Tue, 11 Jul 2023 20:57:03 +0000 (16:57 -0400)]
sabrina: Use full super image size

Change-Id: I78293436e7db69d356acbe7c14a22cb49e12b905
(cherry picked from commit 4753e6cd9a24d9d3f64a1f7022b8002bba0a7eca)

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

Change-Id: I78293436e7db69d356acbe7c14a22cb49e12b905

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

* These now directly support VENDOR_COMMON!

Change-Id: I6c4e2226fea90be3dcc29dccbd7e23d24b2473f5

14 months agosabrina: Report correct bluetooth name
Nolen Johnson [Tue, 14 Feb 2023 16:47:33 +0000 (11:47 -0500)]
sabrina: Report correct bluetooth name

Change-Id: I1b7c120566cd02ac591c2cec1fe7cf6235f86864
(cherry picked from commit 32b36879434fcc31802a4c3e5e6d8a21a578e34c)

14 months agosabrina: Report correct bluetooth name
Nolen Johnson [Tue, 14 Feb 2023 16:47:33 +0000 (11:47 -0500)]
sabrina: Report correct bluetooth name

Change-Id: I1b7c120566cd02ac591c2cec1fe7cf6235f86864

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

20 months agosabrina: Update to QTS1.210311.036
Nolen Johnson [Thu, 4 Aug 2022 23:55:20 +0000 (19:55 -0400)]
sabrina: Update to QTS1.210311.036

Change-Id: I2b3d16747263740193feeae40582e2d7c9d14e9c

22 months agosabrina: Shuffle proprietary makefiles inclusion
Bruno Martins [Thu, 9 Jun 2022 19:16:12 +0000 (20:16 +0100)]
sabrina: Shuffle proprietary makefiles inclusion

Change-Id: I5e2e3d51aeb440a7119ddba8b72b23b08509bf24

22 months agosabrina: Inherit common tree after device vars are set
Nolen Johnson [Thu, 9 Jun 2022 02:35:35 +0000 (22:35 -0400)]
sabrina: Inherit common tree after device vars are set

* Allows several variables to be read in common tree.

Change-Id: Ic8f3a4d210568254d814b013b67d8f06efff5e63

22 months agosabrina: Unset DEVICE_PATH in the product makefile
Bruno Martins [Thu, 9 Jun 2022 14:08:33 +0000 (15:08 +0100)]
sabrina: Unset DEVICE_PATH in the product makefile

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

Change-Id: I94642c86049d85d1b4f372309bc5899f9876ffe3

23 months agosabrina: Decommonize liboemcrypto.so
me2151 [Sat, 7 May 2022 21:11:21 +0000 (21:11 +0000)]
sabrina: Decommonize liboemcrypto.so

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

Change-Id: I879987f76cd858a6d6116f2911850f575caa3926

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

* Differs from deadpool.

Change-Id: I7a9f45d5bf0740e86688ebf6e05670d2e1bad9d5

2 years agosabrina: Pin teetz from the last exploitable build lineage-18.1
Nolen Johnson [Sat, 18 Dec 2021 21:23:08 +0000 (16:23 -0500)]
sabrina: Pin teetz from the last exploitable build

* These files need to match the installed bootloader image,
  so our options for viable ones that remain exploitable are
  04-2020 and 09-2020, so let's assume people are on the newest
  one.

* sabrina_prod_stable-user 10 QTS2.200918.015 6966301 release-keys.

Change-Id: I47e5bdd2fa3e60dcb9af211990d577a6d5a5cf20

2 years agoRevert "sabrina: build & overlay KeyHandler"
Nolen Johnson [Mon, 13 Dec 2021 19:18:04 +0000 (14:18 -0500)]
Revert "sabrina: build & overlay KeyHandler"

* Commonized now.

This reverts commit f566dda243d1b350849d38a1c6bfc2472d45a35c.

Change-Id: Ice8249f96131f3c625f5b36979c07ff88b64a958

2 years agosabrina: Drop keylayouts/idc's in device/lineage/atv
Nolen Johnson [Mon, 13 Dec 2021 18:43:57 +0000 (13:43 -0500)]
sabrina: Drop keylayouts/idc's in device/lineage/atv

Change-Id: I3f6d93c1483e4a427f54698efeed0aa6ab3db07b

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

Change-Id: I491f42dd0464aaa7aa92b77fdd2375c0666a4c5b

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

Change-Id: I1bd4c27a646f5deda26f20d99e87ae61f977bde6

2 years agosabrina: Correct product name from stock
Nolen Johnson [Tue, 21 Sep 2021 01:15:53 +0000 (21:15 -0400)]
sabrina: Correct product name from stock

Change-Id: I4f080331dbd0e39314ca17b9a2c97eb20b2adbf3

2 years agosabrina: Use correct DHD version
Jan Altensen [Tue, 14 Sep 2021 18:33:00 +0000 (14:33 -0400)]
sabrina: Use correct DHD version

Change-Id: I422621cdeb58aa53c7fd4775ebf36d70163674cb

2 years agosabrina: add keylayouts
Timi Rautamäki [Sun, 12 Sep 2021 19:21:46 +0000 (19:21 +0000)]
sabrina: add keylayouts

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

Change-Id: I085e3f760f9ea1749a2541753c60e32dd26f419e

2 years agosabrina: Remove FRP declaration
Nolen Johnson [Mon, 13 Sep 2021 17:07:04 +0000 (13:07 -0400)]
sabrina: Remove FRP declaration

* We don't have an FRP partition.

Change-Id: Ia6e6637cba31344afb7e0d19d72cdb9ef3dec3d1

2 years agosabrina: Set variant defconfig
Jan Altensen [Mon, 26 Jul 2021 17:00:18 +0000 (19:00 +0200)]
sabrina: Set variant defconfig

Change-Id: I2aaa214b9237afe6713b7553a8286c6e38537a9f

2 years agosabrina: Import device specific proprietary files
Nolen Johnson [Thu, 22 Jul 2021 00:22:27 +0000 (20:22 -0400)]
sabrina: Import device specific proprietary files

Change-Id: I75b269d1fc420ce3f620530adbff82056205a42c

2 years agosabrina: Import device-specific init-files/properties
Nolen Johnson [Wed, 21 Jul 2021 23:52:32 +0000 (19:52 -0400)]
sabrina: Import device-specific init-files/properties

Change-Id: I36e872979960d98e6cde9c8fbfbf64b76508ad69

2 years agosabrina: Import NRDP properties
Nolen Johnson [Fri, 16 Jul 2021 20:00:51 +0000 (16:00 -0400)]
sabrina: Import NRDP properties

Change-Id: I699dbd893f6a59b95c368c2a0e9ed4b7f0d1ef55

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

* These are different on all Askey G12A devices.

Change-Id: I4f798d094aacb4270619609c8cf9e0427abf2a95

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

* Only deadpool/sabrina actually have an FRP partition.

Change-Id: Ia48d8ba5892a0f7070a2ff389f2857de1a9da772

2 years agosabrina: Configure Broadcom Bluetooth/Wi-Fi HALs
Nolen Johnson [Fri, 25 Jun 2021 05:05:35 +0000 (01:05 -0400)]
sabrina: 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.

* Unlike all other g12a devices, sabrina sets ro.bt.bdaddr_path
  on stock to `/sys/class/bt_addr/value`.

Change-Id: Ie8e0f2d2a5f1cb8337ebe88b903fb18a71602f18

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

Change-Id: I042931d6361420868f53f682c70fee8c5a2b589d

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

Change-Id: I882a5f2481802cabe28204ee9c65905d1a80f984

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

Change-Id: I5bbc92935d81897929edf3daefb27a9e09691f60