fixup and slim down
This commit is contained in:
parent
9362135cb3
commit
1d907fa42b
12 changed files with 218 additions and 6 deletions
11
A-Team.mk
11
A-Team.mk
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
LOCAL_PATH := $(call my-dir)
|
||||
|
||||
A_TEAM_PATH := vendor/A-Team
|
||||
A_TEAM_PATH := device/A-Team
|
||||
|
||||
# BootAnimation Resolution
|
||||
TARGET_BOOT_ANIMATION_RES := 1080
|
||||
|
|
@ -22,9 +22,12 @@ PRODUCT_SOONG_NAMESPACES += \
|
|||
[A-Team_KSU]
|
||||
|
||||
# A-Team Custom APN
|
||||
ifeq ($(CUSTOM_APN), Custom)
|
||||
ifeq ($(APN_VARIABLE), Custom)
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
[A-Team_APN]
|
||||
[A-Team_Custom_APN]
|
||||
else
|
||||
PRODUCT_SOONG_NAMESPACES += \
|
||||
[Default_APN]
|
||||
endif
|
||||
|
||||
# A-Team Rom Apps
|
||||
|
|
@ -116,7 +119,7 @@ PRODUCT_COPY_FILES += \
|
|||
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \
|
||||
persist.adb.notify=0 \
|
||||
persist.sys.disable_rescue=true \
|
||||
ro.a-team.rom_version=$(A_TEAM_ROM_VERSION)
|
||||
ro.a-team.rom_version=$(INTERNAL_VERSION)
|
||||
##################################################################
|
||||
|
||||
|
||||
|
|
|
|||
Binary file not shown.
7
Changelog/Changelog.txt.Avatrn
Normal file
7
Changelog/Changelog.txt.Avatrn
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#####################
|
||||
|
||||
A-Team Custom ChangeLog
|
||||
|
||||
#####################
|
||||
|
||||
🍬 April-22-2025 - v0.01 🍬: Initial Android 15 Release...
|
||||
7
Changelog/Changelog.txt.Fogos
Normal file
7
Changelog/Changelog.txt.Fogos
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#####################
|
||||
|
||||
A-Team Custom ChangeLog
|
||||
|
||||
#####################
|
||||
|
||||
🍬 April-22-2025 - v0.01 🍬: Initial Android 15 Release...
|
||||
7
Changelog/Changelog.txt.Mona
Normal file
7
Changelog/Changelog.txt.Mona
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
#####################
|
||||
|
||||
A-Team Custom ChangeLog
|
||||
|
||||
#####################
|
||||
|
||||
🍬 April-22-2025 - v0.01 🍬: Initial Android 15 Release...
|
||||
|
|
@ -16,8 +16,8 @@ LOCAL_MODULE := apns-conf.xml
|
|||
LOCAL_MODULE_CLASS := ETC
|
||||
|
||||
# Custom APN Mechanism
|
||||
ifeq ($(CUSTOM_APN), Custom)
|
||||
DEFAULT_APNS_FILE := vendor/A-Team/Custom_APN/apns-conf.xml
|
||||
ifeq ($(APN_VARIANT), Custom)
|
||||
DEFAULT_APNS_FILE := device/A-Team/Custom_APN/apns-conf.xml
|
||||
else
|
||||
DEFAULT_APNS_FILE := vendor/$(ROM_VENDOR_NAME)/prebuilt/common/etc/apns-conf.xml
|
||||
endif
|
||||
|
|
|
|||
45
Telegram_Bots/Telegram_Bot-Avatrn.sh
Executable file
45
Telegram_Bots/Telegram_Bot-Avatrn.sh
Executable file
|
|
@ -0,0 +1,45 @@
|
|||
#!/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.
|
||||
45
Telegram_Bots/Telegram_Bot-Fogos.sh
Executable file
45
Telegram_Bots/Telegram_Bot-Fogos.sh
Executable file
|
|
@ -0,0 +1,45 @@
|
|||
#!/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.
|
||||
45
Telegram_Bots/Telegram_Bot-Mona.sh
Executable file
45
Telegram_Bots/Telegram_Bot-Mona.sh
Executable file
|
|
@ -0,0 +1,45 @@
|
|||
#!/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.
|
||||
4
device/mona/rro_overlays/SettingsProvider/Android.bp
Normal file
4
device/mona/rro_overlays/SettingsProvider/Android.bp
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
runtime_resource_overlay {
|
||||
name: "MonaSettingsProviderOverlay",
|
||||
vendor: true,
|
||||
}
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 2023, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="com.android.providers.settings.mona">
|
||||
|
||||
<overlay
|
||||
android:isStatic="true"
|
||||
android:priority="800"
|
||||
android:targetPackage="com.android.providers.settings" />
|
||||
</manifest>
|
||||
|
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
** Copyright 2021, The OmniROM Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<!-- Set the automatic brightness mode off by default -->
|
||||
<bool name="def_screen_brightness_automatic_mode">false</bool>
|
||||
</resources>
|
||||
Loading…
Reference in a new issue