Commit graph

3932 commits

Author SHA1 Message Date
LuK1337
be135083d6
Remove IO tuning init scripts
Change-Id: I2ec439990b74cf099a78832fef4b7bc8dd17993c
2021-10-12 17:52:12 +03:00
Michael Bestas
253f90404d
build: Add x86/x86_64 emulator targets
Change-Id: Ic8789ad2072b9ebda91f9b4a7c288a5a9bcec3fd
2021-10-12 17:52:12 +03:00
Michael Bestas
c63ee5cc9c
Don't copy privapp-permissions-goldfish.xml for GSI targets
* It is already copied to product partition through AOSP makefiles

Change-Id: I9d877728decc712ce6ae5cc285b1b6a7a4903daf
2021-10-12 17:52:11 +03:00
Michael Bestas
d0b4f9894a
Revert "soong: Export bootloader_message_offset to dependencies"
* Fix build, revert when/if this is needed again.

This reverts commit 1b4ecdcb1c.

Change-Id: I14ec026d8be7297319564340b84ceb164dccfdd5
2021-10-11 23:49:18 +03:00
Michael Bestas
85da432b7b build: Replace obsolete ADDITIONAL_BUILD_PROPERTIES
Fixes:
error: ADDITIONAL_BUILD_PROPERTIES is obsolete.  Please use ADDITIONAL_SYSTEM_PROPERTIES.
Change-Id: I7eb3c47d9fd705aa8f8d39e10563e47ffbf2d560
2021-10-07 19:57:29 +02:00
Michael Bestas
e843a047cd Lineage 19.0
Change-Id: I406a755d475de4ca7f92f58164282c7a07a06743
2021-10-07 19:57:15 +02:00
Arian
aca64b083a config: Update clang version to clang-r416183b1
* That's the default clang version on android-12.0.0_r1

Change-Id: I528d9a6aa497f7c9a0f53b0e778d0eeefaac0e9d
2021-10-07 11:43:23 +02:00
Julian Veit
cb30d255fb bacon: switch to sha256 checksum
As md5 is not considered as secure since some time, and sha256 is
industry standard, lets switch over here too.

Change-Id: I22015be20126a4348affa5ef97e2c28fbd7b4717
2021-10-07 11:39:17 +02:00
David Wheatley
359cf85a97 apn: Fix FreedomPop UK
- FreedomPop UK uses three.co.uk for its APN
- Add missing `type` param that prevents use of data on any Three UK or Three MVNO SIM

Change-Id: I5f0656d95070c312d5d563536909f23722857372
2021-10-02 21:12:35 +02:00
David Wheatley
6261bcc96f apn: Update giffgaff APN
As per:
- https://www.giffgaff.com/help/articles/internet-apn-settings-guide
- https://www.giffgaff.com/help/articles/mms-apn-settings-guide

GitLab issue: https://gitlab.com/LineageOS/issues/android/-/issues/3828

Change-Id: Iec3b2c11d529cdbeef9c662a28422824d83ed575
2021-09-30 14:21:42 +02:00
Michael Bestas
a445f2a977
config: Cleanup additional gralloc bits
Change-Id: I4ba1638513c4e5c92ee9756bfbfe8a5ff93d04cd
2021-09-16 19:28:15 +03:00
Michael W
bcac3f39f0 apns: Update Vodafone NL
* Source: https://community.vodafone.nl/t5/Diensten/Update-netwerkinstellingen-voor-gebruik-in-het-buitenland/m-p/1850/highlight/true#M1786

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/3942
Change-Id: I05c4d6dd6fc1ee8e1f0c51073d8e6d6a518964b2
2021-09-14 17:17:06 +02:00
Martincz Gao
c57312ce4b apns: Update APNs for Chinese carriers
from MIUI v12.0.8.0.QJKCNXM for lmi

The default APN selection for some Chinese carrier SIM cards is
incorrect, resulting in no internet or very slow internet access.
Therefore, replace APN configs from MIUI for all mcc=460 entries.

[TH779] Still keep IPv6 enabled for these APNs.

