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
Subhajeet Muhuri
e29416b670
sdm660-common: skip ELF check for vndk-ext
...
Change-Id: If2fcf4fa960197f071b4f1c3851dfd0974e538d9
2020-12-13 18:37:01 +06:00
Subhajeet Muhuri
9b77a78185
sdm660-common: remove libhwbinder/libhidltransport deps from usb
...
Change-Id: I0884bd4f4db02f1775e330879e40bf2056ede8c2
2020-12-13 18:37:01 +06:00
Dhananjay Kumar
d857ac4ea0
sdm660-common: rootdir: update audio hal service override as per latest base service definition
...
Change-Id: I1c57ad2e448a95230a4adfff8fba94ffb0cddead
2020-12-13 18:37:01 +06:00
Subhajeet Muhuri
eedfe19a39
sdm660-common: init: Replace property_set() with android::base::SetProperty()
...
https: //android.googlesource.com/platform/system/core/+/c88d8f93cfaa8cbf368a0fa94e8bc84bc55c3ece
Change-Id: Ifa21fcb93b9070f063c64521c525ab7d75db6a6d
2020-12-13 18:37:01 +06:00
TheScarastic
1d115a0fe5
sdm660-common: libinit: include full static libbase
...
Change-Id: Icb67cd6b6759d8cc4fd2e7a98cea74ac68e8ad07
2020-12-13 18:37:01 +06:00
Demon000
19ff6e0599
sdm660-common: Add shim for libdpmframework
...
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
Change-Id: I5bbfcfafd3898d00b489df2cd057ca6dc043e21c
2020-12-13 18:37:01 +06:00
LuK1337
e87bdd7b32
sdm660-common: Switch vintf manifest from copy files to build targets
...
* Fixes:
build/make/core/Makefile:49: error: VINTF metadata found in PRODUCT_COPY_FILES
Change-Id: I0a7ddebff54563f7901b6ce5d6af9580ea201a77
2020-12-13 18:37:01 +06:00
PIPIPIG233666
dbc4a7b0f5
sdm660-common: Patch qti-telephony-common to remove MIUI dependencies
...
Originally authored by Cosmin Tanislav on P (c06b5ad985dced77d08c95c326df73bbc2d4a2fb)
Adapted to R.
smali edit patch: https://gist.github.com/PIPIPIG233666/72806386c8b93729ce7f2b2c263d8889
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@aosip.dev>
2020-12-13 18:37:01 +06:00
Sandeep Gutta
d5b3e3b880
sdm660-common: Update hidl-wrapper and telephony-utils jar path
...
Include system_ext path for both hidl-wrapper and telephony-utils jar's
Change-Id: I7cdd93c71bd4a029971188cab60ed98e401be583
CRs-Fixed: 2637090
2020-12-13 18:37:01 +06:00
Sandeep Gutta
2e9e63f853
sdm660-common: Move qti-telephony-common jar to system_ext partition
...
Move qti-telephony-common jar to system_ext partition.
Change-Id: Ib4c366b2c3ceeea59734902aa1825126e7fa402c
CRs-Fixed: 2608010
2020-12-13 18:37:00 +06:00
Davide Garberi
7d648ced7c
sdm660-common: Update qti-telephony-common from cmi
...
Change-Id: Ic31142ca3a72d29323a2c7851b84a79bcef6fc12
2020-12-13 18:37:00 +06:00
Felix
8fecc32ed8
sdm660-common: Add protobuf vendorcompat lib
...
Our blobs are compiled against libprotobuf-full-cpp.so, but
starting in R, Android is using a versioned naming approach,
e.g. libprotobuf-cpp-full-3.9.1.so.
See https://r.android.com/1109518
The entry in public.libraries.txt is needed to allow the
linker to find and use the lib outside the VNDK.
See https://source.android.com/devices/tech/config/namespaces_libraries
[wight554: added libprotobuf-cpp-lite as well]
Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
Change-Id: I28222c89e1e07017867088492a726ee9d45d8e6f
2020-12-13 18:37:00 +06:00
LuK1337
80d02cda27
sdm660-common: Build libhidltransport/libhwbinder
...
* Needed for old blobs
Change-Id: I43fc0e46547dfc126a4b2ac9dcc82c7c4f2ee172
2020-12-13 18:37:00 +06:00
dianlujitao
4c0f154250
sdm660-common: Add LOCAL_CHECK_ELF_FILES := false for libpowermanager
...
Signed-off-by: Aryan Gupta <guptaaryan189@gmail.com>
Change-Id: I052316f7852d775059d3a95a1f6fdf0b6cb59a31
2020-12-13 18:37:00 +06:00
Arian
eb93de8d19
sdm660-common: Load vndk 29 libprotobuf for libril-qc-hal-qmi and libwhvdil
...
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: I14e2ceef71541003a452775e1dd7f44c8b3b2b5a
2020-12-13 18:37:00 +06:00
Jiyong Park
80a9405ac4
sdm660-common: move VNDK APEX to vendor partition
...
... for aosp_* targets so that we don't need to update vendor.img everytime
there is a change in the VNDK libraries
Bug: 140136207
Test: build, m
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: Ibfe67b4cca6ef6648ad39a50154cb539348b008a
2020-12-13 18:37:00 +06:00
Robert Shih
262f018a5e
sdm660-common: Enable v1.3 clearkey drm plugin
...
Bug: 139134043
Test: MediaDrmTest
Change-Id: Ie34e59947577988f75fae52d22e3f573f4b92420
Signed-off-by: Arian <arian.kulmer@web.de>
2020-12-13 18:37:00 +06:00
Ethan Chen
d1c4577c52
sdm660-common: Add AOSP RCS packages
...
Change-Id: Ic16d3b92820d246db73ad70ccaa0f4bc7f50e515
2020-12-13 18:37:00 +06:00
Ethan Chen
85f3e1c9e1
sdm660-common: Remove dead RCS packages
...
Change-Id: Ie2c03fa11cb08c7ab900d7b666981d592aba19c7
2020-12-13 18:37:00 +06:00
Manish4586
3ca41f3482
sdm660-common: remove vndk 28
...
Test: build
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: I788354e9eacf31d1d0c8f65cfbae118e5058d708
2020-12-13 18:37:00 +06:00
Manish4586
ad54b8823c
sdm660-common: libhidl: remove libhidltransport deps
...
Test: Compile
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: Ic20a147a782f3f81e5360e36018961840e0e60da
2020-12-13 18:37:00 +06:00
Manish4586
3b747333e8
sdm660-common: boardconfig: disallow vintf metadata
...
Test: Compile
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: I135d960a07407ebd4ef4bbf0556e13c630132d2c
2020-12-13 18:37:00 +06:00
Manish4586
cff57187a6
sdm660-common: boardconfig: disable phony targets
...
Signed-off-by: Manish4586 <manish.n.manish45@gmail.com>
Change-Id: I3fdf41ebef4e75872b588525edc4e2aac46d9f1d
2020-12-13 18:28:02 +06:00
Subhajeet Muhuri
8b548ce124
sdm660-common: org.ifaa.android.manager: Use new UnsupportedAppUsage annotation
...
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
Change-Id: Ic152fcc48739158c83f68037b50cfb3565d7ecc5
2020-12-13 18:27:09 +06:00
Demon000
ecae69c66c
sdm660-common: init: remove deprecated load_system_props calls
...
Change-Id: Iefefd50e20e3e54202b6c177891d440113993444
Signed-off-by: Subhajeet Muhuri <subhajeet.muhuri@gmail.com>
2020-12-13 18:27:09 +06:00