If you want to flash firmware on android, you can try out my app (https://github.com/xCarlost/FirmwareFlasher), which uses esptool and a forked pyserial dependency.