Commit Graph

565 Commits

Author SHA1 Message Date
f486136aa5
Lineage init 2023-03-17 05:43:17 +01:00
mikairyuu
322c424d91
sm7250-common: props: switch to QTI sf props 2023-02-08 10:16:07 +10:00
mikairyuu
6b86951b42
sm7250-common: Go back to Aperture 2023-01-10 19:46:57 +10:00
LuK1337
a989c5dda4 sm7250-common: Migrate vendor.camera.aux.packagelist to sdk overlay
Change-Id: Iee884cc98b5fada492b27e8085de98ae08406cf4
2022-11-25 17:57:30 +10:00
mikairyuu
aa871f2fdd Revert "sm7250-common: overlays: Enable new network UI"
Neither works anyway
2022-11-19 17:43:40 +10:00
Sebastiano Barezzi
00df051a57 sm7250-common: Remove non-existing packages
Change-Id: Ia154904be35b6d6b65f5879be244d2168354bd7e
2022-11-19 11:30:49 +10:00
Santiago Seifert
66023838dc sm7250-common: Unpin updatable-media from memory
Bug: 214499288
Change-Id: I4823afa45553b9484ad5215d081b0e6635c4b183
Test: Presubmit
2022-11-19 11:29:54 +10:00
Les Lee
fd45b9ad8d sm7250-common: wifi: Configure correct overlay configuration.
ag/16564596 will change default value to false.
Configure correct overlay configuration.

Bug: 212488775
Test: manual test & build
Change-Id: Iaf1a0a23dae69fde5995e591a757a8ef5374d5b5
2022-11-19 11:25:49 +10:00
althafvly
0e6d4d3246 sm7250-common: Double the reserved space for WITH_GMS
- Need a bit more space to work with.
- Only for SSI_PARTITIONS

Change-Id: I7dc52b91a9ecbae397c08bcd797ec97075feac42
2022-11-19 11:23:22 +10:00
Alex Naidis
c5fa02777c Revert "sm7250-common: wifi: enable QPower and Deep Sleep at the same time"
This reverts commit a85e5f930a.
2022-11-14 23:35:09 +10:00
chrisw444
4e93219526 sm7250-common: sepolicy: Fix hardware denial
W/libc    (8466): Access denied finding property "ro.hardware.chipname"
2022-11-13 09:58:16 +10:00
Bruno Martins
b896f2ffc7 sm7250-common: Drop custom APM flag
Custom audio policy manager is hard disabled by CAF
for 2 years now.

Change-Id: Idd34d1cbbdb735d6cf0de3b159c2670bf7ddd1e3
2022-11-13 09:48:33 +10:00
Michael Bestas
243a3a7edc sm7250-common: Remove bdroid_buildcfg.h
As of I3c7aed1bdb45db728d319f7d757400e44d232283 the Bluetooth stack
defaults to reasonable defaults that should work for all devices.

Change-Id: I056d63c4c8a2727e384172e964dc0000b6773504
2022-11-13 09:47:04 +10:00
johnmart19
24811f7a3c sm7250-common: Audio: Compile Audio Alsa & Debugging Extensions
- Reference - Miui 13.0.2.0 Monet EU:

vendor/lib/libalsautils.so
vendor/lib64/libalsautils.so

system/lib/libtinyalsa.so
system/lib64/libtinyalsa.so

- Update flags according to following system_media/alsa_utils/Android.bp changes
"add libaudioroutev2 and libalsautilsv2 linking libtinyalsav2"
[mm libaudioroute libaudioroutev2 libalsautils libalsautilsv2]

- Also compile out default audio debugging packages

* tinymix | tinyplay | tinycap | tinypcminfo | cplay
* This packages we need to have on eng and userdebug builds to check and verify soundtrigger configuration

- Test:
* Check that libs compiled, matching stock pack of audio libs and including latest v2 versions
* Check that TinyMix is working as requested on ENG builds
2022-11-13 09:34:05 +10:00
johnmart19
f047522ef6 sm7250-common: Audio: Build android.hardware.audio@7.1-util
- Matching stock environment
- Also provies compilation of:
* android.hardware.audio@7.1
* android.hardware.audio.common@7.0
* android.hardware.audio.common@7.1-enums
* android.hardware.audio.common@7.1-util

