FORUMS
Remove All Ads from XDA

Support SMS Blocker on Android 4.4(KitKat)

103 posts
Thanks Meter: 151
 
By aliuwr, Senior Member on 22nd August 2014, 02:17 AM
Post Reply Email Thread
27th April 2015, 03:38 AM |#71  
Junior Member
Thanks Meter: 0
 
More
source code please
Any chance you could post the source up on github?
 
 
28th April 2015, 11:42 AM |#72  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by Faateh

Any specific reason why it is not working with lollipop?
The default sms application receives the notification of sms along the blocker app

Right. Tried on lollipop and the default sms application receives the notification of sms along the blocker app.
Anyway to make it work?
29th April 2015, 02:50 AM |#73  
OP Senior Member
Thanks Meter: 151
 
Donate to Me
More
Quote:
Originally Posted by Faateh

Any specific reason why it is not working with lollipop?
The default sms application receives the notification of sms along the blocker app

Just cause I have not tested on Lollipop, so I limit it to runs only in KitKat.
I just uploaded newer version into repo that remove the limit, and I have not test yet. use at your own risk.
29th April 2015, 02:50 AM |#74  
OP Senior Member
Thanks Meter: 151
 
Donate to Me
More
Quote:
Originally Posted by anhvu100

Right. Tried on lollipop and the default sms application receives the notification of sms along the blocker app.
Anyway to make it work?

I just uploaded newer version into repo that remove the limit, and I have not test yet. use at your own risk.
30th April 2015, 05:38 AM |#75  
RSDamasceno's Avatar
Senior Member
Flag Rio de Janeiro
Thanks Meter: 321
 
More
Could someone show me some SMS blocker to Lollipop having the ability to block SMS via keywords?

----
Moto Maxx - XT1225
Xposed Stock Android 5.0.2
4th May 2015, 01:29 PM |#76  
Junior Member
Thanks Meter: 0
 
More
Hey aliuwr, I tried the latest version from repo on 5.0.2 but result still the same: both blocker and the default SMS received the msg. If you'd like to debug, pls enable logging in xposed and I will test.

to RSDamasceno: I used Black List Pro and it enables blocking via keywords.
8th May 2015, 10:25 AM |#77  
Junior Member
Thanks Meter: 0
 
More
Hi aliuwr,

I checked the log and here is the error text on Lollipop 5.0.2:
Loading class com.czbix.xposed.kitkat_sms_patch.Patch
java.lang.NoSuchMethodError: com.android.internal.telephony.InboundSmsHandler#d ispatchIntent(android.content.Intent,java.lang.Str ing,int,android.content.BroadcastReceiver)#exact
at de.robv.android.xposed.XposedHelpers.findMethodExa ct(XposedHelpers.java:181)
at de.robv.android.xposed.XposedHelpers.findAndHookMe thod(XposedHelpers.java:131)
at com.czbix.xposed.kitkat_sms_patch.Patch.initZygote (Unknown Source)


I found that on Lollipop, the dispatchIntent includes UserHandle as the last parameter as shown below:
protected void dispatchIntent(Intent intent, String permission, int appOp, BroadcastReceiver resultReceiver, UserHandle user)

Can you try to make a module for Lollipop? Spam SMS messages are killing me
8th May 2015, 11:07 AM |#78  
OP Senior Member
Thanks Meter: 151
 
Donate to Me
More
Quote:
Originally Posted by anhvu100

Hi aliuwr,

I checked the log and here is the error text on Lollipop 5.0.2:
Loading class com.czbix.xposed.kitkat_sms_patch.Patch
java.lang.NoSuchMethodError: com.android.internal.telephony.InboundSmsHandler#d ispatchIntent(android.content.Intent,java.lang.Str ing,int,android.content.BroadcastReceiver)#exact
at de.robv.android.xposed.XposedHelpers.findMethodExa ct(XposedHelpers.java:181)
at de.robv.android.xposed.XposedHelpers.findAndHookMe thod(XposedHelpers.java:131)
at com.czbix.xposed.kitkat_sms_patch.Patch.initZygote (Unknown Source)


