Compare commits

...
Sign in to create a new pull request.
Message SHA1
tama-common: Move to touch AIDL
Change-Id: Ic31d3c29a31ece625de67db57de2b8a246b4c7a1
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Danny Trunk   authored and   aoitsme   commited 2026-05-25 14:18:17 +00:00
63cfbf969e
tama-common: Remove vendor/lineage device framework matrix inclusion
See: I78da6340f38b93fdc4c3694cb8f431f387d16c0d
Change-Id: I0b9f527de50ca02082be9b92375559f4893b2688

5013bd0103
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Yumi Yukimura   authored and   aoitsme   commited 2026-05-25 14:18:17 +00:00
c8d6a369cc
tama-common: Update some soong config variables to bool type
Change-Id: Ice4a8e2cc6d756a743116b46299cf833a0e78c57
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Yumi Yukimura   authored and   aoitsme   commited 2026-05-25 14:18:17 +00:00
da01bacf65
tama-common: Prepend soong ns to lib_driver_cmd_qcwcn
Change-Id: I09bfb412e3554d349c4ad123c83d46a7933611d5
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Yumi Yukimura   authored and   aoitsme   commited 2026-05-25 14:18:17 +00:00
95dfd25a4e
tama-common: Disable UFFD GC
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:18:16 +00:00
ded2ece071
tama-common: Switch to Jemalloc
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:18:16 +00:00
965e29e753
tama-common: Switch to AOSP WFD
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:18:16 +00:00
32bc4a66d7
tama-common: Rename xz2c to apollo
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:18:16 +00:00
0d84bb000e
tama-common: Resize system partition
Because docomo have different system partition size

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:18:16 +00:00
a076b2e376
tama-common: Add quick-tap features
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:18:16 +00:00
c8f6e7b274
tama-common: Set vendor security patch to platform
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:18:16 +00:00
2dbc727eb8
tama-common: Merge ueventd.tama to ueventd.qcom
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:18:15 +00:00
5523606980
tama-common: Disable postrender cleanup
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:18:15 +00:00
1773ae2777
tama-common: Set color mode to DCI-P3 by default
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:18:15 +00:00
0ec70d8c48
tama-common: Tune powerhint
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:18:15 +00:00
a047daaca2
tama-common: init: Set mmcblk0 io read_ahead to 4096
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:18:15 +00:00
65ea487680
tama-common: init: Refine virtual memory
- set zram 3gb
- remove duplicate swappines

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:18:15 +00:00
4f82ef5706
tama-common: init: Add cpuset for audio and camera
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:16:48 +00:00
ea3d334d03
tama-common: init: Tune cpufreq
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:12:19 +00:00
60ab3fd6d1
tama-common: init: Hack bms temperature limit
Useful when charging

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:00:33 +00:00
f7c749f6ca
tama-common: init: Remove duplicate Gold L3 ratio ceil
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:00:33 +00:00
572252fbe7
tama-common: prop: Don't kill heaviest task
aoitsme   commited 2026-05-25 14:00:33 +00:00
a5d9b25477
tama-common: prop: Disable sf backpressure
aoitsme   commited 2026-05-25 14:00:33 +00:00
ba445e5402
tama-common: overlay: Import config_defaultPinnerServiceFiles from pixel
aoitsme   commited 2026-05-25 14:00:33 +00:00
4a4a7b1544
tama-common: overlay: Disable turbulence noise
This helps with jank when pulling down the status bar.

Change-Id: Ifb7043492e9a38a58d7b1351355b47ec590ee5c7

Tasos Sahanidis   authored and   aoitsme   commited 2026-05-25 14:00:33 +00:00
2419ee4b37
tama-common: overlay: Disable high performance transitions
me-cafebabe   authored and   aoitsme   commited 2026-05-25 14:00:33 +00:00
560232415b
tama-common: overlay: Add color mode
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:00:33 +00:00
d21bf5aa48
tama-common: overlay: Enable burn in protection
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:00:32 +00:00
8995d0004a
tama-common: overlay: Add overlay for battery information
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Sorayukii   authored and   aoitsme   commited 2026-05-25 14:00:32 +00:00
3d943eca68
tama-common: overlay: Add the customized max cached processes number
Bug: 190531672
Test: make
Test: dumpsys activity | grep CUR_MAX_CACHED_PROCESSES
Change-Id: Ie1c17312a0eadb2c3f033c8a674ceb234abeadb3
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Chiawei Wang   authored and   aoitsme   commited 2026-05-25 14:00:32 +00:00
3352bba5a9
tama-common: overlay: Add config_wallpaperMaxScale overlay
- This should fix QS lag when pulling it down

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

JYRRC   authored and   aoitsme   commited 2026-05-25 14:00:32 +00:00
e950031ef6
tama-common: overlay: Set config_use_large_screen_shade_header to true
* it reduces QS Lags a lot

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

FPSensor   authored and   aoitsme   commited 2026-05-25 14:00:32 +00:00
1edb11b759
tama-common: overlay: Enable performant auth feature
Change-Id: I76f0c3242f7cb16b4ddc8ed5e4bfcb35b65cc8ff
Signed-off-by: kssrao13882 <kssrao13882@gmail.com>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

mikeNG   authored and   aoitsme   commited 2026-05-25 14:00:32 +00:00
957810dfbe
tama-common: overlay: Set config_use16BitTaskSnapshotPixelFormat to true
Change-Id: I203c6f54953744e1af67e5b37a72b5b095eabb65

Signed-off-by: Christopher <mizdrake7@gmail.com>
Signed-off-by: kssrao13882 <kssrao13882@gmail.com>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

arco   authored and   aoitsme   commited 2026-05-25 14:00:32 +00:00
8e128b38c5
tama-common: overlay: Fix hyper orange night light
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Terminator-J   authored and   aoitsme   commited 2026-05-25 14:00:32 +00:00
2eb198e21e
tama-common: overlay: 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: Sorayukii <sorayukii69@gmail.com>

kdrag0n   authored and   aoitsme   commited 2026-05-25 14:00:32 +00:00
9a534e3a4c
tama-common: overlay: Improve UI Smoothness
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

namaskaragusthi   authored and   aoitsme   commited 2026-05-25 14:00:32 +00:00
3911514720
tama-common: sepolicy: Add com.android.bluetooth context to seapp_contexts
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

ozturkmutlu65   authored and   aoitsme   commited 2026-05-25 14:00:31 +00:00
0ec62215e3
tama-common: sepolicy: Allow system_server to adjust {webview,app}_zygote scheduling
This fixes chrome and hotspot.

Change-Id: I6b112cea6d96f11fe89e4a5283e7e3b82e1325e4
Signed-off-by: uwu-gl <moegluwu0@gmail.com>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

uwu-gl   authored and   aoitsme   commited 2026-05-25 14:00:31 +00:00
c462f77618
tama-common: sepolicy: Fix up setsched denials
[  260.672834] type=1400 audit(1759664517.049:1046): avc:  denied  { setsched } for  comm="ActivityManager" scontext=u:r:system_server:s0 tcontext=u:r:app_zygote:s0:c512,c768 tclass=process permissive=0

10-03 10:11:35.619  1817  1817 W ActivityManager: type=1400 audit(0.0:2941): avc:  denied  { setsched } for  scontext=u:r:system_server:s0 tcontext=u:r:webview_zygote:s0 tclass=process permissive=0

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

backslashxx   authored and   aoitsme   commited 2026-05-25 14:00:31 +00:00
d16e3c3a66
tama-common: sepolicy: Adress isolated_app denial
* SELinux : avc:  denied  { find } for pid=19014 uid=99025 name=content_capture scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:content_capture_service:s0 tclass=service_manager permissive=0
* SELinux : avc:  denied  { find } for pid=11474 uid=99937 name=content_capture scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:content_capture_service:s0 tclass=service_manager permissive=0

Signed-off-by: RobertGarciaa <chae0218@naver.com>
Change-Id: Ia59e3989a9f0c2aae930f61ed9e266659f6c92fa
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

¨raystef66¨   authored and   aoitsme   commited 2026-05-25 14:00:31 +00:00
b4401f7778
tama-common: sepolicy: allow vendor_init to write to blkio
avc: denied { write } for comm="init" name="blkio.weight" dev="tmpfs" ino=672 scontext=u:r:vendor_init:s0 tcontext=u:object_r:device:s0 tclass=file permissive=0

