• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[APP][4.0.3+ & GB][XPOSED] ReceiverStop

Search This thread

defim

Senior Member
Feb 18, 2012
2,744
1,487
Allow only broadcasts you want for each app.
With this app you could prevent apps to receive broadcasts, e.g. "SD-card inserted" oder "W-Lan connected".
All with Android-18 shipped broadcast actions are integrated. Others will be collected from time to time and marked with an exclamation sign in the app.
Technical limiation: Actions wich are only sent and not received by any app could not be found.
Changed settings are applied after a reboot. For BOOT_COMPLETED please use the app BootManager.
To restrict system apps you have to donate. The key of "BootManager" is recognized by this app too!

Important:
This app needs the Xposed Framework. The framework requires root access for installation. Don't forget to enable the module in Xposed. You can grab it here: Xposed Installer

Donation:
  • No self-promotion in the app.
  • System apps could also be selected
  • Sorting by action, not only by app name
  • You support this app and further development!

Website: http://tinyurl.com/pkos9om
Play Store: http://tinyurl.com/p3dqxj2
Xposed Repository: http://tinyurl.com/q9u2l8o
Changelog: http://tinyurl.com/njov9yd

My personal intension to create this app:
There was no app which could do this :)


Translation:
You could find here a interface to translate the english strings: http://tinyurl.com/okycacj
A free account of www.oneskyapp.com is required to edit. Additional, please attach your email address or send it via PM ;)
 

Attachments

  • receiverstop0.jpg
    receiverstop0.jpg
    30 KB · Views: 9,293
  • receiverstop1.jpg
    receiverstop1.jpg
    29.4 KB · Views: 8,242
  • receiverstop2.jpg
    receiverstop2.jpg
    31.7 KB · Views: 7,849
  • receiverstop3.jpg
    receiverstop3.jpg
    59.2 KB · Views: 6,942
Last edited:

Dr.Alexander_Breen

Senior Member
Jun 17, 2012
439
1,072
Kudos to you! This is great for development purposes!

However, you must warn the user that disabling Broadcast for some app just because he[user] thinks that might be a good idea is bad and user should think twice, as disabled Broadcast can result in a vary of results - from no effect to system crash.

For example, your favorite launcher is listening for the broadcast for call state. You're thinking - Ah-ha, it's spying on me! And you disable the broadcast. And then you are surprised, why does Phone app icon stopped displaying missed calls.
 
Last edited:

defim

Senior Member
Feb 18, 2012
2,744
1,487
However, you must warn the user that disabling Broadcast for some app just because he[user] thinks that might be a good idea is bad and user should think twice, as disabled Broadcast can result in a vary of results - from no effect to system crash.

For example, your favorite launcher is listening for the broadcast for call state. You're thinking - Ah-ha, it's spying on me! And you disable the broadcast. And then you are surprised, why does Phone app icon stopped displaying missed calls.

I'm not sure about wich i should warn, potentially are all dangerous to disable.
eg the brodcasts to update a widget are useless for you if you don't use a widget of the app. But you should not disable it if you are using the widget...
And some actions i do not even know, because the ReceiverStop collects them if you are using your apps...

Btw, the release of today shows a logfile with newly added actions.
 

Dr.Alexander_Breen

Senior Member
Jun 17, 2012
439
1,072
I'm not sure about wich i should warn, potentially are all dangerous to disable.
eg the brodcasts to update a widget are useless for you if you don't use a widget of the app. But you should not disable it if you are using the widget...
And some actions i do not even know, because the ReceiverStop collects them if you are using your apps...

Btw, the release of today shows a logfile with newly added actions.

No, you must not warn out every broadcast. Virtially, there is infinite set of them, as I can create my own broadcast as easy as 1-2-3. Just show the warning at the start that it's better not to meddle with the system app's broadcasts and that even user-installed apps can cause side effects without some broadcasts.
 
  • Like
Reactions: defim

defim

Senior Member
Feb 18, 2012
2,744
1,487
No, you must not warn out every broadcast. Virtially, there is infinite set of them, as I can create my own broadcast as easy as 1-2-3. Just show the warning at the start that it's better not to meddle with the system app's broadcasts and that even user-installed apps can cause side effects without some broadcasts.

Warn about all? Good point :D
I'm wondering where's the best place. At startup is the changelog shown (if updated) and a message about xposed, if not installed/active. So it could be nothing is been read...
 
