66 Commits

Author SHA1 Message Date
probaero 78646fd47d rosemary: Build bluetooth A2DP stack from source 2026-05-09 07:57:15 +00:00
Arian 1c48dc5f23 rosemary: Patch a few camera blobs to allocate GraphicBuffer with new size
Commit [1] ("Introduce a dependency monitor for fences") has added new
members to the GraphicBuffer struct, increasing the size from 0x100 to
0xd30. camera.xiaomi.so creates GraphicBuffer in its constructors using
"new GraphicBuffer(..)" which encodes the size to allocate at compile
time. Then, on destruction of the object, the implicit destructor will
try to destruct the new members, but, since this memory was not
allocated for the object, this leads to memory access of unallocated
storage.

F DEBUG   : backtrace:
F DEBUG   :       #00 pc 000000000003ba00  /vendor/lib64/libui.so (__aarch64_ldadd8_acq_rel+16) (BuildId: b577faa139eb3404c7d3a674b147634c)
F DEBUG   :       #01 pc 0000000000051364  /vendor/lib64/libui.so (android::GraphicBuffer::~GraphicBuffer()+248) (BuildId: b577faa139eb3404c7d3a674b147634c)
F DEBUG   :       #02 pc 0000000000051698  /vendor/lib64/libui.so (android::GraphicBuffer::~GraphicBuffer()+20) (BuildId: b577faa139eb3404c7d3a674b147634c)
F DEBUG   :       #03 pc 0000000000011064  /vendor/lib64/libutils.so (android::RefBase::decStrong(void const*) const+164) (BuildId: 99d1ab745e7b73420d8d2b397483ef54)
F DEBUG   :       #04 pc 00000000000cd538  /vendor/lib64/hw/camera.xiaomi.so (mihal::GraBuffer::~GraBuffer()+236) (BuildId: a4c59705588bd26d407f0ab181902baf)

[1]: https://github.com/LineageOS/android_frameworks_native/commit/df868baf2abefbb45341530d20a948ffd6b2c304

