158 Commits

Author SHA1 Message Date
Nick van Bokhorst
9482c6a9ad polaris: fstab: Add f2fs userdata entry
Change-Id: I1a977efa80340e032a700d76f5dc0f556b53a47c
Signed-off-by: Rve27 <rve27github@gmail.com>
2025-08-19 03:21:35 +02:00
4d013e30ad polaris: Initialize Evolution X 2025-08-19 03:21:35 +02:00
althafvly
fd5873f13a polaris: overlay-lineage: Enable 1080p 60fps for front and back camera
- Sadly no 4k 60fps supported for polaris

Change-Id: I1f23cbe378b86dc96fc2943ff3035e0bf4f3bce9
2025-08-19 03:21:35 +02:00
Sebastiano Barezzi
e484034a55 polaris: Add fstab entry for metadata partition 2025-08-19 03:21:35 +02:00
Bruno Martins
60b0b80392 polaris: Remove LiveDisplay manifest entries
AIDL HAL now includes VINTF fragments.

Change-Id: I6057f0842cbbca4bfb7d6847e1c676b7d2970a8a
2025-08-16 10:57:22 +01:00
Christian Hoffmann
1be1c402c9 polaris: maxVisibleNotificationIcons is gone since 21
Change-Id: I959b4081caff09bd8d9918152690401d8f767c1e
2025-04-19 09:54:48 +00:00
Cosmin Tanislav
18e1a65d95 polaris: Do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
2025-04-13 17:18:27 +01:00
Bruno Martins
c0a44bedd5 polaris: Setup ELF checks
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: Ida6d2d91ed0a722b9cfadd71b6221dac614c33ca
2025-04-13 17:18:24 +01:00
Bruno Martins
9e80332619 polaris: Remove unused blobs
Change-Id: I47cd37a957b9868da1545130f0d63b93e6ae211a
2025-03-30 11:37:51 +01:00
ShevT
dd0863696f polaris: Switch to AIDL NXP NFC HAL
Change-Id: Iff03bd7fc522b45b9caebb12860c5c851356a9a1
2025-03-30 11:37:51 +01:00
Georg Veichtlbauer
b605e6900a polaris: Remove unneeded NFC packages
* NfcNci and SecureElement are built by handheld_system.mk

Change-Id: I83f686b67778634b584a58d8bae95d237e6dbad1
2025-03-29 17:02:13 +00:00
Bruno Martins
4cccff8e70 polaris: Set fingerprint sensor type
Moving onto fingerprint AIDL HAL.

Change-Id: I77d039bf18bb59a888ca1078727f7f1bb083c20e
2025-02-11 14:29:17 +00:00
Michael Bestas
a109f4e2b3 polaris: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
2025-01-27 23:25:22 +00:00
Gérard Parat
12f6f29b0f polaris: Switch to python extract-utils
Change-Id: I2e08e4c3dde64fcf9f7f9692d7f85dfe32c17249
2025-01-27 23:25:18 +00:00
Michael Bestas
e6aa8f60fd polaris: Remove unused Android.mk
Change-Id: I98105c127066f7de7012a1895d19c96356105921
2024-12-22 15:23:12 +00:00
Bruno Martins
ef66ac07b4 polaris: Rename rootdir to init and migrate to blueprints
Change-Id: I6a1e20817445ce0f25bb04fbf91d4883effcec4a
2024-12-22 15:22:48 +00:00
LuK1337
a8776e0284 polaris: Adjust override prop key names
Change-Id: I436bbf425023dbe54cf3e2c35f50a5575511bc38
2024-11-24 18:19:48 +00:00
Bruno Martins
8b6fcc2f20 polaris: Drop custom fastboot-info
This partially reverts commit 6cfa4fb6f4.

Change-Id: I03f8a1766cec3582f1873b6d82bf33bc75bfb7f1
2024-09-28 16:25:17 +00:00
Bruno Martins
d41932857c polaris: Update fstab for dynamic partitions
Implemented as per docs: https://source.android.com/devices/tech/ota/dynamic_partitions/implement#fstab-changes

