Metadata-Version: 2.4
Name: RPatcher
Version: 2.0.2
Summary: Smali Patcher ( Bypass 𒁍 SSL & Flutter SSL, VPN, USB Debugging, Screen Restrict, One Device Login, Spoof Info & Package Detection, Ads, AES Logs Inject, TG Patch, Pine HooK )
Author: REVERSE
License: MIT
Project-URL: Homepage, https://github.com/rxvxrsx/RPatcher
Project-URL: Repository, https://github.com/rxvxrsx/RPatcher.git
Project-URL: Issues, https://github.com/rxvxrsx/RPatcher/issues
Keywords: RPatcher
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.13
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: r2pipe
Requires-Dist: asn1crypto
Requires-Dist: multiprocess
Dynamic: license-file

<p align="center">
<a href="https://t.me/reverse_xk"><img title="REVERSE" src="https://img.shields.io/badge/MAINTAINED%20BY-REVERSE-black?style=for-the-badge"></a>
</p>

<a name="readme-top"></a>


# RPatcher


<p align="center"> 
<a href="https://t.me/reverse_xk"><img src="https://readme-typing-svg.herokuapp.com?font=Fira+Code&weight=800&size=35&pause=1000&color=F74848&center=true&vCenter=true&random=false&width=435&lines=RPatcher+by+REVERSE" /></a>
 </p>


## Used Source

<p align="center">
  <a href="https://github.com/REAndroid/APKEditor"><img src="https://img.shields.io/badge/APKEditor-REAndroid%20(%40kikfox)-blue?style=for-the-badge&logo=github" alt="APKEditor"/></a>
</p>

<p align="center">
  <a href="https://mvnrepository.com/artifact/com.android.tools.build/apksig"><img src="https://img.shields.io/badge/ApkSig-Android%20Tools%20Build-green?style=for-the-badge&logo=apachemaven" alt="ApkSig"/></a>
  <a href="https://github.com/iBotPeaches/Apktool"><img src="https://img.shields.io/badge/Apktool-Connor%20Tumbleson%20(%40iBotPeaches)-orange?style=for-the-badge&logo=github" alt="Apktool"/></a>
</p>

<p align="center">
  <a href="https://github.com/google/smali"><img src="https://img.shields.io/badge/Dexlib2-Google%20(Open%20Source)-red?style=for-the-badge&logo=google" alt="Dexlib2"/></a>
  <a href="https://github.com/AbhiTheModder/termux-scripts/blob/main/tgpatcher.py"><img src="https://img.shields.io/badge/TGPatcher-ABHI%20THE-orange?style=for-the-badge&logo=github" alt="TGPatcher"/><img src="https://img.shields.io/badge/MODDER-darkgreen?style=for-the-badge"/></a>
</p>


## Termux: run this source directly

Copy this project folder to Termux, then run:

```bash
termux-setup-storage
pkg update -y
pkg install python openjdk-17 aapt2 -y
python -m pip install requests r2pipe asn1crypto multiprocess

cd ~/RPatcher
python -m pip install --force-reinstall .
RPatcher -h
```

Run every command below with `RPatcher` after installing this source.

## PyPI (Just Testing)

After a release is published to PyPI, install RPatcher with:

```bash
pip install RPatcher
```

Then run:

```bash
RPatcher -h
```

Repository owner must add `PYPI_USERNAME` and `PYPI_PASSWORD` secrets in GitHub Actions before creating a version tag or starting the Release workflow.


# Usage Example


RPatcher ( Input Mode )
-----

**Mode `-i` ➸ Smali Patcher ( Input Your APK Path )**

`Default Patch is VPN & SSL Bypass`

    RPatcher -i /sdcard/Download/app.apk

**Flag: `-a` ➸ Try with APKEditor ( Default APKTool )**

    RPatcher -i /sdcard/Download/app.apk -a

**Flag: `-c` ➸ Embed Your Captural APK's Certificate**

`With Your Certificate ( Input Your .pem / .crt / .cert Path )`

`If you have already installed your certificate under CA Certificates in your device settings, then you don’t need to use the "-c YourCertificatePath.cert" parameter, because the user certificate is already trusted by network_security_config.xml`

    RPatcher -i /sdcard/Download/app.apk -c YourCertificatePath.cert

`Multiple Certificate`

    RPatcher -i /sdcard/Download/app.apk -c /sdcard/HttpCanary/certs/HttpCanary.pem /sdcard/Download/Reqable/reqable-ca.crt /sdcard/Download/ProxyPinCA.crt

**Flag: `-e` ➸ If using emulator on PC**

    RPatcher -i /sdcard/Download/app.apk -e

