Commit graph

4324 commits

Author SHA1 Message Date
Luofan Chen
bc8d7739ac Hookup SDMCORE_HAS_IS_DISPLAY_HW_AVAILABLE_FUNC
Change-Id: Icb4b8aebd8042e9f83bacddee1e7949cf373226d
2024-02-16 00:26:40 +00:00
Asher Simonds
390df26654 bootanimation: Refreshed bootanimation for new release
Change-Id: I55408a8af25036d2ff98ebea11351fcf809f339c
2024-02-14 22:37:18 +00:00
DroidFreak32
9fe4bc8a60 lineage: products: Bring back lineage_sdk_phone_arm64 emulator target
Change-Id: I0578608bd78e1a03f90b17de4ee558646ce9ef2f
2024-02-14 22:13:08 +00:00
Michael Bestas
f0d0f194d0 vars: Remove gs201 kernel
Change-Id: Ibc69ef3ac4f79cd8c9932384ec598492a233e58c
2024-02-14 13:00:52 +00:00
LuK1337
2f89bf24a2
roomservice: Remove python2 imports
Change-Id: Id65a4c139f14106632587634c42ef9941b55d0c1
2024-02-14 09:22:34 +01:00
LuK1337
2a9bbcf403
roomservice: Require python3
Change-Id: I08429fbc9380b3a1f04bbcc5116fedf3e2457747
2024-02-14 09:06:18 +01:00
Michael Bestas
f0b1169abd
build: Provide qti_kernel_headers module
Change-Id: Ifbe76bf4e08fe6671886d83dde084381ebeda180
2024-02-13 21:34:29 +02:00
LuK1337
8a7f230bda config: Build Glimpse
Change-Id: Id44fd41c05b5202c88c8ae4ca4958074268784af
2024-02-13 16:33:20 +00:00
LuK1337
3e865ebb78 roomservice: Add support for remote=aosp-*
This will let us sync kernel prebuilts directly from AOSP.

Change-Id: Ie94f84ee7ec5020023533f8f3364b546ace4983d
2024-02-13 12:12:19 +00:00
Michael Bestas
8d8eeda630 overlay: Set action for the styles & wallpaper picker activity
Remove the unused wallpaper picker activity overlay while we are at it.

Change-Id: Ib845f33f6e7f1381a9ac8a466f930ffe505c6dbe
2024-02-12 21:45:28 +00:00
LuK1337
65498a79bd repopick: Skip commit_exists() check when using -p
Change-Id: I7b99e8c940bddad80e6362302f1ae24248e42faf
2024-02-12 21:45:28 +00:00
Nolen Johnson
afb819d70c config: Move audio includes back to mobile
Emulator (cuttlefish) is inherited and sets default sound properties,
which conflict at build time with Lineage defaults, breaking `car_gsi`
targets.

Change-Id: I3fb099a77394f8eb4613445c2410d7f568b8a3f5
2024-02-12 17:14:39 +00:00
Aaron Kling
5c5c497acd overlay: Decommonize long press power action
The global actions overlay cannot be controlled by a controller, so
should not be available on atv.

Change-Id: I1849d8f07abd1794ab613368354dadebd88331c8
(cherry picked from commit 00311ddb04cef25418ba03bc561bee65d4158704)
2024-02-11 20:39:28 +00:00
LuK1337
92ced50692
repopick: Fix logic for skipping already merged changes
We can't iterate a list and update it at the same time.

Test: Run `repopick -t XXI` twice
Change-Id: I85651783531b59fd4b48d54a663c22cb243edac7
2024-02-11 11:03:43 +01:00
2869dc1de1 overlay: Unset config_cellBroadcastAppLinks
This is true by default.

Change-Id: I9f91f4bf49995975d434ad8b74b175693409862a
2024-02-10 12:22:11 +00:00
dianlujitao
77e5f117f7 repopick: Use hostname of the URL to determine lineage gerrit
Change-Id: Ifd3883917bc4acd7d58179235d880f2e4a43b670
2024-02-08 20:26:58 +08:00
Nolen Johnson
68642ca994 lineage: partner_gms: Allow GMS that isn't partner
* Other inline packages rely on WITH_GMS for space reservations.

Change-Id: Iacc4b01a49f7d44f800faff7bb7072f239e38495
2024-02-08 07:25:59 +00:00
Yumi Yukimura
b5e2177257 roomservice: Add support for dry run
* In local build environments, we may want roomservice to
  not mess with the repos and local_manifests

Change-Id: I83014fdedbfdcd9f731463954a8779cf6d1f4cbf
2024-02-08 07:25:01 +00:00
Chirayu Desai
4f27f71cd6 vars: redfin,bramble: UP1A.231105.001.B2, Feb 2024
Change-Id: I3af9c974696b43fa3ad7b25dea0a94e7c9a8262b
2024-02-07 18:01:49 +00:00
Aaron Kling
d725e592fe kernel: Support kernel modules via kbuild
TARGET_EXTERNAL_KERNEL_MODULES variable is used for the list of modules,
same as the existing functionality, but is invoked if ':kbuild' is
appended to a module name

