Blocking ads on 4.x.x without Root (including mobile data) - Moto X General

This is a possible solution to block ads, even on 4.4.4 without root needed. Based on AdblockPlus you even can block ads on mobile data.
This was a huge help for me, because I do not want to root my Moto X and was searching for a working possibility to get rid of annoying ads and save bandwidth.
Credits go to phazey12
Instuctions how to enable adblocking on mobile data, can be found in his Thread: How-To Adblock Without Rooting (mobile data adblock working)
Kind regards

Without root maybe for non Verizon phones. Vzw are WiFi only. The APN is locked.

Related

How to root and then unroot LG G2?

I and attempting to enable the verizon hotspot provisioning bypass, I just want the hotspot to work and the remainder of the phone can be stock'ish.
http://forum.xda-developers.com/showthread.php?t=2456338&page=12
I am using GFE (Good for Enterprise) and need to make sure that post the above update the root on the phone is removed ( I don't care about hidding it really). I am not sure from the posting below if a temp root solution exists.
http://forum.xda-developers.com/showthread.php?t=2040163
So how can I temp root the phone, make the needed changes for "hotspot bypass" and then unroot so GFEZ will still work.
Thanks

Life without root

In preparation for the impending upgrade to Android 6 Marshmallow, I'm trying an experiment on my Android 5 based Zenfone 2. I'm going to see how annoying it is to give up root. The first thing I did on my first android phone was root it, so I've only every used rooted Android devices.
Prologue:
Root on Android 6 (usually) requires an unlocked bootloader, because root is achieved by modifying the boot image to inject su into the system. That way the system image is left unmodified and can continue to pass dm-verity checks.
At the moment, there does not appear to be anyway on the Zenfone 2 to unlock the Marshmallow beta bootloader, and it also appears to relock any unlocked bootloader. In fact, the droidboot binary in the droidboot.img of the Marshmallow beta contains the strings rm -rf /factory/asuskey and rm -rf /factory/asussignature. droidboot also contains the strings unlock successfully...reboot after 5 seconds and **** Unlock bootloader? **** as well as other strings referring to unlock (droidboot from the .184 Lollipop also has those strings). So, my hope is that there is a simple way to unlock the bootloader, which will be revealed by Asus, or discovered by somebody.
My thought is that worst case those of us who want root will use an unlockable Lollipop bootloader with a Cyanogenmod 13.1 based ROM created with updates from the Asus Marshmallow source code.
Experiment:
I've removed Xposed and SuperSU from my phone. Making it stock Android 5. I'm documenting here the functionality that I lose. The first goal is for my own amusement to keep a log of what I'm giving up.
The second goal, and probably the major one, is to solicit suggestions on what can be done to replace the functionality I'm losing.
What I'm giving up:
AdAway - No system wide ad blocking. Firefox with uBlock Origin should cover blocking ads on the web. I usually buy apps I use frequently, but I'll have to see which ones are annoying with ads. I'm aware of the VPN based ad blocking methods, but I'll have to wait and see if it comes to that.
AFWall+ - Using root to improve security... I mostly use this to prevent some apps from using mobile data, and to prevent some apps from gaining network access at all.
BetterBatteryStatus - It works in non-root mode, but not as well.
BusyBox - Without root, there isn't much need for this anyway.
Cryptfs Password - Once again, security is harmed by removing root. This allowed my encryption pin to be different (and much longer) than my screen lock pin. I don't want to type 10 digits to unlock my screen, but it's fine for booting.
Greenify - This definitely kept some aps in check, but perhaps Asus' Auto-Start Manager will be able to replace it.
GSam Battery Monitor - Like BetterBatteryStatus, this had a root component to provide more information.
Kernel Adiutor - For some reason my phone seemed to only go to 1.8ghz instead of 2.3ghz, so I used this to fix it.
Linux Deploy - I never used the Linux chroot image for much, but it was a cute toy.
Secure Settings - This let tasker automate adjusting some things which require root to change.
Titanium Backup - This is a massive loss in functionality. Simply having backups is tremendously important. The ability to freeze unwanted system apps is also nice. I can reload many of my apps from Google, but not all of them bother to save their settings in the Google backup. Ohh, the bloat!
Trimmer (fstrim) - Probably not really necessary, anyway.
Xposed
Amplify - It saved me lots of wakeups, but I don't know if it really did much to increase battery life.
Fix Lollipop Memory Leak - I don't know if this did anything, either.
GravityBox [LP] - I didn't tweak too much, but what I did change was really useful.
NetStrength - I like replacing my wifi bars with useful information.
ProtectMyPrivacy - The permission settings in Marshmallow would make this obsolete anyway.
YouTube AdAway - Nice, but not required.
What I'm gaining:
Android Pay - I guess I can play with this now.
AFWall+ - Using root to improve security... I mostly use this to prevent some apps from using mobile data, and to prevent some apps from gaining network access at all.
Click to expand...
Click to collapse
Asus has integrated a firewall iptables recent months.
Asus mobile manager -> User Data -> Restrict (bottom of screen)
For the rest, no root is to accept to take along twice monitoring tools of an advertising billboard.
Keep in mind that Google is an advertising agency that is desperate to earn money, including harassment to get the maximum information.
Its purpose, despite what he claims, is not to improve people's lives, but his bank account.
Android is a disguised tools for Google, not for the people who is a commodity to be exploited.
I'm gonna miss Adaway and Afwall+ the most. Afwall+ is much better than the Asus built in firewall. You can disable net access by default for newly installed app. You are notified to set firewall rules when you install an app. You can filter apps to be set. If only Asus could provide a such a bunch of feature for their firewall, I won't miss root so much.
Sent from my Asus Zenfone 2 using XDA Labs
IDEDALE said:
Asus has integrated a firewall iptables recent months.
Asus mobile manager -> User Data -> Restrict (bottom of screen)
Click to expand...
Click to collapse
Thanks for the info about the functionality in Asus Mobile Manager, I didn't know that.
As far as Adaway goes, try this https://block-this.com
Sent from my ASUS_Z00A using Tapatalk
IDEDALE said:
Asus has integrated a firewall iptables recent months.
Asus mobile manager -> User Data -> Restrict (bottom of screen)
For the rest, no root is to accept to take along twice monitoring tools of an advertising billboard.
Keep in mind that Google is an advertising agency that is desperate to earn money, including harassment to get the maximum information.
Its purpose, despite what he claims, is not to improve people's lives, but his bank account.
Android is a disguised tools for Google, not for the people who is a commodity to be exploited.
Click to expand...
Click to collapse
Agree with most of that... unfortunately the ASUS mobile manager "firewall" doesn't work any more on the current marshmallow beta.
It's still there, but it seems not to work for blocking apps.
The new app permission system in MM may be used to prevent apps from connecting around, in theory at least, but I'm not sure how effective that is.
This phone without root absolutely sucks. There's a thread on the ASUS forum, guy has links to pre rooted system images but I haven't tried it.
http://www.asus.com/zentalk/thread-39487-1-1.html
Sent from my ASUS_Z00AD using XDA-Developers mobile app
The thread mentioned was opened in September '15... Didn't try downloading the files but can't imagine that there's a pre-rooted file out there already. Somebody would have known and told us, I guess
If anyone tried and it works, may you leave a line!
sent from my Binford Z00AD using tapatalk
nfc expert said:
if you want stop ad without root, you can try this : https://block-this.com/
Click to expand...
Click to collapse
kenbo111 said:
As far as Adaway goes, try this https://block-this.com
Click to expand...
Click to collapse
There are several other VPN based ad blockers as well. AdClear, AdGuard, and I think some more.
I played with some of them when they first started coming out, but always returned to the host file based blocker, because it was easy and worked fine with root. I think the phone has plenty of RAM and CPU to run these VPN ones, but I haven't been annoyed to try them again. So far uBlock Origin in Firefox has been fine. In the almost two days since unrooting I've used one app which shows me ads.
IDEDALE said:
Asus has integrated a firewall iptables recent months.
Asus mobile manager -> User Data -> Restrict (bottom of screen)
Click to expand...
Click to collapse
Thanks for the tip, I didn't know about it. This was easy enough to setup, even if it doesn't have as many features as AFWall+. I haven't tested to make sure it works.
My idea to get root on Asus' Marshmallow release is to install just the system, but keep the unlocked bootloader and ifwi from Lollipop. It should be easy enough to modify the updater script to only flash the system and boot image, while leaving the bootloader and ifwi alone. I don't know if that will work, or if the system will crash when it finds an old ifwi, or if the bootloader will fail to load the new system. With an unlocked bootloader, root is trivial.
As long as the bootloader is in place, it should be easy to recover from a broken system.
Don't take my word for it though, these are just ideas, and I'm not ready to try them yet. My warranty is over at the end of the month, so I'll unlock my bootloader then.

[Guide] Re-Activate Native Hotspot

I was able to find a solution to re-activating the native hotspot feature on my Honor 8. Before, if I went to turn on my hotspot I was told I needed to activate the service from ATT, which I never had to do on my old Android device (perks of being on EMUI). The solution I used camefrom the Honor 5x forums found here.
This will require your device to be rooted. A tutorial for unlocking your bootloader, installing TWRP, and rooting for the Honor 8 can be found here.
Once rooted you will need to download a root explorer (file manager) that will allow you to access your system files. I used Root Explorer.
Go to System/App and then delete the ATTEntitle folder.
After rebooting your phone you should be able to use your native hotspot tethering!
chemicalengineer said:
I was able to find a solution to re-activating the native hotspot feature on my Honor 8. Before, if I went to turn on my hotspot I was told I needed to activate the service from ATT, which I never had to do on my old Android device (perks of being on EMUI). The solution I used camefrom the Honor 5x forums found here.
This will require your device to be rooted. A tutorial for unlocking your bootloader, installing TWRP, and rooting for the Honor 8 can be found here.
Once rooted you will need to download a root explorer (file manager) that will allow you to access your system files. I used Root Explorer.
Go to System/App and then delete the ATTEntitle folder.
After rebooting your phone you should be able to use your native hotspot tethering!
Click to expand...
Click to collapse
Do you think it's region and/or mobile operator related?
I purchased my phone from Best Buy (USA) Unlocked. I use Cricket Wireless with an Unlimited Data plan, which was restricting my ability to tether. I believe that this would be for any Honor 8 due to due to their EMUI ROM.
Anyone else not have this issue? Coming from AOSP, I just want to help others get the feautes/control out of their phone they expect.
chemicalengineer said:
I purchased my phone from Best Buy (USA) Unlocked. I use Cricket Wireless with an Unlimited Data plan, which was restricting my ability to tether. I believe that this would be for any Honor 8 due to due to their EMUI ROM.
Anyone else not have this issue? Coming from AOSP, I just want to help others get the feautes/control out of their phone they expect.
Click to expand...
Click to collapse
Some operators do block teetering while others say they do but in fact they don't.
At least from my experience.
I think this is carrier related. In the US there are differences in phones in different carriers in a single phone. Here in Asia we don't have that problem.
Sent from my honor 5X using XDA Labs
chemicalengineer said:
I was able to find a solution to re-activating the native hotspot feature on my Honor 8. Before, if I went to turn on my hotspot I was told I needed to activate the service from ATT, which I never had to do on my old Android device (perks of being on EMUI). The solution I used camefrom the Honor 5x forums found here.
This will require your device to be rooted. A tutorial for unlocking your bootloader, installing TWRP, and rooting for the Honor 8 can be found here.
Once rooted you will need to download a root explorer (file manager) that will allow you to access your system files. I used Root Explorer.
Go to System/App and then delete the ATTEntitle folder.
After rebooting your phone you should be able to use your native hotspot tethering!
Click to expand...
Click to collapse
You freaking rock! I just got mine and was trying to figure out what i needed to do. Glad I looked in the forums!
Woejefe said:
You freaking rock! I just got mine and was trying to figure out what i needed to do. Glad I looked in the forums!
Click to expand...
Click to collapse
Goto /system
Open build.prop
Check if this line exists .
persist.sys.usb.config.extra=none
Sent from my KIW-L22 using Tapatalk
EMUI 5
I wasn't able to make this work on L04 with StraightTalk on EMUI 5
Am I the only one having problem with this?
Doing this did enable my hotspot capability, but it made my call log stop working. I put the folder back and rebooted and it did make the call log work again but unfortunately leaving hotspot enabled before reboot did not leave it on when the phone came back on.

root Samsung Galaxy Note 3 SM-N9005 Android 5.0 - Secure method

Root Samsung Galaxy Note 3 SM-N9005 Android 5.0 - Secure method
I am looking for a safe, secure, foolproof method, from reliable source, from trusted person, with safe elements .
Without data leakage, IMEI theft, backdoors, viruses, ads, system modifications etc. Clean root.
Can you recommend something?
Best KNOX flag 0x0 and With the possibility of unroot.
Something simple and fast will also be an advantage - I am an amateur.
The only reason why I want to do a root of the phone is the security of my data and my privacy. A phone without a privacy manager like App Ops seems like a very dangerous solution. Firewall will also be useful.
Sorry for my English
sn3 said:
Root Samsung Galaxy Note 3 SM-N9005 Android 5.0 - Secure method
I am looking for a safe, secure, foolproof method, from reliable source, from trusted person, with safe elements .
Without data leakage, IMEI theft, backdoors, viruses, ads, system modifications etc. Clean root.
Can you recommend something?
Best KNOX flag 0x0 and With the possibility of unroot.
Something simple and fast will also be an advantage - I am an amateur.
The only reason why I want to do a root of the phone is the security of my data and my privacy. A phone without a privacy manager like App Ops seems like a very dangerous solution. Firewall will also be useful.
Sorry for my English
Click to expand...
Click to collapse
Search and read about "cf-auto-root"
Rooting may prevent certain banking type apps working as they see it as insecure .
Thank you very much for the help and information.
Unfortunately, "cf-auto-root" switches the KNOX flag. But it is more important that it is a secure source. Thank you very much.
I did not know about problems with banking applications. Thank you for the information.
If you have any other suggestions, let me know.
I THINK there was a way to root without tripping knox but it required having JB. Now that you are on LL I doubt you will find a way to root without tripping it. Banking apps can be fooled using xposed modules or Magisk systemless root, but again, you'd be tripping knox. If knox is so important to you, I'd stick with stock.
The most important for me is the privacy and security of my data on the phone. Without root, applications use everything they want. I would like to have the Permission Manager to control access to my data on the phone. I would also like to use a normal firewall without VPN.

Question about Ads blocker apps

What apps do you guys use to block ads and still get OTA updates?
I just got a Mi A1 and I intend to root it and install xposed, but with the OTA updates in mind.
If you guys have any suggestions they will be very much appretiated.
def.man said:
What apps do you guys use to block ads and still get OTA updates?
I just got a Mi A1 and I intend to root it and install xposed, but with the OTA updates in mind.
If you guys have any suggestions they will be very much appretiated.
Click to expand...
Click to collapse
If you're talking about ads in browser just use firefox and install adblock plus in addons.
In youtube install youtube adaway you can search it here
In apps i don't know ?
Magisk systemless hosts + adaway = system wide ad blocking. Only very few apps are showing ads (those are probably using their own ads instead of standard ad servers).
For youtube I use ogyoutube with microg.
Without modifying the system you can still use the open source project http://blokada.org
I use block this! It creates a VPN which blocks ad dns hosts.
majamee said:
Without modifying the system you can still use the open source project http://blokada.org
Click to expand...
Click to collapse
This is a good one. It blocked from the 9gag app and in chrome aswell. The only anoying thing is the "key" notification it leaves on. Anyway to hide it?
_mysiak_ said:
Magisk systemless hosts + adaway = system wide ad blocking. Only very few apps are showing ads (those are probably using their own ads instead of standard ad servers).
For youtube I use ogyoutube with microg.
Click to expand...
Click to collapse
I used to have Adaway in my old phone, but I read that it messes with the system host files and thus I would not be able to take OTA updates. Does Magisk have its own Adaway that is different somehow?
def.man said:
I used to have Adaway in my old phone, but I read that it messes with the system host files and thus I would not be able to take OTA updates. Does Magisk have its own Adaway that is different somehow?
Click to expand...
Click to collapse
I've read it as well (only one guy who mentioned it btw.), but to be honest I do not believe it. I am using the latest Adaway version which has enabled "systemless mode" by default and it didn't modify my system hosts file. But I must admit that I didn't receive any OTA yet and had to always flash full ROM to update my system, so can't guarantee it
_mysiak_ said:
I've read it as well (only one guy who mentioned it btw.), but to be honest I do not believe it. I am using the latest Adaway version which has enabled "systemless mode" by default and it didn't modify my system hosts file. But I must admit that I didn't receive any OTA yet and had to always flash full ROM to update my system, so can't guarantee it
Click to expand...
Click to collapse
Do you have the december update?
def.man said:
Do you have the december update?
Click to expand...
Click to collapse
Yes, I flash full ROM via fastboot each month (did the same with my old Nexus 5X, so I'm used to it).
Magisk has a systemless adblock module called "Unified Hosts Adblock".
Don't block adverts. Ya, I may sound like a noob & jerk but that's the only way everyone of us get to use free contents. The developer & content creator won't be giving away stuffs for free if they don't earn. Support the Developers & content creator.
Hriddhi said:
Don't block adverts. Ya, I may sound like a noob & jerk but that's the only way everyone of us get to use free contents. The developer & content creator won't be giving away stuffs for free if they don't earn. Support the Developers & content creator.
Click to expand...
Click to collapse
I support devs directly, I either purchase a full version or donate to them. If there is only "free" app filled with ads, I see no reason to not to block them. As soon as content creators start serving unobtrusive ads (web, youtube, ..) I'll stop blocking them. Until then...adaway is and will be my second installed app (the first one is Titanium backup pro ). Btw. there wasn't a single ad during past 20 years which I would be interested in, if I clicked on one, it was by mistake.
I use minminguard (xposed module). to update, simply flash full stock rom (keep user data in mi flash tool) then update ota. Unlock bootloader again, boot TWRP and flash magisk.
i had troubles updating to november patch due to adaway. i installed the latest adaway there is, it even said systemless hosts in option.. yet it did modify my hosts file directly - i checked this after i unistalled adaway + magisk
not sure if i did something wrong on my end, just saying that it didnt work for me systemless.. would like to hear if someone managed to get it to work tho
im now using unified adblock from magisk, works okayish
DeV91 said:
i had troubles updating to november patch due to adaway. i installed the latest adaway there is, it even said systemless hosts in option.. yet it did modify my hosts file directly - i checked this after i unistalled adaway + magisk
not sure if i did something wrong on my end, just saying that it didnt work for me systemless.. would like to hear if someone managed to get it to work tho
im now using unified adblock from magisk, works okayish
Click to expand...
Click to collapse
Not sure what went wrong on your end, but modifying system data would lead to fail of Safetynet check. I am running Magisk + systemless hosts + Adaway and Safetynet passes the check, so I assume that nothing has been written to the system. I will confirm once I actually receive an OTA, so far fastboot images were out earlier than mine OTA

Categories

Resources