Skip to content

Commit e408fdf

Browse files
committed
Adjust for otter
Signed-off-by: Alexander Martinz <[email protected]>
1 parent 47b08ba commit e408fdf

File tree

4 files changed

+22
-20
lines changed

4 files changed

+22
-20
lines changed

.github/workflows/create-cab-files.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name : Upload artifacts
2020
uses: actions/upload-artifact@master
2121
with:
22-
name: axolotl-cab-files
22+
name: otter-cab-files
2323
path: |
2424
${{ github.workspace }}/output/*.cab
2525
${{ github.workspace }}/output/*.xml
@@ -36,6 +36,6 @@ jobs:
3636
uses: softprops/action-gh-release@v1
3737
with:
3838
files: |
39-
${{ github.workspace }}/axolotl-cab-files/*.cab
40-
${{ github.workspace }}/axolotl-cab-files/*.xml
39+
${{ github.workspace }}/otter-cab-files/*.cab
40+
${{ github.workspace }}/otter-cab-files/*.xml
4141
fail_on_unmatched_files: true

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# SHIFT6mq LVFS firmware packaging
1+
# LVFS firmware packaging for SHIFTphone 8 (otter)
22

3-
Packaging the SHIFT6mq bootloader firmware for [fwupd](https://fwupd.org) and [LVFS](https://fwupd.org/lvfs) as CAB files.<br>
3+
Packaging the SHIFTphone 8 (otter) bootloader firmware for [fwupd](https://fwupd.org) and [LVFS](https://fwupd.org/lvfs) as CAB files.<br>
44
These CAB files are uploaded to LVFS by SHIFT for distribution.<br>
55
Users can install the latest bootloader through fwupd.
66

@@ -27,4 +27,4 @@ bash generate-cab-files.sh
2727
See [LICENSE](./LICENSE).
2828

2929
Copyright (c) Dylan Van Assche (2021-2022)<br>
30-
Copyright (c) SHIFT GmbH (2022)
30+
Copyright (c) SHIFT GmbH (2022-2024)

generate-cab-files.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ OUTPUT_DIRECTORY="output"
55

66
###############################
77
# Image information (edit this)
8+
IMAGE_TARGET="otter"
89
IMAGE_URGENCY="high"
9-
IMAGE_DATE="2022-12-24"
10-
IMAGE_URL="https://gitlab.shift-gmbh.com/ShiftOSS/android_proprietary_vendor_firmware/-/raw/1bb90b71d9658c74c6643429008480da12a850a8/axolotl/radio/abl.img"
11-
IMAGE_VERSION="5.0.20221224"
10+
IMAGE_DATE="2024-05-21"
11+
IMAGE_URL="https://gitlab.shift-gmbh.com/ShiftOSS/android_proprietary_vendor_firmware_otter/-/raw/70832c0939a25169d814e2d81c0a296a80d5c91a/radio/abl.img"
12+
IMAGE_VERSION="6.0.20240521"
1213
IMAGE_DESCRIPTION=$(cat << EOF
1314
<p>This release brings the following fixes and improvements:</p>
1415
<ul>
15-
<li>Disable parallel download flash operations</li>
16-
<li>Fix slot switching issues for vendor_boot partitions</li>
16+
<li>Initial release</li>
1717
</ul>
1818
EOF
1919
)
@@ -29,7 +29,7 @@ echo "${IMAGE_DESCRIPTION}"
2929
echo "##########################"
3030
echo ""
3131

32-
IMAGE_NAME="abl_${IMAGE_VERSION}"
32+
IMAGE_NAME="${IMAGE_TARGET}_abl_${IMAGE_VERSION}"
3333
METAINFO_FILE="${IMAGE_NAME}.${METAINFO_TEMPLATE}"
3434

3535
OUTPUT_GCAB_FILE="${IMAGE_NAME}.cab"

metainfo.xml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<!-- Copyright 2021-2022 Dylan Van Assche <[email protected]> -->
3+
<!-- Copyright 2024 Alexander Martinz <[email protected]> -->
34
<component type="firmware">
4-
<id>eco.shift.axolotl.abl.firmware</id>
5-
<name>6mq</name>
5+
<id>eco.shift.otter.abl.firmware</id>
6+
<name>phone 8</name>
67
<name_variant_suffix>Bootloader</name_variant_suffix>
7-
<summary>Firmware for SHIFT 6mq's bootloader</summary>
8+
<summary>Firmware for SHIFT phone 8's bootloader</summary>
89
<description>
910
<p>
1011
Updating your bootloader may bring new features, security fixes, and other improvements. Upgrading at your own risk!
@@ -15,11 +16,11 @@
1516
<category>X-System</category>
1617
</categories>
1718
<provides>
18-
<!-- Match axolotl's partitions -->
19+
<!-- Match otter's partitions -->
1920
<!-- ABL A -->
20-
<firmware type="flashed">a1ea18c7-9f12-5ff0-8887-7d81f92ec261</firmware>
21+
<firmware type="flashed">67c7794d-af25-565d-b5ce-9a42da0e93e8</firmware>
2122
<!-- ABL B -->
22-
<firmware type="flashed">9adc34d6-c729-51de-98ca-9066fcf85630</firmware>
23+
<firmware type="flashed">f6017f0c-945c-5b06-8bf1-0c0b044adb7f</firmware>
2324
</provides>
2425
<url type="homepage">https://shift.eco/</url>
2526
<metadata_license>CC0-1.0</metadata_license>
@@ -49,9 +50,10 @@ SCRIPT_MARKER_DESCRIPTION
4950
<!-- Search keywords -->
5051
<keywords>
5152
<keyword>shiftphones</keyword>
52-
<keyword>shift6mq</keyword>
53+
<keyword>shift phone 8</keyword>
54+
<keyword>SP8</keyword>
5355
<keyword>bootloader</keyword>
54-
<keyword>axolotl</keyword>
56+
<keyword>otter</keyword>
5557
<keyword>abl</keyword>
5658
</keywords>
5759
</component>

0 commit comments

Comments
 (0)