bengris32
aebcaba734
rosemary: Drop unneeded vendor cacerts
...
* These are actually just the AOSP default cacerts copied into
vendor, and they aren't used in vendor anyway.
Change-Id: Ib9132d59a8d5807fa1e88b3dd4861c0b4cb02cf3
Signed-off-by: bengris32 <bengris32@protonmail.ch >
2023-10-09 08:39:32 +02:00
SahilSonar
b17af939e2
rosemary: sepolicy: Add vendor_* prefix
...
* Comply with sepolicy vendor namespace
Change-Id: I5259c450443dc4b107fb6175b6ee43a39cf66ec1
2023-08-28 16:02:40 +02:00
Matsvei Niaverau
be05167865
rosemary: sepolicy: Mark thermal_engine_prop as vendor_internal_prop
...
Change-Id: Idf40d649305911008b46990ebfcb15386f926b48
2023-08-23 13:51:34 +02:00
Matsvei Niaverau
31eb91191d
Revert "rosemary: sepolicy: Label IR property"
...
* Not labeled on stock
This reverts commit 60250c7f20 .
Change-Id: I3f51ae15d170295f3e8a557390a12ee3f5bcfbb6
2023-08-23 13:51:27 +02:00
Matsvei Niaverau
dfcd4a1b6e
fixup! rosemary: Set correct channel mask for "BT SCO Headset Mic"
...
Change-Id: I155e23589d8ab644b6a6342c3d9596a7ca98720c
2023-08-23 01:36:24 +02:00
Matsvei Niaverau
71a4c652d1
rosemary: Build PowerOffAlarm
...
Change-Id: I952d4953574ad9db48acb99721f5919110b044c2
2023-07-26 13:20:00 +02:00
Sarthak Roy
09d3204570
rosemary: sepolicy: Fix property violations
...
Change-Id: I736d314c2d9bb1444e542739a7b6b70c62395580
2023-06-26 21:02:24 +02:00
Alexander Koskovich
17899e0d52
rosemary: Add permissions for Hotword Enrollment
...
* This is already covered by GMS but in order to account
for non-GMS builds we should place some duplicates here.
Change-Id: I2d0f504106cd4784669a60b514c027fb6974c816
2023-06-22 15:19:13 +02:00
Sebastiano Barezzi
8881f2918d
rosemary: Add hardware/xiaomi to lineage.dependencies
...
Change-Id: Icf30ae7c8db98d1c3212edd1118343b6fad87305
2023-06-22 14:42:21 +02:00
Matsvei Niaverau
dd395cf5f7
Revert "rosemary: Build Lineage Health HAL"
...
This reverts commit c4a4c66c1a .
Change-Id: Id124dec21f2e3443d15e4d905f2fdb761252b0cd
2023-06-22 14:41:58 +02:00
Michael Bestas
c4a4c66c1a
rosemary: Build Lineage Health HAL
...
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2023-06-21 09:52:20 +02:00
Kshitij Gupta
799e89a988
rosemary: Create required vendor symlinks for gatekeeper
...
Change-Id: I0d87c2b4332c0bcff0a7872fffd13e8ec1225c6e
2023-06-02 19:39:18 +02:00
Matsvei Niaverau
e5b9bd4683
rosemary: proprietary-files: Drop symlinked vulkan library
...
Change-Id: I390f2a5d5a3bfafc507ea3d3b49b59cdc7e937d6
2023-06-02 09:05:46 +02:00
Matsvei Niaverau
2a66236a8f
rosemary: Import c2 media codecs from stock
...
Change-Id: I91dddf7ba62460160166759ba2ce64fec0b6f084
2023-06-01 12:47:06 +02:00
Sebastiano Barezzi
f605ad7893
rosemary: Add HDR and AOSP color props
...
* From alioth
Change-Id: I8a546c2a2abdad2671aced7325f4ebf0f4b06a80
2023-06-01 12:44:18 +02:00
Matsvei Niaverau
4d7bd03e44
rosemary: rro_overlays: Tune rounded corner value
...
Change-Id: I925968fa8b5999d1c16c4a3b91ba0ec4d8e26f03
2023-06-01 12:44:18 +02:00
Matsvei Niaverau
8d4deca219
rosemary: proprietary-files: Update patched ImsService
...
* dd4f315c1f
Change-Id: I0196396988f88c03b206efed17a5e7c2504ddcbd
2023-06-01 12:44:18 +02:00
Tim Zimmermann
ebed921d4c
rosemary: Switch to new AIDL memtrack HAL
...
Change-Id: I3ae077b5f59e4fcf32489eef64bce8551d758998
2023-06-01 12:44:18 +02:00
DarkJoker360
93d94923dd
rosemary: sepolicy: Update gpu related sysfs labels
...
* Matches mediatek sepolicy repo.
Change-Id: I486f82d8cc913a17eeb9afc66aa403b90716a6cf
2023-06-01 12:44:18 +02:00
Subhajeet Muhuri
839df9fe6c
rosemary: powerhint: Drop PM QoS latency boosting
...
Change-Id: I683033dcbb12e27ccfbf21eff0b5c9bba0269089
2023-06-01 12:42:02 +02:00
DennySPB
aadc21f027
rosemary: powerhint: Decrease launch boost to 3sec
...
* 5s is just too much long plus battery drainer
Change-Id: I7e037c45cd2296a8bbd67d6bd63c212c0ef2a805
2023-06-01 12:41:25 +02:00
Matsvei Niaverau
ae22c6fc3e
rosemary: rro_overlays: Kang brightness overlays from mojito
...
* From https://github.com/ArrowOS-Devices/android_device_xiaomi_mojito/blob/arrow-13.1/rro_overlay/FrameworksMojito/res/values/config.xml
Change-Id: Ifef49c455c20f6aa69279e69ac7b13fdf1d2c3b1
2023-06-01 09:53:11 +02:00
Deanlancer
493171258f
rosemary: powerhint: Remove SchedBoost configs
...
error:
Failed to write to node: /sys/devices/system/cpu/sched/sched_boost with value: 6, fd: -1
* sched_boost was disabled in kernel
Change-Id: I40d4b5889e710c51deecc9079122fd149fcd047e
2023-06-01 03:25:55 +02:00
Matsvei Niaverau
7b7d1faad9
rosemary: Add missing HDR support property
...
Change-Id: Ife016c4ee80bb98ebbd9dc24894081aafd1f21a5
2023-05-31 16:53:07 +02:00
Matsvei Niaverau
73d508217b
rosemary: proprietary-files: Add hotword blobs
...
Change-Id: Ic9ec9ea5fd6fb854e4c2227ebd1acda7e2418873
2023-05-31 16:49:15 +02:00
Matsvei Niaverau
c844598f84
Revert "rosemary: lights: Adapt brightness scaling behaviour to match MIUI"
...
This reverts commit 6ce8341120 .
Change-Id: Iad650d6a5fa47371c0bc3e1d5922dcc041be3d47
2023-05-31 13:58:38 +02:00
Matsvei Niaverau
5eca53c64f
rosemary: sepolicy: Cleanup perfmgr sepolicy
...
* Moved to Mediatek sepolicy repository
Change-Id: I01520d26f42a2a229bbfe2c70ad721e6a9e9452a
2023-05-03 18:32:46 +02:00
Tim Zimmermann
be0697296e
rosemary: Remove some useless doze overlays
...
* config_displayBlanksAfterDoze and config_dozeAfterScreenOffByDefault break the
nice animation from/to doze mode and they are not needed
Change-Id: I4054cd2d89556f964c8aa37014a58ba0fa36f017
2023-04-26 10:51:37 +02:00
Matsvei Niaverau
69e0351b8c
rosemary: WifiOverlay: Drop WPA3-SAE support
...
* Hotspot is broken with WPA3
Change-Id: I8ec0f8ddde6a995b346479cf37848560d3990c1f
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
9775d2f5c3
rosemary: rootdir: Rework fstab ramdisk including
...
Change-Id: Ia3a9d873776c88079b70ba70294632a8d0c92ab4
2023-04-25 17:59:38 +02:00
GuaiYiHu
2eeda0ec5b
rosemary: Enable WIFI_HIDL_FEATURE_DUAL_INTERFACE
...
See from https://source.android.com/devices/tech/connect/wifi-sta-ap-concurrency
Change-Id: I64f9e7b76e6dffaf59cd78eae4ba3e75f3b13808
2023-04-25 17:59:38 +02:00
bengris32
a96bd565ec
rosemary: Correct Architecture optimization flags
...
* Instead of setting TARGET_CPU_VARIANT_RUNTIME and
TARGET_2ND_CPU_VARIANT_RUNTIME respectively, we are
instead setting TARGET_2ND_CPU_VARIANT_RUNTIME twice.
* Set TARGET_CPU_VARIANT_RUNTIME to cortex-a76 and
TARGET_2ND_CPU_VARIANT_RUNTIME to cortex-a55 so
we properly match the CPU setup of MT6785.
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: Ib15f68063eb1f7a55be62d1aecc893c8751f7765
2023-04-25 17:59:38 +02:00
R0rt1z2
6aaa0b584a
rosemary: libshims: Initialize the entire attribution source
...
* As per b/182392769, AttributionSourceState's need their own
unique token for their source.
* Also set the tag to a null optional value while we're on it.
Change-Id: Ie2588423fd5f8dbac3c71275a697f4cdef7799ff
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
bbb8ab75d3
rosemary: Add Lineage dependencies
...
Change-Id: I6a63127d54ef01d4fd02b0b3240303c81ec2c412
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
3f1c47629a
rosemary: Drop mtk_plpath_utils
...
* Useless and not presented at our hardware repo
Change-Id: I0b10db303b64fe5121e58dc710432680f292ba14
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
06f2322d01
rosemary: Build FMRadio
...
* MtkFMRadio is no longer needed, original one was updated for Mediatek support
* Also add Mediatek FM flag for our prebuilt jni
Change-Id: I4e0ebd7352ad04e97ce65d3aec5a1b9d030fb3c3
2023-04-25 17:59:38 +02:00
Dan Pasanen
e330163019
rosemary: Reserve additional space on system/system_ext/product
...
Co-authored-by: Alessandro Astone <ales.astone@gmail.com >
Co-authored-by: Eamon Powell <eamonpowell@outlook.com >
Co-authored-by: LuK1337 <priv.luk@gmail.com >
Co-authored-by: Michael Bestas <mkbestas@lineageos.org >
Co-authored-by: Nolen Johnson <johnsonnolen@gmail.com >
Co-authored-by: razorloves <razorloves@gmail.com >
Change-Id: I0382f5070751ef4d1be0e48bb89c7abb7eba22c6
2023-04-25 17:59:38 +02:00
danascape
ac25c069f9
rosemary: Ship separate system_ext image
...
Change-Id: I729450c33dc089528b5e0e0dc639f8af9bd53740
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
c586df0ab0
rosemary: rootdir: Drop cache partition
...
* Useless on Virtual A/B
Change-Id: I5b5b2c669bc0847d100c0a38db5748efe3c8038a
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
0d8fffb9d5
rosemary: rro_overlays: Kang statusbar padding from surya
...
* From https://github.com/LineageOS/android_device_xiaomi_surya/blob/lineage-20/overlay/J20CSystemUI/res/values/dimens.xml
Change-Id: I79335a51b08fb6cda156e8f61f3c7cd68e269013
2023-04-25 17:59:38 +02:00
Sebastiano Barezzi
6d5e0036e2
Revert "rosemary: Define BOARD_SUPER_PARTITION_ERROR_LIMIT"
...
This reverts commit 3eb2015 .
Change-Id: Ibd67c8c83da8f21037de08279854df2ec7d68cc7
2023-04-25 17:59:38 +02:00
Sebastiano Barezzi
e4288ab9b3
rosemary: sepolicy: Split system and vendor fingerprint data types
...
* The following types on /data/vendor/ must not be associated with the
"core_data_file_type" attribute: vendor_fingerprint_data_file
Change-Id: I7d1909d7f478e3252f361497aff51db3dc7ca77f
2023-04-25 17:59:38 +02:00
Sebastiano Barezzi
c5bbba476d
rosemary: sepolicy: Fix fingerprint neverallows
...
* Mark vendor domains using fingerprint data as
data_between_core_and_vendor_violators
Change-Id: Ic4e68597ace96598d10eb4439949a264aae5d229
2023-04-25 17:59:38 +02:00
Jeff Vander Stoep
b9edb74e6a
rosemary: sepolicy: Correctly label non-vendor data types
...
* Data outside /data/vendor must have the core_data_file_type
attribute.
Test: build (this is a build time test)
Bug: 34980020
Change-Id: I372c80da64abc26d8dd1478d208074de25d88357
2023-04-25 17:59:38 +02:00
bengris32
a21878ca31
rosemary: Don't hold sched_boost at max when unneeded
...
* Current powerhint configuration would cause sched_boost to always be set to the max value (6) even when the device is idle and not doing anything.
* Instead, we should only apply it when the device is being used, so have it default to 0, 3 when interaction boosting, and 6 when launching apps.
Change-Id: Ic5d60c14a1313b9df27e6796e5a0bddc71aecef0
2023-04-25 17:59:38 +02:00
bengris32
833253fe63
rosemary: overlay: Kang auto brightness configuration from 'guacamole'
...
* Taken from https://github.com/LineageOS/android_device_oneplus_guacamole/blob/lineage-18.1/overlay/frameworks/base/core/res/res/values/config.xml
as of dc41338b60372c97e7468c0b71db198638efba32.
Signed-off-by: bengris32 <bengris32@protonmail.ch >
Change-Id: Id24900fb0ebe4d27e7a1c8ac57a2a40d270c35e2
2023-04-25 17:59:38 +02:00
SamarV-121
c9468c758d
rosemary: Increase sf.hwc.min.duration
...
Change-Id: I8c806c5f331943515772cd6dfadb4dc1d966592d
2023-04-25 17:59:38 +02:00
SamarV-121
5bedd2bcb9
rosemary: Disable HWC composition strategy prediction
...
Change-Id: Id45165c604c825bc55a324e7dc8f3dcd7a3f25ee
2023-04-25 17:59:38 +02:00
SamarV-121
4386753cf4
rosemary: Disable continuous transaction tracing on all build types
...
Change-Id: I95657a00e38f1229675682e784b20cca12c119b0
2023-04-25 17:59:38 +02:00
Ady Abraham
30dae4ab9e
rosemary: Enable GL comp backpressure
...
Enable backpressure for client composition to avoid jank due to
HWC queue stuffing.
Test: 1. Open Camera
2. Swipe horizontally to go back to previous app.
Bug: 138083790
Change-Id: I3d26aa470c1660b23bd97133f39858f92638aca8
2023-04-25 17:59:38 +02:00