FORUMS
Remove All Ads from XDA

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

2,742 posts
Thanks Meter: 1,498
 
By defim, Senior Member on 10th September 2013, 07:49 AM
Post Reply Email Thread
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
Attached Thumbnails
Click image for larger version

Name:	receiverstop0.jpg
Views:	8941
Size:	30.0 KB
ID:	2262425   Click image for larger version

Name:	receiverstop1.jpg
Views:	7904
Size:	29.4 KB
ID:	2262426   Click image for larger version

Name:	receiverstop2.jpg
Views:	7520
Size:	31.7 KB
ID:	2262427   Click image for larger version

Name:	receiverstop3.jpg
Views:	6673
Size:	59.2 KB
ID:	2262428  
The Following 37 Users Say Thank You to defim For This Useful Post: [ View ] Gift defim Ad-Free
 
 
16th September 2013, 05:35 AM |#2  
Dr.Alexander_Breen's Avatar
Senior Member
Thanks Meter: 1,081
 
Donate to Me
More
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.
The Following 4 Users Say Thank You to Dr.Alexander_Breen For This Useful Post: [ View ] Gift Dr.Alexander_Breen Ad-Free
16th September 2013, 02:50 PM |#3  
krishna fattepurkar's Avatar
Junior Member
Flag latur
Thanks Meter: 5
 
More
great thanks for that
The Following User Says Thank You to krishna fattepurkar For This Useful Post: [ View ] Gift krishna fattepurkar Ad-Free
16th September 2013, 10:14 PM |#4  
defim's Avatar
OP Senior Member
Thanks Meter: 1,498
 
More
Quote:
Originally Posted by Dr.Alexander_Breen


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.
17th September 2013, 07:20 AM |#5  
Dr.Alexander_Breen's Avatar
Senior Member
Thanks Meter: 1,081
 
Donate to Me
More
Quote:
Originally Posted by defim

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.
The Following User Says Thank You to Dr.Alexander_Breen For This Useful Post: [ View ] Gift Dr.Alexander_Breen Ad-Free
17th September 2013, 08:18 PM |#6  
defim's Avatar
OP Senior Member
Thanks Meter: 1,498
 
More
Quote:
Originally Posted by Dr.Alexander_Breen

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
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...
18th September 2013, 08:58 PM |#7  
Looki75's Avatar
Senior Member
Thanks Meter: 1,190
 
Donate to Me
More
Quote:
Originally Posted by defim

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!

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

Thanks...
19th September 2013, 11:10 PM |#8  
defim's Avatar
OP Senior Member
Thanks Meter: 1,498
 
More
Quote:
Originally Posted by Looki75

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!

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


Quote:
Originally Posted by Dr.Alexander_Breen

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
The Following User Says Thank You to defim For This Useful Post: [ View ] Gift defim Ad-Free
20th September 2013, 07:48 AM |#9  
Looki75's Avatar
Senior Member
Thanks Meter: 1,190
 
Donate to Me
More
Quote:
Originally Posted by defim

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"?

Quote:
Originally Posted by defim

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!!!
20th September 2013, 09:12 AM |#10  
defim's Avatar
OP Senior Member
Thanks Meter: 1,498
 
More
@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 -.-
20th September 2013, 09:58 AM |#11  
Looki75's Avatar
Senior Member
Thanks Meter: 1,190
 
Donate to Me
More
Quote:
Originally Posted by defim

@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/d...oid.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!
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