Commit graph

1884 commits

Author SHA1 Message Date
Michael Bestas
b005aff89b
Include missing vendor sepolicy
Change-Id: Id35fb4b22e2ee8dfafdfb8ae601ab823435d2b94
2024-10-27 22:51:29 +02:00
Chirayu Desai
b5fcbc71e1
Allow radio access to IOemSlsiRadioExternal
Change-Id: Ib5d57b199b3e8288cd3de0c12898f0c1d679be4a
2024-10-27 22:51:29 +02:00
Danny Lin
dcd8b2581e
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-27 22:51:29 +02:00
Michael Bestas
4a1da208a7
Unset PRODUCT_BROKEN_VERIFY_USES_LIBRARIES
Change-Id: I6f61d58e2dd419cb11f2aeb4f0faf54145c6a5ce
2024-10-27 22:51:28 +02:00
ReallySnow
3e1af0ec9b
zumapro: 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-27 22:51:28 +02:00
Danny Lin
9d1b0cf564
overlay: Import AiAi configs
Extracted from stock comet 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-27 22:51:28 +02:00
razorloves
fdf589e4a2
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-27 22:51:28 +02:00
Peter Cai
ff57b774d2
zuma: 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-27 22:51:28 +02:00
Michael Bestas
fbc4a55c4e
Include missing ConnectivityThermalPowerManager sepolicy
Change-Id: I1e0f05159a6797251ed85360966aa45246005bbd
2024-10-27 22:51:28 +02:00
Danny Lin
e2cd666fc3
overlay: Allow ConnectivityThermalPowerManager to request thermal mitigation
ConnectivityThermalPowerManager mainly exists to manage thermal
mitigation.

Change-Id: I7d1ad7cb45a24697e444ac1f85ccfb507cb1ce49
2024-10-27 13:41:44 +02:00
Danny Lin
58a7bffd7a
overlay: Configure ConnectivityThermalPowerManager
Extracted from stock comet AP3A.241005.015

Change-Id: I71ad5adf9bf64bb1e30354446220d5769a9d44ca
2024-10-27 13:41:32 +02:00
Danny Lin
3411b435d5
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-10-27 13:39:39 +02:00
Michael Bestas
49d4da4c3f
overlay: Set default screen brightness
Extracted from stock.

Change-Id: I8a5e2c8717c145e66aaa0e926ceefc7e117b04c2
2024-10-27 13:39:35 +02:00
razorloves
b108d12870
overlay: Set auto brightness mode on by default
* Stock sets this on by default, mirror that behavior.

Change-Id: I5cb8e3db27849ebd90459a6d70e053158c05bcc9
2024-10-27 13:39:32 +02:00
razorloves
e3df929808
Set OPA property to enable google assistant
Change-Id: I741171219d64a28d56531f063f95f3f6f6cf81e6
2024-10-27 13:39:26 +02:00
razorloves
fad924a57f
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-10-27 13:39:10 +02:00
Michael Bestas
274eca8334
Add aam HAL to compatibility matrix
Change-Id: I778cd13c318afc6048fff4b317bb6974dcc0da24
2024-10-27 13:38:43 +02:00
Michael Bestas
74f1969be3
Add android.hardware.gnss AIDL to compatibility matrix
Change-Id: I131aafa886ec5a1eef8a104fead2821a7dac56cd
2024-10-27 13:38:18 +02:00
Michael Bestas
563f61c1a2
Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2024-10-27 13:37:34 +02:00
Alessandro Astone
f8c4df185c
Build pixel touch HAL
Change-Id: I45cff81e1159613094440dd7b2b73b53519c9de6
2024-10-27 13:37:16 +02:00
Michael Bestas
05df66a6f1
Disable modem logging on userdebug builds
Change-Id: Ib8ebf5926ed0bcdcbb06d5b9de3a7e3409b5779c
2024-10-27 13:36:55 +02:00
Michael Bestas
18b6a40497
Add lib_aion_buffer.so to vendor linker config
This lets com.google.pixel.camera.hal.apex access it.

Change-Id: Ic01ce043eeecbc3bcc71c04f49a7c348e2b10886
2024-10-27 13:36:52 +02:00
LuK1337
3b8ef08a3e
Add liboemcrypto.so to vendor linker config
This lets com.google.android.widevine.apex access it.

