Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,739,099 Members 45,740 Now Online
XDA Developers Android and Mobile Development Forum

[SOLVED] Disable app connection to internet

Tip us?
 
spetzuu
Old
(Last edited by spetzuu; 4th February 2014 at 03:21 AM.)
#1  
spetzuu's Avatar
Senior Member - OP
Thanks Meter 23
Posts: 216
Join Date: May 2012
Location: Sioux Falls
Default [SOLVED] Disable app connection to internet

Ok so I installed lucky patcher and I am wondering if its possible to get rid of all access to internet for a particle app.

And if I can't do it with lucky patcher can someone point me in the direction of how I can do it?

Thanks ahead of time!

Sent from my Russian AK-57
 
bftb0
Old
#2  
Senior Member
Thanks Meter 794
Posts: 2,120
Join Date: Feb 2010
Given the intended purpose of that "l.p." app, it is not obvious that anyone on XDA should help you - potentially that is the same thing as assisting someone who is trying to defraud a software developer.

Having said that though, I'll assume that you are merely a researcher.

1) You can repackage the app by only modifying it's Android manifest to remove networking privileges, and repackage it by signing with your own key. (A researcher would never redistribute such an .apk however, as that would not only be fraud, but theft as well).

2) The above alone will likely cause a failure in the application's code - possibly even a FC. Even if it does not cause a complete app failure, there is nothing that prevents an app's internal state & control from being contingent on results from network communication. So (for instance) the only away around something like
Code:
Select Code
if ( network_checks_pass() ) { good_stuff(); }
(assuming a soft-fault in network_checks_pass(), rather than a FC)

would be to reverse the code, modify it, and recompile it (in addition to the privilege changes in the manifest). For that you probably want small/baksmali and some coding skills.


Again, to be perfectly clear: a researcher would never redistribute such an .apk however, as that would not only be fraud, but theft as well. Using a paid app for it's intended purpose without compensating the developer is fraud, plain and simple.

About the only time such behaviors are acceptable is if you modify an app that you have already paid for - and then you keep it for only your private use.

good luck

.
"I'm gonna start coding placebo apps. That way I will be sure that the complaints are real and the praises hollow."
The Following User Says Thank You to bftb0 For This Useful Post: [ Click to Expand ]
 
Flying_Hellfish
Old
#3  
Junior Member
Thanks Meter 2
Posts: 18
Join Date: Jun 2010
You can take away any permissions with the xprivacy module in xposed.
The Following User Says Thank You to Flying_Hellfish For This Useful Post: [ Click to Expand ]
 
spetzuu
Old
#4  
spetzuu's Avatar
Senior Member - OP
Thanks Meter 23
Posts: 216
Join Date: May 2012
Location: Sioux Falls
Quote:
Originally Posted by bftb0 View Post
Given the intended purpose of that "l.p." app, it is not obvious that anyone on XDA should help you - potentially that is the same thing as assisting someone who is trying to defraud a software developer.

Having said that though, I'll assume that you are merely a researcher.

1) You can repackage the app by only modifying it's Android manifest to remove networking privileges, and repackage it by signing with your own key. (A researcher would never redistribute such an .apk however, as that would not only be fraud, but theft as well).

2) The above alone will likely cause a failure in the application's code - possibly even a FC. Even if it does not cause a complete app failure, there is nothing that prevents an app's internal state & control from being contingent on results from network communication. So (for instance) the only away around something like
Code:
Select Code
if ( network_checks_pass() ) { good_stuff(); }
(assuming a soft-fault in network_checks_pass(), rather than a FC)

would be to reverse the code, modify it, and recompile it (in addition to the privilege changes in the manifest). For that you probably want small/baksmali and some coding skills.


Again, to be perfectly clear: a researcher would never redistribute such an .apk however, as that would not only be fraud, but theft as well. Using a paid app for it's intended purpose without compensating the developer is fraud, plain and simple.

About the only time such behaviors are acceptable is if you modify an app that you have already paid for - and then you keep it for only your private use.

good luck

.

I need it for ad removal and unfortunately I can't follow what you're saying. Not at a level to understand that.




Quote:
Originally Posted by Flying_Hellfish View Post
You can take away any permissions with the xprivacy module in xposed.
Is it simple automated or needs some more knowledge on this topic to complete?

Sent from my Russian AK-57
 
spetzuu
Old
#5  
spetzuu's Avatar
Senior Member - OP
Thanks Meter 23
Posts: 216
Join Date: May 2012
Location: Sioux Falls
Quote:
Originally Posted by Flying_Hellfish View Post
You can take away any permissions with the xprivacy module in xposed.
Thanks man! This did the job for me!

Sent from my Russian AK-57
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes