Commit graph

937 commits

Author SHA1 Message Date
basamaryan
55045b7e42 dre: Don't explicitly include updatable_apex.mk
It is inherited by base_system.mk as of QPR2

Change-Id: I020a05b233f61ea28d03199cbc76051e6e97e1dc
2024-08-19 17:12:23 -05:00
Bruno Martins
3a3034953e dre: Unset BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qualcomm targets can now build hermetic partitions.

Change-Id: I241105e01d85fea983b34846ca675666ac07541b
2024-07-16 00:53:25 -05:00
Nolen Johnson
9fd9918f3d dre: overlay-lineage: Drop default HardwareKeys overlay
Change-Id: I0b11c55b159f8b04b2cae526ffb1b144cbaaa897
2024-07-12 10:54:03 -05:00
Bruno Martins
2c57242638 dre: Declare EGL libs as symlinks during extraction
Change-Id: I4b2f3e79b5e518889d9771bf8990e27babca8b61
2024-07-12 10:54:03 -05:00
Bruno Martins
3ee0c84ab0 dre: Mark CNE symlink target as required package
Change-Id: I0bfe65ba61b6aa9916fe6459be2a84d772939a2f
2024-07-12 10:54:03 -05:00
Bruno Martins
bb9e49c038 dre: Declare IMS libs as symlinks during extraction
Change-Id: Ia1b8097d28dd4888232fe383b830515b1b9bafaa
2024-07-12 10:54:03 -05:00
Bruno Martins
871f99d6c7 dre: Convert WiFi firmware symlinks to install_symlink targets
The last bit that was preventing building hermetic images.

Change-Id: I75bb7de4593a7992f6015317cf97e088beeba0cb
2024-07-12 10:53:51 -05:00
Bruno Martins
7620c53bcf dre: Move to new RFS install_symlink targets
Change-Id: I9560fd0da00958d9349a0881b5a5f64a2c02e495
2024-07-11 11:21:34 -05:00
Michael Bestas
e9f6f8d910 dre: Drop COMMON_LUNCH_CHOICES
As of 14 QPR2 this is broken, let's remove it instead of updating it
every 3 months. breakfast is the way to go.

Change-Id: I097bd54b894d9a49c7ce8b1ab6f343349e268fd8
2024-07-11 11:17:39 -05:00
Albert Tang
b84af64fcc dre: Update from OOS 11.C.32
Change-Id: I0f0e48bc8fa29ac439515126e0f7d7652ec71983
2024-06-21 12:00:16 -05:00
Michael Bestas
5f2f434c6f dre: overlay: Enable battery cycle count
Change-Id: I92bc8363e1c9e2ad54c29a0a30dce992e25f697d
2024-06-21 11:59:54 -05:00
Michael Bestas
0b9a253868 dre: Build missing libraries for 14 QPR3
Change-Id: I6a84526ca1e9f4e5140c8068646433cab3fe85b2
2024-06-21 11:59:43 -05:00
Chirayu Desai
4c5783bf01 dre: Disable UFFD GC
Unable to determine UFFD GC flag for kernel version "5.4.268-qgki".
You can fix this by explicitly setting PRODUCT_ENABLE_UFFD_GC to "true" or
"false" based on the kernel version.
1. Set PRODUCT_ENABLE_UFFD_GC to "true" if the kernel supports userfaultfd(2)
   and MREMAP_DONTUNMAP.
2. Set PRODUCT_ENABLE_UFFD_GC to "false" otherwise.

Change-Id: Ie77d9a86a7fe94e4cade1868ffea27194f724e03
2024-06-21 11:59:43 -05:00
Chirayu Desai
bb1d8db952 dre: Don't set BOARD_API_LEVEL
build/make/core/board_config.mk:1001: error: BOARD_API_LEVEL must not
set manully. The build system automatically sets this value..

Change-Id: If59ae9dea6cb13701d7217a1c0a355d4e07113eb
2024-06-21 11:59:43 -05:00
Albert Tang
a998c0b181 dre: Update from OOS 11.C.31
No security patch update this time.

Change-Id: I0eba8582f5fda0c4e28bebd643e3579471ac812c
2024-05-22 10:28:46 -05:00
Albert Tang
77cc831c25 dre: Update from OOS 11.C.30
Change-Id: I3ea70c166bd78801a04a59ad453f14c6ddb45475
2024-05-09 19:46:41 -05:00
Jake Weinstein
57906249ee dre: Do not balance msm_drm and kgsl_3d0 IRQs
These are critical for display performance and should not be balanced
in order to improve latency and responsiveness.

And also affine them.

