# teamslow/device_oneplus_cph2487 architecture

> Architecture diagram of the GitHub repository teamslow/device_oneplus_cph2487, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-24). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/teamslow/device_oneplus_cph2487
- Repository: https://github.com/teamslow/device_oneplus_cph2487

## Overview

This repository provides Android device support for the CPH2487: product and board configuration, audio policy and mixer settings, framework and app resource overlays, and compatibility declarations. These are distinct configuration surfaces rather than an application workflow. The tree supports identifying these components, but no README or source excerpts document which files consume or invoke them, so the graph omits relationships rather than guessing at build or runtime wiring.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_product["Device product"]
  node_product_definition["CPH2487 product<br/>[lineage_CPH2487.mk]"]
  node_device_config["Device configuration<br/>[device.mk]"]
  node_board_config["Board configuration<br/>[BoardConfig.mk]"]
end

subgraph group_audio["Audio configuration"]
  node_audio_policy["Audio policy"]
  node_audio_mixers["Audio mixers"]
  node_audio_effects["Audio effects<br/>[audio_effects.xml]"]
end

subgraph group_overlays["Resource overlays"]
  node_framework_overlay["Framework resources"]
  node_bluetooth_overlay["Bluetooth overlay<br/>[bools.xml]"]
  node_carrier_overlay["Carrier configuration"]
end

subgraph group_compatibility["Compatibility"]
  node_compatibility_matrices["Compatibility matrices"]
  node_framework_matrix["Framework compatibility"]
end

click node_product_definition "https://github.com/teamslow/device_oneplus_cph2487/blob/13/lineage_CPH2487.mk"
click node_device_config "https://github.com/teamslow/device_oneplus_cph2487/blob/13/device.mk"
click node_board_config "https://github.com/teamslow/device_oneplus_cph2487/blob/13/BoardConfig.mk"
click node_audio_policy "https://github.com/teamslow/device_oneplus_cph2487/blob/13/configs/audio/audio_policy_configuration.xml"
click node_audio_mixers "https://github.com/teamslow/device_oneplus_cph2487/tree/13/configs/audio"
click node_audio_effects "https://github.com/teamslow/device_oneplus_cph2487/blob/13/configs/audio/audio_effects.xml"
click node_framework_overlay "https://github.com/teamslow/device_oneplus_cph2487/tree/13/overlay/frameworks/base/core/res/res"
click node_bluetooth_overlay "https://github.com/teamslow/device_oneplus_cph2487/blob/13/overlay/packages/apps/Bluetooth/res/values/bools.xml"
click node_carrier_overlay "https://github.com/teamslow/device_oneplus_cph2487/tree/13/overlay/packages/apps/CarrierConfig/res/xml"
click node_compatibility_matrices "https://github.com/teamslow/device_oneplus_cph2487/blob/13/compatibility_matrix.xml"
click node_framework_matrix "https://github.com/teamslow/device_oneplus_cph2487/blob/13/framework_compatibility_matrix.xml"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_product_definition,node_device_config,node_board_config toneBlue
class node_audio_policy,node_audio_mixers,node_audio_effects toneAmber
class node_framework_overlay,node_bluetooth_overlay,node_carrier_overlay toneMint
class node_compatibility_matrices,node_framework_matrix toneRose
```

## Components

### Device product

- [CPH2487 product](https://github.com/teamslow/device_oneplus_cph2487/blob/13/lineage_CPH2487.mk): `lineage_CPH2487.mk`
- [Device configuration](https://github.com/teamslow/device_oneplus_cph2487/blob/13/device.mk): `device.mk`
- [Board configuration](https://github.com/teamslow/device_oneplus_cph2487/blob/13/BoardConfig.mk): `BoardConfig.mk`

### Audio configuration

- [Audio policy](https://github.com/teamslow/device_oneplus_cph2487/blob/13/configs/audio/audio_policy_configuration.xml): `configs/audio/audio_policy_configuration.xml`
- [Audio mixers](https://github.com/teamslow/device_oneplus_cph2487/tree/13/configs/audio): `configs/audio`
- [Audio effects](https://github.com/teamslow/device_oneplus_cph2487/blob/13/configs/audio/audio_effects.xml): `configs/audio/audio_effects.xml`

### Resource overlays

- [Framework resources](https://github.com/teamslow/device_oneplus_cph2487/tree/13/overlay/frameworks/base/core/res/res): `overlay/frameworks/base/core/res/res`
- [Bluetooth overlay](https://github.com/teamslow/device_oneplus_cph2487/blob/13/overlay/packages/apps/Bluetooth/res/values/bools.xml): `overlay/packages/apps/Bluetooth/res/values/bools.xml`
- [Carrier configuration](https://github.com/teamslow/device_oneplus_cph2487/tree/13/overlay/packages/apps/CarrierConfig/res/xml): `overlay/packages/apps/CarrierConfig/res/xml`

### Compatibility

- [Compatibility matrices](https://github.com/teamslow/device_oneplus_cph2487/blob/13/compatibility_matrix.xml): `compatibility_matrix.xml`
- [Framework compatibility](https://github.com/teamslow/device_oneplus_cph2487/blob/13/framework_compatibility_matrix.xml): `framework_compatibility_matrix.xml`
