Long story short, I deleted the org.grapheneos.gmscompat.config package through adb and now I realise that was a foolish mistake. The Google mirror option has disappeared from the Apps app home page (not in the All Packages page either).
I would like to bring back GmsCompatConfig and install the Google play services.
I know I can just do a full reset to recover it but I would like to avoid that if there is a better option.
Is there anyway to do this without reinstalling my OS?
The best thing I can think of is building it from source, but I would need some guidance on how to do that if it were a viable solution.
Thanks :)