[Galaxy S6 Q&A, Help & Troubleshooting] Mistiqe:
Hello my highly technical friends,

My missus is using my old international ver. of Galaxy S6 SM-920F, because she fell in love with it and doesn't think about swapping for anything else. But it looks like she might be forced to, because she's having serious problems with it:

1. All Google apps force close. Play Store, Maps, Gmail, Photos, Play Services, everything.

2. Apps like Signal or Telegram that rely on encryption, won't work properly, e.g. she gets "Bad encrypted message" in Signal.

3. Play Store works from time to time, but it's force closing when she wants to download apps.

She doesn't remember when the problems started, so I can't pinpoint what caused it. Unfortunately the device was rooted and she would often use it to install some shady apps like cleaners, ram boosters etc, so it might be a problem created by some malware. Logcat is throwing a lot of errors, googling them didn't bring any reliable answers, so I tried different ways to resolve it:

1. Wiped the device clean in TWRP, all partitions.

2. Installed custom ROM (ResurrectionRemix 8.1 and later 7.1) as a test and flashed it in TWRP, issues persist in clean install.

3. Installed custom ROM (AOSPExtended 8.1) as a test and flashed it in TWRP, issues persist in clean install.

4. Tried different versions of Opengapps - Pico, Nano, Mini, different build dates. Same issue.

5. Wiped again in TWRP, downloaded latest stock firmware from Sammobile (G920FXXU6ERC9) and flashed it in Odin 3.12.10. Issues persist in clean install.

6. Downloaded correct PIT file, flashed it in Odin, along with latest stock firmware from Sammobile. Same issue.

I'm running out of options. Issue isn't ROM related, neither Opengapps, as the issues persist in different ROMS, Gapps and even in stock. Looking at logcat, this might be the problem:

E/AndroidRuntime(20624): java.lang.SecurityException: GoogleCertificatesRslt: not whitelisted: pkg=com.google.android.apps.photos, sha1=24bb24c05e47e0aefa68a58a766179d9b613a600, atk=false, ver=12685023.true
E/AndroidRuntime(20624): java.lang.SecurityException: GoogleCertificatesRslt: not whitelisted: pkg=com.android.vending, sha1=38918a453d07199354f8b19af05ec6562ced5788, atk=false, ver=12685023.true
E/AndroidRuntime(21286): java.lang.SecurityException: GoogleCertificatesRslt: not whitelisted: pkg=com.google.android.googlequicksearchbox, sha1=38918a453d07199354f8b19af05ec6562ced5788, atk=false, ver=12685023.true
E/AndroidRuntime(11308): java.lang.SecurityException: GoogleCertificatesRslt: not whitelisted: pkg=com.google.android.gm, sha1=38918a453d07199354f8b19af05ec6562ced5788, atk=false, ver=12685023.true
W/System.err(12435): java.lang.SecurityException: GoogleCertificatesRslt: not whitelisted: pkg=com.google.android.apps.maps, sha1=38918a453d07199354f8b19af05ec6562ced5788, atk=false, ver=12685023.true

But there are many more warnings and errors, which you can see in the attached logcats. It's taken on Android 7.0, baseband G920FXXU6ERC2, build NRD90M.G920FXXU6ERC9, SELinux enforcing, patch level 1 March 2018, Knox Active...but I don't think it matters. What else can I do with this?

Erm...how do I attach files on desktop? I don't see the option anywhere. Here are links to external provider, but only because I can't attach it here.

https://pastebin.com/6732xWn1

https://pastebin.com/DGbz0sMf