avc: denied { write } for comm="init" name="blkio.group_idle" dev="tmpfs" ino=674 scontext=u:r:vendor_init:s0 tcontext=u:object_r:device:s0 tclass=file permissive=0

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Chenyang Zhong   authored and   aoitsme   commited 2026-05-25 14:00:31 +00:00
9214b8d5af
tama-common: sepolicy: Allow fsck to self kill capability
06-26 18:25:31.739   696   696 W e2fsck  : type=1400 audit(0.0:25): avc: denied { kill } for capability=5 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
06-26 18:25:31.779   706   706 W e2fsck  : type=1400 audit(0.0:26): avc: denied { kill } for capability=5 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
06-26 18:25:31.799   709   709 W e2fsck  : type=1400 audit(0.0:27): avc: denied { kill } for capability=5 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0

Signed-off-by: Hemant Sachdeva <hemant.evolver@gmail.com>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Hemant Sachdeva   authored and   aoitsme   commited 2026-05-25 14:00:31 +00:00
ba5f86f50a
tama-common: sepolicy: Allow mkswap to kill
W mkswap  : type=1400 audit(0.0:9): avc: denied { kill } for capability=5 scontext=u:r:toolbox:s0 tcontext=u:r:toolbox:s0 tclass=capability permissive=0

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

wshamroukh   authored and   aoitsme   commited 2026-05-25 14:00:31 +00:00
841f07ce22
tama-common: sepolicy: allow vendor_init & zygote to kill
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

ZeeLog   authored and   aoitsme   commited 2026-05-25 14:00:31 +00:00
b1ff759dc5
tama-common: sepolicy: Address wvkbd binder call
[   13.442185] type=1400 audit(1662729030.826:3237): avc: denied { call } for comm="wvkbd" scontext=u:r:wvkbd:s0 tcontext=u:r:hwservicemanager:s0 tclass=binder permissive=0
[   13.524050] type=1400 audit(1662729030.906:3238): avc: denied { call } for comm="wvkbd" scontext=u:r:wvkbd:s0 tcontext=u:r:hwservicemanager:s0 tclass=binder permissive=0
[   13.603310] type=1400 audit(1662729030.986:3239): avc: denied { call } for comm="wvkbd" scontext=u:r:wvkbd:s0 tcontext=u:r:hwservicemanager:s0 tclass=binder permissive=0
[   13.690051] type=1400 audit(1662729031.074:3240): avc: denied { call } for comm="wvkbd" scontext=u:r:wvkbd:s0 tcontext=u:r:hwservicemanager:s0 tclass=binder permissive=0
[   13.775781] type=1400 audit(1662729031.158:3241): avc: denied { call } for comm="wvkbd" scontext=u:r:wvkbd:s0 tcontext=u:r:hwservicemanager:s0 tclass=binder permissive=0

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

ekkusa   authored and   aoitsme   commited 2026-05-25 14:00:31 +00:00
ec6cfc8a0a
tama-common: sepolicy: Address qti_init_shell denials
* Allow qti_init_shell write access to sysfs nodes

avc: denied { setattr } for comm="chown" name="secure_mode" dev="sysfs" ino=20771 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=1
avc: denied { setattr } for comm="chown" name="secure_mode" dev="sysfs" ino=20845 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:sysfs_leds:s0 tclass=file permissive=1
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

baunilla   authored and   aoitsme   commited 2026-05-25 14:00:31 +00:00
1a7291eefe
tama-common: sepolicy: Allow odrefresh to kill
* avc: denied { kill } for comm=odrefresh capability=5
scontext=u:r:odrefresh:s0 tcontext=u:r:odrefresh:s0 tclass=capability
permissive=0

Change-Id: Id24f51e8570dcb32a6b35c57c8f4b6c2be626673
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

boedhack99   authored and   aoitsme   commited 2026-05-25 14:00:31 +00:00
22ade25ba4
tama-common: sepolicy: shut flags health check up
It's not critical but it's spamming the living hell
out of logs. Go away.

Change-Id: I5777263ab8bf820fe3c362c92da80177bf48745e
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Han Sol Jin   authored and   aoitsme   commited 2026-05-25 14:00:31 +00:00
91146d63bb
tama-common: sepolicy: Allow hal_graphics_composer_default to read bootanima_system_prop
* avc: denied { read } for name="u:object_r:bootanim_system_prop:s0"
  dev="tmpfs" ino=12855 scontext=u:r:hal_graphics_composer_default:s0
  tcontext=u:object_r:bootanim_system_prop:s0 tclass=file permissive=0

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

RahulGorai0206   authored and   aoitsme   commited 2026-05-25 14:00:30 +00:00
bd2c9b4dfd
tama-common: sepolicy: diag_device access
* type=1400 audit(0.0:14): avc: denied { read write } for name="diag" dev="tmpfs" ino=24648 scontext=u:r:rild:s0 tcontext=u:object_r:diag_device:s0 tclass=chr_file permissive=0

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

aryan   authored and   aoitsme   commited 2026-05-25 14:00:30 +00:00
373d6de715
tama-common: sepolicy: address kernel denial
* W kworker/u16:5: type=1400 audit(0.0:15): avc: denied { create } for scontext=u:r:kernel:s0 tcontext=u:r:kernel:s0 tclass=socket permissive=0

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

aryan   authored and   aoitsme   commited 2026-05-25 14:00:30 +00:00
ea06583ccc
tama-common: sepolicy: dontaudit untrusted_app to open ashmem_device
- Fixes scroll lag in many apps, such as Twitter:
    W RenderThread: type=1400 audit(0.0:12371): avc: denied { open } for path=/dev/ashmem dev=tmpfs ino=10848 scontext=u:r:untrusted_app:s0:c123,c256,c512,c768 tcontext=u:object_r:ashmem_device:s0 tclass=chr_file permissive=0 app=com.twitter.android

- Apps are no longer allowed open access to /dev/ashmem, unless they
  target API level < Q.

- https://android.googlesource.com/platform/system/sepolicy/+/8b12ff5f218139102d8eec90c91b114078be4402

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Bruno Martins   authored and   aoitsme   commited 2026-05-25 14:00:30 +00:00
68308bc3b8
tama-common: sepolicy: Address blkid sys_admin denial
[  156.960480] type=1400 audit(1662729174.342:7581): avc: denied { sys_admin } for comm="blkid" capability=21 scontext=u:r:blkid_untrusted:s0 tcontext=u:r:blkid_untrusted:s0 tclass=capability permissive=0

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

ekkusa   authored and   aoitsme   commited 2026-05-25 14:00:30 +00:00
105ea90674
tama-common: sepolicy: Grant capabilities to vold_prepare_subdirs
W vold_prepare_su: type=1400 audit(0.0:4): avc: denied { kill } for capability=5 scontext=u:r:vold_prepare_subdirs:s0 tcontext=u:r:vold_prepare_subdirs:s0 tclass=capability permissive=0
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

baunilla   authored and   aoitsme   commited 2026-05-25 14:00:30 +00:00
1216a27f2d
tama-common: sepolicy: Address vendor_dpmd sys_admin denial
avc: denied { sys_admin } for comm="dpmd" capability=21 scontext=u:r:vendor_dpmd:s0 tcontext=u:r:vendor_dpmd:s0 tclass=capability permissive=0
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

ekkusa   authored and   aoitsme   commited 2026-05-25 14:00:30 +00:00
478bb2a78f
tama-common: sepolicy: Address fsck sys_admin denial
[  154.478676] type=1400 audit(1662729171.862:3274): avc: denied { sys_admin } for comm="e2fsck" capability=21 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

