Commit Graph
46 Commits
Author SHA1 Message Date
Srinivas Ramana e7c22b8e17 sm8150-common: msm_irqbalance: Correct the arch_mem_timer interrupt
correct the arch_mem_timer interrupt to 38.

Change-Id: Ie5fe976eef084231beb5e32abf88a35a5c4bc70d
2026-10-01 08:55:03 +05:00
duckyduckg 6dd86febf6 sm8150-common: Patch kona codec2 for legacy 128x32 alignment
Note: values were taken from stock msmnile codec2 using ghidra.

on kona platforms or newer or older, if IsCameraCustomFormat fails c2 enforces 512x512 alignment.
after this patch with IsCameraCustomFormat disabled on legacy CamX,
incoming buffers retain standard Venus 128x32 alignment.

ONCE again patched using my shitty py script instead of extract-files.py

1. qc2::QC2Buffer::Graphic::GetAlignedHeight
   - File_Offset: 0x138D2
   - Assembly:
     0x138D2: 00 F2 FF 11 -> 00 F2 1F 01  ; addw r1, r0, #0x1f
     0x138D6: 40 F2 FF 12 -> 40 F2 1F 02  ; movw r2, #0x1f
   - ALIGN(h, 512) -> ALIGN(h, 32)

2. qc2::QC2Buffer::Graphic::GetAlignedWidth
   - File_Offset: 0x1397C
   - Assembly:
     0x1397C: 00 F2 FF 11 -> 00 F2 7F 01  ; addw r1, r0, #0x7f
     0x13980: 40 F2 FF 12 -> 40 F2 7F 02  ; movw r2, #0x7f
   - ALIGN(w, 512) -> ALIGN(w, 128)

Change-Id: I154b556cbefdbbd47a6c315d38fb468aed39f1b7
Signed-off-by: duckyduckg <duckyduckg65@gmail.com>
2026-09-29 04:20:57 +05:00
Michael Bestas ea25de8f25 sm8150-common: Patch some blobs to depend on libtinyxml2-v34.so
libtinyxml2 10.1.0 update which landed in BP4A contains ABI
incompatible changes which cause runtime crashes.

Change-Id: Icc67da5f754b0bb30dce6192b1e520fdf1349ac5
2026-09-29 02:22:26 +05:00
Bruno Martins 5b88892ab4 sm8150-common: Use sm8250 HALs for vendor namespace imports
Change-Id: I15cee4a9a80c2ba564315e0bf2e22b62f966e973
2026-09-29 01:16:36 +05:00
Michael Bestas b16675c377 sm8150-common: Update WFD system blobs from marvel_g A171WEH.20
Change-Id: Idf3ac9e2f83d50b3d0378f3c0c18571e480cc9db
2026-09-29 01:16:29 +05:00
duckyduckG 395875914c sm8150-common: Update DRM stack from munch-user V816.0.9.0.ULMMIXM
Secure content alongside kernel 4.19 vidc is fixed so update it from munch-user
it also support SMMU VA mappings!!!!!!!!!!!!! which is perfect.

Change-Id: I3eccf092aca3ef3a9bed95c2e5673259bfc4ac9e
2026-09-29 01:15:26 +05:00
duckyduckG 92058926d4 sm8150-common: Update codec2 stack from from munch-user V816.0.9.0.ULMMIXM
Change-Id: I29b3bdf548aaf45df84ed1ab4ffad3ea560de807
2026-09-29 01:15:20 +05:00
duckyduckG aea6bb9589 sm8150-common: update qseecom from munch-user V816.0.9.0.ULMMIXM
Change-Id: Id8e4b7b49f67d5237862e9f13467fe4ead582b0e
2026-09-29 01:13:19 +05:00
duckyduckG b40d681d39 sm8150-common: update adreno blobs from FP4.QREL.15.19.1
* also kang QSPM blobs needed by adreno blobs.

