Commit Graph

54 Commits

Author SHA1 Message Date
Debayan Kar
60e9db930c surya: Update graphics firmware from sweet_k6a 2026-02-23 03:43:14 +00:00
Arian
66ca15415d 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]: df868baf2a

Change-Id: Ib51efcaa7514fa5902ac68cdcff2a8ecf97be511
2026-02-23 03:37:43 +00:00
Raya Mahardika
7269f9037f Revert "surya: bring back stock camera provider"
This reverts commit 6e441296f2.
2025-12-20 13:44:29 +07:00
shoya0x00
19a5d92535 surya: Regenerate Makefiles
Change-Id: Ib0e916436382b4829c68f65578175504db04e324
2025-12-20 13:44:07 +07:00
Skyblueborb
1278b9adeb surya: Remove consumerir blob 2025-06-20 23:25:40 +03:30
Alexander Winkowski
d0d329f9d4 surya: Move NFC configs to vendor 2025-06-20 17:16:37 +03:30
LuK1337
bb02706411 surya: Enable elfchecks for libgrallocutils 2025-06-20 17:10:54 +03:30
Mohammad Hasan Keramat J
c7692ffc85 surya: Regen 2025-06-10 12:39:22 +03:30
Michael Bestas
a1f577ca4a surya: Enable ELF checks for libwpa_client dependent
Change-Id: I490df02b68da4b9a7088a239672a1dcace66d270
2025-04-18 16:53:14 +03:30
Bruno Martins
0bdf2e10c7 surya: Declare IMS libs as symlinks during
Change-Id: Ia1b8097d28dd4888232fe383b830515b1b9bafaa
2025-04-18 15:11:33 +03:30
Michael Bestas
5aede45f4a surya: Remove OMX audio codecs 2025-04-07 23:17:30 +03:30
LuK1337
dafda51796 surya: Enable elfchecks for camera libs 2025-04-07 11:21:30 +03:30
Michael Bestas
b8130a50eb surya: Shim widevine with libcrypto_shim 2025-04-07 11:19:21 +03:30
Mohammad Hasan Keramat J
fe8a858cd8 fixup! surya: Fix soname of renamed libraries 2025-04-07 11:17:47 +03:30
Mohammad Hasan Keramat J
57275f40eb surya: Regen with new py extract utils 2025-04-07 11:16:28 +03:30
Mohammad Hasan Keramat J
d6f0460f00 surya: Bring back misound_res 2025-01-24 02:17:00 +03:30
Bruno Martins
e1da0c78ec surya: Mark CNE symlink target as required package
Change-Id: I0bfe65ba61b6aa9916fe6459be2a84d772939a2f
2025-01-24 01:38:43 +03:30
Mohammad Hasan Keramat J
6a1533fc3e Revert "surya: Add libcdsprpc_system.so"
This reverts commit 7f982c6939.
2025-01-24 01:35:22 +03:30
Mohammad Hasan Keramat J
21d888659e surya: Regen 2025-01-24 01:29:03 +03:30
Sebastiano Barezzi
aca6310faf surya: Fix soname of renamed libraries 2025-01-18 11:56:00 +03:30
Mohammad Hasan Keramat J
4b0601128a surya: Add missing Camera blob 2025-01-18 05:01:29 +03:30
Mohammad Hasan Keramat J
fcb2f7397f surya: Add Trusted User Interface blobs 2025-01-18 04:59:54 +03:30
BeYkeRYkt
af3697705e surya: Build libui_shim for camera 2025-01-18 04:58:18 +03:30
Mohammad Hasan Keramat J
96fd719e06 surya: Regen with ELF checks 2025-01-18 04:55:59 +03:30
Sebastiano Barezzi
7f982c6939 surya: Add libcdsprpc_system.so 2024-11-27 17:21:18 +03:30
basamaryan
da2b883f52 surya: Add missing 32-bit libraries 2024-11-27 17:19:51 +03:30
Bruno Martins
540f474cf6 surya: Remove software OMX blobs 2024-11-27 17:18:27 +03:30
Ivan Vecera
0bd4a67055 surya: Fix NFC firmware path 2024-11-27 17:16:38 +03:30
Mohammad Hasan Keramat J
c9c9c984a5 surya: proprietary-firmware: Address not found blobs 2024-11-27 15:54:14 +03:30
Michael Bestas
b0f537eef6 surya: Sync extract scripts with templates 2024-11-27 14:57:43 +03:30
Willy Gardiol
5401929a43 surya: Switch to AOSP WFD
Change-Id: I4a2bf5078a9fbac242b36a8b6bc5beeafd63f916
2024-06-02 10:00:29 +02:00
Willy Gardiol
6e441296f2 surya: bring back stock camera provider
Change-Id: If947411e1dd1c8b941a9b6a95497e2e6f842cb74
2024-05-28 14:01:51 +02:00
Willy Gardiol
671ae138a8 surya: import firmware
Change-Id: I13f684c115bb9dbea1f0126e4b3075893a6d3038
2024-05-16 13:52:47 +02:00
Willy Gardiol
d2ed443f00 surya: remove fingerprint libs now into hardware/xiaomi
Change-Id: I27cdab4ae4e23ff0b4a273dde7aa0319c38bec3d
2024-03-21 17:41:49 +01:00
Willy Gardiol
ed8c3ea7b6 surya: Update blobs from V14.0.5.0.SJGEUXM
Change-Id: I7c9b75bdf47b9ae25a47326c0a70058498fc7b61
2023-08-25 10:26:32 +02:00
Edwin Moquete
b649c0057f surya: Use wfdconfig.xml from lemonadep
* Enables audio playback during suspend and UIBC.

