Commit Graph

6087 Commits

Author SHA1 Message Date
Nolen Johnson
015c0ed681 gs201: Build with 64-bit only GMS if WITH_GMS
* We are 64-bit only and therefore need this config selected.

Change-Id: Ifa31c29bad479f3a54859f51f2ce7a72b29895fa
2024-01-08 06:59:51 +00:00
Michael Bestas
a94238c410 Merge tag 'android-14.0.0_r20' into staging/lineage-21_merge-android-14.0.0_r20
Android 14.0.0 release 20

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZZXyBQAKCRDorT+BmrEO
# eAvqAKCQEBK7YcuKGulZhDtox4EMWVzcSQCfYMYllTDWhXK1MfXCrAcRqvgedlc=
# =pmkj
# -----END PGP SIGNATURE-----
# gpg: Signature made Thu Jan  4 01:47:17 2024 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2228 signatures in the past
#      2 years.  Encrypted 4 messages in the past 24 months.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Hungyen Weng
# Via Android Build Coastguard Worker
* tag 'android-14.0.0_r20':
  config: Use carrier config in ROM by default

Change-Id: I70f50993a7d4821f976f45ee7df688c54cfa6d31
2024-01-06 15:00:02 +02:00
Michael Bestas
5091a4e563 gs201: Update AiAi configs
Extracted from stock cheetah UQ1A.231205.015

Change-Id: I56bdf976af36cee52f35ef2dd6a91b6001126b7f
2023-12-19 05:11:28 +02:00
Michael Bestas
0403333fdb gs201: Update ConnectivityThermalPowerManager config
Extracted from stock cheetah UQ1A.231205.015

Change-Id: I64a01f21c22b925bee2a3dfecf5fded52ff64b40
2023-12-19 05:11:23 +02:00
Michael Bestas
21e31e937a gs201: Add kernel dependency
Change-Id: I79a7e9eb7043e536068386acaed81822ec11e89e
2023-12-14 22:58:21 +02:00
Michael Bestas
bea8640474 fixup! Add AiAi allowlist
Change-Id: Ic14411fd5da455988f028e0c7666516847e35f64
2023-12-14 22:55:35 +02:00
Android Build Coastguard Worker
f2b4bb7bef Merge cherrypicks of ['googleplex-android-review.googlesource.com/25616534'] into udc-qpr1-release.
Change-Id: I971d965776c71919c20ffdc73135b80f6fc3bf01
2023-12-12 05:02:32 +00:00
Hungyen Weng
89b5f3fca3 config: Use carrier config in ROM by default
Bug: 314890118

Test: Flash ROM and confirm the carrier config follows the ROM.
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8dbc173f2bf04255ce22dd1e13e888050aad36ca)
Merged-In: Id0407802e2027397ca7a409345c51273b75079e7
Change-Id: Id0407802e2027397ca7a409345c51273b75079e7
2023-12-12 05:00:28 +00:00
LuK1337
12d59feba0 gs201: Add liboemcrypto.so to vendor linker config
This lets com.google.android.widevine.apex access it.

Change-Id: I4e9654fe6317b722f5fbf43b92abb367c18640ce
2023-12-11 15:03:02 +00:00
Michael Bestas
ff7bf1a24d Merge tag 'android-14.0.0_r17' into staging/lineage-21_merge-android-14.0.0_r17
Android 14.0.0 Release 17 (UQ1A.231205.015)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZXDPIgAKCRDorT+BmrEO
# eKW+AKCSKOvswyMxQEPeAGlxB0qYhYPLagCeKng8NIvA1PoQ+GiKvm4qGPNnqyg=
# =Zxbc
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Dec  6 21:44:34 2023 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2194 signatures in the past
#      2 years.  Encrypted 4 messages in the past 23 months.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Samuel Gosselin (2) and others
# Via Automerger Merge Worker (71) and others
* tag 'android-14.0.0_r17':
  Grant the MDS access to the IPowerStats hal service.
  gs201: ufs_firmware_update: add scsi directory permission
  Revert^2 "Introduce CameraServices seinfo tag for PixelCameraServices"
  Revert "Introduce CameraServices seinfo tag for PixelCameraServices"
  Introduce CameraServices seinfo tag for PixelCameraServices
  Revert "Revert "Create telephony.ril.silent_reset system_ext pro..."
  Revert "Allow bthal to access vendor bluetooth folder"
  Allow bthal to access vendor bluetooth folder
  Revert "Create telephony.ril.silent_reset system_ext property fo..."
  Create telephony.ril.silent_reset system_ext property for RILD restart
  genfs_contexts: add raw s2mpg12mfd and s2mpg13mfd node.
  genfs_contexts: add raw s2mpg12mfd and s2mpg13mfd node.
  Add chre channel sepolicy entries
  remove fixed selinux bug from bug map.
  [TSV2] Remove tcpdump sepolicy from gs201 and move sepolicy to gs-common
  Remove obsolete entries

 Conflicts:
	sepolicy/whitechapel_pro/keys.conf

