Commit Graph

30 Commits

Author SHA1 Message Date
Bruno Martins
0db5d75294 rosemary: Add firmware extraction support
Rename from factory image dump to the common partition naming.

Change-Id: I61b0f4cdddf65166cb12a39926e1fcb504241975
2024-02-19 12:14:46 +01:00
R0rt1z2
e76dccff1a rosemary: Hexpatch camera lib to increase maximum JPEG streams for an app
* Increase maxAppJpegStreamNum to 17 in order to fix GCam lags.

Change-Id: I190a2c39e406e0a8389a7bf29b420ef4f2352e2d
2024-02-19 12:01:04 +01:00
bengris32
3c2af33644 rosemary: Update IMS from plato V14.0.7.0.ULQMIXM
Change-Id: I9ab402b7d2bdacba06caaabda18e70c9a8189ae4
Signed-off-by: bengris32 <bengris32@protonmail.ch>
2024-02-19 12:01:04 +01:00
Woomymy
a91b06d074 rosemary: Add a shim to link sensor blobs against android.hardware.sensors@1.0-convert
* `libndksensorbridge` was converted to AIDL and is no longer linked to
  this static library that contains symbols required by our sensor
  blobs. Add a shim linked to `android.hardware.sensors@1.0-convert` to
  fix our sensors

Change-Id: I969f97bb15d0abcc71f87352722995db3826e122
Signed-off-by: Woomymy <woomy@woomy.be>
2024-02-19 12:01:04 +01:00
Matsvei Niaverau
3f5de9cf2e Revert "rosemary: Link sensor libraries against stock libsensorndkbridge"
This reverts commit dd798d4d97071edb204d8d95d98183cd9172cf3b.

Change-Id: I520764cf7781dc8cf4717cb7218534861cf5f98e
2024-02-19 12:01:04 +01:00
Woomymy
ef9c77c1f9 rosemary: Link media.c2 service against v33 libstagefright_foundation
* Fixes crashes and high CPU usage

Change-Id: I60c07d10c2db9335d20c6dbaaaeacc9313aebf06
Signed-off-by: Woomymy <woomy@woomy.be>
2024-02-19 12:01:04 +01:00
Matsvei Niaverau
44b07ec8d8 rosemary: Link agpsd against v32 libssl
Change-Id: Id433ea70a50397b44a4baa44ce0366586ab06b70
2024-02-19 12:01:04 +01:00
Matsvei Niaverau
e9cf96da92 rosemary: Update blobs from V14.0.7.0.TKLMIXM
This reverts commit c478a2e and cb797b3.

Change-Id: I8a2372df789877f45a94dfaf76fecae717e860ab
2024-02-19 12:01:04 +01:00
bengris32
62990a3329 rosemary: Link sensor libraries against stock libsensorndkbridge
* libsensorndkbridge was converted to use AIDL, yay...

Change-Id: I7611acbc48093646c614cd8066c9dc40bdd7f9a2
Signed-off-by: bengris32 <bengris32@protonmail.ch>
2024-02-19 11:42:45 +01:00
bengris32
a3b88a8eda rosemary: Add shim for proprietary AudioTrack constructor
Change-Id: Icc7a1f9c748578f5b58499e7a76213673c4bcf54
Signed-off-by: bengris32 <bengris32@protonmail.ch>
2024-02-19 11:42:22 +01:00
bengris32
dad12723d2 rosemary: Link agpsd against v32 libcrypto
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I9567f46ec4cc70ad0d35511dba36132eb55fefda
2024-02-19 11:42:22 +01:00
bengris32
481eb83edf rosemary: Shim missing libshowlogo symbol
* ui::Size was changed going from VNDK32 to VNDK33 [1] and
  ui::Size::INVALID constant was removed. However, all we need
  to do is set INVALID to a Size with a width/height of -1.

[1]: 6d043c5c5c

Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I4a224c6c3f622152a8bdc9f70bca18263af068cd
2024-02-19 11:42:22 +01:00
Jiyong Park
36c694ab53 rosemary: gnss: Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m
Merged-In: Id16039722fd70d4e2e934a0988f13a768ce833ec
Change-Id: Id16039722fd70d4e2e934a0988f13a768ce833ec
2024-02-19 11:42:22 +01:00
Matsvei Niaverau
47baf4a55b rosemary: Checkout packages from V13.0.6.0
* Drop unneeded shims

* Spoofing roles is not needed anymore, so drop USB HAL

Change-Id: I4af4ace2db11e2388d5c14157f72f30ec5c5e625
2024-02-19 11:41:55 +01:00
Matsvei Niaverau
c5109ed16e rosemary: Build legacy libalsautils from source
Change-Id: Iecfcb73ab1e49eafa8b7a26a21139fe60e5ae5b5
2023-04-25 17:59:38 +02:00
bengris32
615e1b9cfe rosemary: Patch FPC fingerprint HAL to ignore conflicting events
This will fix the long standing issue of the screenshot button
combination not working properly in AOSP. The patch will change the
first instruction of the report_input_event function with a ret so
that the touch events which conflict with AOSP do not get reported
to userspace.

Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: Ib36d784b28e0fd18d4bda11cdafaf9865f55e5c9
2023-04-25 17:59:38 +02:00
R0rt1z2
59e0aa7dec rosemary: Patch Goodix fingerprint HAL to ignore conflicting events
This will fix the long standing issue of the screenshot button
combination not working properly in AOSP for Goodix sensors.