ekkusa   authored and   aoitsme   commited 2026-05-25 14:00:30 +00:00
a79b7164af
tama-common: sepolicy: dontaudit unnecessary fsck rules
[   10.299826] type=1400 audit(16083046.175:3142): avc: denied { dac_override } for comm="e2fsck" capability=1 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.299842] type=1400 audit(16083046.175:3143): avc: denied { dac_read_search } for comm="e2fsck" capability=2 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.299858] type=1400 audit(16083046.175:3144): avc: denied { dac_override } for comm="e2fsck" capability=1 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.299874] type=1400 audit(16083046.175:3145): avc: denied { dac_read_search } for comm="e2fsck" capability=2 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.299889] type=1400 audit(16083046.175:3146): avc: denied { dac_override } for comm="e2fsck" capability=1 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.299932] type=1400 audit(16083046.175:3147): avc: denied { dac_read_search } for comm="e2fsck" capability=2 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.299949] type=1400 audit(16083046.175:3148): avc: denied { dac_override } for comm="e2fsck" capability=1 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.299964] type=1400 audit(16083046.175:3149): avc: denied { dac_read_search } for comm="e2fsck" capability=2 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.299981] type=1400 audit(16083046.175:3150): avc: denied { dac_override } for comm="e2fsck" capability=1 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.299997] type=1400 audit(16083046.175:3151): avc: denied { dac_read_search } for comm="e2fsck" capability=2 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.300012] type=1400 audit(16083046.175:3152): avc: denied { dac_override } for comm="e2fsck" capability=1 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.300042] type=1400 audit(16083046.175:3153): avc: denied { dac_read_search } for comm="e2fsck" capability=2 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.300059] type=1400 audit(16083046.175:3154): avc: denied { dac_override } for comm="e2fsck" capability=1 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.300075] type=1400 audit(16083046.175:3155): avc: denied { dac_read_search } for comm="e2fsck" capability=2 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.300090] type=1400 audit(16083046.175:3156): avc: denied { dac_override } for comm="e2fsck" capability=1 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.300106] type=1400 audit(16083046.175:3157): avc: denied { dac_read_search } for comm="e2fsck" capability=2 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.300121] type=1400 audit(16083046.175:3158): avc: denied { dac_override } for comm="e2fsck" capability=1 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.300137] type=1400 audit(16083046.175:3159): avc: denied { dac_read_search } for comm="e2fsck" capability=2 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.300250] type=1400 audit(16083046.179:3160): avc: denied { dac_override } for comm="e2fsck" capability=1 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.300267] type=1400 audit(16083046.179:3161): avc: denied { dac_read_search } for comm="e2fsck" capability=2 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.300284] type=1400 audit(16083046.179:3162): avc: denied { dac_override } for comm="e2fsck" capability=1 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.300300] type=1400 audit(16083046.179:3163): avc: denied { dac_read_search } for comm="e2fsck" capability=2 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.300315] type=1400 audit(16083046.179:3164): avc: denied { dac_override } for comm="e2fsck" capability=1 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.300331] type=1400 audit(16083046.179:3165): avc: denied { dac_read_search } for comm="e2fsck" capability=2 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.300346] type=1400 audit(16083046.179:3166): avc: denied { dac_override } for comm="e2fsck" capability=1 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.300362] type=1400 audit(16083046.179:3167): avc: denied { dac_read_search } for comm="e2fsck" capability=2 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0
[   10.300378] type=1400 audit(16083046.179:3168): avc: denied { dac_override } for comm="e2fsck" capability=1 scontext=u:r:fsck:s0 tcontext=u:r:fsck:s0 tclass=capability permissive=0

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

ekkusa   authored and   aoitsme   commited 2026-05-25 14:00:30 +00:00
7ff4973a4a
tama-common: sepolicy: Address init denials regarding socket_device
[    9.346918] type=1400 audit(71454275.960:7): avc: denied { create } for comm="init" name="dpmwrapper" scontext=u:r:init:s0 tcontext=u:object_r:socket_device:s0 tclass=sock_file permissive=0

Ref:
[0]: https://source.codeaurora.org/quic/la/device/qcom/sepolicy/commit/?h=LA.UM.9.2.1.r1-03800-sdm660.0&id=79488292273efa5ab89bc405a5f6ae4dec5d011d

Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Change-Id: I262b06821c0625978b3685d0666bd2cf599fbf98
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Aayush Gupta   authored and   aoitsme   commited 2026-05-25 14:00:30 +00:00
63321d72e8
tama-common: sepolicy: Fix isolated_app denial
[  246.285320] type=1400 audit(1662729263.666:7887): avc: denied { setattr } for comm="ThreadPoolForeg" name="crs.pb" dev="sda73" ino=39478 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c253,c256,c512,c768 tclass=file permissive=0
[  246.285658] type=1400 audit(1662729263.670:7888): avc: denied { setattr } for comm="ThreadPoolForeg" name="ct_config.pb" dev="sda73" ino=26375 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c253,c256,c512,c768 tclass=file permissive=0
[  246.286498] type=1400 audit(1662729263.670:7889): avc: denied { setattr } for comm="ThreadPoolForeg" name="kp_pinslist.pb" dev="sda73" ino=34892 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c253,c256,c512,c768 tclass=file permissive=0
[  246.287160] type=1400 audit(1662729263.670:7890): avc: denied { setattr } for comm="ThreadPoolForeg" name="manifest.json" dev="sda73" ino=34899 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c253,c256,c512,c768 tclass=file permissive=0
[  246.289090] type=1400 audit(1662729263.674:7891): avc: denied { setattr } for comm="ThreadPoolForeg" name="verified_contents.json" dev="sda73" ino=43171 scontext=u:r:isolated_app:s0:c512,c768 tcontext=u:object_r:app_data_file:s0:c253,c256,c512,c768 tclass=file permissive=0

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Elektroschmock   authored and   aoitsme   commited 2026-05-25 14:00:30 +00:00
4a48eda5d3
tama-common: sepolicy: Address thermal-engine binder call
[12065.068485] type=1400 audit(1662723627.591:10514): avc: denied { call } for comm="thermal-engine" scontext=u:r:thermal-engine:s0 tcontext=u:r:hwservicemanager:s0 tclass=binder permissive=0

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

ekkusa   authored and   aoitsme   commited 2026-05-25 14:00:30 +00:00
1731a343b7
tama-common: sepolicy: Resolve vmallocinfo denial
avc: denied { read } for name="vmallocinfo" dev="proc" ino=4026534195
scontext=u:r:system_app:s0 tcontext=u:object_r:proc_vmallocinfo:s0
tclass=file permissive=0

Change-Id: Ia452034156635255fc91022a9836863136b324b4
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Arne Coucheron   authored and   aoitsme   commited 2026-05-25 14:00:30 +00:00
7473df29d2
tama-common: sepolicy: Allow system_app to read /proc/pagetypeinfo
avc: denied { read } for name="pagetypeinfo" dev="proc" ino=4026543033
scontext=u:r:system_app:s0 tcontext=u:object_r:proc_pagetypeinfo:s0
tclass=file permissive=0

Change-Id: I16465eb9acca9ff64a755d47f86f4ff424ebe4de
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Kevin F. Haggerty   authored and   aoitsme   commited 2026-05-25 14:00:29 +00:00
64219b89a9
tama-common: sepolicy: Quiet system_app attempts to find disallowed services
Change-Id: I6a17bef88c3b9fe9f075dc0ef3de5e203f5d9ce3
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Kevin F. Haggerty   authored and   aoitsme   commited 2026-05-25 14:00:29 +00:00
c6b50cea76
tama-common: sepolicy: Allow system_app to access zram sysfs nodes
avc: denied { search } for name="zram0" dev="sysfs" ino=20744
scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_zram:s0 tclass=dir
permissive=0

avc: denied { open } for name="mem_used_total" dev="sysfs" ino=20804
scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_zram:s0 tclass=file
permissive=0

avc: denied { read } for name="mem_used_total" dev="sysfs" ino=20804
scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_zram:s0 tclass=file
permissive=0

Change-Id: Ide9b1a9488b26fa69e7a2c8e73a8e657c8b28beb
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Kevin F. Haggerty   authored and   aoitsme   commited 2026-05-25 14:00:29 +00:00
99ee36465a
tama-common: sepolicy: Address netutils_wrapper sysadmin spam
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Hikari-no-Tenshi   authored and   aoitsme   commited 2026-05-25 14:00:29 +00:00
cdbcbcf8b7
tama-common: sepolicy: Allow surfaceflinger to search hal_graphics_composer_default
[log]
avc: denied { search } dev="proc" scontext=u:r:surfaceflinger:s0
tcontext=u:r:hal_graphics_composer_default:s0 tclass=dir permissive=0

Bug: 154688047
Change-Id: Ia9735f2b938f57c37f741d6f0526cf29df180fcb
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

ekkusa   authored and   aoitsme   commited 2026-05-25 14:00:29 +00:00
203af0488c
tama-common: sepolicy: Allow vold to write to sysfs_mmc_host
10-10 22:34:00.851   352   352 W Binder:352_2: type=1400 audit(0.0:9): avc: denied { write } for name="read_ahead_kb" dev="sysfs" ino=24687 scontext=u:r:vold:s0 tcontext=u:object_r:sysfs_mmc_host:s0 tclass=file permissive=0

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

