315 Commits

Author SHA1 Message Date
Alexander Winkowski
fcb17314b6
sm6250-common: Clean up properties
Those don't exist in blobs:
vendor.audio.capture.enforce_legacy_copp_sr=true
persist.vendor.qcomsysd.enabled=1

Default values:
vendor.display.comp_mask=0
vendor.display.disable_scaler=0
vendor.gralloc.disable_ubwc=0

Change-Id: I8092b378b0c82aeea4ad4bb5574587731884ceeb
2022-08-17 08:14:25 +00:00
Alexander Koskovich
495d12546e
sm6250-common: Remove radio properties where the value is the default
Change-Id: I46a4fd1bc358fa7503a470054e8c6cd14ccfd1c0
2022-08-17 08:13:54 +00:00
Alexander Koskovich
0f51c5c224
sm6250-common: Remove ro.com.android.dataroaming override
* build/make/target/product/full_base_telephony.mk
   24:    ro.com.android.dataroaming?=true

 * system_ext/etc/build.prop:ro.com.android.dataroaming=false
   vendor/build.prop:ro.com.android.dataroaming=true

   In QSSI builds the partition priority is: odm, vendor,
   product, system_ext, system.

Change-Id: Ia90d73ce62a156e4b88731cffd4d5f7a6dd795e6
2022-08-17 08:13:53 +00:00
Alexander Koskovich
27e5228084
sm6250-common: Drop implied Bluetooth properties
Change-Id: Ibf99eb0a1cfec92b849403db710df3239e1de203
2022-08-17 08:13:53 +00:00
Alexander Koskovich
c9db0de700
sm6250-common: Disable unspecialized app process pool
* Does not appear to work anymore, denials all over.

Change-Id: I16e4c5bbad3a443e7b69b669f173d5869b29c633
2022-08-17 08:05:31 +00:00
Alexander Koskovich
c7371d5635
sm6250-common: Cleanup packages
Change-Id: I6188858b49a9591108032ea6f4d1a4da49a73138
2022-08-17 08:05:02 +00:00
hpnightowl
7f4971b8a3
sm6250-common: Drop audio.a2dp.default
* Building from here:
   https://github.com/LineageOS/android_build/blob/lineage-18.1/target/product/full_base.mk#L35

Change-Id: Ib71c1abd381468ec3621d60e5ca959f738f51168
2022-08-17 08:05:02 +00:00
Alexander Koskovich
6d29c5453e
sm6250-common: Drop some audio packages
* All of these are implied.

Change-Id: Iad7824105bd2c22899365f8a5fc0a9e73d36beda
2022-08-17 08:05:01 +00:00
Alexander Koskovich
6f0b2ea5b1
sm6250-common: Drop PRODUCT_BUILD_SUPER_PARTITION
* Super image is not generated by a default 'm' build,
   but we at least want it for dist builds.

Change-Id: Ia12a5314632509fcd309d51ddf757efdc37499c3
2022-08-17 07:58:11 +00:00
Alexander Koskovich
ffd89d6492
sm6250-common: Drop support for Snapdragon Camera
* Won't be implemented this cycle (or ever again hopefully).

Change-Id: Ie2a346319dfe814deaf9833cb31640505cc6b7dc
2022-08-17 07:58:10 +00:00
Alexander Koskovich
af1d6e3d70
sm6250-common: Drop all component overrides
* Qualcomm no longer disables these for targets
   that support RRO, e.g. all QSSI targets.

Change-Id: I0372817623e8d0e58926fbfb519671c3caa07b86
2022-08-17 07:58:10 +00:00
Sebastiano Barezzi
9c65a54dca
sm6250-common: Drop QTI camera device usage
* qcom-camera topic hasn't been ported to 19.1
* Keep building vendor.qti.hardware.camera.device@1.0 interface lib, IMS stack and possibly camera HAL still needs it

Change-Id: I87bcd5b54ad986d5844df50de243fc1a18507198
2022-08-17 07:58:10 +00:00
Sebastiano Barezzi
813744ac12
sm6250-common: Remove TARGET_ENABLE_MEDIADRM_64
* It's only used when building drm@1.0 HIDL

Change-Id: I06412e2dd2bb48d798be4ef6e9a26a17b65277a7
2022-08-17 07:58:09 +00:00
Georg Veichtlbauer
4864f38110
sm6250-common: Remove CLANG compile flag
Defaults to true now project-wide.

Change-Id: I1e0ff5adadc889d81c90c816457a72d2621e4b5a
2022-08-17 07:53:56 +00:00
Daniel Mentz
e98b808ee6
sm6250-common: Remove ineffective BOARD_KERNEL_TAGS_OFFSET variable
Remove various variables related to where kernel and ramdisk are loaded
by the bootloader. There are two reasons for this:

1. The B1C1 bootloader ignores all the offset values for kernel, ramdisk
and tags. The default B1C1 memory layout has been designed to accomodate
a larger KASAN kernel.

