diff --git a/A-Team.mk b/A-Team.mk index a31097b..f522052 100644 --- a/A-Team.mk +++ b/A-Team.mk @@ -44,7 +44,7 @@ PRODUCT_SOONG_NAMESPACES += \ [A-Team_Custom_APN] else PRODUCT_SOONG_NAMESPACES += \ - [Default_APN] + [ROM_Default_APN] endif # A-Team Rom Apps diff --git a/Telegram_Bots/Bot_Message.sh b/Telegram_Bots/Bot_Message.sh deleted file mode 100755 index 27f7dab..0000000 --- a/Telegram_Bots/Bot_Message.sh +++ /dev/null @@ -1,113 +0,0 @@ -#!/bin/bash - -# -# Copyright 2019-Present A-Team Digital Solutions -# -# A-Team Moto-Common Bot Message -# - -# Bot Message -bot_message() { - expect - <<_END_EXPECT - set timeout 360 ; # set timeout to 6 minutes - spawn sudo ./Telegram_Bots/Telegram_Bot-$UPLOAD_DEVICE_NAME.sh " - - Hello Fellow A-Team Members, - - πŸ“± --->> New Rom Released On $SERVICE πŸ“± - - - β€’ $ROM_ZIP_NAME $MAJOR_VERSION.$MINOR_VERSION | UNOFFICIAL - - - πŸ“± Moto Device Codename: $UPLOAD_DEVICE_NAME - - πŸ“… Build Date: $BUILD_DATE - πŸ”„ Android: $UPLOAD_ANDROID_VERSION - πŸ“€ Build Type: $UPLOAD_BUILD_TYPE - πŸ” SeLinux: Permissive | Enforcing - πŸ“€ A-Team Version: $UPLOAD_INTERNAL_VERSION - πŸ‘¨β€πŸ’» Maintainer: $MAINTAINER - - - β€’ A-Team Custom Rom Installer Features - -3 Custom Recovery Options - -3 Root Options - -Enable / Disable Encryption Option - -Recovery Installer - -ADB Sideload Compatible - -Linux Installer - -Windows Installer - - - β€’ Rom Installation - *WILL WIPE DATA* - - -From Recovery - -Transfer Rom Zip To External SD Card - -Format Data From Recovery(yes option) - -Install Rom Zip - - OR - - -From ADB Sideload - -Ensure ADB Installed And Working - -Open Terminal In Rom Location - -Run Command: - adb shell twrp format data - adb sideload $UPLOAD_ROM_NAME - - OR - - -From Linux - -Extract Rom Zip - -Run .sh file To Flash Device From Linux - - OR - - -From Windows - -Extract Rom Zip - -Run .bat File To Flash Device From Windows - - -After Rom Installation And Device Boots, - -Complete Initial Setup - -Magisk Will Auto Open And Direct Install - -Device Will Auto Reboot - -Once Rebooted And Unlocked, A-Team Setup Will Run - -Reboot Once A-Team Setup Is Complete - -πŸ₯ΈDone!!πŸ‘πŸ˜ - - - β€’ Rom Download Link - - $DOWNLOAD_LINK - - - β€’ A-Team Changelog: - -$CHANGELOG - - - β€’ Known Rom Bugs: - -$BUGS - - - β€’ Developer Donate Links - $DONATE_LINKS - " - expect { - "assword" { - send "$SUDO_PASS\r" - set timeout -1 ; # remove timeout for the rest of the process - exp_continue - } - timeout { - puts "Timeout Occurred While Waiting For Password Prompt." - exit 1 - } - eof { - puts "End Of File Reached." - } - } -_END_EXPECT -} - -bot_message diff --git a/Telegram_Bots/Bot_Message_GSI.sh b/Telegram_Bots/Bot_Message_GSI.sh deleted file mode 100755 index b3b562d..0000000 --- a/Telegram_Bots/Bot_Message_GSI.sh +++ /dev/null @@ -1,108 +0,0 @@ -#!/bin/bash - -# -# Copyright 2019-Present A-Team Digital Solutions -# -# A-Team Moto-Common Bot Message -# - -# Bot Message -bot_message() { - expect - <<_END_EXPECT - set timeout 360 ; # set timeout to 6 minutes - spawn sudo ./Telegram_Bots/Telegram_Bot-$UPLOAD_DEVICE_NAME.sh " - - Hello Fellow A-Team Members, - - πŸ“± --->> New Rom Released On $SERVICE πŸ“± - - - β€’ $ROM_ZIP_NAME $MAJOR_VERSION.$MINOR_VERSION | UNOFFICIAL - - - πŸ“± Moto Device Codename: $UPLOAD_DEVICE_NAME - - πŸ“… Build Date: $BUILD_DATE - πŸ”„ Android: $UPLOAD_ANDROID_VERSION - πŸ“€ Build Type: $UPLOAD_BUILD_TYPE - πŸ” SeLinux: Permissive | Enforcing - πŸ“€ A-Team Version: $UPLOAD_INTERNAL_VERSION - πŸ‘¨β€πŸ’» Maintainer: $MAINTAINER - - - β€’ A-Team Custom Rom Installer Features - -Recovery Installer - -ADB Sideload Compatible - -Linux Installer - -Windows Installer - - - β€’ Rom Installation - *WILL WIPE DATA* - - -From Recovery - -Transfer Rom Zip To External SD Card - -Format Data From Recovery(yes option) - -Install Rom Zip - - OR - - -From ADB Sideload - -Ensure ADB Installed And Working - -Open Terminal In Rom Location - -Run Command: - adb shell twrp format data - adb sideload $UPLOAD_ROM_NAME - - OR - - -From Linux - -Extract Rom Zip - -Run .sh file To Flash Device From Linux - - OR - - -From Windows - -Extract Rom Zip - -Run .bat File To Flash Device From Windows - - -After Rom Installation And Device Boots, - -Open Magisk Manager - -Select Magisk Direct Install - -Reboot - -πŸ₯ΈDone!!πŸ‘πŸ˜ - - - β€’ Rom Download Link - - https://sourceforge.net/projects/a-team-rom-downloads/files/$UPLOAD_DEVICE_NAME/$UPLOAD_ROM_NAME - - - β€’ A-Team Changelog: - -$CHANGELOG - - - β€’ Known Rom Bugs: - -$BUGS - - - β€’ Developer Donate Links - $DONATE_LINKS - " - expect { - "assword" { - send "$SUDO_PASS\r" - set timeout -1 ; # remove timeout for the rest of the process - exp_continue - } - timeout { - puts "Timeout Occurred While Waiting For Password Prompt." - exit 1 - } - eof { - puts "End Of File Reached." - } - } -_END_EXPECT -} - -bot_message diff --git a/Telegram_Bots/Telegram_Bot-Avatrn.sh b/Telegram_Bots/Telegram_Bot-Avatrn.sh deleted file mode 100755 index 60fb5a4..0000000 --- a/Telegram_Bots/Telegram_Bot-Avatrn.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash - -# -# Copyright 2019-Present A-Team Digital Solutions -# -# A-Team Moto-Common Telegram Notification Bot Addon -# -# Bot Version: 0.05" -# Bot Update Date: 12-28-2023" -# Bot Creation Date: 12-2-2025" -# - - -# Telegram Bot Variables - **User Adaptable** -export CHANNEL_ID='-1001881525724' -export BOT_TOKEN='6980538384:AAFwUFeMM1ML_Jal5N_d7-EDU793WMykgx4' - - -# Device Specific Thread Topic Variables - **User Adaptable** -export FOGO_THREAD_ID='34693' - - -# if the first argument is "-h" for help. -# display the usage information -if [ "$1" == "-h" ]; then - echo "Usage: `basename $0` \"text message\"" - exit 0 -fi - -# Warn if the first argument is empty. -if [ -z "$1" ]; then - echo "Add message text as the second argument" - exit 0 -fi - -# Warn if more than one argument is passed to the script. -if [ "$#" -ne 1 ]; then - echo "You can pass only one argument. For string with spaces, put it on quotes" - exit 0 -fi - -# send a POST request to Telegram's API -# The '-s' = "silent" mode -# redirect outputs to /dev/null -curl -s --data "text=$1" --data "chat_id=$CHANNEL_ID" --data "message_thread_id=$FOGO_THREAD_ID" 'https://api.telegram.org/bot'$BOT_TOKEN'/sendMessage' > /dev/null. follow instructions to create bot and get token to access the HTTP API. diff --git a/Telegram_Bots/Telegram_Bot-Fogo.sh b/Telegram_Bots/Telegram_Bot-Fogo.sh deleted file mode 100755 index 60fb5a4..0000000 --- a/Telegram_Bots/Telegram_Bot-Fogo.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash - -# -# Copyright 2019-Present A-Team Digital Solutions -# -# A-Team Moto-Common Telegram Notification Bot Addon -# -# Bot Version: 0.05" -# Bot Update Date: 12-28-2023" -# Bot Creation Date: 12-2-2025" -# - - -# Telegram Bot Variables - **User Adaptable** -export CHANNEL_ID='-1001881525724' -export BOT_TOKEN='6980538384:AAFwUFeMM1ML_Jal5N_d7-EDU793WMykgx4' - - -# Device Specific Thread Topic Variables - **User Adaptable** -export FOGO_THREAD_ID='34693' - - -# if the first argument is "-h" for help. -# display the usage information -if [ "$1" == "-h" ]; then - echo "Usage: `basename $0` \"text message\"" - exit 0 -fi - -# Warn if the first argument is empty. -if [ -z "$1" ]; then - echo "Add message text as the second argument" - exit 0 -fi - -# Warn if more than one argument is passed to the script. -if [ "$#" -ne 1 ]; then - echo "You can pass only one argument. For string with spaces, put it on quotes" - exit 0 -fi - -# send a POST request to Telegram's API -# The '-s' = "silent" mode -# redirect outputs to /dev/null -curl -s --data "text=$1" --data "chat_id=$CHANNEL_ID" --data "message_thread_id=$FOGO_THREAD_ID" 'https://api.telegram.org/bot'$BOT_TOKEN'/sendMessage' > /dev/null. follow instructions to create bot and get token to access the HTTP API. diff --git a/Telegram_Bots/Telegram_Bot-Fogos.sh b/Telegram_Bots/Telegram_Bot-Fogos.sh deleted file mode 100755 index 60fb5a4..0000000 --- a/Telegram_Bots/Telegram_Bot-Fogos.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash - -# -# Copyright 2019-Present A-Team Digital Solutions -# -# A-Team Moto-Common Telegram Notification Bot Addon -# -# Bot Version: 0.05" -# Bot Update Date: 12-28-2023" -# Bot Creation Date: 12-2-2025" -# - - -# Telegram Bot Variables - **User Adaptable** -export CHANNEL_ID='-1001881525724' -export BOT_TOKEN='6980538384:AAFwUFeMM1ML_Jal5N_d7-EDU793WMykgx4' - - -# Device Specific Thread Topic Variables - **User Adaptable** -export FOGO_THREAD_ID='34693' - - -# if the first argument is "-h" for help. -# display the usage information -if [ "$1" == "-h" ]; then - echo "Usage: `basename $0` \"text message\"" - exit 0 -fi - -# Warn if the first argument is empty. -if [ -z "$1" ]; then - echo "Add message text as the second argument" - exit 0 -fi - -# Warn if more than one argument is passed to the script. -if [ "$#" -ne 1 ]; then - echo "You can pass only one argument. For string with spaces, put it on quotes" - exit 0 -fi - -# send a POST request to Telegram's API -# The '-s' = "silent" mode -# redirect outputs to /dev/null -curl -s --data "text=$1" --data "chat_id=$CHANNEL_ID" --data "message_thread_id=$FOGO_THREAD_ID" 'https://api.telegram.org/bot'$BOT_TOKEN'/sendMessage' > /dev/null. follow instructions to create bot and get token to access the HTTP API. diff --git a/Telegram_Bots/Telegram_Bot-GSI.sh b/Telegram_Bots/Telegram_Bot-GSI.sh deleted file mode 100755 index 2e2c703..0000000 --- a/Telegram_Bots/Telegram_Bot-GSI.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash - -# -# Copyright 2019-Present A-Team Digital Solutions -# -# A-Team GSI Telegram Notification Bot Addon -# -# Bot Version: 0.04" -# Bot Update Date: 12-28-2023" -# Bot Creation Date: 3-9-2025" -# - - -# Telegram Bot Variables - **User Adaptable** -export CHANNEL_ID='-1001881525724' -export BOT_TOKEN='6980538384:AAFwUFeMM1ML_Jal5N_d7-EDU793WMykgx4' - - -# Device Specific Thread Topic Variables - **User Adaptable** -export GSI_THREAD_ID='76621' - - -# if the first argument is "-h" for help. -# display the usage information -if [ "$1" == "-h" ]; then - echo "Usage: `basename $0` \"text message\"" - exit 0 -fi - -# Warn if the first argument is empty. -if [ -z "$1" ]; then - echo "Add message text as the second argument" - exit 0 -fi - -# Warn if more than one argument is passed to the script. -if [ "$#" -ne 1 ]; then - echo "You can pass only one argument. For string with spaces, put it on quotes" - exit 0 -fi - -# send a POST request to Telegram's API -# The '-s' = "silent" mode -# redirect outputs to /dev/null -curl -s --data "text=$1" --data "chat_id=$CHANNEL_ID" --data "message_thread_id=$GSI_THREAD_ID" 'https://api.telegram.org/bot'$BOT_TOKEN'/sendMessage' > /dev/null. follow instructions to create bot and get token to access the HTTP API. diff --git a/Telegram_Bots/Telegram_Bot-Genevn.sh b/Telegram_Bots/Telegram_Bot-Genevn.sh deleted file mode 100755 index 8177be1..0000000 --- a/Telegram_Bots/Telegram_Bot-Genevn.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash - -# -# Copyright 2019-Present A-Team Digital Solutions -# -# A-Team Moto-Common Telegram Notification Bot Addon -# -# Bot Version: 0.05" -# Bot Update Date: 12-28-2023" -# Bot Creation Date: 12-28-2023" -# - - -# Telegram Bot Variables - **User Adaptable** -export CHANNEL_ID='' -export BOT_TOKEN='' - - -# Device Specific Thread Topic Variables - **User Adaptable** -export GENEVN_THREAD_ID='' - - -# if the first argument is "-h" for help. -# display the usage information -if [ "$1" == "-h" ]; then - echo "Usage: `basename $0` \"text message\"" - exit 0 -fi - -# Warn if the first argument is empty. -if [ -z "$1" ]; then - echo "Add message text as the second argument" - exit 0 -fi - -# Warn if more than one argument is passed to the script. -if [ "$#" -ne 1 ]; then - echo "You can pass only one argument. For string with spaces, put it on quotes" - exit 0 -fi - -# send a POST request to Telegram's API -# The '-s' = "silent" mode -# redirect outputs to /dev/null -curl -s --data "text=$1" --data "chat_id=$CHANNEL_ID" --data "message_thread_id=$GENEVN_THREAD_ID" 'https://api.telegram.org/bot'$BOT_TOKEN'/sendMessage' > /dev/null. follow instructions to create bot and get token to access the HTTP API. diff --git a/Telegram_Bots/Telegram_Bot-Milanf.sh b/Telegram_Bots/Telegram_Bot-Milanf.sh deleted file mode 100755 index 87e442d..0000000 --- a/Telegram_Bots/Telegram_Bot-Milanf.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash - -# -# Copyright 2019-Present A-Team Digital Solutions -# -# A-Team Moto-Common Telegram Notification Bot Addon -# -# Bot Version: 0.04" -# Bot Update Date: 12-28-2023" -# Bot Creation Date: 12-28-2023" -# - - -# Telegram Bot Variables - **User Adaptable** -export CHANNEL_ID='-1001881525724' -export BOT_TOKEN='6980538384:AAFwUFeMM1ML_Jal5N_d7-EDU793WMykgx4' - - -# Device Specific Thread Topic Variables - **User Adaptable** -export MILANF_THREAD_ID='35' - - -# if the first argument is "-h" for help. -# display the usage information -if [ "$1" == "-h" ]; then - echo "Usage: `basename $0` \"text message\"" - exit 0 -fi - -# Warn if the first argument is empty. -if [ -z "$1" ]; then - echo "Add message text as the second argument" - exit 0 -fi - -# Warn if more than one argument is passed to the script. -if [ "$#" -ne 1 ]; then - echo "You can pass only one argument. For string with spaces, put it on quotes" - exit 0 -fi - -# send a POST request to Telegram's API -# The '-s' = "silent" mode -# redirect outputs to /dev/null -curl -s --data "text=$1" --data "chat_id=$CHANNEL_ID" --data "message_thread_id=$MILANF_THREAD_ID" 'https://api.telegram.org/bot'$BOT_TOKEN'/sendMessage' > /dev/null. follow instructions to create bot and get token to access the HTTP API. diff --git a/Telegram_Bots/Telegram_Bot-Mona.sh b/Telegram_Bots/Telegram_Bot-Mona.sh deleted file mode 100755 index 2b64633..0000000 --- a/Telegram_Bots/Telegram_Bot-Mona.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash - -# -# Copyright 2019-Present A-Team Digital Solutions -# -# A-Team Moto-Common Telegram Notification Bot Addon -# -# Bot Version: 0.04" -# Bot Update Date: 12-28-2023" -# Bot Creation Date: 11-1-2025" -# - - -# Telegram Bot Variables - **User Adaptable** -export CHANNEL_ID='-1001881525724' -export BOT_TOKEN='6980538384:AAFwUFeMM1ML_Jal5N_d7-EDU793WMykgx4' - - -# Device Specific Thread Topic Variables - **User Adaptable** -export RTWO_THREAD_ID='95794' - - -# if the first argument is "-h" for help. -# display the usage information -if [ "$1" == "-h" ]; then - echo "Usage: `basename $0` \"text message\"" - exit 0 -fi - -# Warn if the first argument is empty. -if [ -z "$1" ]; then - echo "Add message text as the second argument" - exit 0 -fi - -# Warn if more than one argument is passed to the script. -if [ "$#" -ne 1 ]; then - echo "You can pass only one argument. For string with spaces, put it on quotes" - exit 0 -fi - -# send a POST request to Telegram's API -# The '-s' = "silent" mode -# redirect outputs to /dev/null -curl -s --data "text=$1" --data "chat_id=$CHANNEL_ID" --data "message_thread_id=$RTWO_THREAD_ID" 'https://api.telegram.org/bot'$BOT_TOKEN'/sendMessage' > /dev/null. follow instructions to create bot and get token to access the HTTP API. diff --git a/Telegram_Bots/Telegram_Bot-Rtwo.sh b/Telegram_Bots/Telegram_Bot-Rtwo.sh deleted file mode 100755 index 2b64633..0000000 --- a/Telegram_Bots/Telegram_Bot-Rtwo.sh +++ /dev/null @@ -1,45 +0,0 @@ -#!/bin/bash - -# -# Copyright 2019-Present A-Team Digital Solutions -# -# A-Team Moto-Common Telegram Notification Bot Addon -# -# Bot Version: 0.04" -# Bot Update Date: 12-28-2023" -# Bot Creation Date: 11-1-2025" -# - - -# Telegram Bot Variables - **User Adaptable** -export CHANNEL_ID='-1001881525724' -export BOT_TOKEN='6980538384:AAFwUFeMM1ML_Jal5N_d7-EDU793WMykgx4' - - -# Device Specific Thread Topic Variables - **User Adaptable** -export RTWO_THREAD_ID='95794' - - -# if the first argument is "-h" for help. -# display the usage information -if [ "$1" == "-h" ]; then - echo "Usage: `basename $0` \"text message\"" - exit 0 -fi - -# Warn if the first argument is empty. -if [ -z "$1" ]; then - echo "Add message text as the second argument" - exit 0 -fi - -# Warn if more than one argument is passed to the script. -if [ "$#" -ne 1 ]; then - echo "You can pass only one argument. For string with spaces, put it on quotes" - exit 0 -fi - -# send a POST request to Telegram's API -# The '-s' = "silent" mode -# redirect outputs to /dev/null -curl -s --data "text=$1" --data "chat_id=$CHANNEL_ID" --data "message_thread_id=$RTWO_THREAD_ID" 'https://api.telegram.org/bot'$BOT_TOKEN'/sendMessage' > /dev/null. follow instructions to create bot and get token to access the HTTP API.