Commit graph

990 commits

Author SHA1 Message Date
me-cafebabe
ef2362021f
sdm710-common: Add system_ext product odm partitions 2023-10-27 22:30:20 +03:00
me-cafebabe
2a7017fc7a
sdm710-common: Specify a non-existent dt directory to avoid using dt fstab 2023-10-27 22:30:20 +03:00
me-cafebabe
ade32dd8dd
sdm710-common: Setup Retrofit Dynamic Partitions 2023-10-27 22:30:18 +03:00
Mathieu Chartier
97763d6310
sdm710-common: Always preopt extracted APKs 2023-10-12 19:01:31 +03:00
Nem1xx
7bd37cdae4
sdm710-common: Set correct TARGET_TAP_TO_WAKE_NODE path 2023-10-12 18:57:22 +03:00
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
Mudit200408
44971233da
sdm710-common: Enable fastcharge config 2023-10-07 21:39:07 +03:00
Adithya R
fee8733f29
sdm710-common: Disable ART debug and optimize dexpreopt
* don't include debug configs in art
 * use everything filter for dexpreopt (AOSPA/android_vendor_pa@ab5061c)
 * use non-debug dex2oat

Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Signed-off-by: Jabiyeff <cebiyevanar@gmail.com>
2023-10-07 21:32:07 +03:00
Noah
5814309579
sdm710-common: Build Aperture camera
Signed-off-by: Noah113-Allen <kingfighter2958@gmail.com>
2023-10-07 21:28:55 +03:00
Mayur
2682cc4543
sdm710-common: props: Add sf threshold next vsync from Pixel Google implemented this in source and in Pixels as well since Q. Improves smoothness a little bit.
Signed-off-by: Mayur <ultramayur123@gmail.com>
Signed-off-by: Noah113-Allen <kingfighter2958@gmail.com>
2023-10-07 21:24:07 +03:00
Adithya R
4dd1fed383
sdm710-common: Compile HWUI for better performance
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
Signed-off-by: Noah113-Allen <kingfighter2958@gmail.com>
2023-10-07 21:20:37 +03:00
CrisBal
d4b624fda4
sdm710-common: Build aidl power stats and label it
* Fix for aidl power stats errors.
* New updated legacy-um sepolicy solved the android.hardware.power@1.0::IPower/default error
- Now with this we fixing both errors:
BatteryStatsService: Unable to load Power Hal or power.stats HAL
hwservicemanager: getTransport: Cannot find entry android.hardware.power.stats@1.0::IPowerStats/default in either framework or device manifest.
hwservicemanager: getTransport: Cannot find entry android.hardware.power@1.0::IPower/default in either framework or device manifest.
2023-09-23 17:30:27 +03:00
ghostrider-reborn
ad52c6db78
sdm710-common: device: Optimize ART
* Disable ART debug and optimize dexpreopt
* Disable dexpreopt minidebuginfo
ghostrider-reborn <adithya.r02@outlook.com>
2023-08-15 13:31:52 +03:00
Michael Bestas
28095d1e8a
sdm710-common: ueventd: Remove all permissions from /sys/devices/soc0/serial_number
Change-Id: I688347cfe59f56e4de2e4bf3c3324ca465f7a897
2023-08-15 13:26:52 +03:00
Nolen Johnson
8343044e5d
sdm710-common: Uprev manifests/FCM level
Change-Id: Ia878d488a1e90ec08e562369cb1e1c73a43c2988
2023-08-15 13:22:13 +03:00
Rajshekar Eashwarappa
7fd8dc1c2c
sdm710-common: Set swiotlb to default size
swiotlb size set to 64MB default value.

Change-Id: Ib256f5d2a1642ba2e635e632e7d1486aa2dd8f13
2023-08-15 13:12:11 +03:00
nnippon99
3805e0bdc9
sdm710-common: proprietary: Add missing vendor.qti.hardware.sensorscalibrate-V1.0-java.jar
I SystemConfig: Ignore shared library vendor.qti.hardware.sensorscalibrate-V1.0: /system/framework/vendor.qti.hardware.sensorscalibrate-V1.0-java.jar does not exist