ekkusa   authored and   aoitsme   commited 2026-05-25 14:00:29 +00:00
88a8ca3a99
tama-common: sepolicy: Address lmkd denial
[  429.331558] type=1400 audit(1662552347.556:4879): avc: denied { sys_admin } for comm="lmkd" capability=21 scontext=u:r:lmkd:s0 tcontext=u:r:lmkd:s0 tclass=capability permissive=0

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

ekkusa   authored and   aoitsme   commited 2026-05-25 14:00:29 +00:00
cee450687a
tama-common: sepolicy: label wireless_charger as sysfs_batteryinfo
health is trying to access it to read /type

akari:/sys/class/power_supply # ls -l
lrwxrwxrwx 1 root root 0 1970-10-30 11:07 wireless -> ../../devices/platform/soc/a88000.i2c/i2c-0/0-0061/power_supply/wireless

Signed-off-by: David Viteri <davidteri91@gmail.com>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

David Viteri   authored and   aoitsme   commited 2026-05-25 14:00:29 +00:00
40bcf39aae
tama-common: sepolicy: Address hal_health_default
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

ekkusa   authored and   aoitsme   commited 2026-05-25 14:00:29 +00:00
2efe3473e4
tama-common: sepolicy: Address dpmd denial
Adresses avc: denied { write } for comm="DPMReceiver" name="dpmd" dev="tmpfs" ino=35932 scontext=u:r:radio:s0 tcontext=u:object_r:vendor_dpmd_socket:s0 tclass=sock_file permissive=0

Signed-off-by: Sorayukii <sorayukii69@gmail.com>

ekkusa   authored and   aoitsme   commited 2026-05-25 14:00:29 +00:00
f085d729d7
tama-common: sepolicy: ignore hardless QCOM denials
Change-Id: Ie8f74bde8aeedbd134b11307221c1f930ea4f5dc
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Pig   authored and   aoitsme   commited 2026-05-25 14:00:29 +00:00
4a365ba4c0
tama-common: sepolicy: allow system_server to get app_zygote pgid
avc: denied { getpgid } for scontext=u:r:system_server:s0 tcontext=u:r:app_zygote:s0:c512,c768 tclass=process permissive=0

Appeared during UiBench.

Change-Id: Ia3314677b2f7f35b19679285db60af12e3fb38a1
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

Chenyang Zhong   authored and   aoitsme   commited 2026-05-25 14:00:29 +00:00
af76a2dd7e
tama-common: Import CXD-224 NFC
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

ekkusa   authored and   aoitsme   commited 2026-05-25 14:00:28 +00:00
6048b37da4
tama-common: Migrate to AIDL LiveDisplay HAL
Change-Id: I4e8be836e94d442b40c63a1ac7dade3c9d9c784c
Signed-off-by: Sorayukii <sorayukii69@gmail.com>

LuK1337   authored and   aoitsme   commited 2026-05-25 14:00:28 +00:00
af1e763da9
63 changed files with 393 additions and 277 deletions

View file

@ -6,7 +6,7 @@
LOCAL_PATH := $(call my-dir)
ifneq ($(filter akari xz2c akatsuki aurora,$(TARGET_DEVICE)),)
ifneq ($(filter akari apollo akatsuki aurora,$(TARGET_DEVICE)),)
include $(call all-makefiles-under,$(LOCAL_PATH))
include $(CLEAR_VARS)

View file

@ -79,7 +79,13 @@ BOARD_HAVE_BLUETOOTH_QCOM := true
USE_DEVICE_SPECIFIC_CAMERA := true
TARGET_USES_QTI_CAMERA_DEVICE := true
TARGET_USES_MEDIA_EXTENSIONS := true
MALLOC_SVELTE_FOR_LIBC32 := true
# Jemalloc
MALLOC_SVELTE := true
MALLOC_LOW_MEMORY := true
# Quick Tap
TARGET_SUPPORTS_QUICK_TAP := true
# Dalvik
TARGET_HAS_6GB_RAM ?= false
@ -99,11 +105,13 @@ TARGET_FS_CONFIG_GEN := $(COMMON_PATH)/config.fs
MAX_EGL_CACHE_KEY_SIZE := 12*1024
MAX_EGL_CACHE_SIZE := 2048*1024
# Disable Postrender Cleanup
TARGET_DISABLE_POSTRENDER_CLEANUP := true
# HIDL
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \
$(COMMON_PATH)/framework_compatibility_matrix.xml \
hardware/qcom-caf/common/vendor_framework_compatibility_matrix.xml \
vendor/lineage/config/device_framework_matrix.xml
hardware/qcom-caf/common/vendor_framework_compatibility_matrix.xml
DEVICE_MANIFEST_FILE := $(COMMON_PATH)/manifest.xml
DEVICE_MATRIX_FILE := hardware/qcom-caf/common/compatibility_matrix.xml
@ -116,7 +124,7 @@ TARGET_USES_ION := true
# Partitions
BOARD_BOOTIMAGE_PARTITION_SIZE := 0x04000000
BOARD_DTBOIMG_PARTITION_SIZE := 8388608
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 4227858432
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 3825205248
BOARD_VENDORIMAGE_PARTITION_SIZE := 1056714752
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
BOARD_VENDORIMAGE_JOURNAL_SIZE := 0
@ -156,7 +164,7 @@ TARGET_PROVIDES_QTI_TELEPHONY_JAR := true
TARGET_USES_PRE_UPLINK_FEATURES_NETMGRD := true
# Security patch level
VENDOR_SECURITY_PATCH := 2020-09-01
VENDOR_SECURITY_PATCH := $(PLATFORM_SECURITY_PATCH)
# SELinux
include device/lineage/sepolicy/libperfmgr/sepolicy.mk
@ -176,9 +184,9 @@ BOARD_AVB_MAKE_VBMETA_IMAGE_ARGS += --flag 2
# WiFi
BOARD_WLAN_DEVICE := qcwcn
BOARD_HOSTAPD_DRIVER := NL80211
BOARD_HOSTAPD_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
BOARD_HOSTAPD_PRIVATE_LIB := //hardware/qcom-caf/wlan/qcwcn:lib_driver_cmd_$(BOARD_WLAN_DEVICE)
BOARD_WPA_SUPPLICANT_DRIVER := NL80211
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := lib_driver_cmd_$(BOARD_WLAN_DEVICE)
BOARD_WPA_SUPPLICANT_PRIVATE_LIB := //hardware/qcom-caf/wlan/qcwcn:lib_driver_cmd_$(BOARD_WLAN_DEVICE)
WIFI_DRIVER_DEFAULT := qca_cld3
WIFI_DRIVER_STATE_CTRL_PARAM := "/dev/wlan"
WIFI_DRIVER_STATE_OFF := "OFF"

View file

