├── .github └── workflows │ ├── 360T7-hanwckf-mini.yml │ ├── 360T7-padavanonly-mini.yml │ ├── update-checker-hanwckf.yml │ └── update-checker-padavanonly.yml ├── LICENSE ├── README.md └── doc ├── backup ├── 360T7-hanwckf-mini-toolchain.yml ├── 360T7-hanwckf.config ├── 360T7-hanwckf.yml ├── 360T7-immortalwrt-mini.config ├── 360T7-immortalwrt.config ├── 360T7-padavanonly-mini.yml ├── 360T7-padavanonly.yml ├── All.yml ├── MTK │ └── MT7981.config ├── Remove.yml ├── Test.yml ├── diy-360T7-immortalwrt-1.sh └── diy-360T7-immortalwrt-2.sh ├── config ├── 360T7-hanwckf-mini.config ├── 360T7-padavanonly-mini.config └── ua2f.config ├── diy ├── diy-360T7-hanwckf-1.sh ├── diy-360T7-hanwckf-2.sh └── diy-360T7-padavanonly-2.sh └── img ├── example1.png ├── example2.png ├── example3.png ├── example4.png ├── example5.png ├── example6.png ├── example7.png └── openwrt.png /.github/workflows/360T7-hanwckf-mini.yml: -------------------------------------------------------------------------------- 1 | name: 360T7-hanwckf-mini 2 | 3 | on: 4 | repository_dispatch: 5 | workflow_dispatch: 6 | inputs: 7 | clean: 8 | description: 'clean ccache' 9 | default: 'false' 10 | 11 | #schedule: 12 | #- cron: 0 17 * * 1 13 | 14 | env: 15 | REPO_URL: https://github.com/hanwckf/immortalwrt-mt798x 16 | REPO_BRANCH: openwrt-21.02 17 | FEEDS_CONF: feeds.conf.default 18 | CONFIG_FILE: ./doc/config/360T7-hanwckf-mini.config 19 | DIY_P1_SH: ./doc/diy/diy-360T7-hanwckf-1.sh 20 | DIY_P2_SH: ./doc/diy/diy-360T7-hanwckf-2.sh 21 | TZ: Asia/Shanghai 22 | 23 | jobs: 24 | build: 25 | runs-on: ubuntu-22.04 26 | permissions: 27 | contents: write 28 | 29 | steps: 30 | - name: Checkout 31 | uses: actions/checkout@main 32 | 33 | - name: Prepare environment 34 | env: 35 | DEBIAN_FRONTEND: noninteractive 36 | run: | 37 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 38 | sudo bash -c 'bash <(curl -s https://build-scripts.immortalwrt.eu.org/init_build_environment.sh)' 39 | sudo timedatectl set-timezone "$TZ" 40 | sudo mkdir -p /workdir 41 | sudo chown $USER:$GROUPS /workdir 42 | 43 | - name: Clone source code 44 | working-directory: /workdir 45 | run: | 46 | df -hT $PWD 47 | git clone $REPO_URL -b $REPO_BRANCH openwrt 48 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 49 | 50 | - name: Cache 51 | uses: klever1988/cachewrtbuild@main 52 | with: 53 | ccache: 'true' 54 | mixkey: '360T7-hanwckf' 55 | toolchain: 'true' 56 | skip: 'true' 57 | clean: ${{github.event.inputs.clean}} 58 | prefix: ${{ github.workspace }}/openwrt 59 | 60 | - name: Load custom feeds 61 | run: | 62 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 63 | cat ./doc/config/ua2f.config >> openwrt/.config 64 | chmod +x $DIY_P1_SH 65 | cd openwrt 66 | $GITHUB_WORKSPACE/$DIY_P1_SH 67 | 68 | - name: Update feeds 69 | run: cd openwrt && ./scripts/feeds update -a 70 | 71 | - name: Install feeds 72 | run: cd openwrt && ./scripts/feeds install -a 73 | 74 | - name: Load custom configuration 75 | run: | 76 | [ -e files ] && mv files openwrt/files 77 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 78 | chmod +x $DIY_P2_SH 79 | cd openwrt 80 | $GITHUB_WORKSPACE/$DIY_P2_SH 81 | 82 | - name: Download package 83 | id: package 84 | run: | 85 | cd openwrt 86 | make defconfig 87 | make download -j8 88 | find dl -size -1024c -exec ls -l {} \; 89 | find dl -size -1024c -exec rm -f {} \; 90 | 91 | - name: Compile the firmware 92 | id: compile 93 | run: | 94 | cd openwrt 95 | echo -e "$(nproc) thread compile" 96 | make -j$(nproc) || make -j1 V=s 97 | echo "release_tag=360T7-hanwckf-OpenWrt-mini-$(date +%Y.%m.%d)" >> $GITHUB_ENV 98 | echo "release_name=360T7-hanwckf-OpenWrt-mini" >> $GITHUB_ENV 99 | echo "status=success" >> $GITHUB_OUTPUT 100 | 101 | - name: Check space usage 102 | if: (!cancelled()) 103 | run: df -hT 104 | 105 | - name: Upload firmware directory 106 | uses: actions/upload-artifact@main 107 | if: steps.compile.outputs.status == 'success' && !cancelled() 108 | with: 109 | name: ${{ env.release_tag }} 110 | path: openwrt/bin 111 | 112 | - name: Organize files 113 | id: organize 114 | if: steps.compile.outputs.status == 'success' && !cancelled() 115 | run: | 116 | tar -cvf openwrt/bin/targets/mediatek/mt7981/packages.tar openwrt/bin/packages 117 | cd openwrt/bin/targets/mediatek/mt7981 118 | rm -rf packages 119 | rm -rf feeds.buildinfo 120 | rm -rf sha256sums 121 | rm -rf version.buildinfo 122 | rm -rf *kernel.bin 123 | rm -rf *manifest 124 | mv *sysupgrade.bin 360T7-hanwckf-108M-mini-sysupgrade-$(date +%Y.%m.%d).bin 125 | mv *factory.bin 360T7-hanwckf-108M-mini-factory-$(date +%Y.%m.%d).bin 126 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 127 | echo "status=success" >> $GITHUB_OUTPUT 128 | 129 | - name: Upload firmware to release 130 | uses: softprops/action-gh-release@v1 131 | if: steps.organize.outputs.status == 'success' && !cancelled() 132 | with: 133 | name: ${{ env.release_name }} 134 | tag_name: ${{ env.release_tag }} 135 | body: | 136 | Gateway:192.168.50.1 137 | Password:password 138 | Application:mwan3,ramfree,ua2f 139 | files: ${{ env.FIRMWARE }}/* 140 | 141 | - name: Delete older releases 142 | uses: dev-drprasad/delete-older-releases@v0.2.1 143 | with: 144 | keep_latest: 3 145 | delete_tags: true 146 | env: 147 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 148 | -------------------------------------------------------------------------------- /.github/workflows/360T7-padavanonly-mini.yml: -------------------------------------------------------------------------------- 1 | name: 360T7-padavanonly-mini 2 | 3 | on: 4 | repository_dispatch: 5 | workflow_dispatch: 6 | inputs: 7 | clean: 8 | description: 'clean ccache' 9 | default: 'false' 10 | 11 | #schedule: 12 | #- cron: 0 17 * * 1 13 | 14 | env: 15 | REPO_URL: https://github.com/padavanonly/immortalwrtARM 16 | REPO_BRANCH: mt7981 17 | FEEDS_CONF: feeds.conf.default 18 | CONFIG_FILE: ./doc/config/360T7-padavanonly-mini.config 19 | DIY_P1_SH: ./doc/diy/diy-360T7-hanwckf-1.sh 20 | DIY_P2_SH: ./doc/diy/diy-360T7-padavanonly-2.sh 21 | TZ: Asia/Shanghai 22 | 23 | jobs: 24 | build: 25 | runs-on: ubuntu-22.04 26 | permissions: 27 | contents: write 28 | 29 | steps: 30 | - name: Checkout 31 | uses: actions/checkout@main 32 | 33 | - name: Prepare environment 34 | env: 35 | DEBIAN_FRONTEND: noninteractive 36 | run: | 37 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 38 | sudo bash -c 'bash <(curl -s https://build-scripts.immortalwrt.eu.org/init_build_environment.sh)' 39 | sudo timedatectl set-timezone "$TZ" 40 | sudo mkdir -p /workdir 41 | sudo chown $USER:$GROUPS /workdir 42 | 43 | - name: Clone source code 44 | working-directory: /workdir 45 | run: | 46 | df -hT $PWD 47 | git clone $REPO_URL -b $REPO_BRANCH openwrt 48 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 49 | 50 | - name: Cache 51 | uses: klever1988/cachewrtbuild@main 52 | with: 53 | ccache: 'true' 54 | mixkey: '360T7-padavanonly' 55 | toolchain: 'true' 56 | skip: 'true' 57 | clean: ${{github.event.inputs.clean}} 58 | prefix: ${{ github.workspace }}/openwrt 59 | 60 | - name: Load custom feeds 61 | run: | 62 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 63 | cat ./doc/config/ua2f.config >> openwrt/.config 64 | chmod +x $DIY_P1_SH 65 | cd openwrt 66 | $GITHUB_WORKSPACE/$DIY_P1_SH 67 | 68 | - name: Update feeds 69 | run: cd openwrt && ./scripts/feeds update -a 70 | 71 | - name: Install feeds 72 | run: cd openwrt && ./scripts/feeds install -a 73 | 74 | - name: Load custom configuration 75 | run: | 76 | [ -e files ] && mv files openwrt/files 77 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 78 | chmod +x $DIY_P2_SH 79 | cd openwrt 80 | $GITHUB_WORKSPACE/$DIY_P2_SH 81 | 82 | - name: Download package 83 | id: package 84 | run: | 85 | cd openwrt 86 | make defconfig 87 | make download -j8 88 | find dl -size -1024c -exec ls -l {} \; 89 | find dl -size -1024c -exec rm -f {} \; 90 | 91 | - name: Compile the firmware 92 | id: compile 93 | run: | 94 | cd openwrt 95 | echo -e "$(nproc) thread compile" 96 | make -j$(nproc) || make -j1 V=s 97 | echo "release_tag=360T7-padavanonly-OpenWrt-mini-$(date +%Y.%m.%d)" >> $GITHUB_ENV 98 | echo "release_name=360T7-padavanonly-OpenWrt-mini" >> $GITHUB_ENV 99 | echo "status=success" >> $GITHUB_OUTPUT 100 | 101 | - name: Check space usage 102 | if: (!cancelled()) 103 | run: df -hT 104 | 105 | - name: Upload firmware directory 106 | uses: actions/upload-artifact@main 107 | if: steps.compile.outputs.status == 'success' && !cancelled() 108 | with: 109 | name: ${{ env.release_tag }} 110 | path: openwrt/bin 111 | 112 | - name: Organize files 113 | id: organize 114 | if: steps.compile.outputs.status == 'success' && !cancelled() 115 | run: | 116 | tar -cvf openwrt/bin/targets/mediatek/mt7981/packages.tar openwrt/bin/packages 117 | cd openwrt/bin/targets/mediatek/mt7981 118 | rm -rf packages 119 | rm -rf feeds.buildinfo 120 | rm -rf sha256sums 121 | rm -rf version.buildinfo 122 | rm -rf *kernel.bin 123 | rm -rf *manifest 124 | rm -rf *tar.bz2 125 | mv *sysupgrade.bin 360T7-padavanonly-108M-mini-sysupgrade-$(date +%Y.%m.%d).bin 126 | mv *factory.bin 360T7-padavanonly-108M-mini-factory-$(date +%Y.%m.%d).bin 127 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 128 | echo "status=success" >> $GITHUB_OUTPUT 129 | 130 | - name: Upload firmware to release 131 | uses: softprops/action-gh-release@v1 132 | if: steps.organize.outputs.status == 'success' && !cancelled() 133 | with: 134 | name: ${{ env.release_name }} 135 | tag_name: ${{ env.release_tag }} 136 | body: | 137 | Gateway:192.168.50.1 138 | Password:password 139 | Application:mwan3,ramfree,ua2f 140 | files: ${{ env.FIRMWARE }}/* 141 | 142 | - name: Delete older releases 143 | uses: dev-drprasad/delete-older-releases@v0.2.1 144 | with: 145 | keep_latest: 3 146 | delete_tags: true 147 | env: 148 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 149 | -------------------------------------------------------------------------------- /.github/workflows/update-checker-hanwckf.yml: -------------------------------------------------------------------------------- 1 | name: Update Checker hanwckf 2 | 3 | env: 4 | REPO_URL: https://github.com/hanwckf/immortalwrt-mt798x 5 | REPO_BRANCH: openwrt-21.02 6 | 7 | on: 8 | workflow_dispatch: 9 | # schedule: 10 | # - cron: 0 14 * * 2,4,6 11 | 12 | jobs: 13 | check: 14 | runs-on: ubuntu-22.04 15 | 16 | steps: 17 | 18 | - name: Get Commit Hash 19 | id: getHash 20 | run: | 21 | git clone --depth 1 $REPO_URL -b $REPO_BRANCH . 22 | git log --name-only >> text.txt 23 | echo "commitHash=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT 24 | 25 | - name: Compare Commit Hash 26 | id: cacheHash 27 | uses: actions/cache@v3 28 | with: 29 | path: .commitHash 30 | key: HEAD-hanwckf-${{ steps.getHash.outputs.commitHash }} 31 | 32 | - name: Save New Commit Hash 33 | if: steps.cacheHash.outputs.cache-hit != 'true' 34 | run: | 35 | echo ${{ steps.getHash.outputs.commitHash }} | tee .commitHash 36 | 37 | - name: Email notification 38 | uses: dawidd6/action-send-mail@master 39 | if: steps.cacheHash.outputs.cache-hit != 'true' && !cancelled() 40 | with: 41 | server_address: smtp.163.com 42 | server_port: 465 43 | username: ${{ secrets.MAILUSERNAME }} 44 | password: ${{ secrets.MAILPASSWORD }} 45 | subject: hanwckf update source code 46 | body: file://text.txt 47 | to: ${{ secrets.MAIL }} 48 | from: GitHub Actions For Checking Update 49 | content_type: text/html 50 | 51 | # - name: Trigger build 52 | # if: steps.cacheHash.outputs.cache-hit != 'true' 53 | # uses: peter-evans/repository-dispatch@v1 54 | # with: 55 | # token: ${{ secrets.ACTIONS_TRIGGER_PAT }} 56 | # event-type: Source Code Update 57 | 58 | - name: Delete workflow runs 59 | uses: FunctionXJB/delete-workflow-runs@main 60 | with: 61 | retain_days: 1 62 | keep_minimum_runs: 2 63 | -------------------------------------------------------------------------------- /.github/workflows/update-checker-padavanonly.yml: -------------------------------------------------------------------------------- 1 | name: Update Checker padavanonly 2 | 3 | env: 4 | REPO_URL: https://github.com/padavanonly/immortalwrtARM 5 | REPO_BRANCH: mt7981 6 | 7 | on: 8 | workflow_dispatch: 9 | # schedule: 10 | # - cron: 0 14 * * 2,4,6 11 | 12 | jobs: 13 | check: 14 | runs-on: ubuntu-22.04 15 | 16 | steps: 17 | 18 | - name: Get Commit Hash 19 | id: getHash 20 | run: | 21 | git clone --depth 1 $REPO_URL -b $REPO_BRANCH . 22 | git log --name-only >> text.txt 23 | echo "commitHash=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT 24 | 25 | - name: Compare Commit Hash 26 | id: cacheHash 27 | uses: actions/cache@v3 28 | with: 29 | path: .commitHash 30 | key: HEAD-padavanonly-${{ steps.getHash.outputs.commitHash }} 31 | 32 | - name: Save New Commit Hash 33 | if: steps.cacheHash.outputs.cache-hit != 'true' 34 | run: | 35 | echo ${{ steps.getHash.outputs.commitHash }} | tee .commitHash 36 | 37 | - name: Email notification 38 | uses: dawidd6/action-send-mail@master 39 | if: steps.cacheHash.outputs.cache-hit != 'true' && !cancelled() 40 | with: 41 | server_address: smtp.163.com 42 | server_port: 465 43 | username: ${{ secrets.MAILUSERNAME }} 44 | password: ${{ secrets.MAILPASSWORD }} 45 | subject: padavanonly update source code 46 | body: file://text.txt 47 | to: ${{ secrets.MAIL }} 48 | from: GitHub Actions For Checking Update 49 | content_type: text/html 50 | 51 | # - name: Trigger build 52 | # if: steps.cacheHash.outputs.cache-hit != 'true' 53 | # uses: peter-evans/repository-dispatch@v1 54 | # with: 55 | # token: ${{ secrets.ACTIONS_TRIGGER_PAT }} 56 | # event-type: Source Code Update 57 | 58 | - name: Delete workflow runs 59 | uses: FunctionXJB/delete-workflow-runs@main 60 | with: 61 | retain_days: 1 62 | keep_minimum_runs: 2 63 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2019-2020 P3TERX 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 |

