Commit graph

213 commits

Author SHA1 Message Date
Timi Rautamäki
9390968535
sdm660-common: Use TARGET_COPY_OUT_SYSTEM instead of system/
Change-Id: I0c173371db1d6709e37c4c03bdaeb64ca902999b
Signed-off-by: pix106 <sbordenave@gmail.com>
2021-06-27 17:24:10 +06:00
OdSazib
0ecad1348f
sdm660-common: Build libqdMetaData.vendor
- Not required for system anymore as it's already
  system_ext specific on display hal
2021-06-19 02:47:58 +06:00
clarencelol
20efaf472b
sdm660-common: Switch to Thermal 2.0 mock
* QTI Thermal couldn't read the temperature for some reason
2021-06-15 21:48:17 +06:00
OdSazib
c707948bcc
sdm660-common: Downgrade android.hardware.secure_element
- Also remove manifest entry
2021-06-15 17:32:47 +06:00
OdSazib
491969fae8
sdm660-common: Uprev camera.provider to 2.6
- Also camera.device to 3.5
2021-06-15 17:32:47 +06:00
OdSazib
d002971ef8
sdm660-common: Update RIL from curtana V12.0.1.7.RJWMIXM
- Update android.hardware.secure_element to 1.2
- Update android.hardware.radio to 1.5
- Update vendor.qti.hardware.radio.uim_remote_client to 1.2
- Downgrade vendor.qti.hardware.radio.lpa to 1.0
- Add seccomp_policy for imsrtp
- Remove duplicate vendor.qti.hardware.radio.qtiradio entry
- Remove libshim for libdpmframework
- Adjust props with new RIL blobs

Signed-off-by: OdSazib <odsazib@gmail.com>
2021-06-11 08:33:27 +06:00
Lucchetto
09dfad32be
sdm660-common: Create dummy libqti-perfd-client
* proprietary perfd blobs can finally be nuked without breaking goodix
* we could even map the functions to use libperfmgr powerhints in the future

Signed-off-by: Lucchetto <lucchetto.tie@live.com>
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-06-07 09:22:17 +06:00
EcrosoftXiao
bcee3d7841
sdm660-common: Switch to QTI Thermal HAL 2021-06-07 09:22:17 +06:00
LuK1337
d03e299b1d
sdm660-common: Drop thermal and thermal controller 2021-06-07 09:22:17 +06:00
pkm774
8f1fbab141
sdm660-common: Build graphics.allocator@3.0 and @4.0
565 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.allocator@4.0::IAllocator/default in either framework or device manifest.
  4126 W Gralloc4: allocator 3.x is not supported
   565 I hwservicemanager: getTransport: Cannot find entry android.hardware.graphics.allocator@3.0::IAllocator/default in either framework or device manifest.
  4126 W Gralloc3: allocator 3.x is not supported
  4126 I Gralloc2: Adding additional valid usage bits: 0x0

Signed-off-by: pkm774 <mprabhat774@gmail.com>
2021-06-07 09:22:17 +06:00
OdSazib
8ae20c8315
sdm660-common: Required HALs for 4.19
- Update all dependencies to my git as well
2021-06-07 09:22:17 +06:00
Omar Hamad
83706265c1
sdm660-common: props: Refactor all properties 2021-05-18 05:04:03 +06:00
Erfan Abdi
c90398c16f
sdm660-common: Don’t enforce RRO for all overlays
* Breaking /product/overlay
* Also this makes many platform specific overlays with current system API on vendor partition which breaks newer android version compatibilities (broken stuffs in gsis)

Change-Id: I45eb18b0754726fb4f779521a0245dfcb1259b17
2021-05-18 05:04:03 +06:00
OdSazib
996be98aad
sdm660-common: Use custom R hals for sdm660
* R hals and adapted for product config
 * If your rom uses boardconfig for hal and soc,
   place them to BoardConfig instead
2021-05-18 05:04:03 +06:00
OdSazib
4d2ff378d2
sdm660-common: gps: Remove duplicate build/copy rules 2021-05-18 05:04:03 +06:00
OdSazib
53c3064ba1
sdm660-common: audio: Update audio configs and enable soundtrigger 2021-05-15 07:20:19 +06:00
dianlujitao
4cfd18a6ad
sdm660-common: Switch to Audio HAL v5
All devices use pre-R audio.bluetooth_qti.default.so and platina uses
pre-R audio hal, in which the new set_event_callback API is not
implemented and the audio service will crash due to mismatched struct.