Last edited:

Looki75

Senior Member
Apr 1, 2010
1,708
1,443
To restrict system apps you have to donate.

How to donate? I click the bottom part within the module - no reaction whatsoever...

Edit: ok, that was through the website. I donated and received the key file! :good:

But... why "Maps" is not is the list of apps...?

Thanks...
 
Last edited:

defim

Senior Member
Feb 18, 2012
2,744
1,487
How to donate? I click the bottom part within the module - no reaction whatsoever...

Edit: ok, that was through the website. I donated and received the key file! :good:

But... why "Maps" is not is the list of apps...?

Thanks...

Hi, i've planned to put donator apps for each app to the market, but had not time yet.
If a app is not shown, no receivers are detected for it unitl now. You could do:
1) show all apps by enable in settings. Then you have only the option to "diable all, even unknown"
2) or open (in this case) Maps and wait. If it gets a broadcast ReceiverStop adds it to internal list and 1) is not needed
Adding new receiver actions are always logged, independet if logging of allowed/denied is enabled


No, you must not warn out every broadcast. Virtially, there is infinite set of them, as I can create my own broadcast as easy as 1-2-3. Just show the warning at the start that it's better not to meddle with the system app's broadcasts and that even user-installed apps can cause side effects without some broadcasts.

I've added a warning dialog in the latest version
 
  • Like
Reactions: Looki75

Looki75

Senior Member
Apr 1, 2010
1,708
1,443
Hi, i've planned to put donator apps for each app to the market, but had not time yet.

How will then work the donation I made? Is there a possibility for me to appear like I bought the donation app?
This way, in case I wipe the phone, I can download from play store the donation app and don't need to bother you with e-mails "hey give me again the license file..."...

And will the donation app work as well for both "bootmanager" and "stopreceiver"?

If a app is not shown, no receivers are detected for it unitl now. You could do:
1) show all apps by enable in settings. Then you have only the option to "diable all, even unknown"
2) or open (in this case) Maps and wait. If it gets a broadcast ReceiverStop adds it to internal list and 1) is not needed
Adding new receiver actions are always logged, independet if logging of allowed/denied is enabled

Strange... I did "show all apps" and Maps is here. This is OK.
But the yellow "!" appears side to it... doesn't it mean that receivers were used?
But at the same time, when I click on Maps, there is only the "stop all" line... that sounds not consistent...???

Maybe a sign of a bug?

Anyway, very good job! THANKS!!!
 

defim

Senior Member
Feb 18, 2012
2,744
1,487
@Looki75:
I'm not sure yet of the donation apps. But i think it should be again 1 app for the 2.

On the 1st view are packages shown, system apps have a "!" -> could be more dangerous to change sth
On the 2nd view with the receivers of each app, evere action which is a custom action (= not listed in broadcast_actions.txt of Android platform-18 sdk) has a "!". These non-default actions have to be collected by the app.
So it's consistent :) Maybe not the same icon for both would be better...

Are you sure Maps receives broadcasts? I tried to get Manifest.xml by the apk, but apktool failed -.-
 

Looki75

Senior Member
Apr 1, 2010
1,708
1,443
@Looki75:
I'm not sure yet of the donation apps. But i think it should be again 1 app for the 2.

On the 1st view are packages shown, system apps have a "!" -> could be more dangerous to change sth
On the 2nd view with the receivers of each app, evere action which is a custom action (= not listed in broadcast_actions.txt of Android platform-18 sdk) has a "!". These non-default actions have to be collected by the app.
So it's consistent :) Maybe not the same icon for both would be better...

Are you sure Maps receives broadcasts? I tried to get Manifest.xml by the apk, but apktool failed -.-

Ok... I think I understand... your module is about BROADCASTS... I'm not a dev and not familiar with these... but is it the same than Autostarts (https://play.google.com/store/apps/details?id=com.elsdoerfer.android.autostarts)?

My dream is to have the exact same functions than Autostarts in an Xposed module.
You might wonder why... well as strange as it sounds, I have Xposed framework but I am un-rooted. So I can use modules, but I can't use Autostarts for example...

I thought your module would be this "similar", but there are more stuff shown in Autostarts than is your module...

You talk about "broadcasts" and Autostarts or similar (root toolbox for example) talk about "receivers for certain events"... is there a difference?
Is it a big deal to expand the scope of your module to equal Autostarts functions?

Thanks for your help!
 
