Commit graph

4324 commits

Author SHA1 Message Date
Arian
0b86619dc5 soong: Add power libperfmgr extension config
Change-Id: I401335a1851948bae8de42d0f86af4763dd795b3
2024-05-19 15:53:36 +01:00
Aaron Kling
49c4dd8f86 kernel: Error on duplicate modules
This can happen when an out of tree module target uses a matching module
name from the base kernel. This causes two problems:

1) Depmod gets confused and only pulls symbols from one of the modules
2) Copying the modules to modules_out is not entirely deterministic and
   is based on the first variant to be returned by find, meaning that
   the variant that gets copied to the device could change build to
   build.

To avoid these issues, fail the build if this happens and force the
build target to only generate one copy of each module name.

Change-Id: I2e47ba4e142054feabaa1ab80fbbe0332fd84a62
2024-05-13 20:45:15 +00:00
Chirayu Desai
cfaa5d0101
vars: May 2024 Security update
Change-Id: I348f767b7176cec5019db5d189844411a9199a21
2024-05-08 00:55:08 +03:00
Nolen Johnson
1e092b97e1 config: common: Set OEM Key ATV property in all cases
* This else was messed up.

Change-Id: I1e67edbf53369e81bf085c02b007bb93dbde2936
2024-05-04 01:58:05 -04:00
Nolen Johnson
c564d0a672 common: config: Set ro.oem.key1 on ATV devices
* This key is equivilant to `android-google` for mobile.

Change-Id: I51e1c64dc016577fa0f9bf72a9eed9350e788cd2
2024-05-03 11:38:07 -04:00
Michael Bestas
f0620033c0 vars: Update qcom tags
Change-Id: Iee81f0b4f19acff6fd274dc9b44ca0b018a5715f
2024-05-02 17:20:01 +00:00
Jarl-Penguin
0d73175fd5 lineage: Opt-in to shipping full recovery image by default
* When the boot image is modified, recovery updating fails because the patch no longer applies to the modified boot image, so ship a full recovery image instead of a patch so recovery updating always works.

Signed-off-by: Jarl-Penguin <jarlpenguin@outlook.com>
Change-Id: I56cf6c4d301afa88b39b31d488c5166903406637
2024-04-27 23:21:02 +00:00
Joel Beckmeyer
5e0e5c9118 overlay: Update Dialer VVM config
- Selectively merge changes from com.google.android.dialer version
  127.0.620688474-downloadable
- Remove obvious attempts to limit user freedom by forcing users to use
  carrier VVM app for Cellcom and Metro by T-Mobile.

Change-Id: I72bc29e4db5382f02508669c1cdc65812f1fbb13
2024-04-27 23:20:23 +00:00
LuK1337
a27417bb81
Revert "config: BoardConfigReservedSize: Prevent overlayfs on remount"
Reserving 8MB does not guarantee that free blocks will be >= 1%, so not
only this doesn't work properly, but also breaks builds for some
devices.

This reverts commit 3940fb4240.

Test: breakfast kebab && WITH_GMS=true m
Change-Id: I330570dc6fc9efca5629358a0b149f131d36ba18
2024-04-27 13:36:30 +02:00
Michael Bestas
bb1a5edc7b
vars: Update to AP1A.240405.002.A2/B1
Change-Id: I274555fb3aa4f41d07d9e4f0ccd5aa8c76488308
2024-04-26 20:06:55 +03:00
Yumi Yukimura
675e3637ed config: device_framework_matrix: Add lineage.hardware.radio.config
Change-Id: I013f75d64b5d909c45e3f876f8e46f9958a728b9
2024-04-26 14:52:21 +00:00
Bruno Martins
4ffd90db94 Revert "Hookup SDMCORE_HAS_IS_DISPLAY_HW_AVAILABLE_FUNC"
This reverts commit bc8d7739ac.

Reason for revert: no longer needed when using blobs that match tag
DISPLAY.LA.3.0.r1-10700-KAILUA.0.

