54 Commits

Author SHA1 Message Date
54db8aa81b polaris: Initialize Evolution X 2025-08-19 03:21:24 +02:00
Cosmin Tanislav
18e1a65d95 polaris: Do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
2025-04-13 17:18:27 +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
ef66ac07b4 polaris: Rename rootdir to init and migrate to blueprints
Change-Id: I6a1e20817445ce0f25bb04fbf91d4883effcec4a
2024-12-22 15:22: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
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
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
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
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
Alessandro Astone
0202e6aaaf polaris: Define a soong namespace
Change-Id: Ida759ee1786c667e766da29103f0ecb54950c104
2022-10-26 11:07:10 +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
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
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
Andrey Sprynga
94fae590e0 polaris: Migrate to fingerprint HAL v2.3
Signed-off-by: Andrey Sprynga <rtx4d@aospa.co>
Change-Id: I21238eede83f80d5fbd876fc5b62ccdaa86a711c
2022-05-02 16:12:16 +02:00
Bruno Martins
8ff8100f02 polaris: Copy cgroups and task_profiles directly from system/core
This ensures that the most up-to-date JSON files are shipped.

Change-Id: Ic9fae188784825ae6dc607c13b403e37290b7067
2022-03-15 21:09:34 +00:00
Chenyang Zhong
f807c6e351 polaris: Ship cgroups.json and task_profiles.json in vendor
Google's prebuilt cgroups.json and task_profiles.json for products
launched with previous API levels only covers
ro.product.first_api_level >= 28. [1]

Xiaomi Mi MIX 2S was launched with Oreo (API level 26), so schedtune
and task groups are completely broken. Since the system also checks
/vendor/etc for vendor profiles, make a copy of cgroups_28.json
and task_profiles_28.json and ship them to /vendor/etc. Profiles
for previous API levels are all the same anyway.

Test: boot and check /dev/stune/

[1] system/core/libprocessgroup/profiles/

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I33c0540ef50054fad839886f9f014cc275659e77
2021-12-28 15:23:45 +00:00
Chenyang Zhong
17bd62ea62 polaris: Turn off compressed apex
Google introduced compressed apex on android 12 [1], and the flag is
enabled by default in updatable_apex.mk [2]. Xiaomi Mi MIX 2S cannot boot
compressed apex with encryption, so disable it.

ref:
[1] https://source.android.com/devices/tech/ota/apex#compressed-apex
[2] 4a1240de8a

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: Bruno Martins <bgcngm@gmail.com>
Change-Id: I6b213b5d4a368adcf77cbecc699496285adf184c
2021-12-28 15:23:45 +00:00
Bruno Martins
e997757fd7 polaris: Update NQ NFC packages for R bringup
Change-Id: I618104845ad1ccd5cc265cdbc94c9118fcaa199e
2020-11-09 12:03:25 +00:00
LuK1337
902b78a83c Revert "polaris: Exclude lineage-sdk overlays from RRO"
This reverts commit 087df90f1e.

Change-Id: I12f150b13686f8b91bb63e4ee728eb4016856aa5
2020-10-31 21:54:13 +00:00
Bruno Martins
fe00d15a0d polaris: Switch to OSS fingerprint HIDL
Change-Id: I2abf0e136b31c64f827bac99f391d86a8c9e1fd9
2020-05-17 19:33:03 +01:00
Anton Hansson
d2e7aac561 polaris: Move libnfc-nci.conf to /product
Device-specific files belong off /system.

Bug: 117878616
Test: make
Change-Id: Iddad62c178c553e4d628deb4509ea54451b8ab4f
2020-03-29 21:35:02 +01:00
Bruno Martins
106644d003 polaris: Split system and vendor props
Change-Id: If965be42e68e9ebbd816656dd2af79f541c1ceea
2020-02-24 22:43:57 +01:00
Bruno Martins
1a559b3311 polaris: Override VNDK version
MIX 2s was launched with O (API level 26). This forces PRODUCT_USE_VNDK to be
set as true and consequently BOARD_VNDK_VERSION is set to 'current', which was
previously done in the common tree.

Change-Id: Ie262e5cdc1db0b21f6a327cd707f7a15814d0dce
2020-02-19 23:01:39 +01:00
Jiyong Park
d4ce7543f5 polaris: Add updatable_apex.mk
The product abstracts configs that need to be set to support updating of APEXes.

Change-Id: Id5aa944ceba6a6846308f1c18a08af8b3bb38589
2020-02-05 23:22:34 +00:00
Bruno Martins
893e271df7 polaris: Update to Q-based GPS configs
Based on MIUI V11.0.3.0.QDGMIXM

Change-Id: I4fb6ee51f8ca649addb4a695b9b201867a5b3e0e
2020-02-02 10:10:49 +00:00
Bruno Martins
457d8027b4 polaris: Import GPS configs from vendor repo
Configs are still based on MIUI 9.6.20

Change-Id: I8de6371145da32955fdd725036b58f7750a5e0b3
2020-01-24 01:26:21 +02:00
Dan Pasanen
087df90f1e polaris: Exclude lineage-sdk overlays from RRO
* lineage-sdk overlays don't work with RRO

Change-Id: Iff826faf1864388066a488acc9682636b98d1098
2019-11-11 23:31:19 +00:00
Bruno Martins
c4c63f875d polaris: Split RF configs from the main NFC config
This is now expected with the Q NXP NFC halimp.

