Commit graph android_device_samsung_a20/universal7885-common/configs
Author SHA1 Message Date
roynatech2544
f7c01f23cc
universal7885: Remove legacy drm hal V1.0
We no longer need drm plugins
2022-05-06 23:28:59 +09:00
roynatech2544
4518c61696
universal7885: Adapt to DRM hal changes from 9820
- Update proprietary files list to include drm 1.4 hal
- Also add missing entries on a10 proprietary files list
- Build needed interface for drm 1.4 for vendor
2022-05-06 16:22:07 +09:00
roynatech2544
a7ef8f2b7e
universal7885: Format xml again
* No tabs this time, 3-space intent
2022-04-29 22:24:09 +09:00
roynatech2544
0c29116da7
universal7885: vintf: Add some removed entries
* Needed for checkvintf on Android 13+
2022-04-29 22:24:08 +09:00
roynatech2544
3260efc9d0
universal7885: Remove custom apns conf xml 2022-04-29 22:11:47 +09:00
roynatech2544
442aa11e81 universal7885: Format xml using xmlstarlet 2022-04-18 13:32:36 +09:00
roynatech2544
9b2915e070 universal7885: xml: format using xmllint 2022-04-15 11:26:05 +09:00
roynaetch2544
4e9fa53063
universal7885: vintf: Put empty compability matrix file 2022-04-07 16:42:20 +09:00
roynaetch2544
8e46e80dc7
universal7885: Drop custom pixel sysconfig
Already exists on many ROMs
2022-04-07 07:03:16 +09:00
roynaetch2544
55a45d1c9c
universa7885: Force override compability matrix
* Fixes 'Internal problem, please contact OEM' warning message on every boot
2022-04-07 06:58:56 +09:00
Soo-Hwan Na
3459f34b34
universal7885: vintf: Remove unused entry 2022-04-06 23:37:05 +09:00
roynatech2544
6c0bc75905
universal7885: Uprev graphic composer HAL from 2.1 to 2.4
Change-Id: I73cc611c1856bc57e2377e3baa7f8e56d9d878f9
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-31 19:46:41 +09:00
Palakurthi Sreekanth
9d9c76d40c
universal7885: vintf: Add 3.0, 4.0 IMapper entry
* Stops hwservicemanager spamming log with 'Cannot find entry android.hardware.graphics.mapper@3.0::IMapper/default in either framework or device manifest.
Cannot find entry android.hardware.graphics.mapper@4.0::IMapper/default in either framework or device manifest.

Change-Id: I04e355ef86628431f614db060984fe2063d88dc1
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-31 19:33:48 +09:00
Ecco Park
201a33cc31
universal7885: configs: wifi: Add parameters for Hotspot 2.0
Those parameters need to set for Hotspot 2.0 network

interworking=1 : Enable Interworking
hs20=1: Enable Hotspot 2.0
auto_interworking=0 : Do not automatically go through Interworking
                      network selection in wpa_supplicant
Bug: 118633353
Test: live test with Passpoint AP
Signed-off-by: Ecco Park <eccopark@google.com>

Signed-off-by: PainKiller3 <ninadpatil100@gmail.com>
Change-Id: I46db68eac42f00e873498a9e2a7f8745f8d12ae4
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-27 21:49:44 +09:00
roynatech2544
648aeb9509
universal7885: Drop sperate vintf for A40
* No longer needed as commit of vendor repo 'A40: update gnss vendor blob to 2.1' commit
See: bd1ce235e9

Change-Id: Ib4b11611d97f1ccbb75df1f0f22c794628553be0
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-26 20:29:32 +09:00
Sebastiano Barezzi
37fe35f526
universal7885: Use only full qualified name for manifest entries
* As recommended by Google for multiple different versions of the same HAL in VINTF manifests
* https://android.googlesource.com/platform/hardware/interfaces/+/master/drm/1.1/README.md#devices-launching-with-android-pie
Signed-off-by: YadavMohit19 <mohityadav050575@gmail.com>
Change-Id: I56c926847e2a575cb698b51517be395a8cc3e21c
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-26 07:38:03 +09:00
Gabriel2392
cc847a4262
universal7885: include apns-conf.xml
* Taken from lineage-19.0
2022-03-22 19:05:30 +09:00
Soo-Hwan Na
2f2d76c9c2
universal7885: bring back missing thermal vintf entry 2022-03-22 19:04:25 +09:00
roynatech2544
c8b0cf2f9f
[SQUASH] Revert "universal7885: import Pixel thermal HAL"
This reverts commit cb95ff03729f9721c1a2af56e349a880c416ea59.

Revert "universal7885: sepolicy: Add another rule for thermal hal"

This reverts commit e695df796cf6b39e88652b2829bb18fc797ac0c8.

Revert "universal7885: switch to pixel thermal hal"

This reverts commit b8f413737399e34405322865d1efb391648124d7.
2022-03-22 19:04:25 +09:00
Ryan Mitchell
3399fe3a01
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/.hid.HidDeviceService
      adb shell pm query-services \
      com.android.bluetooth/.sap.SapService
2022-03-22 19:04:23 +09:00
roynatech2544
0e16cac0bf
universal7885: Drop non-working permissions, move props back to root
* platform-samsung.xml:
<assign-permission> not allowed in partition of /vendor/etc/permissions/platform-samsung.xml at START_TAG (empty) <assign-permission name='com.samsung.permission.SSENSOR' uid='cameraserver'>@22:83 in java.io.FileReader@9549221

* component-overrides-bluetooth.xml: Useless, its already disabled, why kill it twice

