salvogiangri / KnoxPatch

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

[ISSUE] Xposed log spam #75

Closed privacyguy123 closed 3 weeks ago

privacyguy123 commented 3 weeks ago

Device name:

Galaxy S20 FE

Device model number:

SM-G781B

OS version:

Android 13 (OneUI 5.1)

Software info:

G781BXXSCHXG1 EVR

Magisk/KernelSU version:

KSU 11971

Hook framework app:

LSPosed 1.9.2-it (7229)

KnoxPatch version:

v0.7.2

Steps to reproduce:

Have the module installed and read logs. modules_2024-10-23T20_42_32.008478.log

Expected behaviour:

Hopefully no errors.

Actual behaviour:

Error spam in logs.

Logs:

Attached.

salvogiangri commented 3 weeks ago

It can be ignored, the app already handles such exception. https://github.com/salvogiangri/KnoxPatch/blob/24d400763c77a3aa2e271a384339ba7cb182a8c6/app/src/main/java/io/mesalabs/knoxpatch/hooks/SamsungKeystoreHooks.kt#L41-L42

privacyguy123 commented 3 weeks ago

It can be ignored, the app already handles such exception.

https://github.com/salvogiangri/KnoxPatch/blob/24d400763c77a3aa2e271a384339ba7cb182a8c6/app/src/main/java/io/mesalabs/knoxpatch/hooks/SamsungKeystoreHooks.kt#L41-L42

Is there a reason why it spams over and over trying to do whatever it's trying to do? I would rather remove broken logic...

salvogiangri commented 3 weeks ago

The version of the SPCM app your device is running doesn't have the new logic which the hook takes care of, so it will just throw that everytime the hook is triggered. unticking "Samsung Cloud Platform Manager" in the LSPosed module settings is enough to get rid of it. If there's someone with a Samsung device running One UI 5.1.1 that could do some tests, I can think of enabling the logic only from this OS version onwards to avoid this.

privacyguy123 commented 3 weeks ago

Can't help there, I'm locked to 5.1 :/