Change-Id: Ia89ce566a4cade6091a2dc6bc4e8b56ef7d1f73b
2024-04-22 21:19:09 +00:00
Nolen Johnson
3940fb4240 config: BoardConfigReservedSize: Prevent overlayfs on remount
* When we remount partitions via `adb remount`, a scratch partition
  is made for overlayfs to use - this takes up space and breaks OTA.
  The end user /could/ run this to fix it:
  `adb reboot fastboot && fastboot delete-logical-partition scratch && fastboot reboot`
  But that's bad UX, remount should work. This ensures that with or without GMS,
  we reserve some space on all dynamic partitions.
* Set amount to `8 * 1024 * 1024` + 1 for good measure.
* Don't reserve this amount of `-user` builds as we don't remount
  there.

Change-Id: I969aea92747a17ceca299e109c6e0ab563951374
2024-04-21 16:46:02 +00:00
LuK1337
5fff206e72
config: Enable settings large screen optimization for tablets
This was set to true by default prior to U QPR2.

Test: Open settings and notice that dual pane layout is back
Change-Id: Ide44ecbe7e30d6bf26d9c9358e46c71b35c66250
2024-04-21 10:04:31 +02:00
danielml
0612158699 lineage: Add aconfig flags extension for AP1A
Our ap1a.scl extends build/release's ap1a.scl to include our aconfig
value set.

Change-Id: I76c4eceaa1d37f479bd53922766175832d3abb5f
Signed-off-by: danielml <daniel@danielml.dev>
2024-04-20 15:20:28 +00:00
Alexander Martinz
3db0f47263 envsetup: cloremote: build got moved to build_repo
Build is now a group instead of a repo.
The actual repo got renamed to build_repo.

Change-Id: I61f65251896d18c3025d849109206d44e2686c70
Signed-off-by: Alexander Martinz <amartinz@shiftphones.com>
2024-04-11 14:17:37 +00:00
Kilian von Pflugk
8bda0bf62b products: lineage_{gsi,sdk}_tv*: Remove TARGET_USES_64_BIT_BINDER
The TARGET_USES_64_BIT_BINDER option is deprecated and can be removed

Change-Id: I6b828da1fbcc8c054c5b35ff78c870a689f7ed9f
2024-04-09 02:07:42 -04:00
Asher Simonds
f2a488f0f2 bootanimation: Refinements
Small adjustments to accommodate for screen size and a nicer transition

Change-Id: I66fdb6be47651945a4de2c27f16268156a20a990
2024-04-06 13:10:13 +00:00
Michael Bestas
04cde9d0fe
vars: Remove msm-4.9/msm-4.14/gs201 kernels
Change-Id: If81b3311a0d56392b358c9b9ca0fac85a2d3f2f5
2024-04-03 13:43:04 +03:00
Chirayu Desai
cb8d520631
vars: April 2024 Security update
Change-Id: I67c9580652c40d70bc1908f9cb98c6ea6a94c9b4
2024-04-03 13:41:41 +03:00
Michael Bestas
9a445cdfe6 vars: Update qcom tags
Change-Id: I5685eeedb454a25d74bb3db9ce1de98f0049e7c5
2024-04-01 09:07:06 +00:00
Joel Beckmeyer
f75e119593 overlay: several Dialer VVM config fixes
* Change `vvm_type_omtp_*` to `vvm_type_omtp` (As before, Google Dialer
  uses these types, but our Dialer does not)
* enable VVM for all "Bouygues Telecom Business-Distribution" MVNOs
  instead of just one MVNO (NRJ). This has been validated with a device
  using the "Auchan Telecom" MVNO.

Change-Id: Iecada64dc758952aa9c8f8e0efcebc719d16d352
2024-03-30 20:48:53 +00:00
Aaron Kling
1b0fc0e043 fixup! kernel: Support copying modules to boot ramdisk
Original commit incorrectly added kernel as a dep to the vendor ramdisk
for this path, when instead the dep should be added to the boot ramdisk.

