diff --git a/.github/workflows/core.yml b/.github/workflows/core.yml index 0d44488b6da..4001e1c9469 100644 --- a/.github/workflows/core.yml +++ b/.github/workflows/core.yml @@ -41,13 +41,14 @@ jobs: fi - name: Checkout libxposed/api - uses: actions/checkout@v3 + uses: actions/checkout@main with: repository: libxposed/api path: libxposed/api + ref: 54582730315ba4a3d7cfaf9baf9d23c419e07006 - name: Checkout libxposed/service - uses: actions/checkout@v3 + uses: actions/checkout@main with: repository: libxposed/service path: libxposed/service @@ -63,7 +64,15 @@ jobs: with: gradle-home-cache-cleanup: true - - name: Set up ccache + - name: Setup Android SDK + uses: android-actions/setup-android@v3 + + - name: Setup ninja + uses: seanmiddleditch/gha-setup-ninja@master + with: + version: 1.12.0 + + - name: Setup ccache uses: hendrikmuhs/ccache-action@v1.2 with: max-size: 2G @@ -71,6 +80,10 @@ jobs: restore-keys: ${{ runner.os }} save: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }} + - name: Remove Android's cmake + shell: bash + run: rm -rf $ANDROID_HOME/cmake + - name: Build dependencies working-directory: libxposed run: | diff --git a/README.md b/README.md index 9f9c44e6228..1ee0d90ddad 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # LSPosed Framework -[![Build](https://img.shields.io/github/actions/workflow/status/LSPosed/LSPosed/core.yml?branch=master&event=push&logo=github&label=Build)](https://github.com/LSPosed/LSPosed/actions/workflows/core.yml?query=event%3Apush+branch%3Amaster+is%3Acompleted) [![Crowdin](https://img.shields.io/badge/Localization-Crowdin-blueviolet?logo=Crowdin)](https://lsposed.crowdin.com/lsposed) [![Channel](https://img.shields.io/badge/Follow-Telegram-blue.svg?logo=telegram)](https://t.me/LSPosed) [![Chat](https://img.shields.io/badge/Join-QQ%E9%A2%91%E9%81%93-red?logo=tencent-qq&logoColor=red)](https://qun.qq.com/qqweb/qunpro/share?_wv=3&_wwv=128&inviteCode=Xz9dJ&from=246610&biz=ka) [![Download](https://img.shields.io/github/v/release/LSPosed/LSPosed?color=orange&logoColor=orange&label=Download&logo=DocuSign)](https://github.com/LSPosed/LSPosed/releases/latest) [![Total](https://shields.io/github/downloads/LSPosed/LSPosed/total?logo=Bookmeter&label=Counts&logoColor=yellow&color=yellow)](https://github.com/LSPosed/LSPosed/releases) +[![Build](https://img.shields.io/github/actions/workflow/status/JingMatrix/LSPosed/core.yml?branch=master&event=push&logo=github&label=Build)](https://github.com/JingMatrix/LSPosed/actions/workflows/core.yml?query=event%3Apush+branch%3Amaster+is%3Acompleted) [![Download](https://img.shields.io/github/v/release/JingMatrix/LSPosed?color=orange&logoColor=orange&label=Download&logo=DocuSign)](https://github.com/JingMatrix/LSPosed/releases/latest) [![Total](https://shields.io/github/downloads/JingMatrix/LSPosed/total?logo=Bookmeter&label=Counts&logoColor=yellow&color=yellow)](https://github.com/JingMatrix/LSPosed/releases) ## Introduction @@ -10,7 +10,7 @@ A Riru / Zygisk module trying to provide an ART hooking framework which delivers ## Supported Versions -Android 8.1 ~ 14 +Android 8.1 ~ 15 Beta 4 ## Install @@ -23,14 +23,14 @@ Android 8.1 ~ 14 ## Download -- For stable releases, please go to [Github Releases page](https://github.com/LSPosed/LSPosed/releases) -- For canary build, please check [Github Actions](https://github.com/LSPosed/LSPosed/actions/workflows/core.yml?query=branch%3Amaster) +- For stable releases, please go to [Github Releases page](https://github.com/JingMatrix/LSPosed/releases) +- For canary build, please check [Github Actions](https://github.com/JingMatrix/LSPosed/actions/workflows/core.yml?query=branch%3Amaster) Note: debug builds are only available in Github Actions. ## Get Help **Only bug reports from **THE LATEST DEBUG BUILD** will be accepted.** -- GitHub issues: [Issues](https://github.com/LSPosed/LSPosed/issues/) +- GitHub issues: [Issues](https://github.com/JingMatrix/LSPosed/issues/) - (For Chinese speakers) 本项目只接受英语**标题**的issue。如果您不懂英语,请使用[翻译工具](https://www.deepl.com/zh/translator) ## For Developers @@ -49,9 +49,9 @@ We use our own module repository. We welcome developers to submit modules to our Notice: These community groups don't accept any bug report, please use [Get help](#get-help) to report. -## Translation Contributing + -You can contribute translation [here](https://lsposed.crowdin.com/lsposed). + ## Credits @@ -59,7 +59,7 @@ You can contribute translation [here](https://lsposed.crowdin.com/lsposed). - [Riru](https://github.com/RikkaApps/Riru): provides a way to inject code into zygote process - [XposedBridge](https://github.com/rovo89/XposedBridge): the OG Xposed framework APIs - [Dobby](https://github.com/jmpews/Dobby): used for inline hooking -- [LSPlant](https://github.com/LSPosed/LSPlant): the core ART hooking framework +- [LSPlant](https://github.com/JingMatrix/LSPlant): the core ART hooking framework - [EdXposed](https://github.com/ElderDrivers/EdXposed): fork source - ~[SandHook](https://github.com/ganyao114/SandHook/): ART hooking framework for SandHook variant~ - ~[YAHFA](https://github.com/rk700/YAHFA): previous ART hooking framework~ diff --git a/magisk-loader/build.gradle.kts b/magisk-loader/build.gradle.kts index 1f622bfc47d..a5deb3a2c1c 100644 --- a/magisk-loader/build.gradle.kts +++ b/magisk-loader/build.gradle.kts @@ -30,7 +30,7 @@ plugins { val moduleName = "LSPosed" val moduleBaseId = "lsposed" -val authors = "LSPosed Developers" +val authors = "Jing Matrix & LSPosed Developers" val riruModuleId = "lsposed" val moduleMinRiruApiVersion = 26 @@ -159,7 +159,7 @@ fun afterEval() = android.applicationVariants.forEach { variant -> "versionName" to "v$verName", "versionCode" to verCode, "authorList" to authors, - "updateJson" to "https://lsposed.github.io/LSPosed/release/${flavorLowered}.json", + "updateJson" to "https://raw.githubusercontent.com/JingMatrix/LSPosed/master/magisk-loader/update/${flavorLowered}.json", "requirement" to when (flavorLowered) { "riru" -> "Requires Riru $moduleMinRiruVersionName or above installed" "zygisk" -> "Requires Magisk 24.0+ and Zygisk enabled" diff --git a/magisk-loader/magisk_module/module.prop b/magisk-loader/magisk_module/module.prop index b8d2a8d8b10..e2d94d7a55c 100644 --- a/magisk-loader/magisk_module/module.prop +++ b/magisk-loader/magisk_module/module.prop @@ -3,5 +3,5 @@ name=${api} - LSPosed version=${versionName} (${versionCode}) versionCode=${versionCode} author=${authorList} -description=Another enhanced implementation of Xposed Framework. Supports Android 8.1 ~ 14. ${requirement}. +description=Another enhanced implementation of Xposed Framework. Supports Android 8.1 ~ 15 Beta 4. ${requirement}. updateJson=${updateJson} diff --git a/magisk-loader/update/changelog.md b/magisk-loader/update/changelog.md new file mode 100644 index 00000000000..e454a660192 --- /dev/null +++ b/magisk-loader/update/changelog.md @@ -0,0 +1,5 @@ +Support Android 15 Beta 4 ! + +Special thanks to the [mywalkb/LSPosed_mod](https://github.com/mywalkb/LSPosed_mod) project for parsing stripped `libart.so` of Android 15. + +**Full Changelog**: [v1.9.2...v1.10.0](https://github.com/JingMatrix/LSPosed/compare/v1.9.2...v1.10.0) diff --git a/magisk-loader/update/riru.json b/magisk-loader/update/riru.json new file mode 100644 index 00000000000..f79c99e5786 --- /dev/null +++ b/magisk-loader/update/riru.json @@ -0,0 +1,6 @@ +{ + "version": "v1.10.0", + "versionCode": 7068, + "zipUrl": "https://github.com/JingMatrix/LSPosed/releases/download/v1.10.0/LSPosed-v1.10.0-7068-riru-release.zip", + "changelog": "https://raw.githubusercontent.com/JingMatrix/LSPosed/master/magisk-loader/update/changelog.md" +} diff --git a/magisk-loader/update/zygisk.json b/magisk-loader/update/zygisk.json new file mode 100644 index 00000000000..745701f2a98 --- /dev/null +++ b/magisk-loader/update/zygisk.json @@ -0,0 +1,6 @@ +{ + "version": "v1.10.0", + "versionCode": 7068, + "zipUrl": "https://github.com/JingMatrix/LSPosed/releases/download/v1.10.0/LSPosed-v1.10.0-7068-zygisk-release.zip", + "changelog": "https://raw.githubusercontent.com/JingMatrix/LSPosed/master/magisk-loader/update/changelog.md" +}