ofrp-12.1:added base supported devices

This commit is contained in:
BOBtheBlinker 2026-10-09 14:41:05 -04:00
commit bf83020a2e
6 changed files with 155 additions and 1 deletions

View file

@ -1,3 +1,92 @@
# build_manifests
device manifests for a-team digital solutions
Device manifests for the A-Team Jenkins build pipelines.
Each build job clones this repo, drops one device XML into `.repo/local_manifests/` of a warm source tree, syncs only the projects listed in it, and reads the device info from its annotations.
## Layout
**One branch per build base, one file per device.**
```
ofrp-12.1/ genevn.xml milanf.xml rtwo.xml ...
twrp-12.1/ genevn.xml ...
aera-16.0/ genevn.xml milanf.xml ...
```
A job points at a branch + file, e.g. `ofrp-12.1` / `genevn.xml`.
## Device XML
A standard repo local manifest, plus `ateam.*` annotations on the device tree project.
```xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="ateam" fetch="ssh://git@ateam.gotadell.com/" />
<project path="device/motorola/genevn"
name="A-Team_Digital_Solutions/recovery_device_motorola_genevn"
remote="ateam" revision="ofrp-12.1">
<annotation name="ateam.model" value="XT2315"/>
<annotation name="ateam.device_name" value="Moto G Stylus 5G 2023"/>
<annotation name="ateam.manufacturer" value="Motorola"/>
<annotation name="ateam.partition" value="recovery"/>
</project>
</manifest>
```
### Annotations
All four are required; the build stops if one is missing.
| Annotation | Used for | Example |
|---|---|---|
| `ateam.model` | Release file name, portal device name | `XT2315` |
| `ateam.device_name` | Portal device name | `Moto G Stylus 5G 2023` |
| `ateam.manufacturer` | Portal | `Motorola` |
| `ateam.partition` | Build target and flash target | `recovery` |
`ateam.partition` must be one of:
| Value | Builds |
|---|---|
| `recovery` | `recoveryimage` |
| `boot` | `bootimage` |
| `vendor_boot` | `vendorbootimage` |
The portal shows the device as `<device_name> (<model>)`.
### Projects
- List the device tree plus anything else the device needs (kernel, vendor, common trees).
- Every project listed gets synced; nothing else in the base tree is touched.
- Any git source works. Add another `<remote>` for GitHub or elsewhere; the device tree doesn't have to live on A-Team Forgejo.
- Pin `revision` to the branch for that base (e.g. `ofrp-12.1`).
- Don't add projects that override the base's own repos. Device-specific fixes go in the device trees.
## Release naming
Builds come out as:
```
<RECOVERY>-<ver>_A-Team_<codename>_<model>-<YYMMDD>.<img|zip>
```
plus a `.sha256` for each, e.g. `OFRP-12.1_A-Team_genevn_XT2315-261009.zip`.
## Adding a device
1. Clone and switch to the base branch:
```
git clone ssh://git@ateam.gotadell.com/A-Team_Digital_Solutions/build_manifests.git
cd build_manifests
git checkout ofrp-12.1
```
2. Copy an existing XML to `<codename>.xml` and edit the projects and annotations.
3. Commit and push.
4. Create the Jenkins job (`<RECOVERY>-<codename>`, e.g. `OFRP-genevn`) pointing at the branch and file.
## Adding a base
Create a new branch named `<base>-<version>` (e.g. `shrp-12.1`) and add a device XML for each device built on it. Each base has its own copy of a device's XML, so update model or name changes on every branch that has that device.

13
avatrn.xml Normal file
View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="ateam" fetch="ssh://git@ateam.gotadell.com/" />
<project path="device/motorola/avatrn"
name="A-Team_Digital_Solutions/recovery_device_motorola_avatrn"
remote="ateam" revision="ofrp-12.1">
<annotation name="ateam.model" value="XT2405"/>
<annotation name="ateam.device_name" value="Moto Edge 2024"/>
<annotation name="ateam.manufacturer" value="Motorola"/>
<annotation name="ateam.partition" value="recovery"/>
</project>
</manifest>

13
milanf.xml Normal file
View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="ateam" fetch="ssh://git@ateam.gotadell.com/" />
<project path="device/motorola/milanf"
name="A-Team_Digital_Solutions/recovery_device_motorola_milanf"
remote="ateam" revision="ofrp-12.1">
<annotation name="ateam.model" value="XT2215"/>
<annotation name="ateam.device_name" value="Moto G Stylus 5G 2022"/>
<annotation name="ateam.manufacturer" value="Motorola"/>
<annotation name="ateam.partition" value="boot"/>
</project>
</manifest>

13
mona.xml Normal file
View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="ateam" fetch="ssh://git@ateam.gotadell.com/" />
<project path="device/motorola/mona"
name="A-Team_Digital_Solutions/recovery_device_motorola_mona"
remote="ateam" revision="ofrp-12.1">
<annotation name="ateam.model" value="XT2515"/>
<annotation name="ateam.device_name" value="Moto G Stylus 2025"/>
<annotation name="ateam.manufacturer" value="Motorola"/>
<annotation name="ateam.partition" value="recovery"/>
</project>
</manifest>

13
rtwo.xml Normal file
View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="ateam" fetch="ssh://git@ateam.gotadell.com/" />
<project path="device/motorola/rtwo"
name="A-Team_Digital_Solutions/recovery_device_motorola_rtwo"
remote="ateam" revision="ofrp-12.1">
<annotation name="ateam.model" value="XT2301"/>
<annotation name="ateam.device_name" value="Moto Edge+ 2023"/>
<annotation name="ateam.manufacturer" value="Motorola"/>
<annotation name="ateam.partition" value="recovery"/>
</project>
</manifest>

13
sycamore_row_5G.xml Normal file
View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<remote name="ateam" fetch="ssh://git@ateam.gotadell.com/" />
<project path="device/motorola/sycamore_row_5G"
name="A-Team_Digital_Solutions/recovery_device_motorola_sycamore_row_5G"
remote="ateam" revision="ofrp-12.1">
<annotation name="ateam.model" value="XT2575"/>
<annotation name="ateam.device_name" value="Moto Pab 2026"/>
<annotation name="ateam.manufacturer" value="Motorola"/>
<annotation name="ateam.partition" value="vendor_boot"/>
</project>
</manifest>