75 Commits

Author SHA1 Message Date
Michael Bestas
81050eec63 pstar: Import hardware/motorola namespace in vendor
Change-Id: I29608666ccd678f8bb6c42ce0974097b9cac224b
2025-03-11 00:15:36 -04:00
Sebastiano Barezzi
83bcd05cd5 pstar: Drop proto sensors configs
Change-Id: Ie8377977931f18f0f7f3082c1c4e87a53111c593
2025-02-23 20:26:58 -05:00
Nolen Johnson
c7a5e79be2 pstar: Kill useless Android.mk
Change-Id: I4d8679b769eeb74c91b9fe933910135283fee479
2025-02-19 06:46:42 +00:00
Nolen Johnson
6c925b4640 pstar: Mark setup-makefiles as executalbe
Change-Id: Ice1bcfcf12951e939b92998aad5cf7f41881ed36
2024-12-17 00:00:06 -05:00
Nolen Johnson
6c19cdbc8a pstar: ruff check --fix
Change-Id: I47b85e4fcbc0c5b93d4d2d4bbfeeaa4d0e54ea35
2024-11-26 23:18:28 -05:00
Nolen Johnson
69e396f80d pstar: Don't remove libqti-perfd-client
* Just unecessary.

Change-Id: I3d11a649029e562821e268982b47c2d9e4d7e685
2024-11-10 17:11:20 -05:00
LuK1337
eea0b1dac4 pstar: Switch to py extract utils
Change-Id: I5618bf10c107df579a540e2393b222128961e670
2024-11-10 11:50:25 -05:00
LuK1337
186bb2cdcf pstar: Adjust override prop key names
Change-Id: I436bbf425023dbe54cf3e2c35f50a5575511bc38
2024-10-23 12:05:06 -04:00
dianlujitao
a9e7849ef6 pstar: move product inheritance to common
Change-Id: I3e3671d47c268d4cbb82ad44fb737ccccbb41455
2024-09-08 23:11:53 +08:00
Michael Bestas
f8770df0f2 pstar: Sync extract scripts with templates
Change-Id: I98a36854c5a0c0390592911bb2558b34eff77efc
2024-09-05 01:07:06 -04:00
dianlujitao
eb8468e1be pstar: remove unused TARGET_TAP_TO_WAKE_NODE
Change-Id: Ibe80169408e3716ee6eb2cddf1c1b70ae6457c2e
2024-07-07 19:40:11 +08:00
dianlujitao
b0554a590c pstar: fix speaker-dmic-endfire mixer path
nio has three mics:
  - bottom: ADC0
  - top: ADC1
  - back: ADC2

`speaker-dmic-endfire` is a dual-mic usecase, but currently configured
to enable ADC1 (top) only, which is inconsistent with the topology
defined in ACDB, so no audio frame will be captured.

This patch replaces the usecase with `camcorder-mic-bf`, which is
properly defined for dual-mic. ADC1 is the left channel and ADC0 is the
right channel.

Change-Id: Ib7a843ab69dc7dea8c3c7906cea34c50349d5cdb
2024-07-01 16:01:03 -04:00
dianlujitao
b988689594 pstar: Sync extract utils with template
Change-Id: Ia49be31d4f9e3c9024a4b48a56a07b20c46cb795
2024-01-09 13:42:41 +08:00
dianlujitao
0d319d6e35 pstar: Remove duplicated firmware
Change-Id: I80e7415385ad9ad608d975689d0cfda5eebe5dbb
2024-01-09 13:42:41 +08:00
dianlujitao
932c911d90 pstar: Move ramdisk firmware to vendor_ramdisk
Change-Id: I159e7937d11418b726b9775276ff2c2e52b35608
2024-01-09 13:42:41 +08:00
LuK1337
a37ff7324b pstar: Replace AndroidBoard.mk modules copy with BOOT_KERNEL_MODULES
Hacky copy rules were prone to fail because of some kind of race
condition.