Signed-off-by: TH779 <i@779.moe>
Change-Id: Id95cbeda2a63764348d07ddcc8caa7b7e49c6f7c
2021-09-09 23:18:03 +02:00
marcost2
fad4142e6e Add support for separate kernels for boot and recovery [1/2]
* Either as prebuilts, or with separate defconfigs

Change-Id: Iad877a5fbef095e3e5d792aebb240c230a829552
2021-09-08 17:16:01 +02:00
Erik Jensen
31a8d98385 backuptool: Support tab-delimited fstab
Change-Id: Ib3fcde92d0c1ebb8754b11c577e4885d8dd02624
2021-09-04 14:30:36 +02:00
Timi Rautamäki
6b4ffc913d overlay: follow system accent in setupdesign
This makes fingerprint setup in Settings & SUW follow system theming.

Change-Id: I4d907f8f9ab1c077e31207819d12dfe54e1a613e
2021-09-03 13:59:47 +02:00
Timi Rautamäki
8621afcb57 overlay: tv: default to night mode
As rest of the UI is dark by default, making also apps dark by default
provides more consistent user experience.

Change-Id: I8da8ea57d67014a7629e6641fd7c75d20111ca0f
2021-08-29 19:23:33 +02:00
LibXZR
d5b4b59b64 kernel: Fix vdso32 building for 4.19+ kernels
This flag has been renamed in 4.19 kernels
https://android.googlesource.com/kernel/common/+/refs/heads/android-4.19-stable/arch/arm64/kernel/vdso32/Makefile#13

Change-Id: I92db29aa124da7c9fc63454d9443373bdc2e16e7
2021-08-23 18:05:25 +02:00
Alexander Koskovich
38f389130b lineage: config: DEVICE_PACKAGE_OVERLAYS -> PRODUCT_PACKAGE_OVERLAYS
* DEVICE_PACKAGE_OVERLAYS corresponds to overlays that
   are device specific, these are not so they should
   belong in platform.

Change-Id: I8684e10a370ba1b9f0a725c0f199d167a98d1668
2021-08-22 19:04:34 +02:00
Alexander Koskovich
393b0e8ffc lineage: overlay: Remove MMS user agent URL
* The URL in this overlay no longer points to anything.

Change-Id: I555f615d9b2fd10efbaf04dc1cf4df96ba571955
2021-08-22 19:02:31 +02:00
programminghoch10
f88090b17a charger: add lineage charger
Add a new charger as a possible replacement for the AOSP charger.

Co-Authored-By: Tim Zimmermann <tim@linux4.de>
Change-Id: Icdf7ad770bb353f082759b76fd4e58910e8d72e3
2021-08-05 19:58:50 +02:00
LuK1337
9887e1f751 lineage: Don't enforce inclusion of common compatibility matrix
* Let people include it if they choose to.
* Avoids issues where people who previously didn't need
  compatibility matrix's are hitting checkvintf errors.

* Fixes breakage in: 78870c267f

Change-Id: I33bc1e67e7f9eb9a01930113535800a8e4f539fd
2021-08-02 22:51:49 +02:00
Alexander Koskovich
78870c267f lineage: Add framework compatibility matrix for Lineage HALs.
* Cover all possible Lineage HALs here instead of covering
   them in the device specific manifests.

Change-Id: Id7f7d6eb1f14190a061537cebfabd339af9b1620
2021-08-02 15:54:28 +02:00
Timi Rautamäki
882e97e4ad roomservice: add repo to syncable repo list if dir doesn't exist
breakfast may get stuck if the first breakfast for a target is
interrupted before cloning but after adding repositories to local
manifest. Re-doing breakfast skips syncing the repositories if
they're added to the manifest even if not cloned.

