Commit Graph

444 Commits

Author SHA1 Message Date
405b7e3bcf miatoll: media: Import configs from LA.UM.9.1.r1-12600.01-SMxxx0.QSSI13.0
Change-Id: I4fcebfba7391687c59f66101b673ba14a44c59bf
2023-09-26 17:17:07 +00:00
f38405a797 miatoll: sepolicy: Label public libraries
Change-Id: I73388ebed9d6b00e58f6c953050a239c6cee5d74
2023-08-17 05:04:00 +00:00
63a1bf6bd8 Revert "Revert "miatoll: Switch to prebuilt audio HAL""
This reverts commit a0f493f1e0.
2023-08-17 05:03:19 +00:00
5489d06e2e [TEMP] miatoll: Don't build sound_cringer 2023-08-17 05:03:19 +00:00
b07d548205 miatoll: Track kernel from LineageOS 2023-08-17 04:53:30 +00:00
6f042cb1c6 miatoll: Switch from time_daemon to TimeKeep
* time_daemon just refuses to work properly on mata.
    Sony's TimeKeep, instead, does the job flawlessly,
    so just ditch the former in favor of the latter.

Signed-off-by: Roberto Sartori <roberto.sartori.android@gmail.com>
Change-Id: I54f50ed3d49efc2834d478781b15e6ee428a3062
2023-08-17 04:52:48 +00:00
465d065dae miatoll: sepolicy: Remove duplicate labels
Change-Id: I65952adfc9c0852db8cc8e9bfd968af5b31a290a
2023-05-08 04:31:41 +00:00
456a3b813f miatoll: rootdir: Stop overriding audio HAL service
* Xiaomi adds the audio_hw_socket here, but it needs
  their changes in the audio HAL, hence it's useless
  for us.

Change-Id: Idf38468ad709623b60b694f458e71d0565ce6fb6
2023-05-07 19:31:18 +00:00
3f2a588f00 miatoll: Clean up sepolicy
Change-Id: I5bb632565e72abcf8c71db1d94b8b71075381fa0
2023-05-07 19:31:17 +00:00
c7d3b35a00 Revert "sm6250-common: Make fastrpc_shell_3 publicly available"
This reverts commit 92b6e36b71.

So far it doesn't look like any GCam mod uses this.

Change-Id: I3926aef13315d329d07979cebc1e32f7ee2d25c1
2023-05-07 19:31:17 +00:00
8ded335453 miatoll: sepolicy: Fix wakeup labels
Change-Id: I7823f78d9d5770c033338bb77027516f4fa15a56
2023-05-07 19:31:16 +00:00
b19e9bd881 Revert "miatoll: sepolicy: label extcon files"
This reverts commit f58073beb7.

Moved to device/qcom/sepolicy_vndr-legacy-um

Change-Id: I1f636a10ef6cd526d61557c2ca1c9589ff01ad5e
2023-05-07 19:31:11 +00:00
6a6bec7d4d miatoll: Update kernel
Change-Id: Ice2e0a05b976d9df67dae2075a4c5ea047de78a9
2023-04-02 06:09:24 +02:00
34cfe7a022 [PE] miatoll: Set the 2nd arch to armv8-2a
Otherwise build fails. Makes no sense.

Change-Id: I67094b85f55cbd06310a90dbaa1377c87735b0cb
2023-02-27 16:06:12 +00:00
c94c4ffdf8 miatoll: Update blobs from V13.0.4.0.SJZMIXM
Change-Id: I2b9a551d20ac4fc8144b06fd5577361f6afbc657
2023-02-26 08:34:21 +00:00
46934eb495 Revert "sm6250-common: Pin camera blobs from Android 11"
This reverts commit 0b5a283319.

New firmware needs new blobs for EIS and they seem to cause
issues only in Camera2.

Change-Id: I492ec5d3f6457d84b52f414955f3c840a1353d3f
2023-02-26 08:34:01 +00:00
7a953afc1b miatoll: overlay: correct SystemUI apk name and path
apk name and path was changed as seen here
8be4fc80c0

This causes errors in logs since pinner was trying to pin old app.

PinnerService: Could not pin file /system_ext/priv-app/SystemUI/SystemUI.apk
PinnerService: Failed to pin file = /system_ext/priv-app/SystemUI/SystemUI.apk

