Commit graph

378 commits

Author SHA1 Message Date
Alcatraz323
181b732c3e sdm660-common: proprietary: update GPS blobs and gps configs
* from Honeywell/hon660/hon660:12/94.00.03/0037:user/release-keys (REAL LA.UM.10.2.1.r1-03400-sdm660.0)
* add xiaomi conf change from miui
* vendor.qti.gnss@4.0-service.xml is from s62pro actually, but as it's just a simple HIDL declaration, no need for declare a dedicated section for it(for Hon 660, gnss HIDL interface declared in vendor/odm/etc/vintf/manifest*.xml - determined by first api level and keymaster version)
* uncomment SUPL_ES=1 since it is default 0(staging/gps/core/ContextBase.cpp#132), comment it out won't enable emergency SUPL
* remove vendor.qti.hardware.cacert in manifest, since it's useless and will be declared as optional in FCM
* gps config changed as below

- gps.conf
NTP_SERVER_2=asia.pool.ntp.org
NTP_SERVER_3=0.cn.pool.ntp.org

LPP_PROFILE=3
A_GLONASS_POS_PROTOCOL_SELECT=0xf

XTRA_TEST_ENABLED = 1
XTRA_THROTTLE_ENABLED = 0
XTRA_SYSTEM_TIME_INJECT = 1
XTRA_SOCK_KEEPALIVE=1

Co-authored-by: 1582130940 <1582130940@qq.com>
Co-authored-by: Arian <arian.kulmer@web.de>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
Alcatraz323
5e4faf510c sdm660-common: proprietary: update CNE, DPM, IMS, QMI, RIL blobs
* LA.QSSI.13.0.r1-09700-qssi.0
* Honeywell/hon660/hon660:12/94.00.03/0037:user/release-keys
* sync Hidl manifest version with Hon660 and S62 Pro
* build hostapd_cli(though Android GUI interface does not need this to manage the ap client, we may want to control them from the shell, maybe)
* remove rmt_storage, tftp_server from rootdir script, they are self contained now
* the vendor.qti.tftp.rc is patched with 782ab1966f
* fix cnd denial

Co-authored-by: 1582130940 <1582130940@qq.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
Alcatraz323
051f362d64 sdm660-common: proprietary: update Graphics blobs
* most from Honeywell/hon660/hon660:12/94.00.03/0037:user/release-keys (REAL LA.UM.10.2.1.r1-03400-sdm660.0)
* postprocessing_system from LA.QSSI.13.0.r1-09700-qssi.0
* correct vulkan version indicator according to https://git.codelinaro.org/clo/la/device/qcom/common/-/blob/LA.UM.11.2.1.r1-03900-sdm660.0/base.mk#L70 and Hon660's configuration: Level -> 0, Version -> 1.1

Co-authored-by: 1582130940 <1582130940@qq.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
Mohammad Hasan Keramat J
501c3df6bf sdm660-common: Update display blobs from Cat S62Pro sdm660_64-user 11 RKQ1.210406.002 1.015.00
Signed-off-by: Mohammad Hasan Keramat J <ikeramat@protonmail.com>
Change-Id: I39b4e5b38e93dbf09100a333b08dd40e753b7a85
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
pix106
63f6353ff5 Revert "sdm660-common: Update GPS blobs from LA.UM.10.2.1.r1-03400-sdm660.0"
This reverts commit d13f5cdbc9.
2023-08-22 08:44:53 +02:00
pix106
c7a443748a Revert "sdm660-common: add prebuilt tinyxml from LA.UM.10.2.1.r1-03400-sdm660.0"
This reverts commit 5030ac1886.
2023-08-22 08:44:53 +02:00
pix106
c71ed17d00 Revert "sdm660-common: build vendor.qti.hardware.capabilityconfigstore@1.0"
This reverts commit 77c3dd3e8e.
2023-08-22 08:44:53 +02:00
pix106
55a578e3ab FIX sdm660-common: media: Add and publish Codec2 HAL service 2023-08-22 08:44:53 +02:00
pix106
6330969a6f sdm660-common: cleanup device mk 2023-08-22 08:44:53 +02:00
Immanuel Raj
f87436f1fe sdm660-common: Remove Sysui from dexopt apps
Already done in vendor/aosp

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
Jake Weinstein
7247144d42 sdm660-common: Use speed tuning for performance critical applications
The default ART setting is quicken: run DEX code verification and
optimize some DEX instructions to get better interpreter performance.

This commit switches performance critical applications to speed:
run DEX code verification and AOT-compile all methods.

PRODUCT_DEXPREOPT_SPEED_APPS (New in Android O)
List of applications that have been identified as core to the products
and which are desirable to compile with the speed compiler filter.  For
example, persistent apps such as SystemUI get a chance to use
profile-guided compilation only at the next reboot, so it may be better
for the product to have these apps always AOT-compiled.

Change-Id: Ib2dc9a55dfb332ba3fb84a13544d564a63f37ad2
Signed-off-by: Immanuel Raj <iamimmanuelraj@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
pix106
57e5ed1287 Revert "sdm660-common: Add speed preopt for Launcher/Settings"
This reverts commit 95c6dc1c4c.
2023-08-22 08:44:53 +02:00
Alcatraz323
f7cd303bdd sdm660-common: disable hardware soundtrigger interface
* ok google doesn't support hardware interface for sdm660, let ok google use software implementation

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-06-24 08:46:34 +02:00
Alcatraz323
9f5dcf90da sdm660-common: correct excluded-input-devices.xml location
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-06-24 08:40:47 +02:00
pix106
0beb2c56eb sdm660-common: build Aperture camera 2023-06-24 08:20:03 +02:00
clarencelol
05447bf3cc sdm660-common: Update thermal blobs from laurel_sprout
* Seems to work just fine with 4.19 version of jaswayne
* Nuked mi_thermald

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-06-24 08:20:03 +02:00
Sebastiano Barezzi
20c097ecbf sdm660-common: device: Build mtdservice interface lib from source
Change-Id: Ie739f283c4be1b77d57aaee1941ed46957da1d1a
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-06-24 08:20:03 +02:00
Bruno Martins
15b9429711 sdm660-common: Switch to source-built mlipay interface
Change-Id: I7daaaffd9fe7a870e42c1d882b52dc93b3231120
Signed-off-by: Mohammad Hasan Keramat J <ikeramat@protonmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-06-24 08:20:03 +02:00
Sebastiano Barezzi
ca6acca018 sdm660-common: Move to common IFAAService
Change-Id: I71bfdacc4626d75d56aa12ec384f0f116d6d6ff2
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-06-24 08:20:03 +02:00
Sabar
20fa9c5207 Revert "sdm660-common: drop IFAA/mliplay completely"
This reverts commit dd6db97ea5.

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-06-24 08:20:03 +02:00
pix106
63d19fc065 Revert "sdm660-common: Flatten APEXes if updatable APEX is not present"
This reverts commit 256827eaf3.
2023-06-24 08:20:03 +02:00
pix106
6b67acf49c Revert "sdm660-common: vndk: Enable runtime isolation"
Other changes were already dropped, this was a leftover

This reverts commit ca9897e1f6.
2023-05-18 19:44:34 +02:00
Alin Jerpelea
0624be886a sdm660-common: configs: Add qmi_fw.conf
This file will silence the warnings on qmi

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Change-Id: I7d7ec0da00a33a0da8f189b0181d40919b9918e5
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-09 06:36:23 +02:00
Volodymyr Zhdanov
b9a2b9d013 sdm660-common: Disable configstore usage
* it's finally deprecated in R
* ship disable_configstore because we have API level less than 29

Signed-off-by: Immanuel Raj <iamimmanuelraj@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-05-01 20:35:06 +02:00
Alcatraz323
7791443f94 sdm660-common: use QTI USB 1.3 HAL
* follows vendor/qcom/opensource/usb/vendor_product.mk
* enable full usb function
* partially ported sepolicy_vndr

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 13:44:41 +02:00
Alcatraz323
35342a285f sdm660-common: switch to android.hardware.usb@1.0-service.basic
* clean up for qti-1.3 working
* staging usb HAL is ACTUALLY SAME as basic 1.0 HAL, totally meaningless

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 13:44:41 +02:00
Bruno Martins
5b5d2a2f5b sdm660-common: Drop mediaextractor seccomp policy
These syscalls are now allowed by default.

Change-Id: I405f609d030331e19031612cbd912a54a3c72339
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 13:44:41 +02:00
Santhosh Behara
8d4deaf1ce sdm660-common: media: Add and publish Codec2 HAL service
*Add 2 codec2 relates libs to PRODUCT_PACKAGES in order to copy
them to /vendor/lib/
*Add seccomp policies for codec2 services

Change-Id: I83af4f6b80886ca18aa059285e0b94403c027e29
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 13:44:41 +02:00
Albert I
1d597aa83e sdm660-common: Inherit several Android Go configurations
Beneficial for everyone, even on non-Go devices.

Change-Id: I088fd00500ce10df5f413cb762aaed2ec00f5dfc
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 13:44:41 +02:00
Mathieu Chartier
371b3a10b0 sdm660-common: Speed profile services and wifi-service to reduce RAM and storage
Change-Id: I1d907b24cb2760ddd9cc65ac4335730c8e61a0a3
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 13:44:41 +02:00
Alcatraz323
0e8661dea0 sdm660-common: Partially revert "Nuke msm_irqbalance"
* replace with 660 stock irq conf(miui/s62pro are same)
* remove not needed service define in init.qcom.rc

This reverts commit fe0aeb3704.

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-04-02 09:48:58 +02:00
sabarop
cb5d34ddf3 sdm660-common: Uprev fp to 2.3
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-23 19:32:12 +01:00
Amit Pundir
3deb3d2cb2 sdm660-common: seccomp: Copy mediaswcodec.policy
* W mediaswcodec: Could not read additional policy file
'/vendor/etc/seccomp_policy/mediaswcodec.policy'

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:59:33 +01:00
johnmart19
ff3a6e6b06 sdm660-common: device: Import android.hardware.media.c2 to FCM
* Also build android.hardware.media.c2@1.2.vendor

hwservicemanager: Since
android.hardware.media.c2@1.0::IComponentStore/default is not
registered, trying to start it as a lazy HAL.
CodecServiceRegistrant: Preferred Codec2 store is defaulted to
"software".
CodecServiceRegistrant: Software Codec2 service created and registered.
libc    : Unable to set property "ctl.interface_start" to
"android.hardware.media.c2@1.0::IComponentStore/default": error code:
0x20
hwservicemanager: Tried to start
android.hardware.media.c2@1.0::IComponentStore/default as a lazy
service, but was unable to. Usually this happens when a service is not
installed, but if the service is intended to be used as a lazy service,
then it may be configured incorrectly.

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:59:33 +01:00
goshawk22
66204c0354 sm6250-common: device: Build Codec2 Packages on vendor
libcodec2_vndk.vendor
libcodec2_hidl@1.0.vendor
Required since hals not included in vndk

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:59:33 +01:00
sabarop
b793283f28 sdm660-common: gps : Removes duplicates
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-03-20 07:18:06 +01:00
pix106
07ff25f115 FIX sdm660-common: Switch audio HAL to V7
* drop ":32"
2023-03-20 07:07:36 +01:00
pix106
7fcb3519a9 Revert "sdm660-common: Add support for Google Dialer Call recording"
This reverts commit 3bef50be1a.
2023-03-20 07:07:36 +01:00
IMMANUEL44
05b26a4efe sdm660-common: Build AntHalService-Soong
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-02-25 23:14:58 +01:00
Immanuel Raj
f7501e252b sdm660-common: overlay: Switch to RRO from Overlays
Co-authored-by: pix106 <sbordenave@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-12 07:32:12 +01:00
pix106
9e7d78cd70 sdm660-common: overlay: drop overlay-lineage
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-12 07:29:52 +01:00
Kunmun
2cf5718249 sdm660-common: audio: Import configs from LA.UM.10.2.1.r1-03400-sdm660.0
• Override some properties
• Import minimal device specific changes for lavender

Change-Id: Iacfc1d97928935a57f76d276dbab8761138bf0e5
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:27 +01:00
pix106
77c3dd3e8e sdm660-common: build vendor.qti.hardware.capabilityconfigstore@1.0 2023-01-08 08:59:27 +01:00
Shreedhan003
5030ac1886 sdm660-common: add prebuilt tinyxml from LA.UM.10.2.1.r1-03400-sdm660.0
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:26 +01:00
Kunmun
6a3ebc0e0d sdm660-common: configs: Import keylayout from LA.UM.10.2.1.r1-03400-sdm660.0
Change-Id: Ibb9cb3d1b5670d795d5e8ab050b7a967e1794c66
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:26 +01:00
Kunmun
df2c4bda6c sdm660-common: media: Import configs and props from LA.UM.10.2.1.r1-03400-sdm660.0
• Build required media packages

Change-Id: Id1828f9fad2c939b8d87f0cc2562a32b2aa0026e
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-01-08 08:59:26 +01:00
pix106
b02991e348 sdm660-common: Include hardware/google/interfaces and hardware/google/pixel
This reverts commit 29615b8ddc.
2023-01-04 06:23:14 +01:00
pix106
0fcf8ea137 Revert "sdm660-common: Migrate to Xiaomi power AIDL HAL"
Revert "sdm660-common: rootdir: Clean part of Unexported properties"
Revert "sdm660-common: power-libperfmgr: Reduce GPU idle timer to 64ms"
2023-01-04 06:23:14 +01:00
pix106
29615b8ddc Revert "sdm660-common: Include hardware/google/interfaces and hardware/google/pixel"
This reverts commit d41d782c92.
2022-12-27 07:34:56 +01:00
Bruno Martins
71c49fcc8c sdm660-common: Migrate to Xiaomi power AIDL HAL
Change-Id: I42170d51a517170b58d532addd9c38496e43457c

jasmine_sprout: Remove QTI perfd

Bug: 69270928
Test: Build and boot device and test camera
Change-Id: I87b283206f462fb5c8ec9cdd303ae2934fe9bfc4

jasmine_sprout: Declare BOARD_VENDOR

* Needed for xiaomi-perfmgr power AIDL guards

Change-Id: Idbb48e0f9b01090a456ad5d3f2d51f4dfab55672

jasmine_sprout: Create dummy libqti-perfd-client

* proprietary perfd blobs can finally be nuked without breaking goodix
* we could even map the functions to use libperfmgr powerhints in the future

[SebaUbuntu]: Cleanup Android.bp and add copyright header

Change-Id: I124652f3041761966a3e3bd97c757fecc39cc5fb

jasmine_sprout: libqti-perfd-client: Remove namespace declaration

It's pointless when using extern "C".

Change-Id: Ibdf9f06a70aa3a75687b33781c78cf2172bb334d

jasmine_sprout: libqti-perfd-client: return a dummy value

Return a positive integer for perf lock acquire and release so
that Goodix/FPC fingerprint sensor blobs will not complain.

Goodix:
E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_acquire: Failed to acquire perf lock, err: 0
E [goodixHAL][gf_hal_milan_f_series]: goodix_perf_lock_release: Perf lock release error 0

FPC:
E fpc_tac : fpc_perf_lock_acquire: Incorrect params, Failed to acquire perf lock, err
E fpc_tac : fpc_perf_lock_release: Perf lock release error 0

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I861672e9a738c2204755d802670f4b28b662f286

jasmine_sprout: libqti-perfd-client: Move to C

* Why bothering with C++ mangling when we can just build it as a standard C library?

Change-Id: I45ea977edf7ea7fab6fece76f3049654a8d24c5d

jasmine_sprout: Add powerhint.json jasmine

Change-Id: If270fc906fd833bb6b0d3b00621c0b079346e47d

jasmine_sprout: rootdir: Initial libperfmgr init config

* From coral, heavily stripped down

Change-Id: Ib6846e4f4f23baf56910d2330e26846b99830218

jasmine_sprout: sepolicy: Initial libperfmgr sepolicy

Change-Id: I3d0a259bc89b4ecd0bf1632199172710d98230e0

jasmine_sprout: Don't explicitly build older minor version HIDL libs

Change-Id: Ib0caa49054a79b1f01ffc751826286a29c642e06

jasmine_sprout: Remove QTI perf reminants

jasmine_sprout: Add back ro.vendor.extension_library definition

 * We aren't using QCOM's perfd but our blobs still check for this.
 * To avoid unnecessary errors, let's just add it back.

Change-Id: Icc44b330f21a658cfa8ded691a6628d8f62c3649
Signed-off-by: pix106 <sbordenave@gmail.com>
2022-12-27 07:34:56 +01:00