Tmux-Bunch
Tools
Shell
Tmux-Bunch ( Not Maintained now )
There are two variants available , one for Android < 8.0 and one for Android = 8.0 (OREO) users So follow appropriate instructions on the basis of your Android Version
For Android < 8.0 (OREO)
-
Goto home directory
cd $HOME
-
Install axel
apt install axel
-
Download Tar file
axel https://github.com/Hax4us/Tmux-Bunch/releases/download/v2.7/Tmux-Bunch-2.7.tar.gz
-
Extract
tar -xf Tmux-Bunch-2.7.tar.gz
-
Enter into Tmux-Bunch folder
cd Tmux-Bunch
-
Run setup script
bash setup
-
Now you can run tmuxbunch from any directory by the command
tmuxbunch
For Android = 8.0 (OREO)
-
Goto hone directory
cd $HOME
-
Install axel
apt install axel
-
Download Tar file
axel https://github.com/Hax4us/Tmux-Bunch/releases/download/v2.7/Tmux-Bunch-2.7-oreo.tar.gz
-
Extract
tar -xf Tmux-Bunch-2.7-oreo.tar.gz
-
Enter into Tmux-Bunch
cd Tmux-Bunch
-
Run Setup script
bash setup
-
Now you can run tmuxbunch from any directory by the command
tmuxbunch
Usage :
[ New List of shortcuts ]
-
For decompiling,
—–> tbunch -d /path/to/apkname.apk -
For recompiling,
—–> tbunch -r -
For signing
—–> tbunch -s -
For zipaligning,
—–> tbunch -z /path/to/zipalign-apkname.apk -
For binding
—–> tbunch -b /path/to/original-apk.apk
[ End of Shortcuts ]
Decompile Apps
-
Move or copy your target apk to decompiler folder in Tmux-Bunch folder. For example , fb_lite.apk is my target apk or app so i will move/copy fb_lite.apk into decimpiler folder
cp /path/to/fb_lite.apk $HOME/Tmux-Bunch/decompiler
-
Now just run tmuxbunch
tmuxbunch
. - And select option 2 and enter to continue.
- Now you can see your target apk so just enter number of choice which is 1 in my case.
-
App is now decompiled in recompiler folder with same name i.e fb_lite.apk in my case (Don’t confused by the .apk extention of decompiled source , here .apk is just a name you can check by
cd fb_lite.apk
)
Recompile Apps
-
By taking same example as above now i have decompiled source in recompiler folder i.e fb_lite.apk (remember fb_lite.apk is not apk file , it is a folder here) So just play with source and after playing you have to rerun tmuxbunch
tmuxbunch
- Select option 3 and you can see now folder name which is fb_lite.apk in my case so i will enter 1 and boom :).
- App will be reompiled to unsign folder but wait work is not completed yet …
- Now you will have to sign your target apk to avoid package parse error while installing.
Sign Apk
- So we have our recompiled apk in unsign folder and now select option 4 .
- And enter number of choice which is 1 in my case.
- Hit ENTER and now you can pick your final signed app from sign folder.
Extra Feature Of Payload Binding With Legit Apps
- Move or copy your target app in binder folder.
-
Run tmuxbunch
tmuxbunch
. - Select 6 and you will get list of apks from binder folder , for example i copied fb_lite.apk in binder folder and selected 6 so i will see only one app in list which fb_lite.apk.
- Enter 1 or your desired choice and ENTER.
- Then wait 2-5 minutes while binding process.
- Now you can pick your final binded apk from embout folder.
Note :- Some apps cant be binded because of some reasons and some tested apps are Ccleaner, Terminal Emulator, Google Launcher, Fblite (Maybe only in aarch64), mini militia modded version etc 🙂
Using this ….You can play with apks source codes and also you can bind payloads with any apk.
Changes in v2.7
- Use termux apksigner
Changes in v2.6
- Use termux aapt
- Separate Two Variation For Oreo & below oreo users
Changes in v2.5
- Add oreo support
Changes in v2.4
- Added new shortcuts to quickly play around with tmuxbunch
Changes in v2.3
- Add persistence backdoor script
- Autochecking for binder folder if not exist so tool will create
Changes in v2.2
- Fix ld.so error
- Update Apktool from 2.2.0 to 2.2.2
Changes in v2.1
- Improve stability.
- Fixed some errors regarding apktool and signapk.
- Add new folder “embout”
- No need to sign your apk.