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
SamarV-121
280b253927
rosemary: Remove obsolete debug.sf.disable_backpressure
...
* It has been removed in Android S
* 2ec5391acf
Change-Id: I23a210a37ad257f0c8b7a3c5e1d59b2ac20cde9a
2023-04-25 17:59:38 +02:00
Richard Raya
96bfd2e728
rosemary: Disable client composition cache
...
* Disabling client composition cache improves system smoothness and fix issues like lags when media output is showed on qs panel
Change-Id: Id1d1b1fef4a2b0f0b383b67c34ae5e4bc9e83b3d
2023-04-25 17:59:38 +02:00
Woody Lin
13e5b0ebf0
rosemary: Enable zygote critical window
...
Bug: 141948707
Change-Id: I5dc57312118b0f6d95fc9fe164363ec7e15f1b51
2023-04-25 17:59:38 +02:00
Marc Bourgoin
176075ea14
Revert "rosemary: Add a script to reorder blobs list"
...
This reverts commit c4000d069a .
Reason: There's already a sort-blobs-list.py in the extract tools repo
https: //github.com/LineageOS/android_tools_extract-utils
Change-Id: I433157f6fc6d7775ed0931fb4079e76918a32348
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
a6f0c8756a
rosemary: Import audio policy changes from MIUI 13
...
Change-Id: Ic6c345bb609f0890885dbbb6dee13d5b1acdfbd6
2023-04-25 17:59:38 +02:00
LinkBoi00
6ce8341120
rosemary: lights: Adapt brightness scaling behaviour to match MIUI
...
MIUI's lowest brightness value is '19' and using lower values
can cause the backlight to completely power off inadvertedly
Therefore, let's just account for this behaviour in the light AIDL
by adding '19' instead of '1' to the final brightness value
Signed-off-by: LinkBoi00 <linkdevel@protonmail.com >
Change-Id: I0e31bda9a0cc505f1246209810eae624dfe5d068
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
4afebee430
rosemary: rro_overlays: Update CarrierConfigOverlay from MIUI 13
...
Change-Id: I7e572c1924c388ebb6ad6500e8abd232bbf16d55
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
fdeabcb990
rosemary: rro_overlays: Update WifiOverlay from MIUI 13
...
Change-Id: I8081eca007565aae8cec7c9ac8efb2146f879062
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
6aeb7b251e
rosemary: rro_overlays: Update FrameworkResOverlay from MIUI 13
...
Change-Id: I94b65bf0ffcf16ac95eb1d979c7190221af3b888
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
6b9bfb8b3c
rosemary: sepolicy: Label one more wakeup node
...
Change-Id: Id425ec5c82577ac4942bb03f429b8da0f72fc138
2023-04-25 17:59:38 +02:00
wbs306
2e1b102220
rosemary: sepolicy: Allow system app to get FM Radio related prop
...
Change-Id: Ia03baadd5d96c1f93f9ce2477186c1314d304156
2023-04-25 17:59:38 +02:00
Ash Blake
5ee2fea9de
rosemary: rootdir: Fix /dev/fm ownership
...
* On AOSP, the FMRadio app process runs as system
Change-Id: I1316d78e02f5087f0d561840f68a6aaa0746c658
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
6bba9e5583
rosemary: proprietary-files: Bring libfmjni as a module
...
Change-Id: Ie91f9da068187454db5146cfb800175dc14e52b0
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
880f476d30
rosemary: rootdir: Set correct permissions for FM Radio node
...
Change-Id: I6b2c7991fb4067b73cb4ffbf4d80c2ee75dfe635
2023-04-25 17:59:38 +02:00
Erfan Abdi
b84a270aa6
rosemary: Build FM radio app
...
Change-Id: I653283d1d010b57bdcab0320ee0baf0eca17b408
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
c5109ed16e
rosemary: Build legacy libalsautils from source
...
Change-Id: Iecfcb73ab1e49eafa8b7a26a21139fe60e5ae5b5
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
5b4bf9ffdd
rosemary: Checkout fingerprint from V12.5.16.0.RKLMIXM
...
Change-Id: I03f3686abb2ee64dcf1776ff4f06f5a0ee0ac6a8
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
ffa1f81f4d
rosemary: powerhint: Drop DefaultIndex from UClamp values
...
Change-Id: I992f59e726cf1076c446cbfe67edfa9e2fdcf5da
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
3b4c1eb36d
rosemary: Define AAPT configuration
...
Change-Id: Ic3a241c34c9d6437aebc7007a82487e5e42069b3
2023-04-25 17:59:38 +02:00
LuK1337
3bdd31495c
rosemary: overlay: Configure aux camera for Aperture
...
Change-Id: I543f078dd4dba30e1b22737d5c22d591e3fb34e6
2023-04-25 17:59:38 +02:00
LuK1337
ad1ee9bb3f
rosemary: rro_overlays: Configure side fingerprint sensor properties
...
Change-Id: I75ba312895d18eae8c89db4dbb24a6945bad9860
2023-04-25 17:59:38 +02:00
Bruno Martins
d9f8cf53dd
rosemary: rro_overlays: Set physical power button and fps location
...
This sets config_is_powerbutton_fps, since the device has
fps embedded in the power button. It makes frameworks report that
fingerprint sensor is located on the side of the device, which
can be observed when enrolling a fingerprint for the first time.
Change-Id: Ifa079488db642c8a470e40cb585c08e9c85d7cf4
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
1dc9bc0153
rosemary: rro_overlays: Build SystemUIOverlayRosemary
...
Change-Id: Iba72766d78fe10f608cc8daeb38524a775c20c47
2023-04-25 17:59:38 +02:00
doc HD
ecf26ad068
rosemary: Enable Wifi Display
...
Change-Id: Ie8cd49ee5a36ffb07faac85790e7b0782f2de123
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
cdd330259d
rosemary: rro-overlays: Declare doze component
...
* Also clean up threshold overlays a bit
Change-Id: I812e63c75f34e8c42c621ea3fad72b6f7b94ac1f
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
9964fa7b4a
rosemary: proprietary-files: Pin patched libmtkcam_featurepolicy
...
Change-Id: I9793aa32092601f02f44ec7167ee29a1b16c2efa
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
e56b20839b
rosemary: libinit: Drop Global_PA condition for secret
...
* secret_in feeling bad without that
Change-Id: Ib2b01100b4e40dbaa681161f34ccee3456f5c273
2023-04-25 17:59:38 +02:00
Matsvei Niaverau
9a67b9de6b
rosemary: configs: Import rosemary powerhint
...
* Imported from mt6768-common tree & adapted for rosemary
Change-Id: I0d5a58bebdb85cc6c2645084b7472f50dc20f8e7
2023-04-25 17:59:38 +02:00
bengris32
8eaaab0cd8
rosemary: Allow libperfmgr to write to touchpanel nodes
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
2023-04-25 17:59:38 +02:00
bengris32
607903e888
rosemary: Label mali nodes under sysfs
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
2023-04-25 17:59:38 +02:00
Jesse Chan
f41efd8883
rosemary: initialize powerHAL when boot is completed
2023-04-25 17:59:38 +02:00
bengris32
1146b17663
rosemary: Allow libperfmgr to access fpsgo nodes
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
2023-04-25 17:59:38 +02:00
bengris32
0144797a61
rosemary: Address libperfmgr denials
...
Signed-off-by: bengris32 <bengris32@protonmail.ch >
2023-04-25 17:59:38 +02:00