Commit graph

4789 commits

Author SHA1 Message Date
pix106
009520070b sdm660-common: use mtdservice interface from xiaomi/hardware 2023-08-22 08:44:53 +02:00
pix106
c7085df857 sdm660-common: add sha1sums for GPU Firmware 2023-08-22 08:44:53 +02:00
Alcatraz323
14bb9df543 sdm660-common: proprietary: update Gatekeeper, Keymaster blobs
* from Honeywell/hon660/hon660:12/94.00.03/0037:user/release-keys (REAL LA.UM.10.2.1.r1-03400-sdm660.0)
* this is not the original file structure from hon660, but keep this for future self extraction

Co-authored-by: 1582130940 <1582130940@qq.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
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
Alcatraz323
c668d8f6a8 sdm660-common: proprietary: update ADSP, Audio, SoundFX, Bluetooth, CDSP blobs
* most from Honeywell/hon660/hon660:12/94.00.03/0037:user/release-keys
* part of Audio from LA.QSSI.13.0.r1-09700-qssi.0
* add build number to missing section

Co-authored-by: 1582130940 <1582130940@qq.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
Alcatraz323
aa27e30437 sdm660-common: proprietary: update Alarm, ANT+, Capability Configstore, HVDCP blobs
* from Honeywell/hon660/hon660:12/94.00.03/0037:user/release-keys (REAL LA.UM.10.2.1.r1-03400-sdm660.0)
* part of ANT+ from LA.QSSI.13.0.r1-09700-qssi.0

Co-authored-by: 1582130940 <1582130940@qq.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
Alcatraz323
d6b5a1e51d sdm660-common: proprietary: update DRM, Widewine, QTEE, DSP, FM, IRQBalance blobs
* from Honeywell/hon660/hon660:12/94.00.03/0037:user/release-keys (REAL LA.UM.10.2.1.r1-03400-sdm660.0)

Co-authored-by: 1582130940 <1582130940@qq.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
Alcatraz323
acc5b5cbb5 sdm660-common: proprietary: update Mlipay, HotwordEnrollment blobs
* mlipay from lavender QKQ1.190910.002 V12.5.7.0.QFGCNXM
* HotwordEnrollment from blueline-user 12 SP1A.210812.016.C2 8618562 release-keys
* add hotwordenrollment section title
* in order to make a no patched mlipay service, build mtdservice@1.0 hidl interface(not used anyway)

Co-authored-by: 1582130940 <1582130940@qq.com>
Co-authored-by: Sebastiano Barezzi <seba@sebaubuntu.dev>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
Alcatraz323
e81a5c900c sdm660-common: proprietary: update QSEEComHAL, Listen, Media, Peripheral blobs
* mainly from Honeywell/hon660/hon660:12/94.00.03/0037:user/release-keys (LA.UM.10.2.1.r1-03400-sdm660.0), listen jni lib from LA.QSSI.13.0.r1-09700-qssi.0
* drop libOmxVideoDSMode since hon660 don't have this lib and as oss-hals/media/mm-core/src/common/qc_omx_core.c#388 written, we can't find "isDSModeActive" entry in s62pro version, so keep it will get dlsym error as well
* also "decoder.avc.dsmode" isn't necessary for most use cases, it's for wfd decoding/down sampling. Not for normal video and wfd encoding

Co-authored-by: 1582130940 <1582130940@qq.com>
2023-08-22 08:44:53 +02:00
Alcatraz323
b6fbffe0c9 sdm660-common: proprietary: update SCVE, Sensors, Thermal, Time service blobs
* from Honeywell/hon660/hon660:12/94.00.03/0037:user/release-keys
* the REAL LA.UM.10.2.1.r1-03400-sdm660.0

