Commit graph

585 commits

Author SHA1 Message Date
Amit Shekhar
211d717beb
Add system call to the SE whitelist
Add system call to the SE policy whitelist

Change-Id: I1793d20c49f838929aa0dc1720eb062535ae8f09
CRs-Fixed: 2050577
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:01 +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
Dhananjay Kumar
799b8745bb
init: update audio hal service override as per latest base service definition
Change-Id: I1c57ad2e448a95230a4adfff8fba94ffb0cddead
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:58 +02:00
Dan Pasanen
923fbb3963
rootdir: Turn down debugging on wpa_supplicant
Change-Id: I15f8aff12ebcccbc97263b1d82b7ec0d3baea263
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:57 +02:00
Hai Shalom
2222a23732
rootdir: Add supplicant 1.2 to init.qcom.rc
Add missing supplicant 1.2

Change-Id: I34577cac4892563774f035d3a68ed17cc1edeeb9
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:57 +02:00
Bruno Martins
6fc983fdd7
config_fs: Remove wcnss_filter
* No longer needed with QTI BT stack

Change-Id: I6c30349e177613adf943f20d1f27bcd0b936911d
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:57 +02:00
DennySPb
fadf940608
Update config_fs from LA.UM.8.3.r1-08500-sdm845.0
Signed-off-by: DennySPb <dennyspb@gmail.com>
Change-Id: Iff3e29a4da61250cdee131e30bd663b048f17bf0
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:57 +02:00
Sachin Mohan Gadag
1f1f7eeea2
rootdir: Update rc files
- Add fileownership as root:system with 0660
  permission for cpu_dma_latency dev node.
- Register audio service to system group to
  access cpu_dma_latency node.

Change-Id: Ib832634d74f488ece0879fb05781646b1f4ee7a1
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:57 +02:00
Veerubhotla Hari
50d7c3e65e
rootdir: Change ownership of /data/vendor/tombstones to system
Change ownershiip of /data/vendor/tombstones to system

Change-Id: Ia8583c48c80fc97d68df912f0672ff0cd2cb6510
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:56 +02:00
Hari Veerubhotla
3762cdea9b
rootdir: Clean-up tombstone related commands in rc
Accessing /data/vendor/tombstones causing sepolicy denials.

Change-Id: I0230025822e681bd1402893725d83e2b2d2742b0
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:23:56 +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
Giammarco Senatore
47f9cbc14b
kunlun2: Nuke neverallows 2021-05-14 15:13:34 +02:00
Georg Veichtlbauer
9e6425cf23
kunlun2: sepolicy: Allow changing read-ahead value in init
Change-Id: Id39212dcc9927192138b871a29f0bbafc85403ca
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-04-01 18:28:27 +02:00
Giammarco Senatore
60e9c1b64a
Create LICENSE 2021-03-22 09:45:31 +01:00
Giammarco Senatore
3c5b08ccc6
kunlun2: update Gcam to MGC_8.1.101_A9_PV0h_snap 2021-02-21 11:18:27 +01:00
Giammarco Senatore
ca7e2b32a0
kunlun2: Enable aux cameras 2021-02-17 15:29:54 +01:00
Giammarco Senatore
e0a7933eff
kunlun2: addressed some denials 2021-02-15 15:41:06 +01:00
Giammarco Senatore
6ab15e1726
Revert "kunlun2: drop soundtrigger hal"
This reverts commit 9e0bb715c6.
2021-02-15 15:41:06 +01:00
xyyx
ad74ced2e6
kunlun2: Address FM Radio denials 2021-02-15 15:41:06 +01:00
akhilnarang
0febe60110
kunlun2: Flash dtbo and print what's being flashed 2021-02-10 19:12:11 +01:00
Giammarco Senatore
8895212b30
kunlun2: Build kernel from source 2021-02-10 12:11:25 +01:00
Giammarco Senatore
3da4b8031b
Partially revert "kunlun2: light: minor cleanup"
This reverts commit 1d06f837c1.
2021-02-10 12:11:20 +01:00
jjpprrrr
9e0bb715c6 kunlun2: drop soundtrigger hal
Co-authored-by: SamarV-121 <samarvispute121@gmail.com>
2021-02-05 20:11:54 +01:00
Giammarco Senatore
0b5d4137fa kunlun2: We are still shipping CarrierSettings 2021-01-23 21:09:51 +01:00
Giammarco Senatore
28f5e83463 Revert "RMX1851: Kang CarrierConfig overlay from oneplus_sdm845-common"
This reverts commit 3eac25c37e.
2021-01-23 21:07:23 +01:00
mikeNG
25f2ae1553 kunlun2: Switch to standalone extract utils 2021-01-23 15:38:21 +01:00
Giammarco Senatore
0e92220187 kunlun2: Enable ADB on eng builds 2021-01-23 15:38:16 +01:00
TTTT555
da0889b45a kunlun2: Add camera aux package list
- Required for third party apps to use their built in camera e.g Telegram

Signed-off-by: Zinadin Zidan <zidan44@pixelexperience.org>
Change-Id: I22ab565d7d75e278faf4600cd5aecec59164bf8f
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2021-01-21 18:40:16 +01:00
Giammarco Senatore
60633c1215 kunlun2: Update and cleanup init qcom rc
* we don't have some paths
 * we have emmc
2021-01-21 18:31:18 +01:00
GiaSen
abdf28791a kunlun2: sepolicy: cleanup and update 2021-01-02 21:05:16 +01:00
GiaSen
1d06f837c1 kunlun2: light: minor cleanup 2021-01-02 18:40:14 +01: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