Post Reply

[SOLVED] Disable app connection to internet

3rd February 2014, 08:25 PM   |  #1  
spetzuu's Avatar
OP Senior Member
Sioux Falls
Thanks Meter: 23
 
216 posts
Join Date:Joined: May 2012
More
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
Last edited by spetzuu; 4th February 2014 at 03:21 AM.
3rd February 2014, 09:09 PM   |  #2  
Senior Member
Thanks Meter: 797
 
2,122 posts
Join Date:Joined: 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:
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

.
The Following User Says Thank You to bftb0 For This Useful Post: [ View ]
3rd February 2014, 10:34 PM   |  #3  
Junior Member
Thanks Meter: 2
 
18 posts
Join Date:Joined: 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: [ View ]
4th February 2014, 03:09 AM   |  #4  
spetzuu's Avatar
OP Senior Member
Sioux Falls
Thanks Meter: 23
 
216 posts
Join Date:Joined: May 2012
More
Quote:
Originally Posted by bftb0

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:
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

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
4th February 2014, 03:20 AM   |  #5  
spetzuu's Avatar
OP Senior Member
Sioux Falls
Thanks Meter: 23
 
216 posts
Join Date:Joined: May 2012
More
Quote:
Originally Posted by Flying_Hellfish

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
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools
Display Modes


Top Threads in Verizon Galaxy Note 3 Q&A, Help & Troubleshooting by ThreadRank