Commit graph

57 commits

Author SHA1 Message Date
Dakkshesh
f5a3af4e1e
sdm710-common: Grand extra permissions to cellboardcast reciver module
* This fixed:

07-03 16:06:56.231  1788  1981 W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to ProcessRecord{c98b797 2313:com.android.systemui/u0a149} (pid=2313, uid=10149) requires android.permission.ACCESS_FINE_LOCATION due to sender android (uid 1001)
07-03 16:06:56.231  1788  1981 W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to com.android.cellbroadcastreceiver.module/com.android.cellbroadcastreceiver.CellBroadcastReceiver requires android.permission.READ_PHONE_STATE due to sender android (uid 1001)
07-03 16:06:56.232  1788  1981 W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to ProcessRecord{c98b797 2313:com.android.systemui/u0a149} (pid=2313, uid=10149) requires android.permission.ACCESS_FINE_LOCATION due to sender android (uid 1001)
07-03 16:06:56.233  1788  1981 W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to com.android.cellbroadcastreceiver.module/com.android.cellbroadcastreceiver.CellBroadcastReceiver requires android.permission.ACCESS_FINE_LOCATION due to sender android (uid 1001)
07-03 16:06:56.233  1788  2760 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcastMultiplePermissions:1272 android.content.Context.sendBroadcastMultiplePermissions:2272 com.android.server.TelephonyRegistry.broadcastServiceStateChanged:3096 com.android.server.TelephonyRegistry.notifyServiceStateForPhoneId:1616 com.android.internal.telephony.ITelephonyRegistry$Stub.onTransact:492
07-03 16:06:56.233  1788  2760 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcastMultiplePermissions:1272 android.content.Context.sendBroadcastMultiplePermissions:2272 com.android.server.TelephonyRegistry.broadcastServiceStateChanged:3100 com.android.server.TelephonyRegistry.notifyServiceStateForPhoneId:1616 com.android.internal.telephony.ITelephonyRegistry$Stub.onTransact:492
07-03 16:06:56.234  1788  1981 W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to com.android.cellbroadcastreceiver.module/com.android.cellbroadcastreceiver.CellBroadcastReceiver requires android.permission.READ_PHONE_STATE due to sender android (uid 1001)
07-03 16:06:56.235  1788  1981 W BroadcastQueue: Appop Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to ProcessRecord{c98b797 2313:com.android.systemui/u0a149} (pid=2313, uid=10149) excludes appop android:read_phone_state due to sender android (uid 1001)

Signed-off-by: EndCredits <endcredits@crepuscular-aosp.icu>
Signed-off-by: Dakkshesh <dakkshesh5@gmail.com>
2023-10-11 18:25:42 +03:00
--no-edit=Hemant Sachdeva
493734f9b0
sdm710-common: configs: Allow Phone app to READ_PHONE_STATE
* W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to com.google.android.cellbroadcastreceiver/com.android.cellbroadcastreceiver.CellBroadcastReceiver requires due to sender android (uid 1001) * W BroadcastQueue: Permission Denial: receiving Intent { act=android.intent.action.SERVICE_STATE flg=0x1000010 (has extras) } to ProcessRecord{c7b3bd5 2639:com.android.phone/1001} (pid=2639, uid=1001) requires due to sender android (uid 1001)

Signed-off-by: romgharti <romgharti@gmail.com>
2023-10-11 18:25:24 +03:00
Alin Jerpelea
d3480d75f8
sdm710-common: configs: Add qmi_fw.conf
This file will silence the warnings on qmi

Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
Change-Id: I7d7ec0da00a33a0da8f189b0181d40919b9918e5
2023-06-28 20:21:11 +03:00
1582130940
1a846944f4
sdm710-common: configs: Update from LA.QSSI.13.0.r1-09700-qssi.0 2023-06-26 22:42:10 +03:00
DennySPB
a9aec84a56
sdm710-common: configs: Decrease launch boost to 3sec
* 5s is just too much long plus battery drainer

Signed-off-by: DennySPB <dennyspb@gmail.com>
Change-Id: I7e037c45cd2296a8bbd67d6bd63c212c0ef2a805
2023-06-26 22:37:04 +03:00
Palakurthi Sreekanth
9fdd9304b1 sdm710-common: grant permissions for carrier settings
java.lang.IllegalStateException: Signature|privileged permissions not in privapp-permissions whitelist: {com.google.android.carrier (/product/priv-app/CarrierSettings): android.permission.WRITE_APN_SETTINGS, com.google.android.carrier (/product/priv-app/CarrierSettings): android.permission.CHANGE_COMPONENT_ENABLED_STATE, com.google.android.carrier (/product/priv-app/CarrierSettings): android.permission.INTERACT_ACROSS_USERS, com.google.android.carrier (/product/priv-app/CarrierSettings): android.permission.MODIFY_PHONE_STATE, com.google.android.carrier (/product/priv-app/CarrierSettings): android.permission.READ_PRIVILEGED_PHONE_STATE, com.google.android.carrier (/product/priv-app/CarrierSettings): com.android.permission.INSTALL_EXISTING_PACKAGES}
2023-06-26 00:20:01 +03:00
victor10520
c302d25ba5
sdm710-common: Use old thermal config
*Works better
2023-06-17 17:03:32 +03:00
Michael Bestas
c5d290db1d sdm710-common: Move qti_whitelist.xml to /system_ext
- Also kang file from sdm845 tree

