Commit Graph
26 Commits
Author SHA1 Message Date
ArianandRaya Mahardika a186fb4a78 surya: Patch com.vidhance.node.eis.so 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: Ib51efcaa7514fa5902ac68cdcff2a8ecf97be511
2026-05-12 23:47:09 +07:00
rktdntandRaya Mahardika 3ceb7508ac surya: Update Display Stack from AOSPA
Change-Id: I350b488ae25309d1a92f4d22bdb6cd1063b70508
2026-05-12 23:46:58 +07:00
rktdntandRaya Mahardika 5c6b445c60 surya: Update Adreno Stack from AOSPA
Change-Id: I6d3d66dc2db6c487b54f1d28a314aa4eca3c65b9
2026-05-12 23:46:37 +07:00
Raya Mahardika 2e35ea5a33 Revert "surya: add hotword enrollment blobs from vayu"
This reverts commit 631db5a46a.

Change-Id: Ibc77f48c9fd72b0d912ea7868907f9dc3b022721
2026-05-12 23:46:36 +07:00
Yumi YukimuraandRaya Mahardika a4b3736133 surya: Run hvdcp_opti in recovery mode
* Enables charging in recovery mode
  (will be useful when the main OS is not downstream Android...)

Change-Id: Ife2b7b82439ccedf2456080d8106966cdad7669f
2026-05-12 23:46:36 +07:00
Sebastiano BarezziandRaya Mahardika 0100c92202 surya: Go away Megvii
* Nuke Megvii proprietary files and build stub ones from hardware/xiaomi

Change-Id: I53f8f0897b25517741a06c5962c02fe8fda61072
2026-05-12 23:46:14 +07:00
Raya Mahardika 2f32c47c80 surya: Import missing qcriNvOpt radio dependency
Change-Id: Idbbef4f92667f5810a4aa96e0c8490317df7d6ad
2026-05-12 23:43:15 +07:00
Raya Mahardika 7dcd018872 surya: Update blobs from sweet_k6a OS1.0.33.0.THGMIXM
Change-Id: I3f5c9f88fd0f1bbf92ecc06cf4a785fb5510888d
2026-05-12 23:42:34 +07:00
shoya0x00 22dd4577e7 surya: Sync with DT
- Provide camera IDs remapping property and drop camera provider blobs
- Patch some blobs to depend on libtinyxml2-v34.so
- Include libdpps

Signed-off-by: shoya0x00 <shoya0x00@users.noreply.github.com>
2026-03-04 21:13:04 +01:00
shoya0x00 997af920d6 surya: Sync with DT
- Remove consumerir blob
- Add Missing NFC config
- Patch audio to load libaudioroute-v34.so
Signed-off-by: shoya0x00 <shoya0x00@users.noreply.github.com>
2025-12-27 11:48:38 +01:00
shoya0x00 e89c92cf46 surya: Drop QCOM WFD 2025-08-23 14:33:37 +02:00
shoya0x00 640cd3177e surya: Extract firmware using python extract utils 2025-06-19 14:55:17 +00:00
shoya0x00 004daba81c surya: Move NFC configs to vendor 2025-05-27 18:18:20 +00:00
basamaryanandshoya0x00 1785703e59 surya: Add libwfdservice_shim for WFD
Change-Id: I20bbe051e6a74ce6b5561ff5ae12a6be7eb8cabd
Signed-off-by: shoya0x00 <shoya0x00@users.noreply.github.com>
2025-05-01 14:31:47 +06:00
mikeNGandshoya0x00 07ac63e08a surya: Enable ELF checks for libwpa_client dependent libs
Change-Id: I490df02b68da4b9a7088a239672a1dcace66d270
Signed-off-by: shoya0x00 <shoya0x00@users.noreply.github.com>
2025-04-05 14:29:43 +00:00
moetayukoandshoya0x00 06906b0f72 surya: remove OMX 2025-04-05 14:29:36 +00:00
shoya0x00 089439e775 surya: Bringback libmisoundfx 2025-04-05 14:29:14 +00:00
basamaryanandshoya0x00 af04286423 surya: Bring back QCOM WFD 2025-04-05 14:29:06 +00:00
shoya0x00 963cbbce8e surya: Sync with DT
* Update blobs from V14.0.5.0.SJGEUXM
2025-02-18 07:57:57 +00:00
basamaryanandshoya0x00 c15ee9d400 surya: Add EGL libs symlinks 2024-09-06 16:34:54 +00:00
basamaryanandshoya0x00 42720e2e33 surya: Add IMS libs symlinks 2024-09-06 16:34:25 +00:00
shoya0x00 fee412175d blobs: drop fingerprint and goodix build from source 2024-08-17 16:07:44 +00:00
neobuddy89andshoya0x00 631db5a46a surya: add hotword enrollment blobs from vayu
Signed-off-by: Hazama25 <hazamafawkes@gmail.com>
2024-08-17 16:07:44 +00:00
thestrechandshoya0x00 b627300ab4 surya: Import 32 bit CamX libraries
Signed-off-by: Hazama25 <hazamafawkes@gmail.com>
2024-08-17 16:07:44 +00:00
thestrechandshoya0x00 2d398c0155 surya: Add missing/required camera blobs
Signed-off-by: Hazama25 <hazamafawkes@gmail.com>
2024-08-17 16:07:44 +00:00
TheStrechh 7d70cba641 surya: Import blobs from V14.0.5.0.SJGEUXM 2023-11-19 03:19:33 +05:30