backdoor-apk is a shell script that simplifies the process of adding a backdoor to any Android APK file. Users of this shell script should have working knowledge of Linux, Bash, Metasploit, Apktool, the Android SDK, smali, etc. This shell script is provided as-is without warranty of any kind and is intended for educational purposes only.
hi , i am just posting to say that backdoor-apk was implemented in TheFatRat Tool at : here : https://github.com/peterpt/TheFatRat/
and here : https://github.com/Screetsec/TheFatRat
we made some changes to your code to be able to work with fatrat .