Commit Graph

4538 Commits

Author SHA1 Message Date
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
Yumi Yukimura
fac22bf279 tablet: Enable desktop windowing mode
* This replaces the old freeform window management

Change-Id: I8711af4d90662252a37bc717590d35651460ad25
2025-02-28 06:59:13 +08:00
Yumi Yukimura
b9ada12531 overlay: tablet: Enable communal service
* Enables support for lock screen widgets

Change-Id: I452ad7921194987f8ad89f81d2635155888082c5
2025-02-28 06:58:56 +08:00
Yumi Yukimura
bc2cd6db1b config: tablet: Include tablet-specific overlay
Change-Id: I8235aad467d643b06d0ad1dd2c7c0de24bdf4679
2025-02-28 06:58:55 +08:00
LuK1337
4d616dc2bb config: Install FRP wipe script into recovery /system/bin
Change-Id: I24e217e6af87f2002193ac7b6defb158cce0a776
2025-02-22 18:07:38 +01:00
Flicker372
3d683b1cdc apns: Update for ChinaTelecom Macau (CTMO)
- Set the APN name to '中國電信' instead of '澳門電信', as the latter is ambiguous and can be easily confused with '澳門電訊 (CTM)'.

Ref:
[1]https://www.1888.com.mo/question/detail?infoId=13
[2]https://android.googlesource.com/device/sample/+/main/etc/apns-full-conf.xml

Change-Id: I203e03e829a1fd9a2041c051124f81d08ccf01c4
2025-02-18 17:11:35 +08:00
LuK1337
4ae5dc80b5 overlay: Set PermissionController help URLs
Change-Id: Ib21950062261e8f280c16544341c35f2055c554a
2025-02-11 21:13:34 +01:00
Michael Bestas
4119bc6a48 config: Long live ro.modversion
Change-Id: I4acb0253ee8304c6ab2c3719e1d802e7f5fb6dbf
2025-02-11 17:47:12 +00:00
Timi
2053e603b3 TV: Ship Catapult
Change-Id: I7c27de6565d203c8ad3d5a0b4e9e1680f0c8cd70
2025-02-10 09:38:29 +00:00
Chirayu Desai
8cafe3188f vars: February 2025 Security update
Change-Id: I84d09d6c9b8a9337ca3e1287159ce054f241b8da
2025-02-08 20:21:35 +00:00
borbelyvince
81d6c3cc92 Revert "config: Changes for libfmjni bp conversion"
This reverts commit d6777fa812.
Reason for revert: The soong namespaces can be removed after reworking
libfmjni to use select() with filegroups and header libs for qcom/slsi.
Broadcom is not used in any recent shipping device and mtk can continue
using prebuilt for now.

Change-Id: I078b321c7c55c3d7e5cd97e2664208c3d44f513a
2025-02-07 23:01:18 +00:00
razorloves
03f912f8cd apns: Update Lebara UK
- Fixes being stuck in 2G.
- Removed old duplicates.
- Pulled from stock pixel 8.

Change-Id: Ia83dac8ff8722eb120cd649b3c18ce476d0a583c
2025-02-06 22:56:09 -06:00
Michael Bestas
728e6e0d6f vars: Update qcom tags
Change-Id: I30547736e8cc23baa0d5a1310b4c1c544152a205
2025-02-07 02:11:19 +00:00
dianlujitao
f5b67a8a82 kernel: sign GKI modules
Only signed GKI modules are permitted to export symbols listed in the
android/abi_gki_protected_exports file. Attempting to export these
symbols from an unsigned module will result in the module failing to
load, with a 'Permission denied' error message.

Change-Id: Ie15b00a6c288eda21b319eb0f735cf4f9e6e7933
2025-02-02 22:07:16 +08:00
dianlujitao
0c5ab30c05 kernel: preserve GKI modules in vendor modules.dep
modprobe won't lookup system_dlkm modules.dep when GKI modules are
required by vendor modules, so they'll fail to load.

Fixes: 259906daef ("kernel: consider gki modules when running depmod for vendor modules")
Change-Id: Ia5a77df91d84c78f76a03910178cc86db48724c8
2025-02-02 22:07:16 +08:00