Commit graph

77 commits

Author SHA1 Message Date
Purushottam Kushwaha
bb023753b7
Disable wifi Aware (NAN) feature for unsupported target.
NAN is not fully supported for following targets and thus this
feature should be disabled:
-sdm845
-sdm710

Change-Id: I314d809585ac279887e2ecf208e9894a4b194c39
CRs-Fixed: 2485492
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:02 +02:00
Bruno Martins
f3d643a9e2
Set up WiFi and build the HAL from sources
Change-Id: I7b92eaea2cf2f059c8214916ea186dc6c1e03917
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:02 +02:00
Sandeep Singh
ad0d143e81
wifi: Add target specific wifi configuration files
This commit imports initial skunk wifi configuration files.

use ours WCNSS config

Change-Id: I5aa01eb778bf24cf50421c093c9ebca4dd541ae0
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:02 +02:00
Santhosh Behara
56e27ebd8c
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
2021-07-12 02:24:02 +02:00
Bruno Martins
f89f020e0f
Drop mediaextractor seccomp policy
These syscalls are now allowed by default.

Change-Id: I405f609d030331e19031612cbd912a54a3c72339
Signed-off-by: Henrique Pereira <hlcpereira@outlook.com.br>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:02 +02:00
Amit Shekhar
75a7af3a6c
mediacodec: Allow select and eventfd syscalls
Add pselect6 and eventfd2 syscalls
Includes following:
mediacodec: allow sendto and recvfrom syscalls
mediacodec: allow lseek syscall
mediaextractor: allow pread64 and readlinkat syscalls
mediacodec: allow getdents64, sysinfo and getcwd

Vendor extended policy files are separated from the aosp
and will now reside in /vendor

Change-Id: If59d04b36d744efb74209ae36e76dd16cb18f606
CRs-Fixed: 2027600
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:01 +02:00
mike-dooley
8539d92482
kunlun2: Enabling sound trigger V2_2
V2_2 has the same functionality as V2_1 except it adds one new
api, getModelState.

Note: V2_1 will be removed in a subsequent cl.

Test: built android and tested using SoundTriggerTestApp
2021-07-12 02:24:01 +02:00
android-usb
dd2d18fff1
Adding Audio HAL V5: Direction API
Bug: 119137468
Test: With testbed app
Change-Id: I4251b3853d00308dbd988625f8e7466a66b823fa
2021-07-12 02:24:01 +02:00
Padmanabhan Komanduru
ece9a72804
Switch to composer 2.3
Change-Id: I9c70051647f81c4adf2431562c2d6b9854a71879
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:00 +02:00
1nfrag
6419e12cb1
Build OSS display HAL
Change-Id: I3801a603e08547a919e2e7cd90edabfb116dfac8
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:00 +02:00
Jeff Tinker
f5edd16152
Enable clearkey drm plugin v1.2
test: android.media.cts.MediaDrmClearkeyTest#testOfflineKeyManagement

bug: 117570956
bug: 110838441
bug: 116252891
Change-Id: Ie9373543ef416e718a70e75d95bf5b15a2852705
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:00 +02:00
Chris Fries
a44f233713
Set VENDOR_SECURITY_PATCH to platform
Set the VENDOR_SECURITY_PATCH level to match the platform
security patch level.  These are functionally the same.

Bug: 125914443
Change-Id: Ib77ab115d6faabd21958c34e2dae49ec96421fdd
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:00 +02:00
Garret Kelly
a210f8a6a4
Set BOOT_SECURITY_PATCH during build
This property is now used during boot to provide the TEE-backed
keymaster with the correct boot SPL.  Set it to the platform SPL until
it diverges as part of an update.

Bug: 119549677
Test: verified boot.img has property using avbtool
Change-Id: I6d96404918cf18d0fee79c701394b39baf349c53
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:00 +02:00
bgcngm
2e803d06de
Compile IPACM from source
Change-Id: I65fba34550e4b2016524656a2d0b869e32256753
2021-07-12 02:23:59 +02:00
bgcngm
6cf2b4f8cd
Compile OMX from source
Change-Id: I0e55d49e96423a9473059cf9000b0114b903d277
2021-07-12 02:23:59 +02:00
bgcngm
fabcf684e4
Build from source some vendor packages
Change-Id: I944f210685d980c0603fd2c9bcd9defbfb0209c2
2021-07-12 02:23:59 +02:00
bgcngm
1f9b91cca3
Compile open source sound FX modules
Change-Id: Iec50a263c8015dba798c574b4969d3d37b0004bc
2021-07-12 02:23:59 +02:00
bgcngm
5ecfc24cdd
Set up Bluetooth
Change-Id: I2057e44919354d4cdf172dfbc85da432b32419f0
2021-07-12 02:23:59 +02:00
bgcngm
5625a48a0a
Add whitelist to support exposing vendor libs
From ZUI 11.5.160
2021-07-12 02:23:59 +02:00
bgcngm
92508335e2
Include common feature permissions 2021-07-12 02:23:58 +02:00
bgcngm
537450d204
Build default HIDL HALs 2021-07-12 02:23:58 +02:00
Giammarco Senatore
74e502a935
Import stock audio/media configs
and move some configs from system to vendor
From ZUI 11.5.160
2021-07-12 02:23:58 +02:00
Giammarco Senatore
1d0e49aa55
Import stock vendor and odm properties
from ZUI 11.5.160
2021-07-12 02:23:58 +02:00
Giammarco Senatore
08e188d663
kunlun2: Import stock init scripts 2021-07-12 02:23:52 +02:00
Giammarco Senatore
38b77bd32e
kunlun2: Drop vendor_overlay and its hax 2021-07-11 17:06:19 +02:00
GiaSen
b3e0af8270 kunlun2: Cleanup
- Remove unused build broken configs
- Remove RevengeOS early hack to bypass long baseband name
- Remove blur expensive prop, new power aidl doesn't support
- Live wallpapers are built by default
2021-01-02 16:43:53 +01:00
GiaSen
98dce4d4d5 kunlun2: Nuke LenovoParts 2021-01-01 17:53:10 +01:00
SamarV-121
4416341c21 kunlun2: Hack to override empty power hidl 2021-01-01 17:52:21 +01:00
SamarV-121
30666f3913 kunlun2: Import Pixel power AIDL HAL
Nuke Powerstats
2021-01-01 17:52:11 +01:00
GiaSen
f5f839f3b3 kunlun2: Nuke manifest.xml
Was not needed at all
2021-01-01 15:46:25 +01:00
GiaSen
2f07f5abc0 kunlun2: Go enforcing
Bind mount etc files because vendor_overlay/29/etc makes device to reboot to recovery