Change-Id: If62362077dd47387f5d5dc070375b54b0f74ee8a
2023-12-10 16:27:59 +02:00
Michael Bestas
6d49eb094d Merge tag 'android-14.0.0_r17' into staging/lineage-21_merge-android-14.0.0_r17
Android 14.0.0 Release 17 (UQ1A.231205.015)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZXDPIgAKCRDorT+BmrEO
# eCoeAKCMl4tu2uBiBg4bJRWlUY4yWJP62ACffzqUwXKRgfOiCdUcO/rAck5EXDk=
# =0jpY
# -----END PGP SIGNATURE-----
# gpg: Signature made Wed Dec  6 21:44:34 2023 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2194 signatures in the past
#      2 years.  Encrypted 4 messages in the past 23 months.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By qinyiyan (3) and others
# Via Automerger Merge Worker (142) and Android Build Coastguard Worker (61)
* tag 'android-14.0.0_r17': (51 commits)
  Run fsck to resolve possible data corruption
  Revert "gs201: Enable SkiaVk as RenderEngine backend"
  usb.rc: Advertise 360p and 480p support through UVC
  Usb.cpp: Fix typos when unable to disable USB data
  [SELinux] Add gyotaku_app doamin to Pixel 2022.
  UsbGadget: Update SDP enum timeout when gadget is pulled up
  usb: Modify sdp enumeration timeout value in charger mode
  init.gs201.rc: Disable util-awareness
  Disable variable refresh rate when typing on gs201
  gs201: ffu: add lifeC and activated date as condition
  wifi: Update p2p overlay config
  gs201: update media_codecs_performance_c2.xml based on UQ1A.230911.001
  gs201: tweak memory management
  Grant default permissions to PCS for camera connectivity
  Revert "Enable small dirty detection for variable refresh rate"
  Enable small dirty detection for variable refresh rate
  Support variable refresh rate when typing on gs201
  Set USF SoC from board makefile.
  Enable dimming in gamma space in screenshots for adaptive mode
  suspend: enable adaptive suspend
  ...

 Conflicts:
	BoardConfig-common.mk
	device.mk

Change-Id: Ib822c3f6b53087a800eb32a537cd764c1abf0e63
2023-12-10 16:27:06 +02:00
Michael Bestas
9b3ed02735 gs201: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2023-11-22 19:32:22 +02:00
Michael Bestas
2b69ac69aa Merge tag 'android-14.0.0_r14' into staging/lineage-21_merge-android-14.0.0_r14
Android 14.0.0 release 14

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZUmd6wAKCRDorT+BmrEO
# eOY5AJ9bnJM1agZfCbQJIodkjxyuLLgwPwCfRHjtKbZq9zXf4y1sivqyrNE/png=
# =FgnN
# -----END PGP SIGNATURE-----
# gpg: Signature made Tue Nov  7 04:16:11 2023 EET
# gpg:                using DSA key 4340D13570EF945E83810964E8AD3F819AB10E78
# gpg: Good signature from "The Android Open Source Project <initial-contribution@android.com>" [marginal]
# gpg: initial-contribution@android.com: Verified 2046 signatures in the past
#      2 years.  Encrypted 4 messages in the past 22 months.
# gpg: WARNING: This key is not certified with sufficiently trusted signatures!
# gpg:          It is not certain that the signature belongs to the owner.
# Primary key fingerprint: 4340 D135 70EF 945E 8381  0964 E8AD 3F81 9AB1 0E78