Change-Id: I25a42d403fe2ddb0538b08c2dd8f761eae960810
2024-03-30 06:38:58 +00:00
mse1969
5b8dd24b8e lineage: products: sdk_phone_x86_64 emulator - fix sdk_addon packaging
With the merge of tag 'android-14.0.0_r29', the emulator sdk_phone_x86_64
is inherited from device/generic/goldfish. This means, that the component
PRODUCT_SDK_ADDON_COPY_FILES needs to be defined here.

Change-Id: I2cee21d27f28521f34e80262c2abda6b7eb3360c
2024-03-27 23:48:10 +00:00
LuK1337
75b2afaadf
repopick: Require python3
Change-Id: I95f598947a29b2095bd7539b1f279dccc1b25097
2024-03-26 20:09:48 +01:00
mse1969
105b86ee09 lineage: products: sdk_phone_x86_64 emulator - restore partition sizes
With the merge of tag 'android-14.0.0_r29', the emulator sdk_phone_x86_64
is inherited from device/generic/goldfish. Its defined super partition
size of 1.6GB however is too small to build the LineageOS 21 emulator.

Therefore, overwrite the partition sizes with the values as previously
set in build/make/target/board/BoardConfigEmuCommon.mk

Change-Id: Ib8443cb3d8cacb42cab68f154845574fadf99b55
2024-03-25 17:22:39 +01:00
Aaron Kling
8e362b5b43 overlay: tv: Add night mode for package installer
Change-Id: I9fedbe8bd1e1d02c5deff351330a2af0f7109e6b
2024-03-25 16:11:42 +00:00
mse1969
01a36e1909 lineage: products: remove sdk_phone_x86 emulator target
necessary after merge of tag 'android-14.0.0_r29':

 e04167e Retire obsolete (32bit-only) emulator targets and boards

 Please use 64bit-only targets instead:
 [...]  * we don't support x86+arm for AOSP targets

Change-Id: I001b97e218f837005d4283bd0540519b00301783
2024-03-24 23:20:28 +01:00
mse1969
b0d0c6fa41 lineage: products: Fix lineage_sdk_car* emulator targets
necessary after merge of tag 'android-14.0.0_r29':

 228de7b Remove sdk_<arch> products

 The SDK is arch-agnostic, so does not need per-arch products.

Change-Id: Idac94e841e749d6dcc4aa643b8738f8c07ac71fa
2024-03-24 23:17:17 +01:00
mse1969
1c69ed407e lineage: products: Fix lineage_sdk_phone_x86_64 emulator target
necessary after merge of tag 'android-14.0.0_r29':

 4bf479f Retire obsolete emulator targets and boards

 the sdk_phone* targets are replaced with sdk_phone64*,
 the emulator* boards are replaced with emu64* in
 the device/generic/goldfish folder.

Change-Id: Ie36e73684d586223bbce642a62cf155a3990713e
2024-03-24 23:13:00 +01:00
Michael Bestas
5d26fdd797
config: Include AudioTv.mk on atv
Change-Id: Id6cf181c35032b44ab705b62bc9600f5b4f171bb
2024-03-23 01:55:58 +02:00
Michael Bestas
91592bd204
config: Remove deprecated vendor.lineage.trust from FCM
Change-Id: Ie5c05b460015c38895df56292a5670ca6dad17e6
2024-03-21 10:33:08 +02:00
LuK1337
dfec562594 kernel: Add clean headers script to workaround conflicts with bionic
After the "Avoid multiple definitions of sigaction." change in bionic,
we ought to modify our kernel headers to make sure that sigaction struct
is not present in uapi headers.

Change-Id: I15645480e013e79cbcafaac99253368b646b6b11
2024-03-20 20:53:44 +00:00
Michael Bestas
a0003041e1 envsetup: Fix breakfast
Change-Id: I9742638765f323876bffcdd0d9c1131d28a54614
2024-03-20 20:53:44 +00:00
Chirayu Desai
abcc4179d3 vars: 🐘 March 2024 Quarterly Platform Release & Security update 🐘
Change-Id: I56136ad2e9e33c500a1a469d2384e37ac3041ace
2024-03-20 19:58:57 +00:00
LuK1337
2a348e8e2b
repopick: Use number instead of id for error msgs
Change-Id: I1ebfd8315d1dbbdbee2cd50095f5d7c6b98e7057
2024-03-11 11:58:11 +01:00
Joel Beckmeyer
d5031df40d overlay: enable VVM for Boost and other ATT MVNOs
Change-Id: I2dbd081fd598eed7cddb8450ad441f5339af3bf9
2024-03-10 21:51:14 +00:00
Aaron Kling
8e49671f1f config: Build simple Settings provisioning service
Similar to SimpleDeviceConfig, this allows devices to initialize options
in the normal settings storage.

