Commit Graph

4533 Commits

Author SHA1 Message Date
SkyMinus
821a9ddc31 Initial MinusOS Balsam
Signed-off-by: SkyMinus <minus_rav@qq.com>
2025-07-01 21:20:43 +08:00
Michael W
230d1dca1c repopick: Paginate queries properly
Currently there is a limit of 500 changes per page, giving us only
those when repopicking a query. By observing the "_more_changes" field
in the response and adding the "start" parameter to the query we can
do pagination and return all changes

Test: repopick -p -Q "branch:lineage-23.0"
Result before: 500 changes
Result after: 1094 changes (correct count as of time of commit)

Change-Id: I00304bc2c87b75cef89a26838da3dd1b1f0e65db
2025-06-27 15:07:55 +00:00
Michael Bestas
06f80d3399 vars: Add tegu
Change-Id: I0275c155ff87c2d4d77edf1dc6861babc05ff669
2025-06-27 08:26:12 +01:00
Michael Bestas
f1746c2d1f vars: Track aml tag for pixels
Change-Id: I8db09ce86dff6ba8a1d897523932b1b9cef5f79b
2025-06-27 08:26:12 +01:00
Chirayu Desai
c042dba17a vars: Baklava
Change-Id: Ie8dd43ada53fd296b51b4e9ca640e321dcd5a283
2025-06-27 08:26:12 +01:00
Bruno Martins
aa45b67bf7 config: Remove touch HIDL from FCM
Change-Id: I9510fc0a1aa9c6f9b89e86dd9a6598d332b34e82
2025-06-27 08:26:12 +01:00
Michael Bestas
085fdefe6d config: RIP Trebuchet
Change-Id: If195faead912e8e2aa943d16d7495508167fcac2
2025-06-27 08:26:12 +01:00
Michael Bestas
5daa4f3f23 release: Set RELEASE_GOOGLE_TEGU_16K_DEVELOPER_OPTION
From BP2A.250605.031.A2

Change-Id: I8535aeb6dba5893ba06e6f73cb555be69ca3b34c
2025-06-27 08:26:12 +01:00
Michael Bestas
0c0598b6cc release: Set RELEASE_SVN_TEGU
From BP2A.250605.031.A2

Change-Id: If86a59f1469a927cc748816a2c70c9c6c79c2bc5
2025-06-27 08:26:12 +01:00
basamaryan
8bc0272298 lineage: Bump aconfig flags extension to BP2A
Change-Id: I7ee78cbc5ea3b48b85631bd275f9af6aca7940db
2025-06-27 08:26:12 +01:00
basamaryan
db0e0203b1 LineageOS 23.0
Change-Id: Ib993e7d13e3e51e354a6e59fe6b2088b5e5af0de
2025-06-27 08:26:12 +01:00
micky387
a8b479083d envsetup.sh: Export LLVM_AOSP_PREBUILTS_VERSION with the current clang version from soong
Needed for KERNEL_CLANG_VERSION if TARGET_KERNEL_CLANG_VERSION hasn't been set by the device config

It's boring to change it on each Google change ...

Change-Id: I1d682611cbf6c60d7ae6227b0b5afde591adf471
2025-06-26 22:04:16 +01:00
Alexander Koskovich
40161df056 merge_dtbs: Add qcom,oem-id to EXTRA_KEYS
This is used by Nothing to differentiate between the base & pro models
on the Phone (3a).

Change-Id: I56f7e58f134571ea35a6dafef54e2b30ba20b5f0
2025-06-14 18:24:24 +00:00
Cosmin Tanislav
49cbf625f2 merge_dtbs: ignore not matching DTBOs when finding symbols for a fixup
Change-Id: I1705341d9ec68b46ac6f6c1007c6ea28f9c4e95d
2025-06-11 05:53:44 +00:00
Yumi Yukimura
101451f332 lineage: products: Add Cuttlefish products
How-to:
1. Build and install cuttlefish packages by following [1]
2. Build LineageOS image and hosttar
    ```
    source build/envsetup.sh
    breakfast cf_phone_x86_64
    m hosttar updatepackage
    ```
