Commit graph

7545 commits

Author SHA1 Message Date
Neel Chauhan
aaf6b69dd2
Revert "Enable compressed snapshots/VABc."
Virtual AB compression prevents GApps from being installed to
cheetah/panther.

This reverts commit 2bfa6d3ba01856d99c6ffdb64627c6e9391c4a41.

Change-Id: I119b8e042e4cdeec27a19ab5dd4f0666cc115ae1
2024-10-20 05:14:19 +03:00
Michael Bestas
d9d8e045c8
Label vendor.dolby.media.c2@1.0-service
Change-Id: I89fb4c149aed94cf2f7c3d34f7fde5877175b1e2
2024-10-20 05:14:19 +03:00
Michael Bestas
28b69b2ff9
Include missing vendor sepolicy
Change-Id: Id35fb4b22e2ee8dfafdfb8ae601ab823435d2b94
2024-10-20 05:14:19 +03:00
Chirayu Desai
ed47c869b2
Allow radio access to IOemSlsiRadioExternal
Change-Id: Ib5d57b199b3e8288cd3de0c12898f0c1d679be4a
2024-10-20 05:14:19 +03:00
Danny Lin
be8ad86ddd
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:14:19 +03:00
Michael Bestas
31b416b009
Revert "Bypass build time check for users-libs"
This reverts commit a8a4ca2748.

Change-Id: I6f61d58e2dd419cb11f2aeb4f0faf54145c6a5ce
2024-10-20 05:14:18 +03:00
ReallySnow
9d031d1f3a
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:14:18 +03:00
Danny Lin
cdad22a643
overlay: Import AiAi configs
Extracted from stock cheetah 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:14:11 +03:00
razorloves
af0177015c
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 05:06:19 +03:00
Peter Cai
ae6b90da3b
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 05:06:19 +03:00
Michael Bestas
00a959194e
Include missing ConnectivityThermalPowerManager sepolicy
Change-Id: I1e0f05159a6797251ed85360966aa45246005bbd
2024-10-20 05:06:19 +03:00
Danny Lin
46a9657228
overlay: Allow ConnectivityThermalPowerManager to request thermal mitigation
ConnectivityThermalPowerManager mainly exists to manage thermal
mitigation.

Change-Id: I7d1ad7cb45a24697e444ac1f85ccfb507cb1ce49
2024-10-20 05:06:19 +03:00
Danny Lin
570ab7d77c
overlay: Configure ConnectivityThermalPowerManager
Extracted from stock cheetah AP3A.241005.015

Change-Id: I71ad5adf9bf64bb1e30354446220d5769a9d44ca
2024-10-20 05:06:04 +03:00
Danny Lin
fdb38c807c
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-07 00:36:06 +03:00
Michael Bestas
204cdd4252
overlay: Set default screen brightness
Extracted from stock.

Change-Id: I8a5e2c8717c145e66aaa0e926ceefc7e117b04c2
2024-10-07 00:36:06 +03:00
razorloves
ac00f552ab
overlay: Set auto brightness mode on by default
* Stock sets this on by default, mirror that behavior.

Change-Id: I5cb8e3db27849ebd90459a6d70e053158c05bcc9
2024-10-07 00:36:06 +03:00
razorloves
f4ae68dae7
Set OPA property to enable google assistant
Change-Id: I741171219d64a28d56531f063f95f3f6f6cf81e6
2024-10-07 00:36:06 +03:00
razorloves
175b99bb14
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-07 00:36:06 +03:00
Michael Bestas
6a4af33716
Build Lineage Health HAL
Change-Id: I70cc903a03ac9fa3303bb8fa039c9de4806449bf
2024-10-07 00:36:06 +03:00
Alessandro Astone
8c9342bff9
Build pixel touch HAL
Change-Id: I45cff81e1159613094440dd7b2b73b53519c9de6
2024-10-07 00:36:03 +03:00
LuK1337
65f27efe24
gs201: don't inherit aosp_product.mk
This includes some unnecessary telephony bits and overrides.

Change-Id: Id75d9fd584a9981e756bb65a668ed526b4d1cd05
2024-10-06 22:15:20 +03:00
LuK1337
d001117f2d
gs201: add 'tablet' to product characteristics when needed
Change-Id: I20105565a1b313fe6ff8499b49d3691f776f9267
2024-10-06 22:15:20 +03:00
LuK1337
9c99765f12
gs201: don't explicitly build messaging
It's included via aosp_base_telephony.mk.

Change-Id: Ic260cc12fb63cf804fab1f842fad7d68b622785d
2024-10-06 22:15:20 +03:00
Michael Bestas
bf3b0099b1
gs201: exclude telephony components if BOARD_WITHOUT_RADIO
Change-Id: I0298d04c1ca814417aef275d3f6a144101d2f7a6
2024-10-06 22:15:19 +03:00
Michael Bestas
6568956564
Disable modem logging on userdebug builds
Change-Id: Ib8ebf5926ed0bcdcbb06d5b9de3a7e3409b5779c
2024-10-06 22:15:19 +03:00
Michael Bestas
4267cf4543
Add lib_aion_buffer.so to vendor linker config
This lets com.google.pixel.camera.hal.apex access it.

Change-Id: Ic01ce043eeecbc3bcc71c04f49a7c348e2b10886
2024-10-06 22:15:19 +03:00
LuK1337
c0c5e09794
Add liboemcrypto.so to vendor linker config
This lets com.google.android.widevine.apex access it.

