├── self-extractors_oriole ├── Android.mk ├── PROLOGUE ├── google_devices │ ├── COPYRIGHT │ └── staging │ │ ├── BoardConfigPartial.mk │ │ ├── device-partial.mk │ │ └── Android.bp.txt ├── PART3 ├── root │ ├── android-info.txt │ └── proprietary │ │ ├── BoardConfigVendor.mk │ │ └── device-vendor.mk ├── PART1 ├── PART2 └── extract-lists.txt ├── self-extractors_raven ├── Android.mk ├── PROLOGUE ├── google_devices │ ├── COPYRIGHT │ └── staging │ │ ├── BoardConfigPartial.mk │ │ ├── Android.bp.txt │ │ └── device-partial.mk ├── PART3 ├── root │ ├── android-info.txt │ └── proprietary │ │ ├── BoardConfigVendor.mk │ │ └── device-vendor.mk ├── PART1 ├── PART2 └── extract-lists.txt ├── board-info.txt ├── .gitupstream ├── nfc ├── libse-gto-hal.conf ├── libse-gto-hal2.conf ├── manifest_se.xml └── manifest_nfc.xml ├── oriole ├── overlay_packages │ ├── DeviceAsWebcamOriole │ │ ├── OWNERS │ │ ├── res │ │ │ └── raw │ │ │ │ └── physical_camera_mapping.json │ │ ├── Android.bp │ │ └── AndroidManifest.xml │ ├── SettingsOverlayG9S9B │ │ ├── res │ │ │ └── drawable │ │ │ │ └── regulatory_info.png │ │ ├── Android.bp │ │ └── AndroidManifest.xml │ ├── SettingsOverlayGB7N6 │ │ ├── res │ │ │ └── drawable │ │ │ │ └── regulatory_info.png │ │ ├── Android.bp │ │ └── AndroidManifest.xml │ └── SettingsOverlayGR1YH │ │ ├── res │ │ └── drawable │ │ │ └── regulatory_info.png │ │ ├── Android.bp │ │ └── AndroidManifest.xml ├── display_golden_cal0.pb ├── display_colordata_dev_cal0.pb ├── rro_overlays │ └── HbmSVManagerOverlay │ │ ├── res │ │ ├── drawable │ │ │ ├── SCI_0_cal0.png │ │ │ ├── SCI_1_cal0.png │ │ │ ├── SCI_2_cal0.png │ │ │ ├── SCI_3_cal0.png │ │ │ ├── SCI_4_cal0.png │ │ │ ├── SCI_5_cal0.png │ │ │ └── SCI_6_cal0.png │ │ └── values │ │ │ └── config.xml │ │ ├── Android.bp │ │ └── AndroidManifest.xml ├── BoardConfigLineage.mk ├── proprietary-firmware.txt ├── device-lineage.mk ├── vendor.prop ├── overlay │ ├── packages │ │ ├── apps │ │ │ ├── OMA-DM │ │ │ │ └── DMService │ │ │ │ │ └── res │ │ │ │ │ └── values │ │ │ │ │ └── config.xml │ │ │ └── Nfc │ │ │ │ └── res │ │ │ │ └── values │ │ │ │ └── config.xml │ │ └── services │ │ │ └── AlternativeNetworkAccess │ │ │ └── res │ │ │ └── values │ │ │ └── config.xml │ └── frameworks │ │ └── base │ │ ├── core │ │ └── res │ │ │ └── res │ │ │ ├── values │ │ │ └── dimens.xml │ │ │ └── xml │ │ │ └── irq_device_map.xml │ │ └── packages │ │ └── SystemUI │ │ └── res │ │ ├── values-land │ │ └── dimen.xml │ │ ├── drawable │ │ ├── rounded_corner_bottom.xml │ │ └── rounded_corner_top.xml │ │ └── values │ │ └── dimens.xml ├── setup-makefiles.sh ├── regen-carriersettings.sh ├── overlay-lineage │ └── packages │ │ └── apps │ │ └── Aperture │ │ └── app │ │ └── src │ │ └── main │ │ └── res │ │ └── values │ │ └── config.xml ├── BoardConfig.mk └── extract-files.sh ├── raven ├── overlay_packages │ ├── DeviceAsWebcamRaven │ │ ├── OWNERS │ │ ├── res │ │ │ └── raw │ │ │ │ └── physical_camera_mapping.json │ │ ├── Android.bp │ │ └── AndroidManifest.xml │ ├── SettingsOverlayG8V0U │ │ ├── res │ │ │ └── drawable │ │ │ │ └── regulatory_info.png │ │ ├── Android.bp │ │ └── AndroidManifest.xml │ ├── SettingsOverlayGF5KQ │ │ ├── res │ │ │ └── drawable │ │ │ │ └── regulatory_info.png │ │ ├── Android.bp │ │ └── AndroidManifest.xml │ └── SettingsOverlayGLU0G │ │ ├── res │ │ └── drawable │ │ │ └── regulatory_info.png │ │ ├── Android.bp │ │ └── AndroidManifest.xml ├── display_golden_cal0.pb ├── display_colordata_dev_cal0.pb ├── rro_overlays │ └── UwbOverlay │ │ ├── OWNERS │ │ ├── Android.bp │ │ ├── AndroidManifest.xml │ │ └── res │ │ └── values │ │ └── config.xml ├── BoardConfigLineage.mk ├── proprietary-firmware.txt ├── device-lineage.mk ├── overlay │ ├── packages │ │ ├── apps │ │ │ ├── OMA-DM │ │ │ │ └── DMService │ │ │ │ │ └── res │ │ │ │ │ └── values │ │ │ │ │ └── config.xml │ │ │ └── Nfc │ │ │ │ └── res │ │ │ │ └── values │ │ │ │ └── config.xml │ │ └── services │ │ │ └── AlternativeNetworkAccess │ │ │ └── res │ │ │ └── values │ │ │ └── config.xml │ └── frameworks │ │ └── base │ │ ├── core │ │ └── res │ │ │ └── res │ │ │ ├── values │ │ │ └── dimens.xml │ │ │ └── xml │ │ │ └── irq_device_map.xml │ │ └── packages │ │ └── SystemUI │ │ └── res │ │ ├── values-land │ │ └── dimen.xml │ │ ├── drawable │ │ ├── rounded_corner_bottom.xml │ │ └── rounded_corner_top.xml │ │ └── values │ │ └── dimens.xml ├── vendor.prop ├── setup-makefiles.sh ├── regen-carriersettings.sh ├── BoardConfig.mk ├── overlay-lineage │ └── packages │ │ └── apps │ │ └── Aperture │ │ └── app │ │ └── src │ │ └── main │ │ └── res │ │ └── values │ │ └── config.xml └── extract-files.sh ├── radio ├── oriole_camera_rear_wide_mipi_coex_table.csv ├── raven_camera_rear_tele_mipi_coex_table.csv ├── oriole_display_mipi_coex_table.csv └── oriole_camera_front_mipi_coex_table.csv ├── BoardConfigLineage.mk ├── audio ├── raven │ ├── tuning │ │ ├── fortemedia │ │ │ ├── HANDSET.dat │ │ │ ├── HEADSET.dat │ │ │ ├── BLUETOOTH.dat │ │ │ ├── HANDSFREE.dat │ │ │ └── mcps.dat │ │ ├── waves │ │ │ ├── waves_preset.mps │ │ │ └── tests │ │ │ │ └── test_preset.mps │ │ └── bluenote │ │ │ └── recording.gatf │ ├── cs35l41 │ │ └── fw │ │ │ ├── cs35l41-dsp1-spk-cali.bin │ │ │ ├── cs35l41-dsp1-spk-cali.wmfw │ │ │ ├── cs35l41-dsp1-spk-diag.bin │ │ │ ├── cs35l41-dsp1-spk-diag.wmfw │ │ │ ├── cs35l41-dsp1-spk-prot.bin │ │ │ ├── cs35l41-dsp1-spk-prot.wmfw │ │ │ ├── R-cs35l41-dsp1-spk-cali.bin │ │ │ ├── R-cs35l41-dsp1-spk-diag.bin │ │ │ └── R-cs35l41-dsp1-spk-prot.bin │ ├── factory-audio-tables.mk │ └── config │ │ └── sound_trigger_configuration.xml ├── oriole │ ├── tuning │ │ ├── bluenote │ │ │ └── recording.gatf │ │ ├── fortemedia │ │ │ ├── BLUETOOTH.dat │ │ │ ├── HANDSET.dat │ │ │ ├── HANDSFREE.dat │ │ │ ├── HEADSET.dat │ │ │ └── mcps.dat │ │ └── waves │ │ │ ├── waves_preset.mps │ │ │ └── tests │ │ │ └── test_preset.mps │ ├── cs35l41 │ │ └── fw │ │ │ ├── cs35l41-dsp1-spk-cali.bin │ │ │ ├── cs35l41-dsp1-spk-diag.bin │ │ │ ├── cs35l41-dsp1-spk-prot.bin │ │ │ ├── R-cs35l41-dsp1-spk-cali.bin │ │ │ ├── R-cs35l41-dsp1-spk-diag.bin │ │ │ ├── R-cs35l41-dsp1-spk-prot.bin │ │ │ ├── cs35l41-dsp1-spk-cali.wmfw │ │ │ ├── cs35l41-dsp1-spk-diag.wmfw │ │ │ └── cs35l41-dsp1-spk-prot.wmfw │ ├── factory-audio-tables.mk │ └── config │ │ └── sound_trigger_configuration.xml ├── slider │ ├── tuning │ │ ├── bluenote │ │ │ └── recording.gatf │ │ ├── fortemedia │ │ │ ├── BLUETOOTH.dat │ │ │ ├── HANDSET.dat │ │ │ ├── HANDSFREE.dat │ │ │ ├── HEADSET.dat │ │ │ └── mcps.dat │ │ └── waves │ │ │ ├── waves_preset.mps │ │ │ └── tests │ │ │ └── test_preset.mps │ ├── cs35l41 │ │ └── fw │ │ │ ├── cs35l41-dsp1-spk-cali.bin │ │ │ ├── cs35l41-dsp1-spk-diag.bin │ │ │ ├── cs35l41-dsp1-spk-prot.bin │ │ │ ├── R-cs35l41-dsp1-spk-cali.bin │ │ │ ├── R-cs35l41-dsp1-spk-diag.bin │ │ │ ├── R-cs35l41-dsp1-spk-prot.bin │ │ │ ├── cs35l41-dsp1-spk-cali.wmfw │ │ │ ├── cs35l41-dsp1-spk-diag.wmfw │ │ │ └── cs35l41-dsp1-spk-prot.wmfw │ ├── factory-audio-tables.mk │ └── config │ │ └── sound_trigger_configuration.xml └── whitefin │ ├── tuning │ ├── fortemedia │ │ ├── HANDSET.dat │ │ ├── HEADSET.dat │ │ ├── BLUETOOTH.dat │ │ ├── HANDSFREE.dat │ │ └── mcps.dat │ ├── waves │ │ ├── waves_preset.mps │ │ └── tests │ │ │ └── test_preset.mps │ └── bluenote │ │ └── recording.gatf │ ├── cs35l41 │ └── fw │ │ ├── cs35l41-dsp1-spk-cali.bin │ │ ├── cs35l41-dsp1-spk-diag.bin │ │ ├── cs35l41-dsp1-spk-prot.bin │ │ ├── R-cs35l41-dsp1-spk-cali.bin │ │ ├── R-cs35l41-dsp1-spk-diag.bin │ │ ├── R-cs35l41-dsp1-spk-prot.bin │ │ ├── cs35l41-dsp1-spk-cali.wmfw │ │ ├── cs35l41-dsp1-spk-diag.wmfw │ │ └── cs35l41-dsp1-spk-prot.wmfw │ ├── factory-audio-tables.mk │ └── config │ └── sound_trigger_configuration.xml ├── bluetooth └── bt_vendor_overlay.conf ├── OWNERS ├── lineage.dependencies ├── .clang-format ├── init.insmod.raven.cfg ├── init.insmod.oriole.cfg ├── init.insmod.whitefin.cfg ├── uwb ├── init.uwb.calib.xtal.sh ├── Android.mk ├── uwb_country.conf ├── country_conf_gen.sh └── uwb_calibration.mk ├── full_slider.mk ├── aosp_raven_64.mk ├── aosp_oriole_64.mk ├── aosp_whitefin_64.mk ├── aosp_oriole_pkvm.mk ├── aosp_raven_pkvm.mk ├── init.insmod.slider.cfg ├── aosp_whitefin_pkvm.mk ├── overlay-lineage ├── packages │ └── apps │ │ └── Settings │ │ └── res │ │ └── values │ │ └── config.xml └── lineage-sdk │ └── lineage │ └── res │ └── res │ └── values │ └── config.xml ├── aosp_raven_hwasan.mk ├── aosp_oriole_hwasan.mk ├── aosp_slider_hwasan.mk ├── aosp_whitefin.mk ├── aosp_whitefin_hwasan.mk ├── factory-images_raven └── generate-factory-images-package.sh ├── factory-images_oriole └── generate-factory-images-package.sh ├── factory_slider.mk ├── aosp_slider.mk ├── superior_raven.mk ├── superior_oriole.mk ├── slider ├── BoardConfig.mk └── overlay │ └── frameworks │ └── base │ └── core │ └── res │ └── res │ └── values │ └── config.xml ├── whitefin ├── BoardConfig.mk └── overlay │ └── frameworks │ └── base │ └── core │ └── res │ └── res │ └── values │ └── config.xml ├── conf ├── init.whitefin.rc ├── init.slider.rc ├── init.oriole.rc ├── init.raven.rc └── init.raviole.rc ├── factory_whitefin.mk ├── aosp_oriole.mk ├── factory_oriole.mk ├── aosp_raven.mk ├── factory_raven.mk ├── Android.bp ├── powerstats ├── oriole │ └── Android.bp ├── raven │ └── Android.bp ├── slider │ └── Android.bp └── whitefin │ ├── Android.bp │ └── service.cpp ├── factory_oriole └── overlay │ └── frameworks │ └── base │ └── core │ └── res │ └── res │ └── values │ └── config.xml ├── factory_raven └── overlay │ └── frameworks │ └── base │ └── core │ └── res │ └── res │ └── values │ └── config.xml ├── AndroidProducts.mk ├── bluetooth_power_limits_oriole.csv ├── bluetooth_power_limits_raven.csv ├── bluetooth_power_limits_G9S9B_EU.csv ├── bluetooth_power_limits_G9S9B_US.csv ├── bluetooth_power_limits_GB7N6_EU.csv ├── bluetooth_power_limits_GB7N6_US.csv ├── bluetooth_power_limits_oriole_jp.csv ├── bluetooth_power_limits_raven_eu.csv ├── bluetooth_power_limits_raven_jp.csv └── bluetooth_power_limits_raven_us.csv /self-extractors_oriole/Android.mk: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /self-extractors_raven/Android.mk: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /self-extractors_oriole/PROLOGUE: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | -------------------------------------------------------------------------------- /self-extractors_raven/PROLOGUE: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | -------------------------------------------------------------------------------- /board-info.txt: -------------------------------------------------------------------------------- 1 | require board=oriole|raven|slider|whitefin 2 | -------------------------------------------------------------------------------- /self-extractors_raven/google_devices/COPYRIGHT: -------------------------------------------------------------------------------- 1 | # (C) Google Inc. 2 | -------------------------------------------------------------------------------- /.gitupstream: -------------------------------------------------------------------------------- 1 | https://android.googlesource.com/device/google/raviole 2 | -------------------------------------------------------------------------------- /nfc/libse-gto-hal.conf: -------------------------------------------------------------------------------- 1 | #Gemalto SPI devnode 2 | GTO_DEV=/dev/st54spi; 3 | -------------------------------------------------------------------------------- /self-extractors_oriole/google_devices/COPYRIGHT: -------------------------------------------------------------------------------- 1 | # (C) Google Inc. 2 | -------------------------------------------------------------------------------- /nfc/libse-gto-hal2.conf: -------------------------------------------------------------------------------- 1 | #Gemalto SPI devnode 2 | GTO_DEV=/dev/st33spi; 3 | -------------------------------------------------------------------------------- /oriole/overlay_packages/DeviceAsWebcamOriole/OWNERS: -------------------------------------------------------------------------------- 1 | include platform/frameworks/av:/camera/OWNERS -------------------------------------------------------------------------------- /raven/overlay_packages/DeviceAsWebcamRaven/OWNERS: -------------------------------------------------------------------------------- 1 | include platform/frameworks/av:/camera/OWNERS -------------------------------------------------------------------------------- /raven/overlay_packages/DeviceAsWebcamRaven/res/raw/physical_camera_mapping.json: -------------------------------------------------------------------------------- 1 | {"0": {"3" : "UW"}} -------------------------------------------------------------------------------- /oriole/overlay_packages/DeviceAsWebcamOriole/res/raw/physical_camera_mapping.json: -------------------------------------------------------------------------------- 1 | {"0": {"3" : "UW"}} -------------------------------------------------------------------------------- /radio/oriole_camera_rear_wide_mipi_coex_table.csv: -------------------------------------------------------------------------------- 1 | 1537760,1548000 2 | 3 | 6191000,6193000,1548000 4 | 6149800,6151800,1537760 5 | -------------------------------------------------------------------------------- /oriole/display_golden_cal0.pb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/oriole/display_golden_cal0.pb -------------------------------------------------------------------------------- /raven/display_golden_cal0.pb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/raven/display_golden_cal0.pb -------------------------------------------------------------------------------- /oriole/display_colordata_dev_cal0.pb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/oriole/display_colordata_dev_cal0.pb -------------------------------------------------------------------------------- /raven/display_colordata_dev_cal0.pb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/raven/display_colordata_dev_cal0.pb -------------------------------------------------------------------------------- /raven/rro_overlays/UwbOverlay/OWNERS: -------------------------------------------------------------------------------- 1 | # People who can approve changes for submission 2 | include platform/packages/modules/Uwb:/OWNERS 3 | victorliu@google.com 4 | -------------------------------------------------------------------------------- /BoardConfigLineage.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2021 The LineageOS Project 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | 7 | BUILD_BROKEN_DUP_RULES := true 8 | -------------------------------------------------------------------------------- /audio/raven/tuning/fortemedia/HANDSET.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/raven/tuning/fortemedia/HANDSET.dat -------------------------------------------------------------------------------- /audio/raven/tuning/fortemedia/HEADSET.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/raven/tuning/fortemedia/HEADSET.dat -------------------------------------------------------------------------------- /audio/raven/tuning/waves/waves_preset.mps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/raven/tuning/waves/waves_preset.mps -------------------------------------------------------------------------------- /audio/oriole/tuning/bluenote/recording.gatf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/oriole/tuning/bluenote/recording.gatf -------------------------------------------------------------------------------- /audio/oriole/tuning/fortemedia/BLUETOOTH.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/oriole/tuning/fortemedia/BLUETOOTH.dat -------------------------------------------------------------------------------- /audio/oriole/tuning/fortemedia/HANDSET.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/oriole/tuning/fortemedia/HANDSET.dat -------------------------------------------------------------------------------- /audio/oriole/tuning/fortemedia/HANDSFREE.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/oriole/tuning/fortemedia/HANDSFREE.dat -------------------------------------------------------------------------------- /audio/oriole/tuning/fortemedia/HEADSET.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/oriole/tuning/fortemedia/HEADSET.dat -------------------------------------------------------------------------------- /audio/oriole/tuning/waves/waves_preset.mps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/oriole/tuning/waves/waves_preset.mps -------------------------------------------------------------------------------- /audio/raven/tuning/bluenote/recording.gatf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/raven/tuning/bluenote/recording.gatf -------------------------------------------------------------------------------- /audio/raven/tuning/fortemedia/BLUETOOTH.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/raven/tuning/fortemedia/BLUETOOTH.dat -------------------------------------------------------------------------------- /audio/raven/tuning/fortemedia/HANDSFREE.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/raven/tuning/fortemedia/HANDSFREE.dat -------------------------------------------------------------------------------- /audio/slider/tuning/bluenote/recording.gatf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/slider/tuning/bluenote/recording.gatf -------------------------------------------------------------------------------- /audio/slider/tuning/fortemedia/BLUETOOTH.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/slider/tuning/fortemedia/BLUETOOTH.dat -------------------------------------------------------------------------------- /audio/slider/tuning/fortemedia/HANDSET.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/slider/tuning/fortemedia/HANDSET.dat -------------------------------------------------------------------------------- /audio/slider/tuning/fortemedia/HANDSFREE.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/slider/tuning/fortemedia/HANDSFREE.dat -------------------------------------------------------------------------------- /audio/slider/tuning/fortemedia/HEADSET.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/slider/tuning/fortemedia/HEADSET.dat -------------------------------------------------------------------------------- /audio/slider/tuning/waves/waves_preset.mps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/slider/tuning/waves/waves_preset.mps -------------------------------------------------------------------------------- /audio/whitefin/tuning/fortemedia/HANDSET.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/whitefin/tuning/fortemedia/HANDSET.dat -------------------------------------------------------------------------------- /audio/whitefin/tuning/fortemedia/HEADSET.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/whitefin/tuning/fortemedia/HEADSET.dat -------------------------------------------------------------------------------- /audio/whitefin/tuning/waves/waves_preset.mps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/whitefin/tuning/waves/waves_preset.mps -------------------------------------------------------------------------------- /bluetooth/bt_vendor_overlay.conf: -------------------------------------------------------------------------------- 1 | # This is BTBCM HAL overlay configuration file. 2 | 3 | BtA2dpOffloadCap = sbc-aac-aptx-aptxhd-ldac-opus 4 | 5 | BtOpusEnabled = true 6 | -------------------------------------------------------------------------------- /audio/raven/tuning/waves/tests/test_preset.mps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/raven/tuning/waves/tests/test_preset.mps -------------------------------------------------------------------------------- /audio/whitefin/tuning/bluenote/recording.gatf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/whitefin/tuning/bluenote/recording.gatf -------------------------------------------------------------------------------- /audio/whitefin/tuning/fortemedia/BLUETOOTH.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/whitefin/tuning/fortemedia/BLUETOOTH.dat -------------------------------------------------------------------------------- /audio/whitefin/tuning/fortemedia/HANDSFREE.dat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/whitefin/tuning/fortemedia/HANDSFREE.dat -------------------------------------------------------------------------------- /audio/oriole/cs35l41/fw/cs35l41-dsp1-spk-cali.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/oriole/cs35l41/fw/cs35l41-dsp1-spk-cali.bin -------------------------------------------------------------------------------- /audio/oriole/cs35l41/fw/cs35l41-dsp1-spk-diag.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/oriole/cs35l41/fw/cs35l41-dsp1-spk-diag.bin -------------------------------------------------------------------------------- /audio/oriole/cs35l41/fw/cs35l41-dsp1-spk-prot.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/oriole/cs35l41/fw/cs35l41-dsp1-spk-prot.bin -------------------------------------------------------------------------------- /audio/oriole/tuning/waves/tests/test_preset.mps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/oriole/tuning/waves/tests/test_preset.mps -------------------------------------------------------------------------------- /audio/raven/cs35l41/fw/cs35l41-dsp1-spk-cali.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/raven/cs35l41/fw/cs35l41-dsp1-spk-cali.bin -------------------------------------------------------------------------------- /audio/raven/cs35l41/fw/cs35l41-dsp1-spk-cali.wmfw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/raven/cs35l41/fw/cs35l41-dsp1-spk-cali.wmfw -------------------------------------------------------------------------------- /audio/raven/cs35l41/fw/cs35l41-dsp1-spk-diag.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/raven/cs35l41/fw/cs35l41-dsp1-spk-diag.bin -------------------------------------------------------------------------------- /audio/raven/cs35l41/fw/cs35l41-dsp1-spk-diag.wmfw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/raven/cs35l41/fw/cs35l41-dsp1-spk-diag.wmfw -------------------------------------------------------------------------------- /audio/raven/cs35l41/fw/cs35l41-dsp1-spk-prot.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/raven/cs35l41/fw/cs35l41-dsp1-spk-prot.bin -------------------------------------------------------------------------------- /audio/raven/cs35l41/fw/cs35l41-dsp1-spk-prot.wmfw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/raven/cs35l41/fw/cs35l41-dsp1-spk-prot.wmfw -------------------------------------------------------------------------------- /audio/slider/cs35l41/fw/cs35l41-dsp1-spk-cali.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/slider/cs35l41/fw/cs35l41-dsp1-spk-cali.bin -------------------------------------------------------------------------------- /audio/slider/cs35l41/fw/cs35l41-dsp1-spk-diag.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/slider/cs35l41/fw/cs35l41-dsp1-spk-diag.bin -------------------------------------------------------------------------------- /audio/slider/cs35l41/fw/cs35l41-dsp1-spk-prot.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/slider/cs35l41/fw/cs35l41-dsp1-spk-prot.bin -------------------------------------------------------------------------------- /audio/slider/tuning/waves/tests/test_preset.mps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/slider/tuning/waves/tests/test_preset.mps -------------------------------------------------------------------------------- /audio/whitefin/tuning/waves/tests/test_preset.mps: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/whitefin/tuning/waves/tests/test_preset.mps -------------------------------------------------------------------------------- /audio/oriole/cs35l41/fw/R-cs35l41-dsp1-spk-cali.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/oriole/cs35l41/fw/R-cs35l41-dsp1-spk-cali.bin -------------------------------------------------------------------------------- /audio/oriole/cs35l41/fw/R-cs35l41-dsp1-spk-diag.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/oriole/cs35l41/fw/R-cs35l41-dsp1-spk-diag.bin -------------------------------------------------------------------------------- /audio/oriole/cs35l41/fw/R-cs35l41-dsp1-spk-prot.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/oriole/cs35l41/fw/R-cs35l41-dsp1-spk-prot.bin -------------------------------------------------------------------------------- /audio/oriole/cs35l41/fw/cs35l41-dsp1-spk-cali.wmfw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/oriole/cs35l41/fw/cs35l41-dsp1-spk-cali.wmfw -------------------------------------------------------------------------------- /audio/oriole/cs35l41/fw/cs35l41-dsp1-spk-diag.wmfw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/oriole/cs35l41/fw/cs35l41-dsp1-spk-diag.wmfw -------------------------------------------------------------------------------- /audio/oriole/cs35l41/fw/cs35l41-dsp1-spk-prot.wmfw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/oriole/cs35l41/fw/cs35l41-dsp1-spk-prot.wmfw -------------------------------------------------------------------------------- /audio/raven/cs35l41/fw/R-cs35l41-dsp1-spk-cali.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/raven/cs35l41/fw/R-cs35l41-dsp1-spk-cali.bin -------------------------------------------------------------------------------- /audio/raven/cs35l41/fw/R-cs35l41-dsp1-spk-diag.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/raven/cs35l41/fw/R-cs35l41-dsp1-spk-diag.bin -------------------------------------------------------------------------------- /audio/raven/cs35l41/fw/R-cs35l41-dsp1-spk-prot.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/raven/cs35l41/fw/R-cs35l41-dsp1-spk-prot.bin -------------------------------------------------------------------------------- /audio/slider/cs35l41/fw/R-cs35l41-dsp1-spk-cali.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/slider/cs35l41/fw/R-cs35l41-dsp1-spk-cali.bin -------------------------------------------------------------------------------- /audio/slider/cs35l41/fw/R-cs35l41-dsp1-spk-diag.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/slider/cs35l41/fw/R-cs35l41-dsp1-spk-diag.bin -------------------------------------------------------------------------------- /audio/slider/cs35l41/fw/R-cs35l41-dsp1-spk-prot.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/slider/cs35l41/fw/R-cs35l41-dsp1-spk-prot.bin -------------------------------------------------------------------------------- /audio/slider/cs35l41/fw/cs35l41-dsp1-spk-cali.wmfw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/slider/cs35l41/fw/cs35l41-dsp1-spk-cali.wmfw -------------------------------------------------------------------------------- /audio/slider/cs35l41/fw/cs35l41-dsp1-spk-diag.wmfw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/slider/cs35l41/fw/cs35l41-dsp1-spk-diag.wmfw -------------------------------------------------------------------------------- /audio/slider/cs35l41/fw/cs35l41-dsp1-spk-prot.wmfw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/slider/cs35l41/fw/cs35l41-dsp1-spk-prot.wmfw -------------------------------------------------------------------------------- /audio/whitefin/cs35l41/fw/cs35l41-dsp1-spk-cali.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/whitefin/cs35l41/fw/cs35l41-dsp1-spk-cali.bin -------------------------------------------------------------------------------- /audio/whitefin/cs35l41/fw/cs35l41-dsp1-spk-diag.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/whitefin/cs35l41/fw/cs35l41-dsp1-spk-diag.bin -------------------------------------------------------------------------------- /audio/whitefin/cs35l41/fw/cs35l41-dsp1-spk-prot.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/whitefin/cs35l41/fw/cs35l41-dsp1-spk-prot.bin -------------------------------------------------------------------------------- /audio/whitefin/cs35l41/fw/R-cs35l41-dsp1-spk-cali.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/whitefin/cs35l41/fw/R-cs35l41-dsp1-spk-cali.bin -------------------------------------------------------------------------------- /audio/whitefin/cs35l41/fw/R-cs35l41-dsp1-spk-diag.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/whitefin/cs35l41/fw/R-cs35l41-dsp1-spk-diag.bin -------------------------------------------------------------------------------- /audio/whitefin/cs35l41/fw/R-cs35l41-dsp1-spk-prot.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/whitefin/cs35l41/fw/R-cs35l41-dsp1-spk-prot.bin -------------------------------------------------------------------------------- /audio/whitefin/cs35l41/fw/cs35l41-dsp1-spk-cali.wmfw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/whitefin/cs35l41/fw/cs35l41-dsp1-spk-cali.wmfw -------------------------------------------------------------------------------- /audio/whitefin/cs35l41/fw/cs35l41-dsp1-spk-diag.wmfw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/whitefin/cs35l41/fw/cs35l41-dsp1-spk-diag.wmfw -------------------------------------------------------------------------------- /audio/whitefin/cs35l41/fw/cs35l41-dsp1-spk-prot.wmfw: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/audio/whitefin/cs35l41/fw/cs35l41-dsp1-spk-prot.wmfw -------------------------------------------------------------------------------- /radio/raven_camera_rear_tele_mipi_coex_table.csv: -------------------------------------------------------------------------------- 1 | 1800000,2039800 2 | 3 | 2545000,2555000,1800000 4 | 3565000,3575000,1800000 5 | 4032000,4042000,1800000 6 | 4070000,4090000,1800000 7 | 3583000,3693000,2039800 8 | -------------------------------------------------------------------------------- /oriole/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_0_cal0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/oriole/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_0_cal0.png -------------------------------------------------------------------------------- /oriole/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_1_cal0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/oriole/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_1_cal0.png -------------------------------------------------------------------------------- /oriole/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_2_cal0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/oriole/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_2_cal0.png -------------------------------------------------------------------------------- /oriole/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_3_cal0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/oriole/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_3_cal0.png -------------------------------------------------------------------------------- /oriole/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_4_cal0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/oriole/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_4_cal0.png -------------------------------------------------------------------------------- /oriole/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_5_cal0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/oriole/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_5_cal0.png -------------------------------------------------------------------------------- /oriole/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_6_cal0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/oriole/rro_overlays/HbmSVManagerOverlay/res/drawable/SCI_6_cal0.png -------------------------------------------------------------------------------- /oriole/rro_overlays/HbmSVManagerOverlay/Android.bp: -------------------------------------------------------------------------------- 1 | package { 2 | default_applicable_licenses: ["Android-Apache-2.0"], 3 | } 4 | 5 | runtime_resource_overlay { 6 | name: "HbmSVManagerOverlay", 7 | vendor: true 8 | } 9 | -------------------------------------------------------------------------------- /self-extractors_oriole/PART3: -------------------------------------------------------------------------------- 1 | 2 | if test $? != 0 3 | then 4 | echo 5 | echo ERROR: Couldn\'t extract files. 1>&2 6 | exit 3 7 | else 8 | echo 9 | echo Files extracted successfully. 10 | fi 11 | exit 0 12 | 13 | -------------------------------------------------------------------------------- /self-extractors_raven/PART3: -------------------------------------------------------------------------------- 1 | 2 | if test $? != 0 3 | then 4 | echo 5 | echo ERROR: Couldn\'t extract files. 1>&2 6 | exit 3 7 | else 8 | echo 9 | echo Files extracted successfully. 10 | fi 11 | exit 0 12 | 13 | -------------------------------------------------------------------------------- /raven/overlay_packages/SettingsOverlayG8V0U/res/drawable/regulatory_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/raven/overlay_packages/SettingsOverlayG8V0U/res/drawable/regulatory_info.png -------------------------------------------------------------------------------- /raven/overlay_packages/SettingsOverlayGF5KQ/res/drawable/regulatory_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/raven/overlay_packages/SettingsOverlayGF5KQ/res/drawable/regulatory_info.png -------------------------------------------------------------------------------- /raven/overlay_packages/SettingsOverlayGLU0G/res/drawable/regulatory_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/raven/overlay_packages/SettingsOverlayGLU0G/res/drawable/regulatory_info.png -------------------------------------------------------------------------------- /oriole/overlay_packages/SettingsOverlayG9S9B/res/drawable/regulatory_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/oriole/overlay_packages/SettingsOverlayG9S9B/res/drawable/regulatory_info.png -------------------------------------------------------------------------------- /oriole/overlay_packages/SettingsOverlayGB7N6/res/drawable/regulatory_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/oriole/overlay_packages/SettingsOverlayGB7N6/res/drawable/regulatory_info.png -------------------------------------------------------------------------------- /oriole/overlay_packages/SettingsOverlayGR1YH/res/drawable/regulatory_info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SuperiorOS-Devices/device_google_raviole/fourteen-aosp/oriole/overlay_packages/SettingsOverlayGR1YH/res/drawable/regulatory_info.png -------------------------------------------------------------------------------- /oriole/overlay_packages/SettingsOverlayG9S9B/Android.bp: -------------------------------------------------------------------------------- 1 | package { 2 | default_applicable_licenses: ["Android-Apache-2.0"], 3 | } 4 | 5 | runtime_resource_overlay { 6 | name: "SettingsOverlayG9S9B", 7 | product_specific: true, 8 | } 9 | -------------------------------------------------------------------------------- /oriole/overlay_packages/SettingsOverlayGB7N6/Android.bp: -------------------------------------------------------------------------------- 1 | package { 2 | default_applicable_licenses: ["Android-Apache-2.0"], 3 | } 4 | 5 | runtime_resource_overlay { 6 | name: "SettingsOverlayGB7N6", 7 | product_specific: true, 8 | } 9 | -------------------------------------------------------------------------------- /oriole/overlay_packages/SettingsOverlayGR1YH/Android.bp: -------------------------------------------------------------------------------- 1 | package { 2 | default_applicable_licenses: ["Android-Apache-2.0"], 3 | } 4 | 5 | runtime_resource_overlay { 6 | name: "SettingsOverlayGR1YH", 7 | product_specific: true, 8 | } 9 | -------------------------------------------------------------------------------- /raven/overlay_packages/SettingsOverlayG8V0U/Android.bp: -------------------------------------------------------------------------------- 1 | package { 2 | default_applicable_licenses: ["Android-Apache-2.0"], 3 | } 4 | 5 | runtime_resource_overlay { 6 | name: "SettingsOverlayG8V0U", 7 | product_specific: true, 8 | } 9 | -------------------------------------------------------------------------------- /raven/overlay_packages/SettingsOverlayGF5KQ/Android.bp: -------------------------------------------------------------------------------- 1 | package { 2 | default_applicable_licenses: ["Android-Apache-2.0"], 3 | } 4 | 5 | runtime_resource_overlay { 6 | name: "SettingsOverlayGF5KQ", 7 | product_specific: true, 8 | } 9 | -------------------------------------------------------------------------------- /raven/overlay_packages/SettingsOverlayGLU0G/Android.bp: -------------------------------------------------------------------------------- 1 | package { 2 | default_applicable_licenses: ["Android-Apache-2.0"], 3 | } 4 | 5 | runtime_resource_overlay { 6 | name: "SettingsOverlayGLU0G", 7 | product_specific: true, 8 | } 9 | -------------------------------------------------------------------------------- /self-extractors_oriole/root/android-info.txt: -------------------------------------------------------------------------------- 1 | require board=slider|whitefin|oriole|raven 2 | require version-bootloader=slider-1.0-7351067 3 | 4 | 5 | 6 | require version-baseband=g5123x-76938-210114-B-7081606|g5123b-84563-210511-B-7353093 7 | -------------------------------------------------------------------------------- /self-extractors_raven/root/android-info.txt: -------------------------------------------------------------------------------- 1 | require board=slider|whitefin|oriole|raven 2 | require version-bootloader=slider-1.0-7351067 3 | 4 | 5 | 6 | require version-baseband=g5123x-76938-210114-B-7081606|g5123b-84563-210511-B-7353093 7 | -------------------------------------------------------------------------------- /radio/oriole_display_mipi_coex_table.csv: -------------------------------------------------------------------------------- 1 | 550000,560000 2 | 3 | 1805000,1840000,550000 4 | 1940000,1975000,550000 5 | 617000,652000,560000 6 | 746000,756000,560000 7 | 758000,768000,560000 8 | 791000,821000,560000 9 | 930000,955000,560000 10 | -------------------------------------------------------------------------------- /raven/BoardConfigLineage.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2021 The LineageOS Project 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | 7 | include device/google/raviole/BoardConfigLineage.mk 8 | 9 | include vendor/google/raven/BoardConfigVendor.mk 10 | -------------------------------------------------------------------------------- /oriole/BoardConfigLineage.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2021 The LineageOS Project 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | 7 | include device/google/raviole/BoardConfigLineage.mk 8 | 9 | include vendor/google/oriole/BoardConfigVendor.mk 10 | -------------------------------------------------------------------------------- /oriole/proprietary-firmware.txt: -------------------------------------------------------------------------------- 1 | # All firmware images are extracted from Google factory images for each new ASB 2 | 3 | abl.img;AB 4 | bl1.img;AB 5 | bl2.img;AB 6 | bl31.img;AB 7 | gsa.img;AB 8 | ldfw.img;AB 9 | modem.img;AB 10 | pbl.img;AB 11 | tzsw.img;AB 12 | -------------------------------------------------------------------------------- /raven/proprietary-firmware.txt: -------------------------------------------------------------------------------- 1 | # All firmware images are extracted from Google factory images for each new ASB 2 | 3 | abl.img;AB 4 | bl1.img;AB 5 | bl2.img;AB 6 | bl31.img;AB 7 | gsa.img;AB 8 | ldfw.img;AB 9 | modem.img;AB 10 | pbl.img;AB 11 | tzsw.img;AB 12 | -------------------------------------------------------------------------------- /raven/device-lineage.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2022 The LineageOS Project 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | 7 | DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/raven/overlay-lineage 8 | 9 | $(call inherit-product, $(LOCAL_PATH)/device-lineage.mk) 10 | -------------------------------------------------------------------------------- /oriole/device-lineage.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2022 The LineageOS Project 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | 7 | DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/oriole/overlay-lineage 8 | 9 | $(call inherit-product, $(LOCAL_PATH)/device-lineage.mk) 10 | -------------------------------------------------------------------------------- /OWNERS: -------------------------------------------------------------------------------- 1 | per-file powerhint-*.json = jychen@google.com,jenhaochen@google.com,wvw@google.com,joaodias@google.com 2 | 3 | # per-file for Pixel device makefiles, see go/pixel-device-mk-owner-checklist for details. 4 | per-file *.mk,*/BoardConfig.mk=file:device/google/gs-common:master:/OWNERS 5 | -------------------------------------------------------------------------------- /nfc/manifest_se.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | android.hardware.secure_element 4 | hwbinder 5 | @1.2::ISecureElement/eSE1 6 | @1.2::ISecureElement/eSE2 7 | 8 | 9 | -------------------------------------------------------------------------------- /lineage.dependencies: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "repository": "android_device_google_gs101", 4 | "target_path": "device/google/gs101" 5 | }, 6 | { 7 | "repository": "device/google/raviole-kernel", 8 | "target_path": "device/google/raviole-kernel", 9 | "remote": "aosp-raviole" 10 | } 11 | ] 12 | -------------------------------------------------------------------------------- /radio/oriole_camera_front_mipi_coex_table.csv: -------------------------------------------------------------------------------- 1 | 694270,706560 2 | 3 | 1836000,1838000,694270 4 | 1976500,1978500,694270 5 | 2466000,2468000,694270 6 | 2471000,2473000,694270 7 | 5659000,5661000,694270 8 | 1873000,1875000,706560 9 | 1945000,1947000,706560 10 | 6144000,6146000,706560 11 | 6324000,6326000,706560 12 | -------------------------------------------------------------------------------- /raven/overlay_packages/DeviceAsWebcamRaven/Android.bp: -------------------------------------------------------------------------------- 1 | package { 2 | default_applicable_licenses: ["Android-Apache-2.0"], 3 | } 4 | 5 | runtime_resource_overlay { 6 | name: "DeviceAsWebcamRaven", 7 | certificate: "platform", 8 | product_specific: true, 9 | sdk_version: "current", 10 | } 11 | -------------------------------------------------------------------------------- /oriole/overlay_packages/DeviceAsWebcamOriole/Android.bp: -------------------------------------------------------------------------------- 1 | package { 2 | default_applicable_licenses: ["Android-Apache-2.0"], 3 | } 4 | 5 | runtime_resource_overlay { 6 | name: "DeviceAsWebcamOriole", 7 | certificate: "platform", 8 | product_specific: true, 9 | sdk_version: "current", 10 | } 11 | -------------------------------------------------------------------------------- /audio/oriole/tuning/fortemedia/mcps.dat: -------------------------------------------------------------------------------- 1 | FV_SAMFFFFFV_SAMF2F2,FV_SAMF2F2,FV_SAMF2F2,FV_SAMF2F2,FV_SAMF2F2^FV_SAMF2F2^FV_SAMF2F2^FV_SAMF2F2^FV_SAMF2F2JFV_SAMF2F2JFV_SAMF2F2JFV_SAMF2F2JFV_SAMF2F26FV_SAMF2F26FV_SAMF2F26FV_SAMF2F26FV_SAMF2F2FV_SAMF2F2FV_SAMF2F2FV_SAMF2F2 -------------------------------------------------------------------------------- /audio/raven/tuning/fortemedia/mcps.dat: -------------------------------------------------------------------------------- 1 | FV_SAMFFFFFV_SAMF2F2,FV_SAMF2F2,FV_SAMF2F2,FV_SAMF2F2,FV_SAMF2F2^FV_SAMF2F2^FV_SAMF2F2^FV_SAMF2F2^FV_SAMF2F2JFV_SAMF2F2JFV_SAMF2F2JFV_SAMF2F2JFV_SAMF2F26FV_SAMF2F26FV_SAMF2F26FV_SAMF2F26FV_SAMF2F2FV_SAMF2F2FV_SAMF2F2FV_SAMF2F2 -------------------------------------------------------------------------------- /audio/slider/tuning/fortemedia/mcps.dat: -------------------------------------------------------------------------------- 1 | FV_SAMFFFFFV_SAMF2F2,FV_SAMF2F2,FV_SAMF2F2,FV_SAMF2F2,FV_SAMF2F2^FV_SAMF2F2^FV_SAMF2F2^FV_SAMF2F2^FV_SAMF2F2JFV_SAMF2F2JFV_SAMF2F2JFV_SAMF2F2JFV_SAMF2F26FV_SAMF2F26FV_SAMF2F26FV_SAMF2F26FV_SAMF2F2FV_SAMF2F2FV_SAMF2F2FV_SAMF2F2 -------------------------------------------------------------------------------- /audio/whitefin/tuning/fortemedia/mcps.dat: -------------------------------------------------------------------------------- 1 | FV_SAMFFFFFV_SAMF2F2,FV_SAMF2F2,FV_SAMF2F2,FV_SAMF2F2,FV_SAMF2F2^FV_SAMF2F2^FV_SAMF2F2^FV_SAMF2F2^FV_SAMF2F2JFV_SAMF2F2JFV_SAMF2F2JFV_SAMF2F2JFV_SAMF2F26FV_SAMF2F26FV_SAMF2F26FV_SAMF2F26FV_SAMF2F2FV_SAMF2F2FV_SAMF2F2FV_SAMF2F2 -------------------------------------------------------------------------------- /raven/rro_overlays/UwbOverlay/Android.bp: -------------------------------------------------------------------------------- 1 | package { 2 | default_applicable_licenses: ["device_google_raviole_license"], 3 | } 4 | 5 | runtime_resource_overlay { 6 | name: "UwbOverlayR4", 7 | theme: "UwbOverlayR4", 8 | certificate: "platform", 9 | sdk_version: "current", 10 | product_specific: true 11 | } 12 | -------------------------------------------------------------------------------- /nfc/manifest_nfc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | android.hardware.nfc 4 | hwbinder 5 | 1.2 6 | 7 | INfc 8 | default 9 | 10 | 11 | 12 | -------------------------------------------------------------------------------- /self-extractors_oriole/PART1: -------------------------------------------------------------------------------- 1 | # 2 | # Usage is subject to the enclosed license agreement 3 | 4 | echo 5 | echo The license for this software will now be displayed. 6 | echo You must agree to this license before using this software. 7 | echo 8 | echo -n Press Enter to view the license 9 | read dummy 10 | echo 11 | 12 | more << __EOF__ 13 | -------------------------------------------------------------------------------- /self-extractors_raven/PART1: -------------------------------------------------------------------------------- 1 | # 2 | # Usage is subject to the enclosed license agreement 3 | 4 | echo 5 | echo The license for this software will now be displayed. 6 | echo You must agree to this license before using this software. 7 | echo 8 | echo -n Press Enter to view the license 9 | read dummy 10 | echo 11 | 12 | more << __EOF__ 13 | -------------------------------------------------------------------------------- /.clang-format: -------------------------------------------------------------------------------- 1 | BasedOnStyle: Google 2 | AccessModifierOffset: -2 3 | AllowShortFunctionsOnASingleLine: Inline 4 | ColumnLimit: 100 5 | CommentPragmas: NOLINT:.* 6 | DerivePointerAlignment: false 7 | IndentWidth: 4 8 | ContinuationIndentWidth: 8 9 | PointerAlignment: Right 10 | TabWidth: 4 11 | UseTab: Never 12 | AllowShortIfStatementsOnASingleLine: false 13 | SpacesBeforeTrailingComments: 2 14 | -------------------------------------------------------------------------------- /oriole/rro_overlays/HbmSVManagerOverlay/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /oriole/vendor.prop: -------------------------------------------------------------------------------- 1 | # DRM 2 | drm.service.enabled=true 3 | media.mediadrmservice.enable=true 4 | 5 | # Graphics 6 | ro.gfx.angle.supported=true 7 | 8 | # Radio 9 | persist.vendor.ril.ecc.use.xml=1 10 | persist.vendor.ril.support_nr_ds=0 11 | persist.vendor.ril.use_radio_hal=1.6 12 | ro.vendor.config.build_carrier=europen 13 | vendor.rild.libpath=libsitril.so 14 | 15 | # SSR 16 | vendor.debug.ssrdump.type=sscoredump 17 | -------------------------------------------------------------------------------- /self-extractors_oriole/PART2: -------------------------------------------------------------------------------- 1 | __EOF__ 2 | 3 | if test $? != 0 4 | then 5 | echo ERROR: Couldn\'t display license file 1>&2 6 | exit 1 7 | fi 8 | 9 | echo 10 | 11 | echo -n Type \"I ACCEPT\" if you agree to the terms of the license:\ 12 | read typed 13 | 14 | if test "$typed" != I\ ACCEPT 15 | then 16 | echo 17 | echo You didn\'t accept the license. Extraction aborted. 18 | exit 2 19 | fi 20 | 21 | echo 22 | 23 | -------------------------------------------------------------------------------- /self-extractors_raven/PART2: -------------------------------------------------------------------------------- 1 | __EOF__ 2 | 3 | if test $? != 0 4 | then 5 | echo ERROR: Couldn\'t display license file 1>&2 6 | exit 1 7 | fi 8 | 9 | echo 10 | 11 | echo -n Type \"I ACCEPT\" if you agree to the terms of the license:\ 12 | read typed 13 | 14 | if test "$typed" != I\ ACCEPT 15 | then 16 | echo 17 | echo You didn\'t accept the license. Extraction aborted. 18 | exit 2 19 | fi 20 | 21 | echo 22 | 23 | -------------------------------------------------------------------------------- /raven/overlay/packages/apps/OMA-DM/DMService/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | G8V0U 8 | 9 | -------------------------------------------------------------------------------- /oriole/overlay/packages/apps/OMA-DM/DMService/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | G9S9B 8 | 9 | -------------------------------------------------------------------------------- /oriole/overlay_packages/DeviceAsWebcamOriole/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 10 | -------------------------------------------------------------------------------- /raven/overlay_packages/DeviceAsWebcamRaven/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 10 | -------------------------------------------------------------------------------- /raven/vendor.prop: -------------------------------------------------------------------------------- 1 | # DRM 2 | drm.service.enabled=true 3 | media.mediadrmservice.enable=true 4 | 5 | # Graphics 6 | ro.gfx.angle.supported=true 7 | 8 | # Radio 9 | persist.vendor.ril.ecc.use.xml=1 10 | persist.vendor.ril.support_nr_ds=0 11 | persist.vendor.ril.use_radio_hal=1.6 12 | ro.vendor.config.build_carrier=europen 13 | vendor.rild.libpath=libsitril.so 14 | 15 | # SSR 16 | vendor.debug.ssrdump.type=sscoredump 17 | 18 | # UWB 19 | ro.vendor.uwb.calibration.calibrationpaths=/vendor/etc/uwb/calib_paths 20 | -------------------------------------------------------------------------------- /oriole/overlay_packages/SettingsOverlayGR1YH/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /raven/overlay_packages/SettingsOverlayGF5KQ/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | -------------------------------------------------------------------------------- /oriole/overlay_packages/SettingsOverlayG9S9B/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /oriole/overlay_packages/SettingsOverlayGB7N6/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /raven/overlay_packages/SettingsOverlayG8V0U/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /raven/overlay_packages/SettingsOverlayGLU0G/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 9 | 10 | -------------------------------------------------------------------------------- /init.insmod.raven.cfg: -------------------------------------------------------------------------------- 1 | ########################################################## 2 | # init.insmod.raven.cfg # 3 | # This file contains raven specific kernel modules to # 4 | # load at init time by init.insmod.sh script # 5 | ########################################################## 6 | 7 | # Load device specific kernel modules 8 | # Modules here will be loaded *after* all common modules 9 | modprobe|bcmdhd4389.ko 10 | modprobe|sec_touch.ko 11 | 12 | # All device specific modules loaded 13 | setprop|vendor.device.modules.ready 14 | setprop|vendor.all.modules.ready 15 | setprop|vendor.all.devices.ready 16 | -------------------------------------------------------------------------------- /init.insmod.oriole.cfg: -------------------------------------------------------------------------------- 1 | ########################################################## 2 | # init.insmod.oriole.cfg # 3 | # This file contains oriole specific kernel modules to # 4 | # load at init time by init.insmod.sh script # 5 | ########################################################## 6 | 7 | # Load device specific kernel modules 8 | # Modules here will be loaded *after* all common modules 9 | modprobe|bcmdhd4389.ko 10 | modprobe|ftm5.ko 11 | modprobe|sec_touch.ko 12 | 13 | # All device specific modules loaded 14 | setprop|vendor.device.modules.ready 15 | setprop|vendor.all.modules.ready 16 | setprop|vendor.all.devices.ready 17 | -------------------------------------------------------------------------------- /init.insmod.whitefin.cfg: -------------------------------------------------------------------------------- 1 | ########################################################## 2 | # init.insmod.whitefin.cfg # 3 | # This file contains whitefin specific kernel modules to # 4 | # load at init time by init.insmod.sh script # 5 | ########################################################## 6 | 7 | # Load device specific kernel modules 8 | # Modules here will be loaded *after* all common modules 9 | modprobe|bcmdhd43752.ko 10 | modprobe|snd-soc-cs35l41-i2c.ko 11 | modprobe|drv2624.ko 12 | modprobe|sec_touch.ko 13 | 14 | # All device specific modules loaded 15 | setprop|vendor.device.modules.ready 16 | setprop|vendor.all.modules.ready 17 | setprop|vendor.all.devices.ready 18 | -------------------------------------------------------------------------------- /uwb/init.uwb.calib.xtal.sh: -------------------------------------------------------------------------------- 1 | #!/vendor/bin/sh 2 | # only use xtal_trim from factory calibration 3 | if [ -z "$2" ] 4 | then 5 | echo "usage is $0 input-calibration output_calibration" 6 | exit 0 7 | fi 8 | OUTPUT_CALIB="$2" 9 | if [ ! -f "$OUTPUT_CALIB" ]; then 10 | touch $OUTPUT_CALIB 11 | chmod 0644 $OUTPUT_CALIB 12 | file="$1" 13 | while IFS=, read -r f1 f2 14 | do 15 | case $f1 in 16 | "UWB_cal_tx_xtal_reg_final_value") 17 | if [ $((0x$f2)) -gt 63 ]; then 18 | f2=63 19 | fi 20 | echo 'xtal_trim=0x'$f2 >> $OUTPUT_CALIB 21 | ;; 22 | esac 23 | done <"$file" 24 | exit 0 25 | fi 26 | 27 | -------------------------------------------------------------------------------- /self-extractors_oriole/root/proprietary/BoardConfigVendor.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2021 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | -include vendor/google_devices/oriole/BoardConfigPartial.mk 16 | -------------------------------------------------------------------------------- /self-extractors_raven/root/proprietary/BoardConfigVendor.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2021 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | -include vendor/google_devices/raven/BoardConfigPartial.mk 16 | -------------------------------------------------------------------------------- /full_slider.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2013 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | $(call inherit-product, device/google/raviole/aosp_slider.mk) 17 | 18 | PRODUCT_NAME := full_slider 19 | -------------------------------------------------------------------------------- /self-extractors_oriole/root/proprietary/device-vendor.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2021 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | $(call inherit-product-if-exists, vendor/google_devices/oriole/device-partial.mk) 16 | -------------------------------------------------------------------------------- /self-extractors_raven/root/proprietary/device-vendor.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2021 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | $(call inherit-product-if-exists, vendor/google_devices/raven/device-partial.mk) 16 | -------------------------------------------------------------------------------- /aosp_raven_64.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2021 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | $(call inherit-product, device/google/raviole/aosp_raven.mk) 17 | 18 | PRODUCT_NAME := aosp_raven_64 19 | PRODUCT_MODEL := AOSP on Raven 64-bit only 20 | -------------------------------------------------------------------------------- /aosp_oriole_64.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2021 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | $(call inherit-product, device/google/raviole/aosp_oriole.mk) 17 | 18 | PRODUCT_NAME := aosp_oriole_64 19 | PRODUCT_MODEL := AOSP on Oriole 64-bit only 20 | -------------------------------------------------------------------------------- /aosp_whitefin_64.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2021 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | $(call inherit-product, device/google/raviole/aosp_whitefin.mk) 17 | 18 | PRODUCT_NAME := aosp_whitefin_64 19 | PRODUCT_MODEL := AOSP on Whitefin 64-bit only 20 | -------------------------------------------------------------------------------- /aosp_oriole_pkvm.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2020 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | TARGET_PKVM_ENABLED := true 18 | 19 | $(call inherit-product, device/google/raviole/aosp_oriole.mk) 20 | 21 | PRODUCT_NAME := aosp_oriole_pkvm 22 | PRODUCT_MODEL := AOSP on Oriole with pKVM 23 | -------------------------------------------------------------------------------- /aosp_raven_pkvm.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2021 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | TARGET_PKVM_ENABLED := true 18 | 19 | $(call inherit-product, device/google/raviole/aosp_raven.mk) 20 | 21 | PRODUCT_NAME := aosp_raven_pkvm 22 | PRODUCT_MODEL := AOSP on Raven with pKVM 23 | -------------------------------------------------------------------------------- /init.insmod.slider.cfg: -------------------------------------------------------------------------------- 1 | ######################################################## 2 | # init.insmod.slider.cfg # 3 | # This file contains slider specific kernel modules to # 4 | # load at init time by init.insmod.sh script # 5 | ######################################################## 6 | 7 | # Load device specific kernel modules 8 | # Modules here will be loaded *after* all common modules 9 | modprobe|bcmdhd43752.ko 10 | modprobe|bcmdhd4389.ko 11 | modprobe|snd-soc-cs35l41-spi.ko 12 | modprobe|ftm5.ko 13 | modprobe|haptics-cs40l2x.ko 14 | modprobe|st33spi.ko 15 | modprobe|st54spi.ko 16 | 17 | # Wait for any asynchronous work to complete 18 | wait|/sys/class/leds/vibrator 19 | 20 | # All device specific modules loaded 21 | setprop|vendor.device.modules.ready 22 | setprop|vendor.all.modules.ready 23 | setprop|vendor.all.devices.ready 24 | -------------------------------------------------------------------------------- /aosp_whitefin_pkvm.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2020 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | TARGET_PKVM_ENABLED := true 18 | 19 | $(call inherit-product, device/google/raviole/aosp_whitefin.mk) 20 | 21 | PRODUCT_NAME := aosp_whitefin_pkvm 22 | PRODUCT_MODEL := AOSP on Whitefin with pKVM 23 | -------------------------------------------------------------------------------- /oriole/overlay/packages/services/AlternativeNetworkAccess/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | true 18 | 19 | -------------------------------------------------------------------------------- /raven/overlay/packages/services/AlternativeNetworkAccess/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | true 18 | 19 | -------------------------------------------------------------------------------- /self-extractors_oriole/extract-lists.txt: -------------------------------------------------------------------------------- 1 | google_devices) 2 | TO_EXTRACT="\ 3 | IMAGES/vendor.img \ 4 | IMAGES/vendor_dlkm.img \ 5 | RADIO/bootloader.img \ 6 | RADIO/radio.img \ 7 | system_ext/etc/permissions/com.shannon.imsservice.xml \ 8 | system_ext/etc/permissions/com.shannon.qualifiednetworksservice.xml \ 9 | system_ext/etc/permissions/com.shannon.rcsservice.xml \ 10 | system_ext/etc/permissions/oemrilhook.xml \ 11 | system_ext/framework/oemrilhook.jar \ 12 | system_ext/lib64/libmediaadaptor.so \ 13 | system_ext/lib/libmediaadaptor.so \ 14 | system_ext/priv-app/ShannonRcs/ShannonRcs.apk \ 15 | system_ext/priv-app/ShannonIms/ShannonIms.apk \ 16 | system_ext/priv-app/ShannonQualifiedNetworksService/ShannonQualifiedNetworksService.apk \ 17 | " 18 | ;; 19 | 20 | -------------------------------------------------------------------------------- /overlay-lineage/packages/apps/Settings/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 18 | 19 | true 20 | 21 | -------------------------------------------------------------------------------- /oriole/overlay/frameworks/base/core/res/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 50px 21 | 22 | 23 | -------------------------------------------------------------------------------- /oriole/overlay/frameworks/base/packages/SystemUI/res/values-land/dimen.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 0dp 21 | 22 | -------------------------------------------------------------------------------- /raven/overlay/frameworks/base/core/res/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 50px 21 | 22 | 23 | -------------------------------------------------------------------------------- /raven/overlay/frameworks/base/packages/SystemUI/res/values-land/dimen.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 0dp 21 | 22 | -------------------------------------------------------------------------------- /aosp_raven_hwasan.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2021 The Android Open Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | $(call inherit-product, device/google/raviole/aosp_raven.mk) 18 | PRODUCT_NAME := aosp_raven_hwasan 19 | 20 | # Add "hwaddress" as a global sanitizer if it's missing. 21 | ifeq ($(filter hwaddress,$(SANITIZE_TARGET)),) 22 | SANITIZE_TARGET := $(strip $(SANITIZE_TARGET) hwaddress) 23 | endif 24 | -------------------------------------------------------------------------------- /aosp_oriole_hwasan.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2021 The Android Open Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | $(call inherit-product, device/google/raviole/aosp_oriole.mk) 18 | PRODUCT_NAME := aosp_oriole_hwasan 19 | 20 | # Add "hwaddress" as a global sanitizer if it's missing. 21 | ifeq ($(filter hwaddress,$(SANITIZE_TARGET)),) 22 | SANITIZE_TARGET := $(strip $(SANITIZE_TARGET) hwaddress) 23 | endif 24 | -------------------------------------------------------------------------------- /aosp_slider_hwasan.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2020 The Android Open Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | $(call inherit-product, device/google/raviole/aosp_slider.mk) 18 | PRODUCT_NAME := aosp_slider_hwasan 19 | 20 | # Add "hwaddress" as a global sanitizer if it's missing. 21 | ifeq ($(filter hwaddress,$(SANITIZE_TARGET)),) 22 | SANITIZE_TARGET := $(strip $(SANITIZE_TARGET) hwaddress) 23 | endif 24 | -------------------------------------------------------------------------------- /aosp_whitefin.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2020 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | $(call inherit-product, device/google/gs101/aosp_common.mk) 17 | $(call inherit-product, device/google/raviole/device-whitefin.mk) 18 | 19 | PRODUCT_NAME := aosp_whitefin 20 | PRODUCT_DEVICE := whitefin 21 | PRODUCT_MODEL := AOSP on Whitefin 22 | PRODUCT_BRAND := Android 23 | PRODUCT_MANUFACTURER := Google 24 | -------------------------------------------------------------------------------- /audio/oriole/factory-audio-tables.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2020 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | AUDIO_FACTORY_TABLE_FOLDER := oriole 18 | 19 | # Mixer Path Configuration for Audio Factory 20 | PRODUCT_COPY_FILES += \ 21 | device/google/raviole/audio/$(AUDIO_FACTORY_TABLE_FOLDER)/config/mixer_paths_factory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_factory.xml 22 | 23 | -------------------------------------------------------------------------------- /audio/raven/factory-audio-tables.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2020 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | AUDIO_FACTORY_TABLE_FOLDER := raven 18 | 19 | # Mixer Path Configuration for Audio Factory 20 | PRODUCT_COPY_FILES += \ 21 | device/google/raviole/audio/$(AUDIO_FACTORY_TABLE_FOLDER)/config/mixer_paths_factory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_factory.xml 22 | 23 | -------------------------------------------------------------------------------- /audio/slider/factory-audio-tables.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2020 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | AUDIO_FACTORY_TABLE_FOLDER := slider 18 | 19 | # Mixer Path Configuration for Audio Factory 20 | PRODUCT_COPY_FILES += \ 21 | device/google/raviole/audio/$(AUDIO_FACTORY_TABLE_FOLDER)/config/mixer_paths_factory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_factory.xml 22 | 23 | -------------------------------------------------------------------------------- /aosp_whitefin_hwasan.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2020 The Android Open Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | $(call inherit-product, device/google/raviole/aosp_whitefin.mk) 18 | PRODUCT_NAME := aosp_whitefin_hwasan 19 | 20 | # Add "hwaddress" as a global sanitizer if it's missing. 21 | ifeq ($(filter hwaddress,$(SANITIZE_TARGET)),) 22 | SANITIZE_TARGET := $(strip $(SANITIZE_TARGET) hwaddress) 23 | endif 24 | -------------------------------------------------------------------------------- /audio/whitefin/factory-audio-tables.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2020 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | AUDIO_FACTORY_TABLE_FOLDER := whitefin 18 | 19 | # Mixer Path Configuration for Audio Factory 20 | PRODUCT_COPY_FILES += \ 21 | device/google/raviole/audio/$(AUDIO_FACTORY_TABLE_FOLDER)/config/mixer_paths_factory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_factory.xml 22 | 23 | -------------------------------------------------------------------------------- /overlay-lineage/lineage-sdk/lineage/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 23 | true 24 | 25 | 26 | -------------------------------------------------------------------------------- /factory-images_raven/generate-factory-images-package.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Copyright 2021 The Android Open Source Project 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | source ../../../common/clear-factory-images-variables.sh 18 | BUILD=7192822 19 | DEVICE=raven 20 | PRODUCT=raven 21 | VERSION=SD1A.210308.004 22 | SRCPREFIX=signed- 23 | BOOTLOADER=slider-1.0-7187550 24 | RADIO=g5123x-76938-210114-B-7081606|g5123b-80386-210305-B-7187092 25 | source ../../../common/generate-factory-images-common.sh 26 | -------------------------------------------------------------------------------- /factory-images_oriole/generate-factory-images-package.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | # Copyright 2021 The Android Open Source Project 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | 17 | source ../../../common/clear-factory-images-variables.sh 18 | BUILD=7192822 19 | DEVICE=oriole 20 | PRODUCT=oriole 21 | VERSION=SD1A.210308.004 22 | SRCPREFIX=signed- 23 | BOOTLOADER=slider-1.0-7187550 24 | RADIO=g5123x-76938-210114-B-7081606|g5123b-80386-210305-B-7187092 25 | source ../../../common/generate-factory-images-common.sh 26 | -------------------------------------------------------------------------------- /factory_slider.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2020 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | $(call inherit-product, device/google/gs101/factory_common.mk) 18 | $(call inherit-product, device/google/raviole/device-slider.mk) 19 | include device/google/raviole/audio/slider/factory-audio-tables.mk 20 | 21 | PRODUCT_NAME := factory_slider 22 | PRODUCT_DEVICE := slider 23 | PRODUCT_MODEL := Factory build on Slider 24 | PRODUCT_BRAND := Android 25 | PRODUCT_MANUFACTURER := Google 26 | -------------------------------------------------------------------------------- /aosp_slider.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2019 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | $(call inherit-product, device/google/gs101/aosp_common.mk) 17 | $(call inherit-product, device/google/raviole/device-slider.mk) 18 | 19 | PRODUCT_NAME := aosp_slider 20 | PRODUCT_DEVICE := slider 21 | PRODUCT_MODEL := AOSP on Slider 22 | PRODUCT_BRAND := Android 23 | PRODUCT_MANUFACTURER := Google 24 | 25 | # Most sliders don't have dauntless chip, set it as default 26 | BOARD_WITHOUT_DTLS := true 27 | -------------------------------------------------------------------------------- /self-extractors_raven/extract-lists.txt: -------------------------------------------------------------------------------- 1 | google_devices) 2 | TO_EXTRACT="\ 3 | IMAGES/vendor.img \ 4 | IMAGES/vendor_dlkm.img \ 5 | RADIO/bootloader.img \ 6 | RADIO/radio.img \ 7 | system_ext/etc/permissions/com.shannon.imsservice.xml \ 8 | system_ext/etc/permissions/com.shannon.qualifiednetworksservice.xml \ 9 | system_ext/etc/permissions/com.shannon.rcsservice.xml \ 10 | system_ext/etc/permissions/oemrilhook.xml \ 11 | system_ext/etc/permissions/privapp-permissions-qorvo.xml \ 12 | system_ext/framework/oemrilhook.jar \ 13 | system_ext/lib64/libmediaadaptor.so \ 14 | system_ext/lib/libmediaadaptor.so \ 15 | system_ext/priv-app/ShannonRcs/ShannonRcs.apk \ 16 | system_ext/priv-app/ShannonIms/ShannonIms.apk \ 17 | system_ext/priv-app/ShannonQualifiedNetworksService/ShannonQualifiedNetworksService.apk \ 18 | system_ext/priv-app/UwbVendorService/UwbVendorService.apk \ 19 | " 20 | ;; 21 | 22 | -------------------------------------------------------------------------------- /superior_raven.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2021 The LineageOS Project 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | 7 | # Inherit some common Lineage stuff. 8 | TARGET_DISABLE_EPPE := true 9 | $(call inherit-product, vendor/superior/config/common.mk) 10 | 11 | # Inherit device configuration 12 | $(call inherit-product, device/google/raviole/aosp_raven.mk) 13 | $(call inherit-product, device/google/gs101/lineage_common.mk) 14 | 15 | include device/google/raviole/raven/device-lineage.mk 16 | 17 | # Device identifier. This must come after all inclusions 18 | PRODUCT_BRAND := google 19 | PRODUCT_MODEL := Pixel 6 Pro 20 | PRODUCT_NAME := superior_raven 21 | 22 | # Boot animation 23 | TARGET_BOOT_ANIMATION_RES := 1080 24 | 25 | # Gapps 26 | BUILD_WITH_GAPPS := true 27 | 28 | PRODUCT_BUILD_PROP_OVERRIDES += \ 29 | TARGET_PRODUCT=raven \ 30 | PRIVATE_BUILD_DESC="raven-user 14 UQ1A.240205.002 11224170 release-keys" 31 | 32 | BUILD_FINGERPRINT := google/raven/raven:14/UQ1A.240205.002/11224170:user/release-keys 33 | 34 | $(call inherit-product, vendor/google/raven/raven-vendor.mk) 35 | -------------------------------------------------------------------------------- /superior_oriole.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2021 The LineageOS Project 3 | # 4 | # SPDX-License-Identifier: Apache-2.0 5 | # 6 | 7 | # Inherit some common Lineage stuff. 8 | TARGET_DISABLE_EPPE := true 9 | $(call inherit-product, vendor/superior/config/common.mk) 10 | 11 | # Inherit device configuration 12 | $(call inherit-product, device/google/raviole/aosp_oriole.mk) 13 | $(call inherit-product, device/google/gs101/lineage_common.mk) 14 | 15 | include device/google/raviole/oriole/device-lineage.mk 16 | 17 | # Device identifier. This must come after all inclusions 18 | PRODUCT_BRAND := google 19 | PRODUCT_MODEL := Pixel 6 20 | PRODUCT_NAME := superior_oriole 21 | 22 | # Boot animation 23 | TARGET_BOOT_ANIMATION_RES := 1080 24 | 25 | # Gapps 26 | BUILD_WITH_GAPPS := true 27 | 28 | PRODUCT_BUILD_PROP_OVERRIDES += \ 29 | TARGET_PRODUCT=oriole \ 30 | PRIVATE_BUILD_DESC="oriole-user 14 UQ1A.240205.002 11224170 release-keys" 31 | 32 | BUILD_FINGERPRINT := google/oriole/oriole:14/UQ1A.240205.002/11224170:user/release-keys 33 | 34 | $(call inherit-product, vendor/google/oriole/oriole-vendor.mk) 35 | -------------------------------------------------------------------------------- /slider/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2020 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | TARGET_BOARD_INFO_FILE := device/google/raviole/board-info.txt 17 | TARGET_BOOTLOADER_BOARD_NAME := slider 18 | TARGET_SCREEN_DENSITY := 560 19 | USES_DEVICE_GOOGLE_RAVIOLE := true 20 | 21 | BOARD_BOOTCONFIG += androidboot.selinux=permissive 22 | 23 | include device/google/gs101/BoardConfig-common.mk 24 | include device/google/gs101/wifi/BoardConfig-wifi.mk 25 | -include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk 26 | -------------------------------------------------------------------------------- /whitefin/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2020 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | TARGET_BOARD_INFO_FILE := device/google/raviole/board-info.txt 17 | TARGET_BOOTLOADER_BOARD_NAME := whitefin 18 | TARGET_SCREEN_DENSITY := 440 19 | USES_DEVICE_GOOGLE_RAVIOLE := true 20 | 21 | BOARD_BOOTCONFIG += androidboot.selinux=permissive 22 | 23 | include device/google/gs101/BoardConfig-common.mk 24 | include device/google/gs101/wifi/BoardConfig-wifi.mk 25 | -include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk 26 | -------------------------------------------------------------------------------- /oriole/setup-makefiles.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (C) 2016 The CyanogenMod Project 4 | # Copyright (C) 2017-2023 The LineageOS Project 5 | # 6 | # SPDX-License-Identifier: Apache-2.0 7 | # 8 | 9 | set -e 10 | 11 | DEVICE=oriole 12 | VENDOR=google 13 | 14 | # Load extract_utils and do some sanity checks 15 | MY_DIR="${BASH_SOURCE%/*}" 16 | if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi 17 | 18 | ANDROID_ROOT="${MY_DIR}/../../../.." 19 | 20 | HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh" 21 | if [ ! -f "${HELPER}" ]; then 22 | echo "Unable to find helper script at ${HELPER}" 23 | exit 1 24 | fi 25 | source "${HELPER}" 26 | 27 | # Initialize the helper 28 | setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" 29 | 30 | # Warning headers and guards 31 | write_headers 32 | 33 | write_makefiles "${MY_DIR}/proprietary-files.txt" true 34 | write_makefiles "${MY_DIR}/proprietary-files-carriersettings.txt" true 35 | write_makefiles "${MY_DIR}/proprietary-files-vendor.txt" true 36 | 37 | append_firmware_calls_to_makefiles "${MY_DIR}/proprietary-firmware.txt" 38 | 39 | # Finish 40 | write_footers 41 | -------------------------------------------------------------------------------- /raven/setup-makefiles.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (C) 2016 The CyanogenMod Project 4 | # Copyright (C) 2017-2023 The LineageOS Project 5 | # 6 | # SPDX-License-Identifier: Apache-2.0 7 | # 8 | 9 | set -e 10 | 11 | DEVICE=raven 12 | VENDOR=google 13 | 14 | # Load extract_utils and do some sanity checks 15 | MY_DIR="${BASH_SOURCE%/*}" 16 | if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi 17 | 18 | ANDROID_ROOT="${MY_DIR}/../../../.." 19 | 20 | HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh" 21 | if [ ! -f "${HELPER}" ]; then 22 | echo "Unable to find helper script at ${HELPER}" 23 | exit 1 24 | fi 25 | source "${HELPER}" 26 | 27 | # Initialize the helper 28 | setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" 29 | 30 | # Warning headers and guards 31 | write_headers 32 | 33 | write_makefiles "${MY_DIR}/proprietary-files.txt" true 34 | write_makefiles "${MY_DIR}/proprietary-files-carriersettings.txt" true 35 | write_makefiles "${MY_DIR}/proprietary-files-vendor.txt" true 36 | 37 | append_firmware_calls_to_makefiles "${MY_DIR}/proprietary-firmware.txt" 38 | 39 | # Finish 40 | write_footers 41 | -------------------------------------------------------------------------------- /conf/init.whitefin.rc: -------------------------------------------------------------------------------- 1 | # Whitefin specific init.rc 2 | import /vendor/etc/init/hw/init.gs101.rc 3 | 4 | on init 5 | # NFC streset tool name 6 | setprop persist.vendor.nfc.streset libstreset21 7 | setprop persist.vendor.se.streset libstreset21 8 | 9 | on init && property:ro.build.flavor=factory_whitefin-userdebug 10 | import /vendor/etc/init/hw/init.factory.rc 11 | 12 | on early-boot 13 | # Wait for insmod_sh to finish all common modules 14 | wait_for_prop vendor.common.modules.ready 1 15 | start insmod_sh_whitefin 16 | 17 | service insmod_sh_whitefin /vendor/bin/insmod.sh /vendor/etc/init.insmod.whitefin.cfg 18 | class main 19 | user root 20 | group root system 21 | disabled 22 | oneshot 23 | 24 | on fs 25 | # Fingerprint 26 | chown system system /dev/goodix_fp 27 | 28 | # charger driver exposes now finer grain control, map demo mode to those properties 29 | # NOTE: demo mode can only be exit wiping data (which reset the persist properties) 30 | on property:sys.retaildemo.enabled=1 31 | setprop persist.vendor.charge.stop.level 35 32 | setprop persist.vendor.charge.start.level 30 33 | -------------------------------------------------------------------------------- /factory_whitefin.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2020 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | $(call inherit-product, device/google/gs101/factory_common.mk) 18 | $(call inherit-product, device/google/raviole/device-whitefin.mk) 19 | 20 | include device/google/raviole/audio/whitefin/factory-audio-tables.mk 21 | 22 | PRODUCT_NAME := factory_whitefin 23 | PRODUCT_DEVICE := whitefin 24 | PRODUCT_MODEL := Factory build on Whitefin 25 | PRODUCT_BRAND := Android 26 | PRODUCT_MANUFACTURER := Google 27 | 28 | # default BDADDR for EVB only 29 | PRODUCT_PROPERTY_OVERRIDES += \ 30 | ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55" 31 | 32 | -------------------------------------------------------------------------------- /aosp_oriole.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2020 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | $(call inherit-product, device/google/gs101/aosp_common.mk) 18 | $(call inherit-product, device/google/raviole/device-oriole.mk) 19 | 20 | PRODUCT_NAME := aosp_oriole 21 | PRODUCT_DEVICE := oriole 22 | PRODUCT_MODEL := AOSP on Oriole 23 | PRODUCT_BRAND := Android 24 | PRODUCT_MANUFACTURER := Google 25 | 26 | # Keep the VNDK APEX in /system partition for REL branches as these branches are 27 | # expected to have stable API/ABI surfaces. 28 | ifneq (REL,$(PLATFORM_VERSION_CODENAME)) 29 | PRODUCT_PACKAGES += com.android.vndk.current.on_vendor 30 | endif 31 | -------------------------------------------------------------------------------- /raven/regen-carriersettings.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (C) 2019-2023 The LineageOS Project 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | # 7 | 8 | set -e 9 | 10 | # Load extract_utils and do some sanity checks 11 | MY_DIR="${BASH_SOURCE%/*}" 12 | if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi 13 | 14 | ANDROID_ROOT="${MY_DIR}/../../../.." 15 | 16 | HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh" 17 | if [ ! -f "${HELPER}" ]; then 18 | echo "Unable to find helper script at ${HELPER}" 19 | exit 1 20 | fi 21 | source "${HELPER}" 22 | 23 | _input_image="${1}" 24 | _output_file="${2}" 25 | 26 | if [ -z "${_input_image}" ]; then 27 | echo "No input image supplied" 28 | exit 1 29 | fi 30 | 31 | if [ -z "${_output_file}" ]; then 32 | echo "No output filename supplied" 33 | exit 1 34 | fi 35 | 36 | CARRIER_SKIP_FILES=() 37 | 38 | # Initialize the helper 39 | setup_vendor_deps "${ANDROID_ROOT}" 40 | 41 | generate_prop_list_from_image "${_input_image}" "${_output_file}" CARRIER_SKIP_FILES carriersettings 42 | 43 | function header() { 44 | sed -i "1s/^/${1}\n/" "${_output_file}" 45 | } 46 | 47 | header "# All blobs are extracted from Google factory images for each new ASB" 48 | -------------------------------------------------------------------------------- /conf/init.slider.rc: -------------------------------------------------------------------------------- 1 | # Slider specific init.rc 2 | import /vendor/etc/init/hw/init.gs101.rc 3 | 4 | on init 5 | # NFC streset tool name 6 | setprop persist.vendor.nfc.streset libstreset21 7 | setprop persist.vendor.se.streset libstreset21 8 | 9 | # When ro.build.flavor=factory_slider-userdebug, add vendor/bin/factory to default path 10 | on init && property:ro.build.flavor=factory_slider-userdebug 11 | import /vendor/etc/init/hw/init.factory.rc 12 | 13 | on init 14 | # logbuffer 15 | chown system system /dev/logbuffer_6-0057 16 | 17 | on early-boot 18 | # Wait for insmod_sh to finish all common modules 19 | wait_for_prop vendor.common.modules.ready 1 20 | start insmod_sh_slider 21 | 22 | 23 | service insmod_sh_slider /vendor/bin/insmod.sh /vendor/etc/init.insmod.slider.cfg 24 | class main 25 | user root 26 | group root system 27 | disabled 28 | oneshot 29 | 30 | # charger driver exposes now finer grain control, map demo mode to those properties 31 | # NOTE: demo mode can only be exit wiping data (which reset the persist properties) 32 | on property:sys.retaildemo.enabled=1 33 | setprop persist.vendor.charge.stop.level 35 34 | setprop persist.vendor.charge.start.level 30 35 | -------------------------------------------------------------------------------- /oriole/regen-carriersettings.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (C) 2019-2023 The LineageOS Project 4 | # 5 | # SPDX-License-Identifier: Apache-2.0 6 | # 7 | 8 | set -e 9 | 10 | # Load extract_utils and do some sanity checks 11 | MY_DIR="${BASH_SOURCE%/*}" 12 | if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi 13 | 14 | ANDROID_ROOT="${MY_DIR}/../../../.." 15 | 16 | HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh" 17 | if [ ! -f "${HELPER}" ]; then 18 | echo "Unable to find helper script at ${HELPER}" 19 | exit 1 20 | fi 21 | source "${HELPER}" 22 | 23 | _input_image="${1}" 24 | _output_file="${2}" 25 | 26 | if [ -z "${_input_image}" ]; then 27 | echo "No input image supplied" 28 | exit 1 29 | fi 30 | 31 | if [ -z "${_output_file}" ]; then 32 | echo "No output filename supplied" 33 | exit 1 34 | fi 35 | 36 | CARRIER_SKIP_FILES=() 37 | 38 | # Initialize the helper 39 | setup_vendor_deps "${ANDROID_ROOT}" 40 | 41 | generate_prop_list_from_image "${_input_image}" "${_output_file}" CARRIER_SKIP_FILES carriersettings 42 | 43 | function header() { 44 | sed -i "1s/^/${1}\n/" "${_output_file}" 45 | } 46 | 47 | header "# All blobs are extracted from Google factory images for each new ASB" 48 | -------------------------------------------------------------------------------- /raven/rro_overlays/UwbOverlay/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | 21 | 22 | 27 | 28 | -------------------------------------------------------------------------------- /self-extractors_raven/google_devices/staging/BoardConfigPartial.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2021 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | BOARD_PREBUILT_VENDORIMAGE := vendor/google_devices/raven/proprietary/vendor.img 16 | 17 | BOARD_PREBUILT_VENDOR_DLKMIMAGE := vendor/google_devices/raven/proprietary/vendor_dlkm.img 18 | 19 | TARGET_COPY_OUT_VENDOR_DLKM := vendor_dlkm 20 | 21 | AB_OTA_PARTITIONS += \ 22 | vendor \ 23 | vendor_dlkm \ 24 | 25 | -include vendor/google/tools/android-info.mk 26 | ifdef USE_ANDROID_INFO 27 | TARGET_BOARD_INFO_FILE := vendor/google_devices/raven/android-info.txt 28 | endif 29 | 30 | VENDOR_BLOBS_LICENSE := vendor/google_devices/raven/LICENSE 31 | -------------------------------------------------------------------------------- /self-extractors_oriole/google_devices/staging/BoardConfigPartial.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2021 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | BOARD_PREBUILT_VENDORIMAGE := vendor/google_devices/oriole/proprietary/vendor.img 16 | 17 | BOARD_PREBUILT_VENDOR_DLKMIMAGE := vendor/google_devices/oriole/proprietary/vendor_dlkm.img 18 | 19 | TARGET_COPY_OUT_VENDOR_DLKM := vendor_dlkm 20 | 21 | AB_OTA_PARTITIONS += \ 22 | vendor \ 23 | vendor_dlkm \ 24 | 25 | -include vendor/google/tools/android-info.mk 26 | ifdef USE_ANDROID_INFO 27 | TARGET_BOARD_INFO_FILE := vendor/google_devices/oriole/android-info.txt 28 | endif 29 | 30 | VENDOR_BLOBS_LICENSE := vendor/google_devices/oriole/LICENSE 31 | -------------------------------------------------------------------------------- /uwb/Android.mk: -------------------------------------------------------------------------------- 1 | 2 | # 3 | # Copyright (C) 2022 The Android Open-Source Project 4 | # 5 | # Licensed under the Apache License, Version 2.0 (the "License"); 6 | # you may not use this file except in compliance with the License. 7 | # You may obtain a copy of the License at 8 | # 9 | # http://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, software 12 | # distributed under the License is distributed on an "AS IS" BASIS, 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 | # See the License for the specific language governing permissions and 15 | # limitations under the License. 16 | # 17 | # WARNING: Everything listed here will be built on ALL platforms, 18 | # including x86, the universal, and the SDK. Modules must be uniquely 19 | # named (liblights.panda), and must build everywhere, or limit themselves 20 | # to only building on ARM if they include assembly. Individual makefiles 21 | # are responsible for having their own logic, for fine-grained control. 22 | LOCAL_PATH:= $(call my-dir) 23 | LOCAL_UWB_CAL_DIR=$(LOCAL_PATH) 24 | DEVICE_UWB_CAL_DIR=$(TARGET_OUT_VENDOR)/etc/uwb 25 | $(shell ($(LOCAL_UWB_CAL_DIR)/country_conf_gen.sh $(LOCAL_UWB_CAL_DIR) $(DEVICE_UWB_CAL_DIR))) 26 | 27 | -------------------------------------------------------------------------------- /uwb/uwb_country.conf: -------------------------------------------------------------------------------- 1 | *FCC 2 | "United States": "us" 3 | "Canada": "ca" 4 | 5 | *CE 6 | "Austria": "at" 7 | "Belgium": "be" 8 | "Bulgaria": "bg" 9 | "Croatia": "hr" 10 | "Cyprus": "cy" 11 | "Czech Republic": "cz" 12 | "Denmark": "dk" 13 | "Estonia": "ee" 14 | "Finland": "fi" 15 | "France": "fr" 16 | "Germany": "de" 17 | "Greece": "gr" 18 | "Hungary": "hu" 19 | "Ireland Republic of (EIRE)": "ie" 20 | "Italy": "it" 21 | "Latvia": "lv" 22 | "Lithuania": "lt" 23 | "Luxembourg": "lu" 24 | "Malta": "mt" 25 | "Netherlands": "nl" 26 | "Poland": "pl" 27 | "Portugal": "pt" 28 | "Romania": "ro" 29 | "Slovakia": "sk" 30 | "Slovenia": "si" 31 | "Spain": "es" 32 | "Sweden": "se" 33 | "United Kingdom (Great Britain)": "gb" 34 | "Northern Ireland": "ni" 35 | "Iceland": "is" 36 | "Liechtenstein": "li" 37 | "Norway": "no" 38 | "Switzerland": "ch" 39 | 40 | *JP 41 | "Japan": "jp" 42 | 43 | *TW 44 | "Taiwan": "tw" 45 | 46 | *Restricted 47 | "Argentina": "ar" 48 | "Armenia": "am" 49 | "Azerbaijan": "az" 50 | "Belarus": "by" 51 | "Indonesia": "id" 52 | "Kazakhstan": "kz" 53 | "Kyrgyzstan": "kg" 54 | "Nepal": "np" 55 | "Pakistan": "pk" 56 | "Paraguay": "py" 57 | "Russia": "ru" 58 | "Solomon Islands": "sb" 59 | "Tajikistan": "tj" 60 | "Turkmenistanr": "tm" 61 | "Ukraine": "ua" 62 | "Uzbekistan": "uz" 63 | -------------------------------------------------------------------------------- /factory_oriole.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2020 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | $(call inherit-product, device/google/gs101/factory_common.mk) 18 | $(call inherit-product, device/google/raviole/device-oriole.mk) 19 | include device/google/raviole/audio/oriole/factory-audio-tables.mk 20 | 21 | PRODUCT_NAME := factory_oriole 22 | PRODUCT_DEVICE := oriole 23 | PRODUCT_MODEL := Factory build on Oriole 24 | PRODUCT_BRAND := Android 25 | PRODUCT_MANUFACTURER := Google 26 | 27 | DEVICE_PACKAGE_OVERLAYS += device/google/raviole/factory_oriole/overlay 28 | 29 | # default BDADDR for EVB only 30 | PRODUCT_PROPERTY_OVERRIDES += \ 31 | ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55" 32 | 33 | # Factory binary of camera 34 | PRODUCT_PACKAGES += fatp_gn1_hat_tool 35 | -------------------------------------------------------------------------------- /aosp_raven.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2020 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | $(call inherit-product, device/google/gs101/aosp_common.mk) 18 | $(call inherit-product, device/google/raviole/device-raven.mk) 19 | 20 | PRODUCT_NAME := aosp_raven 21 | PRODUCT_NAME_FOR_ATTESTATION := raven 22 | PRODUCT_DEVICE := raven 23 | PRODUCT_MODEL := AOSP on Raven 24 | PRODUCT_MODEL_FOR_ATTESTATION := Pixel 6 Pro 25 | PRODUCT_BRAND := Android 26 | PRODUCT_BRAND_FOR_ATTESTATION := google 27 | PRODUCT_MANUFACTURER := Google 28 | 29 | # Keep the VNDK APEX in /system partition for REL branches as these branches are 30 | # expected to have stable API/ABI surfaces. 31 | ifneq (REL,$(PLATFORM_VERSION_CODENAME)) 32 | PRODUCT_PACKAGES += com.android.vndk.current.on_vendor 33 | endif 34 | -------------------------------------------------------------------------------- /oriole/overlay/frameworks/base/core/res/res/xml/irq_device_map.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | Alarm 22 | 23 | 24 | Wifi 25 | 26 | 27 | Cellular_data 28 | 29 | 30 | Sound_trigger 31 | 32 | 33 | Sensor 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /raven/overlay/frameworks/base/core/res/res/xml/irq_device_map.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | Alarm 22 | 23 | 24 | Wifi 25 | 26 | 27 | Cellular_data 28 | 29 | 30 | Sound_trigger 31 | 32 | 33 | Sensor 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /factory_raven.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright 2020 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | $(call inherit-product, device/google/gs101/factory_common.mk) 18 | $(call inherit-product, device/google/raviole/device-raven.mk) 19 | include device/google/raviole/audio/raven/factory-audio-tables.mk 20 | 21 | PRODUCT_NAME := factory_raven 22 | PRODUCT_DEVICE := raven 23 | PRODUCT_MODEL := Factory build on Raven 24 | PRODUCT_BRAND := Android 25 | PRODUCT_MANUFACTURER := Google 26 | 27 | DEVICE_PACKAGE_OVERLAYS += device/google/raviole/factory_raven/overlay 28 | 29 | # default BDADDR for EVB only 30 | PRODUCT_PROPERTY_OVERRIDES += \ 31 | ro.vendor.bluetooth.evb_bdaddr="22:22:22:33:44:55" 32 | 33 | # Factory binaries of camera 34 | PRODUCT_PACKAGES += fatp_gn1_hat_tool fatp_imx586_hat_tool 35 | -------------------------------------------------------------------------------- /conf/init.oriole.rc: -------------------------------------------------------------------------------- 1 | # Oriole specific init.rc 2 | import /vendor/etc/init/hw/init.gs101.rc 3 | import /vendor/etc/init/hw/init.raviole.rc 4 | 5 | on init 6 | # logbuffer 7 | chown system system /dev/logbuffer_5-0057 8 | # nvmem dump 9 | chown system system /sys/bus/nvmem/devices/4-00500/nvmem 10 | 11 | # Toggle glove_mode according to touch_sensitivity_mode 12 | on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_completed=1 13 | write /sys/class/spi_master/spi11/spi11.0/glove_mode 00 14 | 15 | on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1 16 | write /sys/class/spi_master/spi11/spi11.0/glove_mode 01 17 | 18 | # Thermal 19 | on late-init && property:ro.boot.hardware.revision=PROTO1.0 20 | setprop vendor.thermal.config "thermal_info_config_WHI_A.json" 21 | 22 | on late-init && property:ro.boot.hardware.revision=PROTO1.1 23 | setprop vendor.disable.usb.overheat.mitigation.control 1 24 | 25 | on late-init && property:ro.boot.hardware.revision=EVT1.0 26 | setprop vendor.disable.usb.overheat.mitigation.control 1 27 | 28 | # For Japan sku, always enforce camera shutter sound 29 | # Since this property is read by the audio server in system service, 30 | # it should be written by the system init. 31 | on property:ro.boot.hardware.sku=GR1YH 32 | setprop audio.camerasound.force true 33 | -------------------------------------------------------------------------------- /uwb/country_conf_gen.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # This script is used to generate uwb conuntry configuration file, 4 | # and the PRODUCT_COPY_FILES list in uwb.mk based on uwb_country.conf 5 | # Bug: 196073172, 233619860 6 | 7 | count=1 8 | 9 | mkdir -p $2 10 | 11 | while read line ; do 12 | if [[ "$line" =~ ^"*" ]]; then 13 | header=${line:1} 14 | elif [[ "$line" =~ ^"\"" ]]; then 15 | #line=$(echo ${line/,} | tr -d "\"") 16 | country[count]=$(echo $line | cut -d ':' -f1 | tr -d "\"") 17 | code[count]=$(echo $line | cut -d ':' -f2 | tr -d "\"" | tr -d " ") 18 | if [ "$header" = "FCC" ]; then 19 | cp $1/UWB-calibration-fcc.conf $2/UWB-calibration-${code[$count]}.conf 20 | elif [ "$header" = "CE" ]; then 21 | cp $1/UWB-calibration-ce.conf $2/UWB-calibration-${code[$count]}.conf 22 | elif [ "$header" = "JP" ]; then 23 | cp $1/UWB-calibration-jp.conf $2/UWB-calibration-${code[$count]}.conf 24 | elif [ "$header" = "TW" ]; then 25 | cp $1/UWB-calibration-tw.conf $2/UWB-calibration-${code[$count]}.conf 26 | elif [ "$header" = "Restricted" ]; then 27 | cp $1/UWB-calibration-restricted.conf $2/UWB-calibration-${code[$count]}.conf 28 | fi 29 | fi 30 | ((count++)) 31 | done < $1/uwb_country.conf 32 | -------------------------------------------------------------------------------- /Android.bp: -------------------------------------------------------------------------------- 1 | soong_namespace { 2 | imports: [ 3 | "hardware/google/interfaces", 4 | "hardware/google/pixel", 5 | "device/google/gs101", 6 | ], 7 | } 8 | 9 | package { 10 | default_applicable_licenses: ["device_google_raviole_license"], 11 | } 12 | 13 | // Added automatically by a large-scale-change that took the approach of 14 | // 'apply every license found to every target'. While this makes sure we respect 15 | // every license restriction, it may not be entirely correct. 16 | // 17 | // e.g. GPL in an MIT project might only apply to the contrib/ directory. 18 | // 19 | // Please consider splitting the single license below into multiple licenses, 20 | // taking care not to lose any license_kind information, and overriding the 21 | // default license using the 'licenses: [...]' property on targets as needed. 22 | // 23 | // For unused files, consider creating a 'fileGroup' with "//visibility:private" 24 | // to attach the license to, and including a comment whether the files may be 25 | // used in the current project. 26 | // See: http://go/android-license-faq 27 | license { 28 | name: "device_google_raviole_license", 29 | visibility: [":__subpackages__"], 30 | license_kinds: [ 31 | "SPDX-license-identifier-Apache-2.0", 32 | "SPDX-license-identifier-BSD", 33 | ], 34 | license_text: [ 35 | "NOTICE", 36 | ], 37 | } 38 | -------------------------------------------------------------------------------- /raven/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml: -------------------------------------------------------------------------------- 1 | 14 | 19 | 20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /raven/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml: -------------------------------------------------------------------------------- 1 | 14 | 19 | 20 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /uwb/uwb_calibration.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2021 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | # UWB - ultra wide band 17 | $(call inherit-product-if-exists, vendor/qorvo/uwb/uwb.mk) 18 | 19 | LOCAL_UWB_CAL_DIR=device/google/raviole/uwb 20 | 21 | PRODUCT_COPY_FILES += \ 22 | $(LOCAL_UWB_CAL_DIR)/UWB-calibration-restricted.conf:$(TARGET_COPY_OUT_VENDOR)/etc/uwb/UWB-calibration-unknown.conf \ 23 | $(LOCAL_UWB_CAL_DIR)/UWB-calibration-default.conf:$(TARGET_COPY_OUT_VENDOR)/etc/uwb/UWB-calibration-default.conf \ 24 | $(LOCAL_UWB_CAL_DIR)/UWB-calibration.conf:$(TARGET_COPY_OUT_VENDOR)/etc/uwb/UWB-calibration.conf \ 25 | $(LOCAL_UWB_CAL_DIR)/init.uwb.calib.xtal.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.uwb.calib.sh \ 26 | 27 | PRODUCT_COPY_FILES += \ 28 | frameworks/native/data/etc/android.hardware.uwb.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.uwb.xml 29 | -------------------------------------------------------------------------------- /raven/rro_overlays/UwbOverlay/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | true 22 | 23 | 26 | true 27 | 28 | 30 | true 31 | 32 | -------------------------------------------------------------------------------- /oriole/overlay/packages/apps/Nfc/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | false 18 | true 19 | 20 | G9S9B 21 | GB7N6 22 | GR1YH 23 | 24 | true 25 | 26 | 72 27 | 157 28 | false 29 | 30 | 36 31 | 32 | 33 | 106 34 | 35 | 36 | -------------------------------------------------------------------------------- /raven/overlay/packages/apps/Nfc/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 16 | 17 | true 18 | true 19 | 20 | G8V0U 21 | GF5KQ 22 | GLU0G 23 | 24 | true 25 | 26 | 72 27 | 167 28 | false 29 | 30 | 36 31 | 32 | 33 | 106 34 | 35 | 36 | -------------------------------------------------------------------------------- /powerstats/oriole/Android.bp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2021 The Android Open Source Project 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | soong_namespace { 16 | imports: [ 17 | "hardware/google/pixel", 18 | "device/google/gs101/powerstats", 19 | ] 20 | } 21 | 22 | package { 23 | // See: http://go/android-license-faq 24 | // A large-scale-change added 'default_applicable_licenses' to import 25 | // all of the 'license_kinds' from "//device/google/raviole:device_google_raviole_license" 26 | // to get the below license kinds: 27 | // SPDX-license-identifier-Apache-2.0 28 | default_applicable_licenses: [ 29 | "//device/google/raviole:device_google_raviole_license", 30 | ], 31 | } 32 | 33 | cc_binary { 34 | name: "android.hardware.power.stats-service.pixel", 35 | defaults: ["powerstats_pixel_binary_defaults"], 36 | 37 | srcs: [ 38 | "*.cpp", 39 | ], 40 | 41 | shared_libs: [ 42 | "android.hardware.power.stats-impl.gs101", 43 | ], 44 | } 45 | -------------------------------------------------------------------------------- /powerstats/raven/Android.bp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2021 The Android Open Source Project 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | soong_namespace { 16 | imports: [ 17 | "hardware/google/pixel", 18 | "device/google/gs101/powerstats", 19 | ] 20 | } 21 | 22 | package { 23 | // See: http://go/android-license-faq 24 | // A large-scale-change added 'default_applicable_licenses' to import 25 | // all of the 'license_kinds' from "//device/google/raviole:device_google_raviole_license" 26 | // to get the below license kinds: 27 | // SPDX-license-identifier-Apache-2.0 28 | default_applicable_licenses: [ 29 | "//device/google/raviole:device_google_raviole_license", 30 | ], 31 | } 32 | 33 | cc_binary { 34 | name: "android.hardware.power.stats-service.pixel", 35 | defaults: ["powerstats_pixel_binary_defaults"], 36 | 37 | srcs: [ 38 | "*.cpp", 39 | ], 40 | 41 | shared_libs: [ 42 | "android.hardware.power.stats-impl.gs101", 43 | ], 44 | } 45 | -------------------------------------------------------------------------------- /powerstats/slider/Android.bp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2021 The Android Open Source Project 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | soong_namespace { 16 | imports: [ 17 | "hardware/google/pixel", 18 | "device/google/gs101/powerstats", 19 | ] 20 | } 21 | 22 | package { 23 | // See: http://go/android-license-faq 24 | // A large-scale-change added 'default_applicable_licenses' to import 25 | // all of the 'license_kinds' from "//device/google/raviole:device_google_raviole_license" 26 | // to get the below license kinds: 27 | // SPDX-license-identifier-Apache-2.0 28 | default_applicable_licenses: [ 29 | "//device/google/raviole:device_google_raviole_license", 30 | ], 31 | } 32 | 33 | cc_binary { 34 | name: "android.hardware.power.stats-service.pixel", 35 | defaults: ["powerstats_pixel_binary_defaults"], 36 | 37 | srcs: [ 38 | "*.cpp", 39 | ], 40 | 41 | shared_libs: [ 42 | "android.hardware.power.stats-impl.gs101", 43 | ], 44 | } 45 | -------------------------------------------------------------------------------- /powerstats/whitefin/Android.bp: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2021 The Android Open Source Project 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | soong_namespace { 16 | imports: [ 17 | "hardware/google/pixel", 18 | "device/google/gs101/powerstats", 19 | ] 20 | } 21 | 22 | package { 23 | // See: http://go/android-license-faq 24 | // A large-scale-change added 'default_applicable_licenses' to import 25 | // all of the 'license_kinds' from "//device/google/raviole:device_google_raviole_license" 26 | // to get the below license kinds: 27 | // SPDX-license-identifier-Apache-2.0 28 | default_applicable_licenses: [ 29 | "//device/google/raviole:device_google_raviole_license", 30 | ], 31 | } 32 | 33 | cc_binary { 34 | name: "android.hardware.power.stats-service.pixel", 35 | defaults: ["powerstats_pixel_binary_defaults"], 36 | 37 | srcs: [ 38 | "*.cpp", 39 | ], 40 | 41 | shared_libs: [ 42 | "android.hardware.power.stats-impl.gs101", 43 | ], 44 | } 45 | -------------------------------------------------------------------------------- /factory_oriole/overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 25 | 26 | 0:2:15 27 | 28 | 29 | 30 | 31 | 540 32 | 1769 33 | 113 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /factory_raven/overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 25 | 26 | 0:2:15 27 | 28 | 29 | 30 | 31 | 720 32 | 2364 33 | 142 34 | 35 | 36 | 37 | -------------------------------------------------------------------------------- /AndroidProducts.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2019 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | PRODUCT_MAKEFILES := \ 18 | $(LOCAL_DIR)/aosp_oriole.mk \ 19 | $(LOCAL_DIR)/aosp_oriole_hwasan.mk \ 20 | $(LOCAL_DIR)/aosp_oriole_pkvm.mk \ 21 | $(LOCAL_DIR)/aosp_oriole_64.mk \ 22 | $(LOCAL_DIR)/factory_oriole.mk \ 23 | $(LOCAL_DIR)/aosp_raven.mk \ 24 | $(LOCAL_DIR)/aosp_raven_hwasan.mk \ 25 | $(LOCAL_DIR)/aosp_raven_pkvm.mk \ 26 | $(LOCAL_DIR)/aosp_raven_64.mk \ 27 | $(LOCAL_DIR)/factory_raven.mk \ 28 | $(LOCAL_DIR)/aosp_slider.mk \ 29 | $(LOCAL_DIR)/aosp_slider_hwasan.mk \ 30 | $(LOCAL_DIR)/factory_slider.mk \ 31 | $(LOCAL_DIR)/full_slider.mk \ 32 | $(LOCAL_DIR)/aosp_whitefin.mk \ 33 | $(LOCAL_DIR)/aosp_whitefin_pkvm.mk \ 34 | $(LOCAL_DIR)/aosp_whitefin_hwasan.mk \ 35 | $(LOCAL_DIR)/aosp_whitefin_64.mk \ 36 | $(LOCAL_DIR)/factory_whitefin.mk \ 37 | $(LOCAL_DIR)/superior_oriole.mk \ 38 | $(LOCAL_DIR)/superior_raven.mk 39 | 40 | COMMON_LUNCH_CHOICES := \ 41 | aosp_slider-userdebug \ 42 | aosp_whitefin-userdebug \ 43 | aosp_oriole-userdebug \ 44 | aosp_raven-userdebug 45 | -------------------------------------------------------------------------------- /self-extractors_oriole/google_devices/staging/device-partial.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2021 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | PRODUCT_SOONG_NAMESPACES += \ 16 | vendor/google_devices/oriole/proprietary \ 17 | 18 | # AOSP packages required by the blobs 19 | PRODUCT_PACKAGES := \ 20 | ShannonQualifiedNetworksService \ 21 | ShannonIms \ 22 | ShannonRcs \ 23 | 24 | PRODUCT_PACKAGES += \ 25 | libmediaadaptor \ 26 | 27 | # blob(s) necessary for oriole hardware 28 | PRODUCT_COPY_FILES := \ 29 | vendor/google_devices/oriole/proprietary/com.shannon.imsservice.xml:system_ext/etc/permissions/com.shannon.imsservice.xml:samsung \ 30 | vendor/google_devices/oriole/proprietary/com.shannon.qualifiednetworksservice.xml:system_ext/etc/permissions/com.shannon.qualifiednetworksservice.xml:samsung \ 31 | vendor/google_devices/oriole/proprietary/com.shannon.rcsservice.xml:system_ext/etc/permissions/com.shannon.rcsservice.xml:samsung \ 32 | vendor/google_devices/oriole/proprietary/oemrilhook.xml:system_ext/etc/permissions/oemrilhook.xml:samsung \ 33 | vendor/google_devices/oriole/proprietary/oemrilhook.jar:system_ext/framework/oemrilhook.jar:samsung \ 34 | 35 | -------------------------------------------------------------------------------- /self-extractors_oriole/google_devices/staging/Android.bp.txt: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2021 The Android Open Source Project 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | soong_namespace { 16 | } 17 | 18 | cc_prebuilt_library_shared { 19 | name: "libmediaadaptor", 20 | arch: { 21 | arm: { 22 | srcs: ["libmediaadaptor.so"], 23 | shared_libs: [ 24 | "libandroid_runtime", 25 | "libbinder", 26 | "libc++", 27 | "liblog", 28 | "libmedia", 29 | "libnativehelper", 30 | "libstagefright", 31 | "libutils", 32 | ], 33 | }, 34 | arm64: { 35 | srcs: ["lib64/libmediaadaptor.so"], 36 | shared_libs: [ 37 | "libandroid_runtime", 38 | "libbinder", 39 | "libc++", 40 | "liblog", 41 | "libmedia", 42 | "libnativehelper", 43 | "libstagefright", 44 | "libutils", 45 | ], 46 | }, 47 | }, 48 | compile_multilib: "both", 49 | system_ext_specific: true, 50 | strip: { 51 | none: true, 52 | }, 53 | } 54 | 55 | -------------------------------------------------------------------------------- /self-extractors_raven/google_devices/staging/Android.bp.txt: -------------------------------------------------------------------------------- 1 | // Copyright (C) 2021 The Android Open Source Project 2 | // 3 | // Licensed under the Apache License, Version 2.0 (the "License"); 4 | // you may not use this file except in compliance with the License. 5 | // You may obtain a copy of the License at 6 | // 7 | // http://www.apache.org/licenses/LICENSE-2.0 8 | // 9 | // Unless required by applicable law or agreed to in writing, software 10 | // distributed under the License is distributed on an "AS IS" BASIS, 11 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | // See the License for the specific language governing permissions and 13 | // limitations under the License. 14 | 15 | soong_namespace { 16 | } 17 | 18 | cc_prebuilt_library_shared { 19 | name: "libmediaadaptor", 20 | arch: { 21 | arm: { 22 | srcs: ["libmediaadaptor.so"], 23 | shared_libs: [ 24 | "libandroid_runtime", 25 | "libbinder", 26 | "libc++", 27 | "liblog", 28 | "libmedia", 29 | "libnativehelper", 30 | "libstagefright", 31 | "libutils", 32 | ], 33 | }, 34 | arm64: { 35 | srcs: ["lib64/libmediaadaptor.so"], 36 | shared_libs: [ 37 | "libandroid_runtime", 38 | "libbinder", 39 | "libc++", 40 | "liblog", 41 | "libmedia", 42 | "libnativehelper", 43 | "libstagefright", 44 | "libutils", 45 | ], 46 | }, 47 | }, 48 | compile_multilib: "both", 49 | system_ext_specific: true, 50 | strip: { 51 | none: true, 52 | }, 53 | } 54 | 55 | -------------------------------------------------------------------------------- /self-extractors_raven/google_devices/staging/device-partial.mk: -------------------------------------------------------------------------------- 1 | # Copyright 2021 The Android Open Source Project 2 | # 3 | # Licensed under the Apache License, Version 2.0 (the "License"); 4 | # you may not use this file except in compliance with the License. 5 | # You may obtain a copy of the License at 6 | # 7 | # http://www.apache.org/licenses/LICENSE-2.0 8 | # 9 | # Unless required by applicable law or agreed to in writing, software 10 | # distributed under the License is distributed on an "AS IS" BASIS, 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 | # See the License for the specific language governing permissions and 13 | # limitations under the License. 14 | 15 | PRODUCT_SOONG_NAMESPACES += \ 16 | vendor/google_devices/raven/proprietary \ 17 | 18 | # AOSP packages required by the blobs 19 | PRODUCT_PACKAGES := \ 20 | ShannonQualifiedNetworksService \ 21 | ShannonIms \ 22 | ShannonRcs \ 23 | UwbVendorService \ 24 | 25 | PRODUCT_PACKAGES += \ 26 | libmediaadaptor \ 27 | 28 | # blob(s) necessary for raven hardware 29 | PRODUCT_COPY_FILES := \ 30 | vendor/google_devices/raven/proprietary/com.shannon.imsservice.xml:system_ext/etc/permissions/com.shannon.imsservice.xml:samsung \ 31 | vendor/google_devices/raven/proprietary/com.shannon.qualifiednetworksservice.xml:system_ext/etc/permissions/com.shannon.qualifiednetworksservice.xml:samsung \ 32 | vendor/google_devices/raven/proprietary/com.shannon.rcsservice.xml:system_ext/etc/permissions/com.shannon.rcsservice.xml:samsung \ 33 | vendor/google_devices/raven/proprietary/oemrilhook.xml:system_ext/etc/permissions/oemrilhook.xml:samsung \ 34 | vendor/google_devices/raven/proprietary/privapp-permissions-qorvo.xml:system_ext/etc/permissions/privapp-permissions-qorvo.xml:qorvo \ 35 | vendor/google_devices/raven/proprietary/oemrilhook.jar:system_ext/framework/oemrilhook.jar:samsung \ 36 | 37 | -------------------------------------------------------------------------------- /oriole/overlay-lineage/packages/apps/Aperture/app/src/main/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 26 | 27 | 0 0.7 0.67044300 28 | 0 2.0 2.0 29 | 30 | 31 | -------------------------------------------------------------------------------- /raven/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2020 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | # Enable load module in parallel 18 | BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true 19 | 20 | # The modules which need to be loaded in sequential 21 | BOARD_KERNEL_CMDLINE += exynos_mfc.load_sequential=1 22 | BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1 23 | BOARD_KERNEL_CMDLINE += pcie-exynos-core.load_sequential=1 24 | BOARD_KERNEL_CMDLINE += g2d.load_sequential=1 25 | 26 | ifdef AUTOMOTIVE_PRODUCT_PATH 27 | #RBC# include_top device/google/auto_tcu 28 | #RBC# include_top device/google/pixel_tcu 29 | #RBC# include_top device/google_car 30 | include device/$(AUTOMOTIVE_PRODUCT_PATH)/BoardConfig.mk 31 | else 32 | TARGET_SCREEN_DENSITY := 560 33 | endif 34 | 35 | TARGET_BOARD_INFO_FILE := device/google/raviole/board-info.txt 36 | TARGET_BOOTLOADER_BOARD_NAME := raven 37 | USES_DEVICE_GOOGLE_RAVIOLE := true 38 | BOARD_KERNEL_CMDLINE += disable_dma32=on 39 | 40 | include device/google/gs101/BoardConfig-common.mk 41 | include device/google/gs101/sepolicy/raven-sepolicy.mk 42 | include device/google/gs101/wifi/BoardConfig-wifi.mk 43 | -include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk 44 | -include vendor/google_devices/raven/proprietary/BoardConfigVendor.mk 45 | 46 | include device/google/raviole/raven/BoardConfigLineage.mk 47 | -------------------------------------------------------------------------------- /oriole/BoardConfig.mk: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (C) 2020 The Android Open-Source Project 3 | # 4 | # Licensed under the Apache License, Version 2.0 (the "License"); 5 | # you may not use this file except in compliance with the License. 6 | # You may obtain a copy of the License at 7 | # 8 | # http://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | # 16 | 17 | # Enable load module in parallel 18 | BOARD_BOOTCONFIG += androidboot.load_modules_parallel=true 19 | 20 | # The modules which need to be loaded in sequential 21 | BOARD_KERNEL_CMDLINE += exynos_mfc.load_sequential=1 22 | BOARD_KERNEL_CMDLINE += exynos_drm.load_sequential=1 23 | BOARD_KERNEL_CMDLINE += pcie-exynos-core.load_sequential=1 24 | BOARD_KERNEL_CMDLINE += g2d.load_sequential=1 25 | 26 | ifdef AUTOMOTIVE_PRODUCT_PATH 27 | #RBC# include_top device/google/auto_tcu 28 | #RBC# include_top device/google/pixel_tcu 29 | #RBC# include_top device/google_car 30 | include device/$(AUTOMOTIVE_PRODUCT_PATH)/BoardConfig.mk 31 | else 32 | TARGET_SCREEN_DENSITY := 420 33 | endif 34 | 35 | TARGET_BOARD_INFO_FILE := device/google/raviole/board-info.txt 36 | TARGET_BOOTLOADER_BOARD_NAME := oriole 37 | USES_DEVICE_GOOGLE_RAVIOLE := true 38 | BOARD_KERNEL_CMDLINE += disable_dma32=on 39 | 40 | include device/google/gs101/BoardConfig-common.mk 41 | include device/google/gs101/sepolicy/oriole-sepolicy.mk 42 | include device/google/gs101/wifi/BoardConfig-wifi.mk 43 | -include vendor/google_devices/gs101/prebuilts/BoardConfigVendor.mk 44 | -include vendor/google_devices/oriole/proprietary/BoardConfigVendor.mk 45 | 46 | include device/google/raviole/oriole/BoardConfigLineage.mk 47 | -------------------------------------------------------------------------------- /oriole/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_bottom.xml: -------------------------------------------------------------------------------- 1 | 14 | 19 | 20 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /oriole/overlay/frameworks/base/packages/SystemUI/res/drawable/rounded_corner_top.xml: -------------------------------------------------------------------------------- 1 | 14 | 19 | 20 | 23 | 24 | 25 | 26 | -------------------------------------------------------------------------------- /raven/overlay-lineage/packages/apps/Aperture/app/src/main/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 26 | 27 | 0 0.7 0.67044300 28 | 0 2.0 2.0 29 | 0 4.0 4.30000019 30 | 31 | 32 | -------------------------------------------------------------------------------- /oriole/rro_overlays/HbmSVManagerOverlay/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | SCI_0_cal0.png 23 | SCI_1_cal0.png 24 | SCI_2_cal0.png 25 | SCI_3_cal0.png 26 | SCI_4_cal0.png 27 | SCI_5_cal0.png 28 | SCI_6_cal0.png 29 | 30 | 31 | @drawable/SCI_0_cal0 32 | @drawable/SCI_1_cal0 33 | @drawable/SCI_2_cal0 34 | @drawable/SCI_3_cal0 35 | @drawable/SCI_4_cal0 36 | @drawable/SCI_5_cal0 37 | @drawable/SCI_6_cal0 38 | 39 | 1500 40 | 10.0 41 | 42 | 15000.0 43 | 30000.0 44 | 45000.0 45 | 60000.0 46 | 70000.0 47 | 80000.0 48 | 100000.0 49 | 50 | 51 | -------------------------------------------------------------------------------- /slider/overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 26 | 27 | 0:2:15 28 | 29 | 30 | 32 | 0.0 33 | 34 | 36 | 1.0 37 | 38 | 40 | 0.29019607843 41 | 42 | -------------------------------------------------------------------------------- /oriole/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 20dp 21 | 22 | 23 | 1px 24 | 25 | 26 | @*android:dimen/status_bar_height 27 | 28 | 71px 29 | 71px 30 | 70px 31 | 32 | 33 | 650px 34 | 35 | 36 | 950px 37 | 1110px 38 | 39 | 40 | 54px 41 | 42 | 43 | 16px 44 | 45 | 46 | -------------------------------------------------------------------------------- /conf/init.raven.rc: -------------------------------------------------------------------------------- 1 | # Raven specific init.rc 2 | import /vendor/etc/init/hw/init.gs101.rc 3 | import /vendor/etc/init/hw/init.raviole.rc 4 | 5 | on init 6 | # logbuffer 7 | chown system system /dev/logbuffer_5-0057 8 | # nvmem dump 9 | chown system system /sys/bus/nvmem/devices/5-00500/nvmem 10 | 11 | # Power Stats HAL 12 | chown system system /sys/devices/platform/10d30000.spi/spi_master/spi10/spi10.0/uwb/power_stats 13 | 14 | on fs 15 | # Face 16 | exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/faceauth.app 17 | 18 | on property:vendor.mfgapi.touchpanel.permission=1 19 | chmod 0600 /sys/devices/virtual/sec/tsp/cmd 20 | chown system system /sys/devices/virtual/sec/tsp/cmd 21 | 22 | # Toggle glove_mode according to touch_sensitivity_mode 23 | on property:persist.vendor.touch_sensitivity_mode=0 && property:sys.boot_completed=1 24 | write /sys/devices/virtual/sec/tsp/cmd "glove_mode,0" 25 | 26 | on property:persist.vendor.touch_sensitivity_mode=1 && property:sys.boot_completed=1 27 | write /sys/devices/virtual/sec/tsp/cmd "glove_mode,1" 28 | 29 | # Display 30 | on property:graphics.display.kernel_idle_timer.enabled=true 31 | # Enable aggressive idle mode switching 32 | write /sys/devices/platform/exynos-drm/primary-panel/panel_idle "1" 33 | 34 | on property:graphics.display.kernel_idle_timer.enabled=false 35 | write /sys/devices/platform/exynos-drm/primary-panel/panel_idle "0" 36 | 37 | # Thermal 38 | on late-init && property:ro.boot.hardware.revision=PROTO1.0 39 | setprop vendor.disable.usb.overheat.mitigation.control 1 40 | 41 | on late-init && property:ro.boot.hardware.revision=PROTO1.1 42 | setprop vendor.disable.usb.overheat.mitigation.control 1 43 | 44 | on late-init && property:ro.boot.hardware.revision=EVT1.0 45 | setprop vendor.disable.usb.overheat.mitigation.control 1 46 | 47 | # Bluetooth 48 | on post-fs-data 49 | chown bluetooth system /proc/bluetooth/timesync 50 | 51 | # For Japan sku, always enforce camera shutter sound 52 | # Since this property is read by the audio server in system service, 53 | # it should be written by the system init. 54 | on property:ro.boot.hardware.sku=GF5KQ 55 | setprop audio.camerasound.force true 56 | -------------------------------------------------------------------------------- /oriole/extract-files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (C) 2016 The CyanogenMod Project 4 | # Copyright (C) 2017-2023 The LineageOS Project 5 | # 6 | # SPDX-License-Identifier: Apache-2.0 7 | # 8 | 9 | set -e 10 | 11 | DEVICE=oriole 12 | VENDOR=google 13 | 14 | # Load extract_utils and do some sanity checks 15 | MY_DIR="${BASH_SOURCE%/*}" 16 | if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi 17 | 18 | ANDROID_ROOT="${MY_DIR}/../../../.." 19 | 20 | HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh" 21 | if [ ! -f "${HELPER}" ]; then 22 | echo "Unable to find helper script at ${HELPER}" 23 | exit 1 24 | fi 25 | source "${HELPER}" 26 | 27 | # Default to sanitizing the vendor folder before extraction 28 | CLEAN_VENDOR=true 29 | 30 | KANG= 31 | SECTION= 32 | 33 | while [ "${#}" -gt 0 ]; do 34 | case "${1}" in 35 | -n | --no-cleanup ) 36 | CLEAN_VENDOR=false 37 | ;; 38 | -k | --kang ) 39 | KANG="--kang" 40 | ;; 41 | -s | --section ) 42 | SECTION="${2}"; shift 43 | CLEAN_VENDOR=false 44 | ;; 45 | * ) 46 | SRC="${1}" 47 | ;; 48 | esac 49 | shift 50 | done 51 | 52 | if [ -z "${SRC}" ]; then 53 | SRC="adb" 54 | fi 55 | 56 | function blob_fixup() { 57 | case "${1}" in 58 | product/etc/felica/common.cfg) 59 | sed -i -e '$a00000018,1' -e '/^00000014/d' -e '/^00000015/d' "${2}" 60 | ;; 61 | esac 62 | } 63 | 64 | function prepare_firmware() { 65 | if [ "${SRC}" != "adb" ]; then 66 | bash "${ANDROID_ROOT}"/lineage/scripts/pixel/prepare-firmware.sh "${DEVICE}" "${SRC}" 67 | fi 68 | } 69 | 70 | # Initialize the helper 71 | setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}" 72 | 73 | extract "${MY_DIR}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}" 74 | extract "${MY_DIR}/proprietary-files-carriersettings.txt" "${SRC}" "${KANG}" --section "${SECTION}" 75 | extract "${MY_DIR}/proprietary-files-vendor.txt" "${SRC}" "${KANG}" --section "${SECTION}" 76 | 77 | if [ -z "${SECTION}" ]; then 78 | extract_firmware "${MY_DIR}/proprietary-firmware.txt" "${SRC}" 79 | fi 80 | 81 | "${MY_DIR}/setup-makefiles.sh" 82 | -------------------------------------------------------------------------------- /raven/extract-files.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (C) 2016 The CyanogenMod Project 4 | # Copyright (C) 2017-2023 The LineageOS Project 5 | # 6 | # SPDX-License-Identifier: Apache-2.0 7 | # 8 | 9 | set -e 10 | 11 | DEVICE=raven 12 | VENDOR=google 13 | 14 | # Load extract_utils and do some sanity checks 15 | MY_DIR="${BASH_SOURCE%/*}" 16 | if [[ ! -d "${MY_DIR}" ]]; then MY_DIR="${PWD}"; fi 17 | 18 | ANDROID_ROOT="${MY_DIR}/../../../.." 19 | 20 | HELPER="${ANDROID_ROOT}/tools/extract-utils/extract_utils.sh" 21 | if [ ! -f "${HELPER}" ]; then 22 | echo "Unable to find helper script at ${HELPER}" 23 | exit 1 24 | fi 25 | source "${HELPER}" 26 | 27 | # Default to sanitizing the vendor folder before extraction 28 | CLEAN_VENDOR=true 29 | 30 | KANG= 31 | SECTION= 32 | 33 | while [ "${#}" -gt 0 ]; do 34 | case "${1}" in 35 | -n | --no-cleanup ) 36 | CLEAN_VENDOR=false 37 | ;; 38 | -k | --kang ) 39 | KANG="--kang" 40 | ;; 41 | -s | --section ) 42 | SECTION="${2}"; shift 43 | CLEAN_VENDOR=false 44 | ;; 45 | * ) 46 | SRC="${1}" 47 | ;; 48 | esac 49 | shift 50 | done 51 | 52 | if [ -z "${SRC}" ]; then 53 | SRC="adb" 54 | fi 55 | 56 | function blob_fixup() { 57 | case "${1}" in 58 | product/etc/felica/common.cfg) 59 | sed -i -e '$a00000018,1' -e '/^00000014/d' -e '/^00000015/d' "${2}" 60 | ;; 61 | esac 62 | } 63 | 64 | function prepare_firmware() { 65 | if [ "${SRC}" != "adb" ]; then 66 | bash "${ANDROID_ROOT}"/lineage/scripts/pixel/prepare-firmware.sh "${DEVICE}" "${SRC}" 67 | fi 68 | } 69 | 70 | # Initialize the helper 71 | setup_vendor "${DEVICE}" "${VENDOR}" "${ANDROID_ROOT}" false "${CLEAN_VENDOR}" 72 | 73 | extract "${MY_DIR}/proprietary-files.txt" "${SRC}" "${KANG}" --section "${SECTION}" 74 | extract "${MY_DIR}/proprietary-files-carriersettings.txt" "${SRC}" "${KANG}" --section "${SECTION}" 75 | extract "${MY_DIR}/proprietary-files-vendor.txt" "${SRC}" "${KANG}" --section "${SECTION}" 76 | 77 | if [ -z "${SECTION}" ]; then 78 | extract_firmware "${MY_DIR}/proprietary-firmware.txt" "${SRC}" 79 | fi 80 | 81 | "${MY_DIR}/setup-makefiles.sh" 82 | -------------------------------------------------------------------------------- /bluetooth_power_limits_oriole.csv: -------------------------------------------------------------------------------- 1 | Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1 2 | off,off,off,off,off,on,60,60,36,60,60,36,48,48,36,48,48,36 3 | off,off,off,off,on,on,60,60,36,60,60,36,48,48,36,48,48,36 4 | off,off,off,on,off,on,60,60,36,60,60,36,48,48,36,48,48,36 5 | off,off,off,on,on,on,60,60,36,60,60,36,48,48,36,48,48,36 6 | off,off,on,off,off,on,60,60,36,60,60,36,48,48,36,48,48,36 7 | off,off,on,off,on,on,60,60,36,60,60,36,48,48,36,48,48,36 8 | off,off,on,on,off,on,60,60,36,60,60,36,48,48,36,48,48,36 9 | off,off,on,on,on,on,60,60,36,60,60,36,48,48,36,48,48,36 10 | off,on,off,off,off,on,60,60,36,60,60,36,48,48,36,48,48,36 11 | off,on,off,off,on,on,60,60,36,60,60,36,48,48,36,48,48,36 12 | off,on,off,on,off,on,60,60,36,60,60,36,48,48,36,48,48,36 13 | off,on,off,on,on,on,60,60,36,60,60,36,48,48,36,48,48,36 14 | off,on,on,off,off,on,60,60,36,60,60,36,48,48,36,48,48,36 15 | off,on,on,off,on,on,60,60,36,60,60,36,48,48,36,48,48,36 16 | off,on,on,on,off,on,60,60,36,60,60,36,48,48,36,48,48,36 17 | off,on,on,on,on,on,60,60,36,60,60,36,48,48,36,48,48,36 18 | on,off,off,off,off,any,44,44,36,44,44,36,44,44,36,44,44,36 19 | on,off,off,off,on,any,44,44,36,44,44,36,44,44,36,44,44,36 20 | on,off,off,on,off,any,44,44,36,44,44,36,44,44,36,44,44,36 21 | on,off,off,on,on,any,44,44,36,44,44,36,44,44,36,44,44,36 22 | on,off,on,off,off,any,44,44,36,44,44,36,44,44,36,44,44,36 23 | on,off,on,off,on,any,44,44,36,44,44,36,44,44,36,44,44,36 24 | on,off,on,on,off,any,44,44,36,44,44,36,44,44,36,44,44,36 25 | on,off,on,on,on,any,44,44,36,44,44,36,44,44,36,44,44,36 26 | on,on,off,off,off,any,44,44,36,44,44,36,44,44,36,44,44,36 27 | on,on,off,off,on,any,44,44,36,44,44,36,44,44,36,44,44,36 28 | on,on,off,on,off,any,44,44,36,44,44,36,44,44,36,44,44,36 29 | on,on,off,on,on,any,44,44,36,44,44,36,44,44,36,44,44,36 30 | on,on,on,off,off,any,44,44,36,44,44,36,44,44,36,44,44,36 31 | on,on,on,off,on,any,44,44,36,44,44,36,44,44,36,44,44,36 32 | on,on,on,on,off,any,44,44,36,44,44,36,44,44,36,44,44,36 33 | on,on,on,on,on,any,44,44,36,44,44,36,44,44,36,44,44,36 34 | off,any,any,any,any,off,60,60,36,60,60,36,48,48,36,48,48,36 -------------------------------------------------------------------------------- /bluetooth_power_limits_raven.csv: -------------------------------------------------------------------------------- 1 | Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1 2 | off,off,off,off,off,on,68,64,40,68,64,40,52,56,40,52,56,40 3 | off,off,off,off,on,on,68,64,40,68,64,40,52,56,40,52,56,40 4 | off,off,off,on,off,on,68,64,40,68,64,40,52,56,40,52,56,40 5 | off,off,off,on,on,on,68,64,40,68,64,40,52,56,40,52,56,40 6 | off,off,on,off,off,on,68,64,40,68,64,40,52,56,40,52,56,40 7 | off,off,on,off,on,on,68,64,40,68,64,40,52,56,40,52,56,40 8 | off,off,on,on,off,on,68,64,40,68,64,40,52,56,40,52,56,40 9 | off,off,on,on,on,on,68,64,40,68,64,40,52,56,40,52,56,40 10 | off,on,off,off,off,on,68,64,40,68,64,40,52,56,40,52,56,40 11 | off,on,off,off,on,on,68,64,40,68,64,40,52,56,40,52,56,40 12 | off,on,off,on,off,on,68,64,40,68,64,40,52,56,40,52,56,40 13 | off,on,off,on,on,on,68,64,40,68,64,40,52,56,40,52,56,40 14 | off,on,on,off,off,on,68,64,40,68,64,40,52,56,40,52,56,40 15 | off,on,on,off,on,on,68,64,40,68,64,40,52,56,40,52,56,40 16 | off,on,on,on,off,on,68,64,40,68,64,40,52,56,40,52,56,40 17 | off,on,on,on,on,on,68,64,40,68,64,40,52,56,40,52,56,40 18 | on,off,off,off,off,any,68,64,40,68,64,40,52,56,40,52,56,40 19 | on,off,off,off,on,any,68,64,40,68,64,40,52,56,40,52,56,40 20 | on,off,off,on,off,any,68,64,40,68,64,40,52,56,40,52,56,40 21 | on,off,off,on,on,any,68,64,40,68,64,40,52,56,40,52,56,40 22 | on,off,on,off,off,any,68,64,40,68,64,40,52,56,40,52,56,40 23 | on,off,on,off,on,any,68,64,40,68,64,40,52,56,40,52,56,40 24 | on,off,on,on,off,any,44,44,40,44,44,40,44,44,40,44,44,40 25 | on,off,on,on,on,any,44,44,40,44,44,40,44,44,40,44,44,40 26 | on,on,off,off,off,any,44,44,40,44,44,40,44,44,40,44,44,40 27 | on,on,off,off,on,any,44,44,40,44,44,40,44,44,40,44,44,40 28 | on,on,off,on,off,any,44,44,40,44,44,40,44,44,40,44,44,40 29 | on,on,off,on,on,any,44,44,40,44,44,40,44,44,40,44,44,40 30 | on,on,on,off,off,any,44,44,40,44,44,40,44,44,40,44,44,40 31 | on,on,on,off,on,any,44,44,40,44,44,40,44,44,40,44,44,40 32 | on,on,on,on,off,any,44,44,40,44,44,40,44,44,40,44,44,40 33 | on,on,on,on,on,any,44,44,40,44,44,40,44,44,40,44,44,40 34 | off,any,any,any,any,off,68,64,40,68,64,40,52,56,40,52,56,40 -------------------------------------------------------------------------------- /bluetooth_power_limits_G9S9B_EU.csv: -------------------------------------------------------------------------------- 1 | Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1 2 | off,off,off,off,off,on,76,76,40,76,76,40,64,68,40,64,68,40 3 | off,off,off,off,on,on,76,76,40,76,76,40,64,68,40,64,68,40 4 | off,off,off,on,off,on,76,76,40,76,76,40,64,68,40,64,68,40 5 | off,off,off,on,on,on,76,76,40,76,76,40,64,68,40,64,68,40 6 | off,off,on,off,off,on,76,76,40,76,76,40,64,68,40,64,68,40 7 | off,off,on,off,on,on,76,76,40,76,76,40,64,68,40,64,68,40 8 | off,off,on,on,off,on,76,76,40,68,68,40,64,68,40,64,68,40 9 | off,off,on,on,on,on,76,76,40,68,68,40,64,68,40,64,68,40 10 | off,on,off,off,off,on,76,76,40,68,68,40,64,68,40,64,68,40 11 | off,on,off,off,on,on,76,76,40,68,68,40,64,68,40,64,68,40 12 | off,on,off,on,off,on,76,76,40,68,68,40,64,68,40,64,68,40 13 | off,on,off,on,on,on,76,76,40,68,68,40,64,68,40,64,68,40 14 | off,on,on,off,off,on,76,76,40,68,68,40,64,68,40,64,68,40 15 | off,on,on,off,on,on,76,76,40,68,68,40,64,68,40,64,68,40 16 | off,on,on,on,off,on,76,76,40,68,68,40,64,68,40,64,68,40 17 | off,on,on,on,on,on,76,76,40,68,68,40,64,68,40,64,68,40 18 | on,off,off,off,off,any,76,76,40,68,68,40,64,68,40,64,68,40 19 | on,off,off,off,on,any,76,76,40,68,68,40,64,68,40,64,68,40 20 | on,off,off,on,off,any,76,76,40,68,68,40,64,68,40,64,68,40 21 | on,off,off,on,on,any,76,76,40,68,68,40,64,68,40,64,68,40 22 | on,off,on,off,off,any,76,76,40,68,68,40,64,68,40,64,68,40 23 | on,off,on,off,on,any,76,76,40,68,68,40,64,68,40,64,68,40 24 | on,off,on,on,off,any,76,76,40,68,68,40,64,68,40,64,68,40 25 | on,off,on,on,on,any,76,76,40,68,68,40,64,68,40,64,68,40 26 | on,on,off,off,off,any,76,76,40,68,68,40,64,68,40,64,68,40 27 | on,on,off,off,on,any,76,76,40,68,68,40,64,68,40,64,68,40 28 | on,on,off,on,off,any,76,76,40,68,68,40,64,68,40,64,68,40 29 | on,on,off,on,on,any,76,76,40,68,68,40,64,68,40,64,68,40 30 | on,on,on,off,off,any,76,76,40,68,68,40,64,68,40,64,68,40 31 | on,on,on,off,on,any,76,76,40,68,68,40,64,68,40,64,68,40 32 | on,on,on,on,off,any,76,76,40,68,68,40,64,68,40,64,68,40 33 | on,on,on,on,on,any,76,76,40,68,68,40,64,68,40,64,68,40 34 | off,any,any,any,any,off,76,76,40,76,76,40,64,68,40,64,68,40 -------------------------------------------------------------------------------- /bluetooth_power_limits_G9S9B_US.csv: -------------------------------------------------------------------------------- 1 | Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1 2 | off,off,off,off,off,on,76,68,76,76,68,76,68,56,76,68,56,76 3 | off,off,off,off,on,on,76,68,76,76,68,76,68,56,76,68,56,76 4 | off,off,off,on,off,on,76,68,76,76,68,76,68,56,76,68,56,76 5 | off,off,off,on,on,on,76,68,76,76,68,76,68,56,76,68,56,76 6 | off,off,on,off,off,on,76,68,76,76,68,76,68,56,76,68,56,76 7 | off,off,on,off,on,on,76,68,76,76,68,76,68,56,76,68,56,76 8 | off,off,on,on,off,on,68,68,68,60,60,60,52,56,60,52,56,60 9 | off,off,on,on,on,on,68,68,68,60,60,60,52,56,60,52,56,60 10 | off,on,off,off,off,on,68,68,68,60,60,60,52,56,60,52,56,60 11 | off,on,off,off,on,on,68,68,68,60,60,60,52,56,60,52,56,60 12 | off,on,off,on,off,on,68,68,68,60,60,60,52,56,60,52,56,60 13 | off,on,off,on,on,on,68,68,68,60,60,60,52,56,60,52,56,60 14 | off,on,on,off,off,on,68,68,68,60,60,60,52,56,60,52,56,60 15 | off,on,on,off,on,on,68,68,68,60,60,60,52,56,60,52,56,60 16 | off,on,on,on,off,on,68,68,68,60,60,60,52,56,60,52,56,60 17 | off,on,on,on,on,on,68,68,68,60,60,60,52,56,60,52,56,60 18 | on,off,off,off,off,any,44,44,44,44,44,44,44,44,44,44,44,44 19 | on,off,off,off,on,any,44,44,44,44,44,44,44,44,44,44,44,44 20 | on,off,off,on,off,any,44,44,44,44,44,44,44,44,44,44,44,44 21 | on,off,off,on,on,any,44,44,44,44,44,44,44,44,44,44,44,44 22 | on,off,on,off,off,any,44,44,44,44,44,44,44,44,44,44,44,44 23 | on,off,on,off,on,any,44,44,44,44,44,44,44,44,44,44,44,44 24 | on,off,on,on,off,any,44,44,44,44,44,44,44,44,44,44,44,44 25 | on,off,on,on,on,any,44,44,44,44,44,44,44,44,44,44,44,44 26 | on,on,off,off,off,any,44,44,44,44,44,44,44,44,44,44,44,44 27 | on,on,off,off,on,any,44,44,44,44,44,44,44,44,44,44,44,44 28 | on,on,off,on,off,any,44,44,44,44,44,44,44,44,44,44,44,44 29 | on,on,off,on,on,any,44,44,44,44,44,44,44,44,44,44,44,44 30 | on,on,on,off,off,any,44,44,44,44,44,44,44,44,44,44,44,44 31 | on,on,on,off,on,any,44,44,44,44,44,44,44,44,44,44,44,44 32 | on,on,on,on,off,any,44,44,44,44,44,44,44,44,44,44,44,44 33 | on,on,on,on,on,any,44,44,44,44,44,44,44,44,44,44,44,44 34 | off,any,any,any,any,off,76,68,76,76,68,76,68,56,76,68,56,76 -------------------------------------------------------------------------------- /bluetooth_power_limits_GB7N6_EU.csv: -------------------------------------------------------------------------------- 1 | Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1 2 | off,off,off,off,off,on,76,76,40,76,76,44,64,68,44,64,68,44 3 | off,off,off,off,on,on,76,76,40,76,76,44,64,68,44,64,68,44 4 | off,off,off,on,off,on,76,76,40,76,76,44,64,68,44,64,68,44 5 | off,off,off,on,on,on,76,76,40,76,76,44,64,68,44,64,68,44 6 | off,off,on,off,off,on,76,76,40,76,76,44,64,68,44,64,68,44 7 | off,off,on,off,on,on,76,76,40,76,76,44,64,68,44,64,68,44 8 | off,off,on,on,off,on,68,68,40,68,68,44,56,56,44,56,56,44 9 | off,off,on,on,on,on,68,68,40,68,68,44,56,56,44,56,56,44 10 | off,on,off,off,off,on,68,68,40,68,68,44,56,56,44,56,56,44 11 | off,on,off,off,on,on,68,68,40,68,68,44,56,56,44,56,56,44 12 | off,on,off,on,off,on,68,68,40,68,68,44,56,56,44,56,56,44 13 | off,on,off,on,on,on,68,68,40,68,68,44,56,56,44,56,56,44 14 | off,on,on,off,off,on,68,68,40,68,68,44,56,56,44,56,56,44 15 | off,on,on,off,on,on,68,68,40,68,68,44,56,56,44,56,56,44 16 | off,on,on,on,off,on,68,68,40,68,68,44,56,56,44,56,56,44 17 | off,on,on,on,on,on,68,68,40,68,68,44,56,56,44,56,56,44 18 | on,off,off,off,off,any,76,76,40,76,76,44,64,68,44,64,68,44 19 | on,off,off,off,on,any,76,76,40,76,76,44,64,68,44,64,68,44 20 | on,off,off,on,off,any,76,76,40,76,76,44,64,68,44,64,68,44 21 | on,off,off,on,on,any,76,76,40,76,76,44,64,68,44,64,68,44 22 | on,off,on,off,off,any,76,76,40,76,76,44,64,68,44,64,68,44 23 | on,off,on,off,on,any,76,76,40,76,76,44,64,68,44,64,68,44 24 | on,off,on,on,off,any,76,76,40,76,76,44,64,68,44,64,68,44 25 | on,off,on,on,on,any,76,76,40,76,76,44,64,68,44,64,68,44 26 | on,on,off,off,off,any,76,76,40,76,76,44,64,68,44,64,68,44 27 | on,on,off,off,on,any,76,76,40,76,76,44,64,68,44,64,68,44 28 | on,on,off,on,off,any,76,76,40,76,76,44,64,68,44,64,68,44 29 | on,on,off,on,on,any,76,76,40,76,76,44,64,68,44,64,68,44 30 | on,on,on,off,off,any,76,76,40,76,76,44,64,68,44,64,68,44 31 | on,on,on,off,on,any,76,76,40,76,76,44,64,68,44,64,68,44 32 | on,on,on,on,off,any,76,76,40,76,76,44,64,68,44,64,68,44 33 | on,on,on,on,on,any,76,76,40,76,76,44,64,68,44,64,68,44 34 | off,any,any,any,any,off,76,76,40,76,76,44,64,68,44,64,68,44 -------------------------------------------------------------------------------- /bluetooth_power_limits_GB7N6_US.csv: -------------------------------------------------------------------------------- 1 | Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1 2 | off,off,off,off,off,on,76,68,76,76,68,76,64,56,76,64,56,76 3 | off,off,off,off,on,on,76,68,76,76,68,76,64,56,76,64,56,76 4 | off,off,off,on,off,on,76,68,76,76,68,76,64,56,76,64,56,76 5 | off,off,off,on,on,on,76,68,76,76,68,76,64,56,76,64,56,76 6 | off,off,on,off,off,on,76,68,76,76,68,76,64,56,76,64,56,76 7 | off,off,on,off,on,on,76,68,76,76,68,76,64,56,76,64,56,76 8 | off,off,on,on,off,on,72,68,72,68,68,68,60,56,68,60,56,68 9 | off,off,on,on,on,on,72,68,72,68,68,68,60,56,68,60,56,68 10 | off,on,off,off,off,on,72,68,72,68,68,68,60,56,68,60,56,68 11 | off,on,off,off,on,on,72,68,72,68,68,68,60,56,68,60,56,68 12 | off,on,off,on,off,on,72,68,72,68,68,68,60,56,68,60,56,68 13 | off,on,off,on,on,on,72,68,72,68,68,68,60,56,68,60,56,68 14 | off,on,on,off,off,on,72,68,72,68,68,68,60,56,68,60,56,68 15 | off,on,on,off,on,on,72,68,72,68,68,68,60,56,68,60,56,68 16 | off,on,on,on,off,on,72,68,72,68,68,68,60,56,68,60,56,68 17 | off,on,on,on,on,on,72,68,72,68,68,68,60,56,68,60,56,68 18 | on,off,off,off,off,any,44,44,44,44,44,44,44,44,44,44,44,44 19 | on,off,off,off,on,any,44,44,44,44,44,44,44,44,44,44,44,44 20 | on,off,off,on,off,any,44,44,44,44,44,44,44,44,44,44,44,44 21 | on,off,off,on,on,any,44,44,44,44,44,44,44,44,44,44,44,44 22 | on,off,on,off,off,any,44,44,44,44,44,44,44,44,44,44,44,44 23 | on,off,on,off,on,any,44,44,44,44,44,44,44,44,44,44,44,44 24 | on,off,on,on,off,any,44,44,44,44,44,44,44,44,44,44,44,44 25 | on,off,on,on,on,any,44,44,44,44,44,44,44,44,44,44,44,44 26 | on,on,off,off,off,any,44,44,44,44,44,44,44,44,44,44,44,44 27 | on,on,off,off,on,any,44,44,44,44,44,44,44,44,44,44,44,44 28 | on,on,off,on,off,any,44,44,44,44,44,44,44,44,44,44,44,44 29 | on,on,off,on,on,any,44,44,44,44,44,44,44,44,44,44,44,44 30 | on,on,on,off,off,any,44,44,44,44,44,44,44,44,44,44,44,44 31 | on,on,on,off,on,any,44,44,44,44,44,44,44,44,44,44,44,44 32 | on,on,on,on,off,any,44,44,44,44,44,44,44,44,44,44,44,44 33 | on,on,on,on,on,any,44,44,44,44,44,44,44,44,44,44,44,44 34 | off,any,any,any,any,off,76,68,76,76,68,76,64,56,76,64,56,76 -------------------------------------------------------------------------------- /bluetooth_power_limits_oriole_jp.csv: -------------------------------------------------------------------------------- 1 | Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1 2 | off,off,off,off,off,on,60,60,36,60,60,36,48,48,36,48,48,36 3 | off,off,off,off,on,on,60,60,36,60,60,36,48,48,36,48,48,36 4 | off,off,off,on,off,on,60,60,36,60,60,36,48,48,36,48,48,36 5 | off,off,off,on,on,on,60,60,36,60,60,36,48,48,36,48,48,36 6 | off,off,on,off,off,on,60,60,36,60,60,36,48,48,36,48,48,36 7 | off,off,on,off,on,on,60,60,36,60,60,36,48,48,36,48,48,36 8 | off,off,on,on,off,on,60,60,36,60,60,36,48,48,36,48,48,36 9 | off,off,on,on,on,on,60,60,36,60,60,36,48,48,36,48,48,36 10 | off,on,off,off,off,on,60,60,36,60,60,36,48,48,36,48,48,36 11 | off,on,off,off,on,on,60,60,36,60,60,36,48,48,36,48,48,36 12 | off,on,off,on,off,on,60,60,36,60,60,36,48,48,36,48,48,36 13 | off,on,off,on,on,on,60,60,36,60,60,36,48,48,36,48,48,36 14 | off,on,on,off,off,on,60,60,36,60,60,36,48,48,36,48,48,36 15 | off,on,on,off,on,on,60,60,36,60,60,36,48,48,36,48,48,36 16 | off,on,on,on,off,on,60,60,36,60,60,36,48,48,36,48,48,36 17 | off,on,on,on,on,on,60,60,36,60,60,36,48,48,36,48,48,36 18 | on,off,off,off,off,any,60,60,36,60,60,36,48,48,36,48,48,36 19 | on,off,off,off,on,any,60,60,36,60,60,36,48,48,36,48,48,36 20 | on,off,off,on,off,any,60,60,36,60,60,36,48,48,36,48,48,36 21 | on,off,off,on,on,any,60,60,36,60,60,36,48,48,36,48,48,36 22 | on,off,on,off,off,any,60,60,36,60,60,36,48,48,36,48,48,36 23 | on,off,on,off,on,any,60,60,36,60,60,36,48,48,36,48,48,36 24 | on,off,on,on,off,any,60,60,36,60,60,36,48,48,36,48,48,36 25 | on,off,on,on,on,any,60,60,36,60,60,36,48,48,36,48,48,36 26 | on,on,off,off,off,any,60,60,36,60,60,36,48,48,36,48,48,36 27 | on,on,off,off,on,any,60,60,36,60,60,36,48,48,36,48,48,36 28 | on,on,off,on,off,any,60,60,36,60,60,36,48,48,36,48,48,36 29 | on,on,off,on,on,any,60,60,36,60,60,36,48,48,36,48,48,36 30 | on,on,on,off,off,any,60,60,36,60,60,36,48,48,36,48,48,36 31 | on,on,on,off,on,any,60,60,36,60,60,36,48,48,36,48,48,36 32 | on,on,on,on,off,any,60,60,36,60,60,36,48,48,36,48,48,36 33 | on,on,on,on,on,any,60,60,36,60,60,36,48,48,36,48,48,36 34 | off,any,any,any,any,off,60,60,36,60,60,36,48,48,36,48,48,36 -------------------------------------------------------------------------------- /bluetooth_power_limits_raven_eu.csv: -------------------------------------------------------------------------------- 1 | Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1 2 | off,off,off,off,off,on,76,76,44,76,76,40,64,68,40,64,68,40 3 | off,off,off,off,on,on,76,76,44,76,76,40,64,68,40,64,68,40 4 | off,off,off,on,off,on,76,76,44,76,76,40,64,68,40,64,68,40 5 | off,off,off,on,on,on,76,76,44,76,76,40,64,68,40,64,68,40 6 | off,off,on,off,off,on,76,76,44,76,76,40,64,68,40,64,68,40 7 | off,off,on,off,on,on,76,76,44,76,76,40,64,68,40,64,68,40 8 | off,off,on,on,off,on,76,76,44,76,76,40,64,68,40,64,68,40 9 | off,off,on,on,on,on,76,76,44,76,76,40,64,68,40,64,68,40 10 | off,on,off,off,off,on,76,76,44,76,76,40,64,68,40,64,68,40 11 | off,on,off,off,on,on,76,76,44,76,76,40,64,68,40,64,68,40 12 | off,on,off,on,off,on,76,76,44,76,76,40,64,68,40,64,68,40 13 | off,on,off,on,on,on,76,76,44,76,76,40,64,68,40,64,68,40 14 | off,on,on,off,off,on,76,76,44,76,76,40,64,68,40,64,68,40 15 | off,on,on,off,on,on,76,76,44,76,76,40,64,68,40,64,68,40 16 | off,on,on,on,off,on,76,76,44,76,76,40,64,68,40,64,68,40 17 | off,on,on,on,on,on,76,76,44,76,76,40,64,68,40,64,68,40 18 | on,off,off,off,off,any,76,76,44,76,76,40,64,68,40,64,68,40 19 | on,off,off,off,on,any,76,76,44,76,76,40,64,68,40,64,68,40 20 | on,off,off,on,off,any,76,76,44,76,76,40,64,68,40,64,68,40 21 | on,off,off,on,on,any,76,76,44,76,76,40,64,68,40,64,68,40 22 | on,off,on,off,off,any,76,76,44,76,76,40,64,68,40,64,68,40 23 | on,off,on,off,on,any,76,76,44,76,76,40,64,68,40,64,68,40 24 | on,off,on,on,off,any,76,76,44,76,76,40,64,68,40,64,68,40 25 | on,off,on,on,on,any,76,76,44,76,76,40,64,68,40,64,68,40 26 | on,on,off,off,off,any,76,76,44,76,76,40,64,68,40,64,68,40 27 | on,on,off,off,on,any,76,76,44,76,76,40,64,68,40,64,68,40 28 | on,on,off,on,off,any,76,76,44,76,76,40,64,68,40,64,68,40 29 | on,on,off,on,on,any,76,76,44,76,76,40,64,68,40,64,68,40 30 | on,on,on,off,off,any,76,76,44,76,76,40,64,68,40,64,68,40 31 | on,on,on,off,on,any,76,76,44,76,76,40,64,68,40,64,68,40 32 | on,on,on,on,off,any,76,76,44,76,76,40,64,68,40,64,68,40 33 | on,on,on,on,on,any,76,76,44,76,76,40,64,68,40,64,68,40 34 | off,any,any,any,any,off,76,76,44,76,76,40,64,68,40,64,68,40 -------------------------------------------------------------------------------- /bluetooth_power_limits_raven_jp.csv: -------------------------------------------------------------------------------- 1 | Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1 2 | off,off,off,off,off,on,68,64,40,68,64,40,52,56,40,52,56,40 3 | off,off,off,off,on,on,68,64,40,68,64,40,52,56,40,52,56,40 4 | off,off,off,on,off,on,68,64,40,68,64,40,52,56,40,52,56,40 5 | off,off,off,on,on,on,68,64,40,68,64,40,52,56,40,52,56,40 6 | off,off,on,off,off,on,68,64,40,68,64,40,52,56,40,52,56,40 7 | off,off,on,off,on,on,68,64,40,68,64,40,52,56,40,52,56,40 8 | off,off,on,on,off,on,68,64,40,68,64,40,52,56,40,52,56,40 9 | off,off,on,on,on,on,68,64,40,68,64,40,52,56,40,52,56,40 10 | off,on,off,off,off,on,68,64,40,68,64,40,52,56,40,52,56,40 11 | off,on,off,off,on,on,68,64,40,68,64,40,52,56,40,52,56,40 12 | off,on,off,on,off,on,68,64,40,68,64,40,52,56,40,52,56,40 13 | off,on,off,on,on,on,68,64,40,68,64,40,52,56,40,52,56,40 14 | off,on,on,off,off,on,68,64,40,68,64,40,52,56,40,52,56,40 15 | off,on,on,off,on,on,68,64,40,68,64,40,52,56,40,52,56,40 16 | off,on,on,on,off,on,68,64,40,68,64,40,52,56,40,52,56,40 17 | off,on,on,on,on,on,68,64,40,68,64,40,52,56,40,52,56,40 18 | on,off,off,off,off,any,68,64,40,68,64,40,52,56,40,52,56,40 19 | on,off,off,off,on,any,68,64,40,68,64,40,52,56,40,52,56,40 20 | on,off,off,on,off,any,68,64,40,68,64,40,52,56,40,52,56,40 21 | on,off,off,on,on,any,68,64,40,68,64,40,52,56,40,52,56,40 22 | on,off,on,off,off,any,68,64,40,68,64,40,52,56,40,52,56,40 23 | on,off,on,off,on,any,68,64,40,68,64,40,52,56,40,52,56,40 24 | on,off,on,on,off,any,68,64,40,68,64,40,52,56,40,52,56,40 25 | on,off,on,on,on,any,68,64,40,68,64,40,52,56,40,52,56,40 26 | on,on,off,off,off,any,68,64,40,68,64,40,52,56,40,52,56,40 27 | on,on,off,off,on,any,68,64,40,68,64,40,52,56,40,52,56,40 28 | on,on,off,on,off,any,68,64,40,68,64,40,52,56,40,52,56,40 29 | on,on,off,on,on,any,68,64,40,68,64,40,52,56,40,52,56,40 30 | on,on,on,off,off,any,68,64,40,68,64,40,52,56,40,52,56,40 31 | on,on,on,off,on,any,68,64,40,68,64,40,52,56,40,52,56,40 32 | on,on,on,on,off,any,68,64,40,68,64,40,52,56,40,52,56,40 33 | on,on,on,on,on,any,68,64,40,68,64,40,52,56,40,52,56,40 34 | off,any,any,any,any,off,68,64,40,68,64,40,52,56,40,52,56,40 -------------------------------------------------------------------------------- /bluetooth_power_limits_raven_us.csv: -------------------------------------------------------------------------------- 1 | Head,BTHotspot,WIFI5Ghz,HotspotVoice,Cell,IMU,BDR_Single_Chain_0,EDR_Single_Chain_0,BLE_Single_Chain_0,BDR_Single_Chain_1,EDR_Single_Chain_1,BLE_Single_Chain_1,BDR_Dual_Chain_0,EDR_Dual_Chain_0,BLE_Dual_Chain_0,BDR_Dual_Chain_1,EDR_Dual_Chain_1,BLE_Dual_Chain_1 2 | off,off,off,off,off,on,76,68,76,76,68,76,64,56,76,64,56,76 3 | off,off,off,off,on,on,76,68,76,76,68,76,64,56,76,64,56,76 4 | off,off,off,on,off,on,76,68,76,76,68,76,64,56,76,64,56,76 5 | off,off,off,on,on,on,76,68,76,76,68,76,64,56,76,64,56,76 6 | off,off,on,off,off,on,76,68,76,76,68,76,64,56,76,64,56,76 7 | off,off,on,off,on,on,76,68,76,76,68,76,64,56,76,64,56,76 8 | off,off,on,on,off,on,76,68,76,76,68,76,64,56,76,64,56,76 9 | off,off,on,on,on,on,76,68,76,76,68,76,64,56,76,64,56,76 10 | off,on,off,off,off,on,76,68,76,76,68,76,64,56,76,64,56,76 11 | off,on,off,off,on,on,76,68,76,76,68,76,64,56,76,64,56,76 12 | off,on,off,on,off,on,76,68,76,76,68,76,64,56,76,64,56,76 13 | off,on,off,on,on,on,76,68,76,76,68,76,64,56,76,64,56,76 14 | off,on,on,off,off,on,76,68,76,76,68,76,64,56,76,64,56,76 15 | off,on,on,off,on,on,76,68,76,76,68,76,64,56,76,64,56,76 16 | off,on,on,on,off,on,76,68,76,76,68,76,64,56,76,64,56,76 17 | off,on,on,on,on,on,76,68,76,76,68,76,64,56,76,64,56,76 18 | on,off,off,off,off,any,76,68,76,76,68,76,64,56,76,64,56,76 19 | on,off,off,off,on,any,76,68,76,76,68,76,64,56,76,64,56,76 20 | on,off,off,on,off,any,76,68,76,76,68,76,64,56,76,64,56,76 21 | on,off,off,on,on,any,76,68,76,76,68,76,64,56,76,64,56,76 22 | on,off,on,off,off,any,76,68,76,76,68,76,64,56,76,64,56,76 23 | on,off,on,off,on,any,76,68,76,76,68,76,64,56,76,64,56,76 24 | on,off,on,on,off,any,44,44,44,44,44,44,44,44,56,44,44,56 25 | on,off,on,on,on,any,44,44,44,44,44,44,44,44,56,44,44,56 26 | on,on,off,off,off,any,44,44,44,44,44,44,44,44,56,44,44,56 27 | on,on,off,off,on,any,44,44,44,44,44,44,44,44,56,44,44,56 28 | on,on,off,on,off,any,44,44,44,44,44,44,44,44,56,44,44,56 29 | on,on,off,on,on,any,44,44,44,44,44,44,44,44,56,44,44,56 30 | on,on,on,off,off,any,44,44,44,44,44,44,44,44,56,44,44,56 31 | on,on,on,off,on,any,44,44,44,44,44,44,44,44,56,44,44,56 32 | on,on,on,on,off,any,44,44,44,44,44,44,44,44,56,44,44,56 33 | on,on,on,on,on,any,44,44,44,44,44,44,44,44,56,44,44,56 34 | off,any,any,any,any,off,76,68,76,76,68,76,64,56,76,64,56,76 -------------------------------------------------------------------------------- /audio/raven/config/sound_trigger_configuration.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /audio/oriole/config/sound_trigger_configuration.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /audio/slider/config/sound_trigger_configuration.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /audio/whitefin/config/sound_trigger_configuration.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | -------------------------------------------------------------------------------- /conf/init.raviole.rc: -------------------------------------------------------------------------------- 1 | # Raven/Oriole specific init.rc 2 | 3 | on init 4 | # NFC streset tool name 5 | setprop persist.vendor.nfc.streset libstreset21 6 | setprop persist.vendor.se.streset libstreset21 7 | 8 | on init && property:ro.vendor.factory=1 9 | import /vendor/etc/init/hw/init.factory.rc 10 | 11 | on early-boot 12 | # Wait for insmod_sh to finish all common modules 13 | wait_for_prop vendor.common.modules.ready 1 14 | start insmod_sh_raviole 15 | 16 | # Disables fingerprint antispoof on PROTO1.0 devices 17 | on boot && property:ro.build.type=eng && \ 18 | property:ro.revision=PROTO1.0 && \ 19 | property:persist.vendor.fingerprint.disable.fake.override=none 20 | setprop vendor.fingerprint.disable.fake 100 21 | 22 | # Overrides fingerprint antispoof if following persist sysprops are set 23 | on boot && property:ro.build.type=eng && \ 24 | property:persist.vendor.fingerprint.disable.fake.override=0 25 | setprop vendor.fingerprint.disable.fake ${persist.vendor.fingerprint.disable.fake.override} 26 | 27 | on boot && property:ro.build.type=eng && \ 28 | property:persist.vendor.fingerprint.disable.fake.override=1 29 | setprop vendor.fingerprint.disable.fake ${persist.vendor.fingerprint.disable.fake.override} 30 | 31 | on boot && property:ro.build.type=eng && \ 32 | property:persist.vendor.fingerprint.disable.fake.override=100 33 | setprop vendor.fingerprint.disable.fake ${persist.vendor.fingerprint.disable.fake.override} 34 | 35 | service insmod_sh_raviole /vendor/bin/insmod.sh /vendor/etc/init.insmod.${ro.hardware}.cfg 36 | class main 37 | user root 38 | group root system 39 | disabled 40 | oneshot 41 | 42 | on post-fs-data 43 | # Fingerprint 44 | chown system system /dev/goodix_fp 45 | exec_background - system shell -- /vendor/bin/trusty_apploader /vendor/firmware/g6.app 46 | 47 | # Speaker amp permission 48 | chmod 644 /mnt/vendor/persist/audio/speaker.cal 49 | 50 | # Start the twoshay touch service 51 | start twoshay 52 | 53 | # Allow secure_element group to read / write ST33 SPI state 54 | chown secure_element secure_element /sys/class/st33spi/st33spi/st33spi_state 55 | chmod 0660 /sys/class/st33spi/st33spi/st33spi_state 56 | 57 | on property:ro.revision=PROTO1.0 58 | setprop persist.fingerprint.ghbm true 59 | 60 | # SecureElement eSE2 cts mode 61 | on property:persist.vendor.se.ese2.mode=ctsmode 62 | write /sys/class/st33spi/st33spi/st33spi_state 33 63 | 64 | # charger driver exposes now finer grain control, map demo mode to those properties 65 | # NOTE: demo mode can only be exit wiping data (which reset the persist properties) 66 | on property:sys.retaildemo.enabled=1 67 | setprop persist.vendor.charge.stop.level 35 68 | setprop persist.vendor.charge.start.level 30 69 | -------------------------------------------------------------------------------- /whitefin/overlay/frameworks/base/core/res/res/values/config.xml: -------------------------------------------------------------------------------- 1 | 2 | 19 | 20 | 21 | 22 | 26 | 27 | 0:2:15 28 | 29 | 30 | 32 | 0.0 33 | 34 | 36 | 1.0 37 | 38 | 40 | 0.29019607843 41 | 42 | 43 | 44 | -0.4553233597 45 | -0.2380196976 46 | 0.9801096801 47 | 48 | 49 | 50 | 51 | 0.0 52 | -0.96 53 | 1.0 54 | 55 | 56 | -------------------------------------------------------------------------------- /raven/overlay/frameworks/base/packages/SystemUI/res/values/dimens.xml: -------------------------------------------------------------------------------- 1 | 2 | 18 | 19 | 20 | 20dp 21 | 22 | 23 | 1px 24 | 25 | 26 | @*android:dimen/status_bar_height 27 | 28 | 37 | 38 | M 665,71 39 | a 57,57 0 1 0 114,0 57,57 0 1 0 -114,0 40 | Z 41 | 42 | 43 | 44 | 1 45 | 46 | true 47 | 48 | 49 | 940px 50 | 51 | 52 | 1320px 53 | 1520px 54 | 55 | 56 | 68px 57 | 58 | 59 | -------------------------------------------------------------------------------- /powerstats/whitefin/service.cpp: -------------------------------------------------------------------------------- 1 | /* 2 | * Copyright (C) 2021 The Android Open Source Project 3 | * 4 | * Licensed under the Apache License, Version 2.0 (the "License"); 5 | * you may not use this file except in compliance with the License. 6 | * You may obtain a copy of the License at 7 | * 8 | * http://www.apache.org/licenses/LICENSE-2.0 9 | * 10 | * Unless required by applicable law or agreed to in writing, software 11 | * distributed under the License is distributed on an "AS IS" BASIS, 12 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | * See the License for the specific language governing permissions and 14 | * limitations under the License. 15 | */ 16 | 17 | #define LOG_TAG "android.hardware.power.stats-service.pixel" 18 | 19 | #include 20 | #include 21 | #include 22 | #include 23 | 24 | #include 25 | #include 26 | #include 27 | #include 28 | #include 29 | 30 | using aidl::android::hardware::power::stats::DisplayStateResidencyDataProvider; 31 | using aidl::android::hardware::power::stats::EnergyConsumerType; 32 | using aidl::android::hardware::power::stats::PowerStatsEnergyConsumer; 33 | 34 | void addDisplay(std::shared_ptr p) { 35 | // Add display residency stats 36 | std::vector states = { 37 | "Off", 38 | "LP: 1080x2340@30", 39 | "On: 1080x2340@60", 40 | "On: 1080x2340@90", 41 | "HBM: 1080x2340@60", 42 | "HBM: 1080x2340@90"}; 43 | 44 | p->addStateResidencyDataProvider(std::make_unique("Display", 45 | "/sys/class/backlight/panel0-backlight/state", 46 | states)); 47 | 48 | // Add display energy consumer 49 | /* 50 | * TODO(b/167216667): Add correct display power model here. Must read from display rail 51 | * and include proper coefficients for display states. 52 | */ 53 | p->addEnergyConsumer(PowerStatsEnergyConsumer::createMeterAndEntityConsumer(p, 54 | EnergyConsumerType::DISPLAY, "display", {"PPVAR_VSYS_PWR_DISP"}, "Display", 55 | {{"LP: 1440x3040@30", 1}, 56 | {"On: 1440x3040@60", 2}, 57 | {"On: 1440x3040@90", 3}})); 58 | } 59 | 60 | int main() { 61 | LOG(INFO) << "Pixel PowerStats HAL AIDL Service is starting."; 62 | 63 | // single thread 64 | ABinderProcess_setThreadPoolMaxThreadCount(0); 65 | 66 | std::shared_ptr p = ndk::SharedRefBase::make(); 67 | 68 | addGs101CommonDataProviders(p); 69 | addDisplay(p); 70 | 71 | const std::string instance = std::string() + PowerStats::descriptor + "/default"; 72 | binder_status_t status = AServiceManager_addService(p->asBinder().get(), instance.c_str()); 73 | LOG_ALWAYS_FATAL_IF(status != STATUS_OK); 74 | 75 | ABinderProcess_joinThreadPool(); 76 | return EXIT_FAILURE; // should not reach 77 | } 78 | --------------------------------------------------------------------------------