3. Extract LineageOS image and hosttar
    ```
    mkdir lineage-cvd
    cd lineage-cvd
    unzip <LineageOS tree>/out/target/product/vsoc_x86_64/lineage_cf_phone_x86_64-img.zip
    tar xzvf <LineageOS tree>/out/host/linux-x86/cvd-host_package.tar.gz
    ```
4. Run it
    ```
    HOME=$PWD ./bin/launch_cvd
    ```
5. Open https://127.0.0.1:8443 in browser, and enjoy

[1]: https://github.com/google/android-cuttlefish?tab=readme-ov-file#debian-packages

Change-Id: I7d69db7be99d250f02d7e76fd398ebf5c2ca7c5f
2025-06-10 01:47:16 +08:00
Yumi Yukimura
6b8100b68f init.lineage-system_ext.rc: Rename bugreport service
* Cuttlefish has defined one with the same name.

[ 99% 157176/157198] build out/target/product/vsoc_x86_64/host_init_verifier_outp
FAILED: out/target/product/vsoc_x86_64/host_init_verifier_output.txt
/bin/bash -c "out/host/linux-x86/bin/host_init_verifier                 -p out/target/product/vsoc_x86_64/obj/ETC/passwd_system_intermediates/passwd_system        -p out/target/product/vsoc_x86_64/obj/ETC/passwd_system_ext_intermediates/passwd_system_ext                -p out/target/product/vsoc_x86_64/obj/ETC/passwd_vendor_intermediates/passwd_vendor               -p out/target/product/vsoc_x86_64/obj/ETC/passwd_odm_intermediates/passwd_odm             -p out/target/product/vsoc_x86_64/obj/ETC/passwd_product_intermediates/passwd_product             --property-contexts=out/target/product/vsoc_x86_64/obj/ETC/plat_property_contexts_intermediates/plat_property_contexts              --property-contexts=out/target/product/vsoc_x86_64/obj/ETC/system_ext_property_contexts_intermediates/system_ext_property_contexts --property-contexts=out/target/product/vsoc_x86_64/obj/ETC/product_property_contexts_intermediates/product_property_contexts               --property-contexts=out/target/product/vsoc_x86_64/obj/ETC/vendor_property_contexts_intermediates/vendor_property_contexts          --property-contexts=out/target/product/vsoc_x86_64/obj/ETC/odm_property_contexts_intermediates/odm_property_contexts              --out_system out/target/product/vsoc_x86_64/system                --out_system_ext out/target/product/vsoc_x86_64/system_ext                --out_vendor out/target/product/vsoc_x86_64/vendor                --out_odm out/target/product/vsoc_x86_64/odm     --out_product out/target/product/vsoc_x86_64/product             > out/target/product/vsoc_x86_64/host_init_verifier_output.txt"
host_init_verifier: out/target/product/vsoc_x86_64/vendor/etc/init/init.cutf_cvm.rc: 108: ignored duplicate definition of service 'bugreport'
host_init_verifier: Failed to parse init scripts with 1 error(s).

Change-Id: I0af60a1c19035d336a88a543089fd01400736dd5
2025-06-10 01:47:16 +08:00
Cosmin Tanislav
0ea2a44fbc merge_dtbs: Sort DTBOs based on needed symbols
Some DTBOs might use symbols from other DTBOs and require them to be
applied before them.

Sort them based on the __symbols__ and __fixups__ nodes, by creating a
dependency graph.

Change-Id: I40acf5da6b673b636a91f75ae3f3c634f2b5c505
2025-06-08 18:34:54 +03:00
Nikita Savchenko
722d1ce1be kernel: Report all modules not found at once
Change-Id: Ic46f72989b2dd5de574cc33b7e9f7499323d9bb0
2025-06-07 17:12:21 +00:00
Luca Stefani
f4a6ff209c Add AIDL touch HAL
Change-Id: I9b54a662bf09ff1bfe26ac1d0585595b3d21f2b0
2025-06-06 20:56:19 +00:00
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