erfanoabdi/ErfanGSIs — reverse-engineered prompt
Reverse engineered prompt
Build me a simple Linux or Mac command line tool that can turn a stock Android firmware download link into a flashable Generic System Image. I want to paste in a firmware URL, give it a ROM name like OxygenOS, and have the tool download what it needs, unpack the firmware, run the required conversion scripts, and produce the final GSI output in a clear folder.
Please include an easy setup script for installing requirements, a main script for URL to GSI generation, and clear terminal messages so a normal user knows what is happening and what to do next. It should support firmware from different phone brands when possible, use bundled tools or downloaded tools where needed, and keep the workflow close to clone repo, run setup, then run one command with the firmware URL.
Add a short README with the requirements, setup steps, an example command, and links or notes for where released GSIs could be shared.
Want more depth? Deep Reverse