GitHub/LineageOS/G12/android_device_google_sabrina.git
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