FriendlyNeighborhoodShane/MinMicroG ? reverse-engineered prompt
Reverse engineered prompt
Build me a simple installer package for microG that I can flash on Android, with a few different variants so I can choose a more full setup or a minimal one. It should be able to install either into the system partition or as a Magisk or KernelSU style module, and it should also support uninstalling itself cleanly.
I want the build scripts to download the needed assets, assemble the zip files, and put the finished packages in a releases folder. It should handle the common mobile CPU types and work on older Android versions too, as far back as possible. If you can, add a way to name the zip to control whether it installs to system or removes itself, and make sure it backs up anything it needs so flashing a ROM later does not break everything.
Look up any current docs online if you need to, and keep the scripts easy to run from the command line.
Are you gonna build this?
make sure you review the code using coderabbit