Change-Id: Ifefd08fa6da8785c1d5de0b27ac1a08a782f21d6
2021-07-29 21:14:02 +02:00
Tom Pratt
de83dffc34 Add generic targets for automotive
Makefiles combining core lineage and automotive packages.
Can be included by devices to turn them into Automotive builds.
Emulator targets demonstrate using these makefiles and form a basis for Automotive GSIs.
Change-Id: Ib5d35dfe4de8c459e4e14a7ba6f0b0e682e0d912
2021-07-23 17:57:27 +02:00
Michael Bestas
f16a9d9d14 Move sensitive_pn.xml to product partition
Change-Id: I9edd9c2641c8e724122e2219f9ffe2b14242f964
2021-07-23 01:04:38 +02:00
Sebastiano Barezzi
4ccc17d333 soong: Add TARGET_CAMERA_BOOTTIME_TIMESTAMP conditional
Change-Id: Ic48acda208fc9990fc5c9159ad06518d48f21477
2021-07-19 11:24:57 +02:00
Alessandro Astone
14062ab9d2 apns: Add IPV4V6 to EE (UK)
As per https://android.stackexchange.com/a/233395,
without it data transfers may fail with PDN_IPV4_CALL_DISALLOWED

Closes: https://gitlab.com/LineageOS/issues/android/-/issues/3068

Change-Id: I1a663eafa4d913f45478f4dcf062f25a76411abf
2021-07-16 20:58:51 +02:00
Nolen Johnson
a3fc194a83 lineage: partner_gms: Correctly guard ATV GMS
* Needs to be an env-var, or when Android.mk is read in partner_gms
  we runinto issues with the var not being set yet.

Change-Id: Ia90f9a6c97ebf406a0f3c1848286300cace2c2c9
2021-07-12 17:13:47 -04:00
Tim Schumacher
cec409ecf8 kernel: Fix the check for official builds
The check for official builds now only affects the case where a prebuilt
kernel was actually used, not the case where a device builds a kernel
from source as normal.

The check has also been turned around so that it only fails the build if
it's actually an official build, not an unofficial one.

Change-Id: I1280b16b90589742c2abe7f3f6f5975a3aaeea03
2021-06-27 11:49:48 +02:00
Sebastiano Barezzi
c86a1a8128 kernel: Add TARGET_FORCE_PREBUILT_KERNEL flag
* TARGET_FORCE_PREBUILT_KERNEL should be useful when you don't have ready kernel sources (OEM releasing broken sources or releasing them lately)
* It lets you use kernel sources for userspace generated headers (generated_kernel_headers) while keeping using prebuilt kernel
* Keep in mind that generated kernel headers may not align with the ABI of kernel you're including
* This commit also partially revert commit a836d79, where TARGET_KERNEL_SOURCE would have been unset if TARGET_PREBUILT_KERNEL was defined (we already check in kernel.mk if kernel sources are present anyway)

Change-Id: I84acae890dabb5b9dbd48143ad58f6420c0cef75
2021-06-24 11:50:07 +02:00
Erfan Abdi
5f7f10de7b lineage: Add double quote in custom APN name check
* This fixes the case of have having APNs with same the name,
  such as:
  “Sprint EHRPD”
  "Sprint EHRPD ota"
  “Sprint EHRPD internet”

* But we want to replace only “Sprint EHRPD”, not all matches.

Change-Id: Ic3139c5d73a8c3c8667ac2bc527abc1a85541361
2021-06-24 04:53:35 +02:00
Bruno Martins
e741d463e9 Revert "soong: Add TARGET_QTI_USB_SUPPORTS_{AUDIO,DEBUG}_ACCESSORY flags"
This reverts commit ba8e075ed4.
It is no longer necessary.

Change-Id: I5d9656ffb686e939f006d5fb1effaba835f93ed2
2021-06-14 14:48:36 +01:00
LuK1337
cae10f81b0 kernel: Pass absolute path for KCONFIG_ALLCONFIG
It fails to read relative one, at least on QCOM 4.19 kernel base.

Change-Id: Iacbcadfabfcebb80a7f5934825123fdfa913c63c
2021-06-12 21:16:15 +02:00
Bruno Martins
b735fac86f common: Remove extra tools already shipped by default
Change-Id: Iaec2ccdc14b517eb72f1f44c9c75c9290ada74ea
2021-06-10 17:03:21 +02:00
Luca Stefani
263073057d config: Remove exfat tools
* They are now part of Android core