Last edited:

defim

Senior Member
Feb 18, 2012
2,744
1,487
@Looki75:
After talking a look at the screenshots of Autostarts, it seems that these are all broadcast receivers, so the apps should do the same (with other methods: root/xposed). My app has no nice-names for the action names. So i wonder how Autostarts shows receiver names which a apps creates by its own? Which actions did you miss exactly in my app? Maybe they are not related to broadcats.
I think extending ReceiverStop is not so a good idea, because it's only for intercept receiving broadcasts of app. But maybe a seperate app. I used LBE some time and I didn't like that it has much things i did not need.
 

Looki75

Senior Member
Apr 1, 2010
1,708
1,443
@Looki75:
After talking a look at the screenshots of Autostarts, it seems that these are all broadcast receivers, so the apps should do the same (with other methods: root/xposed). My app has no nice-names for the action names. So i wonder how Autostarts shows receiver names which a apps creates by its own? Which actions did you miss exactly in my app? Maybe they are not related to broadcats.
I think extending ReceiverStop is not so a good idea, because it's only for intercept receiving broadcasts of app. But maybe a seperate app. I used LBE some time and I didn't like that it has much things i did not need.

When you look at these:
http://forum.xda-developers.com/showpost.php?p=35634745&postcount=11040
http://forum.xda-developers.com/showpost.php?p=29420959&postcount=7059

it seems that MAPS has much more than that...

However, I just installed Autosarts on my phone and it shows nothing, just like in your module...

So I guess we're ok.

Thanks!
 

defim

Senior Member
Feb 18, 2012
2,744
1,487
When you look at these:
http://forum.xda-developers.com/showpost.php?p=35634745&postcount=11040
http://forum.xda-developers.com/showpost.php?p=29420959&postcount=7059

it seems that MAPS has much more than that...

However, I just installed Autosarts on my phone and it shows nothing, just like in your module...

So I guess we're ok.

Thanks!

I don't know what this other app does. Maybe it shows sometimes simply all recevers for every app.
But I know that ReceiverStop shows per app the specific actions.
 

sireddie

Member
Nov 18, 2013
44
16
I'm looking for a way to disable SMS and missed calls notifications from appearing on the stock (clock) lock screen widget on my rooted Note 3 (running 4.3). Could this tool acheive this and if so, how?

The following entries were logged when not answering a call and a call notification is shown on the lock screen:
[ReceiverStop] 2013-11-22 15:07:20 handle not: com.sec.android.SimpleWidget - android.intent.action.USER_PRESENT
[ReceiverStop] 2013-11-22 15:07:20 handle not: netgenius.bizcal - android.intent.action.USER_PRESENT
[ReceiverStop] 2013-11-22 15:07:20 handle not: netgenius.bizcal - android.intent.action.USER_PRESENT
[ReceiverStop] 2013-11-22 15:07:20 handle not: netgenius.bizcal - android.intent.action.USER_PRESENT
[ReceiverStop] 2013-11-22 15:07:20 handle not: netgenius.bizcal - android.intent.action.USER_PRESENT
[ReceiverStop] 2013-11-22 15:07:20 handle not: com.umang.dashnotifier - android.intent.action.USER_PRESENT
[ReceiverStop] 2013-11-22 15:07:20 handle not: com.roymam.android.notificationswidget - android.intent.action.USER_PRESENT
[ReceiverStop] 2013-11-22 15:07:20 handle not: com.sec.android.app.controlpanel - android.intent.action.PACKAGE_RESTARTED

Would I simply be able to disable android.intent.action.USER_PRESENT in the SimpleWidget app to disable the SMS being displayed in the lock screen?

What is the risk of trying this out?

Happy to donate if this will do the above.

Thanks,

Eddie
 

defim

Senior Member
Feb 18, 2012
2,744
1,487
@sireddie:
I think android.intent.action.USER_PRESENT is not the right action.
From http://developer.android.com/reference/android/content/Intent.html:
Broadcast Action: Sent when the user is present after device wakes up (e.g when the keyguard is gone).
Just open ReceiverStop and look which actions are listed for the app. I'm using "SMS Unread Count" widget, which has only android.appwidget.action.APP_WIDGET_UPDATE, so this could be the right. (I've blocked APP_WIDGET_UPDATE for all apps i'm using, but without widget)

Risk? I think it's low. It could be that something does not anymore what you expected :) To be save, do a android backup - i've never needed one
 