I found that on Lollipop, the dispatchIntent includes UserHandle as the last parameter as shown below:
protected void dispatchIntent(Intent intent, String permission, int appOp, BroadcastReceiver resultReceiver, UserHandle user)

Can you try to make a module for Lollipop? Spam SMS messages are killing me

Very thanks for your report with log, please try this: https://copy.com/A43eTe2JMSLlYMma
8th May 2015, 04:43 PM |#79  
Junior Member
Thanks Meter: 0
 
More
Tried and still see the error log below. Spam SMS is still shown on both SMS blocker and SMS default app.

05-08 22:29:36.816 I/Xposed ( 304): Loading modules from /data/app/com.czbix.xposed.kitkat_sms_patch-1/base.apk
05-08 22:29:36.976 I/Xposed ( 304): Loading class com.czbix.xposed.kitkat_sms_patch.Patch
05-08 22:29:37.026 E/Xposed ( 304): java.lang.NoSuchMethodError: com.android.internal.telephony.InboundSmsHandler#d ispatchIntent(android.content.Intent,java.lang.Str ing,int,android.content.BroadcastReceiver)#exact
05-08 22:29:37.026 E/Xposed ( 304): at de.robv.android.xposed.XposedHelpers.findMethodExa ct(XposedHelpers.java:181)
05-08 22:29:37.026 E/Xposed ( 304): at de.robv.android.xposed.XposedHelpers.findAndHookMe thod(XposedHelpers.java:131)
05-08 22:29:37.026 E/Xposed ( 304): at com.czbix.xposed.kitkat_sms_patch.Patch.initZygote (Unknown Source)
05-08 22:29:37.026 E/Xposed ( 304): at de.robv.android.xposed.XposedBridge.loadModule(Xpo sedBridge.java:498)
05-08 22:29:37.026 E/Xposed ( 304): at de.robv.android.xposed.XposedBridge.loadModules(Xp osedBridge.java:447)
05-08 22:29:37.026 E/Xposed ( 304): at de.robv.android.xposed.XposedBridge.main(XposedBri dge.java:105)
9th May 2015, 02:09 PM |#80  
OP Senior Member
Thanks Meter: 151
 
Donate to Me
More
Quote:
Originally Posted by anhvu100

Tried and still see the error log below. Spam SMS is still shown on both SMS blocker and SMS default app.

05-08 22:29:36.816 I/Xposed ( 304): Loading modules from /data/app/com.czbix.xposed.kitkat_sms_patch-1/base.apk
05-08 22:29:36.976 I/Xposed ( 304): Loading class com.czbix.xposed.kitkat_sms_patch.Patch
05-08 22:29:37.026 E/Xposed ( 304): java.lang.NoSuchMethodError: com.android.internal.telephony.InboundSmsHandler#d ispatchIntent(android.content.Intent,java.lang.Str ing,int,android.content.BroadcastReceiver)#exact
05-08 22:29:37.026 E/Xposed ( 304): at de.robv.android.xposed.XposedHelpers.findMethodExa ct(XposedHelpers.java:181)
05-08 22:29:37.026 E/Xposed ( 304): at de.robv.android.xposed.XposedHelpers.findAndHookMe thod(XposedHelpers.java:131)
05-08 22:29:37.026 E/Xposed ( 304): at com.czbix.xposed.kitkat_sms_patch.Patch.initZygote (Unknown Source)
05-08 22:29:37.026 E/Xposed ( 304): at de.robv.android.xposed.XposedBridge.loadModule(Xpo sedBridge.java:498)
05-08 22:29:37.026 E/Xposed ( 304): at de.robv.android.xposed.XposedBridge.loadModules(Xp osedBridge.java:447)
05-08 22:29:37.026 E/Xposed ( 304): at de.robv.android.xposed.XposedBridge.main(XposedBri dge.java:105)

I updated the file, please try again. https://copy.com/A43eTe2JMSLlYMma
9th May 2015, 04:41 PM |#81  
Junior Member
Thanks Meter: 0
 
More
Did a quick test and confirmed it works now. Thanks Aliuwr.
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes