Commit graph

66 commits

Author SHA1 Message Date
Ultra119
a4a9630750
sdm710-common: Remove deprecated TARGET_USES_QTI_CAMERA_DEVICE
* Dead as of https://review.lineageos.org/c/LineageOS/android_vendor_lineage/+/331507.

Change-Id: I8ec420d6264fee70a1602eecdbb4f34f2e5db3dc
2023-06-17 17:03:57 +03:00
Arne Coucheron
46a4c6f95d
sdm710-common: Set TARGET_DISABLE_POSTRENDER_CLEANUP := true
To fix the bad UI lag we are experiencing.

Change-Id: I3edb25f93c58b87431a1802726f31123200f75d3
2023-06-17 17:03:51 +03:00
Pranav Vashi
79b2fec6ce
sdm710-common: Switch to jemalloc for libc
* Benchmark shows improvement.

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Sageofd6path <mail2anirban95@gmail.com>
2023-06-17 17:03:47 +03:00
Mohammad Asaad Akram
a3b4e88dd3
sdm710-common: Enable asynchronous library events in WPA supplicant
Change-Id: I3b028afa54605bd57d9fb5700d792cb9e5e0e76f
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-06-17 17:03:42 +03:00
Lisa Liu
c264973aa9
sdm710-common: Enable LZ4 compression for ramdisks
* This shortens the time to unpack initramfs.

Change-Id: Id23daba43ae7a6003cbde29480d2f433f344df73
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-06-17 17:03:42 +03:00
09712ee597
Revert "sdm710-common: Switch to Vulkan UI renderer"
This reverts commit 599bcd1d038ae12c6b5bd01069a5dcb51d5c2753.
2023-06-17 17:03:40 +03:00
e6586f7345
sdm710-common: Add FP Gestures
7d34f1a19d/include/uapi/linux/input-event-codes.h (L177)

7d34f1a19d/drivers/input/fingerprints/jd2019_goodixfp/gf_spi.h (L23)

Nowhere have I seen it shown where to take the values from, so I'll do this
2023-06-17 17:03:40 +03:00
Danny Lin
5db47d29dd
sdm710-common: Switch to Vulkan UI renderer
We tried doing this on Android 11 and later reverted it due to fd leaks
during prolonged video calls. However, the issue has been fixed on
Android 12, so let's enable it again for performance.

Nanhumly:
SystemUI Lag encountered in Android13 QPR1, probably related to OpenGLRenderer

E/OpenGLRenderer( 1556): Unable to match the desired swap behavior.
W/Parcel  ( 1556): Expecting binder but got null!
D/OpenGLRenderer( 2414): endAllActiveAnimators on 0x7adac3e100 (RippleDrawable) with handle 0x7a3803b540

So switch to Vulkan UI renderer for now, even though it has rendering problems in some interfaces.

Change-Id: I1cd2ca6931aad60f9c48d40aa0212b69c68edef8
Signed-off-by: Nishant Kumar <www.rajsonu13@gmail.com>
2023-06-17 17:03:34 +03:00
Edwin Moquete
69749103ae sdm710-common: Switch to legacy sepolicy_vndr
Change-Id: I13229c3057bf32c81b0fdace075f0791cb8ad380
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2023-01-27 22:53:22 +01:00
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