Aaron Kling
67bbe4a32d
kernel: Stop warnings for prebuilt kernel platform
...
If both prebuilt kernel and prebuilt kernel headers are provided, assume
that they match.
Change-Id: I8818659bd4642aa20260ff638d4a0c3f2b56a463
2025-05-31 19:24:17 +00:00
Aaron Kling
cae9b362a9
soong: Support prebuilt_kernel_headers
...
This depends on a kernel headers tarball path being passed in
TARGET_PREBUILT_KERNEL_HEADERS, in the style that the kleaf kernel
platform build generates.
Change-Id: Ib82659fa44ef221e73d0d129daafbaae6bad87a2
2025-05-31 19:24:17 +00:00
Michael Bestas
dde831fce2
vars: Update qcom tags
...
Change-Id: I27906db0ebd6f5a20f62fdca6f78a8b4e1d757cf
2025-05-28 15:02:52 +00:00
LuK1337
0782bdf838
config: BoardConfigReservedSize: Disable via WITHOUT_RESERVED_SIZE=true
...
Test: WITHOUT_RESERVED_SIZE=true \
get_build_var BOARD_SYSTEMIMAGE_EXTFS_INODE_COUNT
Test: WITH_GMS=true \
get_build_var BOARD_SYSTEMIMAGE_EXTFS_INODE_COUNT
Test: WITHOUT_RESERVED_SIZE=true WITH_GMS=true \
get_build_var BOARD_SYSTEMIMAGE_EXTFS_INODE_COUNT
Test: get_build_var BOARD_SYSTEMIMAGE_EXTFS_INODE_COUNT
Change-Id: I54dfce46c57c4265954ecbdee3ed9b9f2fc18efe
2025-05-27 21:27:15 +02:00
Michael Bestas
e1e121bea4
Revert "Add product_launched_with_j{,_mr1,mr2}.mk"
...
This reverts commit c756f6051f
.
Reason for revert: Dead.
Change-Id: Ia4f1e45d18459004625c38754440c018333a3452
2025-05-27 18:19:07 +03:00
Michael Bestas
82511810dd
config: Mark remaining BoardConfig flags as deprecated
...
There are still lots of users for those and maintainers haven't been
very responsive, so make it a build warning and remove them in 23.0.
Change-Id: Ibf59f45921f622b8eca6df6d57e9e3557847af51
2025-05-11 16:41:03 +00:00
Michael Bestas
03a709673f
config: Deprecate BOOTLOADER_MESSAGE_OFFSET
...
All users have migrated to soong_config_set.
Change-Id: I0b621c9a92d79a54ab45ca9d7a54e843ce3d39d4
2025-05-11 16:37:40 +00:00
LuK1337
c2dd68f84a
config: Use add_soong_config_namespace/add_soong_config_var macros
...
Test: m nothing and compare out/soong/soong.lineage_*.variables
Change-Id: I802f4f7eb37d520fd74599e2b673a5b2368c5d09
2025-05-11 11:20:01 +00:00
Bruno Martins
df60b80a44
config: Deprecate TARGET_POWERSHARE_* flags
...
Change-Id: I8fc2be89d4bcb2ea7c253376ba656321eccda41b
2025-05-11 09:21:16 +01:00
sidharthify
5b6439083a
config: Migrate PowerShare to AIDL
...
Change-Id: Ie2ad2cc36bb6153f19ef799d52ef295274bd6429
Signed-off-by: sidharthify <wednisegit@gmail.com >
2025-05-10 11:48:03 +00:00
Michael Bestas
fc8519eb63
release: Sync flag_values with BP1A.250505.005
...
Also same as BP1A.250505.005.B1
Change-Id: I999c16c0339812bb0e58b2e67ad420399f019f01
2025-05-08 19:30:37 +00:00
Chirayu Desai
9e87c4de1b
vars: May 2025 Security update
...
Change-Id: I270a53f7fce11ae365c84e9a36fdd6a824e8d588
2025-05-08 19:30:37 +00:00
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