Enable the Linux terminal on any Android device, and you can create or practice your bash scripting on the go.
In latest jadx version script support moved into external plugin and bundled with jadx, check this page for installation details. Each part of jadx script is executed at different time or stages.