144 Commits

Author SHA1 Message Date
8fb5484d09 polaris: Initialize Evolution X 2024-10-01 06:28:04 +07:00
althafvly
41752a7c93 polaris: overlay-lineage: Enable 1080p 60fps for front and back camera
- Sadly no 4k 60fps supported for polaris

Change-Id: I1f23cbe378b86dc96fc2943ff3035e0bf4f3bce9
2024-10-01 06:28:04 +07:00
Sebastiano Barezzi
41dbf85521 polaris: Add fstab entry for metadata partition 2024-10-01 06:28:04 +07: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
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
LuK1337
8192404f43 polaris: Make device name/product prop overrides work
Change-Id: I64d11103ddb8f9dce70b9bc110745d4aafd667dc
2022-03-12 18:12:51 +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
9e70b33f07 polaris: nfc: Tone down debugging
Change-Id: I1f0fa0fb4de456619df6cb28c99c6b53d524afba
2021-04-28 19:21:02 +02:00
Bruno Martins
80826dd582 polaris: nfc: Sync NXP config with PN80T template
This brings config up-to-date with NXP PN80T template from the
LA.UM.9.3.r1-01600-sdm845.0 tag.

As a big plus, it fixes contactless payments with Google Pay.

Change-Id: Ib54af323855a563af8aa2910f6b51981ffbcbbe5
2021-04-28 19:20:19 +02:00
Bruno Martins
18a78071aa polaris: Update blobs from V12.0.3.0.QDGMIXM global stable
Change-Id: I7b4eea3b4e29d82fd04ce93f464ed8015a8ce067
2021-04-21 00:19:05 +02:00
Bruno Martins
48caf744fc polaris: Move to common hotword enrollment blobs
Change-Id: I298385067bf7c2156e1c7e1315291b045cc794d6
2021-04-19 16:02:53 +01:00
Bruno Martins
b4ae8a798d polaris: Align with extraction-utils templates
Change-Id: Ifbf18f79a1d0f173cb5b83bdf0178db2a5f1373e
2020-12-31 17:33:03 +00:00
Bruno Martins
b46e3aaf8b polaris: Update to blobs from MIUI 12
Change-Id: I742076d5e5e1d51f5bbb1af34f2f9eb0f35f4bec
2020-12-14 16:38:13 +00:00
Olivier Karasangabo
2e29c08684 polaris: Drop QTI cacert service
Change-Id: I863fc03723bfb7ff63d516c78a88ccdb7d62b951
2020-12-11 16:27:23 +00:00
Tapas Dey
e0769dcf6b polaris: manifest: Update NqNfc and add NxpNfcLegacy HAL Interface version
Updated NqNfc HAL interface version.
Added entry for INxpNfcLegacy HAL interface.

Change-Id: Ic5527d98da62995f421f9e7f9fc2b00e6bbcd76e
2020-11-09 12:04:23 +00:00
Bruno Martins
e997757fd7 polaris: Update NQ NFC packages for R bringup
Change-Id: I618104845ad1ccd5cc265cdbc94c9118fcaa199e
2020-11-09 12:03:25 +00:00