Change-Id: Id8617513cfd686b3f6888a89c1b1db196acfb476
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2023-01-27 20:17:49 +01:00
GiaSen
f5aa12e10c sdm710-common: Revert media configs to stock 2022-09-06 17:18:11 +02:00
MadhavSaladi
7089a5938f sdm710-common: Switch to GcamGo 2022-01-23 09:39:00 +01:00
Ivan Vecera
609cd1a9fd
sdm710-common: powerhint: Tuning for camera streaming
Change-Id: Ie838bba91f26732529bd3a34df941ac6dc6f1ce5
Signed-off-by: Ivan Vecera <ivan@cera.cz>
2022-01-03 21:23:32 +01:00
Albert I
35fab10381
sdm710-common: powerhint: Update for sdm710
Power hints tuned for our devices by Albert I.

Thanks-to: Albert I <kras@raphielgang.org>
Signed-off-by: Ivan Vecera <ivan@cera.cz>
Change-Id: I580a527b8621252b44e5a8bfcb906b8a98d2156b
2022-01-03 21:23:14 +01:00
Shrikara B
927562f4ae
sdm710-common: media: Update performance points
Update performance points of few video encoders and
decoders

Change-Id: I2bd73a07baf46d5b86e3aacb10fc6ebe38e49c00
2021-08-22 15:23:58 +02:00
Mahesh Lanka
ff8808f4eb
sdm710-common: omx: Publish performance points
Publish performance points for HW codecs

Change-Id: I76fb57f4ff26428982264a3aaebbbcbf3941fa04
2021-08-22 15:23:56 +02:00
Manikanta Kanamarlapudi
3e460972c2
sdm710-common: Change secure max instances to 3
change secure max instances to 3

CRs-Fixed: 2293050
Change-Id: I590fcadaddd4cbe7ffb8b29e99fec0b7fad569e0
2021-08-22 15:23:40 +02:00
uixdess
9f4635840e
sdm710-common: Merge QCOM media codecs configs with ones being parsed
(nuke whole vendor configs here)

 * Without CodeAurora's modifications in frameworks/av, the vendor suffixed
   media codecs configs are not parsed at all. Move select vendor additions
   into the main files in order to enumerate support for hardware-backed
   HEVC encoder.
2021-08-22 15:23:19 +02:00
jjpprrrr
13d3363ece
sdm710-common: powerhint: set /dev/cpu_dma_latency value in hex
/dev/cpu_dma_latency accepts values in either s32 or hex format,
so convert 67 (dec) to 43 (hex).

sdm845-common comment:

I assume Google meant to set cpu dma latency to 44 in decimal
rather than hex because 44 is the lowest valid latency value for
C3 LPM state, according to qcom,latency-us in sdm845-pm.dtsi.

The pm qos request is only active when the fd is kept open, so
the dummy value of 100 does not really matter. Keep it as is.

Test: hexdump -C /dev/cpu_dma_latency

00000000  2c 00 00 00                                       |,...|
00000004

Test: kernel pr_err() in pm_qos_power_write() before
      pm_qos_update_request()

Inspired by Artem's commit "qos: Workaround for faulty libperfmgr
config".

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
2021-08-19 00:45:23 +02:00
Giammarco Senatore
f6f497c743
sdm710-common: Initial commonized tree
* minor cleanup in overlay and init rc
* drop dolby
2021-07-25 21:56:17 +02:00
Giammarco Senatore
78fe8f26f8
kunlun2: update thermal engine conf from Pixel 3A XL
change sensors to the one we use, no need to change in dtsi like google does
2021-07-21 15:18:20 +02:00
Giammarco Senatore
ecf3a4d1fa
kunlun2: Do not copy Gcam anymore 2021-07-21 15:18:17 +02:00
Giammarco Senatore
1f26a4e822
kunlun2: Partially revert "Drop android.hardware.thermal HAL"
We still need thermal engine

This partially reverts commit 11d6885d93.
2021-07-20 01:26:53 +02:00
CrisBalGreece
850f0539ad
kunlun2: Kang media codecs from Nokia 8.1
from PNX_00WW_FIH-user-11-RKQ1.200906.002-00WW_6_210-release-keys

 and nuke old deprecated vp8-vp9 media codecs
2021-07-19 12:39:06 +02:00
Giammarco Senatore
6bfcf3971c
kunlun2: copy calib xml to vendor 2021-07-17 21:07:42 +02:00
Jake Weinstein
24e8915eaa
kunlun2: Do not balance msm_drm and kgsl-3d0 IRQs
These are critical for display performance and should not be balanced
in order to improve latency and responsiveness.

