GitHub/LineageOS/G12/android_device_bananapi_m5.git
3 weeks agom5: Don't override DeviceProduct lineage-22.0
Nolen Johnson [Sun, 27 Oct 2024 17:53:32 +0000 (13:53 -0400)]
m5: Don't override DeviceProduct

* Results in key identifiers changing.

Change-Id: I55c9616e39a10073dd00d480285cda3ebf99d84d

3 weeks agom5: Adjust override prop key names
LuK1337 [Fri, 18 Oct 2024 09:40:33 +0000 (11:40 +0200)]
m5: Adjust override prop key names

Change-Id: I436bbf425023dbe54cf3e2c35f50a5575511bc38

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

Change-Id: I342ffd48e4c183338dfc04894ddddcd938f2b460

6 weeks agom5: Migrate to sm1-common tree
Nolen Johnson [Wed, 9 Oct 2024 21:57:17 +0000 (17:57 -0400)]
m5: Migrate to sm1-common tree

Change-Id: Iecca866b037e603241940dfb4687e33fb74ca732

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

Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc

5 months agom5: Drop COMMON_LUNCH_CHOICES
Michael Bestas [Sun, 19 May 2024 22:45:16 +0000 (01:45 +0300)]
m5: 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 agom5: Add aml_install to RADIO_IMAGES lineage-20
Nolen Johnson [Fri, 14 Jun 2024 05:42:39 +0000 (01:42 -0400)]
m5: Add aml_install to RADIO_IMAGES

* For infra.

Change-Id: I467a8004dc19b3e3599ddc0966cd3632b1e7761d
(cherry picked from commit 9701753246e4723c78ec4dea9b40589781afbffb)

5 months agom5: Add aml_install to RADIO_IMAGES
Nolen Johnson [Fri, 14 Jun 2024 05:42:39 +0000 (01:42 -0400)]
m5: Add aml_install to RADIO_IMAGES

* For infra.

Change-Id: I467a8004dc19b3e3599ddc0966cd3632b1e7761d

5 months agom5: Split g12a/sm1 proprietary files
Nolen Johnson [Mon, 10 Jun 2024 05:35:29 +0000 (01:35 -0400)]
m5: Split g12a/sm1 proprietary files

Change-Id: Ifb6554802f32809c93110a492393f6c3bd8122d8

5 months agom5: Add AML install packages to target-files
Aaron Kling [Tue, 4 Jun 2024 02:32:56 +0000 (21:32 -0500)]
m5: Add AML install packages to target-files

To allow the official download portal to offer them

Change-Id: I729c5b95c10527ecdf25b70d9ead23c52ef373ab
(cherry picked from commit 3c9d9f5bcb0db802c274332bf9f2120a6c472760)

5 months agom5: Add AML install packages to target-files
Aaron Kling [Tue, 4 Jun 2024 02:32:56 +0000 (21:32 -0500)]
m5: Add AML install packages to target-files

To allow the official download portal to offer them

Change-Id: I729c5b95c10527ecdf25b70d9ead23c52ef373ab

6 months agom5: Set PRODUCT_IS_ATV
Bruno Martins [Sun, 3 Mar 2024 15:27:26 +0000 (15:27 +0000)]
m5: 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 agom5: Guard cosnole U-boot with different flag
Nolen Johnson [Thu, 9 May 2024 17:00:18 +0000 (13:00 -0400)]
m5: Guard cosnole U-boot with different flag

Change-Id: Id560e20933ea4458a377eeb785822bb0e1c3bfdc

6 months agom5: Allow console bootloader in upgrade images
Nolen Johnson [Wed, 8 May 2024 23:20:31 +0000 (19:20 -0400)]
m5: Allow console bootloader in upgrade images

Change-Id: Ifbd89c96cf03e0c83fd464c0cf86df432d5b1ba1

6 months agom5: Allow using a u-boot with console
Nolen Johnson [Wed, 8 May 2024 23:06:25 +0000 (19:06 -0400)]
m5: Allow using a u-boot with console

Change-Id: Iad732a6812eeb12e248df324ef81028148910b23

6 months agom5: Update fingerprint form deadpool EOL
Nolen Johnson [Fri, 3 May 2024 19:09:03 +0000 (15:09 -0400)]
m5: Update fingerprint form deadpool EOL

Change-Id: I6661c3275496ff16f84334b8638641c2f87b55cd

6 months agom5: Set GMS client ID
Nolen Johnson [Fri, 3 May 2024 19:08:05 +0000 (15:08 -0400)]
m5: Set GMS client ID

Change-Id: I4aae4554c60f63f357701ea43f117272100cfaa8

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

