Commit graph android_device_samsung_a20/universal7885-common
Author SHA1 Message Date
Danny Lin
84b126a5ce
universal7885: overlay: SystemUI: Offload WM shell to another thread
Android 12 added this config to offload some window management to a
dedicated thread. Enable it to improve performance when the main System
UI thread is busy.

Change-Id: I9eef4cdbc26d0880f3a9aaf875d5e36ebd693238
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:10 +09:00
Danny Lin
46821ddc2f
universal7885: overlay: SystemUI: Use Monet colors for power menu
It's odd that the power menu doesn't use Monet colors, unlike most of
System UI. This makes it feel more integrated with the rest of the
system.

[edit]: don't apply monet theming to Emergency icon
	because it's hard to distinguish which one is Emergency button
	when you really get in *TROUBLE* and panicked

Signed-off-by: someone5678 <nemui3353@gmail.com>
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:02:10 +09:00
roynatech2544
4e8f041f6e
universal7885: address denials for 7904 2022-03-22 19:02:10 +09:00
Soo-Hwan Na
8f272384d7
vendorsetup: track Android12 branch of a40 vendor 2022-03-22 19:02:10 +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
7393d54ec5
universal7885: zram: mount 100% of memory 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
6847f03143
universal7885: override usb hal vintf for a10
* uses different versions
2022-03-22 19:02:09 +09:00
Gabriel2392
caf25e504e
universal7885: update type-basic usb hal
* Taken from LineageOS 18.1
2022-03-22 19:02:09 +09:00
roynatech2544
0423e2e88c
universal7885: address drm widevine denials while try to use it 2022-03-22 19:02:09 +09:00
roynatech2544
5e14e4c0e8
universal7885: change device detection logic 2022-03-22 19:02:08 +09:00
roynatech2544
1e9242f402
universal7885: add vendor security patch level 2022-03-22 19:02:08 +09:00
roynatech2544
69fd695b16
universal7885: sepolicy: Address a10 sensors denials
Change-Id: Ifba5e98923f470b3c10ca87c2ccfb65c4af75c4c
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:01:56 +09:00
roynatech2544
d95fc298d4
vendor_detect: add addons 2022-03-22 19:01:56 +09:00
Soo-Hwan Na
9cb6b6dd4e
universal7885: fix sepolicy 2022-03-22 19:01:56 +09:00
roynatech2544
b5d019b3fb
universal7885: add vndservice to composer hal
* Logs
12-03 07:59:00.804  3416  3416 E SELinux : avc:  denied  { add } for pid=3652 uid=1000 name=Exynos.HWCService scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:vendor_surfaceflinger_vndservice:s0 tclass=service_manager permissive=1
12-03 07:59:00.804  3549  3549 W HidlServiceManagement: Waited one second for android.hardware.graphics.composer@2.1::IComposer/default
12-03 07:59:00.804  3415  3415 I hwservicemanager: Since android.hardware.graphics.composer@2.1::IComposer/default is not registered, trying to start it as a lazy HAL.
12-03 07:59:00.804  3416  3416 E SELinux : avc:  denied  { find } for pid=3652 uid=1000 name=Exynos.HWCService scontext=u:r:hal_graphics_composer_default:s0 tcontext=u:object_r:vendor_surfaceflinger_vndservice:s0 tclass=service_manager permissive=1
12-03 07:59:00.805  3549  3549 I HidlServiceManagement: getService: Trying again for android.hardware.graphics.composer@2.1::IComposer/default...
2022-03-22 19:01:56 +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
Soo-Hwan Na
58ffb744ae
universal7885: parts: jni: fix flashlight stats reading
Change-Id: I3d5cb83db0c7afe5b33f0788a1c08557bc3670f6
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 19:01:49 +09:00
Soo-Hwan Na
26d5db6a68
vendorsetup: fixes 2022-03-22 19:01:49 +09:00
Soo-Hwan Na
84661b262c
vendorsetup: typos 2022-03-22 19:01:49 +09:00
Soo-Hwan Na
c56efffc58
universal7885: proprietary blob setup auto 2022-03-22 19:01:49 +09:00
Soo-Hwan Na
2176d171f9
vendorsetup: add more vendor dependencies 2022-03-22 19:01:49 +09:00
Soo-Hwan Na
8c3b3c76f0
vendor_detect: add lawnchair 2022-03-22 19:01:49 +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
Soo-Hwan Na
693029296b
universal7885: add back vulkan symlink 2022-03-22 19:01:48 +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
Kevios12
78c95716ca
universal7885: duplicate genfscon 2022-03-22 18:57:41 +09:00
Soo-Hwan Na
b65bfd3ba3
universal7885: parts: fix NullPointerException
* "this" to get current context needs to be done on overriding method
2022-03-22 18:57:41 +09:00
roynatech2544
24ff1bae86
treewide: update partition sizes 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
ed09d14f70
vendorsetup: more generation 2022-03-22 18:57:40 +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
roynatech2544
de4c5c6d8e
universal7885: parts: fix fps overlay on quicksettings
* mRunning should be static (in companion object) to correctly get it

Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:57:19 +09:00
Kevios12
62b750c2e9
universal7885: Add some rules to make ds work on enforcing 2022-03-22 18:57:12 +09:00
Soo-Hwan Na
7f457b56ee
universal7885: Add support for f2fs
* /cache, /data
* Basic ideas from https://github.com/henricaodopao1/android_device_asus_X00QD
2022-03-22 18:56:53 +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
roynatech2544
00b21bb8ac
universal7885: add CleanSpec.mk to ensure clean build
Signed-off-by: roynatech2544 <whiteshell2544@naver.com>
2022-03-22 18:56:52 +09:00
roynatech2544
9114292f16
vendor_detect: add pixel-framework for building pe 2022-03-22 18:56:52 +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