Currently in system/lib we had only android.hardware.audio.common@2.0 & @5.0
In system/lib64 we had only android.hardware.audio.common@2.0.so @4.0 @4.0-util @5.0 @5.0-util @6.0 @6.0-util and AIDL
2022-11-09 20:48:28 +10:00
jhenrique09
7942257def sm7250-common: sepolicy: Fix faceunlock denial
Change-Id: Ib0f76b9fa7fc4d896a780b8e5ada24e8f5fb0d9c
2022-11-08 18:58:05 +10:00
Henrique Silva
0d8eb8f656 sm7250-common: Add faceunlock package to aux cam list
Change-Id: I8ee6f0e0b0269ecb17a024b1a9b64367ad5d2e7f
2022-11-08 18:57:21 +10:00
Pranav Vashi
e3467a70ad sm7250-common: Remove libhidl
Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
Change-Id: I9cf7b05e0f2dbc0158148d21589864767c72f01b
2022-11-08 18:54:15 +10:00
UtsavBalar1231
0f49b3add6 sm7250-common: sepolicy: Label qcom extcon sysfs
This fixes:
W android.ui: type=1400 audit(0.0:37): avc: denied { read } for name="name" dev="sysfs" ino=60802 scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs:s0 tclass=file permissive=0
W ExtconUEventObserver: Unable to read /sys/devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-02/c440000.qcom,spmi:qcom,pm8150b@2:qcom,usb-pdphy@1700/extcon/extcon4/cable.1/name. This probably means the selinux policies need to be changed.
W ExtconUEventObserver: java.io.FileNotFoundException: /sys/class/extcon/extcon4/cable.1/name: open failed: EACCES (Permission denied)
W ExtconUEventObserver: 	at libcore.io.IoBridge.open(IoBridge.java:574)
W ExtconUEventObserver: 	at java.io.FileInputStream.<init>(FileInputStream.java:160)
W ExtconUEventObserver: 	at android.os.FileUtils.readTextFile(FileUtils.java:637)
W ExtconUEventObserver: 	at com.android.server.ExtconUEventObserver$ExtconInfo.<init>(ExtconUEventObserver.java:222)
W ExtconUEventObserver: 	at com.android.server.ExtconUEventObserver$ExtconInfo.initExtconInfos(ExtconUEventObserver.java:173)
W ExtconUEventObserver: 	at com.android.server.ExtconUEventObserver$ExtconInfo.getExtconInfoForTypes(ExtconUEventObserver.java:185)
W ExtconUEventObserver: 	at com.android.server.policy.PhoneWindowManager.initializeHdmiStateInternal(PhoneWindowManager.java:3709)
W ExtconUEventObserver: 	at com.android.server.policy.PhoneWindowManager.initializeHdmiState(PhoneWindowManager.java:3672)
W ExtconUEventObserver: 	at com.android.server.policy.PhoneWindowManager.init(PhoneWindowManager.java:2121)
W ExtconUEventObserver: 	at com.android.server.wm.WindowManagerService$5.run(WindowManagerService.java:1186)
W ExtconUEventObserver: 	at android.os.Handler$BlockingRunnable.run(Handler.java:965)
W ExtconUEventObserver: 	at android.os.Handler.handleCallback(Handler.java:942)
W ExtconUEventObserver: 	at android.os.Handler.dispatchMessage(Handler.java:99)
W ExtconUEventObserver: 	at android.os.Looper.loopOnce(Looper.java:201)
W ExtconUEventObserver: 	at android.os.Looper.loop(Looper.java:288)
W ExtconUEventObserver: 	at android.os.HandlerThread.run(HandlerThread.java:67)
W ExtconUEventObserver: 	at com.android.server.ServiceThread.run(ServiceThread.java:44)
W ExtconUEventObserver: 	at com.android.server.UiThread.run(UiThread.java:45)
W ExtconUEventObserver: Caused by: android.system.ErrnoException: open failed: EACCES (Permission denied)
W ExtconUEventObserver: 	at libcore.io.Linux.open(Native Method)
W ExtconUEventObserver: 	at libcore.io.ForwardingOs.open(ForwardingOs.java:563)
W ExtconUEventObserver: 	at libcore.io.BlockGuardOs.open(BlockGuardOs.java:274)
W ExtconUEventObserver: 	at libcore.io.IoBridge.open(IoBridge.java:560)
W ExtconUEventObserver: 	... 17 more