Co-authored-by: 1582130940 <1582130940@qq.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
Alcatraz323
e41fed398e sdm660-common: proprietary: remove unused QTI perf libs
* we don't use QTI HMP Perf HAL service, these libs has no reference
* we are using EAS + UtilClamping

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
Alcatraz323
81409305b6 sdm660-common: proprietary: clean up mux & mmosal lib from Media section
* belongs to and used by Wifi Display
2023-08-22 08:44:53 +02:00
Alcatraz323
be6bc1aba6 sdm660-common: proprietary: update CNSS, eSE blobs
* Honeywell/hon660/hon660:12/94.00.03/0037:user/release-keys
* CLO tag LA.UM.10.2.1.r1-03400-sdm660.0

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
Alcatraz323
e7451d34f0 Revert "sdm660-common: drop eSE service blobs"
* as hon660 WCNSS(Wi-Fi) config enables eSE feature, and eSIM may use it and be portable, it is not only used by NFC now
This reverts commit c38a7abad5cc5014e0a85382cf6645939dc564e0.
2023-08-22 08:44:53 +02:00
pix106
9431cf7736 FIX bad blobs list 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
daa5bb5770 Revert "sdm660-common: Update blobs from LA.UM.10.2.1.r1-03400-sdm660.0"
This reverts commit c4dc68b927.
2023-08-22 08:44:53 +02:00
pix106
5d699a0785 Revert "sdm660-common: Update Graphics blobs from LA.UM.10.2.1.r1-03400-sdm660.0"
This reverts commit 1bbb05237f.
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
3eea1c4cc2 Revert "FIX sdm660-common: Update blobs from LA.UM.10.2.1.r1-03400-sdm660.0"
This reverts commit ed9aec1201.
2023-08-22 08:44:53 +02:00
pix106
ce197ec81b Revert "sdm660-common: update audio blobs from LA.UM.10.2.1.r1-03400-sdm660.0"
This reverts commit 81490640ee.
2023-08-22 08:44:53 +02:00
pix106
dc7b93e66a Revert "sdm660-common: update audio fx blobs from LA.UM.10.2.1.r1-03400-sdm660.0"
This reverts commit 27fd7416e9.
2023-08-22 08:44:53 +02:00
pix106
1f246892aa Revert "sdm660-common: add missing cdsp blobs from LA.UM.10.2.1.r1-03400-sdm660.0"
This reverts commit dd080ab0fd.
2023-08-22 08:44:53 +02:00
pix106
1cbdfcde70 Revert "sdm660-common: add missing drm blobs from LA.UM.10.2.1.r1-03400-sdm660.0"
This reverts commit ab11bcf940.
2023-08-22 08:44:53 +02:00
pix106
91c02b9c16 Revert "sdm660-common: add EIS blob from LA.UM.10.2.1.r1-03400-sdm660.0"
This reverts commit ede0766fec.
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
d117003390 Revert "sdm660-common: add missing graphics postprocessing blobs from LA.UM.10.2.1.r1-03400-sdm660.0"
This reverts commit baebb674c3.
2023-08-22 08:44:53 +02:00
pix106
9930453090 Revert "sdm660-common: add missing keymaster blobs from LA.UM.10.2.1.r1-03400-sdm660.0"
This reverts commit b3caccc2c5.
2023-08-22 08:44:53 +02:00
pix106
2b99157163 Revert "sdm660-common: add qseecom hal gfrom LA.UM.10.2.1.r1-03400-sdm660.0"
This reverts commit b81c4bb5a0.
2023-08-22 08:44:53 +02:00
pix106
3eef3fefe9 Revert "sdm660-common: add SCVE blobs from from LA.UM.10.2.1.r1-03400-sdm660.0"
This reverts commit 53edd94a47.
2023-08-22 08:44:53 +02:00
pix106
d8b30a60b1 Revert "sdm660-common: add UBWC blobs from LA.UM.10.2.1.r1-03400-sdm660.0"
This reverts commit 46afa2f65c.
2023-08-22 08:44:53 +02:00
pix106
22ad344d55 Revert "sdm660-common: add capability configstore blobs from LA.UM.10.2.1.r1-03400-sdm660.0"
This reverts commit 7ff3d8afb5.
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
984c2c9077 Revert "sdm660-common: add CapabilityConfigStore to manifest"
This reverts commit 11d6f85dc1.
2023-08-22 08:44:53 +02:00
pix106
4c3df924f1 Revert "sdm660-common: sepolicy: allow hal_capabilityconfigstore_qti_default access to vendor_cap_configstore_dbg_prop"
This reverts commit 2b5dfda876.
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
e0ab377c10 sdm660-common: properties: move some props to system.prop
[    8.765717] init: Do not have permissions to set 'persist.vendor.bt.a2dp_offload_cap' to 'sbc-aptx-aptxhd-aac-ldac' in property file '/vendor/build.prop': SELinux permission check failed
[    8.766012] init: Do not have permissions to set 'ro.hwui.render_ahead' to '20' in property file '/vendor/build.prop': SELinux permission check failed
[    8.766364] init: Do not have permissions to set 'ro.config.avoid_gfx_accel' to 'true' in property file '/vendor/build.prop': SELinux permission check failed
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
aa160dff7d sdm660-common: sepolicy: cleanup mismatched file & fix bluetooh, fsck denial
* fsck_untrusted(fsck.exfat) is for external sd, and access for sysfs is neverallowed

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
Suren Baghdasaryan
03dac149f0 sdm660-common: Disable all lmkd properties
With new strategy default values for lmkd properties should work and no
property overrides are necessary.

Bug: 132642304
Test: lmkd_unit_test, ACT memory pressure tests
Change-Id: I9cb0eb2d49fdbf9a76ff790ed19b4b5beb4cccb7
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
Alcatraz323
715de717be sdm660-common: keylayout: reorder uinput-fpc.kl
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:45 +02:00
Melody Olvera
6a417ef057 sdm660-common: rootdir: init: Remove debugfs
Signed-off-by: HeroBuxx <me@herobuxx.me>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-06-25 09:45:54 +02:00
Sabar
9dd38e9f76 sdm660-common: silent log spam
E OpenGLRenderer: Unable to match the desired swap behavior.

Coauthored-by: pix106 <sbordenave@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>

move persist.log.tag.OpenGLRenderer=S
2023-06-25 09:45:54 +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
Pullakavi Srinivas
efce4ba8a1 sdm660-common: Disable SF composition prediction model
Only for kernel 5.4+

CRs-Fixed: 3243885
Change-Id: I64f82a25768b561bb343fdb7686b7d6c020d024a
Signed-off-by: Immanuel Raj <iamimmanuelraj@gmail.com>
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-06-24 08:46:31 +02:00