GitHub/LineageOS/G12/android_device_hardkernel_odroidc4.git
2 months agoodroidc4: Refactor how we handle installation lineage-19.1
Nolen Johnson [Thu, 25 Jan 2024 02:00:21 +0000 (21:00 -0500)]
odroidc4: Refactor how we handle installation

Change-Id: I6ebc47378dee9cf602215bac20005a358b391123
(cherry picked from commit ce38291ea3b61f8f0b8bec34d694319cbf92f6b6)
(cherry picked from commit 8d5e45d5e226bd966d2c0f242365ad09a38e6a64)

2 months agoodroidc4: Refactor how we handle installation lineage-20
Nolen Johnson [Thu, 25 Jan 2024 02:00:21 +0000 (21:00 -0500)]
odroidc4: Refactor how we handle installation

Change-Id: I6ebc47378dee9cf602215bac20005a358b391123
(cherry picked from commit ce38291ea3b61f8f0b8bec34d694319cbf92f6b6)

2 months agoodroidc4: Refactor how we handle installation lineage-21
Nolen Johnson [Thu, 25 Jan 2024 02:00:21 +0000 (21:00 -0500)]
odroidc4: Refactor how we handle installation

Change-Id: I6ebc47378dee9cf602215bac20005a358b391123

3 months agoodroidc4: Account for the new way we ship firmware
Nolen Johnson [Mon, 22 Jan 2024 19:56:33 +0000 (14:56 -0500)]
odroidc4: Account for the new way we ship firmware

Change-Id: I936ddaaa889171d81217511e83da2c957fa7da09

3 months agoodroidc4: Disable the GMS SetupWraith pairing wizard
Nolen Johnson [Wed, 17 Jan 2024 04:07:36 +0000 (23:07 -0500)]
odroidc4: 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

6 months agoodroidc4: Move tablet builds support to the proper tree
Bruno Martins [Wed, 25 Oct 2023 13:57:24 +0000 (14:57 +0100)]
odroidc4: 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

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

Change-Id: Idd4380e022aa6498a740fe8909a3ce02cc9e6a39

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

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

9 months agoodroidc4: Allow odroidc4_tab to build aml_*_image
Nolen Johnson [Sat, 15 Jul 2023 03:09:43 +0000 (23:09 -0400)]
odroidc4: Allow odroidc4_tab to build aml_*_image

Change-Id: I273e2b127b007bc809af833e027a518c3235f754

9 months agoodroidc4: Allow odroidc4_tab to build aml_*_image
Nolen Johnson [Sat, 15 Jul 2023 03:09:43 +0000 (23:09 -0400)]
odroidc4: Allow odroidc4_tab to build aml_*_image

Change-Id: I273e2b127b007bc809af833e027a518c3235f754

9 months agoodroidc4: Allow tablet builds
Nolen Johnson [Wed, 12 Jul 2023 21:29:00 +0000 (17:29 -0400)]
odroidc4: Allow tablet builds

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

9 months agoodroidc4: Allow tablet builds
Nolen Johnson [Wed, 12 Jul 2023 21:29:00 +0000 (17:29 -0400)]
odroidc4: Allow tablet builds

Change-Id: Ib400d6c6d87e4d663335f2fb73b47297462561a6

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

Change-Id: I78293436e7db69d356acbe7c14a22cb49e12b905

9 months agoodroidc4: Create aml_install phony target
Nolen Johnson [Sun, 9 Jul 2023 19:34:00 +0000 (15:34 -0400)]
odroidc4: 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 c1cad0c6229ef6472b115ff813c059dfc03a4327)

9 months agoodroidc4: Create aml_install phony target
Nolen Johnson [Sun, 9 Jul 2023 19:34:00 +0000 (15:34 -0400)]
odroidc4: 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

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

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

Change-Id: Ie918142bf4472ab4e43a43a9fb9aaa9bda7c8728
(cherry picked from commit 3313d8c19b8752e694f861163a3aefd61305959f)
(cherry picked from commit 323df1caaa8a9161e5828281485110caf659f3c8)

9 months agoodroidc4: Fix aml_upgrade
Bruno Martins [Thu, 6 Jul 2023 13:41:03 +0000 (14:41 +0100)]
odroidc4: Fix aml_upgrade

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

