Matsvei Niaverau
712985a299
rosemary: Drop displayfeature HAL
...
Change-Id: I509f2a537ee2c0f35f32a82d03ca696e1d62b99b
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
d11f3ea5f0
rosemary: proprietary-files: Pull IR blaster libs
...
Change-Id: I211467913b160780ab7d6f2f73868ccf1a818b04
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
8843642c78
rosemary: Build sensors multihal from source
...
Change-Id: Iebccb00d08d15bfb466cff9de4aec435b13109e5
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
54aacc0e3e
rosemary: Build neuralnetworks dependencies
...
Change-Id: Ife50351d3bcf8d581c4a6c7fe0633bcd3dacedf4
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
e4e1221038
rosemary: proprietary-files: Pull system_ext apuware blobs
...
Change-Id: I6c246f61d7a7238d561255b0aab5271db66395e1
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
91725c12cd
rosemary: manifest: Drop sensors entry
...
Change-Id: Ib1191057a93da65edcb214057990c92fa8081c4d
2023-04-25 17:59:38 +02:00
danascape
56e35bf53e
rosemary: Build soundtrigger 2.3
...
Change-Id: I0f8743ac5266329b79022e9ad6392c9e9afd73b9
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
f1315d26a4
rosemary: configs: Import public libraries list from stock
...
Change-Id: I9e0087ce1d40f5eafda0426d1440980e1a93fae1
2023-04-25 17:59:37 +02:00
Matsvei Niaverau
da28f94423
rosemary: rootdir: Bump vendor.boot-hal version
...
Change-Id: I0e5a992e1108846cb27cf40d53a630b7f9d1a689
2023-04-25 17:59:37 +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
Sal Savage
1bb5f8cadd
rosemary: Use the ?= operator so BT properties can be overridden
...
System properties set with the "=" operator cannot be overriden. This
device is used elsewhere in the system and some of the properties need
to be overridden. The "?=" operator will use the assigned value if no
other values are assigned elsewhere, allowing for overrides.
Bug: 230638462
Test: adb shell getprop | grep bluetooth
Change-Id: Id6cd7901555edafef141bbc1bbd5e06dc3a54d0c
2023-04-23 19:15:57 +02:00
jabashque
3b35a31550
rosemary: Disallow aux cam usage for Zoom
...
Zoom seems to try using camera ID 2 for the back camera instead of
camera ID 0. Block access to aux camera for Zoom to force it to use
camera ID 0 for the back camera.
Change-Id: I99d79259a2a3adefb72a5ffed5fbbb37bd8b756d
2023-04-23 19:15:57 +02:00
LuK1337
e1fca67cdc
rosemary: Migrate vendor.camera.aux.packageexcludelist to overlay
...
Change-Id: Iee884cc98b5fada492b27e8085de98ae08406cf4
2023-04-23 19:15:57 +02:00
Vaisakh Murali
770d23c67e
rosemary: Build libpcap from source
...
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com >
Change-Id: I6de4b51b76c7fcdccb06036200f6992893da6b34
2023-04-23 19:15:57 +02:00
bengris32
a3a010b517
rosemary: Copy usb_audio_accessory_only_policy_configuration.xml from stock
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I4debc0b3a2b8d973b9b1a688072bb6beaab04769
2023-04-23 19:15:57 +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
Vaisakh Murali
861bebbfd2
rosemary: Build libbluetooth_audio_session from source
...
The older VNDK 30 blob when linked against the newer default bluetooth
HW module, had a missing symbol:
`_ZN7android9bluetooth5audio25BluetoothAudioSession_2_132invalidOffloadAudioConfigurationE`
Since we build default bluetooth HW module from source, build
libbluetooth_audio_session from source as well.
Fixes: Bluetooth Audio on Android 12
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com >
Change-Id: I13c09ecc37f709c575103d108acf5ca1b5aa2553
2023-04-23 19:15:57 +02:00
Matsvei Niaverau
db590efb5c
rosemary: Override fingerprint and build description from V12.5.14.0
...
Change-Id: Idc7db1353f5b8fa2cd29e2060ecd0953501aaca3
2023-04-23 19:15:57 +02:00
Matsvei Niaverau
8a4326b9f0
rosemary: proprietary-files: Pull missing arm.graphics-V1-ndk_platform.so
...
Change-Id: Iaa7719e3a8308ea4699e987aac498fe6bc2030f2
2023-04-23 19:15:57 +02:00
Matsvei Niaverau
46427aac3c
rosemary: Build android.hardware.sensors@2.0-ScopedWakelock library
...
Change-Id: Iadf73cc3c1d07b97c19fd0db6ca8062ba72d4de9
2023-04-23 19:15:57 +02:00
Matsvei Niaverau
7f5e4b0082
rosemary: Declare EXT4&F2FS support for userimages
...
Change-Id: I2c2de00eac1e9bc171316f2a876e3e8bbbba2021
2023-04-15 14:36:56 +02:00
Matsvei Niaverau
c0851fb277
rosemary: proprietary-files: Drop nonexistent libs
...
* Also pin fixed libmtkcam_stdutils
Change-Id: Ibbbe06e48581601518fc7afb87d1b247f7c27352
2023-04-15 14:36:56 +02:00
Matsvei Niaverau
f0b02514a1
rosemary: Set up SKU-based ST NFC stack
...
* Based on miatoll implementation (7c21e60b93 )
Change-Id: Ibb852acd55e4c0bc6928236637493520af221db2
2023-04-15 14:36:56 +02:00
Matsvei Niaverau
65fab603f3
rosemary: Define OTA asserts
...
Change-Id: I68ec069cb3bb8f1be3c9ea3dba4340b920c84c02
2023-04-15 14:36:56 +02:00
Bruno Martins
684937ce0a
rosemary: Blacklist fingerprint HAL key events
...
Change-Id: I57db108f5250c120726b77dd32f4666917c9eb7c
2023-04-15 14:36:56 +02:00
Sebastiano Barezzi
f206a06d5a
rosemary: Build common Xiaomi fingerprint HIDL
...
Change-Id: I6c29a831e985ee440c92a98aad8d33f25b9e5b2d
2023-04-15 14:36:56 +02:00
Sebastiano Barezzi
672987002a
rosemary: Add hardware/xiaomi to Soong namespaces
...
Change-Id: I10767b34d19100f00f1aef2e3409d380dcaf5dc9
2023-04-15 14:36:56 +02:00
minz1
56b658c803
rosemary: rro_overlays: Enable burn-in protection
...
Change-Id: Id280be855f309f3852a4c01f61738207d91a5d9c
2023-04-15 14:36:56 +02:00
Lexip
3bda8e65c6
rosemary: rro_overlays: Support AOD
...
* Enable optional AlwaysOnDisplay
Change-Id: Idb624eb434e646ab1dedb825d58f00d2f6203961
2023-04-15 14:36:56 +02:00
DarkJoker360
e06eaa6ff5
rosemary: Set dt2w node permissions on boot
...
Signed-off-by: DarkJoker360 <simoespo159@gmail.com >
Change-Id: Ic47bdd4f68c1f4a8cc29f6b8d1bf46c04fbc4871
2023-04-15 14:36:56 +02:00
Matsvei Niaverau
07e59fc35b
rosemary: proprietary-files: Drop libpowerhal module
...
* Not required after nashc-dev/android_hardware_mediatek@517c799
Change-Id: I18e5ce3771eaf702c53c23c2d4f713434fdba56b
2023-04-15 14:36:56 +02:00
TheMalachite
ff5ba11132
rosemary: rootdir: Drop useless services
...
Signed-off-by: TheMalachite <eliasgheeraert@gmail.com >
Change-Id: I7ad43ec34a70322cf30cfbfe684dec5a1577eae2
2023-04-15 14:36:56 +02:00
TheMalachite
f07c0837fb
rosemary: rootdir: Remove sdcard symlink and iso mount
...
Signed-off-by: TheMalachite <eliasgheeraert@gmail.com >
Change-Id: Icff4c31d55be813d2284f0617072ce343e71db07
2023-04-15 14:36:56 +02:00
TheMalachite
a07c6392ed
rosemary: rootdir: Drop on property:vold.decrypt
...
- We don't use FDE encryption
Signed-off-by: TheMalachite <eliasgheeraert@gmail.com >
Change-Id: Icd9c16a5f5b92992e8e41539971302a09cdde9be
2023-04-15 14:36:56 +02:00
Vaisakh Murali
0bed5f53a4
rosemary: rootdir: Elevate read permissions for mtk_cmdq and mdp_sync
...
Apparently on AOSP builds, these nodes when read by the hals
with O_RDONLY attribute, need an elevated read permission, which
is apparently unneeded on mtk builds/stock rom.
This fixes video playback/OMX
Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com >
Change-Id: I7f358d0037de569a4eb038e5ac2a17b7651d307d
2023-04-15 14:36:56 +02:00
telepathine
e8ea3644fa
rosemary: props: Set call volume steps to 9
...
Change-Id: I703ec972bc66c68718a32b499b210f83d20c6322
2023-04-15 14:36:56 +02:00
telepathine
61471b2338
rosemary: InCallService: Map AOSP gain step range to MTK one
...
MTK has 15 volume steps, we have whatever is set in vc_call_vol_steps.
Mapping our range to theirs allows reaching higher volume levels.
A log curve is used to make gain transitions less abrupt at higher volumes.
Change-Id: I5f0e6467ba9fd0779d7e4abbf9f258b0b42224e4
2023-04-15 14:36:56 +02:00
bengris32
ced33fe9d4
rosemary: InCallService: Bugfixes and refactor
...
* Refactor and cleanup code
* Use proper way of getting audioDevice with getPort().type()
* Stop mixing up values between AudioSystem and AudioManager,
as values between AudioManager (java) and AudioSystem (native)
could change and become different from eachother.
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I2311ed02b88148b71b374b19aaaf458f82f23824
2023-04-15 14:36:56 +02:00
LinkBoi00
510e3cda72
rosemary: app: MtkInCallService: Adjust gain values in all situations
...
Signed-off-by: LinkBoi00 <linkdevel@protonmail.com >
2023-04-15 14:36:56 +02:00
bengris32
4c6dc4806a
rosemary: Introduce Mediatek In-Call Service
...
* My attempt at fixing in call gain control on MediaTek devices.
* It attempts to replicate what the stock MediaTek framework does
when controlling the volume of the earpiece speaker, since MTK's
audio HAL is not able to set the gain of the speaker from the
values sent by AOSP framework.
[LinkBoi00] Rebrand to Mediatek In-Call Service
Change-Id: I43f727f6fb73a0d38457a41a8361653d1d00e220
Signed-off-by: LinkBoi00 <linkdevel@protonmail.com >
2023-04-15 14:36:56 +02:00
Kevin F. Haggerty
e20160a997
rosemary: sepolicy: Allow system_app to read /proc/pagetypeinfo
...
avc: denied { read } for name="pagetypeinfo" dev="proc" ino=4026543033
scontext=u:r:system_app:s0 tcontext=u:object_r:proc_pagetypeinfo:s0
tclass=file permissive=0
Change-Id: I16465eb9acca9ff64a755d47f86f4ff424ebe4de
2023-04-15 14:36:56 +02:00
Kevin F. Haggerty
cce24cd712
rosemary: sepolicy: Allow system_app to access zram sysfs nodes
...
avc: denied { search } for name="zram0" dev="sysfs" ino=20744
scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_zram:s0 tclass=dir
permissive=0
avc: denied { open } for name="mem_used_total" dev="sysfs" ino=20804
scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_zram:s0 tclass=file
permissive=0
avc: denied { read } for name="mem_used_total" dev="sysfs" ino=20804
scontext=u:r:system_app:s0 tcontext=u:object_r:sysfs_zram:s0 tclass=file
permissive=0
Change-Id: Ide9b1a9488b26fa69e7a2c8e73a8e657c8b28beb
2023-04-15 14:36:56 +02:00
Matsvei Niaverau
a41a41530c
rosemary: rootdir: Set fstab as a swapfile
...
Change-Id: I59e08b005fb396dd5473e1cd113f6b10eac40c3c
2023-04-15 14:36:56 +02:00
Kshitij Gupta
25e13e931a
rosemary: rootdir: Correct mode for video0 and video1
...
- init services fail to setup encoders on boot and camera and
screenrecord fails to open video1 when trying to encode a video.
- While we may wanna consider looking through services that make use of
these devs and correct their groups for AOSP, this gets the job done
for now.
Change-Id: I0278efe201a9cbaa20c650fdc32bed6f9ecfd017
2023-04-15 14:36:56 +02:00
Alexander Koskovich
f1976cb3e3
rosemary: Move BT profiles props to vendor
...
* Makes it GSI compatible
Change-Id: I8f7caf241d508af59c16482e6185c42f23f8a460
2023-04-15 14:36:56 +02:00
SamarV-121
ec1ca2871b
rosemary: lights: Uprev light aidl to v2
...
Change-Id: Id16a35cd1b38d9e39533cfd9a5b0bb74b51cb73a
2023-04-15 14:36:56 +02:00
bengris32
a355902279
rosemary: Drop TARGET_POWERHAL_AIDL_VERSION flag
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I6d53f4871cb572cf1656b47944d3f2f735ef94ec
2023-04-15 14:36:56 +02:00
bengris32
a63400f8d8
rosemary: props: Silence gralloc4 logspam
...
* Since Android 13, gralloc has been spamming the logs with:
E gralloc4: Empty SMPTE 2094-40 data
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: Ib4d44443499f1396453bd7070aa1935485b329db
2023-04-15 14:36:56 +02:00
TheMalachite
0344668610
rosemary: Add persist.log.tag properties overrides
...
Change-Id: Ibd6a89cbc0fa17b36fff1a0759afb64705687d13
2023-04-15 14:36:56 +02:00
bengris32
0e9c276b8a
rosemary: Set BOARD_HAS_MTK_HARDWARE to true
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: I568d110431ad2c009fd1f9515f154701baf09a6e
2023-04-15 14:36:56 +02:00