Change-Id: I4e9654fe6317b722f5fbf43b92abb367c18640ce
2024-10-27 13:36:47 +02:00
Nolen Johnson
3749d1049a
Set camera extension package to Google package
Change-Id: I519ebf8a1e2a9d06561471206c91c01b352ebd47
2024-10-27 13:36:13 +02:00
LuK1337
339b95a91f
overlay: Add reboot to fastbootd
Change-Id: I733b4d29129f85b92222e292af46602310b9f29f
2024-10-27 13:35:43 +02:00
Danny Baumann
4c607203b0
overlay: Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
2024-10-27 13:35:15 +02:00
Michael Bestas
ac078867e5
overlay: 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
2024-10-27 13:34:50 +02:00
Michael Bestas
c86cca58eb
overlay: Set config_nightDisplayColorTemperatureCoefficients
Extracted from stock.

Change-Id: I5d69d01204b0dd86a7205eb3b16e02f97a7f3db2
2024-10-27 13:34:44 +02:00
Danny Lin
5a1adfbb73
overlay: Enable USB and skin temperature warnings
Extracted from stock.

Change-Id: I951f60579a4b7fa2dcc270b5acd433ad1ecb083c
2024-10-27 13:34:40 +02:00
Dan Pasanen
313e8bcd5a
overlay: enable config_vibrateOnIconAnimation
* need those sexy vibes

Change-Id: If5671135879f6f4069d0ed881b41b0a243890349
2024-10-27 13:34:36 +02:00
Danny Lin
23395bf988
overlay: Settings: Enable multiple vibration strength levels
All production zumapro 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-10-27 13:34:22 +02:00
Danny Lin
209adf1a7f
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-10-27 13:34:10 +02:00
Bruno Martins
5370d204d1
overlay: Pin standard SystemUI instead of Google's
Change-Id: If96bb13d6cc2c2156d8df111a1037247c96c6e0f
2024-10-27 13:34:06 +02:00
Chirayu Desai
694a1134c2
Add device manifest for radio & keymint
Change-Id: Ib6c4b28d33fb64cb05c715d86a96a829a498beac
2024-10-27 13:33:47 +02:00
Chirayu Desai
125c72b2d0
Build vbmeta_vendor
Change-Id: I74c028a2e5ade8830526e95f8ec90b1a1da35afb
2024-10-27 13:32:32 +02:00
Chirayu Desai
20b46552b1
Build vendor
Change-Id: I08dff42223ae54386a5ed050b51aa4a39e08bdb6
2024-10-27 13:32:32 +02:00
Chirayu Desai
a6b66b0fa3
Build vendor_dlkm
Change-Id: Ic2a0e4cdfdcc448a73bef41e0d2140e9d0aefcf0
2024-10-27 13:32:32 +02:00
mydongistiny
cff30f5646
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-10-27 13:32:32 +02:00
Chirayu Desai
b97b66cf48
Add initial Lineage common makefiles
Change-Id: I8136e9f0df40ca3bf96dbfd2453275481178cdaa
2024-10-27 13:32:08 +02:00
Wei Li
e08b2f6e3d
Remove device/google/zumapro/Android.mk which is not needed any more since there are no other Android.mk files in subdirectories.
Bug: 372291867
Change-Id: I87dce34ae1d1f6587f1b3ad927e710c7dd61b7ca
Test: CIs
2024-10-27 13:31:07 +02:00
Michael Bestas
ae76cd8c12
zumapro: Update sepolicy path
Change-Id: Ie2d420cd25e1a8b65977504ed987df57b525dc5f
2024-10-27 13:30:22 +02:00
Michael Bestas
c19447832e
Add .gitupstream
Change-Id: I79747ef989659c069386a6ed34a59bba2e8ea860
2024-10-27 13:28:03 +02:00
Michael Bestas
eabe516eef
Add 'sepolicy/' from tag 'android-15.0.0_r2'
git-subtree-dir: sepolicy
git-subtree-mainline: 68bba197f4
git-subtree-split: 36623ceb5d
Change-Id: I8abfa4d1b1cb245da2c562eed56c4f8c78ae0ede
2024-10-27 13:25:24 +02:00
Michael Bestas
68bba197f4 Android 15.0.0 Release 2 (AP3A.241005.015)
-----BEGIN PGP SIGNATURE-----
 
 iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZw2AjgAKCRDorT+BmrEO
 eA/mAJ9ISckUYjHyEsXuC3vIXTRUzmAiGQCghTGlKxIhWuPo27MRWFolGYkRFnk=
 =UTsK
 -----END PGP SIGNATURE-----
