24 Commits

Author SHA1 Message Date
917fb03d42 Dateien nach ".gitea/workflows" hochladen 2025-11-16 12:59:59 +01:00
Gitea Action
22f86a5d22 Update updaterNR.json for version 42 2025-11-16 11:53:40 +00:00
853c77cfe8 .gitea/workflows/release-lte-mod.yml aktualisiert 2025-11-16 12:53:26 +01:00
63b66e72fc .gitea/workflows/release-nr-mod.yml aktualisiert 2025-11-16 12:53:01 +01:00
077175174d .gitea/workflows/release-nr-mod.yml aktualisiert 2025-11-16 12:46:45 +01:00
687487d79f .gitea/workflows/release-lte-mod.yml aktualisiert 2025-11-16 12:46:33 +01:00
25de5e5b08 .gitea/workflows/release-lte-mod.yml aktualisiert 2025-11-16 12:35:47 +01:00
8aec26308c .gitea/workflows/release-nr-mod.yml aktualisiert 2025-11-16 12:34:42 +01:00
08a8e0798b .github/workflows/release-nr-mod.yml gelöscht 2025-11-16 12:21:12 +01:00
6806c0b929 .github/workflows/release-lte-mod.yml gelöscht 2025-11-16 12:21:07 +01:00
ed9319275d Dateien nach ".gitea/workflows" hochladen 2025-11-16 12:20:55 +01:00
827954484c Dateien nach "p9_nr_platform_mod/system/vendor/firmware/uecapconfig" hochladen 2025-11-16 11:58:39 +01:00
208d7cbaa1 p9_nr_platform_mod/module.prop aktualisiert 2025-11-16 11:57:53 +01:00
cffad166be changelog-NR.md aktualisiert 2025-11-16 11:57:22 +01:00
Henrik
721674f0b1 Update README.md 2025-07-15 07:23:26 +02:00
GitHub Action
a8a5944b8d Update updaterNR.json for version 41 2025-06-29 18:42:39 +00:00
Henrik
8f142fb73d v41 2025-06-29 20:42:26 +02:00
Henrik
b9a9d93cfe v41 2025-06-29 20:41:25 +02:00
Henrik
10fcfe5311 v41 2025-06-29 20:41:09 +02:00
GitHub Action
c9e1e0468f Update updaterNR.json for version 40 2025-06-05 10:20:28 +00:00
Henrik
cefee96208 v40 2025-06-05 12:19:58 +02:00
Henrik
086bcc22a1 v40 2025-06-05 12:17:59 +02:00
Henrik
03cec34398 v40 2025-06-05 12:17:41 +02:00
GitHub Action
a957839b19 Update updaterNR.json for version 39 2025-06-05 10:01:44 +00:00
8 changed files with 180 additions and 48 deletions

View File

