Commit graph

57 commits

Author SHA1 Message Date
Bruno Martins
72b553259d sdm710-common: Revise and update audio feature flags and props
So to match what is shipped with stock because prebuilt a-HAL
and extensions are being used.

Change-Id: I74d5bd1de5ea87984ace38076cb5a0bd54736ca6
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-11-12 15:28:55 +01:00
Bruno Martins
822a2aaab1 sdm710-common: Drop custom APM flag along with no-op audio flags
Custom audio policy manager is hard disabled by CAF
for 2 years now. Remove as well the audio feature flags
that were used to configure it.

Change-Id: Idd34d1cbbdb735d6cf0de3b159c2670bf7ddd1e3
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-11-12 15:27:28 +01:00
Michael Bestas
7c1c0cc57b sdm710-common: Remove bdroid_buildcfg.h
As of I3c7aed1bdb45db728d319f7d757400e44d232283 the Bluetooth stack
defaults to reasonable defaults that should work for all devices.

Change-Id: I056d63c4c8a2727e384172e964dc0000b6773504
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-11-12 15:14:56 +01:00
Alexander Koskovich
4006e12c62 sdm710-common: Remove virtual framebuffer
* It's largely for testing purposes and it consumes
   a large amount of memory. If your hardware doesn't
   have graphics then it can be useful, which isn't the
   case for shipped devices.

Change-Id: I2348718ad3afba846498572161fa7e83dd8b7ce9
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2022-09-14 18:56:17 +02:00
GiaSen
518ed57996 sdm710-common: Kang display configs from xiaomi-sdm710
After new kernel has now everything working codecs bug went brr
Thanks sebaubuntu for not helping me :)
2022-09-06 17:16:56 +02:00
GiaSen
341f6909e6 Revert "sdm710-common: switch to S sepolicy_vndr"
This reverts commit fe1019795c.
S is now default one
2022-04-03 15:32:26 +02:00
Giammarco Senatore
2e21c30312
Revert "sdm710-common: relax sysprop owner enforcement"
use 15436 from gerrit until patch gets merged

This reverts commit 2ebb67f1d4.
2022-01-04 21:36:36 +01:00
Giammarco Senatore
fe1019795c
sdm710-common: switch to S sepolicy_vndr 2022-01-03 19:36:06 +01:00
jjpprrrr
e05b539a51
sdm710-common: Address init denial 2021-11-25 20:05:41 +01:00
jjpprrrr
df77b02041
sdm710-common: let's not deal with ELF file copies for now
Basically any non-plain-text files in our proprietary file list
are ELF binaries. Granted that I can use llvm-readobj to check the
headers and build them through cc_prebuilt_binary or
cc_prebuilt_library_shared one by one, but the result is kind of
pointless.

The purpose of cc_prebuilt_binary is to track dependencies by
running check_elf_file.py on them. We have so many proprietary blobs
that it is nearly impossible (and sometimes impractical and undesirable)
to define dependencies.
2021-11-24 20:45:42 +01:00
Giammarco Senatore
040f8d3543
Revert "sdm710-common: Permissive SELinux"
This reverts commit ddee12f5a5.
2021-10-30 12:58:43 +02:00
Chenyang Zhong
2ebb67f1d4
sdm710-common: relax sysprop owner enforcement
Quoting commit afc09932f6fa07c5f6beffbcdc2bb4691e527321 in
system/sepolicy [1]:

"Devices launching with R or eariler can this by setting following
under BoardConfig.mk"

It is impractical to replace every prop definition from qcom to
vendor_property_type for old platforms like SDM845, so relax the
enforcement to avoid triggering millions of neverallows.

ref:
[1] afc09932f6

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-10-20 22:38:25 +02:00
Giammarco Senatore
ddee12f5a5
sdm710-common: Permissive SELinux 2021-10-19 23:37:11 +02:00
Giammarco Senatore
b3fae0714c
sdm710-common: Drop duplicated gralloc1 config 2021-08-16 21:55:24 +02:00
Udaya Bhaskara Reddy Mallavarapu
4cd1b6296d
sdm710-common: Enable 64 bit DRM plugins compilation
Enable 64 bit compilation for DRM plugins.
This will generate DRM plugins, HALs & oemcrypto_test in 64 bit.