Change-Id: I30d50a9dd87de9d57a583968f9936b84ac16cfca
2024-01-03 10:53:04 +08:00
dianlujitao
21d9724b50 pstar: Use MMI touchscreen class to toggle st2w/dt2w
Change-Id: I4fced0e5574d147ac85c7dfe63036ab335fcf9e3
2024-01-03 10:53:04 +08:00
dianlujitao
7b2e376239 pstar: Use kernel config fragments
Change-Id: Ieb24418a9257f6a8c15e5070dbf2a4e240d33387
2024-01-03 10:53:04 +08:00
dianlujitao
f1e79a3619 pstar: Fix overriding ro.product.*.name
Change-Id: I7326654087050683d334c39160ae435012b89d77
2024-01-03 10:53:04 +08:00
dianlujitao
aa94ca920f pstar: Correct build description and fingerprint
Change-Id: I819aac65e0286dee9db3baa00570c47c885a3741
2024-01-03 10:53:04 +08:00
dianlujitao
043b0d8c6c pstar: Extract blobs from T1RAA33.39-11-11
Change-Id: I9f887f1b64ebe8ccc0f447302c60314af4543e9f
2024-01-03 10:53:04 +08:00
dianlujitao
11743cb310 pstar: Decommonize fpc HAL
Change-Id: Ic0dcaa169a83c09e27bd2384dab3fa9d90d8ebb1
2024-01-03 10:53:04 +08:00
dianlujitao
f6b790ff49 pstar: Invoke blob_fixup_common in blob_fixup
Change-Id: I3a5591756d40bed88b048a77d4da3a2e409be8f8
2024-01-03 10:53:04 +08:00
dianlujitao
e4b4f9b3e6 Revert "pstar: path postproc lib in device tree too"
This reverts commit 43b7b2dc95.

Change-Id: I6a76a4a3f72dd495ae64990a892246ffa2a0cf3c
2024-01-03 10:53:04 +08:00
Bruno Martins
c8d53aa3ba pstar: overlay: Remove obsolete config_keyboardTapVibePattern
Change-Id: Ic89566183d2cdc4a20ea83f462c56a14184621ae
2023-12-18 23:22:38 -05:00
SGCMarkus
43b7b2dc95 pstar: path postproc lib in device tree too
depending on if you call extract utils with --only-common/target
or not, it might or might not patch the file.

Change-Id: I26efe155aa764915c41db2d04518de340b795b73
2023-12-18 23:04:43 -05:00
SGCMarkus
81416defc3 pstar: update to T1RA33.55-15-16-5
also keep non-nio blobs pstar specific

Change-Id: I32cf6f9a6e9d16a5c0ec00345cd36770b596e727
2023-12-18 23:04:36 -05:00
sb6596
f116adcbcd pstar: Add libgui_shim for libmot_chi_desktop_helper
* Even tho libmot_chi_desktop_helper has a dependency of libgui_vendor,
  it seems to be not loading and throws missing symbol `_ZN7android7SurfaceC1ERKNS_2spINS_22IGraphicBufferProducerEEEb`

Change-Id: I10e6774467cf6bb933a63fa0455307ecdf65163f
Signed-off-by: sb6596 <shubhamprince111@gmail.com>
2023-12-18 23:02:19 -05:00
SGCMarkus
03261188b6 pstar: decommonize vendor security patch level
Change-Id: Ia3dd980291fa2cdbb20ab62523a2d5380444b532
2023-12-18 23:02:14 -05:00
Nolen Johnson
6067d48feb pstar: sort-blobs-list
Change-Id: I7bcb7fed6c3ed975ea3645518939e8f97b557387
2023-11-28 12:21:45 -05:00
SGCMarkus
a10f066dab pstar: overlay: reduce rounded corner radius
Even though stock also uses 90px, this does not match
our panel. In light mode one can see bright areas in
the corner of the screen due to the missmatched rounded
corner radius.

Change-Id: I22e3f78273c08297ef9a2ce8595ac3eb74bbe724
2023-07-26 17:30:35 +02:00
dianlujitao
6c86c0fe7a pstar: Removed media profile entries unsupported by AOSP
Change-Id: I5295cf16da25be8119587a11d55a59735eed54dd
2023-07-24 18:38:03 +08:00
Keith Mok
ee9c2f03fc pstar: media_profiles: cleanup for M
M does not parse VideoEditorCap and ExportVideoProfile.
It is an extension outside aosp.
Even in cm12.1, we don't have a class VideoEditorProfile to
export a function to application to get those parameters.