@@ -31,17 +31,32 @@ jobs:
cd ..
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.RELEASE_TAG }}
name: Release ${{ env.RELEASE_TAG }}
draft: false
prerelease: false
files: |
p9_lte_combos_mod_v${{ env.MOD_VERSION }}.zip
GITEA_TOKEN: ${{ secrets.REPO_TOKEN }}
run: |
# Create the release using Gitea API
curl -X POST \
"https://git.hnrk.io/api/v1/repos/henrik/pixel9-EU-combos/releases" \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"tag_name": "${{ env.RELEASE_TAG }}",
"name": "Release ${{ env.RELEASE_TAG }}",
"body": "LTE Module Release ${{ env.MOD_VERSION }}",
"draft": false,
"prerelease": false
}'
# Upload the release asset
RELEASE_ID=$(curl -s \
"https://git.hnrk.io/api/v1/repos/henrik/pixel9-EU-combos/releases/tags/${{ env.RELEASE_TAG }}" \
-H "Authorization: token ${GITEA_TOKEN}" | grep -o '"id":[0-9]*' | head -1 | cut -d: -f2)
curl -X POST \
"https://git.hnrk.io/api/v1/repos/henrik/pixel9-EU-combos/releases/${RELEASE_ID}/assets?name=p9_lte_combos_mod_v${{ env.MOD_VERSION }}.zip" \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/zip" \
--data-binary @"p9_lte_combos_mod_v${{ env.MOD_VERSION }}.zip"
- name: Update updater JSON
run: |
@@ -49,15 +64,15 @@ jobs:
{
"version": "${{ env.MOD_VERSION }}",
"versionCode": ${{ env.MOD_VERSIONCODE }},
"zipUrl": "https://github.com/${{ github.repository }}/releases/download/${{ env.RELEASE_TAG }}/p9_lte_combos_mod_v${{ env.MOD_VERSION }}.zip",
"changelog": "https://raw.githubusercontent.com/${{ github.repository }}/main/changelog-LTE.md"
"zipUrl": "https://git.hnrk.io/henrik/pixel9-EU-combos/releases/download/${{ env.RELEASE_TAG }}/p9_lte_combos_mod_v${{ env.MOD_VERSION }}.zip",
"changelog": "https://git.hnrk.io/henrik/pixel9-EU-combos/raw/branch/main/changelog-LTE.md"
}
EOF
- name: Commit and push updater JSON
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git config --local user.email "action@gitea.com"
git config --local user.name "Gitea Action"
git add updaterLTE.json
git commit -m "Update updaterLTE.json for version ${{ env.MOD_VERSION }}"
git push
@@ -77,9 +92,9 @@ jobs:
fi
# Send to second chat (with error checking)
if ! curl -s -f -o /dev/null -F document=@"p9_lte_combos_mod_v${{ env.MOD_VERSION }}.zip" \
-F caption="New LTE Module Release ${{ env.RELEASE_TAG }}" \
"https://api.telegram.org/bot${BOT_TOKEN}/sendDocument?chat_id=${CHAT_ID_2}"; then
echo "Failed to send to second chat"
exit 1
fi
# if ! curl -s -f -o /dev/null -F document=@"p9_lte_combos_mod_v${{ env.MOD_VERSION }}.zip" \
# -F caption="New LTE Module Release ${{ env.RELEASE_TAG }}" \
# "https://api.telegram.org/bot${BOT_TOKEN}/sendDocument?chat_id=${CHAT_ID_2}"; then
# echo "Failed to send to second chat"
# exit 1
# fi

View File

@@ -31,17 +31,32 @@ jobs:
cd ..
- name: Create Release
id: create_release
uses: softprops/action-gh-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag_name: ${{ env.RELEASE_TAG }}
name: Release ${{ env.RELEASE_TAG }}
draft: false
prerelease: false
files: |
p9_nr_platform_mod_v${{ env.MOD_VERSION }}.zip
GITEA_TOKEN: ${{ secrets.REPO_TOKEN }}
run: |
# Create the release using Gitea API
curl -X POST \
"https://git.hnrk.io/api/v1/repos/henrik/pixel9-EU-combos/releases" \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/json" \
-d '{
"tag_name": "${{ env.RELEASE_TAG }}",
"name": "Release ${{ env.RELEASE_TAG }}",
"body": "NR Module Release ${{ env.MOD_VERSION }}",
"draft": false,
"prerelease": false
}'
# Upload the release asset
RELEASE_ID=$(curl -s \
"https://git.hnrk.io/api/v1/repos/henrik/pixel9-EU-combos/releases/tags/${{ env.RELEASE_TAG }}" \
-H "Authorization: token ${GITEA_TOKEN}" | grep -o '"id":[0-9]*' | head -1 | cut -d: -f2)
curl -X POST \
"https://git.hnrk.io/api/v1/repos/henrik/pixel9-EU-combos/releases/${RELEASE_ID}/assets?name=p9_nr_platform_mod_v${{ env.MOD_VERSION }}.zip" \
-H "Authorization: token ${GITEA_TOKEN}" \
-H "Content-Type: application/zip" \
--data-binary @"p9_nr_platform_mod_v${{ env.MOD_VERSION }}.zip"
- name: Update updater JSON
run: |
@@ -49,15 +64,15 @@ jobs:
{
"version": "${{ env.MOD_VERSION }}",
"versionCode": ${{ env.MOD_VERSIONCODE }},
"zipUrl": "https://github.com/${{ github.repository }}/releases/download/${{ env.RELEASE_TAG }}/p9_nr_platform_mod_v${{ env.MOD_VERSION }}.zip",
"changelog": "https://raw.githubusercontent.com/${{ github.repository }}/main/changelog-NR.md"
"zipUrl": "https://git.hnrk.io/henrik/pixel9-EU-combos/releases/download/${{ env.RELEASE_TAG }}/p9_nr_platform_mod_v${{ env.MOD_VERSION }}.zip",
"changelog": "https://git.hnrk.io/henrik/pixel9-EU-combos/raw/branch/main/changelog-NR.md"
}
EOF
- name: Commit and push updater JSON
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git config --local user.email "action@gitea.com"
git config --local user.name "Gitea Action"
git add updaterNR.json
git commit -m "Update updaterNR.json for version ${{ env.MOD_VERSION }}"
git push
@@ -77,9 +92,9 @@ jobs:
fi
# Send to second chat (with error checking)
if ! curl -s -f -o /dev/null -F document=@"p9_nr_platform_mod_v${{ env.MOD_VERSION }}.zip" \
-F caption="New NR Module Release ${{ env.RELEASE_TAG }}" \
"https://api.telegram.org/bot${BOT_TOKEN}/sendDocument?chat_id=${CHAT_ID_2}"; then
echo "Failed to send to second chat"
exit 1
fi
# if ! curl -s -f -o /dev/null -F document=@"p9_nr_platform_mod_v${{ env.MOD_VERSION }}.zip" \
# -F caption="New NR Module Release ${{ env.RELEASE_TAG }}" \
# "https://api.telegram.org/bot${BOT_TOKEN}/sendDocument?chat_id=${CHAT_ID_2}"; then
# echo "Failed to send to second chat"
# exit 1
# fi

