168 Commits

Author SHA1 Message Date
Yumi Yukimura
61b1deac27 scorpio: Move ELF files to PRODUCT_PACKAGES without checkelf
Signed-off-by: Onelots <onelots@onelots.fr>
2025-12-04 18:06:50 +01:00
Bruno Martins
c18143dea9 scorpio: Switch to common Touch AIDL from hardware/xiaomi
Change-Id: Ic9512ce8391887dba23df769d3c3896d1a7051a3
2025-12-04 18:06:50 +01:00
Hridaya Prajapati
6551b7f80e scorpio: Switch to common AIDL IR service
Change-Id: I36c05aaa312969e479896c6e63a26a68cf897afa
2025-12-04 18:06:50 +01:00
0cd482c7b8 scorpio: Initialize Evolution X
Signed-off-by: Onelots <onelots@onelots.fr>
2025-12-04 18:06:50 +01:00
d3d2b1ccc6 scorpio: uses pico gapps for now
* I noticed this device only gets a few GB for system... let's ensure a peaceful build

Signed-off-by: Onelots <onelots@onelots.fr>
2025-12-04 18:06:50 +01:00
LuK1337
e466476dd5 scorpio: Move NFC firmware to lib64
openat(AT_FDCWD, "/vendor/lib64/libpn548ad_fw.so", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)

Change-Id: I5dd1cf4404580114aac1f83f722c4fd53b39257b
2025-12-04 18:06:50 +01:00
0c73dc5480 scorpio: Move all properties to vendor.prop
Co-authored-by: Bruno Martins <bgcngm@gmail.com>
Signed-off-by: Onelots <onelots@onelots.fr>
2025-12-04 18:06:50 +01:00
Michael Bestas
6622658bbe scorpio: Remove unused Android.mk
Signed-off-by: Onelots <onelots@onelots.fr>
2025-12-04 18:06:42 +01:00
LuK1337
04294fce2f scorpio: Adjust override prop key names
Signed-off-by: Onelots <onelots@onelots.fr>
2025-03-08 02:28:36 +01:00
Bruno Martins
a795ad21a0 scorpio: Migrate to AIDL IR HAL
Signed-off-by: Onelots <onelots@onelots.fr>
2025-03-08 02:26:08 +01:00
Bruno Martins
8daa1025d9 scorpio: Build legacy vibrator aidl HAL
Change-Id: I2d6f2078e6edae203559ba57f82042b48917b418
2024-08-24 09:56:20 +01:00
Michael Bestas
8fdfcbad2f scorpio: 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-05-20 01:45:16 +03:00
Bruno Martins
e181fd6279 scorpio: Migrate to XiaomiParts
Change-Id: Ib22f0718441d9eb70b00a49e93864e194d7e919c
2024-04-14 19:15:12 +01:00
Bruno Martins
b17060bceb scorpio: overlay-lineage: Update KeyHandler path again
ConfigPanel has been moved to /system_ext.

Change-Id: Ia707b1581be183391ccb65b7430b55bde125ab19
2024-04-14 19:12:57 +01:00
Bruno Martins
756cb6a5c2 scorpio: 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-11-14 14:19:47 +00:00
Bruno Martins
021dba1275 scorpio: Add board requirements
Signed-off-by: Onelots <onelots@onelots.fr>
2025-03-08 02:09:37 +01:00
LuK1337
5f08150704 scorpio: overlay: Disable 4k30 for Aperture
Change-Id: I641bff5e0f8a06309486cce6302fe429a788ed5c
2023-10-28 11:25:50 +02:00
Bruno Martins
12fbac6046 scorpio: Correct model branding
It should be Mi as seen in https://www.mi.com/global/list/
for the "newer" models.

Signed-off-by: Onelots <onelots@onelots.fr>
2025-03-08 02:07:50 +01:00
Sal Savage
3f7a546d2d scorpio: Replace BTM_DEF_LOCAL_NAME with a sysprop
Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53
2022-04-15 15:38:17 -07:00
Bruno Martins
bde46d8830 scorpio: 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:32:45 +01:00
Bruno Martins
506342abb1 scorpio: overlay: Update deprecated screen power items
* screen.on -> screen.on.display0
* screen.full -> screen.full.display0

