Prevent Data Access for an App - Android Q&A, Help & Troubleshooting

This seems simple enough and I though a quick search would set me straight, but I can't seem to find the answer to this.
Is there a way to prevent data access for individual apps? (both WiFi and 3/4G)
Essentially, I'm trying to block internet access for certain apps while the rest on the device is connected.
I'm running CM10.2 on a GS3.
Thanks in advance.

fua1 said:
This seems simple enough and I though a quick search would set me straight, but I can't seem to find the answer to this.
Is there a way to prevent data access for individual apps? (both WiFi and 3/4G)
Essentially, I'm trying to block internet access for certain apps while the rest on the device is connected.
I'm running CM10.2 on a GS3.
Thanks in advance.
Click to expand...
Click to collapse
You'll need to install the Xposed framework from here http://forum.xda-developers.com/show...php?p=24267797
After you have it installed, reboot so that the framework applies.
Then grab Xprivacy from here, http://forum.xda-developers.com/showthread.php?t=2320783
Install Xprivacy then go back to the framework, it is installed as an app, select modules, enable Xprivacy, reboot the phone.
After your phone is done rebooting, open Xprivacy from the app drawer, it may ask for root, allow it, Find your app, Disable it's data connectivity, Annnnnnd profit? Cheers!

Critical Detox said:
You'll need to install the Xposed framework from here http://forum.xda-developers.com/show...php?p=24267797
After you have it installed, reboot so that the framework applies.
Then grab Xprivacy from here, http://forum.xda-developers.com/showthread.php?t=2320783
Install Xprivacy then go back to the framework, it is installed as an app, select modules, enable Xprivacy, reboot the phone.
After your phone is done rebooting, open Xprivacy from the app drawer, it may ask for root, allow it, Find your app, Disable it's data connectivity, Annnnnnd profit? Cheers!
Click to expand...
Click to collapse
Profit, you say? Straight to phase three, eh?
I was really hoping there'd be a setting somewhere I'm just not aware of. Didn't wanna have to mess with frameworks and such
Thanks for the help.

Just grab a firewall app. This way you can prevent what ever app you want from getting access. Xposed can cause issues depending on your set up.
Bat cave One

Related

[Q]how to lock apps in memory? Xpose and Jkay no work