Change-Id: If49ecb8757d133a7fad0d7946837b35403e57c2a
2024-04-30 11:27:50 -05:00
Bruno Martins
adef2d52a3 dre: Use the common device compatibility matrix from QCOM
Change-Id: I0c0f3ecddbe6d7b232cc0d13c78ca58094e4e720
2024-04-30 11:20:01 -05:00
Alessio Balsini
2558113d92 dre: Use FUSE passthrough by default
Enable the persist.sys.fuse.passthrough.enable flag for the device
configuration to enable the FUSE passthrough feature.
This feature has been enabled on Cuttlefish, Wembley and Redbull devices for
months and no issues have been detected yet.

Bug: 168023149
Test: 'adb shell getprop | grep persist.sys.fuse.passthrough.enable',
    ScopedStorageTest
Signed-off-by: Alessio Balsini <balsini@google.com>
Change-Id: I3f39b02af436f7e508bb70efc702565a667a051c
2024-04-30 11:18:45 -05:00
Cole Faust
509171b097 dre: Add BUILD_BROKEN_INCORRECT_PARTITION_IMAGES
Qcom has issues that prevent it from working with a hermetic
partition build.

Bug: 205632228
Test: Presubmits
Change-Id: I490a29da38a6f68e7dd3650d8140cb11adaa8c7a
2024-04-17 10:31:27 -05:00
Albert Tang
f8c1356f3b dre: Import missing Perf LM libraries
Change-Id: If159e211e93016b5fb79dba9cb9109ebe13e8e0a
2024-03-17 11:27:44 -05:00
Albert Tang
7de03cce19 dre: Update from OOS 11.C.29
Change-Id: I3d4dfe3257bc5d39a0b4f381571640ff856a02d3
2024-02-24 21:42:55 -06:00
Albert Tang
cef33f952e dre: Don't store media config files locally
Change-Id: Ieb27d0c570aa2888038b4ac0cc69559ff6c8c8e7
2024-02-06 13:09:56 -06:00
Georg Veichtlbauer
29bd1b8cd2 dre: Inherit generic overlays from OPlus
Change-Id: I7ecb6c9ea6636450076918bef6dce9986342ae3e
2023-12-30 21:13:27 -06:00
Josh Wu
dcb1867a5a dre: Switch BtAudio to AIDL
Test: m
Bug: 203490261
Change-Id: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
Merged-In: I4b8ac40d5ad410b89eb6a0573d740d86471ecfc7
2023-12-30 21:13:27 -06:00
Michael Bestas
b85828b4cf dre: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2023-12-18 10:00:26 -06:00
Suren Baghdasaryan
9865abc0e6 dre: Replace direct pid writes with setting task profiles for audio interfaces
For easy transition from SchedTune to UtilClamp, direct access to these
cgroups should be abstracted by using task profiles. Replace writepid
commands with new task_profiles command.

Bug: 155419956
Test: change .rc file and confirm task profile is applied
Signed-off-by: Suren Baghdasaryan <surenb@google.com>
Change-Id: Ide373c283359cf4b73af4cb0813d8c0306942595
2023-12-18 10:00:26 -06:00
Bruno Martins
330a07a092 dre: overlay: Remove obsolete config_keyboardTapVibePattern
Change-Id: Ic89566183d2cdc4a20ea83f462c56a14184621ae
2023-12-18 10:00:26 -06:00
Rick Yiu
d71c9fb394 dre: Remove some camera-daemon commands
Those commands have moved to init.rc.

Bug: 170507876
Bug: 171740453
Test: build pass
Change-Id: Icfe520e7f7367461607cc8fb5e524d9699e79124
2023-12-18 10:00:26 -06:00
Sebastiano Barezzi
0d96dca686 dre: Keep building health HIDL interface lib in vendor
* GNSS HAL needs it

Change-Id: Id2e1b2844d195d41fc67a0224e0dc39573f7702e
2023-12-18 10:00:26 -06:00
Bruno Martins
fa5ed0b1cf dre: Move to QTI health AIDL service
The health AIDL HAL service provides functionalities of charger,
therefore system charger at /system/bin/charger is deprecated.
On top of that, QTI health AIDL HAL service enables suspend by
default, the equivalent of setting ro.charger.enable_suspend
for legacy charger.

Change-Id: I59c23e7974cea1174b0161f31a535fa3afa1e5c9
2023-12-18 10:00:26 -06:00
Kamal Wadhwa
a9cc222504 Remove charger service restart and modem partition mount calls for HOLI
Holi supports linux based charging and not via ADSP,
hence remove the modem partition mount logic.
This improves the entry time into power-off charging mode.

Change-Id: I69337e773f6078bc0847b7db199fc21e8c975a8a
2023-12-18 10:00:26 -06:00
basamaryan
1e0021ccc9 dre: Build libprotobuf-cpp-full-3.9.1-vendorcompat
For now this is implicitly built by lineage specific
libprotobuf-cpp-lite-3.9.1-vendorcompat lib, but in the future this
might not be the case.