from pstore
vdc: Command: cryptfs enablefilecrypto Failed: Status(-8, EX_SERVICE_SPECIFIC): '0: '
2021-01-01 13:33:47 +01:00
Kuber Sharma
b86cae0eba kunlun2: Copy updated handheld_core_hardware.xml to enable software controls feature
* AOSP has included device software controls feature permission
inside handheld_core_hardware.xml from android-11.0 but since
we use prebuilt OEM vendor which is from android-10.0 it
does not have this feature permission included in that.

a9708b1763%5E%21/#F1

Signed-off-by: Ayush Dubey <ayushdubey70@gmail.com>
Signed-off-by: aashil123 <singhalaashil@gmail.com>
Signed-off-by: victor10520 <merser2005@gmail.com>
2021-01-01 12:42:13 +01:00
GiaSen
3b00c1e366 kunlun2: Don't build Snap 2021-01-01 12:42:13 +01:00
Ethan Chen
347bedf5e6 sdm710-common: Add AOSP RCS packages
Change-Id: Ic16d3b92820d246db73ad70ccaa0f4bc7f50e515
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-12-03 22:49:30 +01:00
GiaSen
e3eca1b8ce kunlun2: Don't dexpreopt apps 2020-11-28 21:47:35 +01:00
Aayush Gupta
0584a27c21 sdm710-common: Remove qcom.fmradio from PRODUCT_BOOT_JARS
- It's loaded as app library, hence not needed to be a boot jar

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I1b1357be08b511f5af7663dee256849e2f2b1b63
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-11-28 21:42:59 +01:00
GiaSen
cc7f5fae2e Revert "kunlun2: nuke fm radio [WIP]"
This reverts commit 3dd2159bf0.
2020-11-28 21:42:33 +01:00
GiaSen
936551ec37 kunlun2: Pixel Experience 11
Nuked safailnet and pixel prop
 Nuked CarrierSettings
2020-11-28 17:22:10 +01:00
GiaSen
021d6e59ee kunlun2: Build libhwbinder 2020-11-17 13:34:37 +01:00
GiaSen
2981e944d7 kunlun2: Build libhidltransport 2020-11-17 12:34:51 +01:00
GiaSen
6f69e21cbf kunlun2: Import and bind mount stock audio policy configuration 2020-11-13 00:01:13 +01:00
Roshan Pius
62c81ec8a9 kunlun2: Add WifiOverlay
Bug: 148617260
Test: Device boots up and connects to wifi networks.
Change-Id: Iec27a6d947a232a42451ef095dc73d1a52327db5
2020-11-12 15:14:46 +01:00
GiaSen
3976e2254b kunlun2: Nuke USB custom Hal 2020-11-08 13:04:35 +01:00
GiaSen
3dd2159bf0 kunlun2: nuke fm radio [WIP] 2020-09-19 17:27:11 +02:00
GiaSen
0851a6c2f3 kunlun2: build 29 extra vndk 2020-09-19 17:26:49 +02:00
GiaSen
cce79e583c kunlun2: add google priv-app permissions 2020-09-12 17:07:17 +02:00
GiaSen
b6dd129962 kunlun2: add proper thermal config 2020-07-26 17:36:03 +02:00
SamarV-121
95f0e15db8 sdm710-common: Build LiveDisplay HAL only on Plus varient
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-06-23 18:39:36 +02:00
SamarV-121
9c08f2920c sdm710-common: Use TARGET_COPY_OUT_SYSTEM 2020-06-23 18:39:36 +02:00
dianlujitao
9f4e1f5807 sdm710-common: Build LiveDisplay HAL
Change-Id: I4bfac85c64599ced45983a86d98cfd810a97db99
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-06-23 18:39:36 +02:00