# By Paul Lawrence
# Via Android Build Coastguard Worker
* tag 'android-14.0.0_r14':
  Run fsck to resolve possible data corruption
  Run fsck to resolve possible data corruption

Change-Id: I47b25d94a257bee552401c3d11f6a5123b93740e
2023-11-08 01:29:00 +02:00
Michael Bestas
4eb01fc6ed Add lineage.dependencies
Change-Id: I69ea95e240cca3f3b700ae68a4853e5a4d4fd5bc
2023-10-29 23:23:11 +02:00
Michael Bestas
f518943284 Build kernel with clang r450784e
Pixel 5.10 kernel doesn't compile with r487747c and we don't want to
bother fixing all the new errors in kernel source and modules.

Change-Id: I4495c751e0fd7707fe5068416a04eed96948b954
2023-10-29 23:23:11 +02:00
Michael Bestas
af5951eef5 gs201: Inline kernel building
Change-Id: I5cdfc16b5537541b0eb930d7dc02860994d89619
2023-10-29 23:23:11 +02:00
Rashed Abdel-Tawab
8dc092ae68 gs201: Build a disabled vbmeta image
Squashed with:
Author: Nolen Johnson <johnsonnolen@gmail.com>
Date:   Sun May 9 16:04:34 2021 -0400

    Simplify AVB flag logic

    * AVB's `--flags 3` argument builds a disabled VBMeta with
      disabled hashtree, so no need to set both flags individually.

    Change-Id: Ibe9ee322a5af58f13e76d53e18dee49451fe8838

Change-Id: Ie8f1e0929b037b35b5e45c2e31be9253fa0bb097
2023-10-29 23:23:11 +02:00
Neel Chauhan
cdff2a709f Revert "Enable compressed snapshots/VABc."
Virtual AB compression prevents GApps from being installed to
cheetah/panther.

This reverts commit 2bfa6d3ba01856d99c6ffdb64627c6e9391c4a41.

Change-Id: I119b8e042e4cdeec27a19ab5dd4f0666cc115ae1
2023-10-29 23:23:10 +02:00
Michael Bestas
3243b526d7 gs201: Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2023-10-29 23:23:10 +02:00
Alessandro Astone
bb8bd4334a Build pixel touch HAL
Change-Id: I45cff81e1159613094440dd7b2b73b53519c9de6
2023-10-29 23:23:10 +02:00
LuK1337
6eebc19c3e gs201: don't inherit aosp_product.mk
This includes some unnecessary telephony bits and overrides.

Change-Id: Id75d9fd584a9981e756bb65a668ed526b4d1cd05
2023-10-29 23:23:10 +02:00
LuK1337
6345542a06 gs201: add 'tablet' to product characteristics when needed
Change-Id: I20105565a1b313fe6ff8499b49d3691f776f9267
2023-10-29 23:23:10 +02:00
LuK1337
437b2a63af gs201: don't explicitly build messaging
It's included via aosp_base_telephony.mk.

Change-Id: Ic260cc12fb63cf804fab1f842fad7d68b622785d
2023-10-29 23:23:10 +02:00
Michael Bestas
adce9b34d8 gs201: exclude telephony components if BOARD_WITHOUT_RADIO
Change-Id: I0298d04c1ca814417aef275d3f6a144101d2f7a6
2023-10-29 23:23:10 +02:00
Michael Bestas
d5786a0cb2 Include missing vendor sepolicy
Change-Id: Id35fb4b22e2ee8dfafdfb8ae601ab823435d2b94
2023-10-29 23:23:09 +02:00
Michael Bestas
7d26e0a490 Label vendor.dolby.media.c2@1.0-service
Change-Id: I89fb4c149aed94cf2f7c3d34f7fde5877175b1e2
2023-10-29 23:23:09 +02:00
Chirayu Desai
0cb6c743d7 Allow radio access to IOemSlsiRadioExternal
Change-Id: Ib5d57b199b3e8288cd3de0c12898f0c1d679be4a
2023-10-29 23:23:09 +02:00
Danny Lin
153c5687e9 Update seapp certificates to match stock presigned apps
Certificates extracted from stock vendor_mac_permissions.xml using
adevtool: https://github.com/kdrag0n/adevtool