Change-Id: I3e2a1ae37cd340e2005293aaf7f046d4c3eda0ca
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:03:27 +09:00
Soo-Hwan Na
decf06738c
universal7885: keylayout: include more keycodes
* Play/Stop
* Voice assistant
2022-03-22 19:03:26 +09:00
roynatech2544
de632bfeed
universal7885: power: allow system to turn off touchscreen
* Also, remove nodes that are only effective when using interactive gorvernor
2022-03-22 19:03:23 +09:00
neel0210
3582ed5a25
universal7885: import Google sysconfig xml
* Remove QTI IMS declaration since this is Samsung phone
* Remove previous commit about Google sysconfig
* Add CameraLightSensor to battery optimization list

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:03:23 +09:00
Martin Liu
9c38b26463
universal7885: mm: adjust zram write back policy
The first default zram write back time is 3 hours which
is for go device to quickly save more ram. For Pixel
devices, we have more working set and could bring launch
time impact if we write back too fast. Thus, adjust the
first time write back time to 24 hours which is aligned
with periodic write back time.

EDIT: Adjust to 6h.

Bug: 166739872
Test: boot
Signed-off-by: Martin Liu <liumartin@google.com>
Change-Id: I2388dd6d75ab0a938fe0edae0563fd26e48c9908
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:48 +09:00
Jenhao Chen
30db4a7d90
universal7885: enable zram writeback
Enable Zram writeback feature to allow unused pages in zram be written to flash.

Bug: 128889899
Test: Boot to home

Change-Id: I48ae06e54a66a7d6965afbe8db3d2f157cf8a1f4
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:48 +09:00
nato6613
a1c0496cbb
universal7885: Add pixel_2016_exclusive.xml
- This allows us to use unlimited backup in Google Photos infinitely.

Signed-off-by: Pranav Temkar <pranavtemkar@gmail.com>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:47 +09:00
roynatech2544
7a3b4163b0
Revert "universal7885: revert bt hal changes"
This reverts commit 81e5ff004f08c81cacf65332ca39b08026c739af.

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:47 +09:00
roynatech2544
581387e4c1
Revert "universal7885: remove unsupported HALs"
This reverts commit e019bb575fa24e9586a5253c0fdafd0cf1d09cfa.
2022-03-22 19:02:44 +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
Soo-Hwan Na
94138f7ccb
universal7885: props: set latch_unsignaled to 1 again
* December SPL fixed screen flicker
2022-03-22 19:02:16 +09:00
Soo-Hwan Na
acc922ef39
universal7885: props: remove nonexistent props
<11>[   14.195920]  [6:           init:    1] init: Do not have permissions to set 'ro.sys.fw.dex2oat_thread_count' to '8' in property file '/vendor/build.prop': SELinux permission check failed
<11>[   14.196075]  [6:           init:    1] init: Do not have permissions to set 'renderthread.skia.reduceopstasksplitting' to 'true' in property file '/vendor/build.prop': SELinux permission check failed

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
Soo-Hwan Na
3f5a4ea98d
universal7885: vendor.prop: add ro.build.PDA entry 2022-03-22 19:02:14 +09:00
roynatech2544
59e0ac89e7
universal7885: props: add ro.csc. 2022-03-22 19:02:14 +09:00
SamarV-121
42af248738
universal7885: Remove obsolete debug.sf.disable_backpressure property
* It has been removed in Android S
 * 2ec5391acf

Change-Id: I23a210a37ad257f0c8b7a3c5e1d59b2ac20cde9a
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:13 +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
b478d6c252
universal7885: remove thermal entry from vintf
* Its already there on vintf fragment

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:12 +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
roynatech2544
43379c1069
universal7885: sperate gnss vintf
* a40 uses 2.0
2022-03-22 19:02:12 +09:00
David Sehr
c232cc1cfe
universal7885: Use 64bit dex2oat on all cores
Bug: 153380900
Test: boot and install an application
Change-Id: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
Signed-off-by: Lunarixus <Nathan@lunarixus.party>
2022-03-22 19:02:11 +09:00
Hazari PraveenKumar
42a02fc4a5
universal7885: props: Disable VSync for CPU rendered apps
Choreographer VSync has some performance impact for CPU rendered apps
as the app has to wait for VSync to start a new frame draw. When the
frame draw time exceeds one VSync, this has a direct impact on the FPS.
"debug.cpurend.vsync" property controls the VSync for CPU rendered apps.

Disable VSync for CPU rendered app, by setting this property to false.

Change-Id: I93cfa7c588f1ab80803940c8059073075fd49506
Signed-off-by: Akash <akashniki@gmail.com>
Signed-off-by: Ayush Dubey <ayushdubey70@gmail.com>
Signed-off-by: Joey Huab <joey@evolution-x.org>
Signed-off-by: chiranth <chiranthangadi123@gmail.com>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:10 +09:00
roynatech2544
6b5704620d
Revert "universal7885: Uprev graphics.composer to 2.4"
This reverts commit 940190b80736f7395a92d6717ad6b8e5523c5d2a.
2022-03-22 19:01:55 +09:00
roynatech2544
a4a10c2cf1
Revert "universal7885: Enable graphics mapper version 2.1"
This reverts commit 367d9b7d3758079136eb919b92ce9192bfcae49e.
2022-03-22 19:01:55 +09:00
Kevios12
90ad909262
universal7885: sperate fingerprint HAL vintf 2022-03-22 19:01:48 +09:00
Soo-Hwan Na
89dfb318ca
universal7885: vintf: remove soundtrigger entry 2022-03-22 19:01:48 +09:00
roynatech2544
fe17ea3b33
treewide: use gnss 2.1 HAL 2022-03-22 19:01:48 +09:00
Soo-Hwan Na
5422741666
universal7885: remove stupid HWC HAL
* unused
2022-03-22 19:01:48 +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