View File

@@ -0,0 +1,93 @@
name: Test Telegram Send
on:
workflow_dispatch:
inputs:
test_message:
description: 'Test message to send'
required: false
default: 'Test message from Gitea Actions'
jobs:
test-telegram:
runs-on: ubuntu-latest
steps:
- name: Test Telegram Bot Connection
env:
BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
CHAT_ID_1: ${{ secrets.TELEGRAM_CHAT_ID_1_GROUP }}
run: |
echo "=== Telegram Configuration Check ==="
echo "Bot token configured: $([ -n "$BOT_TOKEN" ] && echo 'YES' || echo 'NO')"
echo "Bot token length: ${#BOT_TOKEN}"
echo "Chat ID configured: $([ -n "$CHAT_ID_1" ] && echo 'YES' || echo 'NO')"
echo "Chat ID value: ${CHAT_ID_1}"
echo "===================================="
# Test 1: Check if bot token is valid
echo ""
echo "Test 1: Checking bot token validity..."
BOT_INFO=$(curl -s "https://api.telegram.org/bot${BOT_TOKEN}/getMe")
echo "Bot info response: $BOT_INFO"
if echo "$BOT_INFO" | grep -q '"ok":true'; then
echo "✓ Bot token is valid!"
BOT_USERNAME=$(echo "$BOT_INFO" | grep -o '"username":"[^"]*"' | cut -d'"' -f4)
echo " Bot username: @${BOT_USERNAME}"
else
echo "✗ Bot token is invalid or there's an API issue"
echo " Please check your TELEGRAM_BOT_TOKEN secret"
exit 1
fi
# Test 2: Send a simple text message
echo ""
echo "Test 2: Sending text message..."
TEXT_RESPONSE=$(curl -s -w "\nHTTP_CODE:%{http_code}" \
-d "chat_id=${CHAT_ID_1}" \
-d "text=${{ github.event.inputs.test_message }}" \
"https://api.telegram.org/bot${BOT_TOKEN}/sendMessage")
HTTP_CODE=$(echo "$TEXT_RESPONSE" | grep "HTTP_CODE:" | cut -d: -f2)
RESPONSE_BODY=$(echo "$TEXT_RESPONSE" | sed '/HTTP_CODE:/d')
echo "HTTP Status: $HTTP_CODE"
echo "Response: $RESPONSE_BODY"
if [ "$HTTP_CODE" = "200" ]; then
echo "✓ Text message sent successfully!"
else
echo "✗ Failed to send text message"
echo " Common issues:"
echo " - Chat ID is incorrect (should be negative for groups: -1001234567890)"
echo " - Bot is not a member of the group/channel"
echo " - Bot doesn't have permission to send messages"
exit 1
fi
# Test 3: Create and send a test file
echo ""
echo "Test 3: Sending test file..."
echo "This is a test file from Gitea Actions" > test_file.txt
FILE_RESPONSE=$(curl -s -w "\nHTTP_CODE:%{http_code}" \
-F document=@"test_file.txt" \
-F caption="Test file upload from Gitea Actions" \
"https://api.telegram.org/bot${BOT_TOKEN}/sendDocument?chat_id=${CHAT_ID_1}")
HTTP_CODE=$(echo "$FILE_RESPONSE" | grep "HTTP_CODE:" | cut -d: -f2)
RESPONSE_BODY=$(echo "$FILE_RESPONSE" | sed '/HTTP_CODE:/d')
echo "HTTP Status: $HTTP_CODE"
echo "Response: $RESPONSE_BODY"
if [ "$HTTP_CODE" = "200" ]; then
echo "✓ File sent successfully!"
else
echo "✗ Failed to send file"
exit 1
fi
echo ""
echo "=== All tests passed! ==="