Change-Id: Iaf59f1548905d16fe7ad231c039ba43941c15710
2023-10-29 23:23:09 +02:00
Alessandro Astone
c05185e38d Fix public key for EuiccSupportPixel sepolicy domain
Change-Id: I00f7a9a2b0f41d08af3262b0efd625dd2b6e1c9f
2023-10-29 23:23:09 +02:00
ReallySnow
3e9152ff93 Add AiAi allowlist
* In Android 12, Android System Intelligence (com.google.android.as) uses
  some of the Private Compute Service (com.google.android.as.oss) services.
  The absence of these Allowlists will cause Android System Intelligence
  to fail to connect to the network and cause collapse.
* We don't need to extract google.xml to fix it, just extract the AiAi part

Change-Id: I446ae5d243cff134901094f82c90a0bbf3bb4381
2023-10-29 23:23:09 +02:00
Danny Lin
d485885130 Squashed import of AiAi configs
Co-authored-by: Alessandro Astone <ales.astone@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: I78bd7d04cbd0b35f6a8c01df3a8c1013d99bbf42
2023-10-29 23:23:09 +02:00
razorloves
339bf187d0 Hide user facing crash dialog for EUICC app
The GoogleParts app disables the EUICC app when there's no GMS, but it
doesn't happen quick enough. The crash dialog pops up a few times right
after initial boot up. There's no need to alarm the user, so hide it.

Change-Id: Ia06b336b30a8886bae522c6e8a76a1ca15da5edd
2023-10-29 23:22:29 +02:00
Peter Cai
0a92be0e28 Disable Euicc when GMS and GSF are not installed
* This avoids EuiccGoogle / GoogleCarrierServices crashing, taking the
  whole telephony stack with them when no GMS or GSF is installed.
* Compared to change 274251, this approach is no-op when GAPPS add-on is
  flashed before the first boot, and thus should not cause issues with
  eSIM when GAPPS is flashed.
* With microG, this also works after installing the microG GMS & GSF
  packages and rebooting, although manual activation of the eSIM is
  needed via Settings - Network.
* The only downside is that users will still see one or two crashes
  during the first boot because our application only starts after the
  device is booted.

Change-Id: I4a11c93e855978abbf8d84fdbe4ffc8b2aedc27c
2023-10-29 23:22:29 +02:00
Android Build Coastguard Worker
80d7e99173 Merge cherrypicks of ['googleplex-android-review.googlesource.com/25159378'] into udc-qpr1-release.
Change-Id: I85f3aed1536fcb97785f040aca47e3f837165850
2023-10-27 03:36:07 +00:00
Paul Lawrence
fbfc56b8aa Run fsck to resolve possible data corruption
Trigger fsck on mount of /data if the value of ro.preventative_fsck is
not equal to the contents of /metadata/vold/preventative_fsck, then set
the file to the property to prevent future runs

See b/305658663 for context

Bug: 305658663
Test: Make sure fsck run after first boot and not after second
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e4a81c0e8f9f8d89f0e42e8fd7ec40cec6b887ed)
Merged-In: I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe
Change-Id: I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe
2023-10-27 03:32:02 +00:00
Android Build Coastguard Worker
19a776f316 Merge cherrypicks of ['googleplex-android-review.googlesource.com/25159378'] into udc-release.
Change-Id: I9e9b3d558723ffc483dc8b4048fcc96dc8e7851a
2023-10-26 19:49:52 +00:00
Paul Lawrence
cd377bf81e Run fsck to resolve possible data corruption
Trigger fsck on mount of /data if the value of ro.preventative_fsck is
not equal to the contents of /metadata/vold/preventative_fsck, then set
the file to the property to prevent future runs

See b/305658663 for context

