AdAway - Ads block for Rooted - Redmi Note 9S / Note 9 Pro (Indian Model) Guides,

Hi All
After rooting device (RMN9s) with Magisk pachted boot method from https://forum.xda-developers.com/re...root-redmi-note-9-pro-miui-v11-0-4-0-t4072781, I had tried to install AdAway to block Ads and below is instruction:
1. In Magisk Manager settings enable 'Systemless hosts' + enable module.
2. Reboot.
3. Visit https://github.com/AdAway/AdAway get AdAway v5 (support Android 10).
4. Install and allow Root access, if AdAway can replace hosts file you are good to use.

Why use Adaway when adguard DNS do the same???????
Why another app ???
dns.adguard.com

P.Rabbit said:
Why use Adaway when adguard DNS do the same???????
Why another app ???
dns.adguard.com
Click to expand...
Click to collapse
AdAway is for power-users.

P.Rabbit said:
Why use Adaway when adguard DNS do the same???????
Why another app ???
dns.adguard.com
Click to expand...
Click to collapse
Well I prefer AdAway (hosts method) for a long time since using RMN5Pro with Android 7.
And it works very good so I want to share with everyone who also like it

wjzhweo said:
Well I prefer AdAway (hosts method) for a long time since using RMN5Pro with Android 7.
And it works very good so I want to share with everyone who also like it
Click to expand...
Click to collapse
You said you are root. You can copy your new host file directly to system/etc folder or use Magisk host module and no more Adaway need.

lolo9393 said:
You said you are root. You can copy your new host file directly to system/etc folder or use Magisk host module and no more Adaway need.
Click to expand...
Click to collapse
The thing is we want the app AdAway. It is awesome!