Change-Id: I58ae47dc21b0d85ac1ec01afda187820919fef7f
2024-03-07 11:58:59 -06:00
LuK1337
f3ee86687f
bacon: Depend on $(DEFAULT_GOAL)
This makes sure that $OUT contains images for all partitions.

Test: breakfast tangorpro && m bacon && ls $OUT/vendor_boot.img
Change-Id: Ia59a1fb7d9d1054040453ff2e7954ea6d7c61fde
2024-03-04 16:10:36 +01:00
Michael Bestas
fccfeff785
config: Fix build when WITH_SU is set
Change-Id: I95ac8ae2725279a95c11ae898ebfd44a6fa0f10e
2024-02-29 22:48:31 +02:00
Tom Pratt
fc39d90588
Disable mobiledata by default with sys prop
Replaces old SUW logic with AOSP's built in mechanism.

Change-Id: Ia210842f97b2da9bc7ed49044837df836a7a884e
2024-02-28 17:07:37 +02:00
Michael Bestas
77226cac60 config: Define SetupWizard theme properties
Change-Id: Ib35578aebc19d8cf2ef4cf3bc0b4acb3f04a89a1
2024-02-25 23:14:07 +00:00
dantmnf
03b20d8756 overlay: Update NTP server overlay for Chinese users
The resource key is changed in Android 14.

Furthermore, it is now possible to specify multiple servers.

Change-Id: I7ee977300a63f623f29a4697b43df7233143818c
2024-02-22 18:26:04 +08:00
Michael Bestas
3e40451715 config: Include AudioPackage14.mk
Change-Id: I3c02322ec5d4cb2242193dbd3b120a8a1842a63a
2024-02-21 18:22:37 +00:00
Luca Stefani
74db3872b3 bootanimation: Use 256 colors
And remove unused mkdir rules

Change-Id: Ic6df2c46938c7ecc0bd8a80712b38b57ff15d7c9
2024-02-18 17:17:30 +00:00
Luca Stefani
a82e9332a4
Revert "overlay: Set config_defaultQrCodeComponent"
Replaced by an RRO

This reverts commit 273de226b9.

Change-Id: I00a6db6ff86008296b9fa081268c5dfa30b2f7c1
2024-02-18 12:57:01 +01:00
LuK1337
eaa2614343
config: Ship EmergencyInfo on WiFi only tablets
Change-Id: I89e16f716076d5351949c0bb13f55fc4eaeee4f5
2024-02-17 18:31:40 +01:00
Timi Rautamäki
bbefef9f88 ovelay: tv: set power menu max columns to 4
Change-Id: I737d7ea1037cc77d50ac79d0cf3947d849e59676
2024-02-16 17:41:20 +00:00
Timi Rautamäki
7dd2be50b1 Revert "overlay: Decommonize long press power action"
This reverts commit 5c5c497acd.

Change-Id: Iaaa9d1c2aa0704d2f09f7b979e08057f25b74e5c
2024-02-16 17:41:20 +00:00
Marc Bourgoin
a706715bdd apn: Update for Telus MVNO's (Canada)
They are sending out emails to users informing them that MMS will stop functioning
unless they update their APN settings before February 14, 2024

https://www.publicmobile.ca/en/bc/get-help/articles/set-up-data-on-an-android-phone

https://www.koodomobile.com/en/help/setting-data-your-non-koodo-phone

https://apn.how/ca/pc-mobile
(The official PC Mobile website sucks and doesn't mention MMS Proxy for some reason...)

Change-Id: I31e22930c39048bcf7acbd206917825575b531b5
2024-02-16 11:28:33 +00:00