Commit Graph

4502 Commits

Author SHA1 Message Date
Bruno Martins
113344049b config: Deprecate TARGET_POWER_LIBPERFMGR_MODE_EXTENSION_LIB
All users have migrated to soong_config_set.

Change-Id: I55e7907253c85f6c0615ceb67be4638ad177b6b0
2025-05-07 20:19:27 +03:00
Michael Bestas
e722226e88 config: Deprecate TARGET_TRUST_USB_CONTROL_* flags
No shipping device uses them.

Change-Id: I5fb71c9231ed82fa9e63fa74078ba0bebfd476c4
2025-05-07 20:17:54 +03:00
Michael Bestas
c9cf7884ba config: Move additional gralloc 10 usage bits to select()
Change-Id: If1542af472e74cd953d9ca093dd225dbba028aea
2025-04-30 01:08:39 +01:00
Michael Bestas
93ebcc2fa2 config: Move camera override format from reserved to select()
Change-Id: Ic8453eb9ef5fcd5b9bbfe22a8bb8100be2644e2d
2025-04-30 01:08:39 +01:00
Michael Bestas
2d041eca9e config: Move bootloader message offset to select()
Change-Id: Ic97af638005c299963d0aaa39e04227dcbca8751
2025-04-30 01:08:39 +01:00
Michael Bestas
2bd35f62c1 config: Move USB restrictions to select()
Change-Id: I0dd6ccca2493ac50019d7d077c25302d62ea4ab3
2025-04-30 01:07:53 +01:00
Michael Bestas
712c75560f config: Move vendor_init lib to select()
Change-Id: Iccda5ad6d1c37a63ff7959bd3887e120ad403d5c
2025-04-30 00:12:46 +01:00
Michael Bestas
f12b53506a config: Move libperfmgr mode extension lib to select()
Change-Id: I81ff7c05e9918a6f52f8b1bb7bcf179d3a76d078
2025-04-30 00:11:48 +01:00
Bharath
4fcadea7d9 Add software credentials permission support
This is now required for all handheld devices to make use of the
new software credentials feature

Bug: 344511668
Test: run cts -m CtsCredentialManagerTestCases -t android.credentials.cts.CtsCredentialManagerDeviceTest
Change-Id: I7e0211ca5c7f817789d9b33a6a0a1a25054530b4
2025-04-28 21:05:24 +00:00
LuK1337
12a663964e overlay: Create NCM USB tethering overlay package
Change-Id: I19f921e8fa0fb1e161d5b5980dc165684ed5ead2
2025-04-27 20:42:04 +00:00
Michael Bestas
92164a2390 config: Move Lineage PowerShare HAL to select()
Change-Id: If687bda38370e8dc664cef26fbb907202444d049
2025-04-26 11:58:21 +01:00
Michael Bestas
1c1551858c config: Move Lineage Health HAL to select()
Change-Id: Ie7f29e75d812fff0faf27f9c82ca432a78c199fb
2025-04-26 11:58:21 +01:00
Michael Bestas
20a2227caf config: Move surfaceflinger UDFPS lib to select()
Change-Id: Iecf818e3f45811760a2e51156014e4ef6ec6afa7
2025-04-26 11:58:21 +01:00
Michael Bestas
695e44e1ba soong: Move QTI gralloc configs to select()
Change-Id: Icb28d5c2aa5d51860799b87b7b9b04c48014f7f4
2025-04-26 10:18:05 +00:00
Michael Bestas
d690c9eb9f build: Remove reference to deprecated VR HAL
Change-Id: Ia2319ca64e85a64d4c8b0ab4972c78e97cebc76b
2025-04-24 20:25:01 +03:00
Nolen Johnson
2130319a7f Revert "kernel: Add support for external kernel configs"
This reverts commit 1b1687b456.

Reason: Breaks variant defconfigs.
Change-Id: Ie81301eb5a3376ab969430eed54a432d7d300408
2025-04-22 15:20:41 -04:00
Arian
eef4080d27 android: merge_dtbs: Respect oem specific extra ids
Some OEMs add their own properties to avoid merging incompatible
overlays for different devices with the same QCOM soc.

Change-Id: Ic5b38a122173d8e9ecc1f0f399411cb37acf3150
2025-04-18 16:08:24 +08:00
Yumi Yukimura
1b1687b456 kernel: Add support for external kernel configs
For targets that uses mainline kernel, the kernel tree usually only
contains configs on top of the upstream repository.

In such case, if we put the configs in elsewhere, we can simply just
track the upstream kernel repo, without needing to import configs.

Example usage:

TARGET_KERNEL_CONFIG_EXT := \
    $(COMMON_PATH)/kconfig/platform_defconfig \
    $(COMMON_PATH)/kconfig/common-addons.config

TARGET_KERNEL_CONFIG_EXT += \
    $(DEVICE_PATH)/kconfig/device.config