6 | 7 | GitHub Actions For 360T7 OpenWrt 8 | 9 |

10 | 11 | [![GitHub Stars](https://img.shields.io/github/stars/hkk666/360T7?style=flat-square)](https://github.com/hkk666/360T7/stargazers) 12 | [![GitHub Forks](https://img.shields.io/github/forks/hkk666/360T7?style=flat-square)](https://github.com/hkk666/360T7/network) 13 | [![GitHub Issues](https://img.shields.io/github/issues/hkk666/360T7?style=flat-square)](https://github.com/hkk666/360T7/issues) 14 | [![GitHub Contributors](https://img.shields.io/github/contributors/hkk666/360T7?style=flat-square)](https://github.com/hkk666/360T7/graphs/contributors) 15 | [![GitHub All Releases](https://img.shields.io/github/downloads/hkk666/360T7/total?style=flat-square)](https://github.com/hkk666/360T7/releases) 16 | [![GitHub License](https://img.shields.io/github/license/hkk666/360T7?style=flat-square)](https://github.com/hkk666/360T7/blob/main/LICENSE) 17 | ![GitHub Release (latest SemVer)](https://img.shields.io/github/v/release/hkk666/360T7?style=flat-square) 18 | 19 |
20 | 21 | ![openwrt](doc/img/openwrt.png) 22 | 23 | ## 友情提醒 🤣 24 | 此仓库只是拉取源码进行编译,本人并不会修复相关问题! 25 | 26 | ## 目录介绍 📖 27 | 28 | ```tree 29 | 360T7 30 | ├── .github/workflows 31 | │ ├── 360T7-hanwckf-mini.yml 拉取 hanwckf 源码进行编译 32 | │ ├── 360T7-padavanonly-mini.yml 拉取 padavanonly 源码进行编译 33 | │ ├── update-checker.yml 定时检查源码的更新情况 34 | ├── doc 35 | │ ├── backup 旧文件备份 36 | │ ├── config 37 | │ │ ├── 360T7-hanwckf-mini.config 固件定制 38 | │ │ ├── 360T7-padavanonly-mini.config 固件定制 39 | │ │ ├── ua2f.config ua2f 依赖 40 | │ ├── diy 自定义脚本文件 41 | │ ├── img 图片存放处 42 | ├── LICENSE 43 | └── README.md 44 | ``` 45 | 46 | ## 食用教程 🛠 47 | 48 | ### 1、Fork本仓库 📌 49 | 右上角 `Fork` `star`可以给予鼓励。 50 | 51 | ### 2、仓库读写权限 🤔 52 | 53 | 前往Fork之后的仓库页面,按下图实例图示点击,更改读写权限。 54 | 55 | ![](doc/img/example7.png) 56 | 57 | ### 3、开始编译 🚀 58 | 59 | 前往Fork之后的仓库页面,按下图实例图示点击,等待编译结果即可。 60 | 61 | ![](doc/img/example4.png) 62 | 63 | ![](doc/img/example5.png) 64 | 65 | ## 特别鸣谢 🥰 66 | 67 | | [lean](https://github.com/coolsnowwolf/lede) | [天灵](https://github.com/1715173329) | [lorz](https://github.com/1orz/My-action) | [P3TERX](https://github.com/P3TERX/Actions-OpenWrt) | [Zxilly](https://github.com/Zxilly/UA2F) | [stupidloud](https://github.com/stupidloud/cachewrtbuild) | [hanwckf](https://github.com/hanwckf/immortalwrt-mt798x) | [padavanonly](https://github.com/padavanonly/immortalwrtARM/tree/mt7981) | 68 | | :----------------------------------------------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: | :----------------------------------------------------------: | 69 | | | | | | | | | | 70 | 71 | ## Star History 72 | 73 |
74 | 75 | [![Star History Chart](https://api.star-history.com/svg?repos=hkk666/360T7&type=Date)](https://star-history.com/#bytebase/star-history&Date) 76 | 77 |
78 | -------------------------------------------------------------------------------- /doc/backup/360T7-hanwckf-mini-toolchain.yml: -------------------------------------------------------------------------------- 1 | #================================================= 2 | # https://github.com/P3TERX/Actions-OpenWrt 3 | # Description: Build OpenWrt using GitHub Actions 4 | # Lisence: MIT 5 | # Author: P3TERX 6 | # Blog: https://p3terx.com 7 | #================================================= 8 | 9 | name: 360T7 Toolchain Build 10 | on: 11 | workflow_dispatch: 12 | # schedule: 13 | # - cron: 0 18 * * * 14 | # watch: 15 | # types: started 16 | 17 | env: 18 | REPO_URL: https://github.com/hanwckf/immortalwrt-mt798x 19 | REPO_BRANCH: openwrt-21.02 20 | TZ: Asia/Shanghai 21 | 22 | jobs: 23 | Build: 24 | runs-on: ubuntu-20.04 25 | strategy: 26 | fail-fast: false 27 | matrix: 28 | PLATFORM: [MTK/MT7981] 29 | 30 | steps: 31 | - name: Checkout 32 | uses: actions/checkout@main 33 | 34 | - name: Initialization Environment 35 | env: 36 | DEBIAN_FRONTEND: noninteractive 37 | run: | 38 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 39 | sudo -E apt-get -qq update 40 | sudo -E apt-get -qq install $(curl -fsSL git.io/depends-ubuntu-1804) 41 | sudo -E apt-get -qq autoremove --purge 42 | sudo -E apt-get -qq clean 43 | sudo ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime 44 | 45 | - name: Clone Source Code 46 | id: clone 47 | run: | 48 | df -hT $PWD 49 | git clone --depth 1 $REPO_URL -b $REPO_BRANCH openwrt 50 | export REPO_USER="$(echo $REPO_URL | awk -F '/' '{print $(NF-1)}')" 51 | echo "REPO_USER=$REPO_USER" >> $GITHUB_ENV 52 | export REPO_NAME="$(echo $REPO_URL | awk -F '/' '{print $(NF)}')" 53 | echo "REPO_NAME=$REPO_NAME" >> $GITHUB_ENV 54 | 55 | - name: Install Feeds 56 | id: feeds 57 | run: | 58 | cd openwrt 59 | echo "OPENWRTROOT=$PWD" >> $GITHUB_ENV 60 | ./scripts/feeds update -a 61 | ./scripts/feeds install -a 62 | 63 | - name: Download Packages 64 | env: 65 | PLATFORM: ${{ matrix.PLATFORM }} 66 | id: download 67 | run: | 68 | mv ./doc/config/$PLATFORM.config $OPENWRTROOT/.config 69 | cd $OPENWRTROOT 70 | make defconfig 71 | make download -j8 72 | find dl -size -1024c -exec ls -l {} \; 73 | find dl -size -1024c -exec rm -f {} \; 74 | 75 | - name: Compile Tools 76 | id: tools 77 | run: | 78 | cd $OPENWRTROOT 79 | echo -e "$(nproc) thread compile" 80 | make tools/compile -j$(nproc) || make tools/compile -j1 V=s 81 | 82 | - name: Compile Toolchain 83 | id: toolchain 84 | run: | 85 | cd $OPENWRTROOT 86 | echo -e "$(nproc) thread compile" 87 | make toolchain/compile -j$(nproc) || make toolchain/compile -j1 V=s 88 | make diffconfig 89 | cd $OPENWRTROOT/bin/targets/* 90 | TARGET=$(basename `pwd`) 91 | echo "TARGET=$TARGET" >> $GITHUB_ENV 92 | cd * 93 | rm * 94 | SUBTARGET=$(basename `pwd`) 95 | echo "SUBTARGET=$SUBTARGET" >> $GITHUB_ENV 96 | 97 | - name: Clean Files 98 | id: clean 99 | run: | 100 | cd $OPENWRTROOT 101 | make clean 102 | rm -rf tmp logs .config* dl 103 | ./scripts/feeds clean 104 | 105 | - name: Generate Toolchain Image 106 | id: generate 107 | run: | 108 | export FILE_NAME="toolchain-image-$REPO_USER-$REPO_NAME-$REPO_BRANCH-$TARGET-$SUBTARGET.img" 109 | mksquashfs openwrt $FILE_NAME -force-gid 1001 -force-uid 1001 -comp xz 110 | mkdir output 111 | mv $FILE_NAME output 112 | RELEASE_TAG="360T7-hanwckf-mini-toolchain-test" 113 | echo "RELEASE_TAG=$RELEASE_TAG" >> $GITHUB_OUTPUT 114 | df -hT $PWD 115 | echo "status=success" >> $GITHUB_OUTPUT 116 | 117 | - name: Upload Image To Release 118 | uses: softprops/action-gh-release@v1 119 | env: 120 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} 121 | with: 122 | tag_name: ${{ steps.generate.outputs.RELEASE_TAG }} 123 | files: output/* 124 | 125 | - name: '邮件通知' 126 | uses: dawidd6/action-send-mail@v3 127 | if: steps.generate.outputs.status == 'success' && !cancelled() 128 | with: 129 | server_address: smtp.163.com 130 | server_port: 465 131 | username: ${{ secrets.MAILUSERNAME }} 132 | password: ${{ secrets.MAILPASSWORD }} 133 | subject: 🎉360T7 Toolchain Build Success🎉 134 | body: 360 T7-hanwckf-mini-Toolchain 135 | to: ${{ secrets.MAIL }} 136 | from: GitHub Actions -------------------------------------------------------------------------------- /doc/backup/360T7-hanwckf.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2019-2020 P3TERX 3 | # 4 | # This is free software, licensed under the MIT License. 5 | # See /LICENSE for more information. 6 | # 7 | # https://github.com/P3TERX/Actions-OpenWrt 8 | # Description: Build OpenWrt using GitHub Actions 9 | # 10 | 11 | name: 360T7-hanwckf 12 | 13 | on: 14 | repository_dispatch: 15 | workflow_dispatch: 16 | inputs: 17 | ssh: 18 | description: 'SSH connection to Actions' 19 | required: false 20 | default: 'false' 21 | 22 | #定时触发开始编译 23 | #schedule: 24 | #- cron: 0 17 * * 1 25 | 26 | env: 27 | REPO_URL: https://github.com/hanwckf/immortalwrt-mt798x 28 | REPO_BRANCH: openwrt-21.02 29 | FEEDS_CONF: feeds.conf.default 30 | CONFIG_FILE: ./doc/config/360T7-hanwckf.config 31 | DIY_P1_SH: ./doc/diy/diy-360T7-hanwckf-1.sh 32 | DIY_P2_SH: ./doc/diy/diy-360T7-hanwckf-2.sh 33 | UPLOAD_BIN_DIR: false 34 | UPLOAD_FIRMWARE: true 35 | UPLOAD_RELEASE: true 36 | SCKEY: ${{ secrets.SCKEY }} 37 | TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }} 38 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 39 | TZ: Asia/Shanghai 40 | 41 | jobs: 42 | build: 43 | runs-on: ubuntu-22.04 44 | 45 | steps: 46 | - name: 检查 47 | uses: actions/checkout@main 48 | 49 | - name: 安装编译环境 50 | env: 51 | DEBIAN_FRONTEND: noninteractive 52 | run: | 53 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 54 | sudo bash -c 'bash <(curl -s https://build-scripts.immortalwrt.eu.org/init_build_environment.sh)' 55 | sudo timedatectl set-timezone "$TZ" 56 | sudo mkdir -p /workdir 57 | sudo chown $USER:$GROUPS /workdir 58 | 59 | - name: 下载源码 60 | working-directory: /workdir 61 | run: | 62 | df -hT $PWD 63 | git clone $REPO_URL -b $REPO_BRANCH openwrt 64 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 65 | 66 | - name: 缓存 67 | uses: klever1988/cachewrtbuild@main 68 | with: 69 | ccache: 'true' 70 | mixkey: '360T7' 71 | prefix: 'openwrt' 72 | 73 | - name: 加载软件源 74 | run: | 75 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 76 | chmod +x $DIY_P1_SH 77 | cd openwrt 78 | $GITHUB_WORKSPACE/$DIY_P1_SH 79 | 80 | - name: 更新软件源 81 | run: cd openwrt && ./scripts/feeds update -a 82 | 83 | - name: 安装软件源 84 | run: cd openwrt && ./scripts/feeds install -a 85 | 86 | - name: 加载自定义配置 87 | run: | 88 | [ -e files ] && mv files openwrt/files 89 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 90 | chmod +x $DIY_P2_SH 91 | cd openwrt 92 | $GITHUB_WORKSPACE/$DIY_P2_SH 93 | 94 | - name: 下载包 95 | id: package 96 | run: | 97 | cd openwrt 98 | make defconfig 99 | make download -j8 100 | find dl -size -1024c -exec ls -l {} \; 101 | find dl -size -1024c -exec rm -f {} \; 102 | 103 | - name: 整合固件 104 | id: compile 105 | run: | 106 | cd openwrt 107 | echo -e "$(nproc) thread compile" 108 | make -j$(nproc) || make -j1 || make -j1 V=s 109 | echo "status=success" >> $GITHUB_OUTPUT 110 | 111 | - name: 检查可用容量 112 | if: (!cancelled()) 113 | run: df -hT 114 | 115 | - name: 组织文件 116 | id: organize 117 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 118 | run: | 119 | cd openwrt/bin/targets/*/* 120 | tar -cvf package.tar packages 121 | rm -rf feeds.buildinfo 122 | rm -rf *kernel* 123 | rm -rf *.manifest 124 | rm -rf sha256sums 125 | rm -rf version.buildinfo 126 | sleep 2 127 | mv immortalwrt-mediatek-mt7981-mt7981-360-t7-108M-squashfs-sysupgrade.bin 360T7-hanwckf-108M-sysupgrade.bin 128 | mv immortalwrt-mediatek-mt7981-mt7981-360-t7-108M-squashfs-factory.bin 360T7-hanwckf-108M-factory.bin 129 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 130 | echo "status=success" >> $GITHUB_OUTPUT 131 | 132 | - name: 上传固件 133 | uses: actions/upload-artifact@main 134 | if: steps.organize.outputs.status == 'success' && !cancelled() 135 | with: 136 | name: 360T7-hanwckf-OpenWrt 137 | path: ${{ env.FIRMWARE }} 138 | 139 | - name: 生成标签 140 | id: tag 141 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 142 | run: | 143 | time=$(date +%Y.%m.%d) 144 | Rtime=$(date +%Y.%m.%d-%H:%M) 145 | release_tag="360T7-hanwckf-OpenWrt-$time" 146 | release_name="360T7-hanwckf-OpenWrt-$Rtime" 147 | echo "默认网关:192.168.50.1 148 | 默认密码:password" >> release.txt 149 | echo "release_name=$release_name" >> $GITHUB_OUTPUT 150 | echo "release_tag=$release_tag" >> $GITHUB_OUTPUT 151 | echo "status=success" >> $GITHUB_OUTPUT 152 | 153 | - name: 上传固件至项目 154 | uses: softprops/action-gh-release@v1 155 | if: steps.tag.outputs.status == 'success' && !cancelled() 156 | env: 157 | GITHUB_TOKEN: ${{ secrets.GIT_USER_TOKEN }} 158 | with: 159 | name: ${{ steps.tag.outputs.release_name }} 160 | tag_name: ${{ steps.tag.outputs.release_tag }} 161 | body_path: release.txt 162 | files: ${{ env.FIRMWARE }}/* 163 | 164 | - name: Telegram 通知 165 | if: env.TELEGRAM_TOKEN && ! contains(github.event.action, 'notg') 166 | continue-on-error: true 167 | run: | 168 | curl -k --data chat_id="${{ env.TELEGRAM_CHAT_ID }}" --data "text=🎉 OpenWrt ${{ env.VERSION }} ${{matrix.target}} 360 T7-hanwckf-OpenWrt 固件编译成功 😋" "https://api.telegram.org/bot${{ env.TELEGRAM_TOKEN }}/sendMessage" 169 | 170 | - name: '邮件通知' 171 | uses: dawidd6/action-send-mail@v3 172 | if: steps.compile.outputs.status == 'success' && !cancelled() 173 | with: 174 | server_address: smtp.163.com 175 | server_port: 465 176 | username: ${{ secrets.MAILUSERNAME }} 177 | password: ${{ secrets.MAILPASSWORD }} 178 | subject: 🎉编译成功🎉 179 | body: 360 T7-hanwckf-OpenWrt 180 | to: ${{ secrets.MAIL }} 181 | from: GitHub Actions 182 | -------------------------------------------------------------------------------- /doc/backup/360T7-padavanonly-mini.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2019-2020 P3TERX 3 | # 4 | # This is free software, licensed under the MIT License. 5 | # See /LICENSE for more information. 6 | # 7 | # https://github.com/P3TERX/Actions-OpenWrt 8 | # Description: Build OpenWrt using GitHub Actions 9 | # 10 | 11 | name: 360T7-padavanonly-mini 12 | 13 | on: 14 | repository_dispatch: 15 | workflow_dispatch: 16 | inputs: 17 | ssh: 18 | description: 'SSH connection to Actions' 19 | required: false 20 | default: 'false' 21 | 22 | #定时触发开始编译 23 | #schedule: 24 | #- cron: 0 17 * * 1 25 | 26 | env: 27 | REPO_URL: https://github.com/padavanonly/immortalwrtARM 28 | REPO_BRANCH: mt7981 29 | FEEDS_CONF: feeds.conf.default 30 | CONFIG_FILE: ./config/360T7-immortalwrt-mini.config 31 | DIY_P1_SH: ./doc/diy/diy-360T7-immortalwrt-1.sh 32 | DIY_P2_SH: ./doc/diy/diy-360T7-immortalwrt-2.sh 33 | UPLOAD_BIN_DIR: false 34 | UPLOAD_FIRMWARE: true 35 | UPLOAD_RELEASE: true 36 | SCKEY: ${{ secrets.SCKEY }} 37 | TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }} 38 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 39 | TZ: Asia/Shanghai 40 | 41 | jobs: 42 | build: 43 | runs-on: ubuntu-22.04 44 | 45 | steps: 46 | - name: 检查 47 | uses: actions/checkout@main 48 | 49 | - name: 安装编译环境 50 | env: 51 | DEBIAN_FRONTEND: noninteractive 52 | run: | 53 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 54 | sudo bash -c 'bash <(curl -s https://build-scripts.immortalwrt.eu.org/init_build_environment.sh)' 55 | sudo timedatectl set-timezone "$TZ" 56 | sudo mkdir -p /workdir 57 | sudo chown $USER:$GROUPS /workdir 58 | 59 | - name: Telegram 通知 60 | if: env.TELEGRAM_TOKEN && ! contains(github.event.action, 'notg') 61 | continue-on-error: true 62 | run: | 63 | curl -k --data chat_id="${{ env.TELEGRAM_CHAT_ID }}" --data "text=🎉 OpenWrt ${{ env.VERSION }} ${{matrix.target}} 开始编译 360T7-padavanonly-mini 固件 😋" "https://api.telegram.org/bot${{ env.TELEGRAM_TOKEN }}/sendMessage" 64 | 65 | - name: 下载源码 66 | working-directory: /workdir 67 | run: | 68 | df -hT $PWD 69 | git clone $REPO_URL -b $REPO_BRANCH openwrt 70 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 71 | 72 | - name: 加载软件源 73 | run: | 74 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 75 | chmod +x $DIY_P1_SH 76 | cd openwrt 77 | $GITHUB_WORKSPACE/$DIY_P1_SH 78 | 79 | - name: 更新软件源 80 | run: cd openwrt && ./scripts/feeds update -a 81 | 82 | - name: 安装软件源 83 | run: cd openwrt && ./scripts/feeds install -a 84 | 85 | - name: 加载自定义配置 86 | run: | 87 | [ -e files ] && mv files openwrt/files 88 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 89 | cat config/ua2f.config >> openwrt/.config 90 | chmod +x $DIY_P2_SH 91 | cd openwrt 92 | $GITHUB_WORKSPACE/$DIY_P2_SH 93 | 94 | - name: SSH 连接 95 | uses: P3TERX/ssh2actions@v1.0.0 96 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 97 | env: 98 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 99 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 100 | 101 | - name: 下载包 102 | id: package 103 | run: | 104 | cd openwrt 105 | make defconfig 106 | make download -j8 107 | find dl -size -1024c -exec ls -l {} \; 108 | find dl -size -1024c -exec rm -f {} \; 109 | 110 | - name: 整合固件 111 | id: compile 112 | run: | 113 | cd openwrt 114 | echo -e "$(nproc) thread compile" 115 | make -j$(nproc) || make -j1 || make -j1 V=s || (curl -k --data chat_id="${{ env.TELEGRAM_CHAT_ID }}" --data "text=❌ OpenWrt ${{ env.VERSION }} ${{matrix.target}} 360T7-padavanonly-mini-OpenWrt 固件编译失败 😂" "https://api.telegram.org/bot${{ env.TELEGRAM_TOKEN }}/sendMessage";exit 1) 116 | echo "status=success" >> $GITHUB_OUTPUT 117 | 118 | - name: 检查可用容量 119 | if: (!cancelled()) 120 | run: df -hT 121 | 122 | - name: 组织文件 123 | id: organize 124 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 125 | run: | 126 | cd openwrt/bin/targets/*/* 127 | tar -cvf package.tar packages 128 | rm -rf feeds.buildinfo 129 | rm -rf *kernel* 130 | rm -rf *.manifest 131 | rm -rf *.tar.bz2 132 | rm -rf sha256sums 133 | rm -rf version.buildinfo 134 | sleep 2 135 | mv *sysupgrade.bin 360T7-padavanonly-mini-108M-sysupgrade.bin 136 | mv *factory.bin 360T7-padavanonly-mini-108M-factory.bin 137 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 138 | echo "status=success" >> $GITHUB_OUTPUT 139 | 140 | - name: 上传固件 141 | uses: actions/upload-artifact@main 142 | if: steps.organize.outputs.status == 'success' && !cancelled() 143 | with: 144 | name: 360T7-padavanonly-mini-OpenWrt 145 | path: ${{ env.FIRMWARE }} 146 | 147 | - name: 生成标签 148 | id: tag 149 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 150 | run: | 151 | time=$(date +%Y.%m.%d) 152 | Rtime=$(date +%Y.%m.%d-%H:%M) 153 | release_tag="360T7-padavanonly-mini-OpenWrt-$time" 154 | release_name="360T7-padavanonly-mini-OpenWrt-$Rtime" 155 | echo "默认网关:192.168.50.1 156 | 默认密码:password" >> release.txt 157 | echo "release_name=$release_name" >> $GITHUB_OUTPUT 158 | echo "release_tag=$release_tag" >> $GITHUB_OUTPUT 159 | echo "status=success" >> $GITHUB_OUTPUT 160 | 161 | - name: 上传固件至项目 162 | uses: softprops/action-gh-release@master 163 | if: steps.tag.outputs.status == 'success' && !cancelled() 164 | env: 165 | GITHUB_TOKEN: ${{ secrets.GIT_USER_TOKEN }} 166 | with: 167 | name: ${{ steps.tag.outputs.release_name }} 168 | tag_name: ${{ steps.tag.outputs.release_tag }} 169 | body_path: release.txt 170 | files: ${{ env.FIRMWARE }}/* 171 | 172 | - name: Telegram 通知 173 | if: env.TELEGRAM_TOKEN && ! contains(github.event.action, 'notg') 174 | continue-on-error: true 175 | run: | 176 | curl -k --data chat_id="${{ env.TELEGRAM_CHAT_ID }}" --data "text=🎉 OpenWrt ${{ env.VERSION }} ${{matrix.target}} 360T7-padavanonly-mini-OpenWrt 固件编译成功 😋" "https://api.telegram.org/bot${{ env.TELEGRAM_TOKEN }}/sendMessage" 177 | 178 | - name: '邮件通知' 179 | uses: dawidd6/action-send-mail@v3 180 | if: steps.compile.outputs.status == 'success' && !cancelled() 181 | with: 182 | server_address: smtp.163.com 183 | server_port: 465 184 | username: ${{ secrets.MAILUSERNAME }} 185 | password: ${{ secrets.MAILPASSWORD }} 186 | subject: 🎉编译成功🎉 187 | body: 360 T7-padavanonly-mini-OpenWrt 188 | to: ${{ secrets.MAIL }} 189 | from: GitHub Actions -------------------------------------------------------------------------------- /doc/backup/360T7-padavanonly.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2019-2020 P3TERX 3 | # 4 | # This is free software, licensed under the MIT License. 5 | # See /LICENSE for more information. 6 | # 7 | # https://github.com/P3TERX/Actions-OpenWrt 8 | # Description: Build OpenWrt using GitHub Actions 9 | # 10 | 11 | name: 360T7-padavanonly 12 | 13 | on: 14 | repository_dispatch: 15 | workflow_dispatch: 16 | inputs: 17 | ssh: 18 | description: 'SSH connection to Actions' 19 | required: false 20 | default: 'false' 21 | 22 | #定时触发开始编译 23 | #schedule: 24 | #- cron: 0 17 * * 1 25 | 26 | env: 27 | REPO_URL: https://github.com/padavanonly/immortalwrtARM 28 | REPO_BRANCH: mt7981 29 | FEEDS_CONF: feeds.conf.default 30 | CONFIG_FILE: ./config/360T7-immortalwrt.config 31 | DIY_P1_SH: ./doc/diy/diy-360T7-immortalwrt-1.sh 32 | DIY_P2_SH: ./doc/diy/diy-360T7-immortalwrt-2.sh 33 | UPLOAD_BIN_DIR: false 34 | UPLOAD_FIRMWARE: true 35 | UPLOAD_RELEASE: true 36 | SCKEY: ${{ secrets.SCKEY }} 37 | TELEGRAM_TOKEN: ${{ secrets.TELEGRAM_TOKEN }} 38 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 39 | TZ: Asia/Shanghai 40 | 41 | jobs: 42 | build: 43 | runs-on: ubuntu-22.04 44 | 45 | steps: 46 | - name: 检查 47 | uses: actions/checkout@main 48 | 49 | - name: 安装编译环境 50 | env: 51 | DEBIAN_FRONTEND: noninteractive 52 | run: | 53 | sudo rm -rf /etc/apt/sources.list.d/* /usr/share/dotnet /usr/local/lib/android /opt/ghc 54 | sudo bash -c 'bash <(curl -s https://build-scripts.immortalwrt.eu.org/init_build_environment.sh)' 55 | sudo timedatectl set-timezone "$TZ" 56 | sudo mkdir -p /workdir 57 | sudo chown $USER:$GROUPS /workdir 58 | 59 | - name: Telegram 通知 60 | if: env.TELEGRAM_TOKEN && ! contains(github.event.action, 'notg') 61 | continue-on-error: true 62 | run: | 63 | curl -k --data chat_id="${{ env.TELEGRAM_CHAT_ID }}" --data "text=🎉 OpenWrt ${{ env.VERSION }} ${{matrix.target}} 开始编译 360T7-padavanonly 固件 😋" "https://api.telegram.org/bot${{ env.TELEGRAM_TOKEN }}/sendMessage" 64 | 65 | - name: 下载源码 66 | working-directory: /workdir 67 | run: | 68 | df -hT $PWD 69 | git clone $REPO_URL -b $REPO_BRANCH openwrt 70 | ln -sf /workdir/openwrt $GITHUB_WORKSPACE/openwrt 71 | 72 | - name: 加载软件源 73 | run: | 74 | [ -e $FEEDS_CONF ] && mv $FEEDS_CONF openwrt/feeds.conf.default 75 | chmod +x $DIY_P1_SH 76 | cd openwrt 77 | $GITHUB_WORKSPACE/$DIY_P1_SH 78 | 79 | - name: 更新软件源 80 | run: cd openwrt && ./scripts/feeds update -a 81 | 82 | - name: 安装软件源 83 | run: cd openwrt && ./scripts/feeds install -a 84 | 85 | - name: 加载自定义配置 86 | run: | 87 | [ -e files ] && mv files openwrt/files 88 | [ -e $CONFIG_FILE ] && mv $CONFIG_FILE openwrt/.config 89 | chmod +x $DIY_P2_SH 90 | cd openwrt 91 | $GITHUB_WORKSPACE/$DIY_P2_SH 92 | 93 | - name: SSH 连接 94 | uses: P3TERX/ssh2actions@v1.0.0 95 | if: (github.event.inputs.ssh == 'true' && github.event.inputs.ssh != 'false') || contains(github.event.action, 'ssh') 96 | env: 97 | TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }} 98 | TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }} 99 | 100 | - name: 下载包 101 | id: package 102 | run: | 103 | cd openwrt 104 | make defconfig 105 | make download -j8 106 | find dl -size -1024c -exec ls -l {} \; 107 | find dl -size -1024c -exec rm -f {} \; 108 | 109 | - name: 整合固件 110 | id: compile 111 | run: | 112 | cd openwrt 113 | echo -e "$(nproc) thread compile" 114 | make -j$(nproc) || make -j1 || make -j1 V=s || (curl -k --data chat_id="${{ env.TELEGRAM_CHAT_ID }}" --data "text=❌ OpenWrt ${{ env.VERSION }} ${{matrix.target}} 360T7-padavanonly-OpenWrt 固件编译失败 😂" "https://api.telegram.org/bot${{ env.TELEGRAM_TOKEN }}/sendMessage";exit 1) 115 | echo "status=success" >> $GITHUB_OUTPUT 116 | 117 | - name: 检查可用容量 118 | if: (!cancelled()) 119 | run: df -hT 120 | 121 | - name: 组织文件 122 | id: organize 123 | if: env.UPLOAD_FIRMWARE == 'true' && !cancelled() 124 | run: | 125 | cd openwrt/bin/targets/*/* 126 | tar -cvf package.tar packages 127 | rm -rf feeds.buildinfo 128 | rm -rf *kernel* 129 | rm -rf *.manifest 130 | rm -rf *.tar.bz2 131 | rm -rf sha256sums 132 | rm -rf version.buildinfo 133 | sleep 2 134 | mv immortalwrt-mediatek-mt7981-mt7981-360-t7-108M-squashfs-sysupgrade.bin 360T7-padavanonly-108M-sysupgrade.bin 135 | mv immortalwrt-mediatek-mt7981-mt7981-360-t7-108M-squashfs-factory.bin 360T7-padavanonly-108M-factory.bin 136 | echo "FIRMWARE=$PWD" >> $GITHUB_ENV 137 | echo "status=success" >> $GITHUB_OUTPUT 138 | 139 | - name: 上传固件 140 | uses: actions/upload-artifact@main 141 | if: steps.organize.outputs.status == 'success' && !cancelled() 142 | with: 143 | name: 360T7-padavanonly-OpenWrt 144 | path: ${{ env.FIRMWARE }} 145 | 146 | - name: 生成标签 147 | id: tag 148 | if: env.UPLOAD_RELEASE == 'true' && !cancelled() 149 | run: | 150 | time=$(date +%Y.%m.%d) 151 | Rtime=$(date +%Y.%m.%d-%H:%M) 152 | release_tag="360T7-padavanonly-OpenWrt-$time" 153 | release_name="360T7-padavanonly-OpenWrt-$Rtime" 154 | echo "默认网关:192.168.50.1 155 | 默认密码:password" >> release.txt 156 | echo "release_name=$release_name" >> $GITHUB_OUTPUT 157 | echo "release_tag=$release_tag" >> $GITHUB_OUTPUT 158 | echo "status=success" >> $GITHUB_OUTPUT 159 | 160 | - name: 上传固件至项目 161 | uses: softprops/action-gh-release@master 162 | if: steps.tag.outputs.status == 'success' && !cancelled() 163 | env: 164 | GITHUB_TOKEN: ${{ secrets.GIT_USER_TOKEN }} 165 | with: 166 | name: ${{ steps.tag.outputs.release_name }} 167 | tag_name: ${{ steps.tag.outputs.release_tag }} 168 | body_path: release.txt 169 | files: ${{ env.FIRMWARE }}/* 170 | 171 | - name: Telegram 通知 172 | if: env.TELEGRAM_TOKEN && ! contains(github.event.action, 'notg') 173 | continue-on-error: true 174 | run: | 175 | curl -k --data chat_id="${{ env.TELEGRAM_CHAT_ID }}" --data "text=🎉 OpenWrt ${{ env.VERSION }} ${{matrix.target}} 360T7-padavanonly-OpenWrt 固件编译成功 😋" "https://api.telegram.org/bot${{ env.TELEGRAM_TOKEN }}/sendMessage" 176 | 177 | - name: '邮件通知' 178 | uses: dawidd6/action-send-mail@v3 179 | if: steps.compile.outputs.status == 'success' && !cancelled() 180 | with: 181 | server_address: smtp.163.com 182 | server_port: 465 183 | username: ${{ secrets.MAILUSERNAME }} 184 | password: ${{ secrets.MAILPASSWORD }} 185 | subject: 🎉编译成功🎉 186 | body: 360 T7-padavanonly-OpenWrt 187 | to: ${{ secrets.MAIL }} 188 | from: GitHub Actions -------------------------------------------------------------------------------- /doc/backup/All.yml: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2019-2021 P3TERX 3 | # 4 | # This is free software, licensed under the MIT License. 5 | # See /LICENSE for more information. 6 | # 7 | # https://github.com/P3TERX/Actions-OpenWrt 8 | # File: .github/workflows/update-checker.yml 9 | # Description: Source code update checker 10 | # 11 | 12 | name: All 13 | on: 14 | workflow_dispatch: 15 | # schedule: 16 | # - cron: 0 14 * * 2,4,6 17 | jobs: 18 | check: 19 | runs-on: ubuntu-22.04 20 | steps: 21 | - name: Trigger build 22 | uses: peter-evans/repository-dispatch@v1 23 | with: 24 | token: ${{ secrets.ACTIONS_TRIGGER_PAT }} 25 | event-type: All 26 | 27 | -------------------------------------------------------------------------------- /doc/backup/MTK/MT7981.config: -------------------------------------------------------------------------------- 1 | CONFIG_MODULES=y 2 | CONFIG_HAVE_DOT_CONFIG=y 3 | CONFIG_TARGET_mediatek=y 4 | CONFIG_TARGET_mediatek_mt7981=y 5 | CONFIG_TARGET_mediatek_mt7981_DEVICE_mt7981-360-t7-108M=y 6 | CONFIG_HAS_SUBTARGETS=y 7 | CONFIG_HAS_DEVICES=y 8 | CONFIG_TARGET_BOARD="mediatek" 9 | CONFIG_TARGET_SUBTARGET="mt7981" 10 | CONFIG_TARGET_PROFILE="DEVICE_mt7981-360-t7-108M" 11 | CONFIG_TARGET_ARCH_PACKAGES="aarch64_cortex-a53" 12 | CONFIG_DEFAULT_TARGET_OPTIMIZATION="-Os -pipe -mcpu=cortex-a53" 13 | CONFIG_CPU_TYPE="cortex-a53" 14 | CONFIG_LINUX_5_4=y -------------------------------------------------------------------------------- /doc/backup/Remove.yml: -------------------------------------------------------------------------------- 1 | name: Remove 2 | 3 | on: 4 | workflow_dispatch: 5 | #schedule: 6 | # - cron: '0 20 * * 1' 7 | 8 | jobs: 9 | Delete-Workflow-Archive: 10 | runs-on: ubuntu-22.04 11 | steps: 12 | - name: 删除任务 13 | uses: FunctionXJB/delete-workflow-runs@main 14 | with: 15 | retain_days: 1 16 | keep_minimum_runs: 1 17 | -------------------------------------------------------------------------------- /doc/backup/Test.yml: -------------------------------------------------------------------------------- 1 | name: Test 2 | 3 | on: 4 | workflow_dispatch: 5 | 6 | env: 7 | TZ: Asia/Shanghai 8 | 9 | jobs: 10 | build: 11 | runs-on: ubuntu-22.04 12 | 13 | steps: 14 | - name: Generate release tag 15 | id: tag 16 | run: | 17 | echo "body= https://github.com/hkk666/360T7/releases/tag/360T7-padavanonly-OpenWrt-mini-$(date +%Y.%m.%d)" >> $GITHUB_ENV 18 | 19 | - name: Email notification 20 | uses: dawidd6/action-send-mail@v3 21 | with: 22 | server_address: smtp.163.com 23 | server_port: 465 24 | username: ${{ secrets.MAILUSERNAME }} 25 | password: ${{ secrets.MAILPASSWORD }} 26 | subject: 🎉GitHub Actions succeeded🎉 27 | body: ${{ env.body }} 28 | to: ${{ secrets.MAIL }} 29 | from: GitHub Actions For 360T7 OpenWrt -------------------------------------------------------------------------------- /doc/backup/diy-360T7-immortalwrt-1.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2019-2020 P3TERX 4 | # 5 | # This is free software, licensed under the MIT License. 6 | # See /LICENSE for more information. 7 | # 8 | # https://github.com/P3TERX/Actions-OpenWrt 9 | # File name: diy-part1.sh 10 | # Description: OpenWrt DIY script part 1 (Before Update feeds) 11 | # 12 | 13 | # Uncomment a feed source 14 | #sed -i 's/^#\(.*helloworld\)/\1/' feeds.conf.default 15 | 16 | # Add a feed source 17 | #echo 'src-git helloworld https://github.com/fw876/helloworld' >>feeds.conf.default 18 | #echo 'src-git passwall https://github.com/xiaorouji/openwrt-passwall' >>feeds.conf.default 19 | 20 | # 添加第三方软件包 21 | #git clone https://github.com/kenzok8/openwrt-packages.git package/openwrt-packages 22 | #git clone https://github.com/kenzok8/small-package package/small-package 23 | git clone https://github.com/Zxilly/UA2F package/UA2F -------------------------------------------------------------------------------- /doc/backup/diy-360T7-immortalwrt-2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2019-2020 P3TERX 4 | # 5 | # This is free software, licensed under the MIT License. 6 | # See /LICENSE for more information. 7 | # 8 | # https://github.com/P3TERX/Actions-OpenWrt 9 | # File name: diy-part2.sh 10 | # Description: OpenWrt DIY script part 2 (After Update feeds) 11 | # 12 | #修改默认IP 13 | sed -i 's/192.168.1.1/192.168.50.1/g' package/base-files/files/bin/config_generate # 定制默认IP 14 | sed -i "s/DISTRIB_DESCRIPTION=.*/DISTRIB_DESCRIPTION='OpenWrt By hkk666 ($(date +%Y-%m-%d %H:%M)) '/g" package/base-files/files/etc/openwrt_release 15 | # 移除重复软件包 16 | #rm -rf feeds/luci/themes/luci-theme-argon 17 | 18 | # 修改 argon 为默认主题,可根据你喜欢的修改成其他的(不选择那些会自动改变为默认主题的主题才有效果) 19 | #sed -i 's/luci-theme-bootstrap/luci-theme-Butterfly/g' feeds/luci/collections/luci/Makefile 20 | 21 | # Themes 22 | #git clone --depth 1 -b 18.06 https://github.com/jerrykuku/luci-theme-argon package/luci-theme-argon 23 | #git clone --depth 1 https://github.com/jerrykuku/luci-app-argon-config package/luci-app-argon-config 24 | 25 | # 设置密码为空(安装固件时无需密码登陆,然后自己修改想要的密码) 26 | #sed -i 's@.*CYXluq4wUazHjmCDBCqXF*@#&@g' package/lean/default-settings/files/zzz-default-settings 27 | 28 | # 添加额外软件包 29 | # git clone --depth 1 https://github.com/kongfl888/luci-app-adguardhome package/luci-app-adguardhome 30 | # git clone --depth 1 https://github.com/Jason6111/luci-app-netdata package/luci-app-netdata 31 | # git clone --depth 1 -b lede https://github.com/pymumu/luci-app-smartdns package/luci-app-smartdns 32 | 33 | # 科学上网插件 34 | # svn co https://github.com/kiddin9/openwrt-bypass/trunk/luci-app-bypass package/luci-app-bypass 35 | # svn co https://github.com/vernesong/OpenClash/trunk/luci-app-openclash package/luci-app-openclash 36 | # svn co https://github.com/xiaorouji/openwrt-passwall/branches/luci/luci-app-passwall package/luci-app-passwall 37 | # svn co https://github.com/fw876/helloworld/trunk/luci-app-ssr-plus package/luci-app-ssr-plus 38 | 39 | # 科学上网插件依赖 40 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/brook package/brook 41 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/chinadns-ng package/chinadns-ng 42 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/dns2socks package/dns2socks 43 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/dns2tcp package/dns2tcp 44 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/hysteria package/hysteria 45 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/ipt2socks package/ipt2socks 46 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/microsocks package/microsocks 47 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/naiveproxy package/naiveproxy 48 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/pdnsd-alt package/pdnsd-alt 49 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/sagernet-core package/sagernet-core 50 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/ssocks package/ssocks 51 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/tcping package/tcping 52 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/trojan-go package/trojan-go 53 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/trojan-plus package/trojan-plus 54 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/v2ray-geodata package/v2ray-geodata 55 | # svn co https://github.com/fw876/helloworld/trunk/simple-obfs package/simple-obfs 56 | # svn co https://github.com/fw876/helloworld/trunk/v2ray-core package/v2ray-core 57 | # svn co https://github.com/fw876/helloworld/trunk/v2ray-plugin package/v2ray-plugin 58 | # svn co https://github.com/fw876/helloworld/trunk/shadowsocks-rust package/shadowsocks-rust 59 | # svn co https://github.com/fw876/helloworld/trunk/shadowsocksr-libev package/shadowsocksr-libev 60 | # svn co https://github.com/fw876/helloworld/trunk/xray-core package/xray-core 61 | # svn co https://github.com/fw876/helloworld/trunk/xray-plugin package/xray-plugin 62 | # svn co https://github.com/fw876/helloworld/trunk/lua-neturl package/lua-neturl 63 | # svn co https://github.com/fw876/helloworld/trunk/trojan package/trojan 64 | -------------------------------------------------------------------------------- /doc/config/ua2f.config: -------------------------------------------------------------------------------- 1 | CONFIG_PACKAGE_ua2f=y 2 | CONFIG_PACKAGE_iptables-mod-nfqueue=y 3 | CONFIG_PACKAGE_kmod-ipt-nfqueue=y 4 | CONFIG_PACKAGE_kmod-nfnetlink-queue=y -------------------------------------------------------------------------------- /doc/diy/diy-360T7-hanwckf-1.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2019-2020 P3TERX 4 | # 5 | # This is free software, licensed under the MIT License. 6 | # See /LICENSE for more information. 7 | # 8 | # https://github.com/P3TERX/Actions-OpenWrt 9 | # File name: diy-part1.sh 10 | # Description: OpenWrt DIY script part 1 (Before Update feeds) 11 | # 12 | 13 | # Uncomment a feed source 14 | #sed -i 's/^#\(.*helloworld\)/\1/' feeds.conf.default 15 | 16 | # Add a feed source 17 | #echo 'src-git helloworld https://github.com/fw876/helloworld' >>feeds.conf.default 18 | #echo 'src-git passwall https://github.com/xiaorouji/openwrt-passwall' >>feeds.conf.default 19 | 20 | # 添加第三方软件包 21 | #git clone https://github.com/kenzok8/openwrt-packages.git package/openwrt-packages 22 | #git clone https://github.com/kenzok8/small-package package/small-package 23 | git clone https://github.com/Zxilly/UA2F package/UA2F -------------------------------------------------------------------------------- /doc/diy/diy-360T7-hanwckf-2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2019-2020 P3TERX 4 | # 5 | # This is free software, licensed under the MIT License. 6 | # See /LICENSE for more information. 7 | # 8 | # https://github.com/P3TERX/Actions-OpenWrt 9 | # File name: diy-part2.sh 10 | # Description: OpenWrt DIY script part 2 (After Update feeds) 11 | # 12 | #修改默认IP 13 | sed -i 's/192.168.1.1/192.168.50.1/g' package/base-files/files/bin/config_generate # 定制默认IP 14 | #sed -i "s/DISTRIB_DESCRIPTION=.*/DISTRIB_DESCRIPTION='OpenWrt By hkk666 ($(date +%Y-%m-%d %H:%M)) '/g" package/base-files/files/etc/openwrt_release 15 | # 移除重复软件包 16 | #rm -rf feeds/luci/themes/luci-theme-argon 17 | 18 | # 修改 argon 为默认主题,可根据你喜欢的修改成其他的(不选择那些会自动改变为默认主题的主题才有效果) 19 | #sed -i 's/luci-theme-bootstrap/luci-theme-argon/g' feeds/luci/collections/luci/Makefile 20 | 21 | # Themes 22 | #git clone --depth 1 -b 18.06 https://github.com/jerrykuku/luci-theme-argon package/luci-theme-argon 23 | #git clone --depth 1 https://github.com/jerrykuku/luci-app-argon-config package/luci-app-argon-config 24 | 25 | # 设置密码为空(安装固件时无需密码登陆,然后自己修改想要的密码) 26 | #sed -i 's@.*CYXluq4wUazHjmCDBCqXF*@#&@g' package/lean/default-settings/files/zzz-default-settings 27 | 28 | # 添加额外软件包 29 | # git clone --depth 1 https://github.com/kongfl888/luci-app-adguardhome package/luci-app-adguardhome 30 | # git clone --depth 1 https://github.com/Jason6111/luci-app-netdata package/luci-app-netdata 31 | # git clone --depth 1 -b lede https://github.com/pymumu/luci-app-smartdns package/luci-app-smartdns 32 | 33 | # 科学上网插件 34 | # svn co https://github.com/kiddin9/openwrt-bypass/trunk/luci-app-bypass package/luci-app-bypass 35 | # svn co https://github.com/vernesong/OpenClash/trunk/luci-app-openclash package/luci-app-openclash 36 | # svn co https://github.com/xiaorouji/openwrt-passwall/branches/luci/luci-app-passwall package/luci-app-passwall 37 | # svn co https://github.com/fw876/helloworld/trunk/luci-app-ssr-plus package/luci-app-ssr-plus 38 | 39 | # 科学上网插件依赖 40 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/brook package/brook 41 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/chinadns-ng package/chinadns-ng 42 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/dns2socks package/dns2socks 43 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/dns2tcp package/dns2tcp 44 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/hysteria package/hysteria 45 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/ipt2socks package/ipt2socks 46 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/microsocks package/microsocks 47 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/naiveproxy package/naiveproxy 48 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/pdnsd-alt package/pdnsd-alt 49 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/sagernet-core package/sagernet-core 50 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/ssocks package/ssocks 51 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/tcping package/tcping 52 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/trojan-go package/trojan-go 53 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/trojan-plus package/trojan-plus 54 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/v2ray-geodata package/v2ray-geodata 55 | # svn co https://github.com/fw876/helloworld/trunk/simple-obfs package/simple-obfs 56 | # svn co https://github.com/fw876/helloworld/trunk/v2ray-core package/v2ray-core 57 | # svn co https://github.com/fw876/helloworld/trunk/v2ray-plugin package/v2ray-plugin 58 | # svn co https://github.com/fw876/helloworld/trunk/shadowsocks-rust package/shadowsocks-rust 59 | # svn co https://github.com/fw876/helloworld/trunk/shadowsocksr-libev package/shadowsocksr-libev 60 | # svn co https://github.com/fw876/helloworld/trunk/xray-core package/xray-core 61 | # svn co https://github.com/fw876/helloworld/trunk/xray-plugin package/xray-plugin 62 | # svn co https://github.com/fw876/helloworld/trunk/lua-neturl package/lua-neturl 63 | # svn co https://github.com/fw876/helloworld/trunk/trojan package/trojan 64 | -------------------------------------------------------------------------------- /doc/diy/diy-360T7-padavanonly-2.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # Copyright (c) 2019-2020 P3TERX 4 | # 5 | # This is free software, licensed under the MIT License. 6 | # See /LICENSE for more information. 7 | # 8 | # https://github.com/P3TERX/Actions-OpenWrt 9 | # File name: diy-part2.sh 10 | # Description: OpenWrt DIY script part 2 (After Update feeds) 11 | # 12 | #修改默认IP 13 | sed -i 's/192.168.6.1/192.168.50.1/g' package/base-files/files/bin/config_generate # 定制默认IP 14 | #sed -i "s/DISTRIB_DESCRIPTION=.*/DISTRIB_DESCRIPTION='OpenWrt By hkk666 ($(date +%Y-%m-%d %H:%M)) '/g" package/base-files/files/etc/openwrt_release 15 | # 移除重复软件包 16 | #rm -rf feeds/luci/themes/luci-theme-argon 17 | 18 | # 修改 argon 为默认主题,可根据你喜欢的修改成其他的(不选择那些会自动改变为默认主题的主题才有效果) 19 | #sed -i 's/luci-theme-bootstrap/luci-theme-argon/g' feeds/luci/collections/luci/Makefile 20 | 21 | # Themes 22 | #git clone --depth 1 -b 18.06 https://github.com/jerrykuku/luci-theme-argon package/luci-theme-argon 23 | #git clone --depth 1 https://github.com/jerrykuku/luci-app-argon-config package/luci-app-argon-config 24 | 25 | # 设置密码为空(安装固件时无需密码登陆,然后自己修改想要的密码) 26 | #sed -i 's@.*CYXluq4wUazHjmCDBCqXF*@#&@g' package/lean/default-settings/files/zzz-default-settings 27 | 28 | # 添加额外软件包 29 | # git clone --depth 1 https://github.com/kongfl888/luci-app-adguardhome package/luci-app-adguardhome 30 | # git clone --depth 1 https://github.com/Jason6111/luci-app-netdata package/luci-app-netdata 31 | # git clone --depth 1 -b lede https://github.com/pymumu/luci-app-smartdns package/luci-app-smartdns 32 | 33 | # 科学上网插件 34 | # svn co https://github.com/kiddin9/openwrt-bypass/trunk/luci-app-bypass package/luci-app-bypass 35 | # svn co https://github.com/vernesong/OpenClash/trunk/luci-app-openclash package/luci-app-openclash 36 | # svn co https://github.com/xiaorouji/openwrt-passwall/branches/luci/luci-app-passwall package/luci-app-passwall 37 | # svn co https://github.com/fw876/helloworld/trunk/luci-app-ssr-plus package/luci-app-ssr-plus 38 | 39 | # 科学上网插件依赖 40 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/brook package/brook 41 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/chinadns-ng package/chinadns-ng 42 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/dns2socks package/dns2socks 43 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/dns2tcp package/dns2tcp 44 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/hysteria package/hysteria 45 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/ipt2socks package/ipt2socks 46 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/microsocks package/microsocks 47 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/naiveproxy package/naiveproxy 48 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/pdnsd-alt package/pdnsd-alt 49 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/sagernet-core package/sagernet-core 50 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/ssocks package/ssocks 51 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/tcping package/tcping 52 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/trojan-go package/trojan-go 53 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/trojan-plus package/trojan-plus 54 | # svn co https://github.com/xiaorouji/openwrt-passwall/trunk/v2ray-geodata package/v2ray-geodata 55 | # svn co https://github.com/fw876/helloworld/trunk/simple-obfs package/simple-obfs 56 | # svn co https://github.com/fw876/helloworld/trunk/v2ray-core package/v2ray-core 57 | # svn co https://github.com/fw876/helloworld/trunk/v2ray-plugin package/v2ray-plugin 58 | # svn co https://github.com/fw876/helloworld/trunk/shadowsocks-rust package/shadowsocks-rust 59 | # svn co https://github.com/fw876/helloworld/trunk/shadowsocksr-libev package/shadowsocksr-libev 60 | # svn co https://github.com/fw876/helloworld/trunk/xray-core package/xray-core 61 | # svn co https://github.com/fw876/helloworld/trunk/xray-plugin package/xray-plugin 62 | # svn co https://github.com/fw876/helloworld/trunk/lua-neturl package/lua-neturl 63 | # svn co https://github.com/fw876/helloworld/trunk/trojan package/trojan 64 | -------------------------------------------------------------------------------- /doc/img/example1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkk666/360T7/368a51c75e2f6408618c3cb58d472e16d5dfbc9e/doc/img/example1.png -------------------------------------------------------------------------------- /doc/img/example2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkk666/360T7/368a51c75e2f6408618c3cb58d472e16d5dfbc9e/doc/img/example2.png -------------------------------------------------------------------------------- /doc/img/example3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkk666/360T7/368a51c75e2f6408618c3cb58d472e16d5dfbc9e/doc/img/example3.png -------------------------------------------------------------------------------- /doc/img/example4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkk666/360T7/368a51c75e2f6408618c3cb58d472e16d5dfbc9e/doc/img/example4.png -------------------------------------------------------------------------------- /doc/img/example5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkk666/360T7/368a51c75e2f6408618c3cb58d472e16d5dfbc9e/doc/img/example5.png -------------------------------------------------------------------------------- /doc/img/example6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkk666/360T7/368a51c75e2f6408618c3cb58d472e16d5dfbc9e/doc/img/example6.png -------------------------------------------------------------------------------- /doc/img/example7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkk666/360T7/368a51c75e2f6408618c3cb58d472e16d5dfbc9e/doc/img/example7.png -------------------------------------------------------------------------------- /doc/img/openwrt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hkk666/360T7/368a51c75e2f6408618c3cb58d472e16d5dfbc9e/doc/img/openwrt.png --------------------------------------------------------------------------------