Commit graph

11256 commits

Author SHA1 Message Date
Ethan Chen
30885811ec
Disable userdebug diagnostics
* We can't make use of most of the debug features on userdebug builds.

Change-Id: I31df2090b31243b742c4e82dc08cd8491dada54f
2024-10-20 05:01:11 +03:00
basamaryan
1e568cb3ba
gs101: Drop unnecessary BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE flag
Change-Id: Ibb96c529ac64239d7bb919e46f5a625a6deebf98
2024-10-20 05:01:11 +03:00
Michael Bestas
1a406939d0
gs101: overlay: Disable Wi-Fi verbose logging by default
Change-Id: Iafe9f4b83d157906ca6b9114db52ab27b1a01878
2024-10-20 05:01:11 +03:00
Michael Bestas
83c2fccfd1
gs101: overlay: Enable battery cycle count
Change-Id: I92bc8363e1c9e2ad54c29a0a30dce992e25f697d
2024-10-20 05:01:11 +03:00
Michael Bestas
7c3c38d5fe
Add lineage.dependencies
Change-Id: I69ea95e240cca3f3b700ae68a4853e5a4d4fd5bc
2024-10-20 05:01:10 +03:00
Michael Bestas
07d9b27865
gs101: Inherit common partition reserved sizes
Change-Id: I444ce2fcd37cdfa58d83a7e872dc547fb05a2a89
2024-10-20 05:01:10 +03:00
Rashed Abdel-Tawab
6eab34d3ec
gs101: Build a disabled vbmeta image
Co-authored-by: Nolen Johnson <johnsonnolen@gmail.com>
Change-Id: Ie8f1e0929b037b35b5e45c2e31be9253fa0bb097
2024-10-20 05:01:10 +03:00
Neel Chauhan
899e4a029b
Revert "Enable compressed snapshots/VABc."
Virtual AB compression prevents GApps from being installed to
raviole/bluejay.

This reverts commit 2bfa6d3ba0.

Change-Id: I119b8e042e4cdeec27a19ab5dd4f0666cc115ae1
2024-10-20 05:01:10 +03:00
Michael Bestas
708353ecbe
Label vendor.dolby.media.c2@1.0-service
Change-Id: I89fb4c149aed94cf2f7c3d34f7fde5877175b1e2
2024-10-20 05:01:10 +03:00
Michael Bestas
9755c57d0a
Include missing vendor sepolicy
Change-Id: Id35fb4b22e2ee8dfafdfb8ae601ab823435d2b94
2024-10-20 05:01:10 +03:00
Danny Lin
4ede65e7df
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
2024-10-20 05:01:10 +03:00
ReallySnow
89d909aec9
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
2024-10-20 05:01:10 +03:00
Danny Lin
f694f31cda
overlay: Import AiAi configs
Extracted from stock raven AP3A.241005.015

Co-authored-by: Alessandro Astone <ales.astone@gmail.com>
Co-authored-by: Michael Bestas <mkbestas@lineageos.org>
Change-Id: I78bd7d04cbd0b35f6a8c01df3a8c1013d99bbf42
2024-10-20 05:00:59 +03:00
razorloves
288e89f5cc
overlay: 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
2024-10-20 04:48:56 +03:00
Peter Cai
1e56ae9f1c
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
2024-10-20 04:48:56 +03:00
Michael Bestas
9e6928be12
Include missing ConnectivityThermalPowerManager sepolicy
Change-Id: I1e0f05159a6797251ed85360966aa45246005bbd
2024-10-20 04:48:56 +03:00
Danny Lin
09ef3ecd9c
overlay: Allow ConnectivityThermalPowerManager to request thermal mitigation
ConnectivityThermalPowerManager mainly exists to manage thermal
mitigation.

Change-Id: I7d1ad7cb45a24697e444ac1f85ccfb507cb1ce49
2024-10-20 04:48:55 +03:00
Danny Lin
78b501c9b3
overlay: Configure ConnectivityThermalPowerManager
Extracted from stock raven AP3A.241005.015

