16 Commits

9 changed files with 21 additions and 115 deletions

View File

@@ -92,9 +92,9 @@ jobs:
fi fi
# Send to second chat (with error checking) # 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" \ 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 }}" \ -F caption="New LTE Module Release ${{ env.RELEASE_TAG }}" \
# "https://api.telegram.org/bot${BOT_TOKEN}/sendDocument?chat_id=${CHAT_ID_2}"; then "https://api.telegram.org/bot${BOT_TOKEN}/sendDocument?chat_id=${CHAT_ID_2}"; then
# echo "Failed to send to second chat" echo "Failed to send to second chat"
# exit 1 exit 1
# fi fi

View File

@@ -92,9 +92,9 @@ jobs:
fi fi
# Send to second chat (with error checking) # 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" \ 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 }}" \ -F caption="New NR Module Release ${{ env.RELEASE_TAG }}" \
# "https://api.telegram.org/bot${BOT_TOKEN}/sendDocument?chat_id=${CHAT_ID_2}"; then "https://api.telegram.org/bot${BOT_TOKEN}/sendDocument?chat_id=${CHAT_ID_2}"; then
# echo "Failed to send to second chat" echo "Failed to send to second chat"
# exit 1 exit 1
# fi fi

View File

@@ -1,93 +0,0 @@
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,5 +1,4 @@
## [Check Releases for Magisk modules](https://github.com/high3eam/pixel9-EU-combos/releases) ## [Check Releases for Magisk modules](https://git.hnrk.io/henrik/pixel9-EU-combos/releases) (Module includes a built-in updater)
### Module includes a built-in updater
## 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)) ## 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. - 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. - Then use protoc to decode the protobuf binary file.

View File

@@ -1,4 +1,5 @@
## v42
- Maintenance release for new updater path
## v41 ## v41
- Added interband ULCA for combos 32A+8A+7A+3C, 20A+8A+7A+3C and 32A+20A+7A+3C - Added interband ULCA for combos 32A+8A+7A+3C, 20A+8A+7A+3C and 32A+20A+7A+3C
- All included combos: [https://uecaps.hennes.xyz/view/multi/?id=24d0b9ab-70e6-4ab5-8b7e-6627e007c73e](https://uecaps.hennes.xyz/view/multi/?id=24d0b9ab-70e6-4ab5-8b7e-6627e007c73e) - All included combos: [https://uecaps.hennes.xyz/view/multi/?id=24d0b9ab-70e6-4ab5-8b7e-6627e007c73e](https://uecaps.hennes.xyz/view/multi/?id=24d0b9ab-70e6-4ab5-8b7e-6627e007c73e)

View File

@@ -1,4 +1,3 @@
## v42 ## v42
- Add n78-n78-n28-n1 SA combo with ULCA - 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) - 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)

View File

@@ -1,7 +1,7 @@
id=custom_lte_p9_tokay id=custom_lte_p9_tokay
name=Pixel 9 custom LTE uecap name=Pixel 9 custom LTE uecap
version=41 version=42
versionCode=41 versionCode=42
author=high3eam author=high3eam
description=replaces lte uecaps binarypb with custom one for added lowband ca description=replaces lte uecaps binarypb with custom one for added lowband ca
updateJson=https://raw.githubusercontent.com/high3eam/pixel9-EU-combos/main/updaterLTE.json updateJson=https://git.hnrk.io/henrik/pixel9-EU-combos/raw/branch/main/updaterLTE.json

View File

@@ -4,4 +4,4 @@ version=42
versionCode=42 versionCode=42
author=high3eam author=high3eam
description=replaces default platform binarypb with custom one, 2CC 3CC FDD NRULCA and FDD NR UL MIMO 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 updateJson=https://git.hnrk.io/henrik/pixel9-EU-combos/raw/branch/main/updaterNR.json

View File

@@ -1,6 +1,6 @@
{ {
"version": "41", "version": "41",
"versionCode": 41, "versionCode": 41,
"zipUrl": "https://github.com/high3eam/pixel9-EU-combos/releases/download/LTE-v41/p9_lte_combos_mod_v41.zip", "zipUrl": "https://git.hnrk.io/henrik/pixel9-EU-combos/releases/download/LTE-v41/p9_lte_combos_mod_v41.zip",
"changelog": "https://raw.githubusercontent.com/high3eam/pixel9-EU-combos/main/changelog-LTE.md" "changelog": "https://git.hnrk.io/henrik/pixel9-EU-combos/raw/branch/main/changelog-LTE.md"
} }