gpgsig -----BEGIN SSH SIGNATURE-----
 U1NIU0lHAAAAAQAAADMAAAALc3NoLWVkMjU1MTkAAAAgPpdpjxPACTIhnlvYz0GM4BR7FJ
 +rYv3jMbfxNKD3JvcAAAADZ2l0AAAAAAAAAAZzaGE1MTIAAABTAAAAC3NzaC1lZDI1NTE5
 AAAAQKsK2WpJPvpyjefwsDdPNXklVoXDHPhEC6PE8deBGLOhNTO8PV2XxtbVBb4Iki1BO2
 /gekYZ5e+lO1Z7ALJX+wI=
 -----END SSH SIGNATURE-----

Merge tag 'android-15.0.0_r2' into staging/lineage-22.0_merge-android-15.0.0_r2

Android 15.0.0 Release 2 (AP3A.241005.015)

# -----BEGIN PGP SIGNATURE-----
#
# iF0EABECAB0WIQRDQNE1cO+UXoOBCWTorT+BmrEOeAUCZw2AjgAKCRDorT+BmrEO
# eA/mAJ9ISckUYjHyEsXuC3vIXTRUzmAiGQCghTGlKxIhWuPo27MRWFolGYkRFnk=
# =UTsK
# -----END PGP SIGNATURE-----
# gpg: Signature made Mon Oct 14 23:35:26 2024 EEST
# 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 2631 signatures in the past
#      2 years.  Encrypted 4 messages in the past 2 years.
# 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 Chinmay Dhodapkar
# Via Android Build Coastguard Worker
* tag 'android-15.0.0_r2':
  Fwk timeout for enable/disable should be greater than the max time PSS takes to enable/disable

Change-Id: Idf15d3f0fd59a968570954c93762303c54ee936c
2024-10-27 13:23:59 +02:00
Android Build Coastguard Worker
bdce5874f8 Merge cherrypicks of ['googleplex-android-review.googlesource.com/28808128'] into 24Q3-release.
Change-Id: I54a037b3d5df94046ad2df44352cb919ad0fed4e
2024-08-21 00:08:26 +00:00
Chinmay Dhodapkar
1e343397d5 Fwk timeout for enable/disable should be greater than the max time PSS takes to enable/disable
Bug: 359928177
Test: basic esos
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:c0c63a37813641d31618304b46686925b3a16ee7)
Merged-In: I2afa1d8115e2b95f48560427882282f8bf805cb0
Change-Id: I2afa1d8115e2b95f48560427882282f8bf805cb0
2024-08-21 00:07:03 +00:00
Android Build Coastguard Worker
36623ceb5d Merge cherrypicks of ['googleplex-android-review.googlesource.com/28410444'] into 24Q3-release.
Change-Id: Ibeb361848a658d143269a7c7b86d38da2f2e079b
2024-07-23 00:22:37 +00:00
Android Build Coastguard Worker
0c136391ea Merge cherrypicks of ['googleplex-android-review.googlesource.com/28411012'] into 24Q3-release.
Change-Id: Ief207b39775ddd14d092db5bd1ede8f77097224f
2024-07-23 00:22:33 +00:00
Jeremy DeHaan
bc59de7fe8 Allow HWC to access frame_rate node
Flag: EXEMPT bugfix
Bug: 346461765
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
(cherry picked from commit b3d863d552)
(cherry picked from commit d5304a1144)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:23199995aa113db6bc1fd8d1e3ae53742ac14d82)
Merged-In: Id7b3195e76cdce3e612eb9c9d177af24145e70a2
Change-Id: Id7b3195e76cdce3e612eb9c9d177af24145e70a2
2024-07-23 00:13:45 +00:00
Jeremy DeHaan
9c87f41357 zumapro: HWC access to panel frame_rate node
Flag: EXEMPT bugfix
Bug: 346461765
Signed-off-by: Jeremy DeHaan <jdehaan@google.com>
(cherry picked from commit b2427428e5)
(cherry picked from commit 3e8967723f)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:85254d6dee1d216dde7b1a23fc76594c422fcecd)
Merged-In: I2cdbd8126e5684891b6424d262aa505d2aa641b7
Change-Id: I2cdbd8126e5684891b6424d262aa505d2aa641b7
2024-07-23 00:13:28 +00:00