mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
No description
- Makefile 80.5%
- Shell 19.5%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
The Pixel libperfmgr has following code :
std::thread initThread([&]() {
::android::base::WaitForProperty(kPowerHalInitProp.data(), 1);
hm->Start();
dlpw->Init();
});
which is basically
declare thread {
if (powerhalprop_is_not_set) wait;
else (powerhal_prop_is_set) init_other_threads;
}.start();
But in logcat
<11>[ 21.988418] [2: init: 2815] init: Unable to set property 'vendor.powerhal.init' from uid:0 gid:0 pid:2816: SELinux permission check failed
<36>[ 21.989189] [3: logd.auditd: 3586] type=1107 audit(1654915533.291:146): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=vendor.powerhal.init pid=2816 uid=0 gid=0 scontext=u:r:vendor_init:s0 tcontext=u:object_r:vendor_powerhal_prop:s0 tclass=property_service permissive=0'
So the powerhal's thread was not being run. This commit fixes seplicy to allow vendor init to set the powerhal init prop. May fix some issues on DT2W and deep sleep
|
||
| a10 | ||
| a20 | ||
| a20e | ||
| a30 | ||
| a30s | ||
| a40 | ||
| universal7885-common | ||
| Android.bp | ||
| README.md | ||
Device Tree for Samsung Galaxy A Series (Exynos7885) (2019)
The Galaxy A10/A20/A20e/A30/A40 (codenamed "a10/a20/a20e/a30/a40") is a low-end smartphone from Samsung. It was released on 2019 April.
Specs
| Component | Specification |
|---|---|
| Chipset | Exynos 7885 |
| Memory | 3/4 GB |
| Storage | 32GB |
| Battery | (differs from model) mAh |
| Dimensions | 158.4 x 74.7 x 7.8 mm |
| Display | 720 x 1560 pixels, 19.5:9, 268PPI |
| Release Date | 2019 April |
