Commit graph

4293 commits

Author SHA1 Message Date
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
Michael Bestas
aeb5e1171e
vars: December 2023 Quarterly Platform Release and Security update
Change-Id: Ibe5ad02cd6f98acfe9ec8188bc3422539c28fcd6
2023-12-10 18:21:15 +02:00
Michael Bestas
7c4510508c
vars: RIP bramble/redfin
Change-Id: Ia86a2295f9a68ceecb34fab29c5120fac9a8338b
2023-12-10 04:58:48 +02:00
Michael Bestas
dc820e6a4c vars: Remove firmware_partitions
These have been moved to device trees after extract-utils integration

Change-Id: I40b7a11358aed0039da19d3f22987bd65720ac55
2023-12-06 19:08:16 +00:00
Michael Bestas
a9b655cc1c config: Introduce common dynamic partition reserved sizes
Change-Id: I29c7e8b439672f7ac13ac3264bd1ced5165a42ee
2023-12-03 22:06:37 +00:00
Michael W
72c613cab0 apn: Fix Play MMS
Change-Id: I2833bc1764a311eef7ebc170cfa1e25cbefb3737
2023-11-27 21:15:06 +00:00
Arian
e7dac6855d
soong: Add qti vibrator effect stream config
Change-Id: I87b08a02f91a941d22dab5d1acb9bfbbce06f03b
2023-11-21 20:48:36 +02:00
BHCrusher1
79f7511c9c Update APN settings used in Japan.
Removed unused settings and added APN settings with high market share.
MVNO with high market share in Japan(Japanese article): https://mmdlabo.jp/investigation/detail_2278.html

44010 (NTT docomo)
ドコモ(mopera): https://start.mopera.net/contents/noauth/access/accessPc.html
ドコモ(spモード): https://www.docomo.ne.jp/support/for_simfree/apn.html
AEON MOBILE: https://aeonmobile.jp/apn/
AsahiNet LTE: https://asahi-net.jp/support/guide/lte/
BIGLOBE: https://support.biglobe.ne.jp/settei/setuzoku/lte/
b-mobile(ドコモ):https://www.bmobile.ne.jp/devices/apn_setting_docomo.html
DTI: https://dream.jp/mb/sim/support/manual/mnl_apn_info.html
FREETEL: https://mobile.faq.rakuten.net/s/detail/000004942
HISモバイル: https://his-mobile.com/support/setting
IIJMIO: https://www.iijmio.jp/hdd/guide/apn.html#apn_and
LINEモバイル: https://mobile.line.me/support/apn/android/
nifty: https://nifmo.nifty.com/start_guide/step4_2.htm
nuromobile: https://support.sonynetwork.co.jp/faqsupport/nuromobile/web/knowledge2727.html
mineo: https://support.mineo.jp/setup/guide/android_network.html
OCN: https://support.ocn.ne.jp/personal/purpose/detail/pid2900000g9p/
日本通信SIM: https://www.nihontsushin.com/support/support_apn_setting-android.html

44011 (Rakuten mobile)
楽天(rakuten.jp): https://network.mobile.rakuten.co.jp/faq/detail/00001495/

44020 (SoftBank)
Softbank(jpspir): jpspir is an APN provided by SoftBank, but it is not in the official information and is a hidden APN. SoftBank also uses a number of hidden APNs.
SoftBank(4G/5G): https://www.softbank.jp/mobile/support/usim/portout_procedure/#mobile-support-anchor04
Softbank(sbm4glte): sbm4glte is an APN provided by SoftBank, but it is not in the official information and is a hidden APN.
b-mobile(ソフトバンク): https://www.bmobile.ne.jp/devices/apn_setting_sb.html
LINEモバイル: https://mobile.line.me/support/apn/android/
LINEMO: https://www.linemo.jp/process/apn/android/
mineo: https://support.mineo.jp/setup/guide/android_network.html
nuromobile:https://support.sonynetwork.co.jp/faqsupport/nuromobile/web/knowledge2727.html
Y!mobile: https://www.ymobile.jp/yservice/howto/simfree_android/apn/