katada1

Member
Nov 14, 2013
9
0
Dear friend!
The receiver "android.provider.Telephony.SMS_RECEIVED" is blocked
But receiver "android.provider.telephony.SMS_RECEIVED" is constantly being allowed
("Telephony" vs. "telephony")
Please fix it! Viber application is listening to both of them!
 
Last edited:

defim

Senior Member
Feb 18, 2012
2,744
1,487
Dear friend!
The receiver "android.provider.Telephony.SMS_RECEIVED" is blocked
But receiver "android.provider.telephony.SMS_RECEIVED" is constantly being allowed
("Telephony" vs. "telephony")
Please fix it! Viber application is listening to both of them!

Yes, Viber could receive both. ReceiverStop collects all receiver actions it could get on your device. If you open the GUI it build a list of apps and their receiver. If one receiver is missing, it was never been seen on your device. So it should not be a problem. Btw, if you select "deny all", this will also handle never seen before receiver.
Does you know which app should send this misspelled "android.provider.telephony.SMS_RECEIVED"?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 37
    Allow only broadcasts you want for each app.
    With this app you could prevent apps to receive broadcasts, e.g. "SD-card inserted" oder "W-Lan connected".
    All with Android-18 shipped broadcast actions are integrated. Others will be collected from time to time and marked with an exclamation sign in the app.
    Technical limiation: Actions wich are only sent and not received by any app could not be found.
    Changed settings are applied after a reboot. For BOOT_COMPLETED please use the app BootManager.
    To restrict system apps you have to donate. The key of "BootManager" is recognized by this app too!

    Important:
    This app needs the Xposed Framework. The framework requires root access for installation. Don't forget to enable the module in Xposed. You can grab it here: Xposed Installer

    Donation:
    • No self-promotion in the app.
    • System apps could also be selected
    • Sorting by action, not only by app name
    • You support this app and further development!

    Website: http://tinyurl.com/pkos9om
    Play Store: http://tinyurl.com/p3dqxj2
    Xposed Repository: http://tinyurl.com/q9u2l8o
    Changelog: http://tinyurl.com/njov9yd

    My personal intension to create this app:
    There was no app which could do this :)


    Translation:
    You could find here a interface to translate the english strings: http://tinyurl.com/okycacj
    A free account of www.oneskyapp.com is required to edit. Additional, please attach your email address or send it via PM ;)
    4
    Kudos to you! This is great for development purposes!

    However, you must warn the user that disabling Broadcast for some app just because he[user] thinks that might be a good idea is bad and user should think twice, as disabled Broadcast can result in a vary of results - from no effect to system crash.

    For example, your favorite launcher is listening for the broadcast for call state. You're thinking - Ah-ha, it's spying on me! And you disable the broadcast. And then you are surprised, why does Phone app icon stopped displaying missed calls.
    1
    great thanks for that :good:
    1
    I'm not sure about wich i should warn, potentially are all dangerous to disable.
    eg the brodcasts to update a widget are useless for you if you don't use a widget of the app. But you should not disable it if you are using the widget...
    And some actions i do not even know, because the ReceiverStop collects them if you are using your apps...

    Btw, the release of today shows a logfile with newly added actions.

    No, you must not warn out every broadcast. Virtially, there is infinite set of them, as I can create my own broadcast as easy as 1-2-3. Just show the warning at the start that it's better not to meddle with the system app's broadcasts and that even user-installed apps can cause side effects without some broadcasts.
    1
    How to donate? I click the bottom part within the module - no reaction whatsoever...

    Edit: ok, that was through the website. I donated and received the key file! :good:

    But... why "Maps" is not is the list of apps...?

    Thanks...

    Hi, i've planned to put donator apps for each app to the market, but had not time yet.
    If a app is not shown, no receivers are detected for it unitl now. You could do:
    1) show all apps by enable in settings. Then you have only the option to "diable all, even unknown"
    2) or open (in this case) Maps and wait. If it gets a broadcast ReceiverStop adds it to internal list and 1) is not needed
    Adding new receiver actions are always logged, independet if logging of allowed/denied is enabled


    No, you must not warn out every broadcast. Virtially, there is infinite set of them, as I can create my own broadcast as easy as 1-2-3. Just show the warning at the start that it's better not to meddle with the system app's broadcasts and that even user-installed apps can cause side effects without some broadcasts.

    I've added a warning dialog in the latest version