Subhajeet Muhuri
2a18634782
sdm660-common: power-libperfmgr: Add back powerstats
...
Change-Id: I4343db7974eee74b6987e86e101cdfe6daff21a7
2020-12-22 20:57:05 +06:00
Subhajeet Muhuri
207ce8c7fd
sdm660-common: power-libperfmgr: Remove ATRACE instances
...
Change-Id: I50eaf5fd6c3763ab005ec965c3dfa173808313e3
2020-12-22 20:57:05 +06:00
LuK1337
dd610eb720
sdm660-common: power-libperfmgr: Follow symlinks when writing to dt2w toggle path
...
* Some devices tend to symlink touchpanel related toggles
to common path due to having to deal with different panels.
Change-Id: I429e4c5acfbcd3ff26a019f919fbe880692160bd
2020-12-22 20:57:04 +06:00
Steve Kondik
1bb29d8296
sdm660-common: power-libperfmgr: Add support for tap-to-wake feature control
...
Signed-off-by: Subhajeet Muhuri <kenny3fcb@gmail.com>
Change-Id: Ideb02c659d64cdde4ee2f46c2631f7b42d003b05
2020-12-22 20:57:04 +06:00
Subhajeet Muhuri
b5e7add355
sdm660-common: power-libperfmgr: Remove dumpstate support
...
Change-Id: I28416d1b09c1157119ea3ac0de3d015b71896c02
2020-12-22 20:57:04 +06:00
Subhajeet Muhuri
b44a490cf4
sdm660-common: power-libperfmgr: completely remove camera hints handling
...
Change-Id: I1749eb76b0a3aa4afd68fc532b98f1022c4e773a
2020-12-22 20:57:04 +06:00
Demon Singur
e97910bdff
sdm660-common: power-libperfmgr: remove VR hints handling
...
Change-Id: I4da9b175c3df713f5befd9364ff75b5c1b41a48d
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
2020-12-22 20:57:04 +06:00
Jesse Chan
94b25521ed
sdm660-common: power-libperfmgr: remove Google-specific camera and audio hints
...
Change-Id: I65285ca8c7248bd1e55d3800862e96c00f00effd
2020-12-22 20:57:04 +06:00
Jesse Chan
fca3c97945
sdm660-common: power-libperfmgr: remove Google-specific display LPM control
...
Change-Id: If58f38b99bf6fbd73f6b6ab2144293c63e18b600
Signed-off-by: Jesse Chan <jc@lineageos.org>
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
2020-12-22 20:57:04 +06:00
Jesse Chan
1b170e92f1
sdm660-common: power-libperfmgr: simply wait if idle state node is not present
...
Change-Id: I93dd97e5437761d2d969f93a5af0cae864fd0a65
Signed-off-by: Jesse Chan <jc@lineageos.org>
2020-12-22 20:57:04 +06:00
Subhajeet Muhuri
2d3b5e315a
sdm660-common: power-libperfmgr: Adapt and rebrand for xiaomi_sdm660
...
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
2020-12-22 20:57:04 +06:00
Subhajeet Muhuri
d1ab8cd588
sdm660-common: Import Pixel libperfmgr Power HAL
...
hardware/google/pixel/power-libperfmgr from android11-release
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
2020-12-22 20:57:04 +06:00
joshuous
fd869a1e7f
sdm660-common: rootdir: performance: Update power tweaks for EAS
...
Change-Id: I4133201f0735777a86f3bd59b007774cd7552304
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-22 20:57:04 +06:00
OdSazib
928c7ac4f5
sdm660-common: Remove qti IOP stack
...
* Useless in EAS
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-22 20:57:04 +06:00
OdSazib
8ec32edb26
sdm660-common: Update libqti-perfd blob from Taimen QQ3A.200705.002
...
* Required for EAS
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-22 20:57:04 +06:00
Demon Singur
d16263c5aa
sdm660-common: remove qti perf stack
...
Change-Id: I4ddac4cd7a9300a0f57c11c805e14d398b446213
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-22 20:57:04 +06:00
OdSazib
9492d1fa58
sdm660-common: Use stock poweroff charging animation
...
* It's best animation out there with battery level
This reverts commit 9271fec5a4
.
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-21 09:19:25 +06:00
Michael Bestas
40f4b8134b
sdm660-common: Do not build textclassifier
...
* Target no longer exists
Change-Id: I2079d7dbbeb59bbe9cd925a56f6bcc84c8a38d7f
2020-12-21 09:19:25 +06:00
Michael Bestas
c3100491c3
sdm660-common: Remove deprecated liboverlay target
...
* This was removed from display HAL in 2015
Change-Id: I25f675260e8ab166001dd2e2601dc13021bcc15a
2020-12-21 09:19:25 +06:00
Michael Bestas
7f63174bbe
sdm660-common: Switch to patchelf from tools-lineage
...
Change-Id: If1a7328804fb9bc39ccec70690f1090f2d0509b3
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-21 09:19:25 +06:00
Wang Han
01e20206e2
sdm660-common: Remove custom vsync offsets
...
* The values are kanged from hammerhead and may introduce
latency as it is not selected for any of our panels
and stock does not set these values in the first place.
Change-Id: Iee854ea77d1e8216c8f01aee2f71a178ffcfaf5c
2020-12-21 09:19:25 +06:00
Han Wang
a32adb1d10
Revert "sdm660: Enable GL comp backpressure"
...
* This is no-op when debug.sf.disable_backpressure=1
is set. Plus, it lags when it's set alone.
Just follow CAF here and remove this ricing.
This reverts commit ede4f5c879
.
Change-Id: I74c5e4ba830ef23448e4f16822687d7a22746a3b
2020-12-21 09:19:25 +06:00
Danny Lin
c8bce5944f
sdm660-common: Use EXPENSIVE_RENDERING power hint for blurs
...
We need to boost the GPU for smooth high-radius blurs as blurring is an
expensive rendering job.
Change-Id: Ia3968313601d2b04ce50c01ee61dc9944ee26187
2020-12-21 09:19:25 +06:00
Danny Lin
e36c0630a8
sdm660-common: Enable compositor background blurring
...
This allows us to create a "glass blur" look throughout the system for
improved visuals.
Change-Id: I77bb13a5711b05b43acf25e12abd9a2f5cd2502d
2020-12-21 09:19:25 +06:00
Han Wang
bb3cb75d39
Revert "Force enable mobile network settings v2"
...
* This prop is not honored anymore on 11.
This reverts commit c4d7f31a89
.
2020-12-21 09:19:25 +06:00
Luca Stefani
7c910f5de2
sdm660-common: Set linker to LLD
...
Change-Id: Ia165daa55ff707725b0619af12bf3a2e6e79c981
2020-12-21 09:19:25 +06:00
OdSazib
d49eada337
sdm660-common: Update exfat driver
...
* New kernel replaced sdfat with exfat
signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-21 09:19:25 +06:00
OdSazib
9a192b7de0
sdm660-common: sepolicy: Update sepolicy and cleanup
...
* Address some denials from android 11
* Fix video recording
* Sort in alphabetic order
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-21 09:16:25 +06:00
Aayush Gupta
ad4a731b53
sdm660-common: 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
2020-12-13 18:38:07 +06:00
Aayush Gupta
8c68646954
sdm660-common: Allow qti_init_shell to start & stop ril-daemon
...
[ 9.057234] type=1107 audit(71454275.676:6): uid=0 auid=4294967295 ses=4294967295 subj=u:r:init:s0 msg='avc: denied { set } for property=ctl.stop$ril-daemon pid=1122 uid=0 gid=0 scontext=u:r:qti_init_shell:s0 tcontext=u:object_r:ctl_stop_prop:s0 tclass=property_service 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: I5f062f8c6be56380b40a9428358c5f6c93dd71c8
2020-12-13 18:38:07 +06:00
LuK1337
bb066620d8
sdm660-common: sepolicy: Address radio denials
...
Change-Id: If37262e6be3d31f51dcd482db04ce647ecd57e4d
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
2020-12-13 18:38:07 +06:00
Aayush Gupta
2ccf864f31
sdm660-common: Address denials regarding to access sysfs_kgsl
...
[ 22.419451] type=1400 audit(1601312073.698:17): avc: denied { search } for comm="ImageWallpaper" name="kgsl-3d0" dev="sysfs" ino=29220 scontext=u:r:platform_app:s0:c512,c768 tcontext=u:object_r:sysfs_kgsl:s0 tclass=dir permissive=0 app=com.android.systemui
[ 9.476242] type=1400 audit(1601312065.534:13): avc: denied { search } for comm="BootAnimation" name="kgsl-3d0" dev="sysfs" ino=29220 scontext=u:r:bootanim:s0 tcontext=u:object_r:sysfs_kgsl:s0 tclass=dir permissive=0
Change-Id: I80c5de2d9687b3127922d5bc55c26461a797d0f9
Signed-off-by: Aayush Gupta <aayushgupta219@gmail.com>
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
2020-12-13 18:38:07 +06:00
Nolen Johnson
0d7a7d4ef5
sdm660-common: Move rtc contexts to device/qcom/sepolicy
...
* In device/qcom/sepolicy-legacy-um now.
Change-Id: I80b877d4b65a3d22cf7a61d70e08e48edeb627de
2020-12-13 18:38:07 +06:00
nebrassy
7821f6dc80
sdm660-common: sepolicy: drop seapp_contexts
...
now labeled in sepolicy-legacy-um
Change-Id: I284d16905a7e67c3d86f300ac9bf73fa1b9490fc
2020-12-13 18:38:07 +06:00
OdSazib
f614ba1ce6
sdm660-common: Clean up sepolicy for Android 11
...
checkpolicy: error(s) encountered while parsing configuration
Changes in Android 11
* dpmd > vendor_dpmd
* persist_camera_prop > vendor_persist_camera_prop
* persist_dpm_prop > vendor_persist_dpm_prop
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-13 18:38:07 +06:00
Bruno Martins
31de151a0d
sdm660-common: Replace BOARD_CHARGER_DISABLE_INIT_BLANK with equivalent prop
...
Change-Id: I00125a429cde213e8dd22f742c5875e39b80bb5e
2020-12-13 18:38:07 +06:00
Redick Lin
4f7ff6df99
sdm660-common: BOARD_CHARGER_ENABLE_SUSPEND becomes ro.charger.enable_suspend
...
Define ro.charger.enable_suspend to true as charger no
longer uses BOARD_CHARGER_ENABLE_SUSPEND.
Bug: 153937817
Change-Id: Ic76bf3a66c5e21c74e49607f54d6c0358c31bbac
Signed-off-by: Redick Lin <redicklin@google.com>
2020-12-13 18:37:52 +06:00
nebrassy
7083e0a2bc
sdm660-common: manifest: decommonize Keymaster
...
Change-Id: Ifdfcd868399b28a77d4a05db584e2c02b47ad2c3
2020-12-13 18:37:01 +06:00
Ramakant Singh
11b714d506
sdm660-common: init: Add vendor prefix for shell
...
qti_init_shell renamed to vendor_qti_init_shell in order
to avoid SELinux denials
Change-Id: I4cfe1d8e15892a4948ece52aa799b2a60826d5f9
2020-12-13 18:37:01 +06:00
Jiyong Park
87a5439069
sdm660-common: Build init with shared libraries
...
recovery partition now supports shared librarys. Therefore, init can now
be built as a dynamic executable both for normal and recovery modes.
To save save in the recovery mode, not all libs are dynamically linked.
Libs that are only used by init in the recovery mode are still
statically linked.
Note: init is still a static executable for legacy devices where
system-as-root is not on, because the dynamic linker and shared libs
which are in /system are not available when init starts.
Bug: 63673171
Test: `adb reboot recovery; adb devices` shows the device ID
Test: device boots to the UI in normal mode.
Test: do that for both walleye (system-as-root) and bullhead (legacy
ramdisk).
Change-Id: I30c84ae6a8e507e507ad0bb71acad281316d9e90
2020-12-13 18:37:01 +06:00
Bruno Martins
ae14105f3c
sdm660-common: Drop QC location support
...
It leaks the IP, location and more to some 3rd party companies.
Change-Id: I77a82306b21030056e30d43eda4e504963554309
2020-12-13 18:37:01 +06:00
LuK1337
470f46ca7d
sdm660-common: Update qcom sepolicy include
...
Change-Id: I7167575e82eb8c5de2d822643261757edda73a07
2020-12-13 18:37:01 +06:00
LuK1337
b05ef7e05a
sdm660-common: Do not use timeservice_app_cert-legacy-um certificate for TimeService app
...
* This cert is no longer present in qcom sepolicy.
Change-Id: Ie4e882058825287d9db3f7a3bdd37c641c67a5c2
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
2020-12-13 18:37:01 +06:00
LuK1337
510d313d4e
sdm660-common: sepolicy: Label /persist
...
Change-Id: I471c0d1fedb51eabc32b54ab35a9823db8efd034
2020-12-13 18:37:01 +06:00
OdSazib
151e86e97b
sdm660-common: Set target screen density to 400
...
Change-Id: I574b5d322eccc753d37f9fc17599470d12cd9b37
2020-12-13 18:37:01 +06:00
inthewaves
b7b965a7a0
sdm660-common: add config overlay for biometric sensors
...
Change-Id: Iad81cd680fbeedd1ac3f216727e367d790834423
2020-12-13 18:37:01 +06:00
Manish Sarkar
827e1a8e00
sdm660-common: init: remove lct diag
...
We dont need you at all
05-28 19:19:49.428 0 0 I init : Command 'rm /data/vendor/lct_diag/client_*' action=post-fs-data (/vendor/etc/init/hw/init.qcom.rc:371) took 0ms and failed: unlink() failed: No such file or directory
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: I1d25b638e9385494f7ce883bab71ddab480559e0
2020-12-13 18:37:01 +06:00
OdSazib
0127312090
sdm660-common: fix: unable to decode UID for 'sensors': getpwnam failed
...
No such file or directory, Yet!
Change-Id: Ibbf773b1b238c1172ea639e47ffe59db2a1112ed
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-13 18:37:01 +06:00
Dan Willemsen
ee0b64d99d
sdm660-common: Still use BUILD_COPY_HEADERS
...
Bug: 130719878
Test: turn copy headers into an error by default; still builds
Change-Id: Idf228b2e8c4a4d93c3ad43fcd9995564d4feb67d
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-13 18:37:01 +06:00
OdSazib
ec64ed4b97
sdm660-common: remove unnecessary deps from vndk
...
Co-authored-by: Nebrassy <nebras30@gmail.com>
Co-authored-by: Anush02198 <Anush.4376@gmail.com>
Change-Id: I25982798d27a207d6b5d0343989888ecee22d457
Signed-off-by: OdSazib <odsazib@gmail.com>
2020-12-13 18:37:01 +06:00