Closed LuigiVampa92 closed 3 years ago
NekoSMS only really needs to hook com.android.phone
for SMS interception (we also hook our own package as a way to check that the module is loaded, but that is optional), and others have reported it working fine on Android 11 so I don't think it's a problem with method signature/package name, especially since you're on LineageOS which is pretty close to stock Android).
Normally NekoSMS should dump some initialization info into the logs when the module is loaded, which I don't see here. Did you enable NekoSMS for the com.android.phone
package? I know LSposed has some stuff to limit which packages a module is loaded into.
So I have managed to find out what was wrong. The problem truly was in the LSPosed mechanism that applies hooks only to selected apps. I had to mark "system framework", and also "com.android.messaging" and "com.android.mms.service". Now everything works. What's strange though that app drops absolutely no logs to xposed logs, but that's ok.
Thank you again! My problem is solved
Just FYI only com.android.phone
and com.crossbowffs.nekosms
are the only required ones; any other packages you hook don't do anything. See #74.
Can confirm NekoSMS does not work with only com.android.phone
selected, but it does work with both com.android.phone
and System Framework
selected.
Some information:
Hi, thank you for the great project! I used to enjoy using it on my device running LineageOS 17.1 (android 10) and EdXposed. Recenlty I have installed LineageOS 18.1, magisk, LSPosed and found out that NekoSMS doesn't work (other xposed modules do work).
My device:
Xposed logs:
Before attaching the logs above I have send an SMS to this device, and I had previously set blacklist rules that should catch a mesage with this text but It seems that there is no mentions in xposed logs at all. Perhaps it could be some problem with method signature or something, like method is not hooked at all or SMS package has some unexpected name. If I have some free time to see it closely, I will try to check it out as well and post here my results, but if you will manage to fix that would be really grateful.
Thank you again!