Change-Id: I5151f087fa8c76e523f3b91c3d27b244084a5eb5
2026-09-29 01:12:30 +05:00
duckyduckG c67056ab88 sm8150-common: update display blobs from FP4.QREL.15.19.1
Change-Id: I2179c5d573f1e8cba8b92776bede893de875fd60
2026-09-29 00:57:11 +05:00
Yumi Yukimura 30fee71634 sm8150-common: Set subsystem restart level with ssr_setup util
Change-Id: I9b2e3e7c0212fd14c0ac00958a02b43217b1fd5e
2026-09-28 04:34:07 +05:00
LuK1337 bb3c8e0eed sm8150-common: Shim WFD with libinput_shim
Change-Id: I5c64d4fb6608cf6134ee7647802d9befc26fc8fb
2026-09-28 04:29:16 +05:00
basamaryan 36314e874b sm8150-common: Update WFD system blobs from dada OS2.0.217.0.WOCMIXM
Change-Id: I95dfb07cae97f3c8716a7cb6d87a7081de986748
2026-09-28 04:27:55 +05:00
Bruno Martins 9edebee012 sm8150-common: Declare WFD lib as symlink during extraction
Change-Id: I83e3ec03e1ddc58f3a7df008789b1e31584946e1
2026-09-28 04:19:55 +05:00
Sebastiano Barezzi eea30efdd3 sm8150-common: Replace writepid with task_profiles command
writepid command usage to join a cgroup has been deprecated in favor
of a more flexible approach using task_profiles. This way cgroup path
is not hardcoded and cgroup changes can be easily made. Replace
writepid with task_profiles command to migrate between cgroups.

Bug: 191283136
Test: build and boot
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ibb56d2379c42e5ed4b2f15c1b04d5fb163b48678
2026-09-15 23:03:07 +02:00
Sebastiano Barezzi 748d662bf8 sm8150-common: Regenerate
Change-Id: Id426e0a27e0c639603b5aeb12da87a4cbfd7b945
2026-09-15 23:02:32 +02:00
Sebastiano Barezzi d9ab878227 sm8150-common: Move WfdCommon boot jar declaration to vendor
Change-Id: I8fa2c0f64692873b432cc252ec88b388a32023a1
2025-10-31 02:56:25 +01:00
Sebastiano Barezzi 528d0f8ed2 sm8150-common: Allow gettid() for atfwd-daemon
Fixes:
E ATFWD-daemon: libminijail[11561]: blocked syscall: gettid
I init    : Service 'vendor.atfwd' (pid 11561) received signal 31
I init : Sending signal 9 to service 'vendor.atfwd' (pid 11561) process
group...

Change-Id: I637c80cd1ce277902ae9dc5309473370a2acea3d
2025-10-31 02:48:01 +01:00
Sebastiano Barezzi 00aac228d8 sm8150-common: Migrate to py extract utils
Change-Id: Ia699b544e673bb2ba06aaab7cfb2ed1bec5fc8f7
2025-10-31 02:11:05 +01:00
Sebastiano Barezzi 8c5e5936f0 sm8150-common: Drop ppd
* Nothing starts it

Change-Id: I189e2f5cb139ef7390fc9319f263be17c0bb62c2
2025-10-31 00:47:40 +01:00
Sebastiano Barezzi 92d8bbb986 sm8150-common: Use Bluetooth service from vayu
* Else FM won't work

Change-Id: I9ea300265f9ea860860710a2cd0a595fd06e3408
2025-10-30 23:21:19 +01:00
Sebastiano Barezzi 8df97c61d8 sm8150-common: Enable ELF checks for all libwpa_client dependent libs
Change-Id: Ia0b917285e2114f8b37a67d148cb257aefcbd6ce
2025-10-30 22:06:29 +01:00
Sebastiano Barezzi 757e194049 sm8150-common: Update blobs from OS1.0.6.0.TKXMIXM
Change-Id: Id3c51f0e7a0bea7a8db6ca6176b578f924e2770b
2025-06-12 19:28:27 +02:00
Sebastiano Barezzi 5abb7e3dd1 sm8150-common: Revert "Kang IMS apk from renoir"
This reverts commit 53e065d5d0c2148955e5ff85fa1e3c078c87af43.

Change-Id: Ie9d49a175abe0a35db8fa3b609ae444133776426
2025-06-12 01:55:52 +02:00
Sebastiano Barezzi 5048e5d0e9 sm8150-common: Switch to full IWLAN mode
[basamaryan: This is needed for Android U to fix RIL]

Signed-off-by: basamaryan <basam.aryan@gmail.com>
Change-Id: Ie3fa610f71077b4ee2af1b4d57bd0c30b34f30fa
2025-06-12 01:55:37 +02:00
Sebastiano Barezzi 8192c87d05 sm8150-common: remove OMX
* OMX HW video codecs are no longer used after enabling Codec2
 * OMX HW audio codecs won't work without QCOM A/V enhancements, which
   we don't have on Lineage.