Change-Id: I811699d0181427de21830c4ccbaf520ecea9e91a
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
2021-07-16 17:55:01 +02:00
Giammarco Senatore
8300ea271d
kunlun2: Import msm irqbalance 2021-07-16 17:55:01 +02:00
Giammarco Senatore
11d6885d93
Drop android.hardware.thermal HAL 2021-07-16 17:55:01 +02:00
Dillon Brosche
c695b9e482
Update qti privapp permissions 2021-07-16 17:55:00 +02:00
ix5
ee2cde27c0
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]

GiaSen: some alphabetical order

Signed-off-by: Volodymyr Zhdanov <wight554@gmail.com>
Change-Id: I28222c89e1e07017867088492a726ee9d45d8e6f
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:06 +02:00
Sandeep Singh
ad0d143e81
wifi: Add target specific wifi configuration files
This commit imports initial skunk wifi configuration files.

use ours WCNSS config

Change-Id: I5aa01eb778bf24cf50421c093c9ebca4dd541ae0
Signed-off-by: Sandeep Singh <sandsing@codeaurora.org>
Signed-off-by: DennySPb <dennyspb@gmail.com>
2021-07-12 02:24:02 +02:00
bgcngm
5625a48a0a
Add whitelist to support exposing vendor libs
From ZUI 11.5.160
2021-07-12 02:23:59 +02:00
Giammarco Senatore
74e502a935
Import stock audio/media configs
and move some configs from system to vendor
From ZUI 11.5.160
2021-07-12 02:23:58 +02:00
SamarV-121
30666f3913 kunlun2: Import Pixel power AIDL HAL
Nuke Powerstats
2021-01-01 17:52:11 +01:00
GiaSen
936551ec37 kunlun2: Pixel Experience 11
Nuked safailnet and pixel prop
 Nuked CarrierSettings
2020-11-28 17:22:10 +01:00
GiaSen
cce79e583c kunlun2: add google priv-app permissions 2020-09-12 17:07:17 +02:00
GiaSen
b6dd129962 kunlun2: add proper thermal config 2020-07-26 17:36:03 +02:00
ѕαмαя νιѕρυтє
ff5a97d881 sdm710-common: Modify interaction boost min freqs
* 825mhz for silver cluster and 576mhz for gold cluster

Signed-off-by: SamarV-121 <samarv121@pixelexperience.org>
2020-07-20 18:32:27 +02:00
DennySPB
0b0d32cb52 sdm710-common: Decrease launch boost to 3sec
* 5s is just too much long plus battery drainer

Signed-off-by: DennySPB <dennyspb@gmail.com>
Change-Id: I7e037c45cd2296a8bbd67d6bd63c212c0ef2a805
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-28 20:18:28 +02:00
Henrique Pereira
5d670a8d37 sdm710-common: Set schedtune boost to 5
Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-28 20:18:23 +02:00
luk1337
b09479f6bd kunlun2: Remove unsupported media profiles
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-24 13:44:11 +02:00
SamarV-121
2fede046fa kunlun2: Import stock media_profiles_vendor.xml
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-24 13:44:11 +02:00
SamarV-121
83aa3e22a9 kunlun2: Import powerhint from bonito
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:29:29 +02:00
SamarV-121
2d90abaa7c sdm710-common: Disable IOP and PERF HAL
* also revert 56f6504f61, eb7a690439, d5cb550169
 * in the favour of power-libperfmgr
 * also nuke all sepolicies for now
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:27:40 +02:00
Henrique Pereira
5c6a44f762 kunlun2: Import power-libperfmgr from hardware/google/pixel
* Powerhint.json from Crosshatch slightly cleaned-up

Signed-off-by: Henrique Pereira <hlcpereira@pixelexperience.org>
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-05-22 11:27:02 +02:00
GiaSen
5ccaf36749 kunlun2: add missing permissions to snapcam 2020-04-28 11:34:38 +02:00
SamarV-121
432e2365f1 kunlun2: Remove some custom configs
* vendor one's are fine

Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-04-11 19:34:46 +05:30
Alex Naidis
56f6504f61 sdm710-common: configs: lower background apps to 38
* Improves memory performance and decreases power consumption
  in our test cases.

Change-Id: Iee64596a61cf1dfb0698417b61b658f9cc7aaa52
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-30 18:37:36 +05:30
Jake Weinstein
eb7a690439 sdm710-common: Enable UXE,IOP in perfconfigstore
Matches stock Qualcomm configuration and improves performance.
OnePlus disables this because of their framework features, which
we do not have.

Change-Id: I2b6e8c9ed59415bc7841bf244bd3dd9b5633088c
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-30 18:37:36 +05:30
SamarV-121
c8b4b91fe2 sdm710-common: Update configs from stock Q
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 20:06:43 +05:30
SamarV-121
45e639bc56 sdm710-common: Remove QTI configs
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-03-12 20:02:31 +05:30
Simon Shields
1dc2ff8b2a sdm710-common: Remove qvga/vga profiles & lpcm codec
* These are unsupported in AOSP

Change-Id: Ibafea102cbfb4fd27c2c0317e9f36cbc811f3f57
Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
2020-02-14 09:12:00 +05:30