Change-Id: I451db39edea3446d9816fcaba77caa8d3b097afb
2021-08-16 21:55:24 +02:00
Giammarco Senatore
6b05d70854
Revert "Add build broken flags in BoardConfig.mk"
This reverts commit ce11e64add.
2021-08-16 21:55:23 +02:00
Giammarco Senatore
09cd80eeb5
sdm710-common: Go enforcing
- major cleanup
- sepolicy from xiaomi-sdm845-common
- label both goodix and fpc
- allystar GPS uart port and ontim nodes
2021-08-11 22:41:19 +02:00
Henrique Pereira
65cb7a78e4
sdm710-common: Split system properties from vendor 2021-08-02 11:57:36 +02:00
Giammarco Senatore
f6f497c743
sdm710-common: Initial commonized tree
* minor cleanup in overlay and init rc
* drop dolby
2021-07-25 21:56:17 +02:00
SamarV-121
9e97efcf3a Convert to kunlun2
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-11 18:58:30 +05:30
SamarV-121
25560d6348 sdm710-common: Bring back qti-telephony-common.jar
This reverts commit 715148fe2f.

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-10 11:56:28 +00:00
itsjoeoui
04dedc6ad1 sdm710-common: Build kernel with GCC 9.3
Signed-off-by: itsjoeoui <maximeyxw@gmail.com>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-05 18:16:41 +00:00
LuK1337
d5c271e20c sdm710-common: Enable custom audio policy
* AOSP one doesn't let us change volume when
  listening to surround audio stream.

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-02 12:27:35 +05:30
SamarV-121
664e59a983 sdm710-common: Enable TARGET_USES_INTERACTION_BOOST
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-30 18:37:36 +05:30
SamarV-121
b84986ea10 sdm710-common: Go enforcing
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-20 23:45:40 +05:30
SamarV-121
a90ade2747 sdm710-common: Ignore neverallows for now
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-20 23:45:37 +05:30
SamarV-121
879aa5df81 sdm710-common: sepolicy: Address selinux denials
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-20 23:45:32 +05:30
luk1337
78c5637be5 sdm710-common: Start using vendor_overlay
* This lets us override files in /vendor without
  relying on bind mounts ^.^

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-17 11:25:54 +05:30
SamarV-121
d1373bf796 Revert "sdm710-common: Remove FM radio for now"
This reverts commit b72df23f96.

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-15 12:07:13 +05:30
SamarV-121
d9862caeec sdm710-common: Unset TARGET_BOARD_PLATFORM_GPU
* Dosen't do anything

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-13 19:00:52 +05:30
Luca Stefani
a1fc2b45b5 sdm710-common: Don't generate APEX image
* Google didn't turn it on on coral, as do we

Change-Id: Ic585c198c261640c5f61589e62ce3abaf52c20d9
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-13 19:00:49 +05:30
SamarV-121
b72df23f96 sdm710-common: Remove FM radio for now
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 20:10:44 +05:30
SamarV-121
715148fe2f sdm710-common: Remove unused qti-telephony-common
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 20:07:09 +05:30
SamarV-121
2be973bcd6 sdm710-common: Switch to vndk 29
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 20:02:31 +05:30
XiNGRZ
20b05916b3 sdm710-common: releasetools: Ship and update vbmeta image
Change-Id: I8bb4da99945eceae3beab77489e6b9e2a47ab972
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-02-19 20:21:24 +05:30
Rashed Abdel-Tawab
df8ea318ad sdm710-common: Build disabled VBMeta image
Change-Id: If3d53ad70c960fe1db85bbebb356062088ee8ce0
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-02-19 20:21:20 +05:30
Vinay Verma
ceb5f7f1e8 sdm710-common: Remove firmware class path for kernel firmware loading
In ueventd support has been added to read firmware path from
vendor. It wil parse /vendor/firmware_mnt/image information
and add in look up path/search path for loading firmware.
Change uid of /vendor/firmware_mnt back to system as kernel
firmware loading is removed. Previously root permissions were
required to support kernel firmware loading.

Change-Id: I560ed75ee07626094acbc879b615190cf3a9faa3
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-02-18 22:02:32 +05:30
SamarV-121
5ee0aca65a Revert "Revert "sdm710-common: Generate the apex image.""
This reverts commit 7ba00d555d.
2020-02-14 09:12:03 +05:30
Dyneteve
9b38fdf2cd sdm710-common: Remove dex flags
* Already enabled on Q

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-02-14 09:12:02 +05:30
theimpulson
51751c88eb sdm710-common: Build FM2
Change-Id: I8623cc4662b9dfcd59a52a87f365e679968b19bb
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-26 17:57:13 +00:00
SamarV-121
7ba00d555d Revert "sdm710-common: Generate the apex image."
This reverts commit def6db396f.
2019-12-17 06:31:46 +00:00
SamarV-121
c4eef6e799 sdm710-common: Cleanup useless flags and packages
* Do not enable hal3 by default
 * Remove snap too

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-12-17 06:25:15 +00:00
Anton Hansson
5221fa9128 sdm710-common: Set cpu "runtime variant" to cortex-a75
This makes bionic and various art tools that compile/runs cpu-specific
code choose the cortex-a53 variant at runtime. It does not affect
build-time compilation.

Bug: 120773446
Test: bionic benchmarks with and without this change
Change-Id: I670c8acd094090135515688c5f057c2cc08a083f
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-11-30 09:07:03 +00:00
SamarV-121
9934de7ac2 sdm710-common: Nuke sepolicy for now
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-11-27 11:48:54 +00:00
LuK1337
722e3cdafa sdm710-common: Update device/qcom/sepolicy include paths
Change-Id: I5c242b8db7e92d753d19bf9c42f2394b9e6a0c6a
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-12 09:41:58 +00:00
LuK1337
172e69cd0d sdm710-common: Make SELinux great again!
Change-Id: Id479e031b584b24f79377aa244add20903a42b02
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-12 09:41:10 +00:00
Nicolas Geoffray
def6db396f sdm710-common: Generate the apex image.
Change-Id: I18a76766590db27a4c32534dc948f55f78da166c
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-12 09:38:10 +00:00
LuK1337
d2e539a606 sdm710-common: Copy Android P VNDK blobs
Change-Id: I4f2f48ca4810247b2b951de27b82da0769f7d1b1
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-12 09:35:56 +00:00
Anton Hansson
35020fa942 sdm710-common: Use generic arch variant
Follow blueline which has not demonstrated any regressions
after switching to a generic arch variant.

Bug: 120773446
Test: make
Change-Id: I9e23963fcfa5ccaa912f2930a632458c4d2a692d
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2019-10-12 09:35:13 +00:00
rajatgupta1998
05d36b9b1e sdm710-common: remove TARGET_USES_HWC2 flag
* Enabled by default on P
 * d265c42386
2019-10-12 09:31:05 +00:00