Change-Id: I609b29b9139d5cfaf1248c9ac001c280ae10c31c
2023-01-07 08:14:27 +00:00
03c83d0af3 Revert^4 "sm6250-common: rootdir: Enable s2idle"
This reverts commit 3781bb97b6.

It wasn't the problem after all.

Change-Id: I771b72c1989c61bbac7fc09dca9a8bf40a36a9c3
2023-01-07 07:09:25 +00:00
3f8d7fe658 miatoll: Prevent adding same dependency twice in blob_fixup
Change-Id: Idedeb51e027a09f64a29ac67a3a2f2a0594213f6
2023-01-07 07:01:15 +00:00
2e2aaef447 miatoll: Update DPM from T blobs
Change-Id: I1748fb7ceffe6b91f17ae546a53d84f5ea9bd18f
2023-01-07 07:00:57 +00:00
65be97a2fb miatoll: Use wfdconfig.xml from lemonadep
* Enables audio playback during suspend and UIBC.

Change-Id: Ib4dba0ad817c945639833a37986ff930be92faff
2023-01-07 07:00:43 +00:00
eaccc142ab miatoll: Update WFD system stack from T blobs
Change-Id: I3035aeafba00315c0897b913015d562578c0ce69
2023-01-07 07:00:19 +00:00
c04fd0aa6b miatoll: Enable LZ4 compression for ramdisks
* This shortens the time to unpack initramfs.

Change-Id: Id23daba43ae7a6003cbde29480d2f433f344df73
2023-01-07 06:59:28 +00:00
a0f493f1e0 Revert "miatoll: Switch to prebuilt audio HAL"
This reverts commits 1edd945981 and 9616ba9373.

sound_trigger doesn't work correctly with prebuilt audio HAL for
some reason.

Change-Id: Ia3a0c0881946bf8e2ab16668899d8cccf7accd0c
2023-01-07 06:56:00 +00:00
31bf44ac14 miatoll: Switch to legacy sepolicy_vndr
Change-Id: I13229c3057bf32c81b0fdace075f0791cb8ad380
2023-01-06 08:50:28 +00:00
3a4c4a7366 miatoll: Drop component overrides
This is no longer needed as of Android 13.

Change-Id: I38435c47c8781678f82014decbbae40dcab0a07b
2023-01-06 08:44:43 +00:00
30f2b52d53 miatoll: Remove A2DP input module in audio policy configuration
No Pixel device support A2DP sink functionality.

Bug: 163050296
Test: A2DP related test.
Change-Id: I269220cf29451ea79362fc004fa073713f72fdb2
2023-01-06 08:39:17 +00:00
31b3bed3a5 miatoll: audio: Enable AOSP bluetooth audio HAL v2
Change-Id: I4d12752ae5fb2829d6612647c8740c84967f5434
2023-01-06 08:37:59 +00:00
52e1f59b45 Revert "[TEMP] Revert "sm6250-common: Enforce android-S new launch debugfs restrictions""
This reverts commit 55c65cd152.

Resolved in PE source.

Change-Id: If3f49f10726aabd5752db3574ba26d1466a29ec3
2023-01-06 08:35:49 +00:00
7cd2fe30e5 Revert "[TEMP] miatoll: Build dummy libmegface"
This reverts commit 224c67dbb3.

Resolved in PE source.

Change-Id: Idd49591edff1e89317782fb875a98b46a9bf5eda
2023-01-06 08:35:13 +00:00
55c65cd152 [TEMP] Revert "sm6250-common: Enforce android-S new launch debugfs restrictions"
This reverts commit 78df45d6b9.

Change-Id: I2ccc24460ab4a31c3b263c5d0c0e49de4ff4d1fc
2022-11-20 07:37:02 +00:00
e46c452d83 [TEMP] Revert "sm6250-common: Build libssrec from source"
This reverts commit 01ca9ce4bd.

Change-Id: I46087543b4d39dbdb5da598ebb4fbc323446bfdb
2022-11-20 07:37:02 +00:00
224c67dbb3 [TEMP] miatoll: Build dummy libmegface
Change-Id: Ie7cfd3a87ccc40e0308e7dbbd93827c3f153fc9c
2022-11-20 07:37:02 +00:00
9616ba9373 miatoll: Add a shim to silence prebuilt audio HAL
For some reason Xiaomi built audio HAL with "very very verbose" logging
enabled [1] and it spams really too much. Just shim the whole log function
to do nothing.

[1] https://github.com/LineageOS/android_hardware_qcom_audio/blob/c659e83702/hal/audio_hw.c#L41