Change-Id: I021ffb76d0c0612343cff7b5c81541c2b88ef7e6
2025-04-15 01:27:38 +00:00
Yumi Yukimura
f171568f8b kernel: Add support to append DTBs to kernel image
* Many Qualcomm targets that uses boot header v0 or v1
  have the DTBs appended to the end of kernel image.

* In downstream msm kernels up to msm-4.19, Appending DTBs
  is handled in the kernel tree. However, on msm-5.4 and
  newer msm kernels, and on mainline kernel, This is not
  supported.

* Normally, DTB processing depends on how the bootloader
  loads it and should not be handled in the kernel tree,
  so we handle it here.

* Instead of appending all DTBs by default, Get the list of
  DTBs that needs to be included from a variable, so that
  we don't need to modify dts Makefile to exclude unwanted
  DTBs, and we could also ensure the DTBs are appended in
  a specific order.

Change-Id: I603d1ebac5ee808bad045b85f9868d572d52cb80
2025-04-15 01:27:38 +00:00
Michael Bestas
a699cdecbf release: Sync flag_values with BP1A.250405.007
Also same as BP1A.250405.007.B1

Change-Id: Ib626c8ef80589ac3526bd5df81b6aa524f26f2aa
2025-04-11 04:48:02 +03:00
Chirayu Desai
bbf3a3c744 vars: April 2025 Security update
Change-Id: I6ab04acb0437fbb09f6e903e1a2057c49b253eb7
2025-04-11 04:41:17 +03:00
Sebastiano Barezzi
8776027373 init: Update bugreport service definition
```
host_init_verifier: vendor/lineage/prebuilt/common/etc/init/init.lineage-system_ext.rc: 6: No user specified for service 'bugreport', so it would have been root.
host_init_verifier: Failed to parse init scripts with 1 error(s).
```

Change-Id: I0bd03cb673096f1e686ede59c7db70ab1e581ec1
2025-04-07 18:08:30 +02:00
Aaron Kling
16075eab65 kernel: Use correct recovery modules.load variable
Originally, BOARD_RECOVERY_RAMDISK_KERNEL_MODULES_LOAD was used, but
BOARD_RECOVERY_KERNEL_MODULES_LOAD is what build/make uses. Use the
proper variable by default and if it's not set, use the old variable.

Change-Id: I3522e4782ae56f67e49b234236fbb86c8ec65b92
2025-04-06 19:07:29 +00:00
Cosmin Tanislav
ae2f5b65e8 kernel: use DTBS_OUT variable
DTBS_OUT is set to $(DTB_OUT)/out, use it.

Change-Id: Id6ec8b1f32e4b54cd9c463c3af7146711a800d81
2025-04-05 19:47:13 +00:00
Michael Bestas
d0143f4b1f vars: Update qcom tags
Change-Id: Idd6972ef21465c04ddf09d0d071065c3242c0234
2025-04-05 10:26:15 +00:00
Michael Bestas
67492332e1 soong: move EGL display array config to select
Change-Id: Ia03dd6b49637ed3b7432df26824fcbf01d92106b
2025-04-03 20:48:03 +00:00
Michael Bestas
45b504a7e2 soong: move nvidia enhancements config to select
Original flag is still used by device specific makefile guards.

Change-Id: I528ee2a2a25680994561e4c3fc377f7b57106a89
2025-04-02 17:53:58 -05:00
Michael Bestas
c3c770de44 soong: move QTI surfaceflinger config to select
Change-Id: If98ed6feb18a5dea66857e507c5e4a369baa5a8b
2025-04-01 15:13:43 +00:00
Michael Bestas
2ef0da69c1 soong: drop librmnetctl config
Flag hasn't been ported since lineage-19.1.

Change-Id: I2078d19cc80e4b64b86e2aab0bd68d7ee0f14224
2025-04-01 13:46:57 +00:00
Michael Bestas
6df271a022 soong: move extended compress format config to select
Change-Id: Id56bad89607cd2961a571c148ec40e9334f0a6ce
2025-04-01 13:46:53 +00:00
Cosmin Tanislav
e19f41f91d soong: move vibrator effect stream config to select
Change-Id: I341733b822e7de2dd109eaa16910ad3357a1dfc6
2025-03-31 12:11:23 +00:00
Michael Bestas
1477c8d32b config: Add vendor.lineage.health V2
Change-Id: I9594a990dc1db051174271fe4675468e0408cd1f
2025-03-31 11:58:10 +00:00
Oliver Scott
8fbefea585 soong: Implement charge limit mode
Change-Id: Ic14335339528ae11ac25ae1d09bb705708c29008
2025-03-31 11:58:10 +00:00
LuK1337
eed8eb046f backuptool: Export TMPDIR to /tmp for non-AB
It attempts to use /data/local/tmp instead, which results in the
following error message:

