Termux tool to remove some version of Jiagu protection.

Trusted by over 1.6 million members since 2014 — why not join them?
Log in or Register to join us!

Snailsoft

∞ and beyond!
Staff Member
Moderator
SB Mod Squad ⭐
✔ Approved Releaser
Active User
Member for 2 years
Jiagu is similar to PairIP and sometimes used in conjunction.
As with PairIP, Jiagu has little documentation and come in several versions.
This Termux tool will attempt to remove the protection.

Code:
#----------------------------------------------------


cd $HOME && git clone https://github.com/Lexiie/Termux-Apktool && cd Termux-Apktool && dpkg -i apktool_2.3.4_all.deb


cd $HOME
git clone https://github.com/SafaSafari/jiagu_unpacker.git
cd jiagu_unpacker
pip3 install pycryptodome


clear
figlet Jiagu Remover
echo "Rename the protected apk to orig.apk and copy it to the jiagu_unpacker folder."
echo "cp /sdcard/Download/orig.apk ."
echo
echo "Use: python3 jiagu_unpacker.py -apk orig.apk && apktool d orig.apk -o unpacked_apk && cp unpacked/classes*.dex unpacked_apk/ && rm -rf unpacked_apk/assets/libjiagu*.so && rm -rf unpacked_apk/lib/*/libjiagu*.so && cat original_application.txt"
echo
echo "Use the name from original_application.txt and edit the AndroidManefest.xml, replacing the info in <application android:name="com.example.OriginalApplication" ...>"
echo
echo "Finally: apktool b unpacked_apk -o rebuilt.apk && jarsigner -keystore my.keystore rebuilt.apk mykey && zipalign -v 4 rebuilt.apk final.apk"


#----------------------------------------------------
 

Snailsoft

∞ and beyond!
Staff Member
Moderator
SB Mod Squad ⭐
✔ Approved Releaser
Active User
Member for 2 years
Does this work with all jiagu versions?
No.
This is similar to PAIRIP having many undocumented version and jiagu often has other security mixed in.
 
The Cursed Castle - Online RPG on Google Play
Top