salvogiangri / KnoxPatch

LSPosed module to get Samsung apps/features working again in your rooted Galaxy device.
GNU General Public License v3.0
759 stars 31 forks source link

Health Connect #35

Closed diegoauyon-styleseat closed 1 year ago

diegoauyon-styleseat commented 1 year ago

Not sure if here is the correct project to ask. But I'm using the Dr.Ketan rom for a Samsung s23 phone to accomplish root.

I want to use Samsung Health with Health Connect. But when I try to set it a message that encryption is needed for this. Screenshot_20230720_104620_Health Connect.jpg

It is possible to add a patch for this over this project? I guess hiding the encryption property over the phone would fix this. I apologize in advance if my question is out of scope of this project

salvogiangri commented 1 year ago

Unfortunately yes, this is not a Samsung app so I don't plan on adding support for it in the module. Apart from that, spoofing the crypto status in the app should be possible since the app simply uses DevicePolicyManager.getStorageEncryptionStatus() to [check for the device crypto status](https://developer.android.com/reference/android/app/admin/DevicePolicyManager#getStorageEncryptionStatus()), maybe there's another module that could spoof this... ? Anyway, is there any specific reason why you did disable encryption in your device?