GitHub/LineageOS/G12/android_device_google_sabrina.git
2 months agosabrina: sabrina_prod_stable-user 12 STTE.240615.007 12033466 release-keys
Nolen Johnson [Wed, 11 Sep 2024 02:56:26 +0000 (22:56 -0400)]
sabrina: sabrina_prod_stable-user 12 STTE.240615.007 12033466 release-keys

Change-Id: Ib066ecac9df76e514fb98e48c74b737ad371d549

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

Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc

3 months agosabrina: sabrina_prod_stable-user 12 STTL.240508.005 12011027 release-keys
Nolen Johnson [Mon, 5 Aug 2024 05:00:51 +0000 (01:00 -0400)]
sabrina: sabrina_prod_stable-user 12 STTL.240508.005 12011027 release-keys

Change-Id: I8ad2e7d84b2968a0f9d8107281f72b20130c86f0

4 months agoRevert "sabrina: Override systemcontrol to allow NET_ADMIN"
Bruno Martins [Sun, 14 Jul 2024 13:54:23 +0000 (13:54 +0000)]
Revert "sabrina: Override systemcontrol to allow NET_ADMIN"

This reverts commit a627b61631364e94a5af7d6087128120e95aaaca.

Reason for revert: Doesn't work.

Change-Id: Ia272f8644f31dfab2f5d3ee320e936d0ca6f3689

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

Change-Id: I9d9d34e4636d294bb6e03d37e2eb78cacea4f5ad

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

Change-Id: I1b02fd710c43ef66025d5d395728785c0ce3ddbe

5 months agosabrina: Don't limit inodes on system_ext
Nolen Johnson [Fri, 21 Jun 2024 03:19:04 +0000 (23:19 -0400)]
sabrina: Don't limit inodes on system_ext

Change-Id: I9bf0213abfa755c6cb18999248ae68774e6436fe

5 months agosabrina: Drop COMMON_LUNCH_CHOICES
Michael Bestas [Sun, 19 May 2024 22:45:16 +0000 (01:45 +0300)]
sabrina: 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 agosabrina: Override systemcontrol to allow NET_ADMIN
Nolen Johnson [Tue, 11 Jun 2024 17:42:23 +0000 (13:42 -0400)]
sabrina: Override systemcontrol to allow NET_ADMIN

* sabrina's droidlogic-res app + systemcontrol requires
  NET_ADMIN.

Change-Id: I39a7475d9f2fb06b65f9c2adac89932d3afcc2d9

5 months agosabrina: sepolicy: Allow kenrel to do some get janky with loop devices
Nolen Johnson [Tue, 11 Jun 2024 17:13:55 +0000 (13:13 -0400)]
sabrina: sepolicy: Allow kenrel to do some get janky with loop devices

Change-Id: I9d16f68223fecec318f62ee023a9e79b40ccdad9

5 months agosabrina: Stop trying to transition the led service seclabel
Nolen Johnson [Tue, 11 Jun 2024 01:09:44 +0000 (21:09 -0400)]
sabrina: Stop trying to transition the led service seclabel

Change-Id: I068a9e7a7737ff42bd0f0830395352f599d07f3c

5 months agosabrina: sabrina_prod_stable-user 12 STTE.240315.002 11695351 release-keys
Nolen Johnson [Tue, 11 Jun 2024 00:55:48 +0000 (20:55 -0400)]
sabrina: sabrina_prod_stable-user 12 STTE.240315.002 11695351 release-keys

Change-Id: I2ce6696664a2f0efeeaa90bfeb6c07f95b7d0618

5 months agosabrina: Allow droidlogic app to interact with systemcontrol hwservice
Nolen Johnson [Mon, 10 Jun 2024 19:39:41 +0000 (15:39 -0400)]
sabrina: 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

5 months agosabrina: Unpin keymint
Nolen Johnson [Mon, 10 Jun 2024 05:49:00 +0000 (01:49 -0400)]
sabrina: Unpin keymint

Change-Id: If66d577c7cbf20b5e687766155d8d09063d52e0a

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

Change-Id: I15ac115ccf36d39a3529247dd146fe8c89cbe369

5 months agosabrina: Set SOC variant
Nolen Johnson [Mon, 10 Jun 2024 05:45:20 +0000 (01:45 -0400)]
sabrina: Set SOC variant

Change-Id: I72044980812c1062f095807dcc47c29eb7696f4e

5 months agosabrina: Set VENDOR_BRAND
Nolen Johnson [Mon, 10 Jun 2024 05:45:02 +0000 (01:45 -0400)]
sabrina: Set VENDOR_BRAND

Change-Id: I317455785c75c3c478491c2029b723f3085cef48

5 months agosabrina: Split g12a/sm1 proprietary files
Nolen Johnson [Sun, 9 Jun 2024 17:48:25 +0000 (13:48 -0400)]
sabrina: Split g12a/sm1 proprietary files

Change-Id: Ibf3c09e61c381b832c515033da91a1b41c52bc87

5 months agosabrina: sabrina_prod_stable-user 12 STTL.231114.004 11218674 release-keys
Nolen Johnson [Fri, 2 Feb 2024 06:52:38 +0000 (01:52 -0500)]
sabrina: sabrina_prod_stable-user 12 STTL.231114.004 11218674 release-keys

* Unset specific DHD version, the common on is what stock uses now.
* Include all device-specific rc's from wifi_buildin.rc for convienence.
* We require our own keymint (ugh, why?).

Change-Id: I9c51a68983b7025b110f6b1bd65a9bcce8fd0bc2

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

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

Change-Id: I0ebe561536e4174fdd8becf8a6ded67f0291b2b5

6 months agosabrina: Set OEM ATV Key
Nolen Johnson [Fri, 3 May 2024 19:32:17 +0000 (15:32 -0400)]
sabrina: Set OEM ATV Key

Change-Id: I826c86a5280cda7aba510e2a5aac0e51c2b62412

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

Change-Id: I64d11103ddb8f9dce70b9bc110745d4aafd667dc

6 months agosabrina: wifi: Reflect FW and NVRAM path changes
Bruno Martins [Thu, 25 Apr 2024 15:22:32 +0000 (16:22 +0100)]
sabrina: 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

8 months agosabrina: init: Do not change permissions of WiFi FW reload sysfs paths
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

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

9 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)

11 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

12 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

12 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

12 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

12 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

12 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

12 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

16 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

18 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

21 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

23 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

23 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

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

Change-Id: I5bbc92935d81897929edf3daefb27a9e09691f60