Bug: 305658663
Test: Make sure fsck run after first boot and not after second
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:e4a81c0e8f9f8d89f0e42e8fd7ec40cec6b887ed)
Merged-In: I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe
Change-Id: I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe
2023-10-26 19:46:50 +00:00
Android Build Coastguard Worker
baaac3045c [coastguard skipped] Merge sparse cherrypicks from sparse-10873617-L38100000963723257 into udc-release.
COASTGUARD_SKIP: I67e1be25496c637c78de986f57df1b951343bd71
COASTGUARD_SKIP: I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe

Change-Id: I11015a23c68c88d6299cf5d5091103f8e50a1cea
2023-10-25 22:16:51 +00:00
Android Build Coastguard Worker
d35c6201a6 Merge cherrypicks of ['googleplex-android-review.googlesource.com/25159378'] into sparse-10873617-L38100000963723257.
SPARSE_CHANGE: I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe

Change-Id: I67e1be25496c637c78de986f57df1b951343bd71
2023-10-25 22:07:49 +00:00
Paul Lawrence
daff6b1e40 Run fsck to resolve possible data corruption
Trigger fsck on mount of /data if the value of ro.preventative_fsck is
not equal to the contents of /metadata/vold/preventative_fsck, then set
the file to the property to prevent future runs

See b/305658663 for context

Bug: 305658663
Test: Make sure fsck run after first boot and not after second
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:48bae782fc3b798b8ea57335ec6c02431af5e1a8)
Merged-In: I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe
Change-Id: I1263d2d55fe22d994ae8c8654b1e75ad9e4ddafe
2023-10-25 22:06:00 +00:00
Michael Bestas
91ed6f8e24 Include missing ConnectivityThermalPowerManager sepolicy
Change-Id: I1e0f05159a6797251ed85360966aa45246005bbd
2023-10-18 16:52:00 +03:00
Danny Lin
19d9cc5749 Allow ConnectivityThermalPowerManager to request thermal mitigation
ConnectivityThermalPowerManager mainly exists to manage thermal
mitigation.

Change-Id: I7d1ad7cb45a24697e444ac1f85ccfb507cb1ce49
2023-10-18 16:52:00 +03:00
Danny Lin
1167b25995 Configure ConnectivityThermalPowerManager
Extracted from stock RQ1A.201205.010 on redfin.

Change-Id: I71ad5adf9bf64bb1e30354446220d5769a9d44ca
2023-10-18 16:52:00 +03:00
Danny Lin
8c462c722a Enable Adaptive Connectivity setting
This feature is provided by the ConnectivityThermalPowerManager app that
we extract as a proprietary blob, so we can expose it.

Change-Id: I407e9e2235531fbca0b2c0e48b68105b1e77ad1f
2023-10-18 16:52:00 +03:00
Michael Bestas
91248b74ac Remove quick_qs_{offset,total}_height overlays
Commit 49895bb361e74ffe92a3c0b76f988c8e4697b5c1 in device/google/gs101
failed to remove these overlays. Since this tree was created from
device/google/gs101, this results in the following issue on pantah:
* Pull down status bar
* Try to adjust brightness, network settings open instead

This is caused by the 171px offset that causes the status bar
to overlap the brightness slider.

Test: Reliably adjust brightness, confirm with "Show layout bounds"
      from developer settings.
Change-Id: I1b97a28c257cb5b0faba830f29e9058d2dbe50fa
2023-10-18 16:52:00 +03:00
Nolen Johnson
a8660a0cba Set camera extension package to Google package
Change-Id: I519ebf8a1e2a9d06561471206c91c01b352ebd47
2023-10-18 16:52:00 +03:00
LuK1337
244428a3c8 overlay: Add reboot to fastbootd
Change-Id: I733b4d29129f85b92222e292af46602310b9f29f
2023-10-18 16:51:59 +03:00
Michael Bestas
f1ad67a058 Set default screen brightness
Extracted from stock.

Change-Id: I8a5e2c8717c145e66aaa0e926ceefc7e117b04c2
2023-10-18 16:51:59 +03:00
razorloves
dcdbc2bcc3 Set auto brightness mode on by default
* Stock sets this on by default, mirror that behavior.

Change-Id: I5cb8e3db27849ebd90459a6d70e053158c05bcc9
2023-10-18 16:51:59 +03:00
Danny Baumann
9626d4364f Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
2023-10-18 16:51:59 +03:00