I have read lots about how to replace the original firmware and I might try some of these suggestions, but I really like the factory software and would want to restore it after my experiment. Someone please explain how to do this.
Would this work to Backup and and later re-Flash original ESP8266 Firmware using esptool.py?
Also read about esptool.py here : -
Of course I haven't confirmed this works. I'd probably test something like this on an esp8266-01. Take a snapshot of what's on it, upload some other firmware, then try restoring the original and see if it works.