Commit graph android_device_samsung_a20/universal7885-common/configs
Author SHA1 Message Date
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
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
Soo-Hwan Na
f3e0d10d8a
universal7885: disable HWC (H/W Composer)
* Our hwcomposer lib is crashing (receiving SIGABRT) on every boot
* We can live w/o it
2022-03-22 18:56:53 +09:00
David Sehr
a5d59ee4fe
universal7885: Use dex2oat64
Enable dex2oat64 use
Additionally, cleanup
Bug: 153380900
Test: boot and install an application
Change-Id: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
(cherry picked from commit 126f03be80f57a8a0411842011152d9381589b78)
Merged-In: I3e7a6e6e9385ff6564d1a2e6dda004ebb061f095
Signed-off-by: orgesified <gesishabani1@gmail.com>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
Signed-off-by: Kevios12 <kerschbaumer.kevin2@gmail.com>
2022-03-22 18:56:53 +09:00
Jorim Jaggi
b966888d73
universal7885: Disable sdm rotator downscaler
Rotator down scaler is causing additional delays that are better
handled by GL composition.

Test: Open app, no jank
Bug: 73640835
Change-Id: I6ea9baa28acc222afcf365f3bf107149bc8974d9
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:53 +09:00
Adithya R
11ceccff47
universal7885: Disable debug.sf.enable_hwc_vds
* Fixes jittery UI during screen recorder

Signed-off-by: clarencelol <clarencekuiek@icloud.com>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:52 +09:00
Chenyang Zhong
322fe15f6b
universal7885: set iorap prefetch prop to mendel flags
Thanks Google for silently changing the prop for starting iorapd
service [1].

ref:
[1] https://android.googlesource.com/platform/system/iorap/+/44176c75f7ee5b9f046abaa3ae513ad7f2a5ad6e

Test: boot, check if iorapd service is started, and
      IorapForwardingService is not complaining

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Change-Id: I2bda60de0c39c7c5d97fc74fb1e8eea1b6f379f9
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:38 +09:00
Jun Wang
e97b84e4f0
universal7885: perf: Enable the pre-rendering feature
* Pre-rendering feature can improve FPS and reduce the janks
   in scrolling cases.

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:38 +09:00
johnmart19
55cf426841
universal7885: Switch rendering to SkiaVK and enable Vulkan Support
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:38 +09:00
tangrobin
0887df051e
universal7885: Use phase offsets as duration
In Android R, the SurfaceFlinger calculate phase offsets
based on duration. Adopt the new way of specifying
phase offsets to SurfaceFlinger.

Bug: 143933518
Bug: 142222407
Test: scrolling, app launching/closing, playing video
Change-Id: Ia28e8d6c5225c49948a3397bca1beb8f8e5293f7
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:38 +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
sudharani
72d3545e26
universal7885: Set manufacturer and soc properties
Set soc model and manufacturer properties

Change-Id: Ia75eb8862c7d879c40e64527d32d082bfa9b8e42
Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:37 +09:00
Soo-Hwan Na
833959f896
universal7885: drop a2dp hardware offload
Reason: unsupported

Inital inputmonitor

* Tool to record input keycodes (numbers)

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>

universal7885: inputmonitor: fix build errors
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
2faedf219f
[APTX] universal7885: drop a2dp sink
* Not enabled on stock Bluetooth APK

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:55:40 +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
roynatech2544
3cd86ce33a
[APTX] universal7885: enable a2dp sink in bt include.
Additionally, force enable more bt components

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:55:40 +09:00
roynatech2544
ba72924e1d
universal7885: fixup build property
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:55:40 +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
ac5d9b99f4
[APTX] universal7885: more customized audio settings
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