ThePieMonster / ZygiskFakeEncryption

Sets system property to show data partition is encrypted.
GNU General Public License v3.0
2 stars 0 forks source link

Can't fake encryption for Health Connect #1

Open mvildosolae opened 2 weeks ago

mvildosolae commented 2 weeks ago

Google's Health Connect app requires encryption, but this module can't fake it.

It seems to check encryption in a different way than just checking the prop.

I tried snooping around with apktool, and Health Connect seems to call [this method from DevicePolicyManager](https://developer.android.com/reference/android/app/admin/DevicePolicyManager#getStorageEncryptionStatus()):

invoke-virtual {v0}, Landroid/app/admin/DevicePolicyManager;->getStorageEncryptionStatus()I

Perhaps something else could be done to trick it? Or maybe the answer lies in modding Health Connect instead.

ThePieMonster commented 2 weeks ago

Hello @mvildosolae. I just ran through the setup of Google Fit and Google Health Connect and I could use this fine. I am using a device setup that does support encryption (One Plus 7 Pro w/ TWRP) and have this module installed. I am not sure what issue you are facing but you will need to share a screenshot at the very least and even better if you can take a logcat dump.

Screenshot