Commit graph

4049 commits

Author SHA1 Message Date
dianlujitao
62c1374385 kernel: Check HIP support of clang before disabling it
Old clang releases don't support --hip-path, so passing this flag will
break the build.

Change-Id: If36defb0e74893581849700fb67e6aa4617908a8
2023-03-02 20:43:04 +08:00
dianlujitao
ef68678120 kernel: Force disable LLVM HIP
Gets rid of the following from clang -v:

```
Found HIP installation: /opt/rocm, version 5.4.22804
```

Change-Id: Ic58b3fb2dd67d345372bec7f5d2cf023ed2fb34d
2023-03-01 23:07:23 +08:00
Le Hong Duc
eb86bd1bc5 apn: Add Wintel
* ref: https://wintel.vn/huong-dan-cai-dat-apn

Change-Id: Ifc5f5f7f8524ad4b132196be95d16b0abc22a5bc
2023-02-23 20:40:25 +01:00
Dhina17
e91d67406d apn: Don't set type default for Vodafone MMS 404/43
- It avoids apn: portalnmms as default.
  www is the actual working one for Vi India.
  So don't have to change it to www everytime manually.

- Verified in stock ROM apn conf.

Change-Id: Icc84ad8cd22e36306dd53088f7176f3a9fd849ef
2023-02-22 21:44:10 +01:00
Michael Bestas
d9d76b356c vars: Update floral to TP1A.221005.002.B2
Change-Id: I61c77906d96df35a6cdde39b221abd26050f80c8
2023-02-13 10:02:58 +01:00
Michael Bestas
d6209a2dc6 vars: February 2023 Security update
Change-Id: Ib5e19cbfebe2e34c595341af40f42d458c569de3
2023-02-13 10:02:58 +01:00
SGCMarkus
1cc1c8a0a0
qcom: set TARGET_USES_QCOM_AUDIO_AR for the UM 5.10 family
This flag guard vendor/qcom/opensource/{agm,pal,audio-hal/st-hal-ar}
which must not be included in older platforms

Change-Id: I9da02881df9582c10cfb7d1c962a766a9ae041ed
2023-02-10 01:37:13 +02:00
SGCMarkus
22eb16e2de
qcom: Include vendor/qcom/opensource/display namespace only for <5.10 platforms
hardware/qcom-caf/sm8450/display contains its own copies of
* libgralloc.qti
* libqdMetaData
* libdisplayconfig.qti

Including this namespace too, results in a module already defined error

Change-Id: I7d5c861307f4d517d5b53c6444897a4b90f0095e
2023-02-10 01:37:12 +02:00
Arian
27409112ff
qcom: Add taro platform
Change-Id: I96e3bbccc306817986c6f039a57fd1daa94e7f2d
2023-02-10 01:37:12 +02:00
Michael Bestas
8f5abd2a73 overlay: Set calendar component name
Change-Id: I45dcb494863616d09348266f444cf8295313454c
2023-02-09 22:26:20 +01:00
Michael Bestas
3f2102da19 overlay: Set clock component name
Change-Id: I7952d4dc65b4c5813e5cf7f6a77259dd4c6370cb
2023-02-09 22:26:20 +01:00
Alexander K
8c75a4aa58 Helplines: Improve Bulgarian helplines
Removed numerous helplines that were actually contact phones that
could be received when calling a major/national helpline, as well
as unknown numbers - possibly out of service.

New numbers sourced and added via linked websites.

Change-Id: Ibbb102b4eba4e3dd90abcb3e4042b08a5c92b2cc
2023-01-28 12:12:47 +01:00
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. `&amp;` 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