150 Commits

Author SHA1 Message Date
Le Hong Duc
f1347aac79 perseus: Disable blur 2025-08-19 03:21:47 +02:00
Nick van Bokhorst
c7b2edc6f1 perseus: fstab: Add f2fs userdata entry
Change-Id: I1a977efa80340e032a700d76f5dc0f556b53a47c
Signed-off-by: Rve27 <rve27github@gmail.com>
2025-08-19 03:21:47 +02:00
Le Hong Duc
8df8644d68 perseus: Initialize Evolution X 2025-08-19 03:21:47 +02:00
althafvly
8eeede71bb perseus: 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:47 +02:00
Sebastiano Barezzi
c37d9fff91 perseus: Add fstab entry for metadata partition 2025-08-19 03:21:47 +02:00
Bruno Martins
fbef578231 perseus: Switch to AIDL LiveDisplay HAL
To be noted that it now includes VINTF fragments.

Change-Id: Ic20c950e243a0b6e50822034e17a7ef364f80d49
2025-08-16 10:53:50 +01:00
Bruno Martins
8791f6c9ff perseus: Set camera override format from reserved via soong config
Change-Id: I6a089e783f26c4515940d74f8e912dffa2789550
2025-05-14 08:26:57 +00:00
Andrey Sprynga
b9e8ba25ed Reapply "perseus: Set camera IDs remapping property and drop camera provider blobs"
Change-Id: I3b1e86b47164b9089a4e484f50dcad514153fecf
2025-04-24 20:07:41 +07:00
Cosmin Tanislav
a140373b2a perseus: Do not manually build dependencies
Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
2025-04-13 17:16:01 +01:00
Bruno Martins
b86b8c627e perseus: Setup ELF checks
Co-authored-by: LuK1337 <priv.luk@gmail.com>
Change-Id: Ida6d2d91ed0a722b9cfadd71b6221dac614c33ca
2025-04-13 17:15:33 +01:00
Bruno Martins
61d7384bfa perseus: Remove unused blobs
Change-Id: I47cd37a957b9868da1545130f0d63b93e6ae211a
2025-03-30 11:39:04 +01:00
ShevT
8dee78607d perseus: Switch to AIDL NXP NFC HAL
Change-Id: Iff03bd7fc522b45b9caebb12860c5c851356a9a1
2025-03-30 11:39:04 +01:00
Georg Veichtlbauer
aa8957c6b6 perseus: Remove unneeded NFC packages
* NfcNci and SecureElement are built by handheld_system.mk

Change-Id: I83f686b67778634b584a58d8bae95d237e6dbad1
2025-03-29 17:02:59 +00:00
Bruno Martins
d2d9ed6a59 perseus: Set fingerprint sensor type
Moving onto fingerprint AIDL HAL.

Change-Id: I77d039bf18bb59a888ca1078727f7f1bb083c20e
2025-02-11 14:32:46 +00:00
Gérard Parat
30e229f072 perseus: Switch to python extract-utils
Change-Id: I2e08e4c3dde64fcf9f7f9692d7f85dfe32c17249
2025-01-27 22:32:02 +00:00
Ivan Vecera
a5df398637 perseus: Set camera IDs remapping property and drop camera provider blobs
Recent change I13a3bd186e7fc48e797e3c6f9039a1dae1fb733f allows to
provide camera IDs remapping as expected by camera module, without
needing to use prebuilt camera provider.

Patch com.qti.chi.override.so to rename existing OEM defined exported
property from 'camera.xiaomi.remapid' to common
'vendor.camera.remapid' and drop camera provider blobs.

Change-Id: I674953d89ce6a066e9050b3395fc61ffdbec58c1
2025-01-06 17:50:40 +07:00
Michael Bestas
9db79923f9 perseus: Remove unused Android.mk
Change-Id: I98105c127066f7de7012a1895d19c96356105921
2024-12-22 17:23:05 +00:00
Bruno Martins
3149ee4b4e perseus: devicesettings: Migrate to blueprint
Change-Id: Ibd5e393ad368b8841c32b9916712b083367643be
2024-12-22 17:22:53 +00:00
Bruno Martins
da1497ec50 perseus: Convert gps.conf symlink to an install_symlink target
Change-Id: Ic62ad3d25de82b09574a85d0c4897232a9b36f12
2024-12-22 17:14:31 +00:00
Bruno Martins
76dff07780 perseus: Rename rootdir to init and migrate to blueprints
Change-Id: I6a1e20817445ce0f25bb04fbf91d4883effcec4a
2024-12-22 15:24:33 +00:00
LuK1337
d6f167f206 perseus: Adjust override prop key names
Change-Id: I436bbf425023dbe54cf3e2c35f50a5575511bc38
2024-11-24 18:22:34 +00:00
Andrey Sprynga
c177931f9f perseus: Update super partition size for dynamic partitions
Change-Id: I74d93e0d6a5d3396345e5c0a3315ce7822924877
2024-09-29 08:18:42 +00:00
Bruno Martins
1e87520da1 perseus: Drop custom fastboot-info
This partially reverts commit 8d87308cc9.

Change-Id: I03f8a1766cec3582f1873b6d82bf33bc75bfb7f1
2024-09-29 07:18:32 +00:00
Bruno Martins
3286351ab8 perseus: 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 21:48:24 +07:00
Michael Bestas
749d571792 perseus: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-09-28 10:36:27 +01:00
Alexander Koskovich
6bec000507 perseus: rro_overlays: Drop explicit 'sdk_version' declaration
* We don't need to manually set this anymore.

