Question Any Way To Update /etc/hosts Without Root? - Samsung Galaxy A52 5G

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

Related

How to control apps access to GPRS?

I want to have the control of which apps can access GPRS and which cannot. As soon as I switch on the Mobile data connection I want only certain apps to have access to GPRS. How can I do that?
you can turn off background data but some apps like bollywoodji will still user the data connection whenever it is active.
Try Droidwall from the market.
mmarz said:
Try Droidwall from the market.
Click to expand...
Click to collapse
Sounds perfect!! Any other alternate apps which don't require rooting?
There should be enough firewalls on the market that don't require root. Although root is good .
Just search for Firewall and you shall find. Block the apps you need and you're done!
Cheers.
Ruwin said:
There should be enough firewalls on the market that don't require root. Although root is good .
Just search for Firewall and you shall find. Block the apps you need and you're done!
Cheers.
Click to expand...
Click to collapse
The apps that I saw in the market mostly needed rooting. Or only monitored calls and sms. Can u recommend and app?
sweettaniyaa said:
The apps that I saw in the market mostly needed rooting. Or only monitored calls and sms. Can u recommend and app?
Click to expand...
Click to collapse
what you are trying to do is to make android filter some of its outbound communications.
There are two ways:
1. revoking permission
2. change the router settings so that the app can't connect
1. is nearly impossible without errors. too bad.
2. is possible only with root. no root = no goodies. root your phone.

Prevent Data Access for an App

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

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?

Rooted, but still ads

Hi All,
My mi A3 is rooted, I try to keep it somewhat up to date ”qssi-user 10 QKQ1.190910.002 V11.0.8.0.QFQEUXM”
And Magisk as well. I keep using AdAway all the time but the ads are still there. Checked the hosts file - all good with it it, tried Systemless hosts (not sure what it does), but I still see ads (simple banners) in apps. And they are not in the "bad apps" list. Very simple small apps have ads in them. I sometimes manage to have them removed (the apps) but in a day or 2 (maybe after restart) they are back
Any clues? Anyone with similar issues?
You should use this Magisk module called Energized, I don't use it anymore, but it really worked great for me. The setup process is little involved tho.
Currently I'm using Private DNS service from AdGuard to block ads - it doesn't need root access and the setup process is very easy. You don't have to download anything either. It works quite well for a no-root solution

Question Did not root

I rooted all of the phones I have had since my first Android phone. However, a few apps that I use either would not work or would not work correctly with root, even when it was possible to still use Magisk hide.
Meanwhile, the only thing I was actually doing that needed root was using an adblocker, so I decided to try using this new Pixel 6 without root.
I have to say that I do miss having an adblocker.
Try the Brave browser, it will take care of website ads at least.
[CLOSED][APP][6.0+] NetGuard - No-root firewall
NetGuard provides simple and advanced ways to block access to the internet - no root required. Applications and addresses can individually be allowed or denied access to your Wi-Fi and/or mobile connection. Blocking access to the internet can...
forum.xda-developers.com
joedp2 said:
I rooted all of the phones I have had since my first Android phone. However, a few apps that I use either would not work or would not work correctly with root, even when it was possible to still use Magisk hide.
Meanwhile, the only thing I was actually doing that needed root was using an adblocker, so I decided to try using this new Pixel 6 without root.
I have to say that I do miss having an adblocker.
Click to expand...
Click to collapse
Nothing beats a true hosts adblocker. Works universally. Also nothing beats being able to perform a full proper backup of your phone in case something happens. And finally, nothing beats being able to rid your phone of all that "gapps" spyware/tracking/backdoors.
As you can tell, I'm an advocate for root. But weild it with responsibility.
Search 'DNS' in settings. Then enter 'dns.adguard.com' into 'Private DNS' and you'll have onboard adblocking!
I am also in the position you are as I have rooted all my phones since HTC Desire, primarily as I hate ads. This is a lifesaver and means I don't need root for the first time.

Categories

Resources