No description
  • Makefile 80.5%
  • Shell 19.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
roynatech2544 6feb600625
universal7885: Allow vendor_init to set powerhal init prop
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
2022-06-11 13:17:55 +09:00
a10 universal7885: overlay: Fix deprecated power profile items 2022-05-23 20:18:19 +09:00
a20 universal7885: overlay: Fix deprecated power profile items 2022-05-23 20:18:19 +09:00
a20e universal7885: overlay: Fix deprecated power profile items 2022-05-23 20:18:19 +09:00
a30 universal7885: overlay: Fix deprecated power profile items 2022-05-23 20:18:19 +09:00
a30s a30s: Import stock values 2022-06-11 13:10:51 +09:00
a40 universal7885: overlay: Fix deprecated power profile items 2022-05-23 20:18:19 +09:00
universal7885-common universal7885: Allow vendor_init to set powerhal init prop 2022-06-11 13:17:55 +09:00
Android.bp universal7885: Fix clang-tidy issue again 2022-05-22 05:16:57 +00:00
README.md universal7885: Add help markdown about camera changes 2022-03-22 19:05:29 +09:00

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

Device Picture

Galaxy A20