Change-Id: I64d11103ddb8f9dce70b9bc110745d4aafd667dc

9 months agom5: Refactor how we handle installation lineage-19.1
Nolen Johnson [Thu, 25 Jan 2024 02:00:21 +0000 (21:00 -0500)]
m5: Refactor how we handle installation

Change-Id: I6ebc47378dee9cf602215bac20005a358b391123
(cherry picked from commit 402144b29a3d784f7e7d62dfcfd14c5b3449cc71)
(cherry picked from commit eb54e8502215a8f7953b23899c5e66e8fc1bdd77)

9 months agom5: Refactor how we handle installation
Nolen Johnson [Thu, 25 Jan 2024 02:00:21 +0000 (21:00 -0500)]
m5: Refactor how we handle installation

Change-Id: I6ebc47378dee9cf602215bac20005a358b391123
(cherry picked from commit 402144b29a3d784f7e7d62dfcfd14c5b3449cc71)

9 months agom5: Refactor how we handle installation
Nolen Johnson [Thu, 25 Jan 2024 02:00:21 +0000 (21:00 -0500)]
m5: Refactor how we handle installation

Change-Id: I6ebc47378dee9cf602215bac20005a358b391123

9 months agom5: Account for the new way we ship firmware
Nolen Johnson [Mon, 22 Jan 2024 20:59:19 +0000 (15:59 -0500)]
m5: Account for the new way we ship firmware

Change-Id: I936ddaaa889171d81217511e83da2c957fa7da09

10 months agom5: Disable the GMS SetupWraith pairing wizard
Nolen Johnson [Wed, 17 Jan 2024 04:07:36 +0000 (23:07 -0500)]
m5: Disable the GMS SetupWraith pairing wizard

* Users can still send the keye vnet for, or press the
  upgrade key (treated as pairing button) on the deivce
  to open BT pairing - resolves all the complaints about
  not being able to use USB keyboards, etc because SetupWraith
  prevents moving past the pairing wizard screen without
  successfully pairing a remote.

Change-Id: I23d5e455d52899aec069fa0897b684433566350c

10 months agom5: Disable the GMS SetupWraith pairing wizard
Nolen Johnson [Wed, 17 Jan 2024 04:07:36 +0000 (23:07 -0500)]
m5: Disable the GMS SetupWraith pairing wizard

* Users can still send the keye vnet for, or press the
  upgrade key (treated as pairing button) on the deivce
  to open BT pairing - resolves all the complaints about
  not being able to use USB keyboards, etc because SetupWraith
  prevents moving past the pairing wizard screen without
  successfully pairing a remote.

Change-Id: I23d5e455d52899aec069fa0897b684433566350c

12 months agom5: Migrate deprecated BT profile configs into sysprops
Bruno Martins [Fri, 27 Oct 2023 12:14:29 +0000 (13:14 +0100)]
m5: 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 Advanced Audio Distribution Profile (A2DP)
Sink role, Audio/Video Remote Control Profile (AVRCP) Controller role,
Hands-Free Profile (HFP) Audio Gateway role, Hands-Free Profile (HFP)
Hands-free role, Message Access Profile (MAP) Client role, Object Push
Profile (OPP), Personal Area Networking Profile (PAN) PANU role and
Phonebook Access Profile (PBAP) client and server roles. All the rest
are enabled by default in the common device tree.

As for the config "hfp_client_connection_service", Google dropped it
since it was only used in HfpClientConnectionServiceTest and blocking
the test from running.

Change-Id: I6f96862611b7f21b30157188e6373984561342aa

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

Change-Id: I87c4f1136fd68490bd55bda4033f36988cbd57f1

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

Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53

12 months agom5: Move tablet builds support to the proper tree
Bruno Martins [Wed, 25 Oct 2023 13:57:24 +0000 (14:57 +0100)]
m5: Move tablet builds support to the proper tree