Change-Id: I588d5d72919aa4e8675a0586d583640419d137e9
2021-06-10 16:02:09 +01:00
Han Wang
5c084cbbff config: Actually disable strict mode for non eng builds
Change-Id: If64c42111c75908f2c590199b5cfb45266af93c4
2021-06-05 11:13:36 +02:00
Sam Mortimer
21e586ae9b Disable extra StrictMode features on all non-engineering builds
Change-Id: Ib052fba60e12497f79913c8030f59af40b6bc32f
2021-06-05 10:39:05 +02:00
dwayne goben
0a78392c43 sensitive_pn: Add two numbers for Italy
– Telefono Amico Italia
   – European Hotline for Missing Children

Change-Id: Ie5abc4b255c1502a38d59fffaa325af76a2b481d
2021-06-03 22:07:19 +02:00
JamieHoSzeYui
902f4474ba qcom: add lahaina platform
lahaina = Snapdragon 888

Signed-off-by: Aryan Sinha <sinha.aryan03@gmail.com>
Change-Id: Iaad90031451a9d1d3c8cbe8b61c1cf19717df4ee
2021-05-31 22:51:36 +02:00
LuK1337
12d252b8b8 generated_kernel_headers: Also add usr/include/audio to include path
Needed for QGKI 5.4.

Change-Id: I44c77167828fdc3577cfd1eb548c8ceb7c418cbb
2021-05-28 11:08:33 +02:00
Gegham Zakaryan
4fe28bcfb9 config: Add globalactions service permissions
The service won't start without this.

Signed-off-by: Gegham Zakaryan <zakaryan.2004@outlook.com>
Change-Id: I377a45aceb76d0a94504ef799f9c33782185ca1f
2021-05-23 15:17:35 +02:00
Alessandro Astone
c43ccf2852 apns: Add AT&T 310-280 ids
From Pixel CarrierSettings

Change-Id: I9fd719aa986efe74e42b070f4b19138dd2ae6a72
2021-05-21 11:42:56 +02:00
Gnumdk
fb45458d40 Fix voicemail for Bouygues Telecom France
Change-Id: Ia3507559b98fd1edab5b5cf310523a36b8df0456
2021-05-17 19:37:29 +02:00
Nicholas Lim
94aaca4b0e apns-conf: Add TPG Singapore configs
* With (partial) reference to https://android-review.googlesource.com/c/device/sample/+/665341

Change-Id: If94379bc0d834ee4969e6634657f370a98f7cf0b
2021-05-13 19:25:37 +02:00
Michael W
fb59cfdc6d apns: Remove T-Mobile UK
* It's EE now
* Should not be required since 2015:
  "In 2010, it merged with Orange UK to form a joint venture,
  Everything Everywhere, in 2010, which continued to operate the
  T-Mobile and Orange brands until March 2015 and allowed T-Mobile
  customers to utilise Orange's 2G signal and vice versa.
  In 2012, Everything Everywhere launched a new network, branded EE."
  -- https://en.wikipedia.org/wiki/T-Mobile_UK

Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/3069
Change-Id: Id94a6e156f20b484ea3d23cd3a30f5f9e796b117
2021-05-13 17:28:46 +02:00
Michael W
e21a1e8c9a vendor: apns: Add LIDL Connect
* Source: https://www.apnsettings.org/de/lidl-connect/
* Fixes https://gitlab.com/LineageOS/issues/android/-/issues/3401

Change-Id: I69b1a180d4360a72acf282f95e0af12d60672e87
2021-05-13 17:28:46 +02:00
zhaoguomanong
6c32584ae0 apns: Enable IPV6 for China Telecom
Signed-off-by: zhaoguomanong <zhaoguomanong@gmail.com>
Change-Id: I767ac312ed20bd569959c873e6b6c53f5333da5f
2021-05-13 17:28:46 +02:00
sjllls
9f1696ae64 apns: Enable IPV6 for China Unicom
Change-Id: I5f53961a68c5cb08f8e7ab0d288ae243e5254fff
2021-05-13 17:28:46 +02:00
sjllls
d377a1c9f4 apns: Enable IPV6 for China Mobile
Change-Id: I5294753b8d0a9a83b144e213796246af9b6fa866
2021-05-13 17:28:46 +02:00