Change-Id: I7e4dbeec717cd71d88252cc796f988b1378239ff
Signed-off-by: Mohammad Hasan Keramat J <ikeramat@protonmail.com>
2023-05-24 09:11:17 +02:00
LuK1337
9fd7496820 surya: Update WFD system stack from lemonadep T blobs
Change-Id: I728810877f3aa40a4fe068f23fd2cfc9194f8066
Co-authored By: Edwin Moquete <edwinmmoquete@gmail.com>
Signed-off-by: Mohammad Hasan Keramat J <ikeramat@protonmail.com>
2023-05-24 09:11:17 +02:00
Willy Gardiol
17d8c4dfb3 surya: Remove no longer needed aptX blobs
Change-Id: I405800f9dc85f381ae0c9cea36cfe72a24ad0f82
2023-04-10 20:56:27 +02:00
Willy Gardiol
e0f1ffd131 surya: Update blobs from V13.0.4.0.SJGEUXM
Change-Id: I378079cc4a43be014ae5d9cdc9befb2fdbf308cb
2023-02-05 16:53:37 +01:00
Willy Gardiol
72aa4677de surya: Prepend "system/" before paths where necessary
Change-Id: I1570dff08774124c43946a65f7d1127306df887e
2022-11-02 13:48:01 +01:00
Willy Gardiol
4de38b8b0c surya: Automatically add apk/jar/vintf fragments to PRODUCT_PACKAGE
Change-Id: Ib8314652032841a23538e413a3a663267ef0db88
2022-11-02 13:44:38 +01:00
Willy Gardiol
07f2b7fc87 surya: Import missing RILD lib
Change-Id: Ia9cad699b2797bcc20e11207bbb29ab6c68f847c
2022-11-02 13:40:43 +01:00
Willy Gardiol
77854134e4 surya: surya: Drop thermal-engine
* mi_thermald does it's job.

Change-Id: Ifec5716b1056a9b23a1946e63537c49d9de81623
2022-09-01 08:06:22 +02:00
Willy Gardiol
ee9e9db6e2 surya: do not modify camera.qcom.so dependencies
* Nuke Megvii proprietary files and build stub ones from hardware/xiaomi

Change-Id: Iae6024b6cd7164372bce79521621e3d2bc8d387a
2022-09-01 08:04:59 +02:00
Willy Gardiol
c94d0b4443 surya: Update blobs from V12.5.8.0.RJGMIXM
Change-Id: I10a666130582a8da76e87761cd85d5334115a33e
2022-07-19 10:36:09 +02:00
Willy Gardiol
75239c4d08 surya: Update blobs from V12.5.7.0.RJGMIXM
Change-Id: I791adee9c2ae094db6ef6b85c05c5fa2d803a8c9
2022-05-09 15:41:03 +02:00
TheStrechh
a9eba460cc surya: Move init.qcom.sensors to device 2022-04-13 03:36:15 +05:30
TheStrechh
46edfff7f8 surya: Make all elf prebuilts packages 2022-04-12 05:18:54 +05:30
TheStrechh
cee107df6a surya: Update blobs jar acording with lineage tools 2022-03-15 20:18:05 +05:30
TheStrechh
242141c5d7 surya: Import files from stock V12.5.5.0.RJGMIXM 2022-03-15 20:12:14 +05:30