Change-Id: I71ad5adf9bf64bb1e30354446220d5769a9d44ca
2024-10-20 04:48:24 +03:00
Danny Lin
0e2f47c9be
overlay: 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
2024-09-29 19:37:14 +03:00
Michael Bestas
ada5de6bea
overlay: Set default screen brightness
Extracted from stock.

Change-Id: I8a5e2c8717c145e66aaa0e926ceefc7e117b04c2
2024-09-29 19:37:14 +03:00
razorloves
1a7e850216
overlay: Set auto brightness mode on by default
* Stock sets this on by default, mirror that behavior.

Change-Id: I5cb8e3db27849ebd90459a6d70e053158c05bcc9
2024-09-29 19:37:14 +03:00
razorloves
582e218e9f
Set OPA property to enable google assistant
Change-Id: I741171219d64a28d56531f063f95f3f6f6cf81e6
2024-09-29 19:37:13 +03:00
razorloves
9028070b57
overlay: Use CarrierSettings app instead of CarrierConfig
The CarrierSettings app enables/disables carrier apps based on sim
inserted, so use it instead of CarrierConfig.

Change-Id: I163dd615e9d8268c5f94a28ae234a30f74c7e83b
2024-09-29 19:37:13 +03:00
Cyan_Hsieh
213df86981
gs101: Add pvmfw to AB_OTA_PARTITIONS
Bug: 209706293
Change-Id: I13f3f1c02dd6687226936b45852742701d185ced
2024-09-29 19:37:13 +03:00
Michael Bestas
f77e336456
Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2024-09-29 19:37:13 +03:00
Alessandro Astone
9e8738a248
Build pixel touch HAL
Change-Id: I45cff81e1159613094440dd7b2b73b53519c9de6
2024-09-29 19:37:13 +03:00
Michael Bestas
5865285289
Disable modem logging on userdebug builds
Change-Id: Ib8ebf5926ed0bcdcbb06d5b9de3a7e3409b5779c
2024-09-29 19:37:13 +03:00
Michael Bestas
7f719f7dab
Add lib_aion_buffer.so to vendor linker config
This lets com.google.pixel.camera.hal.apex access it.

Change-Id: Ic01ce043eeecbc3bcc71c04f49a7c348e2b10886
2024-09-29 19:37:13 +03:00
LuK1337
d44671675c
Add liboemcrypto.so to vendor linker config
This lets com.google.android.widevine.apex access it.

Change-Id: I4e9654fe6317b722f5fbf43b92abb367c18640ce
2024-09-29 19:37:13 +03:00
Eamon Powell
3fe2bb3903
Don't copy aosp_excluded_hardware.xml to vendor
Change-Id: I9ae662e47b4bf8d9506f3938d9f4217acf947dc2
2024-09-29 19:37:13 +03:00
Nolen Johnson
a346b6de0c
Set camera extension package to Google package
Change-Id: I519ebf8a1e2a9d06561471206c91c01b352ebd47
2024-09-29 19:37:12 +03:00
LuK1337
fae23b8d62
overlay: Add reboot to fastbootd
Change-Id: I733b4d29129f85b92222e292af46602310b9f29f
2024-09-29 19:37:12 +03:00
Jesse Chan
5a462c4418
overlay: Enable option for full screen aspect ratio
Change-Id: I2a1b2acc5ed97ccb6795dc371c2b3ac9cb4f9d03
2024-09-29 19:37:12 +03:00
Danny Baumann
0965e5d444
overlay: Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
2024-09-29 19:37:12 +03:00
Michael Bestas
eea1068c28
overlay: Remove quick_qs_{offset,total}_height overlays
Commit 49895bb361e74ffe92a3c0b76f988c8e4697b5c1 failed to remove
these overlays and this results in the following issue on raviole:
* 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
2024-09-29 19:37:12 +03:00
Michael Bestas
44f26f13ab
overlay: Set config_nightDisplayColorTemperatureCoefficients
Extracted from stock.