AOSP frameworks/base: 8ac63071a4e6da7e0740f5eb6c6753218efcfd3a

Signed-off-by: Onelots <onelots@onelots.fr>
2025-03-07 23:40:16 +01:00
Alexander Koskovich
3ccaf432b1 scorpio: Set USB product string to 'Xiaomi MI Note 2'
Change-Id: Idda062aaa38e16d7ba65356dbca8b467fbff14c1
2022-03-02 13:41:26 -07:00
Bruno Martins
2877603ea4 scorpio: Include target config fragment
Change-Id: I994b7cefa73c3b06082abb69aa275a41e8845149
2022-07-04 23:44:14 +01:00
Alessandro Astone
bfcfed1090 scorpio: Define a soong namespace
Change-Id: Ida759ee1786c667e766da29103f0ecb54950c104
2020-10-29 08:40:54 +01:00
David Su
2c6b7b7408 scorpio: 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
2020-07-29 12:54:00 -07:00
Glen Kuhne
291a6faa7d scorpio: 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
2017-04-07 14:54:17 -07:00
Bruno Martins
134e55d2c7 scorpio: Set a default Settings.Global.DEVICE_NAME
Signed-off-by: Onelots <onelots@onelots.fr>
2025-03-07 22:55:42 +01:00
Bruno Martins
7db812ab0c scorpio: overlay: Set physical power button and fps location
Change-Id: Ifa079488db642c8a470e40cb585c08e9c85d7cf4

Signed-off-by: Onelots <onelots@onelots.fr>
2025-03-07 22:50:47 +01:00
Bruno Martins
be80cf97c7 scorpio: overlay-lineage: Indicate that device has front facing fps
On Gemini, the config has changed, migrate to the new one.
But on scorpio, this wasn't even defined, so we define it now.

Change-Id: I59d2656df3abe4ea518c2097ac1bfe85b6bfcfef

Signed-off-by: Onelots <onelots@onelots.fr>
2025-03-07 22:43:35 +01:00
Bruno Martins
1d4cd1013d scorpio: Move sensor configs to vendor
Change-Id: If5b9170ad745d9782ab71fcdc70148f670d12142

Signed-off-by: Onelots <onelots@onelots.fr>
2025-03-07 22:34:35 +01:00
Bruno Martins
95c0065451 scorpio: Prepend "system/" before paths where necessary
Change-Id: I81c3aac833aa796abd2ffe0923b0b985b005b3bf

Signed-off-by: Onelots <onelots@onelots.fr>
2025-03-07 22:33:38 +01:00
Bruno Martins
de2434fb8e scorpio: Move camera configs to vendor
Goes along with common device tree change that patches
libmmcamera2_sensor_modules to load configs from vendor.

Change-Id: I646cdcb5b25687962a7f6da464f528a25c710ae0

Signed-off-by: Onelots <onelots@onelots.fr>
2025-03-07 22:40:19 +01:00
Bruno Martins
07625c7c61 scorpio: Sort blobs list
Signed-off-by: Onelots <onelots@onelots.fr>
2025-03-07 22:40:16 +01:00
LuK1337
4b0743d57e Revert "scorpio: Notify client when fp cancelling succeeded"
No longer supported FWB side.

This reverts commit a3886078f7debe3860aab9d0391ee13c190720eb.

Change-Id: I0086690b9d83355f42ed276d681a136f7f0ce132
2021-04-03 15:43:32 +02:00
Bruno Martins
22c868a72c scorpio: Declare all supported touch HAL interfaces
No longer possible use VINTF fragments because not
all devices support both interfaces.

Change-Id: Idf3a1aa22ea22a5c7ca335c5bbe4fc93db07f1cd
2021-01-06 16:30:50 +00:00
Bruno Martins
46e6c551ae scorpio: Remove inheritance of AOSP product makefiles
This is being moved to the common device tree.

