Commit graph android_device_samsung_a20/universal7885-common/universal7885-common.mk
Author SHA1 Message Date
Tim Zimmermann
cd2039b47a
universal7885: Switch to opensource secril_config_svc
* Depend on https://review.lineageos.org/c/LineageOS/android_hardware_samsung/+/319921

Change-Id: Ife2b16a2df2549ed298d3c2f866861379428366e
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:17 +09:00
Tim Zimmermann
a3850a3ba8
universal7885: Switch to new AIDL vibrator HAL
Change-Id: If10972cce06dd5128729d4d7409c57f79775b09b
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:16 +09:00
Tim Zimmermann
8034522881
universal7885: Switch to new AIDL light HAL
Change-Id: I7917b1da162e28187216fc8f55f164fae2ec8eef
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:16 +09:00
roynatech2544
366d425cc0
universal7885: fingerprint: match latest changes from lineage
* remove fingerprint vintf entry
* Uprev to 2.3

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:16 +09:00
roynatech2544
ba4f5671b1
universal7885: enable nfc for all a202f
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:16 +09:00
roynatech2544
8b8df6d333
universal7885: don't copy com.android.nfc_extras.xml
* It was already being copied

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:15 +09:00
roynatech2544
d77d80d2c5
universal7885: re-commonize fingerprint hal 2022-03-22 19:02:15 +09:00
roynatech2544
59e0ac89e7
universal7885: props: add ro.csc. 2022-03-22 19:02:14 +09:00
roynatech2544
3cb0ede6bb
universal7885: movee codec3035 keylayout to /vendor 2022-03-22 19:02:14 +09:00
Tim Zimmermann
a096bb29ed
universal7885: Enable fingerprint gestures
Change-Id: I3289fac865b8d7bf5900d8fa8b3f5b03b818a230
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:13 +09:00
roynatech2544
6ef9da0b1e
universal7885: address camera selinux denials 2022-03-22 19:02:13 +09:00
roynatech2544
a94e055586
universal7885: switch to pixel thermal hal
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:12 +09:00
Soo-Hwan Na
d73b22bb82
universal7885: update permission copy files
* com.android.nfc_extras depend on /system
* platform_samsung depends on every aosp rom, therefore /vendor
2022-03-22 19:02:09 +09:00
Soo-Hwan Na
d79555e8bf
universal7885: don't import universal7885 vendor for a30
*unused
2022-03-22 19:02:09 +09:00
roynatech2544
5e14e4c0e8
universal7885: change device detection logic 2022-03-22 19:02:08 +09:00
roynatech2544
a4a10c2cf1
Revert "universal7885: Enable graphics mapper version 2.1"
This reverts commit 367d9b7d3758079136eb919b92ce9192bfcae49e.
2022-03-22 19:01:55 +09:00
Soo-Hwan Na
c56efffc58
universal7885: proprietary blob setup auto 2022-03-22 19:01:49 +09:00
roynatech2544
c5e1598aaa
treewide: decommonize sensor service 2022-03-22 19:01:48 +09:00
roynatech2544
07b209df81
universal7885: Major (de)commonize due to prev commit 2022-03-22 19:01:33 +09:00
Soo-Hwan Na
1f163c5496
universal7885: remove soundtrigger HAL
* since we don't have soundtrigger module (sound_trigger.primary.exynos7884B.so), this hal does nothing but crashing
2022-03-22 18:57:41 +09:00
Midas Chien
cbc34f8e37
universal7885: Uprev graphics.composer to 2.4
Move sunfish to composer 2.4 interface for the R api additions.

Bug: 148836379
Test:
1. $adb shell lshal | grep 'composer'
    android.hardware.graphics.composer@2.4::IComposer/default

2. $adb shell lshal --init-vintf
<hal format="hidl">
   <name>android.hardware.graphics.composer</name>
   <transport>hwbinder</transport>
   <fqname>@2.4::IComposer/default</fqname>
</hal>

3. adb shell ps | grep 'composer'
system ... android.hardware.graphics.composer@2.4-service-sm8150

4. vts-tf > run vts -m VtsHalGraphicsComposerV2_4Target
5. Check FOSS work

Change-Id: Ic3e78b7ff04802120765b04f782021b405d2494f
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:57:41 +09:00
Arvind Kumar
01f39bb63c
universal7885: Enable graphics mapper version 2.1
Enable graphics mapper version 2.1

Change-Id: Iad70754a980eadcfd68752c76e569b503d398fae
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2022-03-22 18:57:41 +09:00
roynatech2544
eaab77ceff
universal7885: Add other 7885 devices
* A10, A30, A40

Change-Id: I92829c4d3b11e2759f08ef04fe4d4d60ff352a0b
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:57:19 +09:00
roynatech2544
4584ec21f2
universal7885: CameraLightSensor: Set notification to low priority
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:57:19 +09:00
Andrew Thomas
fbee692135
universal7885: Add Notch Bar Killer overlay
* This overlay gets rid of the black bar in most apps/games
   and lets the screen fill past the notch.

Change-Id: Ic008ce5d569127d230dc44451929477e063c4471
Signed-off-by: Josh Fox (XlxFoXxlX) <joshfox87@gmail.com>
Signed-off-by: Anirudh Gupta <anirudhgupta109@gmail.com>
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:52 +09:00
roynatech2544
b9bcd79dae
universal7885: Kang soundtrigger libs from Galaxy S10 (d1)
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:37 +09:00
Alexander Koskovich
58957661c3
universal7885: Remove vendor RenderScript implementation.
* RenderScript is deprecated on newer platforms and
   is being officially replaced.

 * On April 19, 2021, Google announced that RenderScript
   will be deprecated in Android 12, and recommended
   porting existing code to Vulkan.

   https://android-developers.googleblog.com/2021/04/android-gpu-compute-going-forward.html

Change-Id: I19460ef266a646b046f1e7d2f0b4eab7c48ae536
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:37 +09:00
SamarV-121
9b5a8c4f89
universal7885: Enable BPF offload by deleting rro
Change-Id: I60423f95030bb0f62cdf90c9a68d579f8e829a59
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:36 +09:00
roynatech2544
9bcaedf5a5
universal7885: revert bt hal changes 2022-03-22 18:56:36 +09:00
roynatech2544
58310cc9fd
universal7885: Remove unsupported HALs 2022-03-22 18:56:30 +09:00
roynatech2544
e85039c0b9
universal7885: bluetooth: HAL uprev to 1.1
* Additionally, more force enables

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:55:40 +09:00
Jens Lody
9102c52786
universal7885: manifest: add android.hardware.bluetooth{,.a2dp}@1.0
Switch to android.hardware.bluetooth.a2dp@1.0-impl.mock
mock HALs just register HAL lib. Nothing else.

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:55:39 +09:00
roynatech2544
893b39ef3e
Revert "[APTX] universal7885: remove a2dp hal"
This reverts commit d460d66609f1558f6b9d466359a9c47cfb1eb001.

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:55:39 +09:00
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