2. The variables BOARD_KERNEL_TAGS_OFFSET and BOARD_RAMDISK_OFFSET are
ignored by the Android build system (unless they are copied into the
BOARD_MKBOOTIMG_ARGS variable). This is in contrast to the variables
BOARD_KERNEL_BASE, BOARD_KERNEL_PAGESIZE and BOARD_MKBOOTIMG_ARGS which
are referenced by build/make/core/Makefile

Bug: 117832711
Change-Id: I3404a4e084ed063d51077a3a80229854362c768b
2022-08-17 07:53:56 +00:00
Bruno Martins
6d8b243954
sm6250-common: Prepend "system/" before paths where necessary
Change-Id: I29a61453565d0b2a27c601b8e58edbe1bad3ec9a
2022-08-09 10:11:27 +00:00
Michael Bestas
1d03bdc7e9
sm6250-common: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGES
Change-Id: Iaa9d66b0bbdc55f046ee1347cbf83c7eecebb35e
2022-08-09 10:11:26 +00:00
Sonal Singh
f231428f31
sm6250-common: Add missing lib needed for depth camera sensor
* Apparently this lib is missed out during initial oss vendor import, and it leads to gc02m1_i_gc depth sensor not to work

Change-Id: I0605f187005bd80b3fd29734862a2347f52217f2
2022-08-09 10:11:26 +00:00
Alexander Winkowski
53c387a1f9
sm6250-common: Remove more unused 32-bit libs
Change-Id: I46d6728851999b14c0ab6a5b93f2653cc7b689f5
2022-08-09 10:11:26 +00:00
Alexander Winkowski
2547cbc869
sm6250-common: Remove unused 32-bit display libs
Change-Id: I2bbca40547556e71d1eb6f669d65cde9d9f2a0dd
2022-08-09 10:11:25 +00:00
Alexander Winkowski
0693ee497c
sm6250-common: Remove unused 32-bit Bluetooth libs
Change-Id: Icbb1ad6817d2ed703f83822e0f557b17c00ea984
2022-08-09 10:11:25 +00:00
Alexander Winkowski
bfde9e2c3c
sm6250-common: Remove 32-bit RIL libs
Change-Id: Ied3d8001e619a8bc2700273f6478cdf58464af38
2022-08-09 10:11:24 +00:00
Alexander Winkowski
138af1cddf
sm6250-common: Remove 32-bit NPU libs
Change-Id: I3d0ae86c36410446940a6edb7c455267236ca2f7
2022-08-09 10:11:24 +00:00
Alexander Winkowski
82076f22d9
sm6250-common: Remove 32-bit IMS libs
Change-Id: Iac3ea7148ced11734f0d67c64523ed935cd06485
2022-08-09 10:11:24 +00:00
Alexander Winkowski
9c42d78aee
sm6250-common: Remove 32-bit GPS libs
Change-Id: Id05cc0883a1b9708c3f888d6ab8938c5b34beb2d
2022-08-09 10:11:23 +00:00
Alexander Winkowski
6f3cb0cfcf
sm6250-common: Remove 32-bit DSP libs
Change-Id: Id8d39fa12a54323e23ad51517c984d5f48d4bff0
2022-08-09 10:11:23 +00:00
Alexander Winkowski
edde1ab320
sm6250-common: Remove 32-bit DRM libs
Change-Id: I123ce6c5014d40938651a9b59df185b4ed87174a
2022-08-09 10:11:23 +00:00
Alexander Winkowski
c552bff5ec
sm6250-common: Remove 32-bit CVP libs
Change-Id: I6689e90fb4e4f7d164a0c74f02e96f4a219d91fc
2022-08-09 10:11:22 +00:00
Alexander Winkowski
417ac28fc2
sm6250-common: Remove 32-bit CNE libs
Change-Id: I9106b8d5ac8b7f10839ed0b3801390a220041739
2022-08-09 10:11:22 +00:00
Luca Stefani
58fa5fa38a
sm6250-common: Remove unused libqsap_sdk
Change-Id: Ib543425786c498eec8ef421f85047bcb1cb0cae3
2022-08-09 10:11:22 +00:00
dianlujitao
dff5a56dd6
sm6250-common: Remove useless servicetracker HAL
Change-Id: I13cad89a12800bbfd5b63dfa99375b896cf07796
2022-08-09 10:11:15 +00:00
Alexander Winkowski
3781bb97b6
Revert "Revert "Revert "sm6250-common: rootdir: Enable s2idle"""
This reverts commit a99a1b2aff38116417783b4015f3c70250fe839f.

* Still broken

Change-Id: I712e3a9208bc3f2143712b7a74568eb9ffeb9d14
2022-06-26 14:10:28 +00:00
Albert I
fc30cbc83e
sm6250-common: fstab: Remove wrappedkey flag from metadata
vold checks on userdata flags, NOT metadata.

