android_device_samsung_a20/universal7885-common
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
..
apps universal7885: Fix clang-tidy issue again 2022-05-22 05:16:57 +00:00
bluetooth universal7885: format code using clang-format-15 2022-04-12 17:37:51 +09:00
camera/provider universal7885: Add A30s camera support 2022-06-08 00:04:19 +00:00
configs Revert "universal7885: Uprev graphic composer HAL from 2.1 to 2.4" 2022-05-27 17:52:15 +09:00
eklogger universal7885: Add extra compiler defaults 2022-05-21 00:37:58 +00:00
health universal7885: Fix errors according to clang-tidy 2022-05-21 01:07:44 +00:00
hidl universal7885: Import radio hals 2022-05-20 18:24:21 +09:00
include/hardware universal7885: Camera3: Change usage type to uint64_t 2022-05-07 10:39:21 +09:00
interfaces universal7885: parts: Fix the mkswap method 2022-05-23 19:34:19 +09:00
libinit universal7885: Add extra compiler defaults 2022-05-21 00:37:58 +00:00
libshims universal7885: Remove unused funcs from header 2022-05-10 21:42:46 +09:00
overlay universal7885: Drop unused keyhandler overlay 2022-05-09 12:52:42 +09:00
releasetools universal7885: update dtb/dtbo(s) 2022-03-22 19:03:26 +09:00
rootdir universal7885: Switch back zram compressor to zstd 2022-06-04 11:31:54 +09:00
rro_overlays/WifiOverlay universal7885: bpfmt 2022-05-20 18:37:24 +09:00
sepolicy universal7885: Allow vendor_init to set powerhal init prop 2022-06-11 13:17:55 +09:00
vendor_detect vendor_detect: Remove redundant debug flag parse 2022-04-29 22:24:10 +09:00
Android.bp universal7885: Fixup mistakes 2022-04-30 09:45:53 +09:00
Android.mk univetsal7885: Fixup for A30s bringup 2022-06-07 23:18:27 +00:00
BoardConfigCommon.mk universal7885: import camera3.h 2022-05-07 10:39:20 +09:00
extract-files.sh universal7885: extract_utils: Remove not needed patching 2022-05-07 11:18:12 +09:00
fingerprint.mk universal7885: Update build fp to raven may 2022-05-04 14:31:52 +09:00
proprietary-files.txt universal7885: Drop camera.device prebuilts 2022-05-07 10:39:20 +09:00
reorder-libs.py universal7885: Add a script to reorder blobs list 2022-04-22 07:43:22 +09:00
setup-makefiles.sh universal7885: Use proper blobs naming 2022-04-21 21:17:50 +09:00
system.prop universal7885: Set max frame buffer to 3 2022-04-03 02:21:30 +09:00
universal7885-common.mk Revert "universal7885: Uprev graphic composer HAL from 2.1 to 2.4" 2022-05-27 17:52:15 +09:00
vendor.prop universal7885: Enable back HWC 2022-04-24 16:25:53 +09:00
vendorsetup.sh vendorsetup: Generate A30s makefiles 2022-06-07 11:53:52 +00:00