Signed-off-by: nnippon99 <adamayyad1999@hotmail.com>
2023-06-28 20:48:30 +03:00
minaripenguin
d59925262e
sdm710-common: rootdir: Pin msm_irqbalance to system-background
Signed-off-by: minaripenguin <minaripenguin@users.noreply.github.com>
2023-06-28 20:23:22 +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
Chenyang Zhong
90d4d13b18
sdm710-common: sepolicy: Allow system_server to get app_zygote pgid
* E system_server: Cannot read thread CPU times for PID 1372
2023-06-28 20:07:01 +03:00
SamarV-121
f924068ad4
sdm710-common: props: Disable continuous transaction tracing on all build types
Change-Id: I95657a00e38f1229675682e784b20cca12c119b0
2023-06-28 20:01:23 +03:00
Hazari PraveenKumar
42f6062f23
sdm710-common: props: Disable VSync for CPU rendered apps
Choreographer VSync has some performance impact for CPU rendered apps
as the app has to wait for VSync to start a new frame draw. When the
frame draw time exceeds one VSync, this has a direct impact on the FPS.
debug.cpurend.vsync property controls the VSync for CPU rendered apps.

Disable VSync for CPU rendered app, by setting this property to false.
2023-06-28 19:58:15 +03:00
Vinay Verma
02cd632de5
sdm710-common: props: Disable Async MTE on System Server
Async mode MTE is enabled by default on System Server process.
Add property arm64.memtag.process.system_server=off
This property is read during system server forking process and
accordingly Heap Tagging level is set.

Change-Id: Ie6f6c4f553e2540ac7da9995cb4a3f7b45a910c7
2023-06-28 19:57:33 +03:00
Albert I
e5f687028e
sdm710-common: device: Inherit several Android Go configurations
Beneficial for everyone, even on non-Go devices.
2023-06-28 19:56:49 +03:00
Mathieu Chartier
5c2172df63
sdm710-common: device: Speed profile services and wifi-service to reduce RAM and storage 2023-06-28 19:56:14 +03:00
Alex Hong
f51c745845
sdm710-common: device: Replace the HIDL with AIDL for android.hardware.memtrack
The HIDL interface of "android.hardware.memtrack" is no longer supported
for Android S.

Test: atest VtsHalMemtrackTargetTest pass
Bug: 186539435
Change-Id: Iaafd526fc5a601f7e8189ec764399d99c660beb0
2023-06-28 19:51:42 +03:00
LuK1337
d67dc679ca
sdm710-common: overlay: Restore default config_proximityCheckTimeout
Apparently we can no longer expect proximity sensor to reply within
100ms...

Change-Id: Ifdeda8b9a310da9bd19b7d000b6ac7aa060ae742
2023-06-28 19:42:50 +03:00
Michael Bestas
ea6af5c061
sdm710-common: overlay: Remove deprecated config_waitForMpctlOnBoot
Change-Id: Ieddfee4d6cba4e8c909d8117a23901baa9e33ead
2023-06-28 19:40:03 +03:00
AndroidHQ254
5c7cc6d9d9
sdm710-common: sepolicy: Label more graphics nodes
E WiredAccessoryManager: file
/sys/devices/platform/soc/soc:qcom,msm-ext-disp/extcon/extcon3/name not
found

E WiredAccessoryManager: file
/sys/devices/platform/soc/soc:qcom,msm-ext-disp/extcon/extcon2/name not
found
2023-06-26 23:38:00 +03:00
iusmac
ca32a5f18f
sdm710-common: sepolicy: Adress IORap usap_pool denial
W FinalizerDaemon: type=1400 audit(0.0:532): avc: denied { getopt } for
path="/dev/socket/usap_pool_primary" scontext=u:rradios0
tcontext=u:r:zygote:s0 tclass=unix_stream_socket permissive=0
2023-06-26 23:37:59 +03:00
lupesoltec
d8f8c9232b
sdm710-common: sepolicy: Fix avc denials related to linkerconfig
avc: denied { kill } for comm="linkerconfig" capability=5
scontext=u:r:linkerconfig:s0 tcontext=u:r:linkerconfig:s0
tclass=capability permissive=0
2023-06-26 22:57:36 +03:00
Murat Kozan
ef80583f34
sdm710-common: sepolicy: Allow network_stack to read net psched
[   16.649254] type=1400 audit(1664029505.494:14): avc: granted { read } for comm=rkstack.process name=psched dev=proc ino=4026532010 scontext=u:r:network_stack:s0 tcontext=u:object_r:proc_net:s0 tclass=file
[   16.649335] type=1400 audit(1664029505.494:15): avc: granted { read open } for comm=rkstack.process path=/proc/2172/net/psched dev=proc ino=4026532010 scontext=u:r:network_stack:s0 tcontext=u:object_r:proc_net:s0 tclass=file
[   16.649367] type=1400 audit(1664029505.494:16): avc: granted { getattr } for comm=rkstack.process path=/proc/2172/net/psched dev=proc ino=4026532010 scontext=u:r:network_stack:s0 tcontext=u:object_r:proc_net:s0 tclass=file