Change-Id: I239c31b6ea5a7813abc3e9cfbefb6d2bdcc1a9e0
Signed-off-by: therealmharc <therealmharc@gmail.com>
Signed-off-by: Ido <dev.xyzuniverse@gmail.com>
2026-05-09 07:57:15 +00:00
Mashopy 85a4817f28 rosemary: Track MediaTek GbaService implementation 2026-04-16 11:09:42 +02:00
Nolen Johnson 6daf40fe3a rosemary: Build mediatek-common JAR from source 2026-04-16 09:48:04 +02:00
Giovanni Ricca ee17e546d8 Revert "rosemary: Switch to shared libs to mtk frameworks for ImsService"
This reverts commit a4c0e9184a.
2026-04-16 09:17:59 +02:00
claxten10 18ad9bee4c rosemary: Switch to AOSP remote submix 2026-04-16 09:16:58 +02:00
Matsvei Niaverau 3c12d72bbf Revert "rosemary: Remove references to TelephonyMetrics"
This reverts commit 62626d0c8c.
2026-04-16 09:16:25 +02:00
Mashopy 25d99366a5 rosemary: Let's go full prebuilt for C2 vendor stack 2026-04-16 09:15:24 +02:00
Mashopy e60c946f91 rosemary: Properly patch blobs related to Stagefright 2026-04-16 09:14:53 +02:00
Mashopy 4eb9e9b85a rosemary: Declare the correct HIDL version for C2 service 2026-04-16 09:14:23 +02:00
bengris32 7de860d2e2 rosemary: Set up OSS NFC stack 2026-02-15 13:02:12 +01:00
Mashopy 62626d0c8c rosemary: Remove references to TelephonyMetrics 2026-02-15 13:02:12 +01:00
Michael Bestas 2e04dd7922 rosemary: Patch some blobs to depend on libtinyxml2-v34.so 2026-02-15 13:02:12 +01:00
bengris32 640d887205 rosemary: Switch to power-libperfmgr and refactor cgroup setup 2026-02-15 13:02:12 +01:00
Mashopy 92d08e7529 rosemary: Switch to AIDL bluetooth service
Change-Id: I40550f0f2033e35ea609401f38f7646cb79abe14
2026-02-15 13:02:12 +01:00
Erfan Abdi a4c0e9184a rosemary: Switch to shared libs to mtk frameworks for ImsService 2026-02-15 13:02:12 +01:00
Matsvei Niaverau 97010e8921 rosemary: Update blobs from V14.0.17.0.TFFMIXM 2026-02-15 13:02:11 +01:00
bengris32 e34a985fa4 rosemary: Rename sensors.elliptic.so to match SONAME 2025-12-11 08:13:45 +01:00
Matsvei Niaverau 3577478ebb rosemary: Clean up unnecessary blobs 2025-12-11 08:01:04 +01:00
bengris32 81cedc9076 rosemary: Link Audio HAL against V33 libstagefright_foundation 2025-11-06 17:54:48 +01:00
Sarthak Roy de18cccef2 rosemary: Update VT from rothko A16 2025-10-07 13:10:54 +02:00
Giovanni Ricca b4e200757b rosemary: Enable ELF checks for libimsma 2025-10-07 13:09:46 +02:00
Mashopy 57263e7324 rosemary: Patch mtkfusionrild to load libutils-v32 2025-10-07 13:05:11 +02:00
Matsvei Niaverau 3febf78e60 Revert "rosemary: Update blobs from V14.0.11.0.TKLMIXM" 2025-10-04 12:45:02 +02:00
Matsvei Niaverau 62e7526d30 rosemary: Sync with device tree 2025-07-14 10:32:24 +02:00
Matsvei Niaverau b516a596d0 rosemary: Sync with device tree 2025-06-23 17:33:13 +02:00
bengris32 a7af29aafd rosemary: Switch to Pixel thermal service 2024-03-26 15:32:53 +01:00
Giovanni Ricca 6cbf2e6617 rosemary: Build goodix lib from source 2024-03-07 09:01:01 +01:00
bengris32 17a2f381f1 rosemary: Switch to common USB service 2024-02-19 12:03:41 +01:00
R0rt1z2 11c5641256 rosemary: Hexpatch camera lib to increase maximum JPEG streams for an app 2024-02-19 11:54:48 +01:00
bengris32 689d4e2e24 rosemary: Link audio modules against prebuilt libalsautils.so 2024-02-19 11:54:48 +01:00
bengris32 ea54f20c11 rosemary: Update IMS from plato V14.0.7.0.ULQMIXM 2024-02-19 11:54:48 +01:00
Woomymy f01110d201 rosemary: Add a shim to link sensor blobs against android.hardware.sensors@1.0-convert 2024-02-19 11:54:48 +01:00
Woomymy f9f64663df rosemary: Link media.c2 service against v33 libstagefright_foundation 2024-02-19 11:54:48 +01:00
Matsvei Niaverau 1b534fc11c rosemary: Kang RIL blobs from V13.0.5.0.SFFMIXM 2024-02-19 11:54:48 +01:00
Matsvei Niaverau c19c563349 rosemary: Link agpsd against v32 libssl 2024-02-19 11:54:48 +01:00
Matsvei Niaverau 88e5ec698d rosemary: Update blobs from V14.0.7.0.TKLMIXM 2024-02-19 11:54:33 +01:00
Alexander Koskovich c5c45de5f9 rosemary: Add hals.conf as a required prebuilt 2024-02-19 11:48:41 +01:00
LinkBoi00 fb5b828607 rosemary: Kang bluetooth firmware from A145PXXU1AWA3 2024-02-19 11:48:24 +01:00
bengris32 7b31976fd3 rosemary: Switch back to stock perf configs 2024-02-19 11:48:24 +01:00
Matsvei Niaverau e40474590a rosemary: Kang Codec2 HAL blobs from V13.0.13.SKLMIXM 2024-02-19 11:48:24 +01:00
Matsvei Niaverau 71131dee40 rosemary: Patch mediatek-telephony-base and ImsService for U
* https://github.com/aosp-ruby/mediatek-telephony-base/commit/a3abc0d0cad4322f6f52058bacdc074c8b040f26
* https://github.com/hannahmontanadeving/ImsService/commit/af0a06eb97f212235c6b729310f70c3533fdb4d3
2024-02-19 11:48:24 +01:00
bengris32 12141f9ae2 rosemary: Configure Wi-Fi stack 2024-02-19 11:48:24 +01:00
bengris32 de1a1b77eb rosemary: Link sensor libraries against stock libsensorndkbridge 2024-02-19 11:48:24 +01:00
Matsvei Niaverau 171326e1f4 rosemary: Kang IMS-System blobs from V14.0.7.0 2024-02-19 11:48:24 +01:00
bengris32 cdb9433c9a rosemary: Add shim for proprietary AudioTrack constructor 2024-02-19 11:48:24 +01:00
bengris32 6f457f45fe rosemary: Link agpsd against v32 libcrypto 2024-02-19 11:48:24 +01:00
bengris32 69077017ac rosemary: Shim missing libshowlogo symbol 2024-02-19 11:48:24 +01:00
Jiyong Park 0cb542b2c8 rosemary: gnss: Remove ndk_platform backend. Use the ndk backend. 2024-02-19 11:48:24 +01:00
Matsvei Niaverau bfa11a666c rosemary: Bring back Mediatek Power HAL 2024-02-19 11:48:24 +01:00