Commit graph android_device_samsung_a20/universal7885-common/universal7885-common.mk
Author SHA1 Message Date
roynatech2544
1f8d0619cc
[APTX] universal7885: Add APTX support
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:55:39 +09:00
roynatech2544
036c61b3a4
universal7885: Add headset event keylayout file
Keylayout files map linux kernel event codes to android input listener. By default all input uses Generic.kl which can be wrong. Using custom keyout files solves this.
The linux kernel has all kernel-specific event codes listed on include/uapi/linux/input-event-codes.h. Remapped key VOLUME_DOWN, VOLUME_UP which is different from Generic.kl

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:55:10 +09:00
Ryan Mitchell
9d3092d1a8
universal7885: Use component-override to configure Bluetooth
Runtime Resource Overlays (RROs) can no longer change the value of
resources in manifest when read during PackagerParser.

This change uses component-override to enable the service by default.

Remove usages of profile_supported_* from overlays as they no
longer configure the enable state of Bluetooth components.

Bug: 135048762
Test: adb shell pm query-services \
      com.android.bluetooth/.avrcpcontroller.AvrcpControllerService
      adb shell pm query-services \
      com.android.bluetooth/.hfpclient.HeadsetClientService
      adb shell pm query-services \
      com.android.bluetooth/.sap.SapService
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:54:01 +09:00
roynatech2544
56881cba9b
universal7885: SamsungParts: Address 'variable shadowed' warning 2022-03-22 18:53:52 +09:00
roynatech2544
1e85da25a4
universal7885: copy more feature xml files (We have them)
* Nfc: Copy only needed files

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:53:43 +09:00
roynatech2544
98092a64c1
universal7885: Compile audio.a2dp.default
* The a2dp_audio_policy_configuration.xml is copied to /vendor, but it's not used due to missing audio.a2dp lib

* Test: Boots, Bluetooth Works

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:53:43 +09:00
roynatech2544
dac87c4a19
universal7885: SamsungParts: Address deprecation
* Of android.preference. Need to use Jetpack support lib

Change-Id: I21bbd31c766179fe51fec4b812a6daa1e223a664
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:52:43 +09:00
roynatech2544
c48a35ed9d
universal7885: Add remove_packages to nuke useless apps 2022-03-22 18:52:43 +09:00
Soo-Hwan Na
cbd2a71413
universal7885: Make only framework-res RRO 2022-03-22 18:52:43 +09:00
roynatech2544
66f75b75ab
universal7885: Copy more media codec xml files 2022-03-22 18:52:42 +09:00
roynatech2544
c78bdbd31f
universal7885: enable generating of framework-res__auto_generated_rro_vendor.apk
* Useful on OSS Vendor + GSI

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:52:42 +09:00
Tim Zimmermann
cadd533317
universal7885: Enable support for freeform windows and picture-in-picture
* Add some android.software.* features too

Change-Id: Ia15b498d1ac378d2be586855c32ccfe22cd216b4
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:52:21 +09:00
roynatech2544
342dfddf51
universal7885: Use PRODUCT_PACKAGES for gsi_skip_mount.cfg
Change-Id: Iaf74e3bbac79ee74b8c67d89cfa34bbffc02ba68
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:51:48 +09:00
roynatech2544
69e0a3118c
universal7885: Nuke SamsungDoze
* What does it do?

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:51:48 +09:00
roynatech2544
24a7ead3a9
universal7885: Stop copying light sensor permission file
* A20, A20e don't have light sensor hardware

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:51:48 +09:00
Tim Zimmermann
5fc20541b8
universal7885: Switch to AIDL libperfmgr power HAL
Change-Id: I56928037bf543accb3175ea50c674f80a3f60b99
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:51:23 +09:00
roynatech2544
3eeab18801
SamsungParts: add Dolby Atmos entry
* Basic ideas taken from https://github.com/SamarV-121/android_device_samsung_universal7885-common/tree/lineage-19.0/dap
2022-03-22 18:48:08 +09:00
LuK1337
3939a12b88
universal7885: Enable DAP effect on boot
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Change-Id: I669fcd7d1e8ace82e6005df41e8c7c63ee26f248
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:47:35 +09:00
roynatech2544
b362f0a2e2
univesal7885-common: configs: organize files
Change-Id: Iaa8986a19fcc82ae664fc7a42d20306f9d00d04c
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:47:30 +09:00
roynatech2544
72ef5ad4ad
universal7885: audio: Use new audio policy xml file (7.0)
6ddcc44615
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:44:59 +09:00
roynatech2544
4be89c2de6
universal7885: compile sgdisk
Which is a useful tool to manage mmc disk
2022-03-22 18:39:26 +09:00
Gabriel2392
fda5db44cc
universal7885: disable apex compressing
Causes radnom bootloop
2022-03-22 18:39:11 +09:00
roynatech2544
93778fc639
universal7885: Fixup merge errors 2022-03-22 18:35:49 +09:00
roynatech2544
0fc8d0c629
a20: Address SELinux denials
* Additionally, try to save more battery on CameraLightSensor