Co-authored-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: Ibaee7040087cf3e890fbc43557fd8f984da81509
2024-09-28 13:49:45 +01:00
Michael Bestas
c2027b36fb polaris: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-09-28 10:36:44 +01:00
Alexander Koskovich
7d9c0af586 polaris: rro_overlays: Drop explicit 'sdk_version' declaration
* We don't need to manually set this anymore.

Change-Id: I1239ba541636e53f8ea4373d3815024f2cd60824
2024-06-29 00:41:38 +07:00
Michael Bestas
62df615966 polaris: 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
2024-06-19 21:35:52 +01:00
Bruno Martins
3dff7dbd2d polaris: Drop INxpNfc from device manifest
Change-Id: I71e3c39987eadddaf396dfcef3cc7f8b2c3051cc
2024-06-17 19:10:40 +00:00
Tim Zimmermann
56b781a979 polaris: Inherit non_ab_device.mk
* This is required to build applypatch for updating recovery

Change-Id: I38053691f7724b5d6c30159c410d5d04ac136180
2024-06-04 02:18:22 +07:00
Aidan Warner
e877a19693 polaris: Enable auxiliary cameras
Co-authored-by: Andrey Sprynga <rtx4d@aospa.co>
Change-Id: I04b0b6c402d59d4463718b06dfb74f531c268a0b
2024-04-08 21:37:02 +07:00
LuK1337
ed6ce04f68 Revert "polaris: overlay: Increase status_bar_padding_start"
This reverts commit e8dff9af10.

Change-Id: Ib382c070041c6e25d0e0ef526a6e7d964839b1e2
2024-03-31 03:02:28 +01:00
LuK1337
6cfa4fb6f4 polaris: Override fastboot-info.txt
Change-Id: I1b293436b23eb8dfbc3a60759fee97cc73ba852d
2024-03-21 14:16:01 +00:00
Arian
0015a66925 polaris: Build fingerprint extension interfaces from source
Change-Id: I08db4948ec1d4b3df5f0c57f87c00575ab3fe778
2024-02-20 17:14:25 +00:00
Bruno Martins
6318d238e5 polaris: Move releasetools requirements to android-info-extra.txt
This is a non-standard requirement which fastbootd doesn't nativelly
supports. Move it to the newly introduced file that will only contain
the requirements used by custom releasetools for the OTA assertions.

Change-Id: Ic3f65a5b9220c914ded468ddc19d2994ba71d964
2023-12-24 17:25:07 +00:00
Bruno Martins
2ee5ec7459 polaris: Add board requirements
Change-Id: I1ebbf17cf6a1d8cc4da5adee573b441de4dbba19
2023-12-24 17:23:49 +00:00
Sebastiano Barezzi
93023d5acf polaris: Keep building health HIDL interface lib in vendor
* GNSS HAL needs it

Change-Id: Id2e1b2844d195d41fc67a0224e0dc39573f7702e
2023-11-14 10:31:19 +00:00
LuK1337
e8dff9af10 polaris: overlay: Increase status_bar_padding_start
This makes it match ongoing_appops_dot_min_padding.

Change-Id: I64a01e8d3766b97fd416bba1e26ba8b5d4159a42
2023-11-14 10:29:48 +00:00
Chenyang Zhong
c1e29763f0 polaris: overlay: Switch to vector drawable for rounded corners
Looks like Google derped the regular rounded_corner_radius again
in android 13.

Change-Id: Ifed71cd8406714d1f12e67d0af153cdff4bdc6ae
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2023-11-14 03:23:05 +00:00
Bruno Martins
ed413a4b12 polaris: Undeclare duplicated GNSS HAL interfaces
All of these are already declared in the GNSS HAL fragment manifests.

Change-Id: I72c97a605c24d02fa313d9208700744f0aa3b5df
2023-10-24 11:32:32 +01:00
Bruno Martins
ade7a1f993 polaris: Drop updatable_apex inclusion and enable compression
The inclusion of the makefile has been moved back to the
common device tree and compression can be enabled because
kernel now supports it.