Existing external module build calls make in the module directory, which
is a standalone module build. The module makefile may chain to kbuild,
but that depends on the module. This addition invokes the kernel build
system, passing the module directory via the M= param, which is the
kernel standard for building out of tree modules.

Change-Id: I38a582952f79f7155cdbf8a5975cf23074bbdab0
2024-02-07 18:00:28 +00:00
Aaron Kling
2f1c529782 kernel: Support copying modules to boot ramdisk
Android supports loading modules from the boot ramdisk in the case of
vendor ramdisk not existing.

Change-Id: Ide1255b2c37ee262c8a4181d5eb0e380d0488edc
2024-02-07 18:00:28 +00:00
Michael Bestas
1656983529
vars: February 2024 Security update
Change-Id: Icc4774077379e6bc9a363b800fa0b1ddca28d62b
2024-02-06 19:00:54 +02:00
Alexander Koskovich
0c09a26b11 lineage: overlay: Disable a couple more OTA upgrade components
Change-Id: I0ca22526897ef6539e55a2e270ea424a3e9a80ee
(cherry picked from commit bd4bdd0262fd6c817a0690d97b093ec7cdfe939c)
2024-02-06 09:43:01 +00:00
Alexander Koskovich
d549cc0330 lineage: overlay: Disable OtaUpdateActivity component
If a device overrides BUILD_FINGERPRINT with one from stock
the user will be not be able to proceed through SetupWizard
if there is an update available for that device.

Change-Id: I72d59bb30df52048bd099f20bcda4ac64822cc30
(cherry picked from commit 590d01605f2dafce49df2cc0fc528e55eb61f1a8)
2024-02-06 09:43:01 +00:00
dianlujitao
12c5c7233e repopick: Clear Pyright warnings
Change-Id: I63962cc31820329a0fcf8ed96a13ef12a9f67875
2024-02-06 09:39:58 +00:00
dianlujitao
ce64349c54 repopick: Check fetch result based on the actual commit
Checking for FETCH_HEAD is not reliable when fetching in parallel.

Change-Id: I0c07f7c4bffb80e5d12b13f301ba684b95112272
2024-02-06 09:39:58 +00:00
dianlujitao
8a3a02e0b5 repopick: Apply change in parallel
Change-Id: Iafd803422082bcc17f2ad3300df3882d689f3674
2024-02-06 09:39:58 +00:00
dianlujitao
0b48b9b0c1 repopick: Avoid repeatedly performing the same check
Jobs such as check for already picked changes only need to be done once
for each git repository, but it was lunched every time picking a commit.

Change-Id: I87b3fea101dbcedb38502015fe9a9af5f25b397c
2024-02-06 09:39:58 +00:00
dianlujitao
6682b3f35a repopick: Use the builtin urllib to handle HTTP basic authentication
Also do proper URL encode while at it.

Change-Id: I64c0913eed535b109af2adc830288b3dd17c0cbb
2024-02-06 09:39:58 +00:00
dianlujitao
6f048e37fd repopick: Clean up subprocess calls
* Use the builtin approach to decode text output
 * Drop unnecessary system shell usage
 * Use subprocess.run when we don't need its stdout

Change-Id: Ibb2aeae442b5e97828fe4e0eb783e6512288d245
2024-02-06 09:39:58 +00:00
dianlujitao
c0fb88f19e repopick: Organize imports and format with black
Change-Id: I94080fb8adba0af83d86f0c67af8fac460ffbea0
2024-02-06 09:39:58 +00:00
dianlujitao
94b1026f1a repopick: Remove python2 support
Change-Id: I8f164eea3a17888bcf30ff649ddcf81a00bab582
2024-02-06 09:39:58 +00:00
Bruno Martins
abe8aa5563 common: Dexpreopt CarSystemUI with the speed compiler filter
Change-Id: I191e718a4279d915a5c786c2f2067d6f73c223b3
2024-01-21 21:47:14 +00:00
Bruno Martins
24d1e5acb9 config: Commonize stuff based on PRODUCT_IS_* flag
Change-Id: Idfb6a08697bf232fdec47e9caa27754a27335d3d
2024-01-20 14:03:05 +00:00
Bruno Martins
0b72bc3e24 car: Include ExactCalculator and Jelly on Automotive builds
Change-Id: I659a2cd0afda1d7653eedb54016e16f831ff175a
2024-01-20 14:03:05 +00:00
Bruno Martins
603d17277b config: Do not ship Parts and SuW on Automotive builds
Customizations from LineageParts do not apply here and SetupWizard
is forcibly skipped anyway as device first boots in already provisioned
status.

Change-Id: Ic85fa59f58729d67f28d1dbe9191868bc1eb70a5
2024-01-20 14:02:57 +00:00
Bruno Martins
7cb63b9651 config/common_car: Remove car_product inheritance
Should be done in the device trees, like Google does and all devices
that we support with different build types (mobile and ATV).

The only requirement is to call the makefile before vendor/lineage one
so that PRODUCT_IS_AUTOMOTIVE is set before inheriting from Lineage
common stuff. That allows to skip some undesired package if needed
without having to move those out from common makefile and duplicate
into common_car and common_tv makefiles.