The patch will replace the first instruction of the
'gf_hal_send_key_event' function with a ret so that the touch
events which conflict with AOSP do not get reported to userspace.

Change-Id: I9e15a46b519fd7f75e39af4690c271aa63af4790
2023-04-25 17:59:38 +02:00
SamarV-121
a74536f65c rosemary: Patch libMtkOmxVdecEx to use libui-v32
* Fixes OMX crash https://gist.githubusercontent.com/SamarV-121/efbeed785308c09655c354362b0f007c/raw

Change-Id: Id7f221f109e27a4d5544aa81ec73c60db0c0dc33
2023-04-25 17:59:17 +02:00
bengris32
611afa5808 rosemary: Shim missing libutils symbol for Camera HAL
* cannot locate symbol "_ZN7android7String87toUpperEv" referenced by "/vendor/lib64/libcam.halsensor.so"....

[1] 9434f59c17

Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I7ac4e2362a9cca76009785d994d2aa6d103182f1
2023-04-23 19:15:57 +02:00
bengris32
91c23d1cb7 rosemary: Link audio modules against prebuilt libalsautils.so
* Fixes USB DAC.

Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I63b4ce60e89ffe04c0e7dd558e21f9258f7112c9
2023-04-15 14:36:56 +02:00
Lucchetto
2a52c65520 rosemary: Use libhidlbase from vndk v32 for goodix interface
* _ZN7android8hardware7details17gBnConstructorMapE and _ZN7android8hardware7details17gBsConstructorMapE have been removed on Android 13

Signed-off-by: Lucchetto <lucchetto.tie@live.com>
2022-12-07 00:10:21 +01:00
SamarV-121
5b3de57cbc rosemary: Use libutils-v32 for libmtkcam_stdutils.so
* Abort message: 'incStrongRequireStrong() called on 0xb400007c5afa7250 which isn't already owned'

Signed-off-by: SamarV-121 <samarvispute121@pm.me>
Change-Id: Ie04bf80f00d96ab9f9ecd292322925a39bf59c6a
2022-12-07 00:10:21 +01:00
Jiyong Park
076f7631d2 rosemary: Remove ndk_platform backend. Use the ndk backend.
The ndk_platform backend will soon be deprecated because the ndk backend
can serve the same purpose. This is to eliminate the confusion about
having two variants (ndk and ndk_platform) for the same ndk backend.

Bug: 161456198
Test: m
Merged-In: I14a1c57bd06f1f2aa52491f779c7030d4de03547
Change-Id: I7b9055909b901843631314b9577a9e578a739d00
2022-12-07 00:10:21 +01:00
SamarV-121
e51d75aec5 rosemary: Link PQ and dfps HAL against VNDK 32 libutils
* Abort message: 'incStrongRequireStrong() called on 0xb400007c5afa7250 which isn't already owned'

[bengris32] Patch both 32bit and 64bit variants

Change-Id: Ifae97360042bad420ef454a56b490af2202ac79a
2022-12-07 00:10:21 +01:00
Arian
577563da43 rosemary: Provide a shim for libsink
added opPackageName as a parameter to the constructor
  of AudioTrack which breaks our libsink which was compiled
  for an older libaudioclient.

* fixes the following error:
CANNOT LINK EXECUTABLE "/system/bin/vtservice": cannot locate symbol "_ZN7android10AudioTrackC1E19audio_stream_type_tj14audio_format_tjj20audio_output_flags_tPFviPvS4_ES4_i15audio_session_tNS0_13transfer_typeEPK20audio_offload_info_tjiPK18audio_attributes_tbfi" referenced by "/system/lib/libsink.so"

https: //github.com/LineageOS/android_frameworks_av/commit/fd90fdfe2a611ae824a32e236da288b1fdfd445d
Change-Id: I290e1beca02d46c4393d17356fa22741d771f847
2022-11-12 10:48:38 +03:00
Joel Stein
cb797b3eb4 rosemary: Shim missing libshowlogo symbols
Change-Id: I72dbe1012455a410ad01ceeb0cb9db53ac8f69f5
2022-11-12 10:48:38 +03:00
SamarV-121
f5f10bc632 rosemary: Rename libwifi-hal.so
* To prevent conflict with aosp's

Change-Id: I922f26c45957f4bc5d2ad85e14ecfcb382abf811
2022-11-12 10:48:31 +03:00
nift4
bfc3b1b0d1 rosemary: Shim beanpod keymaster
Change-Id: Iac8ab200f0d844c56a820be9553afcbaee880e4b
2022-11-12 10:44:26 +03:00
bengris32
66c85245e3 rosemary: Shim misssing audio symbol
* E vndksupport: Could not load /vendor/lib/hw/audio.primary.mt6785.so from default namespace: dlopen failed: cannot locate symbol "_ZN7android13TypeConverterINS_13DefaultTraitsI14audio_format_tEEE6mTableE" referenced by "/vendor/lib/hw/audio.primary.mt6785.so"....

* The required conversion mTable [1] was removed in VNDK31, add it back.

[1] dc6be0d575

Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I9b90be74c40ec52624f84be24917b3392081a3bb
2022-11-12 10:44:26 +03:00
bengris32
9dd9e46f02 rosemary: Initial skeleton
Signed-off-by: bengris32 <bengris32@protonmail.ch>
Change-Id: I199c18bba9552cbccda9408e5120cc66a4cd1be1
2022-10-28 13:25:28 +01:00