Change-Id: I724e933e046cbf631c078321d55550b96ca998da
2023-12-18 10:00:26 -06:00
Bruno Martins
44a6bcdd3e dre: Migrate to restructured sepolicy_vndr
The new folder structure now looks like this:

  device/qcom/sepolicy_vndr
  ├─ legacy-um (meant for sdm845 until sm8350)
  ├─ sm8450
  └─ sm8550

SEPolicy.mk placed in the root automatically redirects devices to the
proper subfolder.

Change-Id: I4ed1a06af779909d64172da294c4a99a3ae9ba0d
2023-12-18 10:00:26 -06:00
LuK1337
ff6a34afe0 dre: Update libstdc++.vendor target name
Change-Id: I9fb48d50df7b8b74d19bfb05b3d9c2ca169bf3e2
2023-12-18 10:00:26 -06:00
LuK1337
9725e4fb45 dre: Build libprotobuf-cpp-lite-3.9.1-vendorcompat
Change-Id: I0aac742db9c2b4b3e48ee20158f19405863893c2
2023-12-18 10:00:26 -06:00
Gabriel Biren
91c1031176 dre: Update makefile to use the AIDL Wifi Vendor HAL.
Bug: 274964641
Test: Pre-submit tests
Change-Id: I4d9114377fe75b593bbfe6a59f03d8f5d607d6a1
2023-12-18 10:00:26 -06:00
Albert Tang
e336fb6479 dre: Correct wlan kernel module name
Change-Id: Ia8454a97a85b380d3dbb1e8d60b20824f3ffc0c7
2023-12-16 10:25:13 -06:00
Albert Tang
22e113fbe0 dre: Update from OOS 11.C.28
Change-Id: Ic0b13fc5f185e8c86ab508e32522331d733f74c2
2023-12-15 14:56:39 -06:00
Neel Chauhan
6b0f0ee9b0 dre: Remove old Sprint APNs
Sprint's LTE network is now dead: https://www.t-mobile.com/support/coverage/t-mobile-network-evolution

Change-Id: If7b934bec5b2bfc19d4e4e0409666420deadbeef
2023-12-07 11:02:23 -06:00
Albert Tang
a12f90ad4c dre: Update from OOS 11.C.27
Change-Id: I7308917e53234dd4f35bd996962b47642011a332
2023-12-07 16:07:21 +00:00
Albert Tang
110bdcd8a7 dre: Update from OOS 11.C.26
Change-Id: Icfd22b3fa37ca53858b876b401da596bfdae6745
2023-10-25 16:15:53 -05:00
SGCMarkus
f0cfa62f3c dre: Set BOARD_[SHIPPING]_API_LEVEL to 30
IMS needs this, as it won't connect to its own HIDL service when
ro.board.api_level is not set.

Change-Id: I2d8346b02e2b874e7ea76f4f0a36bf5764ea4a74
2023-10-18 09:22:36 -05:00
Albert Tang
c10df7143d dre: Update from OOS 11.C.25
Change-Id: Ica00a6eead0ea823d2a4615b1af926109cccc051
2023-09-03 14:48:59 -05:00
Albert Tang
95308b94a9 dre: Update from OOS 11.C.24
Change-Id: Ie3ac1535d232d925293f68162f25797e04ebb665
2023-06-30 17:10:44 -05:00
Michael Bestas
1e3ebd5caf dre: Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2023-06-02 10:34:13 -05:00
Tim Lin
81395d416b dre: qcril: fix MT SMS sent during power off
qcril will block any further MT SMS if previous one is not ACKed.
For this bug, IMS service is not ready and resulted in qcril stuck in blocking state.
This solution will add 30s timer to reset blocking state if there is no ACK from Telephony.

Bug: 169549852
Test: MT SMS during power off
Change-Id: I6f52170654925143aeb55f8bc0cf4c379717e718
2023-06-02 10:33:54 -05:00
Albert Tang
337b36a0e5 dre: Import c2_manifest_vendor.xml
Hardware accelerated video decoding is not available without this

Change-Id: Ia434f45d03af16669110e8c142df67bcc0f4a051
2023-06-02 10:33:43 -05:00
Albert Tang
8f9be60336 dre: proprietary-files.txt: Drop .lic file
Change-Id: I545ce92a6cad832dff1f5615c0d23b22094384e0
2023-05-30 14:56:11 -05:00
Albert Tang
2b3dc1628c dre: overlay: Correct cpu.clusters.cores
Cluster 0 has six CPU cores, not four

Change-Id: I1a67976f1d7957dbfd5316f2d852f9bcd1e787ca
2023-05-23 18:56:31 -05:00