[  154.293873] /tmp/addon.d/50-lineage.sh[43]: can't create temporary file : No such file or directory

Change-Id: I34be32ef41c92a6b543c75e4beaa3f326615e888
2025-03-30 10:37:20 +02:00
Yumi Yukimura
d0f628d166 apns: Add APNs for China Telecom Global GD & HK & MO prepaid SIM card
* Taken from [1]. (Actually, I've only used [2] so far and I can't
  test [1] until I arrive at Hong Kong again)
* These APNs are used only when in Hong Kong, not in Guangdong.
  I'm unsure about Macau yet.

[1]: https://dumps.tadiphone.dev/dumps/xiaomi/dada/-/blob/missi-user-15-AQ3A.240812.002-OS2.0.101.0.VOCCNXM-release-keys/product/etc/apns-conf.xml#L38564
[2]: https://dumps.tadiphone.dev/dumps/redmi/ruby/-/blob/missi_phone_global-user-13-TP1A.220624.014-V14.0.6.0.TMOMIXM-release-keys/product/etc/apns-conf.xml#L38008

Change-Id: Ib557e172c24105692b3c72372dba0a8b8e112273
2025-03-28 08:07:25 +00:00
Michael Bestas
f69b5f145f vars: Pixel Tablet update
Change-Id: Ie54ba2d90c9da7afa38aa2e9e33ed55bffbebf40
2025-03-27 23:08:46 +02:00
Michael Bestas
1e288aebbc vars: Pixel 9 update
Change-Id: Ib4b410fe691dcef2f4138b67e2b46413e7cb6ed6
2025-03-27 23:03:12 +02:00
Michael Bestas
0afbb4efcc config: Drop deprecated vendor.lineage.camera.motor
Change-Id: I32c26f7d92d395619dffbaaa1e180403d61e82b8
2025-03-21 21:37:24 +00:00
Michael Bestas
8fffe25133 kernel: Update default clang version to clang-r536225
Change-Id: I3235780e4f657075f46048205f8450972f1fc1f8
2025-03-21 21:37:24 +00:00
Luca Stefani
9a289964f7 Add version to AIDL health HAL
Change-Id: I00ef74be25eff3cfa35ccc9c4a0c7df13fa10a6b
2025-03-21 20:36:19 +00:00
Yumi Yukimura
1241611c87 kernel: Use libc sysroot from host for 6.11+
Linux kernel 6.11 has removed support for old libc versions by commit
[1]. The commit message implies it's done as part of retiring
RHEL/CentOS 7, CentOS 7 includes glibc 2.17, All glibc available from
AOSP are NOT newer than that version.

Before there's a better solution, use libc sysroot from host.

[1]: 3914cdde89

Change-Id: I9210a9b4742304214d90f7d319b06167f0508052
2025-03-18 19:15:22 +00:00
Yumi Yukimura
3aed30191a aconfig: Enable minimize button and running apps for desktop windowing mode
Change-Id: I6fe10553e389eee0af61cf0ac63ed51683c72bc8
2025-03-18 19:15:22 +00:00
Michael Bestas
325be686e4 vars: Add wahoo links
Change-Id: Ie3f4fb6e3663d52c4b209344257b704deec96f26
2025-03-17 15:08:08 +02:00
Michael Bestas
c56ad6217f config: Remove no longer used NavigationBarNoHint
Change-Id: Ied6e24be648012e4628a02d991ecf6c3fc8be2c8
2025-03-15 17:07:00 +02:00
Michael Bestas
afcada7da0 release: Enable screen_off_unlock_udfps
Change-Id: I88f229f68c99d239532347610fd181495eed36e3
2025-03-15 12:30:23 +02:00
LuK1337
309a7abb5e soong: generator: Update for BP1A
Change-Id: Icd8b04d2297a12a1dbbee1713e495949b7b2379a
2025-03-15 12:30:23 +02:00
Michael Bestas
0f92eeeb57 Revert "Add androidx.compose.compiler_compiler-hosted-plugin define"
This reverts commit 0cb50ea093.

Reason for revert: Added in AOSP.

Change-Id: Ifdd857dd26fa776c04e64f589bf9bae55963c004
2025-03-15 12:30:23 +02:00
Michael Bestas
1f8f1ad685 release: Bump aconfig flags extension to BP1A
Change-Id: I22f8426820c9a72ea05a2b89460484952b93043f
2025-03-15 12:30:23 +02:00
Chirayu Desai
f7ffc61280 vars: March 2025 Security update and Quarterly Platform Release
Change-Id: I98c4247d01f963aca87de9c962dc50fd09a0387a
2025-03-10 01:33:34 +02:00
Michael Bestas
6621507a51 LineageOS 22.2
Change-Id: I210056bd0d111b81901437ad2f90ec0826c8960d
2025-03-10 01:33:31 +02:00