Similarily
W ExtconUEventObserver: Unable to read /sys/devices/platform/soc/88e0000.qcom,msm-eud/extcon/extcon2/cable.1/name. This probably means the selinux policies need to be changed.
W ExtconUEventObserver: Unable to read /sys/devices/platform/soc/c440000.qcom,spmi/spmi-0/spmi0-02/c440000.qcom,spmi:qcom,pm8150b@2:qcom,qpnp-smb5/extcon/extcon3/cable.1/name. This probably means the selinux policies need to be changed.

Test: Label these sysfs and boot into system
2022-11-08 18:42:53 +10:00
Joey Huab
733a908d25 sm7250-common: livedisplay: Drop unsupported PictureAdjustment 2022-11-08 18:41:55 +10:00
mikairyuu
b3b5c32c41 sm7250-common: Do not pin SystemUI
doesn't exist on PE-based roms
2022-11-08 18:41:53 +10:00
EmanuelCN
9be26fc16e sm7250-common: Swich to AOSP wifi supplicant 2022-11-08 12:00:48 +10:00
mikairyuu
edba3e5bfb sm7250-common: Pin SystemUIGoogle 2022-10-28 15:52:23 +10:00
mikairyuu
d1c0f2ba44 sm7250-common: Add llvm tools flag 2022-10-28 09:47:11 +10:00
Woody Lin
34ffcf15a0 sm7250-common: props: Enable zygote critical window
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
2022-10-26 13:58:56 +10:00
Mathew Joseph Karimpanal
2604c2356b sm7250-common: rootdir: Add lineptr_value drm sysfs config 2022-10-25 11:58:02 +10:00
mikairyuu
afcc03d440 sm7250-common: sepolicy: address new denials 2022-10-25 11:10:00 +10:00
kocolin
e09ea00803 sm7250-common: sepolicy: Label libipebpsstriping for pinner
Change-Id: I6806151eee833725e173903d03e9459839333565
Signed-off-by: Adithya R <gh0strider.2k18.reborn@gmail.com>
2022-10-25 09:57:32 +10:00
mikairyuu
35abf9b94e Revert "sm7250-common: Swich to EROFS"
This reverts commit 2284ac6ad5.
2022-10-23 13:46:15 +10:00
Bruno Martins
0a73484c32 sm7250-common: Drop component overrides
This is no longer needed as of Android 13.

Change-Id: I38435c47c8781678f82014decbbae40dcab0a07b
2022-10-17 13:16:27 +10:00
mikairyuu
154cc29c53 Revert "sm7250-common: Switch Health HAL to AIDL"
This reverts commit a914903ade.

Revert "sm7250-common: Add QTI health implementation"

