Commit graph

392 commits

Author SHA1 Message Date
pix106
a0f52469bd Revert "sdm660-common: Disable APEX compression"
This reverts commit f2cb1e7374.
2024-01-14 17:18:17 +01:00
Daniel Rosenberg
6cf2314019 sdm660-common: Use emulated storage
Sdcardfs in deprecated

Enable Project ID Quota support on userdata.
 * These features enable wide inodes on userdata, which
   is required for project ID quotas. Wide inodes can
   only be set at MKFS time.

 * This also enables casefolding, which is required for the
   removal of SDCardFS.

Bug: 138321217
Test: Examine filesystem features for project quota and wide inodes.
Change-Id: I9c17cda2af34c6fbd73c2d90eb6b465f4939df67
Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:18:17 +01:00
pix106
bfa61a3f25 sdm660-common: Cleanup duplicated build recipe & sepolicy 2024-01-14 17:18:17 +01:00
chrisw444
aa804009da sdm660-common: configs: remove useless qti-perf configs
* we are using power-libperfmgr

Signed-off-by: pix106 <sbordenave@gmail.com>
2024-01-14 17:18:17 +01:00
Alcatraz323
b02c634b4d sdm660-common: power: use more advanced cgroup/task profile & drop schedtune powerhint
* schedtune is conflict with uclamp
* CONFIG_CGROUP_FREEZER is enabled
* CONFIG_UCLAMP_TASK is backported and enabled
2024-01-14 17:18:17 +01:00
Alcatraz323
5b660f6800 sdm660-common: introduce clover parts
* implemented volume panel trigger in QS
* we may need to implement some extra function like multiwindow
* the seapp_context may need a diffrent entity from DeviceSettings to avoid neverallow

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:45:13 +02:00
ghostrider-reborn
0acb16e716 sdm660-common: Disable dexpreopt minidebuginfo
Change-Id: Ief843fc411189906c5d0183a6ff4485f6b3041ee
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:45:13 +02:00
ghostrider-reborn
94595661b3 sdm660-common: Disable ART debug and optimize dexpreopt
* don't include debug configs in art

Change-Id: Ic310df1e2c466437b26fcb2e5ab9333694328c48
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:45:13 +02:00
pix106
7e84c11b56 sdm660-common: decommonize camera shim 2023-08-22 08:44:53 +02:00
Hridya Valsaraju
986d0bd3c0 sdm660-common: Set PRODUCT_SET_DEBUGFS_RESTRICTIONS
Starting with Android R launched devices, debugfs cannot be mounted in
production builds. In order to avoid accidental debugfs dependencies
from creeping in during development with userdebug/eng builds, the
build flag PRODUCT_SET_DEBUGFS_RESTRICTIONS can be set by vendors to
enforce additional debugfs restrictions for userdebug/eng builds. The
same flag will be used to enable sepolicy neveallow statements to
prevent new permissions added for debugfs access.

Test: build, boot
Bug: 184381659
Change-Id: I45e6f20c886d467a215c9466f3a09965ff897d7e
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
Alcatraz323
f1935c4f78 sdm660-common: correct wrong indention in build recipe
Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
Alcatraz323
be4683e238 sdm660-common: declare Wi-Fi RTT support
* sdm660 supports 802.11mc
* RTT enabled in Honeywell/hon660/hon660:12/94.00.03/0037:user/release-keys - LA.UM.10.2.1.r1-03400-sdm660.0
* RTT Doc - https://source.android.com/docs/core/connect/wifi-rtt

Signed-off-by: pix106 <sbordenave@gmail.com>
2023-08-22 08:44:53 +02:00
pix106
37186432c3 sdm660-common: build vendor.qti.hardware.capabilityconfigstore@1.0
This reverts commit a04b0dd4fb383a37b267dcd00b939ffac370c578.
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
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