Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 20 additions & 2 deletions .github/workflows/android.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
name: Android CI
name: CorePatch

on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:

permissions:
contents: write

jobs:
build:

Expand All @@ -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
Expand All @@ -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 }}"
51 changes: 36 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -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.**
<br>![](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**:
<br>Allows installing an older version of an app, eliminating the error:
<br>![](https://img.shields.io/badge/INFO-INSTALL__FAILED__VERSION__DOWNGRADE-green)

**Disable checksum verification**:
<br>Allows installing apps after modifying the APK file.
<br>![](https://img.shields.io/badge/INFO-ignores%20invalid%20checksum%20error-green)

**Disable signature comparison**:
<br>Allows reinstalling apps with different signatures.

CorePatch provides several key features to bypass Android's standard installation checks.
**Disable accurate signature matching**:
<br>Disables strict signature matching between APK packages, allowing installations where each APK split has a different signature.
<br>![](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**:
<br>Always uses the signatures of already installed apps during installation.
<br>![](https://img.shields.io/badge/WARNING!-This%20is%20extremely%20dangerous-red)
<br>![](https://img.shields.io/badge/Enable%20only%20when%20absolutely%20necessary%21-red)

**Bypass lock**:
<br>Bypasses the installation blocklist on certain devices, e.g., Nothing Phone.

**Skip shared user verification**:
<br>Allows installing apps with a signature different from their shared user.
<br>![](https://img.shields.io/badge/INFO-Disable%20signature%20comparison-blue)
<br>![](https://img.shields.io/badge/must%20also%20be%20enabled-blue)

**Disable package verification agent**:
<br>e.g., Google Play Protect

### Download

Expand All @@ -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.

27 changes: 27 additions & 0 deletions app/src/main/res/values-PL/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<resources>
<string name="app_name">Core Patch</string>
<string name="module_description">Łatka rdzenia Androida 9-16</string>
<string name="corepatch">Ta wersja jest przeznaczona wyłącznie dla systemu Android 9&#x2013;16.\nUżywaj najnowszej wersji aplikacji Vector.</string>
<string name="downgr">Zezwól na obniżenie wersji</string>
<string name="downgr_summary">Zezwala na obniżenie wersji aplikacji</string>
<string name="authcreak">Wyłącz weryfikację skrótu</string>
<string name="authcreak_summary">Umożliwia instalację aplikacji po zmodyfikowaniu pliku APK \n(ignoruje błąd nieprawidłowego skrótu)</string>
<string name="digestCreak">Wyłącz porównywanie podpisów</string>
<string name="digestCreak_summary">Zezwala na ponowną instalację aplikacji z innymi podpisami</string>
<string name="exactSigCheck">Wyłącz dokładne dopasowanie podpisu</string>
<string name="exactSigCheck_summary">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!</string>
<string name="UsePreSig">Użyj zainstalowanych podpisów</string>
<string name="UsePreSig_summary">Zawsze podczas instalacji będą używane podpisy już zainstalowanych aplikacji.\nJest to niezwykle <b>niebezpieczne</b>.\nWłączaj tylko wtedy, gdy jest to absolutnie konieczne!</string>
<string name="settings">Ustawienia</string>
<string name="ignore">Ignoruj</string>
<string name="config_error">Inicjalizacja konfiguracji nie powiodła się</string>
<string name="not_supported">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.</string>
<string name="bypassBlock">Obejście blokady</string>
<string name="bypassBlock_summary">Pomija listę blokowanych instalacji na niektórych urządzeniach, np. Nothing Phone.</string>
<string name="miui_usepresig_warn">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.</string>
<string name="usepresig_warn">!! Każdy plik APK może nadpisać zainstalowaną aplikację !!\nZachowaj ostrożność instalując pliki APK z nieznanych źródeł.</string>
<string name="shared_user_title">Pomiń weryfikację wspólnego użytkownika</string>
<string name="shared_user_summary">Umożliwia instalację aplikacji z podpisem innym niż współdzielony przez nich użytkownik (<b>\"Wyłącz porównywanie podpisów&#x201D; musi być również włączona</b>).</string>
<string name="disable_verification_agent_title">Wyłącz agenta weryfikacji pakietów</string>
<string name="disable_verification_agent_summary">np. Google Play Protect</string>
</resources>