lolo9393 said:
You said you are root. You can copy your new host file directly to system/etc folder or use Magisk host module and no more Adaway need.
Click to expand...
Click to collapse
Can not mount system/etc to rw to copy hosts file as your suggestion. (see this ref https://github.com/topjohnwu/Magisk/issues/1729)
btw why should do that when you can install AdAway App and they will update list-url-Ads hosts and you can enjoy auto-update your hosts file thru it ?
Easier than your "copy" and "module" method

wjzhweo said:
Can not mount system/etc to rw to copy hosts file as your suggestion. (see this ref https://github.com/topjohnwu/Magisk/issues/1729)
btw why should do that when you can install AdAway App and they will update list-url-Ads hosts and you can enjoy auto-update your hosts file thru it ?
Easier than your "copy" and "module" method
Click to expand...
Click to collapse
Thanks for your feedback info. Good point!
I am going to try/test AdAway.

how i can dowload it? i dont see it on github
nvm i found it

thank you po

Related

Adaway doesn't work for me

I have tried to install latest Dev version of adaway on my encrypted tablet but the app doesn't update the file host.
I tried to do it manually via es file explore but permissions didn't allow me. I couldn't change permission as well, denied. I deleted the host and then put a modified one. But...
Is there someone here using adaway successfully and how?
Thanks in advance.
I'm using adaway_51 without any problems.
Sent from my Nexus 9 using XDA Free mobile app
Might be something wrong with your root. Adaway works for me
it doesnt work for me too
Works for me. Have you added any other host sources other than the ones that came stock? If I add any more sources it always gets stuck downloading them.
make sure you have busybox installed. some of the recent root apps really want it.
Sent from my Nexus 9 using Tapatalk
albsat said:
I have tried to install latest Dev version of adaway on my encrypted tablet but the app doesn't update the file host.
I tried to do it manually via es file explore but permissions didn't allow me. I couldn't change permission as well, denied. I deleted the host and then put a modified one. But...
Is there someone here using adaway successfully and how?
Thanks in advance.
Click to expand...
Click to collapse
Hi, albsat...
I haven't used AdaAway myself for quite some time, but your post inspired me to have another tinker with it.
The version of AdaAway that I found on XDA, and works for me on my Nexus 9 without problems, is this one...
---
[APP][2.1+][UNOFFICIAL] AdAway v2.9.2 :: [12.21.2014]
(Dev Build: AdAway-release_Build-Dec.21.2014.apk)
---
Incidentally, if you're going to make changes to /system with a file manager like ES File Explorer, you first need to make /system READ-WRITE MOUNTABLE, because by default, /system is READ ONLY.
How this is accomplished depends on the file manager you're using.
---
In ES File Explorer, go into settings, and scroll down to the option, Root Explorer.
Tap on the FAR LEFT of this option (the text, "Root Explorer" , NOT the OFF/ON slider control) and a dialogue box will appear with a variety of options, one of which will be Mount R/W.
Grant root/SU access, upon request.
Change /system from RO to RW.
---
You should now be free to to make whatever changes you like to /system using ES File Explorer... including setting file permissions.
Once you've made your changes, it's advised you reverse these steps, and make /system RO (read only) again.
---
Apologies if all this sounds a little convoluted... As is often the case with this sort of thing, it's far easier to 'do' than to 'describe'.
---
A picture paints a thousand words, or so it is said...
So, with that in mind, see my attached screenshots.
Hope this helps.
Rgrds,
Ged.
Very detailed post.. Thank you. I found that the issue was because of SuperSu. I changed it and adway works fine. however now I learned to customise my own host file, so no need to use adway anymore.

AdFree Android not Working Anymore?

I recently had to re-flash my firmware, but after re-installing AdFree Android it just hangs on loading forever. Manually patching the the modified hosts file doesn't block ads either. Is there another way to block these ads?
EDIT: NVM, I just found an Xposed Module that does the job perfectly.
UnbelovedHosts :good:
clearionr said:
Which module is that?
Click to expand...
Click to collapse
You're welcome.
Hello I installed Adfree via apk and when I load it just hangs on load checking to see if host files are up to date. I'm running G3 D852 SU Rooted

AdAway not blocking ads after updating my OnePlus 3T to Android Pie

Hi, so I upgraded to Android Pie last night. My phone is rooted and running OOS 9.0.2 now. I installed AdAway from F-Droid and the one from the XDA thread and installed the host files. AdAway says "Failed To load hosts file content" when I click the "Open hosts file" tab. Even added Systemless Hosts from Magisk and still no fix. Can someone help me out? Thanks
Have you rooted your device after updating to A pie ?
Sent from my K10 using Tapatalk
Yes I have. It seems the issue here is the root directory is full. 0B free. Need to free up some space to let AdAway install the host files, but I'm not sure how to do it.
Frank Dewey said:
Yes I have. It seems the issue here is the root directory is full. 0B free. Need to free up some space to let AdAway install the host files, but I'm not sure how to do it.
Click to expand...
Click to collapse
I was having problem enabling adaway on OOS 9.0.2 because not enough space for hosts file. My problem was solved by activating systemless host in magisk manager >> restart phone>>install adaway from f-droid>>enabling adblocking.

[ROOT] Enable Classic Theme on ASUS ROG II CN Firmware

Hi Guys,
Sharing with you how to activate the classic theme from WW Rom on the CN Firmware.
Please note this requires Root.
Download this File to your ROG II.
This is aa ZIP file, DO NOT unpack or mod it. Just download it and keep as is.
Copy the above zip file to the below location using a root explorer / root file manager.
system\etc\AsusTheme\themes
Click to expand...
Click to collapse
Then set the correct permissions to the file as shown in the last attached image.
Restart your device and check in themes.
Just delete file hidden and reboot
this is great, thanks
can i then use another launcher as default now that i'm rooted? i mean without disabling asus launcher via adb command line and such?
JazonX said:
Hi Guys,
Sharing with you how to activate the classic theme from WW Rom on the CN Firmware.
Please note this requires Root.
Download this File to your ROG II.
This is aa ZIP file, DO NOT unpack or mod it. Just download it and keep as is.
Copy the above zip file to the below location using a root explorer / root file manager.
Then set the correct permissions to the file as shown in the last attached image.
Restart your device and check in themes.
Click to expand...
Click to collapse
Dentist.M.Evy said:
this is great, thanks
can i then use another launcher as default now that i'm rooted? i mean without disabling asus launcher via adb command line and such?
Click to expand...
Click to collapse
No, As long as the Asus launcher exists in system, it will always take priority over any other launcher installed.
what are the other themes that you have on there?
I only have the light and dark one. It looks like you have 6
Cammarratta said:
what are the other themes that you have on there?
I only have the light and dark one. It looks like you have 6
Click to expand...
Click to collapse
Remove that "hidden" file in that folder and if you put the classic theme in it, you will have 6.
None of this worked for me. I am on tencent 12gb with WW and cannot access any of the themes. Any advice?
Mdaly001 said:
None of this worked for me. I am on tencent 12gb with WW and cannot access any of the themes. Any advice?
Click to expand...
Click to collapse
same any fix
Are there fix without root?
Its great
JazonX said:
No, As long as the Asus launcher exists in system, it will always take priority over any other launcher installed.
Click to expand...
Click to collapse
Thanks for the info
PHP:
dungnghien said:
Just delete file hidden and reboot
Click to expand...
Click to collapse
i cant delete hidden file i tried about 100 times
You need to use root explorer and mount r/o then you can delete it. Not sure why just having regular root sync won't. But in that app specifically it works.
:crying:
[/COLOR]
JazonX said:
Hi Guys,
Sharing with you how to activate the classic theme from WW Rom on the CN Firmware.
Please note this requires Root.
Download this File to your ROG II.
This is aa ZIP file, DO NOT unpack or mod it. Just download it and keep as is.
Copy the above zip file to the below location using a root explorer / root file manager.
Then set the correct permissions to the file as shown in the last attached image.
Restart your device and check in themes.
Click to expand...
Click to collapse
I just enable it by downloading google wallpapers and I find all rog themes included in the app , without root ? .
masl100 said:
[/COLOR]
I just enable it by downloading google wallpapers and I find all rog themes included in the app , without root .
Click to expand...
Click to collapse
Thanks for the tip!
Which app exactly ?
JazonX said:
Thanks for the tip!
Which app exactly ?
Click to expand...
Click to collapse
Wallpapers by google on playstore the icon is blue mountain > then you will find live wallpaper.
I tried it all 5 is working will 3 not working you see it but not loaded I don’t know why!? Check it I am sure you will find a way to make it work.
sorry im newbie to android, can you tell me how to root. And after rooted my phone will i am able to play pokemon game?
Cause on IOS these games have jailbreak detection.
Any new way to get the wallpaper without root for CN Rom?
MoSanad said:
PHP:
i cant delete hidden file i tried about 100 times
Click to expand...
Click to collapse
Use esfile explorer. Swipe from lest and click on root explorer on/off option. 6 option will popup, select "mount r/w " option and tick r/w. Done. Now you can delet it.

OP7T Pro MClaren Stock Android 10 T-Mobile (5g)

Only for OP7T PRO MCLAREN EDITION (5G) T-MOBILE​Someone is experiencing issues in android 11 in op7t pro MClaren Edition 5g (T-mobile). If your phone is bricked or you want to downgrade to stock android 10 - please follow the procedure below.....
1. Download the zip from here - op7t pro mclaren 5g - android 10
2. Unzip it.
3. Install qualcom driver from L2 drivers folder (If needed)
4. Run as administrator - MSMdownload Tool v.4 - from hotdogg_13_A.01_210311_repack folder.
5. Log in as other.
6. Power off your device . Hold volume up and down together and connect usb through original usb cable || You will be connected in EDL mode.
7. If com port is connected than start the flash from above left corner.
Tips : If com port is not connected try to power off your device and try again to enter into EDL mode (Do that until com is connected) .
TRY THIS TO DISABLE UPDATE:
adb shell pm disable-user --user 0 com.oneplus.opbackup
This information has been posted in another, much more detailed thread for over a year...
And I wouldn't trust that file either
Suspicious, no?
I have provided the official stock and final android 10 rom. Thank you.
and how do you then disable the updates? from being pushed to you
botN3t said:
and how do you then disable the updates? from being pushed to you
Click to expand...
Click to collapse
Turn on developer options tapping build number constantly and than turn off automatic update there. That's it, enjoy.
Nabil Prodhan said:
Turn on developer options tapping build number constantly and than turn off automatic update there. That's it, enjoy.
Click to expand...
Click to collapse
That doesn't work anymore; that's why everyone is complaining that they are being force updated to OOS11.
I know there's a better way, such as finding the right app and disabling it, but you can block the host it gets the updates from using an adblocker like AdAway. Updates come from
https://android.googleapis.com/packages/ota-api/
so if you block that (add it to your hosts file), you should be good.
starcms said:
That doesn't work anymore; that's why everyone is complaining that they are being force updated to OOS11.
I know there's a better way, such as finding the right app and disabling it, but you can block the host it gets the updates from using an adblocker like AdAway. Updates come from
https://android.googleapis.com/packages/ota-api/
so if you block that (add it to your hosts file), you should be good.
Click to expand...
Click to collapse
I try to add to host but it still download update any another way or web i can use ?
meovoz said:
I try to add to host but it still download update any another way or web i can use ?
Click to expand...
Click to collapse
That's the only simple way I could think of making it impossible to download the update so it would then just fail to update. You sure you have the option on in Magisk settings in addition to whatever app you are using?
Edit: The "correct" way of stopping it would be to find the service which controls updates and kill it. But since I've not an issue with OOS11 (it actually fixed my broken SA 5G and HD call functionality that I lost due to using the NSG app. MSM restore and persist restore couldn't fix it. Never ever install that app on this phone) I never looked into it.
starcms said:
That's the only simple way I could think of making it impossible to download the update so it would then just fail to update. You sure you have the option on in Magisk settings in addition to whatever app you are using?
Click to expand...
Click to collapse
Well if i add https://android.googleapis.com/packages/ota-api/ it still can download but if i add https://android.googleapis.com/ it will not but it also can't signin google acc anymore
meovoz said:
Well if i add https://android.googleapis.com/packages/ota-api/ it still can download but if i add https://android.googleapis.com/ it will not but it also can't signin google acc anymore
Click to expand...
Click to collapse
Omg, are you serious? That's obnoxious. But you should be able to block only the full url successfully. What AdBlock app are u using?
And see my edit in post above
starcms said:
That's the only simple way I could think of making it impossible to download the update so it would then just fail to update. You sure you have the option on in Magisk settings in addition to whatever app you are using?
Edit: The "correct" way of stopping it would be to find the service which controls updates and kill it. But since I've not an issue with OOS11 (it actually fixed my broken SA 5G and HD call functionality that I lost due to using the NSG app. MSM restore and persist restore couldn't fix it. Never ever install that app on this phone) I never looked into it.
Click to expand...
Click to collapse
Is there anyway to view what correct host it connect to
starcms said:
Omg, are you serious? That's obnoxious. But you should be able to block only the full url successfully. What AdBlock app are u using?
And see my edit in post above
Click to expand...
Click to collapse
I use adaway to block it
meovoz said:
I use adaway to block it
Click to expand...
Click to collapse
Yep, that's what I use and was gonna suggest...
Hmm, hehe, try this...
It downloads the OTA package to
/data/ota_package/payload_metadata.bin
If there's a file there, delete it, then create a blank file named payload_metadata.bin and remove all permissions from the file (--- --- --- or 0000) so the system can't overwrite it.
starcms said:
Yep, that's what I use and was gonna suggest...
Hmm, hehe, try this...
It downloads the OTA package to
/data/ota_package/payload_metadata.bin
If there's a file there, delete it, then create a blank file named payload_metadata.bin and remove all permissions from the file (--- --- --- or 0000) so the system can't overwrite it.
Click to expand...
Click to collapse
It only have metadata and payload_properties.txt
meovoz said:
It only have metadata and payload_properties.txt
Click to expand...
Click to collapse
Create a file named payload_metadata.bin and remove all permissions.
But here's a better plan:
Use Magisk to "over-write" systemlessly /system/etc/security/otacerts.zip with a blank file named otacerts.zip
Then the system can't verify the updates and they will fail
starcms said:
Create a file named payload_metadata.bin and remove all permissions.
But here's a better plan:
Use Magisk to "over-write" systemlessly /system/etc/security/otacerts.zip with a blank file named otacerts.zip
Then the system can't verify the updates and they will fail
Click to expand...
Click to collapse
Well i never create a magik module
starcms said:
Create a file named payload_metadata.bin and remove all permissions.
But here's a better plan:
Use Magisk to "over-write" systemlessly /system/etc/security/otacerts.zip with a blank file named otacerts.zip
Then the system can't verify the updates and they will fail
Click to expand...
Click to collapse
Is there anyway to view where it download from i still like the way block with host file
meovoz said:
Is there anyway to view where it download from i still like the way block with host file
Click to expand...
Click to collapse
It downloads a long, "random" named file from https://android.googleapis.com/packages/ota-api/ I told you this already
starcms said:
Create a file named payload_metadata.bin and remove all permissions.
But here's a better plan:
Use Magisk to "over-write" systemlessly /system/etc/security/otacerts.zip with a blank file named otacerts.zip
Then the system can't verify the updates and they will fail
Click to expand...
Click to collapse
I did it let see it can last long
meovoz said:
I did it let see it can last long
Click to expand...
Click to collapse
Let us know!

Categories

Resources