Co-authored-by: Jan Engelmohr <jan.engelmohr@mailbox.tu-dresden.de>
Change-Id: Iff278c44f203dc7b81bccb2281edfc3f5687a47c
2022-11-20 07:37:01 +00:00
1edd945981 miatoll: Switch to prebuilt audio HAL
Change-Id: I985a9b2c3bdb39c17bc0f861913536c121e7eeae
2022-11-20 07:35:14 +00:00
9bf7b2901b miatoll: Increase statusbar height a bit
* I want punch hole to be centered on statubar

Change-Id: I7005e79ef486f562bd6aa29fcb365fb256f035ae
2022-11-18 13:14:18 +00:00
58b9cc72e7 miatoll: 420 DPI
From oriole

Change-Id: Ia7197e3ca9582547c8e31bca931a3316f04c39a3
2022-11-18 13:03:42 +00:00
f520929379 miatoll: Include Google Camera
Change-Id: Id18fde32623d542beead14df523d0b7b0579f737
2022-11-18 13:03:42 +00:00
29a0ddd61d miatoll: Adapt for Pixel Experience
Change-Id: I24dd4fffe16d51b92e5fb12ce0b355f4606145c8
2022-11-18 13:03:41 +00:00
bf51cfaa27 miatoll: Remove Lineage HALs and overlays
Change-Id: I2f12329994cfd698e6834e64f5d37d1465d12dac
2022-11-18 13:03:41 +00:00
de3c837116 miatoll: Switch to AOSP encryption
Change-Id: I20d40c93b3861a92716165ab90bb09c73c0e64ed
2022-11-18 13:03:41 +00:00
c2de0a2b78 miatoll: releasetools: Add firmware images to the output zip if present
Change-Id: Iddbe5306379a5285018cd8e6b4c0a989b92caa11
2022-11-18 13:03:41 +00:00
bf20832d80 miatoll: releasetools: Be more clear about firmware image patching
This looks very odd on most of the devices using this tree
because nothing is being patched. Just mention which image
is being flashed and only when it actually is.

Change-Id: Ib6c35e08aee0f1c102da28ca37434093a92f7045
2022-11-18 13:03:40 +00:00
fb0ef3327f miatoll: Copy prebuilt libhidlbase from VNDK v32
Signed-off-by: Lucchetto <lucchetto.tie@live.com>
Change-Id: Idb79d248d33a6ce1b2e960b3195b8c27c89994ee
2022-11-18 13:03:40 +00:00
c9c3826f67 miatoll: Use libhidlbase from VNDK v32 for Goodix interface
* _ZN7android8hardware7details17gBnConstructorMapE and
  _ZN7android8hardware7details17gBsConstructorMapE have been
  removed in Android 13.

Signed-off-by: Lucchetto <lucchetto.tie@live.com>
Change-Id: I03ec2e4d709500cf01f8354cfba4dfa485b03293
2022-11-18 13:03:40 +00:00
43506e0897 miatoll: Build libpiex_shim for camera
Change-Id: I7f52646e518cf4818036a9ae4191b38a7ac8b6df
2022-11-17 19:15:29 +00:00
82d6f333e9 miatoll: Pull appropriate USB props from vendor_product.mk
Change-Id: I93b25c5d0989c83d1c8d7b7946a083771febdddd
2022-11-17 19:15:29 +00:00
f58073beb7 miatoll: sepolicy: label extcon files
Bug: 199218084
Test: boot with those files labeled
09-09 10:39:55.703  1660  1660 W android.ui: type=1400 audit(0.0:6):
avc: denied { read } for name="name" dev="sysfs" ino=62812
scontext=u:r:system_server:s0 tcontext=u:object_r:sysfs_extcon:s0
tclass=file permissivei=0

Change-Id: Iba001f99cf9290f55f860382829c8ce74912f14c
2022-11-17 19:15:28 +00:00
a01f8714c4 miatoll: rootdir: Remove discard command tuning
Signed-off-by: Jaegeuk Kim <jaegeuk@google.com>
Change-Id: Ia67b48f0e2448ab296c942eb2b6d10cf858472ff
2022-11-17 19:15:28 +00:00
d4648c5e4a miatoll: Enable set channel on NDP setup
Bug: 190354626
Test: build, CtsVerifier
Change-Id: Ieff18b96ec0f24c1c20c40add4e47a532ece8922
2022-11-17 19:15:28 +00:00