44050 (au KDDI)
Service ended and moved to 44051.

44051 (au KDDI)
au: https://www.au.com/support/service/mobile/procedure/sim/auic/
au(LTE NET for DATA): https://www.au.com/mobile/charge/internet-connection/ltenet-for-data/
au(5G NET for DATA): https://www.au.com/mobile/charge/internet-connection/5gnet-for-data/
AEON MOBILE: https://aeonmobile.jp/apn/
BIGLOBE: https://support.biglobe.ne.jp/settei/setuzoku/lte/
IIJMIO: https://www.iijmio.jp/hdd/guide/apn.html#apn_and
J:COM MOBILE: https://cs.myjcom.jp/knowledgeDetail?an=000689112
LINEモバイル: https://mobile.line.me/support/apn/android/
mineo: https://support.mineo.jp/setup/guide/android_network.html
nuromobile: https://support.sonynetwork.co.jp/faqsupport/nuromobile/web/knowledge2727.html
povo2.0: https://povo.jp/support/guide/sim/
UQ mobile: https://www.uqwimax.jp/mobile/support/guide/apn/

Change-Id: Ibf3d47b6a6b3e8d11bde487383296610858cb7c1
2023-11-14 09:08:01 +00:00
Michael Bestas
5d8add8d52
overlay: Remove dimensions that are the same as defaults
Change-Id: I66049cd285fef9e86bd5eea51ee194711fe02ac2
2023-11-12 16:22:54 +02:00
LuK1337
30a34bb4fd overlay: Unset search_bar_corner_radius
It's set to 28dp by default now.

Change-Id: Id3ecf86005d616dab9e39601eea331a0d4033431
2023-11-12 13:43:19 +00:00
Chirayu Desai
8e0f54da8b vars: sunfish: November 2023 update
Change-Id: Ic7adb35b912b9dd90230828d97f90579bedf006f
2023-11-12 11:56:31 +00:00
LuK1337
fb6b12b1a6 overlay: Set udfps_lottie_translate_y to -500dp
Matches value found on Pixel 8, but it should be ok on all devices.

Change-Id: I1cf4e7bcd0b630aaaf4f2d3d25887a5387eda659
2023-11-10 16:52:15 +01:00
Georg Veichtlbauer
de4302a67a Update custom_apns script for Python 3
Change-Id: Ia693daadac323e7c245867dbc7756f31637a4c15
2023-11-09 10:14:20 +00:00
Chirayu Desai
3e2414bfdb
vars: November 2023 Security update
Change-Id: Id5673809702360b491a63dceab5d7b75c26a526b
2023-11-08 01:36:03 +02:00
Michael W
390362c844 config: CUSTOM_LOCALES: Add Friulian
Change-Id: I5dbcf5dff81fd7816b062662fdb94e21ddaea54a
2023-10-31 19:25:26 +00:00
Michael Bestas
6342c64e08 charger: regenerate.sh: Don't delete percent_font.png
Change-Id: I2fbdb2187b973ee5cc2a1f7eaa8f7a53791e7146
2023-10-31 18:28:42 +00:00
Christian Schrötter
6cdc94e42e apns: [bob] Fix APN and enable IPv6
data.bob is the name and not the APN.

APN reference: https://www.bob.at/wp-content/uploads/Android_APNs_Font_corrected_new.pdf
IPv6 reference: https://www.bob.at/service/faq/ ("Unterstützt bob IPv6 Verbindungen?")

Change-Id: Ibd9db102364927b66c7cf8d5e5ba82c8c3166d63
2023-10-29 22:09:50 +00:00
Tommy Webb
14e50c9177 Enable lockscreen shortcuts (quick affordances)
Change-Id: Ie7a10f7e93cf90f4e32810397ceecc7a0c1c96e9
2023-10-29 22:08:22 +00:00
Nolen Johnson
711cf14675 config: telephony: Advertise telephony support for GMS
Change-Id: Ic5063b0d5e60f8bc3846cc8a25c24e1abfa9df84
2023-10-29 19:27:54 +00:00
pppig236
c08bb53da2 fixup! lineage: prebuilt: Add Carrier ID and MVNO ID for T-Mobile Ting
* My carrier's (T-Mobile MVNO) is also somehow picking up Ting instead of the legit TMO ones.

