Skip to content

Patching AnimeGame with Termux (LSPatch, apk-mitm, Clone)

License

Notifications You must be signed in to change notification settings

Score-Inc/PatchGenshinAPK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PatchGenshinAPK

Tool for patching .apk on Android Phone using Termux.
Interaction using CLI (Command Line Interface) unlike AnimeGamePatch and GCAndroid

Note

For now you can only patch using the .apk extension, so please don't patch using the .apks, .xapk extension or something else

Requirements

  • Python
  • Java
  • Termux

Features available

LSPatch

LSPatch
Patching APK and embed module for no root user can use a LSPosed Module.

apk-mitm

apk-mitm
Patch AnimeGame uses apk-mitm to be able to use mitmproxy/mitmdump.
And for my project AnimeGamePatch

Clone

Clone AnimeGane APK
With custom name Package by yourself
See Clone APK for how to use it

Commands

~$ patchgenshin --help
Usage: patchgenshin [option] [file] [package_name | True / False] [custom_name_apk | 1 / 2]
Options:
  -h, --help            Show this help message and exit
  -u, --uninstall       Uninstall PatchGenshinAPK
  -v, --version         Show version
  -l, --lspatch         Patch Genshin.apk with LSPatch
  -a, --apkmitm         Patch Genshin.apk with apk-mitm
  -c, --clone           Clone Genshin package name
  -up, --update         Update PatchGenshinAPK

file:
Path to APK want to Patch : /sdcard/Genshin.apk

package_name:
Only for use -c or --clone feature
Enter custom package name : com.elaxan.z3ro

custom_name_apk:
Only for use -c or --clone feature
Enter custom_name_apk : "Clone apk by Z3RO"

True / False:
Only for use -l or --lspatch feature
True: Patch with 2 Modules LSPosed
False: Patch with 1 Modules LSPosed

1 / 2:
Only for use -l or --lspatch feature
If you choose False for True / False
1: Patch with Yuuki Modules
2: Patch with xfk233 Modules

Install

Copy this command and paste to Termux

bash <(curl -Ls https://raw.githubusercontent.com/Score-Inc/PatchGenshinAPK/main/install.sh)

How to use

Make sure you already have AnimeGame.apk for Patch

Patching with LSPatch

Commands:

~$ patchgenshin -l <path to APK> <True/False>

Example:

~$ patchgenshin -l /sdcard/animegame.apk True

Then it will patch for animegame.apk with 2 modules.

If you want to patch with 1 module, just change True to False

Example:

~$ patchgenshin -l /sdcard/animegame.apk False 1

Then it will patch for animegame.apk with Yuuki module.

If you want to patch with xfk Module, then change it 1 to 2

If patch success will save to /sdcard with file name animegame-ElaXan.apk

Patching with apk-mitm

Commands:

~$ patchgenshin -a <path to APK>

Example:

~$ patchgenshin -a /sdcard/animegame.apk

Then it will.patch for animegame.apk

If patch success will save to /sdcard with file bame animegame-Z3RO.apk

Clone APK

Commands:

~$ patchgenshin -c <path to APK> <package name>

Example:

~$ patchgenshin -c /sdcard/animegame.apk com.elaxan.z3ro

Then it will clone package name for animegame.apk

If you want to change the name of the cloned APK, you can use the following command:

~$ patchgenshin -c <path to APK> <package name> <custom name apk>

Example:

~$ patchgenshin -c /sdcard/animegame.apk com.elaxan.z3ro "Clone apk by Z3RO"

Then it will clone package name with custom apk name for animegame.apk

If clone success will save to /sdcard with file name animegame-clone-Z3RO.apk

About

Patching AnimeGame with Termux (LSPatch, apk-mitm, Clone)

Topics

Resources

License

Stars

Watchers

Forks