I dont like what samsung is doing and it seems like their gallery app is likely stealing all my photo data to train ai. Whats a good foss alternative and how can I disable all that shit?

Fuck samsung. Getting rid of this phone soon.