Otherwise EPPE is broken since it expects the following path:
device/*/$(LINEAGE_BUILD)/$(TARGET_PRODUCT).mk

Change-Id: Iadef814f0a3bf4f1948da73b8fe437b10ebba8ed

12 months agom5: Move TARGET_HAS_TEE flag to the proper place
Bruno Martins [Wed, 25 Oct 2023 14:05:05 +0000 (15:05 +0100)]
m5: Move TARGET_HAS_TEE flag to the proper place

Change-Id: Idd4380e022aa6498a740fe8909a3ce02cc9e6a39

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

Change-Id: I78293436e7db69d356acbe7c14a22cb49e12b905
(cherry picked from commit aeef51f3ffd533e4784ccc88feb966bf7a59e629)

16 months agom5: Allow m5_tab to build aml_*_image
Nolen Johnson [Sat, 15 Jul 2023 03:09:43 +0000 (23:09 -0400)]
m5: Allow m5_tab to build aml_*_image

Change-Id: I273e2b127b007bc809af833e027a518c3235f754

16 months agom5: Allow m5_tab to build aml_*_image
Nolen Johnson [Sat, 15 Jul 2023 03:09:43 +0000 (23:09 -0400)]
m5: Allow m5_tab to build aml_*_image

Change-Id: I273e2b127b007bc809af833e027a518c3235f754

16 months agom5: Allow tablet builds
Nolen Johnson [Wed, 12 Jul 2023 21:30:28 +0000 (17:30 -0400)]
m5: Allow tablet builds

Change-Id: Ib400d6c6d87e4d663335f2fb73b47297462561a6
(cherry picked from commit eac91bde8b15ecb9778211de7fa1747d078ffccf)

16 months agom5: Allow tablet builds
Nolen Johnson [Wed, 12 Jul 2023 21:30:28 +0000 (17:30 -0400)]
m5: Allow tablet builds

Change-Id: Ib400d6c6d87e4d663335f2fb73b47297462561a6

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

Change-Id: I78293436e7db69d356acbe7c14a22cb49e12b905

16 months agom5: Create aml_install phony target
Nolen Johnson [Sun, 9 Jul 2023 19:34:00 +0000 (15:34 -0400)]
m5: Create aml_install phony target

It's just a super slim package, containing a bootloader that
forces booting into recovery mode and a super_empty image.

Quicker, more reliable flashing process, plus solves the issue of
entering recovery without buttons.

Change-Id: I04fb916098006f9ac82ddaf379fdc1b357eef7c0
(cherry picked from commit d67368328348369352bdb755497ad378dbc33860)

16 months agom5: Create aml_install phony target
Nolen Johnson [Sun, 9 Jul 2023 19:34:00 +0000 (15:34 -0400)]
m5: Create aml_install phony target

It's just a super slim package, containing a bootloader that
forces booting into recovery mode and a super_empty image.

Quicker, more reliable flashing process, plus solves the issue of
entering recovery without buttons.

Change-Id: I04fb916098006f9ac82ddaf379fdc1b357eef7c0

16 months agom5: Fix aml_upgrade lineage-18.1
Bruno Martins [Thu, 6 Jul 2023 13:41:03 +0000 (14:41 +0100)]
m5: Fix aml_upgrade

There is a dependency on logo.img, so make sure to explicitely build it.

Change-Id: Ie918142bf4472ab4e43a43a9fb9aaa9bda7c8728
(cherry picked from commit eebe6e26eb5cb2217561d966d00783e8180a0612)
(cherry picked from commit f935f6c62880f29f49314d0a461d2e08d6eeda2e)

16 months agom5: Fix aml_upgrade
Bruno Martins [Thu, 6 Jul 2023 13:41:03 +0000 (14:41 +0100)]
m5: Fix aml_upgrade

There is a dependency on logo.img, so make sure to explicitely build it.

Change-Id: Ie918142bf4472ab4e43a43a9fb9aaa9bda7c8728
(cherry picked from commit eebe6e26eb5cb2217561d966d00783e8180a0612)

16 months agom5: Fix aml_upgrade
Bruno Martins [Thu, 6 Jul 2023 13:41:03 +0000 (14:41 +0100)]
m5: Fix aml_upgrade

There is a dependency on logo.img, so make sure to explicitely build it.

Change-Id: Ie918142bf4472ab4e43a43a9fb9aaa9bda7c8728

18 months agom5: Align extractors with templates
Nolen Johnson [Wed, 17 May 2023 13:08:06 +0000 (09:08 -0400)]
m5: Align extractors with templates

* These now directly support VENDOR_COMMON!

Change-Id: I6c4e2226fea90be3dcc29dccbd7e23d24b2473f5

23 months agom5: Declare our Wi-Fi chipset vendor
Nolen Johnson [Sat, 10 Dec 2022 03:32:40 +0000 (22:32 -0500)]
m5: 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 agom5: factory: Move u-boot somewhere accessible
Nolen Johnson [Fri, 17 Jun 2022 21:13:40 +0000 (17:13 -0400)]
m5: factory: Move u-boot somewhere accessible

Change-Id: Ifa1f6eb8f4830e7b23f98bedced4eedbf1c8a435

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

* Allows several variables to be read in common tree.

Change-Id: Ic8f3a4d210568254d814b013b67d8f06efff5e63

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

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

Change-Id: I94642c86049d85d1b4f372309bc5899f9876ffe3

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

* Differs from deadpool.

Change-Id: I7a9f45d5bf0740e86688ebf6e05670d2e1bad9d5

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

Change-Id: I884adf58c0dbffdcd0bc51b53d26bbce242b6dfb

2 years agom5: Decommonize ro.vendor.platform.support.dolbyvision
Nolen Johnson [Tue, 19 Apr 2022 17:08:56 +0000 (13:08 -0400)]
m5: Decommonize ro.vendor.platform.support.dolbyvision

Change-Id: Ie7f134d2b40e8ab38a2b217230f5dc6769a22637

2 years agom5: Set fingerprint to a whitelisted one
Jan Altensen [Mon, 12 Jul 2021 19:45:04 +0000 (21:45 +0200)]
m5: Set fingerprint to a whitelisted one

* ATV SUW whitelists fingerprints/descriptions.

Change-Id: Ied0cf87769be2a92f356bf24aecea422d62ff9f8

3 years agom5: fix factory image creation
Jan Altensen [Thu, 16 Sep 2021 19:56:35 +0000 (21:56 +0200)]
m5: fix factory image creation

 * if the source and $OUT are on different drives hardlinking fails, copy instead
 * fix bootloader path while at it

Change-Id: I425a7c4bb0fe7e2408abcda8d0993320416c015f

3 years agom5: add missing commas to lineage.dependencies
Jan Altensen [Sun, 8 Aug 2021 16:24:37 +0000 (18:24 +0200)]
m5: add missing commas to lineage.dependencies

Change-Id: I67d9a4b27a49064625b967b0b2755382f5ba8af1

3 years agom5: factory: also search in vendor/firmware for the bootloader
Jan Altensen [Sun, 1 Aug 2021 22:03:28 +0000 (00:03 +0200)]
m5: factory: also search in vendor/firmware for the bootloader

Change-Id: I99ae1d625565e66ccdcaeeaf58fff74e0963086c

3 years agom5: Build Wi-Fi DTBO
Jan Altensen [Sat, 17 Jul 2021 11:52:37 +0000 (13:52 +0200)]
m5: Build Wi-Fi DTBO

Change-Id: I79760ddff87691d42c3628f5fc47b8a6951412cc

3 years agom5: Build rtk_btusb module
Jan Altensen [Sat, 17 Jul 2021 11:18:30 +0000 (13:18 +0200)]
m5: Build rtk_btusb module

Change-Id: Ide403ef266be6f55fbb8b956bb77b598d84430ce

3 years agom5: factory: Do not verify partitions
Jan Altensen [Tue, 6 Jul 2021 20:31:19 +0000 (22:31 +0200)]
m5: factory: Do not verify partitions

 * since we can only generate V1 upgrade packages we can't
  do partition verification as the usb burning tool requires
  sha1sums which are only included in the V2 upgrade packages.

Change-Id: Icfa928622003d4a9787d27adcff2ef68cf32ab55

3 years agom5: Add aml_upgrade build target
Jan Altensen [Sat, 3 Jul 2021 00:50:53 +0000 (02:50 +0200)]
m5: Add aml_upgrade build target

* Will be neded for initial flashing.

Change-Id: Ife02f48a7b07421079470e06c05d459556b68930

3 years agom5: Specify that we have no TEE
Jan Altensen [Fri, 2 Jul 2021 08:13:38 +0000 (10:13 +0200)]
m5: Specify that we have no TEE

Change-Id: I56420abca95e4c6df1bbab69febaf0cefcde1a79

3 years agom5: Decommonize init.amlogic.wifi_buildin.rc
Nolen Johnson [Thu, 1 Jul 2021 21:11:57 +0000 (17:11 -0400)]
m5: 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 agom5: Configure Realtek Bluetooth/Wi-Fi HALs
Aaron Kling [Thu, 1 Jul 2021 00:19:40 +0000 (19:19 -0500)]
m5: Configure Realtek Bluetooth/Wi-Fi HALs

* We're not unifying things, and the stock MultiHAL requires
  framework side magic, so we're going with the hardware/realtek
  solution.

* Set Bluetooth overlays based on stock.

Change-Id: Ie8e0f2d2a5f1cb8337ebe88b903fb18a71602f18

3 years agom5: Build Realtek 8822cs module inline
Aaron Kling [Fri, 25 Jun 2021 05:04:25 +0000 (01:04 -0400)]
m5: Build Realtek 8822cs module inline

Change-Id: I042931d6361420868f53f682c70fee8c5a2b589d

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

Change-Id: I882a5f2481802cabe28204ee9c65905d1a80f984

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

Change-Id: I5bbc92935d81897929edf3daefb27a9e09691f60