@ -20,6 +20,14 @@ endif
PRODUCT_OTA_ENFORCE_VINTF_KERNEL_REQUIREMENTS := true
# Disable Scudo
PRODUCT_USE_SCUDO := false
PRODUCT_DISABLE_SCUDO := true
# Disable UFFD GC
OVERRIDE_ENABLE_UFFD_GC := false
PRODUCT_ENABLE_UFFD_GC := false
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
@ -153,7 +161,7 @@ PRODUCT_PACKAGES += \
PRODUCT_PACKAGES_DEBUG += \
bootctl
$(call soong_config_set,QTI_GPT_UTILS,USE_BSG_FRAMEWORK,false)
$(call soong_config_set_bool,QTI_GPT_UTILS,USE_BSG_FRAMEWORK,false)
# Camera
PRODUCT_PACKAGES += \
@ -188,8 +196,7 @@ PRODUCT_PACKAGES += \
init.target.rc \
qns.fstab \
sensor_json_transfer.sh \
ueventd.qcom.rc \
ueventd.tama.rc
ueventd.qcom.rc
# Configstore
PRODUCT_PACKAGES += \
@ -239,7 +246,7 @@ PRODUCT_PACKAGES += \
android.hardware.gnss@2.0.vendor
# Graphics
$(call soong_config_set,EGL,USE_DISPLAY_ARRAY,true)
$(call soong_config_set_bool,EGL,USE_DISPLAY_ARRAY,true)
# Health
PRODUCT_PACKAGES += \
@ -274,7 +281,8 @@ PRODUCT_PACKAGES += \
# LiveDisplay
PRODUCT_PACKAGES += \
vendor.lineage.livedisplay@2.0-service-sdm
vendor.lineage.livedisplay-service.sdm
$(call soong_config_set_bool,livedisplay_sdm,enable_dm,false)
# Lights
PRODUCT_PACKAGES += \
@ -325,13 +333,20 @@ PRODUCT_PACKAGES += \
# NFC
PRODUCT_PACKAGES += \
android.hardware.nfc-service.nxp \
android.hardware.nfc@1.1.vendor \
com.android.nfc_extras \
Tag
# Secure Element
PRODUCT_PACKAGES += \
android.hardware.secure_element@1.0.vendor
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci.conf
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/init.tama.nfc.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/init.tama.nfc.rc
# Power
PRODUCT_PACKAGES += \
android.hardware.power-service.lineage-libperfmgr \
@ -382,6 +397,13 @@ PRODUCT_PACKAGES += \
android.hardware.sensors@2.0.vendor \
libsensorndkbridge
# Quick Tap
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/quick_tap.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/quick_tap.xml
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
persist.columbus.use_ap_sensor=false
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH) \
@ -409,7 +431,7 @@ PRODUCT_PACKAGES += \
# Touch
PRODUCT_PACKAGES += \
vendor.lineage.touch@1.0-service.tama
vendor.lineage.touch-service.tama
# USB
PRODUCT_PACKAGES += \
@ -447,16 +469,6 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf \
$(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini
# WiFi Display
PRODUCT_PACKAGES += \
libnl \
libpng.vendor \
libprocessgroup.vendor \
libwfdaac_vendor \
libavservices_minijail \
libavservices_minijail_vendor \
libavservices_minijail.vendor
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
ro.surface_flinger.force_hwc_copy_for_virtual_displays=true \
ro.surface_flinger.max_virtual_display_dimension=4096

6
configs/init.tama.nfc.rc Normal file
View file

@ -0,0 +1,6 @@
on post-fs-data
setprop ro.support.felica 1
# FeliCa/NFC
chown nfc nfc /dev/cxd224x-i2c
chown nfc nfc /dev/bd7602-i2c

View file

@ -20,7 +20,7 @@
"1420800",
"1324800",
"1132800",
"576000"
"300000"
],
"ResetOnInit": true
},
@ -65,7 +65,8 @@
"Values": [
"520000000",
"342000000",
"257000000"
"257000000",
"180000000"
],
"ResetOnInit": true
},
@ -452,7 +453,7 @@
"PowerHint": "EXPENSIVE_RENDERING",
"Node": "GPUMinFreq",
"Duration": 0,
"Value": "520000000"
"Value": "257000000"
},
{
"PowerHint": "EXPENSIVE_RENDERING",

View file

@ -64,7 +64,4 @@
<hidden-api-whitelisted-app package="com.qualcomm.qti.embmstuneaway" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.lpa" />
<hidden-api-whitelisted-app package="com.qualcomm.qti.uim" />
<hidden-api-whitelisted-app package="com.qualcomm.wfd.client" />
<hidden-api-whitelisted-app package="com.qualcomm.wfd.service" />
</config>

9
configs/quick_tap.xml Normal file
View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- These are configurations that should exist on devices that support Quick
Tap -->
<config>
<!-- This feature is meant to be the feature identifying devices that support
Quick Tap -->
<feature name="com.google.android.feature.QUICK_TAP" />
</config>

View file

@ -60,8 +60,6 @@ lib_fixups: lib_fixups_user_type = {
}
blob_fixups: blob_fixups_user_type = {
'system_ext/bin/wfdservice': blob_fixup()
.add_needed('libwfdservice_shim.so'),
(
'system_ext/etc/permissions/com.qualcomm.qti.imscmservice-V2.0-java.xml',
'system_ext/etc/permissions/com.qualcomm.qti.imscmservice-V2.1-java.xml',
@ -70,15 +68,8 @@ blob_fixups: blob_fixups_user_type = {
'system_ext/etc/permissions/telephonyservice.xml'
): blob_fixup()
.regex_replace('/product/framework/', '/system_ext/framework/'),
'system_ext/lib/libwfdmmsrc_system.so': blob_fixup()
.add_needed('libgui_shim.so'),
'system_ext/lib/libwfdservice.so': blob_fixup()
.replace_needed('android.media.audio.common.types-V2-cpp.so', 'android.media.audio.common.types-V4-cpp.so'),
('system_ext/lib/lib-imsvideocodec.so', 'system_ext/lib64/lib-imsvideocodec.so'): blob_fixup()
.add_needed('libgui_shim.so'),
'system_ext/lib64/libwfdnative.so': blob_fixup()
.add_needed('libbinder_shim.so')
.add_needed('libinput_shim.so'),
'vendor/bin/hw/android.hardware.drm@1.1-service.widevine': blob_fixup()
.replace_needed('libhidltransport.so', 'libhidlbase.so')
.remove_needed('libhwbinder.so'),

View file

@ -61,8 +61,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<transport>hwbinder</transport>
<fqname>@1.1::ICryptoFactory/widevine</fqname>
<fqname>@1.1::IDrmFactory/widevine</fqname>
<fqname>@1.3::ICryptoFactory/wfdhdcp</fqname>
<fqname>@1.3::IDrmFactory/wfdhdcp</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.gatekeeper</name>
@ -97,6 +95,11 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<fqname>@1.2::IDevice/qti-dsp</fqname>
<fqname>@1.2::IDevice/qti-gpu</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.nfc</name>
<transport>hwbinder</transport>
<fqname>@1.1::INfc/default</fqname>
</hal>
<hal format="hidl">
<name>android.hardware.radio</name>
<transport>hwbinder</transport>
@ -170,12 +173,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<transport>hwbinder</transport>
<fqname>@1.0::IDisplayPostproc/default</fqname>
</hal>
<hal format="hidl">
<name>vendor.lineage.livedisplay</name>
<transport>hwbinder</transport>
<fqname>@2.0::IDisplayModes/default</fqname>
<fqname>@2.0::IPictureAdjustment/default</fqname>
</hal>
<hal format="hidl">
<name>vendor.qti.data.factory</name>
<transport>hwbinder</transport>
@ -313,14 +310,6 @@ IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
<transport>hwbinder</transport>
<fqname>@1.0::IWifiStats/wifiStats</fqname>
</hal>
<hal format="hidl">
<name>vendor.qti.hardware.wifidisplaysession</name>
<transport>hwbinder</transport>
<fqname>@1.0::IWifiDisplaySession/wifidisplaysession</fqname>
<fqname>@1.0::IWifiDisplaySessionAudioTrack/wifidisplaysessionaudiotrack</fqname>
<fqname>@1.0::IWifiDisplaySessionImageTrack/wifidisplaysessionimagetrack</fqname>
<fqname>@1.0::IWifiDisplaySessionVideoTrack/wifidisplaysessionvideotrack</fqname>
</hal>
<hal format="hidl">
<name>vendor.qti.ims.callinfo</name>
<transport>hwbinder</transport>

View file

@ -87,18 +87,6 @@
-->
<bool name="config_enableWifiDisplay">true</bool>
<!-- Set to true if the wifi display supports compositing content stored
in gralloc protected buffers. For this to be true, there must exist
a protected hardware path for surface flinger to composite and send
protected buffers to the wifi display video encoder.
If this flag is false, we advise applications not to use protected
buffers (if possible) when presenting content to a wifi display because
the content may be blanked.
This flag controls whether the {@link Display#FLAG_SUPPORTS_PROTECTED_BUFFERS}
flag is set for wifi displays.
-->
<bool name="config_wifiDisplaySupportsProtectedBuffers">true</bool>
<!-- When true use the linux /dev/input/event subsystem to detect the switch changes
on the headphone/microphone jack. When false use the older uevent framework. -->
<bool name="config_useDevInputEventForAudioJack">true</bool>
@ -225,21 +213,14 @@
<!-- Shutdown if the battery temperature exceeds (this value * 0.1) Celsius. -->
<integer name="config_shutdownBatteryTemperature">600</integer>
<!-- Default list of files pinned by the Pinner Service -->
<!-- Default files to pin via Pinner Service -->
<string-array translatable="false" name="config_defaultPinnerServiceFiles">
<item>"/system/framework/framework.jar"</item>
<item>"/system/framework/services.jar"</item>
<item>"/apex/com.android.art/javalib/core-oj.jar"</item>
<item>"/apex/com.android.art/javalib/core-libart.jar"</item>
<item>"/system_ext/priv-app/SystemUI/SystemUI.apk"</item>
<item>"/system/bin/surfaceflinger"</item>
<item>/system/lib64/libRScpp.so</item>
<item>/system/lib64/libRS.so</item>
<item>/system/lib64/libRS_internal.so</item>
<item>/system/lib64/libbcinfo.so</item>
<item>/system/lib64/libRSDriver.so</item>
<item>/system/lib64/libRSCpuRef.so</item>
<item>/system/lib64/libblas.so</item>
<item>/apex/com.android.art/javalib/core-oj.jar</item>
<item>/apex/com.android.art/javalib/core-libart.jar</item>
<item>/system/framework/framework.jar</item>
<item>/system/framework/services.jar</item>
<item>/system/bin/surfaceflinger</item>
<item>/system_ext/priv-app/SystemUI/SystemUI.apk</item>
</string-array>
<!-- Vibrator pattern for feedback when selecting an hour/minute tick of a Clock -->
@ -295,4 +276,97 @@
<!-- Doze: should the TYPE_PICK_UP_GESTURE sensor be used as a pulse signal. -->
<bool name="config_dozePulsePickup">true</bool>
<!-- Flag indicating whether the surface flinger has limited
alpha compositing functionality in hardware. If set, the window
manager will disable alpha trasformation in animations where not
strictly needed. -->
<bool name="config_sf_limitedAlpha">true</bool>
<!-- Enables or disables fading edges when marquee is enabled in TextView.
Off by default, since the framebuffer readback used to implement the
fading edges is prohibitively expensive on most GPUs. -->
<bool name="config_ui_enableFadingMarquee">true</bool>
<!-- Determines whether the shell features all run on another thread. -->
<bool name="config_enableShellMainThread">true</bool>
<!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
in hardware for individual layers. -->
<bool name="config_setColorTransformAcceleratedPerLayer">true</bool>
<!-- Maximum color temperature, in Kelvin, supported by Night display.
Setting this to track config_displayWhiteBalanceColorTemperatureDefault (currently 6500K). -->
<integer name="config_nightDisplayColorTemperatureMax">6500</integer>
<!-- Feature flag to store TaskSnapshot in 16 bit pixel format to save memory. -->
<bool name="config_use16BitTaskSnapshotPixelFormat">true</bool>
<!-- Default value for performant auth feature. -->
<bool name="config_performantAuthDefault">true</bool>
<!-- Whether we use large screen shade header which takes only one row compared to QS header -->
<bool name="config_use_large_screen_shade_header">true</bool>
<!-- If true, the display will be shifted around in ambient mode. -->
<bool name="config_enableBurnInProtection">true</bool>
<!-- Indicate available ColorDisplayManager.COLOR_MODE_xxx. -->
<integer-array name="config_availableColorModes">
<item>0</item> <!-- COLOR_MODE_NATURAL -->
<item>1</item> <!-- COLOR_MODE_BOOSTED -->
<item>2</item> <!-- COLOR_MODE_SATURATED -->
<item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
</integer-array>
<!-- Color mode to use when accessibility transforms are enabled. This color mode must be
supported by the device, but not necessarily appear in config_availableColorModes. The
regularly selected color mode will be used if this value is negative. -->
<integer name="config_accessibilityColorMode">2</integer>
<!-- The following two arrays specify which color space to use for display composition when a
certain color mode is active.
Composition color spaces are defined in android.view.Display.COLOR_MODE_xxx, and color
modes are defined in ColorDisplayManager.COLOR_MODE_xxx and
ColorDisplayManager.VENDOR_COLOR_MODE_xxx.
The color space COLOR_MODE_DEFAULT (0) lets the system select the most appropriate
composition color space for currently displayed content. Other values (e.g.,
COLOR_MODE_SRGB) override system selection; these other color spaces must be supported by
the device for for display composition.
If a color mode does not have a corresponding color space specified in this array, the
currently set composition color space will not be modified.-->
<integer-array name="config_displayCompositionColorModes">
<item>0</item> <!-- COLOR_MODE_NATURAL -->
<item>1</item> <!-- COLOR_MODE_BOOSTED -->
<item>2</item> <!-- COLOR_MODE_SATURATED -->
<item>3</item> <!-- COLOR_MODE_AUTOMATIC -->
</integer-array>
<integer-array name="config_displayCompositionColorSpaces">
<item>0</item> <!-- COLOR_MODE_DEFAULT -->
<item>0</item> <!-- COLOR_MODE_DEFAULT -->
<item>0</item> <!-- COLOR_MODE_DEFAULT -->
<item>9</item> <!-- COLOR_MODE_DISPLAY_P3 -->
</integer-array>
<!-- Whether or not wcg (wide color gamut) should be enabled on this device,
we only enabled it while the device has ability of mixed color spaces composition -->
<bool name="config_enableWcgMode">true</bool>
<!-- Boolean indicating whether the HWC setColorTransform function can be performed efficiently
in hardware. -->
<bool name="config_setColorTransformAccelerated">true</bool>
<!-- The max scale for the wallpaper when it's zoomed in -->
<item name="config_wallpaperMaxScale" format="float" type="dimen">1</item>
<!-- the number of the max cached processes in the system. -->
<integer name="config_customizedMaxCachedProcesses">64</integer>
<!-- Whether WM DisplayContent supports high performance transitions
(lower-end devices may want to disable) -->
<bool name="config_deviceSupportsHighPerfTransitions">false</bool>
<!-- Whether to play turbulence noise after clicking the play button -->
<bool name="config_turbulenceNoise">false</bool>
</resources>

View file

@ -0,0 +1,30 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
** Copyright 2024, The Android Open Source Project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
** You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
*/
-->
<!-- These resources are around just to allow their values to be customized
for different hardware and product builds. -->
<resources>
<!-- Battery health -->
<bool name="config_supportBatteryHealth">true</bool>
<string name="config_batteryCalculatedCapacity">/sys/class/power_supply/bms/charge_full</string>
<string name="config_batteryDesignCapacity">/sys/class/power_supply/bms/charge_full_design</string>
<string name="config_batteryChargeCycles">/sys/class/power_supply/bms/cycle_count</string>
</resources>

View file

@ -38,10 +38,6 @@ It allows additional grants on top of privapp-permissions-platform.xml
<privapp-permissions package="com.qualcomm.qcrilmsgtunnel">
<permission name="android.permission.INTERACT_ACROSS_USERS"/>
</privapp-permissions>
<privapp-permissions package="com.qualcomm.wfd.service">
<permission name="android.permission.WRITE_MEDIA_STORAGE"/>
<permission name="android.permission.START_FOREGROUND_SERVICES_FROM_BACKGROUND"/>
</privapp-permissions>
<privapp-permissions package="org.codeaurora.ims">
<permission name="android.permission.MODIFY_PHONE_STATE"/>
<permission name="android.permission.READ_PRECISE_PHONE_STATE"/>

View file

@ -2,4 +2,6 @@
ro.telephony.block_binder_thread_on_incoming_calls=false
# LMKD
ro.lmk.kill_heaviest_task=false
ro.lmk.kill_timeout_ms=100
ro.lmk.log_stats=true

View file

@ -968,7 +968,18 @@ vendor/lib64/unnhal-acc-common.so
vendor/lib64/unnhal-acc-hvx.so
# NFC
vendor/lib64/libpn553_fw.so:vendor/lib/libpn553_fw.so
system/etc/libnfc-nci.conf
system/etc/felica/common.cfg
system/etc/felica/mfm.cfg
system/etc/felica/mfs.cfg
vendor/bin/hw/android.hardware.nfc@1.1-service.cxd22xx
vendor/etc/libnfc-cxd22xx.conf
vendor/etc/libnfc-cxd-224x02010010.conf
vendor/etc/libnfc-cxd-224x02310011.conf
vendor/etc/nfc_settings.conf
vendor/etc/init/android.hardware.nfc@1.1-service.cxd22xx.rc
vendor/firmware/cxd224x_firmware_ES1.1.bin
vendor/firmware/cxd224x_firmware_ES1.0.bin
# Peripheral manager
vendor/bin/pm-proxy
@ -1399,87 +1410,15 @@ vendor/bin/cnss-daemon
vendor/bin/cnss_diag
# WiFi Display (system) - from lemonadep - UKQ1.230924.001
system/framework/WfdCommon.jar;BOOT_JAR|a661c494d064b79a3f71579592411fada1ea232f
system_ext/bin/wfdservice|400d123df78c1ed2e9643ff3ddf5ee5748f954fe|8a0be1b9478adf4b44a1ba34f045b1871f64ac5c
system_ext/etc/init/wfdservice.rc|907def8565d8f91f531ca7dfad880af05d540b0c
system_ext/etc/seccomp_policy/wfdservice.policy|5b3592c965f16b2d55ac89d56d8d3c49a6b5800b
system_ext/etc/wfdconfigsink.xml|cb78df66948314a75080a4161321fb3111a0785a
system_ext/lib/com.qualcomm.qti.wifidisplayhal@1.0.so|cb88bc73bf9f44d7da000a41d38b309ffdf71370
system_ext/lib/libmmosal.so|e806f8040b4e59c6e08e437734a2176090a94ae3
system_ext/lib/libmmparser_lite.so|61bbc90e3a26a64007eb9b0871b43cce72ee6b7e
system_ext/lib/libmmrtpdecoder.so|4fc76315f11ff5fe416f36b66c9422ef05eae182
system_ext/lib/libmmrtpencoder.so|0fa2096eec29eec395f6bd88d7d1049a127e090c
system_ext/lib/libwfdavenhancements.so|581db496334d2adb76e6c6af67620f49ca24eabd
system_ext/lib/libwfdclient.so|a9639d9f269880700bac6fc06e8302702fb0ab32
system_ext/lib/libwfdcommonutils.so|b738182e77f3e7faf72460f09ebdfca7de5e0c23
system_ext/lib/libwfdconfigutils.so|a52a96e2699f3a5ad79838e356cd90838e26218b
system_ext/lib/libwfddisplayconfig.so|f46fe63fb3d58c143dc92741a962167af3d8b928
system_ext/lib/libwfdmminterface.so|5844114d7cc823090a70fe4f44cbda0ddf585ebd
system_ext/lib/libwfdmmsink.so|23fb5c836fc06865b229c30b46998e41c0624dac
system_ext/lib/libwfdmmsrc_system.so|0adfc69a5560158f3a6803ba720acc795d6d05dc|f4395e4a22bed41fdbe86c988caba7d46cf0c8bf
system_ext/lib/libwfdrtsp.so|afd69963c2bd59bdb3ff23e01710c61ed90c5d87
system_ext/lib/libwfdservice.so|07e6d0e00393a8c068f75b46531d2e75fdaebde2|679e2cb2b25374a57dfd860286da96abeee04f36
system_ext/lib/libwfdsinksm.so|875171cc6ae534dd941eec1c87b78d5961e19c06
system_ext/lib/libwfduibcinterface.so|e90fa4920b010bd6ef2bd78c2d2644cbd0fcbffa
system_ext/lib/libwfduibcsink.so|91af548471c395a958e6155dd9be19cccbe482d3
system_ext/lib/libwfduibcsinkinterface.so|bc0e7dca28d1e5cbc6caf5bd5378f3e6db3b460c
system_ext/lib/libwfduibcsrc.so|a0b1c73015c449468db0d2776fdfcc56dfeee53b
system_ext/lib/libwfduibcsrcinterface.so|2e24ec6a075407664488b4214eef35cb2ca845f4
system_ext/lib/vendor.qti.hardware.wifidisplaysession@1.0.so|45a0a8cd9f1aa5cbe69b113192d42bc42e32e9c3
system_ext/lib64/libmmosal.so|8488b27e6a9cda05c68181e8bf20afa7ba345222
system_ext/lib64/libmmparser_lite.so|59d550a52773722f1fe515bd5fba86918cf6f54e
system_ext/lib64/libmmrtpdecoder.so|0da526d51135ea58236ab6bcc2d1b7484931df24
system_ext/lib64/libmmrtpencoder.so|fafe00d1ed3d691c6d2c2d963144218764cad5ae
system_ext/lib64/libwfdclient.so|0070b1e88cee6ebaf17dcb02c2706232cc087071
system_ext/lib64/libwfdcommonutils.so|14b3bd86703f2aca0abb1232d2304e626c1af644
system_ext/lib64/libwfdconfigutils.so|6f1a3a862ddde4245ea58ad310101df620d3a00b
system_ext/lib64/libwfddisplayconfig.so|5fd7bf7abaedfe890442f88183c49755b25c39aa
system_ext/lib64/libwfdmminterface.so|3f16acefbe87741a5841c1c70cf74ff917299c4c
system_ext/lib64/libwfdmmsink.so|8150b750357b606475521b491f78d566673f9888
system_ext/lib64/libwfdnative.so;SYMLINK=system_ext/priv-app/WfdService/lib/arm64/libwfdnative.so|92ec61d464c07d9e9020cf413489cdc01fb19abc|3112f3492eb52db39ca1d091d9d25f64d625e670
system_ext/lib64/libwfdrtsp.so|8181e44d7c1f722218fabd8fe3bf788454a3f586
system_ext/lib64/libwfdsinksm.so|c4d68ecbe0accd24296c18444e5a82b6a24be8d8
system_ext/lib64/libwfduibcinterface.so|dca32fe063bdba7ce3b131b16cf112b793ae03ad
system_ext/lib64/libwfduibcsink.so|63ea93b1a6aec75a294baf50007270807a819e21
system_ext/lib64/libwfduibcsinkinterface.so|39c123bd9a4d7a8fa317f8ed4d86972dcfab0423
system_ext/lib64/libwfduibcsrc.so|5557f3bd58c37b7e3b28e13f2f86d55930b14ab6
system_ext/lib64/libwfduibcsrcinterface.so|77cead9bf7b60384fe1e11dc2b25bd99af0b4608
system_ext/priv-app/WfdService/WfdService.apk|7191da7d336f6018ee292af4e69167677b9f5bd1
# WiFi Display (vendor) - from PNX - RKQ1.200906.002
vendor/bin/wfdhdcphalservice|c7a2d70190d8a90a8ed326af0add5cf7c99d1ab6
vendor/bin/wifidisplayhalservice|414bb43e7f93d67d62ee7111ced4e55e065f6d8c
vendor/etc/init/android.hardware.drm@1.1-service.wfdhdcp.rc|c266f08783a17f6583e3f22c85e55b0c200442ea
vendor/etc/init/com.qualcomm.qti.wifidisplayhal@1.0-service.rc|576ce4393b7746b77a230745aa9e9ee3bd31b17d
vendor/etc/seccomp_policy/wfdhdcphalservice.policy|a489ab323be4be2df3de9f84a6b5e6cef924f4c4
vendor/etc/seccomp_policy/wfdvndservice.policy|b46f0c22a1f9b65c6750205e161c0a3f84ac716b
vendor/etc/seccomp_policy/wifidisplayhalservice.policy|f113f27e0e301a18baf0ade08c23071a27c7dc52
vendor/lib/libFileMux_proprietary.so|e59edd4604a7c73147118161cab5b7ac6bb16c82
vendor/lib/libmmosal.so|57185feced72009af2df1b09117702c9fae7182b;MODULE_SUFFIX=_vendor
vendor/lib/libmmrtpdecoder_proprietary.so|9232f505ea8f0c1e9f81a049c583fba32a450d73
vendor/lib/libmmrtpencoder_proprietary.so|d8386b78c976d94867455c67dd10d63e8a343363
vendor/lib/libwfdcodecv4l2_proprietary.so|70a2900804160bc53bb19c11e81278ffde0c5fee
vendor/lib/libwfdcommonutils_proprietary.so|12990e068e9ecb8d435bbb1370083ee6ca2fe63d
vendor/lib/libwfdconfigutils_proprietary.so|1844d3b80f3a86605d566597bda285448be360c7
vendor/lib/libwfddisplayconfig_proprietary.so|fd73dda05415d2316eb46fb97635939a03107815
vendor/lib/libwfdhdcpcp.so|7f0aefaf7efe250aff192b4b309be08b8e799d0d
vendor/lib/libwfdhdcpservice_proprietary.so|80f7b95d883aafbdd66b2d72ea76ed2a9a8c21f4
vendor/lib/libwfdmminterface_proprietary.so|3eb3455633d5814a5d7cddb0d95f9d45b7c05db2
vendor/lib/libwfdmmservice_proprietary.so|d98b728661708e1c63819b42bb4d9a01fa94ec6b
vendor/lib/libwfdmmsrc_proprietary.so|2bbb574ed51e21a1eb70381cbf26558732fe3cec
vendor/lib/libwfdmodulehdcpsession.so|957fc3335cd7f77b84206c0c90290f7b7f196f0e
vendor/lib/libwfdrtsp_proprietary.so|13fed10a23969322562e2b88335738e7cace69a7
vendor/lib/libwfdsessionmodule.so|e5a6989cdaabcf5481ee529e6fd48b623479e88d
vendor/lib/libwfdsourcesession_proprietary.so|0732b86ffa78050b9b8a0ceaf50457734955eeae
vendor/lib/libwfdsourcesm_proprietary.so|27c3f75f5b764175e8bd9721578164836c6f4dfb
vendor/lib/libwfduibcinterface_proprietary.so|a722647a44d89d4aed1d89110b5c141069229759
vendor/lib/libwfduibcsink_proprietary.so|1fca8e9556d209377c1860b4d829bb71450cfce0
vendor/lib/libwfduibcsinkinterface_proprietary.so|64b802f12ffb30418a072d0ebf3c262a34c82e38
vendor/lib/libwfduibcsrc_proprietary.so|b78df6ab7acb850f2adb875ccecb1a3c3539f4d2
vendor/lib/libwfduibcsrcinterface_proprietary.so|91837ba6b6692e1d553ece3aa4469dd64f164a04
vendor/lib/libwfdutils_proprietary.so|cae4c266704da4ce15b59c13f57ccf8f1391b699
vendor/lib/vendor.qti.hardware.wifidisplaysession@1.0.so|fdba1b3c11ace4b0415be4e5944cdb288cd35f58;MODULE_SUFFIX=_vendor
vendor/lib/vendor.qti.hardware.wifidisplaysessionl@1.0-halimpl.so|044c6cfd4bc603e4aa372ab1a3d287a8d8e5fc48
# WiFi Display (vendor) - from lemonadep - TP1A.220624.003
vendor/etc/wfdconfig.xml|4f863ac9a71bafff8afc14e8fab26af979bbb1d6

View file

@ -1,10 +0,0 @@
//
// Copyright (C) 2022 The LineageOS Project
// SPDX-License-Identifier: Apache-2.0
//
prebuilt_etc {
name: "ueventd.tama.rc",
filename: "ueventd.rc",
src: "etc/ueventd.tama.rc",
device_specific: true,
}

View file

@ -53,4 +53,4 @@
# and fails if it does not find it.
/dev/block/bootdevice/by-name/frp /persistent emmc defaults defaults
/dev/block/bootdevice/by-name/misc /misc emmc defaults defaults
/dev/block/zram0 none swap defaults zramsize=25%
/dev/block/zram0 none swap defaults zramsize=3221225472

View file

@ -61,12 +61,18 @@ on init
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor "schedutil"
write /sys/devices/system/cpu/cpu0/cpufreq/schedutil/up_rate_limit_us 500
write /sys/devices/system/cpu/cpu0/cpufreq/schedutil/down_rate_limit_us 20000
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 576000
write /sys/devices/system/cpu/cpu0/cpufreq/schedutil/hispeed_freq 1132800
write /sys/devices/system/cpu/cpu0/cpufreq/schedutil/hispeed_load 90
write /sys/devices/system/cpu/cpu0/cpufreq/schedutil/pl 1
write /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq 300000
# Configure governor settings for big cluster
write /sys/devices/system/cpu/cpu4/cpufreq/scaling_governor "schedutil"
write /sys/devices/system/cpu/cpu4/cpufreq/schedutil/up_rate_limit_us 500
write /sys/devices/system/cpu/cpu4/cpufreq/schedutil/down_rate_limit_us 20000
write /sys/devices/system/cpu/cpu4/cpufreq/schedutil/hispeed_freq 1612800
write /sys/devices/system/cpu/cpu4/cpufreq/schedutil/hispeed_load 90
write /sys/devices/system/cpu/cpu4/cpufreq/schedutil/pl 1
write /sys/devices/system/cpu/cpu4cpufreq/scaling_min_freq 825000
# Set default schedTune value for foreground/top-app
@ -96,6 +102,10 @@ on boot
# locks and process hints until it doesn't exists or it is empty.
setprop vendor.post_boot.parsed 1
# Increase bms temperature
write /sys/class/power_supply/bms/temp_warm 500
write /sys/class/power_supply/bms/temp_hot 550
on post-fs
# Disable sched autogroup
write /proc/sys/kernel/sched_autogroup_enabled 0
@ -204,15 +214,15 @@ on enable-low-power
write /sys/class/devfreq/soc:qcom,l3-cdsp/governor "userspace"
chown system /sys/class/devfreq/soc:qcom,l3-cdsp/userspace/set_freq
# Gold L3 ratio ceil
write /sys/class/devfreq/soc:qcom,l3-cpu4/mem_latency/ratio_ceil 4000
# Enable compute governor for mincpubw
write /sys/class/devfreq/soc:qcom,mincpubw/governor "compute"
write /sys/class/devfreq/soc:qcom,mincpubw/polling_interval 10
# Set cpuset parameters
write /dev/cpuset/background/cpus 0-1
write /dev/cpuset/system-background/cpus 0-3
write /dev/cpuset/audio-app/cpus 0-3
write /dev/cpuset/camera-daemon/cpus 0-3
write /dev/cpuset/foreground/boost/cpus 0-3,6-7
write /dev/cpuset/foreground/cpus 0-3,6-7
write /dev/cpuset/top-app/cpus 0-7
@ -243,9 +253,6 @@ on enable-low-power
write /sys/devices/platform/soc/${ro.boot.bootdevice}/clkgate_enable 1
write /sys/devices/platform/soc/${ro.boot.bootdevice}/hibern8_on_idle_enable 1
write /proc/sys/vm/swappiness 100
write /proc/sys/vm/watermark_scale_factor 120
# Enable PowerHAL hint processing
setprop vendor.powerhal.init 1
@ -253,6 +260,7 @@ on enable-low-power
on property:sys.boot_completed=1
trigger enable-low-power
write /sys/block/mmcblk0/queue/read_ahead_kb 4096
write /sys/block/sda/queue/read_ahead_kb 512
write /sys/block/sdb/queue/read_ahead_kb 512
write /sys/block/sdc/queue/read_ahead_kb 512

View file

@ -62,9 +62,10 @@ on early-init
write /sys/devices/platform/soc/soc:fpc1145/uevent add
# change the compression algorithm for zRAM
# zRAM
write /sys/block/zram0/comp_algorithm lz4
write /proc/sys/vm/page-cluster 0
write /proc/sys/vm/swappiness 100
on init
# Support legacy paths
@ -97,8 +98,6 @@ on init
# Bluetooth address setting
setprop ro.vendor.bt.bdaddr_path "/data/vendor/etc/bluetooth_bdaddr"
write /proc/sys/vm/swappiness 100
on late-init
setprop vendor.keyprovd.suntory.prov "false"

View file

@ -239,6 +239,9 @@ firmware_directories /vendor/firmware_mnt/image/
/dev/tsc_mux0 0660 media media
/dev/tsc_ci0 0660 media media
# Charger
/sys/class/power_supply/battery charging_enabled 0660 system system
# sensors
/dev/sensors 0660 system system
/sys/devices/i2c-12/12-* pollrate_ms 0664 system system
@ -301,14 +304,6 @@ firmware_directories /vendor/firmware_mnt/image/
/sys/bus/pci/drivers/wil6210* 0000:01:00.0/net/wigig0/gro_flush_timeout 0660 system system
/sys/devices/virtual/net/bond0 queues/rx-0/rps_cpus 0660 system system
#nfc permissions
#/dev/nfc-nci 0660 nfc nfc
#/dev/nq-nci 0660 nfc nfc
#/dev/assd 0660 nfc nfc
# NFC
/dev/pn553 0660 nfc nfc
# UIO devices
/dev/uio0 0660 system system
/dev/uio1 0660 system system

View file

@ -1,8 +0,0 @@
#
# Copyright (C) 2022-2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Charger
/sys/class/power_supply/battery charging_enabled 0660 system system

Some files were not shown because too many files have changed in this diff Show more