Test: None
Signed-off-by: Albert I <kras@raphielgang.org>
Change-Id: Ia9fa7aa8638859de241219b440dc6f2191192ee1
2022-05-26 17:10:39 +00:00
Sebastiano Barezzi
5856d339ed
sm6250-common: Add power AIDL DT2W support via sysfs node
Change-Id: Idcff758444a5c89ba20f2ae804a407ee78c445cb
2022-05-26 13:14:36 +00:00
Sebastiano Barezzi
5c1c6c9dc5
sm6250-common: Drop power AIDL extension
Change-Id: Ied144ee0f7840ab43499d43f3d0c64dfd414d99f
2022-05-26 13:14:35 +00:00
Alastair Donaldson
412a2dfb1d
sm6250-common: Add android.software.vulkan.deqp.level, version 2020-03-01
This change sets the new Vulkan dEQP level feature flag to the value
corresponding to the Vulkan dEQP tests for Android 11.

Change-Id: I0715787b310f48c27747849ebd0724e0ca6fbbde
2022-05-26 13:14:35 +00:00
Alexander Winkowski
73be6dca46
sm6250-common: Remove zram writeback leftovers
It has been disabled in kernel because of memory corruption.

Change-Id: I50e4cdc39b38a510d39032253606ddec3e41d22c
2022-05-26 13:14:35 +00:00
Alexander Winkowski
57b3204aa1
sm6250-common: Switch to uncompressed kernel image
Change-Id: Ia5830b38a2d882abab9df87d6c1e6e674eeb0c51
2022-05-26 13:14:35 +00:00
Alexander Winkowski
56f8b9824c
sm6250-common: libinit: Override odm_dlkm and vendor_dlkm props
Change-Id: If601ae82e6bcaeec756f868575b2ae465f21156c
2022-05-26 13:14:29 +00:00
Alexander Winkowski
00ff2dbb1a
sm6250-common: Update blobs from V12.5.5.0.RJWINXM
Change-Id: Id7856c2376aaa7090625a8c93f641c339441cb50
2022-05-11 19:40:19 +00:00
Sebastiano Barezzi
a0b832caff
sm6250-common: libinit: Get build description from build fingerprint
Change-Id: I3661981c7ba78670dcacd814598284274cb2eb9d
2022-05-11 19:37:47 +00:00
Alexander Winkowski
e5f929281e
sm6250-common: rootdir: Fix typos
Change-Id: I5f4f1a6dd8c4ac4d7a2096d7416846eb66ff9fca
2022-05-11 19:36:35 +00:00
Randall Huang
55f6b97ce5
sm6250-common: remove IO read_ahead_kb tune
If we set 2048KB ra value in the beginning of the
boot process, services initialized at this time would
keep 2048KB ra value even though we adjust the ra value
to 128KB after boot completion.

This may cause memory pressure.

Bug: 174700194
Signed-off-by: Randall Huang <huangrandall@google.com>
Change-Id: I97ee0ee9511eaada011f2634afd68d68cdca4570
2022-05-11 19:35:25 +00:00
Alexander Winkowski
a99a1b2aff
Revert "Revert "sm6250-common: rootdir: Enable s2idle""
This reverts commit 5b8f192e961961fac27cdc0eacf6103579ffcef6.

Fixed:
https://review.lineageos.org/q/Idbb2e825c489e174d5701e0c315b51a3149bfe49

Change-Id: I73b3eb3dc9bba90aa4579b31d5122e1cfce52491
2022-05-11 19:35:08 +00:00
Alexander Winkowski
d21e3ace1d
Revert "sm6250-common: Import QTI Codec2 HAL and switch to Codec2 by default"
This reverts commit c45471638ae1101cff57e7d8ad7070783771c87f.

* Breaks media playback when uptime is considerably high.

Change-Id: I81b137d832daa034036240adc9a30531eb703893
2022-05-11 18:09:53 +00:00
Sebastiano Barezzi
7103dabc1c
sm6250-common: Go away Megvii
* Nuke Megvii proprietary files and build stub ones from hardware/xiaomi

Change-Id: I53f8f0897b25517741a06c5962c02fe8fda61072
2022-05-11 17:59:38 +00:00
Alexander Winkowski
86e456daa2
sm6250-common: Re-enable fluence
Fluence was disabled in commit 7f4d5137 ("sm6250-common: Align audio properties with CAF") as
it affects audio quality. But without it speaker paths have microphone broken so re-enable it
until this will be figured out.

Change-Id: Ie5092eacff794359db94a9f8655df7c7901ac365
2022-04-07 19:49:16 +01:00
Alexander Winkowski
5b8f192e96
Revert "sm6250-common: rootdir: Enable s2idle"
This reverts commit b037c145f5ae958a7471edf95de5590f4a5f2575.

s2idle happens to cause RCU stalls. Disable it until a solution is found.

Change-Id: If0a6c817f415f6ddbdc202423492a7d2ebf1d0fb
2022-03-10 16:55:24 +00:00
Alexander Winkowski
befaea8f80
sm6250-common: Remove non-existent properties
grep hasn't found them neither in source code nor in blobs.

Change-Id: I4a4d2fc88815fc5f3b61ee3972534ed30f7ed131
2022-03-08 08:37:46 +00:00
Siddharth Kapoor
654f633113
sm6250-common: Turn on GPU protected contents.
BUG: 130028057
Test: ExoPlayer, Play Movies
Change-Id: I33acf9467227da08c3b98aca3bac69aca8db4b43
2022-03-08 08:18:54 +00:00