Commit graph

4237 commits

Author SHA1 Message Date
Alexander Grund
f4ca355c3d Use a RegEx to get carrier instead of XML parsing
As we later do literal matches against the lines XML parsing is the
wrong approach as e.g. XML excapes will not be found which causes custom
APNs with e.g. `&` to be ignored, i.e. they will not overwrite the
default ones and will be fully missing from the output file.

Change-Id: I2bc575d4bbdc5d802c5d5b3420ee6b536a5a18fc
2023-01-22 19:55:02 +01:00
Alexander Grund
173af3e2f9 Include carrier= in carrier match string
Avoid random matches for generic carrier names such as `"3"`

Change-Id: I6bd2f3b9268ce2fb4754a170e1c359cb22fb2a60
2023-01-22 19:55:02 +01:00
Alexander Grund
faca8c641c Fix custom_apns script
Removing an element from the list that is currently iterated does not
work. At least it may skip the next element.

Also the handling of duplicate APN names was broken: It would output the
lines containing duplicate APN names times the number of the
duplication, i.e. the exact same line would be duplicated.
So use a `set` for storing apn names.

Change-Id: Id54d245dc935117cd4640ae0f1f30b8608c87459
2023-01-22 19:55:02 +01:00
Alessandro Astone
ba14020f85 kernel: Force disable LLVM CUDA
The kernel tries to define the LINUX_COMPILER macro from the output
of `$(CC) -v | grep ' version '`, but in clang that might produce
more than one line containing ' version ' when CUDA is installed:

```
Android (8490178, based on r450784d) clang version 14.0.6
Found CUDA installation: /usr/local/cuda, version 11.0
```

That causes the macro to expand into multiple lines, upsetting the
compiler that cannot find the ending double quote.

In upstream linux this is fixed from v5.8

Change-Id: Icde4253e989df1cbbefc0ce98f437d16822fc93b
2023-01-22 19:51:39 +01:00
Michael Bestas
ad2642dc34 vars: Update qcom tags
Change-Id: I104caf44a9fd33dc37e00baadd213537d7ef4b17
2023-01-19 16:48:59 +01:00
Michael Bestas
553c540711 config: Split sdm660 from UM_4_4_FAMILY
Change-Id: I6eed22f15ea297c6e842c53edf6a7b29e89366a1
2023-01-19 16:48:59 +01:00
me-cafebabe
390c998fec Split msm8937 from UM_3_18_FAMILY and fix it
Co-authored-by: Michael Bestas <mkbestas@gmail.com>
Change-Id: I06bf48ff8433cc00dbaaa0ee05b3b86c7af01821
2023-01-19 16:48:59 +01:00
Aaron Kling
48d2a4219c config: Only install theme packages on mobile
Theming is not available in leanback

Change-Id: I7227060348dd5285cc99def74aacedcf4ff9b4d2
2023-01-15 06:41:09 +01:00
Aaron Kling
7b124548da config: Only install audio files on mobile
These are not used on atv and are just wasting space

Change-Id: If571c840767fc83e8dd23fc542873fbb86b7c7e3
2023-01-15 06:40:21 +01:00
TheHitMan7
f83ae43615 backuptool: Unmount v3 partitions during backup
Extracted file /tmp/install/bin/backuptool.functions
Extracted file /tmp/install/bin/backuptool.sh
Extracted 2 file(s)
about to run program [/tmp/install/bin/backuptool.sh] with 5 args
[libfs_mgr]Unmapped logical partition system
DM_DEV_REMOVE failed for [vendor]: Device or resource busy
Cannot unmap vendor before removing group qti_dynamic_partitions.
script aborted: assert failed: update_dynamic_partitions(package_extract_file(dynamic_partitions_op_list))
assert failed: update_dynamic_partitions(package_extract_file(dynamic_partitions_op_list))error: 25
Updater process ended with ERROR: 1
Failed to mount '/system_root' (No such file or directory)
I:Actual block device: '/dev/block/dm-0', current file system: 'ext4'

We can clearly see that after version 3 script is executed with
its specific functions. It cannot or don't unmount partitions for
successful OTA upgrade. Resulting broken installation, this also
affects ROM inbuilt OTA updater app.

Signed-off-by: TheHitMan7 <krtik.vrma@gmail.com>
Change-Id: Ic2d4e7809e8abd402c2a49188c73c83ea3b4e8df
2023-01-11 10:26:45 +01:00
Nolen Johnson
5924e84035 config: common: Re-enable rsync
Change-Id: I9d2ba68ad145d421920884fe9f5f8eb14a19adb0
2023-01-10 13:02:02 +01:00
Michael Bestas
b5e83c1f01 overlay: Set default status bar height to 28dp
The default 24dp looks too thin after Android 12L.
This matches Pixel status bar height and makes status bar look
slightly better on devices without a cutout/notch and landscape mode.

