Commit graph

4066 commits

Author SHA1 Message Date
Sebastiano Barezzi
e39ddd52fc
overlay: Move default status bar height to no-rro
* This overrides whatever value device trees set when using
  auto-generated RROs

Change-Id: I54d504c4d1c9a1123051e0bd564aa3b0d2a0d865
2023-04-14 23:24:55 +02:00
Nolen Johnson
1a6d8417b0 soong: Bring bootloader_message_offset back
This is squashed revert of:

    Revert "config: Remove BOOTLOADER_MESSAGE_OFFSET"

    This reverts commit a8bbd0e4aa.

    Change-Id: I66df34e901e87e543102377469a150a9bf03e5b8

    Revert "Revert "soong: Export bootloader_message_offset to dependencies""

    This reverts commit d0b4f9894a.

    Reason for revert: Bringing this back, LGE 8996 lives.

    Change-Id: Iae68fee53ba647d8c64c54388e7296232adf4db8

Change-Id: I358d8e19f2d4da590c9579c1473b5f1964bb71aa
2023-04-08 21:55:24 +02:00
Arian
cbf5989f8b overlay: Disable immersive mode confirmation
The confirmation dialogue is broken in several apps. Displaying the
confirmation dialogue leads to a focus change on which the app requests
immersive mode again leading to a loop of focus changes between the app
and the dialogue. Set the default value to confirmed to avoid this issue.

Example of the issue in Jelly: https://imgur.com/a/DT98ahR

Change-Id: Ifd906f5417cc0a090a2bf7d1f0dcdab26bf62dbb
2023-04-08 21:09:16 +02:00
frost
aee59181ce apn: update for T Star, Vibo and AURORA
- Vibo and AURORA are merged to T Star.

- Since the site no very detailed
  https://www.tstartel.com/CWS/phoneResult.php?vId=SAM&pId=66614&sd=&ppId=66614 ,
  I got from Xiaomi stock ROM https://imgur.com/a/Fo1Oj6j .

- Seperate Internet and MMS due to some stock ROM came with seperated APN.

Change-Id: I8138396e58c9a48e2d13ecc2ef8730e9f8eb98db
2023-04-03 17:23:12 +02:00
Michael Bestas
e67a0311b1 vars: Update qcom tags
Change-Id: Iaba848fb729674357cdc0de616227c9e9f1c0ada
2023-03-28 19:29:01 +02:00
Tim Zimmermann
accea8f497
config: Drop ThemePicker icon pack overlays
* Not used with S+ ThemePicker

Change-Id: I7ca2030ea64e588ddaad42464cf15edb1dfe7774
2023-03-23 18:18:00 +02:00
SamarV-121
dd562f83f5
config: Build icon pack overlays
Change-Id: Ibb8f100f3739a3578720dc0d00bca6c2ec77fbd5
2023-03-23 18:18:00 +02:00
Tim Zimmermann
330824d4dd
config: Inherit window_extensions.mk
* Instead of explicitly building androidx.window.extensions

Change-Id: I107ef8ef49eab77d91aa06fe3ade55eeaae83c71
2023-03-23 18:18:00 +02:00
Michael Bestas
3450d31de3
Switch to AOSP themes stub package
Change-Id: I6029d6cd8bd2280f994f9992d24777d4f24f4346
2023-03-21 21:01:17 +02:00
Chirayu Desai
5ae7551a20
Revert "config: Build NavigationBarMode2ButtonOverlay"
This reverts commit a461d3228d.

Reason for revert: It's finally broken!

Issue: calyxos#1548
Change-Id: Id9c79102d66feb7beddb9b3914387a1678bf0d83
2023-03-21 18:21:22 +02:00
Michael Bestas
d51e91e810
overlay: Relocate config_displayLightSensorType to no-rro
RRO breaks Pixels and every device that overlays this.

Change-Id: I704f81c0cb30b92d1a33d5e6569d501519e0bcd7
2023-03-21 18:21:20 +02:00
Chirayu Desai
6aaeca3621
vars: Pixel 6, 6a: March 2023 Security update
Change-Id: I78115e6fcc14e0b46c916b29fe561e009c271637
2023-03-20 22:06:01 +02:00
LuK1337
f8663e2484 overlay: Set config_displayLightSensorType to android.sensor.light
The fallback was broken in frameworks/base@4be1126d25.

Change-Id: If6d7b0ea0306cbfde94d344dd5d933a155471a3f
2023-03-18 12:24:58 +01:00
Michael Bestas
eb24a59862
vars: Use merge method instead of squash
Change-Id: I3bc51d164d0a61d8ff07d64ac31d37cef68baba7
2023-03-15 00:55:39 +02:00
Chirayu Desai
e5a041edc3
vars: March 2023 Quarterly Platform Release and Security update
* https://support.google.com/pixelphone/thread/205950390/google-pixel-update-march-2023?hl=en
* No release for gs101 yet

Change-Id: I4f83242744d484c8e8fdd7985963a8d4a616608e
2023-03-14 23:14:03 +02:00
Arbri Çoçka
1fa2c753f8 apn: fix AMC APN
- AMC is now One
- https://paste.pics/M2V1D

Change-Id: I34a142c8b472a94b138c0a0f320abacd45e94f30
2023-03-05 15:38:54 +01:00
LuK1337
7395c7f50e roomservice: Use mirror manifest instead of search API
Change-Id: Ifc64e42e1d443f36033756a6247a9f253b1ab82d
2023-03-04 13:19:33 +01:00
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