Change-Id: Ie918142bf4472ab4e43a43a9fb9aaa9bda7c8728
(cherry picked from commit 3313d8c19b8752e694f861163a3aefd61305959f)

9 months agoodroidc4: Fix aml_upgrade
Bruno Martins [Thu, 6 Jul 2023 13:41:03 +0000 (14:41 +0100)]
odroidc4: Fix aml_upgrade

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

Change-Id: Ie918142bf4472ab4e43a43a9fb9aaa9bda7c8728

11 months agoodroidc4: State that device has no integrated Wi-Fi
Nolen Johnson [Wed, 17 May 2023 14:16:49 +0000 (10:16 -0400)]
odroidc4: State that device has no integrated Wi-Fi

* True, and otherwise EPPE bitches about wpa_supplicant.conf
  not existing.

Change-Id: Ib3fc8afe2130454d80beab7157d8cdaa4c349057

11 months agoodroidc4: Align extractors with templates
Nolen Johnson [Wed, 17 May 2023 13:02:23 +0000 (09:02 -0400)]
odroidc4: Align extractors with templates

* These now directly support VENDOR_COMMON!

Change-Id: I6c4e2226fea90be3dcc29dccbd7e23d24b2473f5

21 months agoodroidc4: Set BOARD_HAVE_BLUETOOTH flag
Bruno Martins [Sat, 11 Jun 2022 18:20:13 +0000 (19:20 +0100)]
odroidc4: Set BOARD_HAVE_BLUETOOTH flag

Change-Id: Ib3dd8a64ffec2e97a82ad44aaaacd5d3c7f766d7

22 months agoodroidc4: factory: Move u-boot somewhere accessible
Nolen Johnson [Fri, 17 Jun 2022 21:13:40 +0000 (17:13 -0400)]
odroidc4: factory: Move u-boot somewhere accessible

Change-Id: Ifa1f6eb8f4830e7b23f98bedced4eedbf1c8a435

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

* Allows several variables to be read in common tree.

Change-Id: Ic8f3a4d210568254d814b013b67d8f06efff5e63

22 months agoodroidc4: Unset DEVICE_PATH in the product makefile
Bruno Martins [Thu, 9 Jun 2022 14:20:57 +0000 (15:20 +0100)]
odroidc4: Unset DEVICE_PATH in the product makefile

Not used and if ever needed LOCAL_PATH should be used instead.

Change-Id: I82cb8f87a20b01ee1f9a542ac5777dc2e7ab7d65

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

* Differs from deadpool.

Change-Id: I7a9f45d5bf0740e86688ebf6e05670d2e1bad9d5

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

Change-Id: I884adf58c0dbffdcd0bc51b53d26bbce242b6dfb

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

Change-Id: Ie7f134d2b40e8ab38a2b217230f5dc6769a22637

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

* ATV SUW whitelists fingerprints/descriptions.

Change-Id: Ied0cf87769be2a92f356bf24aecea422d62ff9f8

2 years agoodroidc4: fix typo in dependencies
Nick Reuter [Wed, 11 Aug 2021 23:21:05 +0000 (18:21 -0500)]
odroidc4: fix typo in dependencies

Change-Id: Ifdb14c60e5031fb5adbb4d05708cd0b80b1a789f

2 years agoodroidc4: fix factory image creation
Jan Altensen [Thu, 16 Sep 2021 19:56:35 +0000 (21:56 +0200)]
odroidc4: 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

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

Change-Id: I99ae1d625565e66ccdcaeeaf58fff74e0963086c

2 years agoodroidc4: factory: Do not verify partitions
Jan Altensen [Tue, 6 Jul 2021 20:31:19 +0000 (22:31 +0200)]
odroidc4: 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

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

* Will be neded for initial flashing.

Change-Id: Ife02f48a7b07421079470e06c05d459556b68930

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

Change-Id: I56420abca95e4c6df1bbab69febaf0cefcde1a79

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

Change-Id: I882a5f2481802cabe28204ee9c65905d1a80f984

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

Change-Id: I5bbc92935d81897929edf3daefb27a9e09691f60