diff --git a/.github/workflows/android.yml b/.github/workflows/android.yml index c571f577..ad4fe1bd 100644 --- a/.github/workflows/android.yml +++ b/.github/workflows/android.yml @@ -1,4 +1,4 @@ -name: Android CI +name: CorePatch on: push: @@ -6,6 +6,9 @@ on: pull_request: workflow_dispatch: +permissions: + contents: write + jobs: build: @@ -23,7 +26,7 @@ jobs: cache: 'gradle' - name: Write key - if: github.event_name != 'pull_request' && github.ref == 'refs/heads/main' + if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/main' || github.event_name == 'workflow_dispatch') run: | if [ ! -z "${{ secrets.SIGNING_KEY }}" ]; then echo releaseStorePassword='${{ secrets.KEY_STORE_PASSWORD }}' >> gradle.properties @@ -36,8 +39,23 @@ jobs: - name: Build with Gradle run: ./gradlew assembleRelease assembleDebug + - name: Rename APK + run: | + mv app/build/outputs/apk/release/app-release.apk app/build/outputs/apk/release/CorePatch.apk + mv app/build/outputs/apk/debug/app-debug.apk app/build/outputs/apk/debug/CorePatch-debug.apk + - name: Upload artifact uses: actions/upload-artifact@v4 with: name: outputs path: app/build/outputs/apk + + - name: Upload to Releases + if: github.event_name != 'pull_request' && (github.ref == 'refs/heads/PL' || github.event_name == 'workflow_dispatch') + uses: ncipollo/release-action@v1 + with: + artifacts: "app/build/outputs/apk/release/CorePatch.apk,app/build/outputs/apk/debug/CorePatch-debug.apk" + tag: "v4.9-2047" + name: "CorePatch v4.9 (Build 2047)" + allowUpdates: "true" + token: "${{ secrets.GITHUB_TOKEN }}" diff --git a/README.md b/README.md index bbadc342..64af5d85 100644 --- a/README.md +++ b/README.md @@ -1,28 +1,48 @@ # CorePatch +An Xposed module for Vector (formerly LSPosed) that disables signature verification in the Android OS. -An Xposed Framework module that disables signature verification on Android. - -![Android CI](https://github.com/coderstory/CorePatch/workflows/Android%20CI/badge.svg) -![GitHub Release (latest by date)](https://img.shields.io/github/v/release/coderstory/CorePatch) +![GitHub release (latest by date)](https://img.shields.io/github/v/release/coderstory/CorePatch) ![CRAN/METACRAN](https://img.shields.io/cran/l/devtools) -### Supported Android versions +### Supported Android Versions -CorePatch has been developed to support multiple Android versions through different branches. +This version is designed exclusively for **Android 9–16.** +
![](https://img.shields.io/badge/INFO-Use%20the%20latest%20version%20of%20the%20Vector%20app-blue) -`main` branch: Supports Android 10-15. -`Q` branch: Supports Android 9.0-10.0. -`master` branch: Supports Android 4.4-7.x. +## Features -Note: For Android 8.x, you may need to find the commit that changed the version name to 2.1 and compile the module yourself. +CorePatch offers several key features to bypass standard Android installation checks. -## Features +**Allow downgrade**: +
Allows installing an older version of an app, eliminating the error: +
![](https://img.shields.io/badge/INFO-INSTALL__FAILED__VERSION__DOWNGRADE-green) + +**Disable checksum verification**: +
Allows installing apps after modifying the APK file. +
![](https://img.shields.io/badge/INFO-ignores%20invalid%20checksum%20error-green) + +**Disable signature comparison**: +
Allows reinstalling apps with different signatures. -CorePatch provides several key features to bypass Android's standard installation checks. +**Disable accurate signature matching**: +
Disables strict signature matching between APK packages, allowing installations where each APK split has a different signature. +
![](https://img.shields.io/badge/WARNING!-Enable%20only%20if%20necessary!-red) -**Downgrade apps**: Allows you to install an older version of an app, suppressing the `INSTALL_FAILED_VERSION_DOWNGRADE` error. -**Install modified APKs**: Ignores errors like "Invalid digest", allowing you to install apps that have been modified after compilation. -**Install with inconsistent signatures**: Overlays and installs apps even if their signatures don't match the currently installed version. +**Use installed signatures**: +
Always uses the signatures of already installed apps during installation. +
![](https://img.shields.io/badge/WARNING!-This%20is%20extremely%20dangerous-red) +
![](https://img.shields.io/badge/Enable%20only%20when%20absolutely%20necessary%21-red) + +**Bypass lock**: +
Bypasses the installation blocklist on certain devices, e.g., Nothing Phone. + +**Skip shared user verification**: +
Allows installing apps with a signature different from their shared user. +
![](https://img.shields.io/badge/INFO-Disable%20signature%20comparison-blue) +
![](https://img.shields.io/badge/must%20also%20be%20enabled-blue) + +**Disable package verification agent**: +
e.g., Google Play Protect ### Download @@ -45,3 +65,4 @@ If you find this project useful, consider supporting the developer via [PayPal]( ### License CorePatch is released under the GPL V2 license. See the `LICENSE` file for more details. + diff --git a/app/src/main/res/values-PL/strings.xml b/app/src/main/res/values-PL/strings.xml new file mode 100644 index 00000000..0bf9a893 --- /dev/null +++ b/app/src/main/res/values-PL/strings.xml @@ -0,0 +1,27 @@ + + Core Patch + Łatka rdzenia Androida 9-16 + Ta wersja jest przeznaczona wyłącznie dla systemu Android 9–16.\nUżywaj najnowszej wersji aplikacji Vector. + Zezwól na obniżenie wersji + Zezwala na obniżenie wersji aplikacji + Wyłącz weryfikację skrótu + Umożliwia instalację aplikacji po zmodyfikowaniu pliku APK \n(ignoruje błąd nieprawidłowego skrótu) + Wyłącz porównywanie podpisów + Zezwala na ponowną instalację aplikacji z innymi podpisami + Wyłącz dokładne dopasowanie podpisu + Wyłącza dokładne dopasowanie podpisu między pakietami APK, umożliwiając instalacje, w których każdy fragment APK ma inny podpis. \nWłączaj tylko w razie potrzeby! + Użyj zainstalowanych podpisów + Zawsze podczas instalacji będą używane podpisy już zainstalowanych aplikacji.\nJest to niezwykle niebezpieczne.\nWłączaj tylko wtedy, gdy jest to absolutnie konieczne! + Ustawienia + Ignoruj + Inicjalizacja konfiguracji nie powiodła się + Wygląda na to, że używasz nieaktualnej wersji Vector lub Vector nie jest włączony. Zaktualizuj Vector lub spróbuj ponownie po jego włączeniu. + Obejście blokady + Pomija listę blokowanych instalacji na niektórych urządzeniach, np. Nothing Phone. + Korzystanie z zainstalowanych podpisów nie będzie działać w systemie HyperOS, ponieważ jego struktura za bardzo się zmienia. Nie mamy czasu na zaimplementowanie obsługi. + !! Każdy plik APK może nadpisać zainstalowaną aplikację !!\nZachowaj ostrożność instalując pliki APK z nieznanych źródeł. + Pomiń weryfikację wspólnego użytkownika + Umożliwia instalację aplikacji z podpisem innym niż współdzielony przez nich użytkownik (\"Wyłącz porównywanie podpisów” musi być również włączona). + Wyłącz agenta weryfikacji pakietów + np. Google Play Protect +