**Flag: `-u` ➸ Keep UnSigned APK**

    RPatcher -i /sdcard/Download/app.apk -u


Smali Patcher ( Additional Flags )
-----

**Flag: `-f` / `-p` / `-p -x` ➸ Flutter & Pairip SSL Bypass**

`For Flutter, Script By  🇮🇳 AbhiTheM0dder 🇮🇳`

    RPatcher -i /sdcard/Download/app.apk -f

`For Pairip ( UnSigned APK, Use Only in VM / Multi App )`

    RPatcher -i /sdcard/Download/app.apk -p

`CoreX HooK For Pairip ( Install Directly, Only For [ arm64 ] )`

    RPatcher -i /sdcard/Download/app.apk -p -x

**Flag: `-D` ➸ Hook Android ID For One Device Login Bypass**

`Input Your 16 Digit Android ID`

    RPatcher -i /sdcard/Download/app.apk -D 7e9f51f096bd5c83

**Flag: `-pkg` ➸ Spoof Package Detection ( Dex / Manifest / Res )**

    RPatcher -i /sdcard/Download/app.apk -pkg

**Flag: `-P` ➸ Purchase / Paid / Price**

    RPatcher -i /sdcard/Download/app.apk -P

**Flag: `-rmss` / `-rmusb` ➸ Bypass Screen / USB Restriction**

`Bypass Screenshot Restriction`

    RPatcher -i /sdcard/Download/app.apk -rmss

`Bypass USB Debugging`

    RPatcher -i /sdcard/Download/app.apk -rmusb

**Flag: `-skip` ➸ Skip Patch (e.g., getAcceptedIssuers)**

    RPatcher -i /sdcard/Download/app.apk -skip getAcceptedIssuers


AES Patcher ( Additional Flags )
-----

**Flag: `-A` ➸ AES MT Logs Inject**

    RPatcher -i /sdcard/Download/app.apk -A

`Do U Want Separate AES.smali Dex`

    RPatcher -i /sdcard/Download/app.apk -A -s

**Flag: `-A2` ➸ Algorithm Logs**

    RPatcher -i /sdcard/Download/app.apk -A2


Spoof Patcher ( Additional Flags )
-----

**Flag: `-r` ➸ Per-install Random / Fake / Spoof Device Info**

Injects `DeviceInfo.smali` into the target APK. On first launch it selects one of 12 real Android profiles from 2023+, then creates Android ID, IMEI, Advertising ID, MAC address, and serial. Values stay stable until the target app is uninstalled or its data is cleared.

    RPatcher -i /sdcard/Download/app.apk -r

`Input Your 16 Digit Custom Android ID (overrides random Android ID only)`

    RPatcher -i /sdcard/Download/app.apk -r -D 7e9f51f096bd5c83


Ads Patcher ( Additional Flags )
-----

**Flag: `-rmads` ➸ Remove Ads**

    RPatcher -i /sdcard/Download/app.apk -rmads


TG Patcher ( Additional Flags )
-----

**Flag: `-t` ➸ Telegram / Plus Patch, Script By  🇮🇳 AbhiTheM0dder 🇮🇳**

    RPatcher -i /sdcard/Download/app.apk -t


Pine Hook ( Additional Flags )
-----

**Flag: `-pine -l` ➸ Pine Hook ( Input Path of Xposed & LSP Module )**

`Mutil Path Supported, But module path should not contain space or symbols.`

    RPatcher -i /sdcard/Download/app.apk -pine -l NoVPNDetect.apk just.trust.me.apk


RPatcher ( Merge Mode )
-----

**Mode `-m` ➸ Anti-Split ( Only Merge APK )**

`Supported Extensions ( .apks / .apkm / .xapk )`

    RPatcher -m /sdcard/Download/app.apks


RPatcher ( Credits Mode )
-----

**Mode `-C` ➸ Credits**

    RPatcher -C


RPatcher Help
-----

    RPatcher -h


RPatcher Other Patch Flags
-----

    RPatcher -O


RPatcher UUID + MODEL Only
-----

    RPatcher <app.apk> -um

Changes only Android ID sent by app as `uuid` and Android `Build.MODEL`.


# NOTE


## REVERSE

[![Telegram](https://img.shields.io/badge/TELEGRAM-REVERSE-red?style=for-the-badge&logo=telegram)](https://t.me/reverse_xk)
  </a><p>
[![Telegram](https://img.shields.io/badge/TELEGRAM-OWNER-red?style=for-the-badge&logo=telegram)](https://t.me/reverse_xk)
</p>