Change-Id: Ia330ac05d84d3dfb3a639458d66a3dc29689e67c
2021-05-15 06:03:01 +06:00
Jabiyeff
1607e1fe49
sdm660-common: Import AdaptLaunch and some other perf
* From LA.UM.8.6.2.r1-08600-89xx.0

Test: Better app launching time

Signed-off-by: Jabiyeff <cebiyevanar@gmail.com>
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-04-18 21:59:36 +06:00
OdSazib
ef00e5f20b
sdm660-common: DeviceSettings: Import in-app Dirac
- Improve code with reference and split gain category

This reverts commits
- 471da74
- de7135d
- f6c011d

All credit goes to Stylog, this is just revert commits with few improvement

Co-authored-by: clarencelol <clarencekuiek@icloud.com>
2021-04-10 02:24:09 +06:00
OdSazib
c7d2cbca99
Revert "sdm660-common: import Hotword Enrollment blobs"
- Useless stuffs which don't work at all

This reverts commit f77adb24dd.
2021-04-03 18:22:51 +06:00
etahamad
f6c011d64d
sdm660-common: audio: Add standalone Dirac support 2021-04-02 01:16:05 +06:00
OdSazib
8a564e1ad4
sdm660-common: Build wfd dependency blobs from source
* Avoid manifest entry for old blobs compatibility
* Must use display hal from https://github.com/AOSP-11
2021-03-22 13:01:45 +06:00
OdSazib
4580d94c55
sdm660-common: Roll back to wayne-thermal
* jasmine thermal leads to:
 - 50% reduction in Geekbench scores for multi-core
 - Problem with rapid charging for higher ambient temperature

These wayne-configs fix the above issues
2021-03-17 12:22:56 +06:00
OdSazib
6166317281
sdm660-common: Build power stats and label it 2021-03-15 12:21:09 +06:00
Subhajeet Muhuri
d41d782c92
sdm660-common: Include hardware/google/interfaces and hardware/google/pixel
* Required by power-libperfmgr

Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
2021-03-10 12:37:38 +06:00
Subhajeet Muhuri
114f2a0905
sdm660-common: Add atrace-hal build rule 2021-03-10 12:37:38 +06:00
Subhajeet Muhuri
7c3beb85c9
sdm660-common: power-libperfmgr: Switch to AIDL Power HAL
hardware/google/pixel/power-libperfmgr from android-11.0.0_r25

SQUASHED:
Revert all HIDL interface and nuke previous changes
Import Pixel libperfmgr AIDL Power HAL
Adapt and rebrand for xiaomi_sdm660
Remove Google-specific display LPM control
Remove Google-specific camera and audio hints
Remove VR hints handling
Remove audio hints handling
Remove dumpstate support
Initialize powerHAL when boot is completed
Add support for tap-to-wake feature control
Add sepolicy rules for power-libperfmgr
Enable power-libperfmgr

Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
2021-03-10 12:37:27 +06:00
Manish4586
4aec2ab1c3
sdm660-common: audio: Switch to audio hal v4 2021-03-10 03:50:49 +06:00
OdSazib
d31c630682
sdm660-common: Fix sensorservice 2021-03-10 03:45:52 +06:00
OdSazib
1977da527c
sdm660-common: Import gps configs from LA.UM.9.6.2.r1-03600-89xx.0 2021-03-06 20:26:06 +06:00
PIPIPIG233666
8c0971fdfc
sdm660-common: Build new GNSS stack
Signed-off-by: clarencelol <clarencekuiek@icloud.com>
2021-03-03 00:01:41 +06:00
OdSazib
5fd6060869
sdm660-common: Checkout gps hal from LA.UM.9.6.2.r1-03300-89xx.0 2021-03-03 00:01:41 +06:00
OdSazib
245f36f6ed
sdm660-common: Build libavservices_minijail
To eliminate linker error and fix ims_rtp_daemon:
--------------------------------------------------
CANNOT LINK EXECUTABLE "/vendor/bin/ims_rtp_daemon": library "libavservices_minijail.so" not found: needed by main executable
2021-03-02 23:47:30 +06:00
Michael Bestas
b3e57baf6e
sdm660-common: Don't build tinymix
* This tool can be built manually for debugging cases,
  there is no need to ship it in production

Change-Id: I9ab8b076b4bede70c368c198960ceabc68dad65b
2021-03-02 23:47:29 +06:00
Ethan Chen
ce8a29230c
sdm660-common: Remove unnecessary usage of TOPDIR
Change-Id: Iafaa21f49c9ddb1fed21e83948d549f5a74dcfee
2021-03-02 23:47:29 +06:00
etahamad
e923bda27e
sdm660-common: Move IPA flag to sdm660 make file
to fix error: build/make/core/base_rules.mk:329: error: device/xiaomi/sdm660-common/data-ipa-cfg-mgr/hal: MODULE.TARGET.SHARED_LIBRARIES.liboffloadhal already defined by vendor/qcom/opensource/data-ipa-cfg-mgr/hal.