Change-Id: I65852151c8fb6387add5fc4402ba3f13c97b5f64
2025-05-21 03:00:00 +02:00
Sebastiano Barezzi ba3a0cfdbb sm8150-common: Enable ELF checks for libwpa_client dependent libs
Change-Id: I490df02b68da4b9a7088a239672a1dcace66d270
2025-05-21 01:56:45 +02:00
Christian Hoffmann 7bcb0cfa8a sm8150-common: Drop 32bit libwfdnative
Change-Id: I7330fea8800c283a3666a2ce8877e41810b03528
2025-04-21 21:20:22 +02:00
Christian Hoffmann a4ed301648 sm8150-common: Address missing libbinder symbols in libwfdnative
Change-Id: I13f1593cd972b0becd4805bf240772bdedae5ed0
2025-04-21 20:54:43 +02:00
Christian Hoffmann a95ef4aee4 sm8150-common: Shim WFD with libgui_shim/libinput_shim
Change-Id: I3edb7b69b265240f887a6e43f67eac59f883fb56
2025-04-21 20:35:36 +02:00
Christian Hoffmann 93504e7936 sm8150-common: Shim widevine with libcrypto_shim
Change-Id: I03747b5d31de50d49f2b042f2cab54de77e64226
2025-04-21 19:42:28 +02:00
Christian Hoffmann 5a5aebb598 sm8150-common: Bump libwfdservice to android.media.audio.common.types-V4
Change-Id: Ic493c6cd05f996968b063f8f663750ff3d23e6c7
2025-04-21 08:10:04 +02:00
Sebastiano Barezzi fae3333fdf sm8150-common: Readd 32-bit WFD system blobs
Change-Id: Ie7134e50bf10ee7a029d60e53d0b1e61af3c89ac
2024-12-24 01:30:43 +01:00
Sebastiano Barezzi d39e61471c sm8150-common: Regenerate with checkelf changes
Change-Id: Ifa8ecee82923c700ca8f063a193f271f32203ef6
2024-12-16 01:10:10 +01:00
Sebastiano Barezzi 3c7ff0e614 sm8150-common: Include libdpps
W SDM     : DisplayBuiltIn::Init: Failed to load Dpps lib libdpps.so

Change-Id: Ic933c1f20b643033e7e89a36d25c4ff8afb70913
2024-06-22 23:56:47 +02:00
Sebastiano Barezzi 239ce4aac6 sm8150-common: Drop selinux context from mi_thermald init unit
We do that from sepolicy label

Change-Id: I56fb68b8121a68927cb98e494263f092732bd8ed
2024-05-28 01:51:56 +02:00
Sebastiano Barezzi 9bdb3ba458 sm8150-common: Rework audio libs
Reorder blobs and decommonize libs only used by the audio HAL

Change-Id: I9741f60eaf00d3c634dc405937966b4cd619b06b
2024-05-02 00:12:05 +02:00
Sebastiano Barezzi 5f88fea236 sm8150-common: Import media_codecs_system_default.xml
Xiaomi made this split to support Dolby codecs

Change-Id: Ied34c894750dde0573937086aa802838bcd9a49d
2024-04-30 17:18:34 +02:00
Sebastiano Barezzi 116563d1cf sm8150-common: Update blobs from OS1.0.1.0.TKXMIXM
Change-Id: I1ae580024caef3b5c21a2296e04a2fc2b64586cd
2024-04-25 14:42:16 +02:00
Sebastiano Barezzi b224bd7ba3 sm8150-common: Exclude unneeded targets from tablet builds
Change-Id: I921f54a6eec98a390783d45cf9bf228593fe5e78
2024-03-26 23:18:02 +01:00
Sebastiano Barezzi 84e24b4f9f sm8150-common: Regenerate
Change-Id: I3ab1f4325e5adc8cfb3dbdb30da3653d27e54179
2024-03-26 23:16:53 +01:00
Sebastiano Barezzi 719dc0a51a sm8150-common: Move to Xiaomi IR HIDL service
Change-Id: I5717475052c89fd696e3fd544e39698450e28fd7
2023-11-18 23:48:09 +01:00
Sebastiano Barezzi 78696c0a03 sm8150-common: Update blobs from V14.0.3.0.TJUMIXM
Change-Id: Idf917176949e69eadcfbf30ab4fda5d911e2951b
2023-08-22 15:22:32 +02:00
Sebastiano Barezzi 424b4f46b6 sm8150-common: Drop updatable GPU drivers
Change-Id: I4c4c51d6d9955eee821272b302cb17b532ae886d
2023-04-12 00:50:14 +02:00
Sebastiano Barezzi d0f5692579 sm8150-common: Drop support for eSE
Change-Id: I026aee36ddadd630ac3a12bc08e09e8ae2cb7371
2023-04-11 22:52:42 +02:00
Sebastiano Barezzi 613d27bb62 sm8150-common: Initial import
* From vayu V14.0.1.0.TJUMIXM

Change-Id: I17aa712045470cebae289a06b43848b18c389d90
2023-04-11 18:26:05 +02:00