Change-Id: I5907d6ca19613e4c8bc186a9eca01d11730733b0
2023-01-09 17:58:19 +01:00
Michael Bestas
bf20ee1059 vars: January 2023 Security Update
Change-Id: Ida77e7be6a53e9ed287e875117583d2d816bea80
2023-01-05 11:56:39 -05:00
Luca Stefani
3c1a396159 charger: Ensure every generated image is 8-bit
minui supports only <= 8-bit PNGs.

On my machine battery_fail was being encoded
using 24-bits and charger was freaking out :(

Change-Id: I2f63548ba102f49485c43268389f1cdd5e50802d
Signed-off-by: Luca Stefani <luca.stefani.ge1@gmail.com>
2023-01-02 20:46:48 +01:00
LuK1337
5fdb4e06a2 overlay: Make config_defaultQrCodeComponent untranslatable
We don't want to generate values-(en-rXA/ar-rXB) for it.

Change-Id: I3be1dde9a5fb3a6dbb9140434fca757fcc725924
2022-12-09 13:28:04 +01:00
LuK1337
610eca6f74 overlay: Set config_clockFontFamily to empty string
This will match pre QPR1 clock font.

Change-Id: Idef5fb093d81f49e40f2fcf4df69f834804916ae
2022-12-09 13:27:56 +01:00
Michael Bestas
672d80b6fa
overlay: Update ThemePicker for android13-qpr1
Change-Id: If3a412d13400aacefa5ca2f48558a3cf1bc9526f
2022-12-09 02:12:06 +02:00
Michael Bestas
2321f05676
vars: December 2022 Quarterly Platform Release and Security update
Change-Id: I2cdfd5228474e4e0a9b4d4b5a18692ba7433e000
2022-12-06 16:43:51 +02:00
Chirayu Desai
e0d3e2892d
overlay: Update Dialer VVM config
From:
* com.google.android.dialer 94.0.488803600

Change-Id: Ia2d054d2ba29a425224f1795aacae411388d874c
2022-11-30 20:13:43 +02:00
Michael Bestas
41abb0b970
kernel: Allow devices to opt-in for full LLVM build
android11-5.4 kernel can fully compile with LLVM with a few cherrypicks
from android12-5.4 and android12-5.10

Change-Id: Ib71935d284ad78f1c23d039c15bfc5e0314a19eb
2022-11-14 19:20:23 +02:00
Michael Bestas
d944f6d0fb
vars: Update qcom tags
Change-Id: I3795f6a4a23fcb59b4ff2c01a2dfd5179cb02dc7
2022-11-09 18:57:40 +02:00
Michael Bestas
d4e3779b69
vars: RIP floral
Change-Id: I2fbcc56d063c49a6c8ce030c76a5eebf535d8f4c
2022-11-09 00:30:25 +02:00
Michael Bestas
878415d3da
vars: cleanup
Change-Id: I2423ab931ede2d590e67903f87a11b487ed52bdd
2022-11-09 00:30:25 +02:00
Michael Bestas
0e2eb1fbdd
vars: Update kernel for November 2022 & add gs201
Change-Id: Ied007b1ee68d65f920d93203ea8f706ecdd3aed7
2022-11-09 00:30:25 +02:00
Michael Bestas
7c406448df
vars: November 2022 Security Update
Change-Id: I6c2ad1ea5269566c27b1dea10180333e7fc0e4d7
2022-11-09 00:30:25 +02:00
Michael Bestas
bdfc913935
kernel: Support copying modules to vendor_kernel_boot
Test: Build gs201 with source built kernel/modules, boot.
Change-Id: Ie66400ddd44cfd249e1b4710f4d1c4efa32389a4
2022-11-04 02:12:55 +02:00
Michael Bestas
be4730a53e
kernel: Remove TARGET_KERNEL_MODULES error
This has been an error for 3 years now, plus it has not been functional
for even more years.

Change-Id: I8b12e8d08847ba119d2904f90766105367025d9c
2022-11-01 17:15:13 +02:00
Michael Bestas
2adf74c191
kernel: Only add GCC to PATH when using GNU binutils
Change-Id: Ia842ed409145a81a92077dde5d6e9749a057f047
2022-11-01 17:15:13 +02:00
Michael Bestas
0693b10516
kernel: Remove darwin support
Darwin kernel build is not supported for >=5.10
and non-standard clang versions.
Another side effect is that it causes LD_LIBRARY_PATH
to get overwritten, which breaks certain configurations.
Let's just get rid of it since AOSP darwin build is no longer supported.

Change-Id: I9ac642996b90937bd9c52138fb06bf1eff901c8b
2022-11-01 17:15:13 +02:00
Michael Bestas
19c16dff32
kernel: Override LD_LIBRARY_PATH only on <5.10
5.10 doesn't need LD_LIBRARY_PATH set

Change-Id: I5f6e732610f947d50b47e238d6a42365396b18ad
2022-11-01 15:55:19 +02:00
Michael Bestas
69e7a49d95
kernel: Fix clang version override
Change-Id: I18fceeeeab5426f55a73d0cb8d72abd5f40c67ec
2022-11-01 15:55:18 +02:00
Michael Bestas
ed8e192818 config: Remove TARGET_CAMERA_BOOTTIME_TIMESTAMP
This is no longer needed in T

Change-Id: Id14c88a548c14a8c26858a13f262f355ba72745e
2022-10-23 03:14:52 +02:00
Aaron Kling
50de801adf kernel: Add support for custom dtbimage generation rules
Change-Id: I79d67f9f40ef3f0970d0e29393d00600b57e337b
2022-10-18 00:59:46 +02:00
Chirayu Desai
fe2500384b
The cloudrippers are here
Change-Id: I633fac2f9cd65229feff3a1bf086b96c36d28cb5
2022-10-15 18:00:40 +03:00
Nolen Johnson
9d9d16f921
lineage: common: Allow opting out of EPPE
* All Pixel devices fail to pass this check, allow disabling this
  instead of making tons of modifications on the device trees.

Change-Id: I9a6fcc0a05b6ea90818a42d5c9500663db864542
2022-10-10 22:26:52 +03:00
Alessandro Astone
39392c99e1 roomservice: Try major-only revision if default doesn't exist
Change-Id: I91c18a1711e0d01b25e33b30bf0be9bbd443904e
2022-10-10 14:58:57 +02:00
Alessandro Astone
a4cbd27142 roomservice: Finer branch control for roomservice repositories
* Recursively extend the fallback branches mechanism to any
  layer of dependencies.

* Instead of forcing a dependency to use the fallback branch,
  check for each repository if the current one is available.

* Always write the revision in the manifest entry

Change-Id: I37a4aa094de51e9f58e72851f3bc9dc4767dd79b
2022-10-10 14:58:57 +02:00
Nolen Johnson
91176ea1ad lineage: overlay: common: Move GMS overlays elsewhere
Change-Id: If1d25def956e215742fb038c4f723acaf816ebae
2022-10-07 23:58:25 +02:00
Michael Bestas
e2377bdb78 vars: Update qcom tags
Change-Id: Ie629a0e5e030fd9125d786a78e9b186a7cbeaf79
2022-10-05 17:55:54 +02:00
ivanmeler
1b127da402 config: Exclude android.hidl.memory@1.0-impl.vendor and vndk_apex_snapshot_package from package enforcement
These targets do not exist on pre treble devices and are included by core_minimal.mk and base_system.mk

Change-Id: I44e9d2de46270afda48792105ca7320cd4559778
2022-10-05 16:54:53 +02:00
Michael Bestas
273de226b9 overlay: Set config_defaultQrCodeComponent
Fixes QR QS tile

Change-Id: Iec42d27f1952169b05925dd25e8ad63da07ca453
2022-10-05 16:11:06 +02:00
Michael Bestas
d58271339d config: Build Aperture camera app
Change-Id: Ifb70c8772729e42f820ab8861b1e2089a5d8cf5b
2022-10-05 16:11:06 +02:00
Michael Bestas
60327adb93 vars: Use full paths for kernel_repos
Change-Id: Id7f06d6bd1f1d44b2698be1c46c63f1120fa664f
2022-10-04 16:20:08 +02:00
Michael Bestas
105c260c73 vars: October 2022 Security Update
Change-Id: I89d00c104b68bcbc331b2d067f926512534f796a
2022-10-04 16:20:08 +02:00
Nolen Johnson
722348f737 lineage: common: Exclude ntfs-3g from artifact path requirement
Change-Id: I6253ac0b326f86ba7fd78f6babb9ee2242ba9133
2022-10-04 03:36:16 +02:00
Aaron Kling
c162e6ba1c config: Bring back ntfs tools
This partially reverts commit f911e89edb.

Change-Id: Id0d94715a3d503dd270fe419abacc3c0495659fb
2022-10-03 20:31:22 +02:00
Nolen Johnson
ce9107e2e2 overlay: Enable config_setColorTransformAccelerated by default
* Much like Clang, like 95% of supported devices currently use this.
* GSI's also benefit from this, as LiveDisplay works on modern vendors.

Change-Id: I23925fb289dd28dd031960317b74ec3bc43ba1ca
2022-10-03 08:29:56 +02:00
Nolen Johnson
0577797b84 config: Exclude Launcher3*/Calendar packages from enforcement
* These are built by AOSP common includes, and we can track most of
  these apps, but Etar and Trebuchet are only partial rebrands of their
  source-application, which means there are conflicts when tracking
  them, so exclude them.

Change-Id: I1fb893e6f5df693ddb551fa22adde9d05a60d1d8
2022-10-03 01:26:01 +02:00
Bruno Martins
a70b005d3c config: Exclude AOSP rild package from enforcement
Devices using vendor RIL services (ENABLE_VENDOR_RIL_SERVICE)
encounter a dead end when enforcing product package existance.

Change-Id: I101ebf442e35c631a6ff9f352566de63dd5cfba7
2022-10-02 16:49:24 +01:00
Aaron Kling
ca97b5293c config: Remove missing cli tools
These have not been ported for several versions

Change-Id: I40f199b6628e757e2637814b96f20bfb537393a4
2022-10-02 16:48:20 +01:00