Signed-off-by: etahamad <220190166@fa-hists.edu.eg>
2021-03-02 23:43:22 +06:00
Martin
1939009ca9
sdm660-common: Decommonize screen density
* Not a good idea when we support multiple devices with different screen densities
2021-03-02 23:43:03 +06:00
OdSazib
2228811ec0
sdm660-common: Add wfd dependency blobs
* From LA.UM.9.6.2.r1-03300-89xx.0

To eliminate these errors:
--------------------------
CANNOT LINK EXECUTABLE "/vendor/bin/wifidisplayhalservice": library "libdisplayconfig.qti.so" not found: needed by /vendor/lib/libwfddisplayconfig_proprietary.so in namespace (default)
CANNOT LINK EXECUTABLE "/vendor/bin/wifidisplayhalservice": library "vendor.display.config@2.0.so" not found: needed by /vendor/lib/libwfddisplayconfig_proprietary.so in namespace (default)
2021-03-02 23:42:26 +06:00
etahamad
5cc1fbddac
sdm660-common: Move props from system to product
Test: using su shell: ex: getprop persist.timed.enable and check if the value exist or not.
Fix: Moving prop into his right path
2021-02-22 18:17:59 +06:00
etahamad
6c1d0626ea
sdm660-common: Move some QCOM props to system_ext
Test: using su shell: getprop persist.vendor.dpm.feature and check if the value exist or not.
Fix: Moving prop into his right path
2021-02-22 18:17:59 +06:00
SakilMondal
feeeb37c82
sdm660-common: add QTI health implementation
Ref: https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/healthd-ext/commit/?h=android-core.lnx.6.0.r7-rel&id=995c63a75db6366c28b3a4c1dcb00a77cba090d4
Change-Id: Ib4406e22626f7c0a85a3c9a70d5bea3fc917f9c1
2021-02-20 11:55:48 +06:00
Subhajeet Muhuri
86fd0cbdb2
sdm660-common: Commonize thermal-engine-config from device (2/1) 2021-02-19 17:17:09 +06:00
etahamad
0814ebe94f
sdm660-common: Stop inheriting depricated gapps makefile 2021-02-16 17:08:21 +06:00
etahamad
54b3390822
sdm660-common: Move some props to system/build.prop
* +Adding some props also

When device is in Enforce mode, this happens:
---------------------------------------------
E init: Do not have permissions to set 'persist.radio.VT_CAM_INTERFACE' to '2' in property file '/vendor/build.prop': SELinux permission check failed
As example, so, moving those props to system/build.prop (from vendor/build.prop) fixes the issue.

Test: adb logcat -b all -d *:E > logcat-err.log and check for any init props related errors
Fix: Enforcing the Device Tree
2021-02-16 17:08:16 +06:00
Chenyang Zhong
f77adb24dd
sdm660-common: import Hotword Enrollment blobs
Co-authored-by: IMMANUEL44 <immanuelr44@gmail.com>
2021-02-09 20:53:35 +06:00
SakilMondal
e5222049af
sdm660-common: Drop non-functional soundtrigger
* Fixes google assistant voice match in android 11
2021-02-09 20:53:21 +06:00
Michael Bestas
72424be3b9
sdm660-common: Cleanup dead targets
Change-Id: Ib1e2965a5e9f16929f1dc11c719d917cd85604d1
2021-02-08 14:06:47 +06:00
Michael Bestas
49080c44df
sdm660-common: Remove unused libextmedia_jni
Change-Id: Id57661f4f1c4143cbd7b69472e6ab4b428ffab4f
2021-02-08 14:06:47 +06:00
Ethan Chen
4c4a6e4e80
sdm660-common: Remove unnecessary netutils packages
* These are already packaged by AOSP.

Change-Id: I77f91fbbb33a6d891d14fe852b094ab914ca3111
2021-02-08 14:06:47 +06:00
Ethan Chen
8228caf1de
sdm660-common: Remove unnecessary media extension packages
* The mediametrics packages are part of the AOSP media stack already.
* libavserviceextensions is not available in Lineage.

Change-Id: Ia05789b6d59ad04e236b20155ac8b9575b0bdab1
2021-02-08 14:06:47 +06:00