Hello everyone,
Here is my problem.
My background music (ttpod ) frequently get killed when I open browser or anything other thing, even when I am typing this right now got killed again.
I tried dozens ROM as stock, omega, android revolution...etc, all happens same thing.
I also tried Jkay and Xpose framework to whitelist it, but still...
Anything idea?
Sent from my GT-I9300 using xda premium
Did anyone answer you with this one? I can't restore anything Jkay in my settings it just says restore failed, even though I have not limited access for Jkay on anything?
qtwrk said:
Hello everyone,
Here is my problem.
My background music (ttpod ) frequently get killed when I open browser or anything other thing, even when I am typing this right now got killed again.
I tried dozens ROM as stock, omega, android revolution...etc, all happens same thing.
I also tried Jkay and Xpose framework to whitelist it, but still...
Anything idea?
Sent from my GT-I9300 using xda premium
Click to expand...
Click to collapse
Hey dude,
Jump on to the Xposed modules site and download the one called AppSettings_0.4.apk located here
Set this in Xposed to make it function. Open the app. Then go back to Xposed Privacy if you have it and enable this settings app to have full control. Then go back to the AppSettings apk and this should then allow you to search and should display all of your apks. This is your permissions controlller app now (not necessarily security like Xprivacy but more so the gateway for your Xposed framework. Think of it like a new toll road that has just been opened, it will allow a better route for traffic to flow to its destination, but there at the moment the toll booth is un-manned and the gates are shut so no one can use the toll road until you put a man in the booth to control the boomgates
Find Jkay app and check allow for all of its functions and bam everything working 100%
Really once you get used to this, this framework can allow for Jkay + more. Jkay should be porting his app to Xposed modules rather than trying to update every freakin framework release there is, especially considering that most of the functionality doesn't change between releases all that much. With Xposed he should publish for the top level of functionality and people who don't have a framework that is equiped with that functionality just won't get it, none of their apps will force close, nothing will screw up if they flash the incorrect version etc.
But....thinking about it, my feeling is that Jkay is more about the money than anything? If he was to do this he wouldn't make any money off people buying his app so I guess that will never work for him.
Jarmezrocks said:
Hey dude,
Jump on to the Xposed modules site and download the one called AppSettings_0.4.apk located here
Set this in Xposed to make it function. Open the app. Then go back to Xposed Privacy if you have it and enable this settings app to have full control. Then go back to the AppSettings apk and this should then allow you to search and should display all of your apks. This is your permissions controlller app now (not necessarily security like Xprivacy but more so the gateway for your Xposed framework. Think of it like a new toll road that has just been opened, it will allow a better route for traffic to flow to its destination, but there at the moment the toll booth is un-manned and the gates are shut so no one can use the toll road until you put a man in the booth to control the boomgates
Find Jkay app and check allow for all of its functions and bam everything working 100%
Really once you get used to this, this framework can allow for Jkay + more. Jkay should be porting his app to Xposed modules rather than trying to update every freakin framework release there is, especially considering that most of the functionality doesn't change between releases all that much. With Xposed he should publish for the top level of functionality and people who don't have a framework that is equiped with that functionality just won't get it, none of their apps will force close, nothing will screw up if they flash the incorrect version etc.
But....thinking about it, my feeling is that Jkay is more about the money than anything? If he was to do this he wouldn't make any money off people buying his app so I guess that will never work for him.
Click to expand...
Click to collapse
thanks anyway , i have ready solve this problem :good:
No problems man. I usually come back and answer my own questions on the forum so that when others search that they can know answers too. So I will leave my post up.
It wasn't just me was it? The information required to solve the problem WAS NOT easily located in the sea of information within the framework thread?

[Q] When apps can use their permissions?

I'm always very careful about what apps I install and their permissions, but I got this doubt for a long time. I already know what some Android permissions do and which of these are potentially dangerous.
Now let's assume an app asks for permissions to read my contacts, access the internet, read the identity of the phone, read the user position, etc.
When I use an app (mostly games) I always turn off wifi, bluetooth, gps and sometimes even the sim via airplane-mode. Now that app can easily collect all the data it wants but would never be able to send them. Am I correct?
My doubt is, when apps can send data? Is it only when the app is effectively running (also in background) or can do the same while, for example, updating the app via Google Play?
If it doesn't, I would probably download most of the apps I discarded because of their stupid permissions...
App permissions are always headache!
apps will always ask for various stupid permissions.even though they not require such permissions.
I think,,
how the apps collect and send data is upto the developer!!
Even though you put ur phone in AirPlane mode.the apps may or may not collect the contacts details frm your phone & may update to their server when data connection is detected..
Some applications will run in background as a seevice, even though they are not opened or running in foreground.
when u install an app you must be aware of the permissions granted.dont install apps that requires suspicious permissions.
if u are rooted there are some apps which can block permissions requisted by apps.
good luck....
motoshan said:
if u are rooted there are some apps which can block permissions requisted by apps.
Click to expand...
Click to collapse
I already heard of such apps but never found one. Could you please tell me some of them?
Thanks for the answer, anyway it really sounds like "I don't know and we'll never know"... it's sad
Is there anybody really sure about what the apps can do and give a nice rest to my neverending question?
Yes.. I already mentioned.
the permission requirements by the app can be explained only by the developer of that particular app.
I had developed an app myself 9 months before.which requires gps location along with hardware control permission etc...
as a developer of this app I can steadly says that my app will update ur device location soon after u switch on ur data conn.
you can find some apps and their reviews here... http://www.howtogeek.com/115888/
Oh, so my hopes are totally crushed.
Looks like they are more problematic than I imagined. I'll keep skipping 90% of the apps on the market.
Thanks a lot for that link!
Edit: I'd add, Jesus Christ, how funny to see that on Android spyware is legalised:
"Angry Birds Space – along with many other apps – has permission to view the device’s serial number and monitor the phone numbers you call."

Greenify "went away" as did two apps it had hibernated, now I can't re-install them

Greenify "went away" as did two apps it had hibernated, now I can't re-install them
Hi,
I recently rooted my AT&T LGv30 and installed TWRP and Magisk 1.6. I then installed Xposed via Magisk Manager and played with it a bit. I went on to install Greenify donation and enabled all the beta and aggressive stuff, as well as Xposed integration. I later discovered that Xposed breaks SafetyNet checks so I decided to remove it. When I did, Greenify "went away". I had to re-install it. It was only later that I noticed 2 other apps were missing, namely Xmeye (a security camera app notorious for consuming battery) and Spotify (here I was just playing around, but Greenify said it was using battery, so...). These were the only two apps I had added to Greenify.
I then attempt to re-install both of these apps from the Google Play store. It goes through the process of downloading, then installing, but at the end of the installation process, the Google Play button simply reverts back to "Install", as if nothing happened. The same thing happens when I try again, on either app. I can install any other app just fine.
I've run the latest Xposed uninstaller zip from recovery, but this didn't help. I do have a vague recollection of Greenify continuing to run in root + Xposed mode after Xposed had been removed, if that makes any sense. Eventually, after a subsequent re-install of Greenify (not if before or after Xposed was removed), it then walked my through the setup again, and is now running only in root mode. Yet, the problem with the two apps remains.
I'm hoping someone has a suggestion before I wipe everything and start over.
Thanks,
Daniel
Following up on my own post. I ended up installing SD Maid, which was able to show me both Spotify and Xmeye as "stopped". From the app I selected to delete both applications, which I could not do anywhere else, as they didn't show up in normal apps. My guess is that Greenify with Xposed and therefore root caused some file ownership issue that the normal utilities were not able to handle.
Daniel
DanielCeregatti said:
Following up on my own post. I ended up installing SD Maid, which was able to show me both Spotify and Xmeye as "stopped". From the app I selected to delete both applications, which I could not do anywhere else, as they didn't show up in normal apps. My guess is that Greenify with Xposed and therefore root caused some file ownership issue that the normal utilities were not able to handle.
Click to expand...
Click to collapse
Root cause likely resides elsewhere; Greenify doesn't mess with permissions.
Davey126 said:
Root cause likely resides elsewhere; Greenify doesn't mess with permissions.
Click to expand...
Click to collapse
Yet the two apps managed by Greenify stopped working. So you're saying correlation does not equal causation? Because the evidence here indicates otherwise. Just sayin'...
DanielCeregatti said:
Yet the two apps managed by Greenify stopped working. So you're saying correlation does not equal causation? Because the evidence here indicates otherwise. Just sayin'...
Click to expand...
Click to collapse
Correlation assumed but unproven. Greenify has been around a long time with a large user base. The situation you describe appears to be an outlier.

Unofficial Support Thread for XPrivacy

M66B, developer of the popular XPrivacy app, is closing the official support thread for the app:
https://forum.xda-developers.com/xposed/modules/xprivacy-ultimate-android-privacy-app-t2320783
This thread is meant for any existing users to communicate with each other going forward.
*** Simply "Subscribe" to this thread to keep updated ***
.
This is the best privacy manager. But I really hope that we can use it on magisk as module. I don't want Xposed.
MaXi32 said:
This is the best privacy manager. But I really hope that we can use it on magisk as module. I don't want Xposed.
Click to expand...
Click to collapse
It's not possible,magisk can't hook into code,only xposed can do that
Magisk can only change and add files
Xposed can only change and add code
You can't turn an xposed module into a magisk module and vice-versa,just because they're both called modules doesn't mean they do the same thing
Huh? XPrivacy has always relied on Xposed (hence the name). Why should it suddenly be different?
altae said:
Huh? XPrivacy has always relied on Xposed (hence the name). Why should it suddenly be different?
Click to expand...
Click to collapse
Yeah,there's no other way for xPrivacy to work without xposed's ability to hook and modify app code at runtime
How would you configure Tiktok in Xprivacy?
Hello all,
How would you configure Tiktok in Xprivacy?
Thanks.
Xposed is lob
MaXi32 said:
This is the best privacy manager. But I really hope that we can use it on magisk as module. I don't want Xposed.
Click to expand...
Click to collapse
Magisk is only a root manger application.
And its modules are nothing but replacement of system files in mirrored system partition created by magisk.
Where xposed can hook Methods and resources.
Never underestimate xposed.
It has great role in reverse engineering of application and customisation.
Badly missing Xprivacy on magisk. Was anyone able to work with Xprivacy Lua ?
Samdroid18 said:
Badly missing Xprivacy on magisk. Was anyone able to work with Xprivacy Lua ?
Click to expand...
Click to collapse
Xprivacy and Xprivacy Lua are not magisk modules.
XprivacyLua is working well on my 2 x S8. One one Oreo and the other on pie.
The one on pie needs magisk to be able to install Edxposed.
May anybody help me to make Xprivacy compatibility to deny requets of libraries (loadLibrary) on Android 7, please?
Or to make the possibility to ALLOW or DENY "Accounts" category based on PARAMETERS?
How may I refresh Xprivacy to read database again without need to reboot?
Thank you very much.
XPL Is a must have Tool
it's a shame that XPL has been discontinued. I can no longer imagine an android smartphone without xpl.
XPL deserves support.
it's a shame that XPL has been discontinued. I can no longer imagine an android smartphone without xpl.
XPL deserves support.
Is there a way to completely delete the XPL settings? unfortunately my phone does not start as long as XPL is active. have probably made too many settings.
As soon as I reactivate the module, the phone no longer starts.
deleting data does nothing.
LinoPino221 said:
it's a shame that XPL has been discontinued. I can no longer imagine an android smartphone without xpl.
XPL deserves support.
it's a shame that XPL has been discontinued. I can no longer imagine an android smartphone without xpl.
XPL deserves support.
Is there a way to completely delete the XPL settings? unfortunately my phone does not start as long as XPL is active. have probably made too many settings.
As soon as I reactivate the module, the phone no longer starts.
deleting data does nothing.
Click to expand...
Click to collapse
If you do a search for Xposed, there is a uninstall ZIP file that you can flash using recovery mode that will uninstall Xposed, which will then disable Xprivacy and your phone should be able to bootup.
JohnCody said:
If you do a search for Xposed, there is a uninstall ZIP file that you can flash using recovery mode that will uninstall Xposed, which will then disable Xprivacy and your phone should be able to bootup.
Click to expand...
Click to collapse
e phone starts as soon as i deactivate edxposed. that's working.
I just want to delete all settings and data from xprivacylua. are there any special folders?
the normal deletion of the data does nothing
LinoPino221 said:
e phone starts as soon as i deactivate edxposed. that's working.
I just want to delete all settings and data from xprivacylua. are there any special folders?
the normal deletion of the data does nothing
Click to expand...
Click to collapse
I think you should be able to disable the Xprivacy "module" from within the xposed app, then reboot. Then uninstall xprivacy like you would any other app, then reinstall the xprivacy APK and it should start with default settings.
XPrivacy was way better than XPL, I don't know why M66B would dump it. I still have it running on my Galaxy S5 with Kitkat, it's not like it needs any updating, it's fine how it is. It just needs to run heh. Anyone know how I could get it running on a recent and supported version of Android (like Oreo) and EdXposed? Is it even possible? I'd like to help to work on it.
scarlion said:
XPrivacy was way better than XPL, I don't know why M66B would dump it. I still have it running on my Galaxy S5 with Kitkat, it's not like it needs any updating, it's fine how it is. It just needs to run heh. Anyone know how I could get it running on a recent and supported version of Android (like Oreo) and EdXposed? Is it even possible? I'd like to help to work on it.
Click to expand...
Click to collapse
XPrivacy doesn't work on recent Android versions anymore due to structural changes in Android, which is the main reason why XPrivacyLua was developed.
M66B said:
XPrivacy doesn't work on recent Android versions anymore due to structural changes in Android, which is the main reason why XPrivacyLua was developed.
Click to expand...
Click to collapse
What kind of structural changes? Ain't no hill for a climber.
Also XPL doesn't run with EdXposed, so it's in a worse position than XP from my point of view. Have to stick with my ancient S5 for now.
scarlion said:
What kind of structural changes? Ain't no hill for a climber.
Click to expand...
Click to collapse
In fact many things were changed, but the main obstacles are tighter security (SELinux), how the activity manager service works and how apps are being started. Since XPrivacy is not supported anymore, I am not going to provide more details, but both the source code of XPrivacy and XPrivacyLua are on GitHub, so you can check for yourself.
scarlion said:
...
Also XPL doesn't run with EdXposed, so it's in a worse position than XP from my point of view.
...
Click to expand...
Click to collapse
Really? My impression is that XPL and EdXposed runs fine.
Is there a way to hide the battery status? I have an annoying battery Warnung in my car every time the battery is less then 50% when my Smartphone is connected with Bluetooth. I cant disable that in the car hifi settings. Or can i send fake data?

Question Any Way To Update /etc/hosts Without Root?

Is there any way to update /etc/hosts without root on SM-A526UZKDXAA?
I tried the old way of going through ADB from a Windows PC to transfer the file but permission is denied.
Ideally I'd be rooted (as I do with all my devices) but there isn't a mainstream way available yet to root or unlock the bootloader on the US market A52 5G.
I am not sure you can change it without root, but you do can use the vpn method. There are apks that are able to use VPN to change the host and/or the DNS. "Host to go" is an example of an app that is able to do that.
Yeah, i've been using Blokada for the past few days
GiulianoB said:
I am not sure you can change it without root, but you do can use the vpn method. There are apks that are able to use VPN to change the host and/or the DNS. "Host to go" is an example of an app that is able to do that.
Click to expand...
Click to collapse
Thanks. Yeah, i've been using Blokada for the past few days but it would be more ideal to be able to modify the local /etc/hosts file so there's no VPN process running all the time and wasting CPU cycles and also possibly compromising the integrity of my data by completely entrusting it to a 3rd party app.
Lets try something. There are apps that can give you the option to use some xposed modules without root. I wouldn't recommend using VirtualXposed because of the way it works, it makes a virtual space that has the ability to use xposed modules, pretty uncomfortable. I suggest you to try SPatch to give the xposed apps the ability to work. Unfortunately , those methods of using xposed without root don't work for everything, some apps requires root to work properly, but some will only need xposed itself to work. Try using SPatch with a module that has the ability to change the host file, for example "Unbelovedhosts". If it doesn't work, I am afraid that all you can do is to use a third party app, there is a really good app that can change the host file through vpn, it is extremely simple with just a simple switch to activate and deactivate and option to choose your host file, no ads, nothing, simple and easy to use, I don't think it will hog your cpu usage or ram.
GiulianoB said:
Lets try something. There are apps that can give you the option to use some xposed modules without root. I wouldn't recommend using VirtualXposed because of the way it works, it makes a virtual space that has the ability to use xposed modules, pretty uncomfortable. I suggest you to try SPatch to give the xposed apps the ability to work. Unfortunately , those methods of using xposed without root don't work for everything, some apps requires root to work properly, but some will only need xposed itself to work. Try using SPatch with a module that has the ability to change the host file, for example "Unbelovedhosts". If it doesn't work, I am afraid that all you can do is to use a third party app, there is a really good app that can change the host file through vpn, it is extremely simple with just a simple switch to activate and deactivate and option to choose your host file, no ads, nothing, simple and easy to use, I don't think it will hog your cpu usage or ram.
Click to expand...
Click to collapse
it's not possible to modify system with apps like SPatch. Just use Adguard or Blokada

Categories

Resources