Change-Id: I8a3a86a67eeefb0b023e4162f0a32c9ecca20ff4
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:35:27 +09:00
Gabriel2392
aa12d2a377
universal7885: CameraLightSensor: Finalize code 2022-03-22 18:35:01 +09:00
roynatech2544
6fb48f8f49
universal7885: Merge common thing and cleanup
Change-Id: I05c133732980792d49e0495c343e39f8a58b11f9
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:33:37 +09:00
roynatech2544
d195a1d848
universal7885: Add prebuilt GCam 2022-03-22 18:33:16 +09:00
roynatech2544
c7f80dea23
universal7885: Set correct board name
* It fixes sensor module not loading

Change-Id: I784c29465908f29e8eaa1cdb8f56b82a0c3cab4a
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:31:44 +09:00
roynatech2544
588ef40ab6
universal7885: Set extra vndk version to 30
Change-Id: I736e8877ddb3bc6ae9083c89945ec833cd23dbe9
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:29:37 +09:00
roynatech2544
c1a9d9f071
universal7885: SamsungParts: add gpu, selinux and update related sepolicy 2022-03-22 18:29:22 +09:00
roynatech2544
1bcf57f719
universal7885: SamsungParts: Add new HIDL
* Related to flashlight
* Also, build it
2022-03-22 18:26:48 +09:00
roynatech2544
cd89f5aef2
universal7885: Add seccomp policy from stock vendor
Change-Id: I41acebdfc6de95cbe2cb97462870427a472094e7
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:22:28 +09:00
Gabriel2392
af95ebdf2b
universal7885: Import debugging script
* https://github.com/SamarV-121/android_vendor_extra/blob/android-12.0/prebuilt/init/debugging.rc
2022-03-22 18:18:36 +09:00
roynatech2544
c8719f9b92
universa7885: commonize build fingerprint
* Sperate it to a sperate makefile
2022-03-22 18:17:01 +09:00
roynatech2544
651386dfff
universal7885: add Samsungparts
* It is based on XiaomiParts usually found on Xiaomi device trees

Change-Id: If34ba79bba05ede0ce98bbedf14a1c318bee8fc4
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:16:05 +09:00
Chatur27
b6f0f3e1bb
universal7885: Allow copying of APKs
Change-Id: Ic1a66da7861370feb34a59faa03fb9c6e499ec42
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:15:26 +09:00
Edwin Wong
c0753280c8
universal7885: Update clearkey plugin to drm HAL v1.4
Test: atest
  atest CtsMediaTestCases:android.media.cts.MediaDrmClearkeyTest#testGetPlaybackComponent

Bug: 182525516
Change-Id: I3adf55199301768bacb38103c3ef4ba24807df2f
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:15:11 +09:00
SamarV-121
0a0b654afa
universal7885: Uprev audio HAL to 7.0
Change-Id: Ib62f81c407d1e140d5501878d025deb2ee47a73b
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:15:11 +09:00
SamarV-121
3e189833f6
universal7885: Build needed vendor interface libraries
Change-Id: I212841eca5cdcea5fb3199fb7e821f29c492e1f1
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:15:10 +09:00
SamarV-121
5f9f65082c
universal7885: Move PRODUCT_CFI_INCLUDE_PATHS definition to product makefile
`error: cannot assign to readonly variable: PRODUCT_CFI_INCLUDE_PATHS`

Change-Id: I11db13fef959c1bbe5f44ffe04cd581f907b1104
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:14:48 +09:00
SamarV-121
ae36727519
universal7885: Delineageify
Change-Id: I0e2f60bb4ff6c5e095f5e5a57cf4bee9ed0ac2b6
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:14:48 +09:00
LuK1337
97a81dec31
universal7885: Enable DAP effect on boot
Change-Id: I07daeebc1a4b51905e7551081b1530e0502689d2
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:14:48 +09:00
SamarV-121
cc5d68d326
universal7885: Remove unsupported soundtrigger HAL
Change-Id: I7cee72ec984c56d25d262c6120f6508451982b9c
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:14:47 +09:00
SamarV-121
917254017b
universal7885: Copy audio volume configs from source
Change-Id: I26cf4bd17483388c6d359fcd5c7dec5a357fbbfe
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:14:47 +09:00
roynatech2544
f8eb3e1258
universal7885: Inital port to A20/A20e
Addtitionally, Add device-specific trees as well

Change-Id: Icbbc31c063b18bce3702d0b208a0aee78148a7c0
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:08:09 +09:00
Renamed from universal7904-common.mk (Browse further)