Change-Id: Id663f48f3d484f415ff04869c52073fbc6b87148
2024-01-20 01:27:31 +00:00
Bruno Martins
1f1e4dbf6a partner_gms: PRODUCT_IS_AUTO -> PRODUCT_IS_AUTOMOTIVE
This is already defined by Google, so use it.

Change-Id: I049e88ee8eb3469c65f4fed09c844c7f3a240e4b
2024-01-20 01:27:31 +00:00
Bruno Martins
60d9f5b601 vars: Update QCOM tags
Change-Id: Ia12ecce57a24808cf33d1a485b6ddbd82287e199
2024-01-09 10:50:36 +00:00
LuK1337
ebf86e1abe partner_gms: Skip makefile inclusion if vendor/partner_* doesn't exist
This skips partner_* for some unfortunate devices where someone set
GMS_MAKEFILE/MAINLINE_MODULES_MAKEFILE.

Change-Id: Idadd7a5df315a3792237181b5c277d40d1bd1431
2024-01-08 13:29:58 +01:00
Chirayu Desai
d18183e1d3
vars: January 2024 Security update
Change-Id: I4501762ef8245e73d17e790802d720dd3007c712
2024-01-06 14:47:21 +02:00
Scott Warner
659670d77c
vars: shusky
Change-Id: I5dc8baa11a0bcbf596f155ab00a27bf2358e215a
2024-01-06 14:27:48 +02:00
Joel Beckmeyer
cfcf7db2e6 prebuilt: Update APNs for Boost Mobile
Removed "Boost Mobile CdmaNai" apn as the mmsc domain
mm.myboostmobile.com does not resolve and the only other US network
offered by Boost has a different mmsc
(http://wholesale.mmsmvno.com/mms/wapenc).
https://www.boostmobile.com/support/activation/finish-activation

Change-Id: I203fe6ca705fc2b8eacf954dff843a749bcc6959
2024-01-03 17:48:01 +00:00
Michael W
e2fadad978 overlay: Change vvm_type_vvm3_mvno to vvm_type_vvm3
* Google Dialer, where these values have been extracted from, apparently
  does use that type, but our Dialer doesn't support it at all
* Change it to the one we support and hope more users can now use
  VisualVoiceMail

Co-authored-by: Joel Beckmeyer <jbeckmeyer@cedarville.edu>
Change-Id: I7e602fc9c591620b5306c187cde11afac2fd697f
2024-01-03 17:45:03 +00:00
Joel Beckmeyer
58b196d0d8 overlay: update VVM config
Fixes Xfinity Mobile visual voicemail and maybe others. The
`vvm_type_vvm3_mvno` symbol doesn't even exist in the Dialer code.

Change-Id: I918539ddf7d79806394f722e7e7e044b3cad853f
2024-01-03 17:45:03 +00:00
Aaron Kling
d2d4e46340 kernel: Default to no gcc on kernel 6.x
Current logic defaults to no gcc if kernel major version is greater than
or equal to 5 and kernel minor version is greater than or equal to 10.
Meaning kernel version 6.1 does not qualify because 1 is less than 10.
So additionally check if kernel major version is greater than or equal
to 6 and ignore minor version for that case.

Change-Id: Id72cb9e100c6fed014d696f4a3a88f6cafcd3932
2024-01-03 16:09:59 +00:00
LuK1337
b38fb3a2d2 kernel: Make INTERNAL_VENDOR_RAMDISK_TARGET depend on kernel
This lets us package kernel modules into recovery ramdisk inside
vendor_boot.

Change-Id: I274bc95ce8682e2f13a595174ab279c129866f6a
2023-12-24 21:08:16 +00:00
Bruno Martins
682dd6b689 kernel: Ensure that module load lists are properly formed
Do not allow module load lists to contain unexistent kernel modules
and bail out if that's the case, informing that the list must be
corrected.

The lists can be formed including the full module path and with or
without the file extension, like shown below:

  kernel/drivers/watchdog/softdog.ko
  kernel/net/wireless/cfg80211.ko
  kernel/net/mac80211/mac80211.ko

or simply:

  softdog.ko
  cfg80211.ko
  mac80211.ko

or ultimately:

  softdog
  cfg80211
  mac80211

Either way, the newly generated modules.load file will now only
contain the module name without the extension, which is inline with
modules.alias and modules.blocklist.

Change-Id: I969274f7edf249c98ca241e37b6e41a921d36908
2023-12-14 22:45:39 +00:00
Michael Bestas
2cd52ca80a
config: Allow forcing minimal/full reserved size
Change-Id: I7b3c258ad1597bb37bfc02aa8af80d12c0da198b
2023-12-13 03:16:22 +02:00
LuK1337
c0250e3ab6 build: Add macro for sha1 checked add-radio-file
This makes it slightly safer in case radio/*.img contains LFS pointer
instead of actual blob.

Change-Id: Ia3561400c62675eac9f717f7eae74e4cdf71cf45
2023-12-12 17:32:49 +00:00