View File

@@ -1,6 +1,6 @@
## [Check Releases for Magisk modules](https://github.com/high3eam/pixel9-EU-combos/releases)
### Module includes a built-in updater
## Edit combos yourself
## Edit combos yourself (or even better, use the binarypb editor here: [https://nxij.github.io/pixel-pb/](https://nxij.github.io/pixel-pb/), thanks to [@NXij](https://github.com/NXij))
- Download [`protoc`](https://github.com/protocolbuffers/protobuf/releases) as well as the ShannonUeCap `.proto template` files from this repo.
- Then use protoc to decode the protobuf binary file.
For NR combos, use:

View File

@@ -1,4 +1,13 @@
## v42
- Add n78-n78-n28-n1 SA combo with ULCA
- All included combos: [https://uecaps.hennes.xyz/view/multi/?id=ab2eb2f3-9ad0-4e4e-9d1e-55deeda23ef1](https://uecaps.hennes.xyz/view/multi/?id=ab2eb2f3-9ad0-4e4e-9d1e-55deeda23ef1)
## v41
- Add 3xNR-CA NSA combos with 3xLTE-CA for Telekom & Vodafone
- All included combos: [https://uecaps.hennes.xyz/view/multi/?id=4d071d16-0a93-491d-9b04-1f4ee503dc0e](https://uecaps.hennes.xyz/view/multi/?id=4d071d16-0a93-491d-9b04-1f4ee503dc0e)
## v40
- Revert n28 UL MIMO (kinda works on DTAG, but DL/UL thput performance gets a huge hit and BLER becomes massive)
- All included combos: [https://uecaps.hennes.xyz/view/multi/?id=1d3a64d5-4588-4000-8e0a-e15ed70889ac](https://uecaps.hennes.xyz/view/multi/?id=1d3a64d5-4588-4000-8e0a-e15ed70889ac)
## v39
- Testing n28 UL MIMO (single band combo for now)
- All included combos: [https://uecaps.hennes.xyz/view/multi/?id=f0d5c22a-f762-41ff-b053-09ccfc26d03f](https://uecaps.hennes.xyz/view/multi/?id=f0d5c22a-f762-41ff-b053-09ccfc26d03f)
@@ -49,4 +58,4 @@
- All included combos: [https://uecaps.hennes.xyz/view/multi/?id=87ffbc9c-2da9-4f65-8849-0bd06735d94a](https://uecaps.hennes.xyz/view/multi/?id=87ffbc9c-2da9-4f65-8849-0bd06735d94a)
## v23
- Removed intraband EN-DC combos, because these interfere with legitimate EN-DC combos including NR-CA (E/// RAN bug?)
- All included combos: [https://uecaps.hennes.xyz/view/multi/?id=3277c022-ba8e-4eed-96da-f2c58a6fa91a](https://uecaps.hennes.xyz/view/multi/?id=3277c022-ba8e-4eed-96da-f2c58a6fa91a)
- All included combos: [https://uecaps.hennes.xyz/view/multi/?id=3277c022-ba8e-4eed-96da-f2c58a6fa91a](https://uecaps.hennes.xyz/view/multi/?id=3277c022-ba8e-4eed-96da-f2c58a6fa91a)

View File

@@ -1,7 +1,7 @@
id=custom_platform_p9_tokay
name=Pixel 9 custom uecap platform 2CC 3CC FDD NRULCA NR UL MIMO
version=39
versionCode=39
version=42
versionCode=42
author=high3eam
description=replaces default platform binarypb with custom one, 2CC 3CC FDD NRULCA and FDD NR UL MIMO
updateJson=https://raw.githubusercontent.com/high3eam/pixel9-EU-combos/main/updaterNR.json

View File

@@ -1,6 +1,6 @@
{
"version": "38",
"versionCode": 38,
"zipUrl": "https://github.com/high3eam/pixel9-EU-combos/releases/download/NR-v38/p9_nr_platform_mod_v38.zip",
"changelog": "https://raw.githubusercontent.com/high3eam/pixel9-EU-combos/main/changelog-NR.md"
"version": "42",
"versionCode": 42,
"zipUrl": "https://git.hnrk.io/henrik/pixel9-EU-combos/releases/download/NR-v42/p9_nr_platform_mod_v42.zip",
"changelog": "https://git.hnrk.io/henrik/pixel9-EU-combos/raw/branch/main/changelog-NR.md"
}