Test:
    Before: Ting Data is set to be the default APN
    After: T-Mobile US is set to be the default

From:
72419e394c/assets/latest_carrier_id/carrier_list.textpb (L11096)

Change-Id: I5c630b6501af2db37538ad9cfc538dca4bf7b5e2
2023-10-29 14:27:42 +00:00
pppig236
f46d0a7a08 kernel: Halt build process if an external module fails to compile
Before:
    mka bootimage
    qcacld failed to compile, but boot.img is generated

After:
    mka bootimage
    qcacld failed to compile and no boot.img is generated

Commit fadfdbf introduced the idea of building external modules,
but it didn't account for the scenario where compilation could fail
while the boot.img is still being built.

Fix this by properly stopping the build process as soon as the external
module fails to compile.

Change-Id: Ifed28825f8e4b78d304fe62a47908e208edfb886
2023-10-29 14:27:00 +00:00
Bruno Martins
e655a1e696 kernel: Replace BOARD_SYSTEM_KERNEL_MODULES with SYSTEM_KERNEL_MODULES
Commit 47931c1 introduced GKI modules handling with the assumption
that using BOARD_SYSTEM_KERNEL_MODULES would still work in Android 14,
but turns out that it conflicts with build/make/core rules.

Change-Id: I9167940c08b8420be254c52698f1faa2e3e7f793
2023-10-28 12:37:43 +01:00
Bruno Martins
4fb9a76f06 lineage: Move all QCOM board configs to hardware/qcom-caf/common
Change-Id: I6ead35cf884255a8897a3e3e27fc7936d11be616
2023-10-27 14:25:29 +01:00
Michael Bestas
8f478a25a8 vars: Update qcom tags
Change-Id: I23c04892a6d5c219705bc115fa55e0c49f67b4f5
2023-10-25 19:04:36 +00:00
Michael Bestas
c290ff3f38 Hookup GRALLOC_HANDLE_HAS_UBWCP_FORMAT
The gralloc struct has been conditionally adjusted not to
break blobs that use the old struct.

Change-Id: I4dd1d1890ad08364d5315386ab830ce9e0edd041
2023-10-20 12:57:46 +00:00
basamaryan
625b9a34c0 Revert "device_config: Enable separate notification volume control"
The feature is now enabled by default.

This reverts commit da9c5060ad.

Change-Id: I0977e3eb1cf0b62b258f13e63b3952d5b329ded6
2023-10-20 09:55:48 +01:00
Chirayu Desai
91545926df vars/${pixels[@]}: 14
Change-Id: I282583589b548c53dabe6192fc0a576f02b81512
2023-10-20 09:55:48 +01:00
maxwen
00d34dd3bb soong: Follow the correct JSON syntax
wrong: CROSS_COMPILE=\\"/data4...
correct: CROSS_COMPILE=\"/data4...

Change-Id: I5080aef7feb2ec7429cb9ba1f4baccefa61a3cd3
2023-10-20 09:55:48 +01:00
basamaryan
db93a8d621 kernel: Rename mkdtboimg.py
* Changed in https://android-review.googlesource.com/q/topic:%22colefaust_rename_mkdtboimg%22

Change-Id: Idd2ade7035c79207321ecbc70d6a4ddf9f4ed600
2023-10-20 09:55:48 +01:00
basamaryan
110a25a2c8 config: Update clang version to clang-r487747c
* This is the default clang version for Android U release

Change-Id: I6a44012250470eeeb2e0f6993eb4e98308eec390
2023-10-20 09:55:48 +01:00
Michael Bestas
1f5ecee1c8 RIP Android Beam
Change-Id: Ia977097d40b7f0538f2b15d231e69f2fa22adc4c
2023-10-20 09:55:48 +01:00
Michael Bestas
b7f28608e5 LineageOS 21.0
Change-Id: Ibb75018049d2a0461a2b2fdccb509347c0d9834b
2023-10-20 09:55:48 +01:00