Change-Id: I1239ba541636e53f8ea4373d3815024f2cd60824
2024-06-29 00:42:30 +07:00
Michael Bestas
df8098a8cd perseus: 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:37:52 +01:00
Bruno Martins
5c746fb8bb perseus: Drop INxpNfc from device manifest
Change-Id: I71e3c39987eadddaf396dfcef3cc7f8b2c3051cc
2024-06-17 19:10:52 +00:00
Tim Zimmermann
8fe9dc1c93 perseus: Inherit non_ab_device.mk
* This is required to build applypatch for updating recovery

Change-Id: I38053691f7724b5d6c30159c410d5d04ac136180
2024-06-04 03:20:41 +07:00
c51bf4c07a perseus: Enable auxiliary cameras
Change-Id: I04b0b6c402d59d4463718b06dfb74f531c268a0b
2024-04-06 15:25:06 +01:00
LuK1337
43baa424b6 Revert "perseus: overlay: Increase status_bar_padding_start"
This reverts commit ef6f5a0bf2.

Change-Id: Ib382c070041c6e25d0e0ef526a6e7d964839b1e2
2024-03-31 02:05:16 +00:00
LuK1337
8d87308cc9 perseus: Override fastboot-info.txt
Change-Id: I1b293436b23eb8dfbc3a60759fee97cc73ba852d
2024-03-21 14:15:19 +00:00
Arian
9911f80f0a perseus: Build fingerprint extension interfaces from source
Change-Id: I08db4948ec1d4b3df5f0c57f87c00575ab3fe778
2024-02-20 17:14:13 +00:00
Bruno Martins
bc240063f8 perseus: 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:15:57 +00:00
Bruno Martins
b3b0815193 perseus: Add board requirements
Change-Id: I1ebbf17cf6a1d8cc4da5adee573b441de4dbba19
2023-12-24 17:15:08 +00:00
LuK1337
ef6f5a0bf2 perseus: overlay: Increase status_bar_padding_start
This makes it match ongoing_appops_dot_min_padding.

Change-Id: I64a01e8d3766b97fd416bba1e26ba8b5d4159a42
2023-11-14 10:32:58 +00:00
Andrey Sprynga
4588a0fdb6 perseus: Use prebuilt camera HIDL
This enables support for all (4) cameras.

Signed-off-by: Andrey Sprynga <rtx4d@aospa.co>
Change-Id: I185a2bb7122a38aa8e2e2f066ec866f8023b2dc5
2022-11-25 18:51:57 +01:00
ReallySnow
cc250c6f68 perseus: Set correct system partition size
* perseus system partition size is 3.5G not 3.0G

Change-Id: If57a70268dcdb9023c6a86edce0f7e6d8bc2321f
2022-11-20 19:37:50 +01:00
Bruno Martins
09c5717f70 perseus: 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:33:44 +00:00
Andrey Sprynga
713e135579 perseus: Include DTBO for recovery
Fixes LineageOS recovery

Signed-off-by: Andrey Sprynga <rtx4d@aospa.co>
Change-Id: I819d6c225941aac06606096b9fb02806783148ac
2022-11-17 01:07:39 +07:00
Sebastiano Barezzi
62e3ab3c23 perseus: Go away Megvii
* Nuke Megvii proprietary files and build stub ones from hardware/xiaomi

Change-Id: I53f8f0897b25517741a06c5962c02fe8fda61072
2022-11-15 16:41:45 +01:00
Dan Willemsen
c7931108f4 perseus: Mark as having overridden commands
To allow turning these into errors on other devices, and incrementally
fix these issue, set BUILD_BROKEN_DUP_RULES.

Bug: 77611511
Test: check out/soong.log
Change-Id: I3b8f29f0f9e2ad445e72c65e7688b109817dcff3
2022-11-15 15:24:10 +00:00
Alexander Koskovich
568b926239 perseus: Set USB product string to 'Xiaomi Mi MIX 3'
Change-Id: Idda062aaa38e16d7ba65356dbca8b467fbff14c1
2022-10-26 11:36:37 +01:00
Alessandro Astone
bacb95d858 perseus: Define a soong namespace
Change-Id: Ida759ee1786c667e766da29103f0ecb54950c104
2022-10-26 11:36:09 +01:00
David Su
0feb4e46e8 perseus: 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:35:53 +01:00
Glen Kuhne
14216f6af4 perseus: 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:35:37 +01:00
LuK1337
213d867107 perseus: Set a default Settings.Global.DEVICE_NAME
Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2022-10-26 11:34:25 +01:00
Sal Savage
6686967962 perseus: Replace BTM_DEF_LOCAL_NAME with a sysprop
Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53
2022-09-19 12:54:35 +01:00
Bruno Martins
c473841d06 perseus: 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:40:32 +01:00
Christian Hohnstaedt
42949789ca perseus: nfc: Re-enable extended length support
Required to make e.g. AusweisApp2 work again.
Issue had been introduced by commit c3c09e41b7.

Change-Id: Ibb3e92607c7f34d0e5a8d80eedff45f155dd4988
2022-09-07 10:15:46 +01:00