Change-Id: I6848e8b23c668467eca10e7b63f79f7e03e71f28
2023-07-24 18:37:51 +08:00
dianlujitao
712efbff79 pstar: Import media_profiles_vendor from LA.UM.9.12.r1-15500-SMxx50.QSSI13.0
Change-Id: Ic46656e5cecb9cd9f84e8afbe4737d6cc6b0d657
2023-07-24 18:37:38 +08:00
SGCMarkus
a8a8dfbad7 pstar: error if we try to build without vendor
Change-Id: I432fd241fb0f1bb9395ccce439080b0ad2ef67f7
2023-07-03 16:55:18 +02:00
electimon
22ccdd1346 pstar: Import goodix fp service
Change-Id: I04769f3232df85ef04e3f0966800ec7148cfb57f
Signed-off-by: electimon <electimon@gmail.com>
(cherry picked from commit d5104c2af383ae048a488eeaa9418991c02ac38b)
2023-06-22 17:18:49 +02:00
Nolen Johnson
2286f3f21b pstar: Pin slightly older Camera HAL
* New one breaks on retcn!

Change-Id: Ibd536683f2ba0b06a0b2da7abc4dd3c726ed3a6e
2023-06-21 12:22:51 -04:00
Nolen Johnson
08e4d85630 pstar: Fix overlay inclusion
Change-Id: Ife730ca6abe7f7db92658c8867a5d9384a34b0b8
2023-06-12 23:53:17 -04:00
Nolen Johnson
486d9028de pstar: Extract from pstar-user 12 S1RAS32.41-20-16-11 2d77a8 release-keys
Change-Id: I37e3063f4f7b8fb2749dd5c1ddc2ecd540bd20f8
2023-06-09 01:18:36 +02:00
Georg Veichtlbauer
883348b9c3 pstar: Move Bluetooth power config away from overlay
Same values go to:
- power profile xml for power calculation
- vendor props for the A13 BT stack

Change-Id: I04dbb8736a599c4798223f7e3e317b2fcc873ded
2023-06-07 18:32:48 +02:00
LuK1337
86ff9e0c0e pstar: Set a default Settings.Global.DEVICE_NAME
Change-Id: I310c1ffc581b72653783d1093d9e7ebde544bb16
2023-06-07 18:32:44 +02:00
Sal Savage
010de7efb2 pstar: Replace BTM_DEF_LOCAL_NAME with a sysprop
Change-Id: I2c90efac01e61500eb1be23bb0ae6f96c2acdc53
2023-06-07 12:01:53 -04:00
dianlujitao
e85efef087 pstar: Update audio_platform_info.xml from CAF
Change-Id: Ia17a17cd637892fbc49249d03bd4eb4f727d2282
2022-10-01 10:48:30 +02:00
dianlujitao
dec8e33552 pstar: Add missing mixer paths
Change-Id: I99ab16e599682d913dbb2acff7b3e8386c39b384
2022-10-01 10:48:30 +02:00
Revathi Uddaraju
5cb1b7ecb3 pstar: add support for voip record low latency path
Add target specific changes to support voip using low latency record path.

[dianlujitao: WSA_CDC_DMA_RX_0 -> TERT_MI2S_RX for nio]

Change-Id: I459041bd11e868000c37565b8eb098ad514c37cb
2022-10-01 10:48:30 +02:00
Jaideep Sharma
58d1e4f623 pstar: provide support for callscreening for kona/lito.
add support for callscreening support in audio_policy_configuration
- add mixer paths related to proxy ports needed in call_screening

Change-Id: Ib0c220fa44c23454e71e772bfa406bd82c06b90d
2022-10-01 10:48:29 +02:00
Aniket Kumar Lata
165d36c837 pstar: Add hearing aid configs
Add hearing aid configs in HAL.

Change-Id: I8e31ce787e55aef8a1927e4304aad78d6c6cf207
2022-10-01 10:48:29 +02:00
Zhou Song
6baf10b92c pstar: configs: remove mixer "BT SampleRate"
BT SCO sample rate will be set from hal code instead of xml.

Change-Id: I94965a4618abc3f8686dd32dc4a10eaac27199dc
2022-10-01 10:48:29 +02:00
dianlujitao
1806ee2c87 pstar: Match style of mixer_paths.xml with CAF
Change-Id: I08738fdfb136a99a60b9853d5a5cb7b6929719b0
2022-10-01 10:48:28 +02:00
electimon
2a5aee3f5d pstar: Adjust FPS size/location and display ID
Co-authored-by: SGCMarkus <markusornik@gmail.com>
Signed-off-by: electimon <electimon@gmail.com>
Change-Id: Ia628f919d3d30b52e984a7a732858f8bcef76c4c
2022-10-01 10:45:42 +02:00