Change-Id: I4e9654fe6317b722f5fbf43b92abb367c18640ce
2024-10-06 22:15:19 +03:00
Nolen Johnson
3e1ba7ada5
Set camera extension package to Google package
Change-Id: I519ebf8a1e2a9d06561471206c91c01b352ebd47
2024-10-06 22:15:19 +03:00
LuK1337
1301e1fcd8
overlay: Add reboot to fastbootd
Change-Id: I733b4d29129f85b92222e292af46602310b9f29f
2024-10-06 22:15:18 +03:00
Danny Baumann
81a7408c3b
overlay: Enable call recording
Change-Id: I1b4478b330b13cf5d0fe1ed0d40f43e4b3825f33
2024-10-02 09:10:33 +03:00
Michael Bestas
a052325dbf
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-02 09:10:29 +03:00
Michael Bestas
c65db776b9
overlay: Set config_nightDisplayColorTemperatureCoefficients
Extracted from stock.

Change-Id: I5d69d01204b0dd86a7205eb3b16e02f97a7f3db2
2024-10-02 09:10:24 +03:00
Danny Lin
cf7c743a58
overlay: Enable USB and skin temperature warnings
Extracted from stock.

Change-Id: I951f60579a4b7fa2dcc270b5acd433ad1ecb083c
2024-10-02 09:10:01 +03:00
Dan Pasanen
17338f0563
overlay: enable config_vibrateOnIconAnimation
* need those sexy vibes

Change-Id: If5671135879f6f4069d0ed881b41b0a243890349
2024-10-02 09:09:53 +03:00
Danny Lin
d89e10a3a0
overlay: Settings: Enable multiple vibration strength levels
All production GS201 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-02 08:58:55 +03:00
Danny Lin
01b55065b6
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-02 08:58:36 +03:00
Bruno Martins
85c5ab61c4
overlay: Pin standard SystemUI instead of Google's
Change-Id: If96bb13d6cc2c2156d8df111a1037247c96c6e0f
2024-10-02 08:58:25 +03:00
Chirayu Desai
e4a5949626
Add device manifest for radio & keymint
Change-Id: Ib6c4b28d33fb64cb05c715d86a96a829a498beac
2024-10-02 08:57:19 +03:00
Chirayu Desai
6ecd83c43d
Build vbmeta_vendor
Change-Id: I74c028a2e5ade8830526e95f8ec90b1a1da35afb
2024-10-02 08:57:12 +03:00
Chirayu Desai
d359aa0aee
Build vendor
Change-Id: I08dff42223ae54386a5ed050b51aa4a39e08bdb6
2024-10-02 08:57:03 +03:00
Chirayu Desai
538b6bb734
Build vendor_dlkm
Change-Id: Ic2a0e4cdfdcc448a73bef41e0d2140e9d0aefcf0
2024-10-02 08:56:57 +03:00
mydongistiny
f09cb17b35
gs201: 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-02 08:56:44 +03:00
Chirayu Desai
986d113d5b
gs201: Add initial Lineage common makefiles
Change-Id: I8136e9f0df40ca3bf96dbfd2453275481178cdaa
2024-10-02 08:56:07 +03:00
Michael Bestas
e11647575d
gs201: Update sepolicy path
Change-Id: I428e79c2c49f27a1245f21876b916aee513db06b
2024-10-01 20:26:30 +03:00
Michael Bestas
e910fc4eb6
Add .gitupstream
Change-Id: I79747ef989659c069386a6ed34a59bba2e8ea860
2024-10-01 20:24:29 +03:00
Michael Bestas
fd31c0c64a
Add 'sepolicy/' from tag 'android-15.0.0_r1'
git-subtree-dir: sepolicy
git-subtree-mainline: 5cd89d8075
git-subtree-split: 4a08341dea
Change-Id: I48384ddf513f6de75e77a5c55ff848498a5e88b6
2024-10-01 20:19:02 +03:00
Android Build Coastguard Worker
5cd89d8075 Snap for 11973804 from cb51a640f4 to 24Q3-release
Change-Id: I28d9b5204972734074d7a8b2d33d62774504a024
2024-06-15 01:02:09 +00:00
Kyle Tso
cb51a640f4 usb: Log for retry on role switch
Add a log for the retry. Also define the sleep time in the header file.

Bug: 341996696
Change-Id: Ib3cc0c6ad576e7cda26b7f50cdc61d52e6349c78
Signed-off-by: Kyle Tso <kyletso@google.com>
(cherry picked from commit d17fdff5f81cff76adaa75d50f26318be8048123)
2024-06-13 17:09:11 +08:00
Kyle Tso
d8fffffda4 usb: Add retry on role switch
Bug: 341996696
Change-Id: I8caa65288af1588d24fea4aa6c5768d45d69bbd5
Signed-off-by: Kyle Tso <kyletso@google.com>
(cherry picked from commit ef5856a4474002cc35a51377adffddd4cb239796)
2024-06-13 17:07:23 +08:00
Android Build Coastguard Worker
4ca9ebf1e7 Snap for 11959661 from 76de5fed8d to 24Q3-release
Change-Id: I84006a86a034ad52c29ba02018b8242c2b29354a
2024-06-12 23:02:26 +00:00