Change-Id: Ie4c2e45e5c12d2b254f28854d00e137e8c28a349
2021-01-03 14:44:58 +00:00
Bruno Martins
60be5087b7 scorpio: Align with extraction-utils templates
Change-Id: Ifbf18f79a1d0f173cb5b83bdf0178db2a5f1373e
2020-12-31 17:24:51 +00:00
Bruno Martins
1f43939e1c scorpio: Remove IR HAL entry from the manifest
This is now a VINTF fragment as well.

Change-Id: I9478311f3f1aee887448896998c21146479164ab
2020-12-18 10:00:52 +00:00
Bruno Martins
f11a92b061 scorpio: Remove touch HAL entry from the manifest
This is now a VINTF fragment.

Change-Id: I6513a8718df7378661a4a26e2ea97379bf8da392
2020-12-18 09:28:33 +00:00
Bruno Martins
f8c852ca5f scorpio: overlay: Update KeyHandler path
Change-Id: Ib3edcd5b29bfe52c874957ab0d8a9a95c6c929e2
2020-12-18 09:24:24 +00:00
Bruno Martins
c1b6d728fa scorpio: overlay: Adapt to new button brightness config
Change-Id: Ief347416013440c05acbfbc4a389fbc479205298
2020-10-30 12:44:45 +01:00
LuK1337
3b6ba754e5 Revert "scorpio: Exclude lineage-sdk overlays from RRO"
This reverts commit e72581d760.

Change-Id: I12f150b13686f8b91bb63e4ee728eb4016856aa5
2020-10-29 18:26:25 +02:00
Bruno Martins
fc299379a4 scorpio: overlay-lineage: Update for moved biometrics hax overlays
Change-Id: I3fbd5f6d8e9a9e4437b0b109d2a0017cafcca1f0
2020-10-05 20:17:55 +01:00
Bruno Martins
07d0e6f1e6 scorpio: overlay-lineage: Update for moved button backlight overlay
Change-Id: If0d541a04075e2d1c6b378692f90b667ebbd0d20
2020-10-05 18:36:16 +01:00
LuK1337
eec581887e scorpio: Remove android.hardware.biometrics.fingerprint from vintf manifest
* Fixes conflict between /vendor/etc/vintf/manifest.xml and
  vintf fragment inside /vendor/etc/vintf/manifest.

Change-Id: I34c623cd09731f7fc93dcb298d604ade3a2c12d8
2020-09-28 21:40:11 +02:00
Anton Hansson
f91b2cb35a scorpio: Move libnfc-nci.conf to /product
Device-specific files belong off /system.

Bug: 117878616
Test: make
Change-Id: Iddad62c178c553e4d628deb4509ea54451b8ab4f
2020-04-12 18:27:05 +01:00
LuK1337
f1a405e4d7 scorpio: Stop overriding TARGET_DEVICE
Not only TARGET_DEVICE is no longer used for generating props
(as tools/buildinfo_common.sh is using PRODUCT_DEVICE instead),
but also there's no need to override PRODUCT_DEVICE because
it is already set to the desired value.

Change-Id: I16bd7b5bfaab5225478921f2b532c40a99eda972
2020-04-08 17:46:45 +01:00
Bruno Martins
750bb19d2a scorpio: Move to commonized IR HAL
The HAL has been moved to hardware/xiaomi and is no longer
used only for msm8996 targets.

Change-Id: I6948458421bf555282a090de2520988bea208851
2020-04-08 13:51:48 +01:00
Dan Pasanen
e72581d760 scorpio: Exclude lineage-sdk overlays from RRO
* lineage-sdk overlays don't work with RRO

Change-Id: Iff826faf1864388066a488acc9682636b98d1098
2019-11-12 11:26:31 +01:00
Dan Willemsen
51de283036 scorpio: Switch from add_lunch_combo to COMMON_LUNCH_CHOICES
Bug: 77599627
Test: lunch  [see entries in list]
Change-Id: Id44fcfec47eeb979a745f879031f1bec7359a633
2019-09-15 08:54:08 +01:00