This reverts commit ccaf40fbc3.
2022-10-17 13:14:17 +10:00
Sonal Singh
cca9bd7175 sm7250-common: Switch to GCamGOPrebuilt-V3
Signed-off-by: Sonal Singh <sonal.singh.19993@gmail.com>
2022-10-17 13:13:46 +10:00
Bruno Martins
2ce7a1c21e sm7250-common: Migrate to AIDL ClearKey DRM HAL
Change-Id: Iad5cc1176978137c647069197b33f49fb4d98ab2
2022-10-15 11:28:53 +10:00
Akash Srivastava
03ab6f8bd3 Revert "sm7250-common: Switch to AIDL WIFI HAL"
This reverts commit f202cb1387.
2022-10-14 19:43:22 +10:00
LuK1337
d5d4f7ea67 sm7250-common: Pull appropriate USB props from vendor_product.mk
Change-Id: I93b25c5d0989c83d1c8d7b7946a083771febdddd
2022-10-12 20:35:49 +10:00
Edwin Moquete
a387946639 sm7250-common: Switch to legacy sepolicy_vndr
Signed-off-by: anuragbhaumik <bhaumik463@gmail.com>
2022-10-12 20:35:49 +10:00
mikairyuu
5655f85ad4 sm7250-common: sepolicy: fix for a13 2022-10-11 13:16:55 +10:00
Omkar Chandorkar
8e2f44499c sm7250-common: move to lz4 for EROFS
- while lz4hc,9 provides better compression ratio, it has the cost of
  tremendous compression time and potential hit while decompressing
- internal tests on aarch64 seem to suggest the decompression hit
  is larger than x86_64

Change-Id: I5c102c03f95ace982b85a6ffa5c33aa9ce4637a4
Signed-off-by: Omkar Chandorkar <gotenksIN@aospa.co>
2022-10-08 13:38:09 +10:00
Omkar Chandorkar
7e7aa05828 sm7250-common: match erofs pcluster size to aosp recommendations
- source https://source.android.com/docs/core/architecture/kernel/erofs

Signed-off-by: Omkar Chandorkar <gotenksIN@aosip.dev>
Change-Id: If881388771d3922f05012627e9c51c28a4230739
Signed-off-by: DarkAngelGR <asavvo01@gmail.com>
2022-10-08 13:35:32 +10:00
Sebastiano Barezzi
02e5e42e7d sm7250-common: udfps: Update handler methods
Change-Id: I7778ba69dcdf2843d3c11f5bd0ec92f1887f7395
2022-09-20 08:37:59 +03:00
Pavan Kumar M
fb54a034b4 sm7250-common: overlays: add veth_ipa_config to modify tcp buffer values
This shell script assigns the buffer values to
acheive maximum throughputs

Change-Id: I30c41b820923a40cc8ed5c35d44caec3bf2aa69dcd
2022-09-14 14:09:36 +03:00
mikairyuu
55f435bd5b Revert "Revert "sm7250-common: props: enable mag filter""
Let's return it, there's nothing bad about magnetic field sensor
2022-09-14 13:40:21 +03:00
UtsavBalar1231
afdb27fdd8 sm7250-common: overlay: Update multiple vibration intensity levels config for T
Since commit: eaaf5331d6
multiple intensities configuration flag has been changed to an interger
reflect that change in here to allow multiple intensity vibration pattern in settings.

Change-Id: I13f9dbf6280623ad1c954ce96ceecbe363140062
Signed-off-by: UtsavBalar1231 <utsavbalar1231@gmail.com>
2022-09-14 13:33:07 +03:00
mikairyuu
7ef489b51a Revert "sm7250-common: enable idle timer with kernel support"
This is useless on our 60hz screen anyway
2022-09-07 09:07:54 +03:00
mikairyuu
e863f56c74 sm7250-common: props: sync c2 props with redbull 2022-09-07 00:08:58 +03:00
Akash Srivastava
5166bcfe8e sm7250-common: Update graphics and display blobs to LA.UM.9.12.r1-14400-SMxx50.0 2022-09-06 21:20:32 +03:00
mikairyuu
0bf8ffd1d6 sm7250-common: Build missing bt libs 2022-09-05 18:03:58 +03:00
mikairyuu
13b34afdc3 sm7250-common: switch to stock liba2dpoffload.so
we don't support source built liba2dpoffload lib anymore
2022-09-05 18:03:58 +03:00
mikairyuu
1fe339de60 sm7250-common: Build android.hardware.bluetooth.a2dp 2022-09-05 18:01:08 +03:00
mikairyuu
01f7e7b227 sm7250-common: Build vendor.qti.hardware.btconfigstore@2.0 interface 2022-09-05 18:01:08 +03:00