Change-Id: Ie58c0cb61441e8bbe22ed100c1067a91a49921d1
2019-10-21 21:54:19 +02:00
Bruno Martins
a639e6b415 polaris: Bring NFC NXP up to speed
The soong namespaces must now be set so that the proper
implementations are selected.

Change-Id: Ic205daf36a1153d94e7d03a7693fb2583703e2b5
2019-09-28 01:03:38 +01:00
Bruno Martins
00f1f9cf48 polaris: Clean up NFC packages
AOSP impl is not needed at all when NQ NFC is used and all the
rest are implicitly built.

Include support for GSMA NFC API while at it.

Change-Id: Ib8141fb8ceedffc3ebecb7ad4e71491a31573f07
2019-08-10 01:21:35 +02:00
Bruno Martins
cf2ba14f2f polaris: Add device specific init script
Change-Id: I754044ed120d46a9b70f786ef1513978a025e313
2019-07-31 21:41:44 +01:00
1nfrag
f672f28e93 polaris: Set up NFC
Change-Id: Ib10e931059ad185e26541ceb68390124bb64686e
2019-07-31 21:41:44 +01:00
Bruno Martins
ee72f28d13 polaris: Import stock audio configs
* From MIUI 9.6.20

Change-Id: Idc0b0b7db7b2d08b77ea174b943301e2f98f6252
2019-07-31 21:41:38 +01:00
Bruno Martins
ab3deada92 polaris: Append device manifest to common one
* No more hacks needed.

Change-Id: Ie5798c2223752eb9a73204eced65aacb29eb8b68
2019-07-30 22:17:13 +01:00
Bruno Martins
d6ed029a21 polaris: Include device-specific feature permissions
Change-Id: I52a3fa421fa28771d00812437c06b5ff57880707
2019-07-14 11:19:54 +01:00
Bruno Martins
59b92a4db8 polaris: Place a copy of NXP NFC config into system image
* Unleash all the NFC features even before starting to
   build our custom vendor images.

Change-Id: Ic6ae9d47555a5ba4ffa7897ac63e5064486fb09c
2019-05-05 12:01:25 +01:00
Bruno Martins
78ba07f23e polaris: Copy device fstab to vendor
Change-Id: I63e6126d48a2efb586b80567f80a1498f0b81cb7
2019-03-13 22:08:46 +00:00
Ruchi Kandoi
488c702667 polaris: Remove system and vendor image dependency
libnfc-nci.conf shouldn't be a part of vendor image, since it is
accessed by libnfc-nci and Nfc application, both are part of system
image.

Test: Nfc enable/disable
Bug: 72080121
Change-Id: I03b6387afc35a521c8a6f9fea1ec2e649d56a38f
2019-03-13 23:07:22 +01:00
Bruno Martins
49d355ea31 polaris: Align NFC configs with upstream
* Match all the changes up to LA.UM.7.3.r1-06900-sdm845.0

Change-Id: I9d1ace9fdc102e6cc7f9fee9cd0a10be027dd90e
2019-03-13 23:07:17 +01:00
Bruno Martins
3a9f657e4d polaris: Import stock NFC configs
* Configs taken from MIUI 9.3.7 global dev build

Change-Id: Icffc0b6b5450d48d3d86d0cb6a45d0155a977867
2019-03-13 23:05:46 +01:00
1nfrag
c26e3ae038 polaris: Import and bind mount stock manifest
* Stock vendor manifest from MIUI 8.9.20

Change-Id: Ie073fd4d71180f7e9c0b05b78018cb03fbf1ccb5
2018-10-02 20:42:54 +02:00
Bruno Martins
cd70d7844e polaris: Switch to NQ NFC stack
* So that it matches prebuilt vendor. On a sidenote, this was
   moved from the common tree to the individual device trees,
   because not all the targets support NFC.

Change-Id: Ic600594bc073ef3883225fb01039b1953a880807
2018-10-02 10:48:08 +01:00
Bruno Martins
ba0291908f polaris: Drop all device-specific treble hacks
* Android 9 (P) is now available as public beta, meaning that all the hacks
   for running 8.1 with 8.0 blobs can now be dropped.

Change-Id: I68595dd790dec51fb45ccd1d3fb907be81f3b896
2018-09-30 09:07:03 +01:00
Pierre-Hugues Husson
9355330e38 polaris: Override vendor's usb_audio_policy_configuration
Android 8.1 added the support for new type of USB Audio devices
(USB_HEADSET, instead of old USB_DEVICE)
Some older USB devices got converted to this USB_HEADSET while still
using the old protocol.
There is no driver change needed, but the audio policy needs to be
changed.
Since vendors are simply using AOSP usb_audio_policy_configuration
Override it by ourself.

Change-Id: I5c43cd7c95f721914cf94f4dc20c992b4f6a24e9
2018-08-06 18:48:56 +02:00
Bruno Martins
c29e46cef9 polaris: Ship KPTI patched time daemon
* To go along with rebased kernel without having to revert
   KASLR commits.

Change-Id: If62275b5ac3d42d51edee7fe919d3b0aeb8ccd19
2018-08-04 12:08:26 +02:00
Bruno Martins
4930ecbe48 polaris: Override framework compatibility matrix
* Declare support for 26.0 sepolicy version to allow booting
   with prebuilt O-MR0 vendor images.

Change-Id: I446cd051a6c1ecc04fe8202150ed1f81cb8482c0
2018-07-31 18:08:50 +02:00
Bruno Martins
50b90896eb polaris: Add stock system props
Change-Id: I15fa54396856af6d41a6f8d94998d47c65054fe3
2018-07-16 23:53:48 +01:00