Change-Id: Iee08bc43122ca6aedce39fd2a27980c90a6b42f1
2023-06-26 22:56:30 +03:00
llololo
e1d1fd9a55
sdm710-common: audio: Add new flag name to compress offload case
Add AUDIO_OUTPUT_FLAG_GAPLESS_OFFLOAD to compress offload case.

Bug: 188113788
Test: Play compress offload music and check app type from logcat
Change-Id: If31a50ffafb43cb350c84fcc60774af116f30ff8
2023-06-26 22:51:37 +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
Park Ju Hyung
3288dc6ded
sdm710-common: wifi: Disable firmware log
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
2023-06-26 22:30:52 +03:00
Pasha
91e826f8ca sdm710-common: Uprev health impl and service to 2.1 2023-06-26 00:20:01 +03:00
bf630c3a23 sdm710-common: Drop android.hardware.power.stats@1.0-service.lenovo 2023-06-26 00:20:01 +03:00
kubersharma001
4d64ab1798 sdm710-common: Remove non-existent libldacBT_{bco,dec} build rules
- These seem to be long gone/not available to be source compiled?
- Anyways, these seem to have no actual function and are not needed other than to avoid logspams

unknown target 'libldacBT_dec'
unknown target 'libldacBT_bco'

Change-Id: Ia65d4e72128352132a7ad1a00c61d9596ece714a
Signed-off-by: SparXFusion <s2234nadar@gmail.com>
2023-06-26 00:20:01 +03:00
Pig
d803152ec2 sdm710-common: Drop no longer existed BluetoothQti
Change-Id: I6bf3e1dda6fe5dc66f6fafdb32a1daecb9616c84
2023-06-26 00:20:01 +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
GuaiYiHu
bdce4cb943 sdm710-common: libhidl: Remove android.hidl.manager
* Also move android.hidl.base@1.0 to system

Change-Id: I06695669f988f28ebfc2016030033f419bb95191
Signed-off-by: PIPIPIG233666 <2212848813@qq.com>
2023-06-26 00:20:01 +03:00
Alexander Koskovich
dc74a2a5f6 sdm710-common: Drop vendor com.qualcomm.qti.bluetooth_audio@1.0
* Nothing references it.

Change-Id: I35703759dc7d3cf711a84ff2c5d2abc14bd156cf
2023-06-26 00:20:01 +03:00
pjgowtham
e2b0462e29 sdm710-common: Use qti vibrator aidl hal 2023-06-26 00:20:01 +03:00
Chenyang Zhong
1d65c45429 sdm710-common: update script to handle added and deleted blobs
Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: snnbyyds <snnbyyds@gmail.com>
2023-06-25 23:53:54 +03:00
Chenyang Zhong
39a599c948 sdm710-common: update script to reflect vendor dir separations
Now vendor/xiaomi is no longer a repo and vendor/xiaomi/sdm845-common has been
separated from it.

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: snnbyyds <snnbyyds@gmail.com>
2023-06-25 23:53:54 +03:00
Chenyang Zhong
b4e8d2162f sdm710-common: add a script to update sha1sum from vendor commit
USAGE:
device/lenovo/sdm710-common/generate_sha1_from_commit.sh 1a2b3c4d

Signed-off-by: Chenyang Zhong <zhongcy95@gmail.com>
Signed-off-by: snnbyyds <snnbyyds@gmail.com>
2023-06-25 23:53:54 +03:00
Richard Raya
03b97fa20e sdm710-common: Disable client composition cache
* Disabling client composition cache improves system smoothness and fix issues like lags when media output is showed on qs panel

Signed-off-by: Pascoato <viniciuspascoato@gmail.com>
Change-Id: I5d8822f5f5d1840fbfcd1884545de427c0e0b298
Signed-off-by: DarkJoker360 <simoespo159@gmail.com>
Signed-off-by: snnbyyds <snnbyyds@gmail.com>
2023-06-25 23:53:54 +03:00
Dobsgw
47ab580534 sdm710-common: audio: fixup audio io policy voip_rx flags
Flags for VOIP were mixed up as we move to CAF policy configuration. Amend the flags to get things working again.

https://gitlab.com/LineageOS/issues/android/-/issues/4285

Change-Id: I2a2b202e2a58db9a26f571c091b1fa0b8f2949f6
Co-authored-by: Ramii Ahmed <ramy@ahmedramy.com>
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
2023-06-25 23:53:54 +03:00