Change-Id: I97383c7c63e3946f4c3c0af4be2f9b63ec304b7e
2022-11-17 14:32:46 +00:00
Alexander Koskovich
249be3f86c polaris: Set USB product string to 'Xiaomi Mi MIX 2S'
Change-Id: Idda062aaa38e16d7ba65356dbca8b467fbff14c1
2022-10-26 11:07:20 +01:00
Alessandro Astone
0202e6aaaf polaris: Define a soong namespace
Change-Id: Ida759ee1786c667e766da29103f0ecb54950c104
2022-10-26 11:07:10 +01:00
David Su
f0c4a4dfe2 polaris: Don't sign Wifi RROs with platform cert
Preinstalled overlays needn't be signed with the same cert
as the package it overlays, simply being preinstalled is
enough. Sign with the default cert instead for now, which
provides fewer special privileges.

Bug: 162195999
Test: verify values still overlaid correctly
Change-Id: I017491fd383551c5aadf8648edb900e0c12a27b8
2022-10-26 11:05:16 +01:00
Glen Kuhne
c4695229f2 polaris: Set default hotspot ssid
Added a device specific overlay that changes the default name
from "AndroidAp" to customized name

Test: Builds, manually verified name change
Bug: 36368950
Change-Id: I38a5f6fb950d6a45342080bae186a8ed276d94bf
2022-10-26 11:04:55 +01:00
LuK1337
46d2f8004a polaris: Set a default Settings.Global.DEVICE_NAME
Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2022-10-26 11:03:43 +01:00
Sal Savage
cda3fc1146 polaris: Replace BTM_DEF_LOCAL_NAME with a sysprop
Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53
2022-09-19 12:53:32 +01:00
Bruno Martins
87fe8e3c20 polaris: overlay: Set BT controller voltage in the power profile
This was usually set in frameworks/base, but the overlay has been
deprecated in Android 13.

Change-Id: Ie1dc66c34e562179003e6294241bd5900859248a
2022-09-18 00:39:15 +01:00
Christian Hohnstaedt
5cec8d371a polaris: nfc: Re-enable extended length support
Required to make e.g. AusweisApp2 work again.
Issue had been introduced by commit 64e689a58f.

Change-Id: Ibb3e92607c7f34d0e5a8d80eedff45f155dd4988
2022-09-07 10:15:10 +01:00
Sebastiano Barezzi
38a38427e1 polaris: Switch to two-stage init mounting
* Stop handling cust and vendor mounting from kernel, first stage init is gonna do that, together with system (which is now /system)
* Use correct mount flags coming from kernel dts
* Move system, system_ext and vendor mount points to /dev/block/by-name/, we don't have bootdevice symlink to that point in init
* Copy fstab to ramdisk for first stage init

Change-Id: If8d75837f47c70f7ea02183bffaff233b4d6bb26
2022-08-26 16:25:20 +02:00
Bruno Martins
bbe8700007 polaris: Include target config fragment
Change-Id: I994b7cefa73c3b06082abb69aa275a41e8845149
2022-07-05 23:43:57 +02:00
1nfrag
64e689a58f polaris: Switch to AOSP NFC stack
* Align to AOSP NFC template config.
* Fixes problems where NFC freeze once screen is off after boot.

Change-Id: Ia288b2666b8eed5664fbcfcccda511ac9e067c20
2022-06-09 11:07:25 +02:00
Christopher N. Hesse
886760f3cb polaris: Enforce common device & vendor tree presence
A compiled build has no chance of booting without the common device setup
and the prebuilt binaries, so fail the build if those are not present.

Change-Id: Iadd43e887d426732e549969ab8deb14194ca818d
2022-05-30 19:50:38 +01:00
Bruno Martins
4891f4ba1e polaris: fstab: Set /system_ext mount point for recovery
Change-Id: Ie12a787e58d72f2a90a3ba015948203240978f36
2022-05-30 18:28:56 +01:00
Georg Veichtlbauer
7a3ba9f613 polaris: overlay: Update deprecated screen power items
* screen.on -> screen.on.display0
* screen.full -> screen.full.display0

AOSP frameworks/base: 8ac63071a4e6da7e0740f5eb6c6753218efcfd3a

Change-Id: Iad50e6cb63368e2d71e6fa1dbb6997c0f95d321e
2022-05-23 09:38:13 +01:00
Bruno Martins
b7cacfd3a9 polaris: Clean up fingerprint related stuff
The fingerprint HIDL service is now built in the common tree.
As for the manifest entries, remove whatever is unused.

Change-Id: I781f597b35a557e1beb035fae557695488fe2c22
2022-05-05 15:29:25 +01:00