From 6a01e4a04e6e2ca7432d55e9fd976ca1043cc63e Mon Sep 17 00:00:00 2001 From: PizzaG Date: Wed, 22 Nov 2023 06:10:47 -0600 Subject: [PATCH] major code overhaul, code cleanup, bug fixes, feature additions, QOL additions --- Moto-Common-Setup.sh | 369 ++++++++++++++++-- README.md | 4 +- .../motorola/A-Team/Final_Zip/A-Team/ToDo.txt | 3 + 3 files changed, 352 insertions(+), 24 deletions(-) create mode 100644 device/motorola/A-Team/Final_Zip/A-Team/ToDo.txt diff --git a/Moto-Common-Setup.sh b/Moto-Common-Setup.sh index 08fccef..4807c64 100755 --- a/Moto-Common-Setup.sh +++ b/Moto-Common-Setup.sh @@ -1,5 +1,11 @@ #!/bin/bash +# +# Copyright 2019-Present A-Team Digital Solutions +# +# A-Team Moto-Common Setup Helper Script +# + # Date date=$(date -u +%m%d%Y) @@ -7,75 +13,230 @@ date=$(date -u +%m%d%Y) echo -ne "\033]0;$(basename $(dirname ${PWD}))\007" # Copyright & Current Date Stamp -echo "(C) 2019-Present A-Team Digital Solutions" +echo "Copyright 2019-Present A-Team Digital Solutions" echo " $date" +echo "" +sleep 10 +clear + +# Software Info +echo "A-Team Moto-Common Setup Script" +echo "" +echo "" +echo "Setup Version: 0.02" +echo "Setup Update: 11-22-2023" echo "" echo "" -echo "Setup Version: 0.01" -echo "Setup Update: 11-21-2023" +echo "Current Date: $date" echo "" echo "" sleep 10 -# Check If Rom Uses Changelog & Hijack If So For Custom Changelogs +# Ensure Final Package Directory Location Exists +echo "Creating Final Rom Directory Location..." +echo "" +echo "1/1..." +echo "" +mkdir $FINAL_ROM_LOCATION >/dev/null 2>&1 +echo "Final Rom Location: $FINAL_ROM_LOCATION/YOUR_DEVICE_CODENAME" +echo "" +sleep 5 + +# Check If Rom Uses Changelog & Hijack It If So For Custom Changelogs if [ -f vendor/$ROM_BUILD_NAME/tools/changelog ]; then echo "Rom changelog Found, Hijacking For Custom Changelog Ability..." + echo "" # Backup Original + echo "Backing Up Original changelog..." + echo "" + echo "1/1..." + echo "" mv vendor/$ROM_BUILD_NAME/tools/changelog vendor/$ROM_BUILD_NAME/tools/changelog.bak + sleep 5 # Copy Modded + echo "Copying Modified changelog..." + echo "" + echo "1/1..." + echo "" cp -r $A_TEAM_PACKAGE_LOCATION/Changelog/changelog vendor/$ROM_BUILD_NAME/tools + sleep 5 # Copy Changelog Template Files + echo "Copying Device Specific Changelog Templates..." + echo "" + echo "1/6..." + echo "" cp -r $A_TEAM_PACKAGE_LOCATION/Changelog/Changelog.txt.Amogus Changelog.txt.Amogus + sleep 5 + echo "2/6..." + echo "" cp -r $A_TEAM_PACKAGE_LOCATION/Changelog/Changelog.txt.Borneo Changelog.txt.Borneo + sleep 5 + echo "3/6..." + echo "" cp -r $A_TEAM_PACKAGE_LOCATION/Changelog/Changelog.txt.Guamna Changelog.txt.Guamna + sleep 5 + echo "4/6..." + echo "" cp -r $A_TEAM_PACKAGE_LOCATION/Changelog/Changelog.txt.Milanf Changelog.txt.Milanf + sleep 5 + echo "5/6..." + echo "" cp -r $A_TEAM_PACKAGE_LOCATION/Changelog/Changelog.txt.Osaka Changelog.txt.Osaka - cp -r $A_TEAM_PACKAGE_LOCATION/Changelog/Changelog.txt.Rhodep Changelog.txt.Rhodep + sleep 5 + echo "6/6..." echo "" + cp -r $A_TEAM_PACKAGE_LOCATION/Changelog/Changelog.txt.Rhodep Changelog.txt.Rhodep sleep 5 elif [ -f vendor/$ROM_BUILD_NAME/tools/changelog.sh ]; then echo "Rom changelog.sh Found, Hijacking For Custom Changelog Ability..." + echo "" # Backup Original + echo "Backing Up Original changelog.sh..." + echo "" + echo "1/1..." + echo "" mv vendor/$ROM_BUILD_NAME/tools/changelog.sh vendor/$ROM_BUILD_NAME/tools/changelog.sh.bak + sleep 5 # Copy Modded + echo "Copying Modified changelog.sh..." + echo "" + echo "1/1..." + echo "" cp -r $A_TEAM_PACKAGE_LOCATION/Changelog/changelog.sh vendor/$ROM_BUILD_NAME/tools + sleep 5 # Copy Changelog Template Files + echo "Copying Device Specific Changelog Templates..." + echo "" + echo "1/6..." + echo "" cp -r $A_TEAM_PACKAGE_LOCATION/Changelog/Changelog.txt.Amogus Changelog.txt.Amogus + sleep 5 + echo "2/6..." + echo "" cp -r $A_TEAM_PACKAGE_LOCATION/Changelog/Changelog.txt.Borneo Changelog.txt.Borneo + sleep 5 + echo "3/6..." + echo "" cp -r $A_TEAM_PACKAGE_LOCATION/Changelog/Changelog.txt.Guamna Changelog.txt.Guamna + sleep 5 + echo "4/6..." + echo "" cp -r $A_TEAM_PACKAGE_LOCATION/Changelog/Changelog.txt.Milanf Changelog.txt.Milanf + sleep 5 + echo "5/6..." + echo "" cp -r $A_TEAM_PACKAGE_LOCATION/Changelog/Changelog.txt.Osaka Changelog.txt.Osaka - cp -r $A_TEAM_PACKAGE_LOCATION/Changelog/Changelog.txt.Rhodep Changelog.txt.Rhodep + sleep 5 + echo "6/6..." echo "" + cp -r $A_TEAM_PACKAGE_LOCATION/Changelog/Changelog.txt.Rhodep Changelog.txt.Rhodep sleep 5 fi # General Moto-Common Setup +echo "Copying A-Team Rom Addon Package To Device Tree..." +echo "" +echo "1/1..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/device/motorola/A-Team device/motorola +sleep 5 ## Patch CommonConfig.mk +echo "Patching CommonConfig.mk..." +echo "" +echo "1/1..." +echo "" sed -i '/BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true/ a BUILD_BROKEN_DUP_RULES := true' device/motorola/common/CommonConfig.mk +sleep 5 ## Patch common.mk +echo "Patching common.mk..." +echo "" +echo "1/1..." +echo "" sed -i '/# limitations under the License./ a\\ \nA_TEAM_PATH := device/motorola/A-Team\n\n# A-Team Custom Installer / Mods\nifeq ($(CUSTOM_INSTALLER), true)\n$(call inherit-product, $(A_TEAM_PATH)/A-Team.mk)\nPRODUCT_SOONG_NAMESPACES += \\\n [A-Team_Installer]\nendif' device/motorola/targets/include/common.mk -# Patch Vendor Android.mk For Custom APN Selection +sleep 5 +# Patch Vendor Android.mk For Custom APN Selection +echo "Patching Android.mk..." +echo "" +echo "1/2..." +echo "" sed -i 's\DEFAULT_APNS_FILE := vendor/'$ROM_BUILD_NAME'/prebuilt/common/etc/apns-conf.xml\# Custom APN Mechanism\g' vendor/$ROM_BUILD_NAME/prebuilt/common/Android.mk -sed -i '/# Custom APN Mechanism/ a \nifeq ($(CUSTOM_APN), true)\n\nDEFAULT_APNS_FILE := device/motorola/A-Team/Custom_APN/apns-conf.xml\nelse\nDEFAULT_APNS_FILE := vendor/$(ROM_BUILD_NAME)/prebuilt/common/etc/apns-conf.xml\nendif' vendor/$ROM_BUILD_NAME/prebuilt/common/Android.mk +sleep 5 +echo "2/2..." +echo "" +sed -i '/# Custom APN Mechanism/ a ifeq ($(CUSTOM_APN), true)\nDEFAULT_APNS_FILE := device/motorola/A-Team/Custom_APN/apns-conf.xml\nelse\nDEFAULT_APNS_FILE := vendor/$(ROM_BUILD_NAME)/prebuilt/common/etc/apns-conf.xml\nendif' vendor/$ROM_BUILD_NAME/prebuilt/common/Android.mk +sleep 5 +echo "Copying & Setting Up Modified Common Device Tree Files..." +echo "" +echo "1/7..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/device/motorola/sm4250-common device/motorola +sleep 5 +echo "2/7..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/device/motorola/sm4350-common device/motorola +sleep 5 +echo "3/7..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/device/motorola/sm6150-common device/motorola +sleep 5 +echo "4/7..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/device/motorola/targets/include/kernel/source.mk device/motorola/targets/include/kernel +sleep 5 +echo "5/7..." +echo "" rm -rf device/motorola/targets/scripts +sleep 5 +echo "6/7..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/device/motorola/targets/scripts device/motorola/targets +sleep 5 +echo "7/7..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/device/motorola/targets/Update_Rom_Symlinks.sh device/motorola/targets +sleep 5 + +# A-Team Internal System/Vendor Version Mismatch Error Patch Check +echo "Checking If Rom Needs Internal System/Vendor Version Mismatch Error Patch..." +echo "" +if [ -f frameworks/base/core/java/android/os/Build.java.orig ]; then + echo "A-Team Patch 1 Already Applied, Skipping..." + echo "" + sleep 5 +elif [ -f frameworks/base/core/java/android/os/Build.java.rej ]; then + echo "A-Team Patch 1 Already Applied, Skipping..." + echo "" + sleep 5 +else + echo "Rom Needs Internal System/Vendor Version Mismatch Error Patch, Patching..." + echo "" + echo "1/1..." + echo "" + patch -u -b frameworks/base/core/java/android/os/Build.java -i device/$DT_MANUFACTURER/A-Team/Build.java.patch + sleep 5 + echo "" +fi # Check If Rom .mk File Exists, Copy If So & Then Run Symlink Script if [ -f $A_TEAM_PACKAGE_LOCATION/device/$DT_MANUFACTURER/targets/rom/$ROM_BUILD_NAME.mk ]; then - echo "Rom .mk File Found, Copying To Location & Running Symlink Patch..." + echo "Checking If Rom .mk File Exists..." + echo "" + sleep 5 + echo "Rom .mk File Found👍..." + echo "" + sleep 5 # Copy Rom .mk File + echo "Copying Rom .mk File To Location..." + echo "1/3..." + echo "" cp -r $A_TEAM_PACKAGE_LOCATION/device/$DT_MANUFACTURER/targets/rom/$ROM_BUILD_NAME.mk device/$DT_MANUFACTURER/targets/rom + sleep 5 #################### - echo "" echo "Updating Rom Symlinks..." echo "" + echo "2/2..." + echo "" + sleep 5 ROM_DIR="device/motorola/targets/rom" DEVICE_DIR="device/motorola/targets/devices" @@ -88,16 +249,14 @@ if [ -f $A_TEAM_PACKAGE_LOCATION/device/$DT_MANUFACTURER/targets/rom/$ROM_BUILD_ echo "Rom Symlinks Updated & Rom Added =)" echo "" - echo "" - sleep 10 - clear + sleep 5 #################### else - echo "Rom .mk File Not Found, You Will Need To Create & Run Symlink Patch..." + echo "Rom .mk File Not Found" + echo "You Will Need To Create It Manually" + echo "Then Run Update_Rom_Symlinks.sh Patch In Targets Folder" echo "" - echo "" - sleep 10 - clear + sleep 5 fi @@ -105,22 +264,62 @@ fi ########################################################################################################## # Move Files To Location +echo "Copying Amogus Files Into Device Tree..." +echo "" +echo "1/2..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/device/motorola/amogus/rootdir device/motorola/amogus +sleep 5 +echo "2/2..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/device/motorola/amogus/rro_overlays device/motorola/amogus +sleep 5 # Patch BoardConfig.mk -sed -i 's/BOARD_EROFS_PCLUSTER_SIZE := 262144/#BOARD_EROFS_PCLUSTER_SIZE := 262144/g' device/motorola/amogus/device.mk -sed -i 's/BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := erofs/BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := ext4/g' device/motorola/amogus/device.mk -sed -i 's/BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := erofs/BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4/g' device/motorola/amogus/device.mk -sed -i 's/ BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := erofs/ BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4/g' device/motorola/amogus/device.mk +echo "Patching Amogus BoardConfig.mk In Device Tree..." +echo "" +echo "1/4..." +echo "" +sed -i 's/BOARD_EROFS_PCLUSTER_SIZE := 262144/#BOARD_EROFS_PCLUSTER_SIZE := 262144/g' device/motorola/amogus/BoardConfig.mk +sleep 5 +echo "2/4..." +echo "" +sed -i 's/BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := erofs/BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE := ext4/g' device/motorola/amogus/BoardConfig.mk +sleep 5 +echo "3/4..." +echo "" +sed -i 's/BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := erofs/BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4/g' device/motorola/amogus/BoardConfig.mk +sleep 5 +echo "4/4..." +echo "" +sed -i 's/ BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := erofs/ BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4/g' device/motorola/amogus/BoardConfig.mk +sleep 5 # Patch device.mk +echo "Patching Amogus device.mk In Device Tree..." +echo "" +echo "1/2..." +echo "" sed -i 's/PRODUCT_MODEL := moto g(8) family/PRODUCT_MODEL := Moto G8 Family/g' device/motorola/amogus/device.mk +sleep 5 +echo "2/2..." +echo "" sed -i '/ amogus_folders/ a\\ \n# Disable Adaptive Brightness\nPRODUCT_PACKAGES += amogusSettingsProviderOverlay' device/motorola/amogus/device.mk +sleep 5 # Backup & Copy amogus_defconfig File +echo "Backing Up Original amogus_defconfig In Device Tree..." +echo "" +echo "1/1..." +echo "" mv kernel/motorola/msm-4.14/arch/arm64/configs/vendor/amogus_defconfig kernel/motorola/msm-4.14/arch/arm64/configs/vendor/amogus_defconfig.bak +sleep 5 +echo "Copying Modified amogus_defconfig Into Device Tree..." +echo "" +echo "1/1..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/kernel/motorola/msm-4.14/arch/arm64/configs/vendor/amogus_defconfig kernel/motorola/msm-4.14/arch/arm64/configs/vendor +sleep 5 @@ -128,15 +327,38 @@ cp -r $A_TEAM_PACKAGE_LOCATION/kernel/motorola/msm-4.14/arch/arm64/configs/vendo ########################################################################################################## # Move Files To Location +echo "Copying Borneo Files Into Device Tree..." +echo "" +echo "1/1..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/device/motorola/borneo/rro_overlays device/motorola/borneo +sleep 5 # Patch device.mk +echo "Patching Borneo device.mk In Device Tree..." +echo "" +echo "1/2..." +echo "" sed -i 's\PRODUCT_MODEL := moto g power 2021\PRODUCT_MODEL := Moto G Power 2021 / G9 Power\g' device/motorola/borneo/device.mk +sleep 5 +echo "2/2..." +echo "" sed -i '/ ro.sf.lcd_density=280/ a\\ \n# Disable Adaptive Brightness\nPRODUCT_PACKAGES += borneoSettingsProviderOverlay' device/motorola/borneo/device.mk +sleep 5 # Backup & Copy borneo_defconfig File +echo "Backing Up Original orneo_defconfig In Device Tree..." +echo "" +echo "1/1..." +echo "" mv kernel/motorola/msm-4.19-borneo/arch/arm64/configs/vendor/borneo_defconfig kernel/motorola/msm-4.19-borneo/arch/arm64/configs/vendor/borneo_defconfig.bak +sleep 5 +echo "Copying Modified borneo_defconfig Into Device Tree..." +echo "" +echo "1/1..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/kernel/motorola/msm-4.19-borneo/arch/arm64/configs/vendor/borneo_defconfig kernel/motorola/msm-4.19-borneo/arch/arm64/configs/vendor +sleep 5 @@ -144,15 +366,38 @@ cp -r $A_TEAM_PACKAGE_LOCATION/kernel/motorola/msm-4.19-borneo/arch/arm64/config ########################################################################################################## # Move Files To Location +echo "Copying Guamna Files Into Device Tree..." +echo "" +echo "1/1..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/device/motorola/guamna/rro_overlays device/motorola/guamna +sleep 5 # Patch device.mk +echo "Patching Guamna device.mk In Device Tree..." +echo "" +echo "1/2..." +echo "" sed -i 's\PRODUCT_MODEL := moto g play 2021\PRODUCT_MODEL := Moto G Play 2021 / G9 / G9 Play\g' device/motorola/guamna/device.mk +sleep 5 +echo "2/2..." +echo "" sed -i '/ com.qti.sensormodule.mot_guam_s5k3l6_ofilm.bin/ a\\ \n# Disable Adaptive Brightness\nPRODUCT_PACKAGES += guamnaSettingsProviderOverlay' device/motorola/guamna/device.mk +sleep 5 # Backup & Copy guamna_defconfig File +echo "Backing Up Original guamna_defconfig In Device Tree..." +echo "" +echo "1/1..." +echo "" mv kernel/motorola/msm-4.19/arch/arm64/configs/vendor/guamna_defconfig kernel/motorola/msm-4.19/arch/arm64/configs/vendor/guamna_defconfig.bak +sleep 5 +echo "Copying Modified guamna_defconfig Into Device Tree..." +echo "" +echo "1/1..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/kernel/motorola/msm-4.19/arch/arm64/configs/vendor/guamna_defconfig kernel/motorola/msm-4.19/arch/arm64/configs/vendor +sleep 5 @@ -160,15 +405,38 @@ cp -r $A_TEAM_PACKAGE_LOCATION/kernel/motorola/msm-4.19/arch/arm64/configs/vendo ########################################################################################################## # Move Files To Location +echo "Copying Milanf Files Into Device Tree..." +echo "" +echo "1/1..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/device/motorola/milanf/rro_overlays device/motorola/milanf +sleep 5 # Patch device.mk +echo "Patching Milanf device.mk In Device Tree..." +echo "" +echo "1/2..." +echo "" sed -i 's/PRODUCT_MODEL := moto g stylus 5g 2022/PRODUCT_MODEL := Moto G Stylus 5G 2022/g' device/motorola/milanf/device.mk -sed -i '/DEVICE_PATH := device/motorola/milanf/rootdir/ a\\ \n# Disable Adaptive Brightness\nPRODUCT_PACKAGES += milanfSettingsProviderOverlay' device/motorola/milanf/device.mk +sleep 5 +echo "2/2..." +echo "" +sed -i '\DEVICE_PATH := device/motorola/milanf/rootdir\ a\\ \n# Disable Adaptive Brightness\nPRODUCT_PACKAGES += milanfSettingsProviderOverlay' device/motorola/milanf/device.mk +sleep 5 # Backup & Copy milanf_defconfig File +echo "Backing Up Original milanf_defconfig In Device Tree..." +echo "" +echo "1/1..." +echo "" mv kernel/motorola/msm-5.4/arch/arm64/configs/vendor/milanf_defconfig kernel/motorola/msm-5.4/arch/arm64/configs/vendor/milanf_defconfig.bak +sleep 5 +echo "Copying Modified milanf_defconfig Into Device Tree..." +echo "" +echo "1/1..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/kernel/motorola/msm-5.4/arch/arm64/configs/vendor/milanf_defconfig kernel/motorola/msm-5.4/arch/arm64/configs/vendor +sleep 5 @@ -176,27 +444,84 @@ cp -r $A_TEAM_PACKAGE_LOCATION/kernel/motorola/msm-5.4/arch/arm64/configs/vendor ########################################################################################################## # Move Files To Location +echo "Copying Osaka Files Into Device Tree..." +echo "" +echo "1/1..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/device/motorola/osaka/rro_overlays device/motorola/osaka +sleep 5 # Patch device.mk +echo "Patching Osaka device.mk In Device Tree..." +echo "" +echo "1/2..." +echo "" sed -i 's/PRODUCT_MODEL := moto g stylus 5g 2021/PRODUCT_MODEL := Moto G Stylus 5G 2021/g' device/motorola/osaka/device.mk +sleep 5 +echo "2/2..." +echo "" sed -i '/ ro.sf.lcd_density=420/ a\\ \n# Disable Adaptive Brightness\nPRODUCT_PACKAGES += osakaSettingsProviderOverlay' device/motorola/osaka/device.mk +sleep 5 # Backup & Copy osaka_defconfig File +echo "Backing Up Original osaka_defconfig In Device Tree..." +echo "" +echo "1/1..." +echo "" mv kernel/motorola/msm-5.4/arch/arm64/configs/vendor/osaka_defconfig kernel/motorola/msm-5.4/arch/arm64/configs/vendor/osaka_defconfig.bak +sleep 5 +echo "Copying Modified osaka_defconfig Into Device Tree..." +echo "" +echo "1/1..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/kernel/motorola/msm-5.4/arch/arm64/configs/vendor/osaka_defconfig kernel/motorola/msm-5.4/arch/arm64/configs/vendor +sleep 5 # Rhodep Setup ########################################################################################################## # Move Files To Location +echo "Copying Rhodep Files Into Device Tree..." +echo "" +echo "1/1..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/device/motorola/rhodep/rro_overlays device/motorola/rhodep +sleep 5 # Patch device.mk +echo "Patching Rhodep device.mk In Device Tree..." +echo "" +echo "1/2..." +echo "" sed -i 's/PRODUCT_MODEL := moto g(82)/PRODUCT_MODEL := Moto G82 5G/g' device/motorola/rhodep/device.mk +sleep 5 +echo "2/2..." +echo "" sed -i '/DEVICE_CHARACTERISTICS += hfr/ a\\ \n# Disable Adaptive Brightness\nPRODUCT_PACKAGES += rhodepSettingsProviderOverlay' device/motorola/rhodep/device.mk +sleep 5 # Backup & Copy rhodep_defconfig File +echo "Backing Up Original rhodep_defconfig In Device Tree..." +echo "" +echo "1/1..." +echo "" mv kernel/motorola/msm-5.4/arch/arm64/configs/vendor/rhodep_defconfig kernel/motorola/msm-5.4/arch/arm64/configs/vendor/rhodep_defconfig.bak >/dev/null 2>&1 +sleep 5 +echo "Copying Modified rhodep_defconfig Into Device Tree..." +echo "" +echo "1/1..." +echo "" cp -r $A_TEAM_PACKAGE_LOCATION/kernel/motorola/msm-5.4/arch/arm64/configs/vendor/rhodep_defconfig kernel/motorola/msm-5.4/arch/arm64/configs/vendor +sleep 5 + + +########################################################################################################## + +echo "A-Team Moto-Common Setup Complete, Please Enjoy!!" +echo "" +sleep 5 +echo "PRESS ENTER TO CONTINUE" +read +clear +./Moto-Common-Build.sh diff --git a/README.md b/README.md index b691040..40cf471 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ A-Team-Addon_Package -This is the A-Team Addon package for Moto-Common device repository located here https://github.com/moto-common +This is the A-Team Addon Package for Moto-Common device repository located here--> https://github.com/moto-common Partially Supported Moto-Common Devices -All Devices -Fully Supported Moto-Common Devices -Amogus -Borneo -Guamna -Milanf -Osaka +Fully Supported Moto-Common Devices -Amogus -Borneo -Guamna -Milanf -Osaka -Rhodep The Main Build Menu which will grab this Package for you is located in the Releases section of this github page diff --git a/device/motorola/A-Team/Final_Zip/A-Team/ToDo.txt b/device/motorola/A-Team/Final_Zip/A-Team/ToDo.txt new file mode 100644 index 0000000..eecb87a --- /dev/null +++ b/device/motorola/A-Team/Final_Zip/A-Team/ToDo.txt @@ -0,0 +1,3 @@ +-Add ADB-Fastboot-Linux_Installer.exe +-Add ADB-Fastboot-Linux_Installer +