I have tried all the things written above, but I have com up with a solution that doesn't involve any simply because they didn't work.
These random pop ups can be caused by either:
a) com.android.comp.download which is a shady service that runs in the background
b) an app called QuickSearch that...