Commit graph android_device_samsung_a20/universal7885-common/configs
Author SHA1 Message Date
Roopesh Nataraja
a7f8fe00c8 universal7885: Remove schedulerservice from device compatibility matrix
android.frameworks.schedulerservice is deprecated and limited to
max-level=5 in framework manifest. Hence, remove it from device
compatibility matrix to allow super image generation.
2024-04-20 00:27:20 +09:00
roynatech2544
1ad1e7c795 Revert "universa7885: Force override compability matrix"
This reverts commit 55a45d1c9c.
2024-04-03 23:19:50 +09:00
roynatech2544
5b60bf3a58 universal7885: manifest: Update target level to 4 2024-04-03 22:48:09 +09:00
Tim Zimmermann
4c00f936bc universal7885: Disable VINTF checks
Change-Id: I1af07b88795f10fc086d4ebbfe35d7ec083d007a
2024-04-03 22:48:09 +09:00
Soo Hwan Na
53c941bb94 universal7885: powerhint: Add battery_saver hint 2024-02-18 22:54:07 +09:00
SamarV-121
6f758b2ca6 universal7885: power: Remove no-op hints
Change-Id: I96016539cf843b0aba75807770f5471884b3f7ff
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
2024-02-18 22:53:55 +09:00
SamarV-121
d7d6105a8a Revert "universal7885: Uprev audio HAL to 7.1"
Reason for revert: crashing when try to make a call

This reverts commit 4087eba38fa33d5b9ca911d6037be0a22cd618db.
2024-02-18 22:53:44 +09:00
roynatech2544
0153ea8035
Revert "universal7885: Adapt to DRM hal changes from 9820"
This reverts commit 4518c61696.
2023-11-29 19:46:26 +09:00
roynatech2544
3ea997f050
universal7885: Add a30s specific los vintf
- A30s tsp has hover mode support
2023-11-29 14:18:39 +09:00
roynatech2544
a280fa63b2
universal7885: Fill in missing parts of parts 2023-11-29 14:18:38 +09:00
Tim Zimmermann
d105adfc53
universal7885: Use linaro BSP
[ K9100ii - Notes:
  - BOARD_HWJPEG_ANDROID_VERSION needs setting in variant device trees
  - libcsc, libgiantmscl and libhwjpeg blobs need to be removed from
    device-specific trees - Now built from source
  - Switched TARGET_BOOTLOADER_BOARD_NAME, used to derive the
    "gralloc.exynos7904" name, to exynos7904, to retain the same name as
    the proprietary blob and match newer devices
  - Renamed sysfs_graphics context to sysfs_brightness in sepolicy
  - This happens to get rid of video recording frame drops on A40 ]

Change-Id: I67c078e3ea2fab1da19029ca3e97ce968cad77ad
2023-11-29 14:18:33 +09:00
SamarV-121
e2e2bed2a0 universal7885: add Task Profiles 1/2 2023-06-23 18:30:44 +03:00
Aaron Kling
2253170e8a universal7885: Remove references to a2dp module
APM would fail to parse the config anyway:

  E DevicesFactoryHAL: loadAudioInterface couldn't load audio hw module audio.a2dp (No such file or directory)
  W DevicesFactoryHalHidl: The specified device name is not recognized: "a2dp"
  E AudioFlinger: loadHwModule() error -22 loading module a2dp
  W APM_AudioPolicyManager: could not open HW module a2dp

Change-Id: Iaa1be881cfe8f8474cef0ba46e1b0a62b59e14be
2022-11-01 14:50:35 +09:00
Bruno Martins
fc51a00551 universal7885: Drop component overrides
This is no longer needed as of Android 13.

Change-Id: I38435c47c8781678f82014decbbae40dcab0a07b
2022-10-15 18:33:23 +09:00
Tim Zimmermann
36615e9d9f universal7885: Switch to new AIDL memtrack HAL
Change-Id: I3ae077b5f59e4fcf32489eef64bce8551d758998
2022-09-16 18:25:58 +09:00
Josh Wu
fa2d822329 universal7885: bluetooth: migrate to AIDL audio HAL 2022-08-19 07:10:09 +09:00
roynatech2544
7e6531b412 universal7885: Revert bt audio hal version to 2.1
* Android U will have that 2.2
2022-08-17 13:51:51 +09:00
roynatech2544
dccf2e8013 universal7885: Uprev HALs for Android T
Change-Id: I9923b7fa89ea44286a36ffa93b3a80d97e53bd93
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-08-16 17:34:14 +02:00
Gabriel2392
9b035b514f universal7885: unify arm branch 2022-07-30 08:08:40 -03:00
Tim Zimmermann
dbd446b32c
Revert "universal7885: Uprev graphic composer HAL from 2.1 to 2.4"
* Our HWC does not support setActiveModeWithConstraints
* This way we can actually have mode switching working
  which will be needed for Tiramisu resolution settings

This reverts commit 6c0bc75905.
2022-05-27 17:52:15 +09:00
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