Change-Id: I5d69d01204b0dd86a7205eb3b16e02f97a7f3db2
2024-09-29 19:37:12 +03:00
Danny Lin
66dfe75b8e
overlay: Enable USB and skin temperature warnings
Extracted from stock.

Change-Id: I951f60579a4b7fa2dcc270b5acd433ad1ecb083c
2024-09-29 19:37:12 +03:00
Dan Pasanen
99c40e6695
overlay: enable config_vibrateOnIconAnimation
* need those sexy vibes

Change-Id: If5671135879f6f4069d0ed881b41b0a243890349
2024-09-29 19:37:12 +03:00
Danny Lin
ae37e37a4a
overlay: Settings: Enable multiple vibration strength levels
All production GS101 devices have CS40L2x haptic driver ICs that support
multiple intensities, so expose the Off/Low/Medium/High vibration
strength options like stock.

Co-authored-by: Michael Bestas <mkbestas@gmail.com>
Change-Id: I72645b5bd5772e182592a630df86f9b6166b4923
2024-09-29 19:37:12 +03:00
Danny Lin
438c93ba0c
overlay: Settings: Override boosted color mode
The Pixel 6 series of devices (raven/oriole) uses vendor color mode 256
for Boosted, rather than the AOSP color mode 1.

Change-Id: I046b24f86ecc8b13ee4ac7485d143843c21bd9d5
2024-09-29 19:37:12 +03:00
Danny Lin
efc353f78a
overlay: Don't pin camera app in memory
The default camera app can be *huge* in some cases, e.g. when the app in
question is Google Camera. The system will only pin up to the first 80
MiB of the APK file, as well as the first 80 MiB of its odex. There are
several problems with this:

  - We could easily end up with 160 MiB of camera app files pinned,
    which is a tall order with the 6 GiB of usable RAM that we have
  - The data that gets pinned may not even be the most critical data for
    launching the camera

Let's disable pinning of the camera app to save RAM.

Change-Id: I745e39b6ff212dfaf9213517d2a2be8ff7384e24
2024-09-29 19:37:11 +03:00
Bruno Martins
382ad3c7c2
overlay: Pin standard SystemUI instead of Google's
Change-Id: If96bb13d6cc2c2156d8df111a1037247c96c6e0f
2024-09-29 19:37:11 +03:00
Chirayu Desai
783261fba4
Build EuiccSupportPixelOverlay
Change-Id: I46db4122b89798457338f6751982865571529ba6
2024-09-29 19:37:11 +03:00
Chirayu Desai
5c09f3cdaa
Add device manifest for radio
Change-Id: Ib6c4b28d33fb64cb05c715d86a96a829a498beac
2024-09-29 19:37:11 +03:00
Chirayu Desai
d55beb7e17
Build vbmeta_vendor
Change-Id: I74c028a2e5ade8830526e95f8ec90b1a1da35afb
2024-09-29 19:37:11 +03:00
Chirayu Desai
868ff1dd9c
Build vendor
Change-Id: I08dff42223ae54386a5ed050b51aa4a39e08bdb6
2024-09-29 19:37:11 +03:00
Chirayu Desai
aaccc032d7
Build vendor_dlkm
Change-Id: Ic2a0e4cdfdcc448a73bef41e0d2140e9d0aefcf0
2024-09-29 19:37:11 +03:00
Chirayu Desai
fc2577c27b
Allow building vendor image
* We don't have access to these files, but we still want to
  build vendor images without errors

Change-Id: I4c09f7134b218b5fc10d180a6ef05015cad54f5d
2024-09-29 19:37:11 +03:00
mydongistiny
6bf56e5e85
gs101: Use Google's wifi_ext service
* Use vendor.google.wifi_ext@1.0-service
  that is in the vendor partition instead
  of the AOSP WiFi service.

Change-Id: Ia0fff6ffc532cc6b5e41f8ac242d00e64627cee8
2024-09-29 19:37:11 +03:00
Chirayu Desai
d7c657ef9b
gs101: Add initial Lineage common makefiles
Change-Id: I8136e9f0df40ca3bf96dbfd2453275481178cdaa
2024-09-29 19:37:11 +03:00