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.
Related
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.
Hi, I have a video streaming application (Premim Play) which won't let me stream videos if it finds a rooted device.
Being RemixOS already rooted I cannot use it!
I've already tried disabling root into related settings (in fact root menu disappear from the settings app), but Premium Play app recognize anyway that the OS is rooted. I tried using a local shell and I can see there's su command.
Is there a way to remove root completely?
Thanks in andavance
Aratheba said:
Hi, I have a video streaming application (Premim Play) which won't let me stream videos if it finds a rooted device.
Being RemixOS already rooted I cannot use it!
I've already tried disabling root into related settings (in fact root menu disappear from the settings app), but Premium Play app recognize anyway that the OS is rooted. I tried using a local shell and I can see there's su command.
Is there a way to remove root completely?
Thanks in andavance
Click to expand...
Click to collapse
Hi there,
sadly I can't help but I need to know this too, also for a video app that checks root.
You can try to hide root for your app but for mine it doesn't work as it checks for root in some weird NDK way.
Hopefully bumping this thread triggers some response.
Regards
Use the RMXTools. Convert the system.sfs into (I don't remember if it img or iso.) Unpack it and then find the xbin folder. Delete su and busybox. Pack it all into a new (I don't remember if it img or iso.) Save the old system.sfs somewhere. Convert (I don't remember if it img or iso.) into a sfs. Rename it to system.sfs and then move it to RemixOS folder. Should be unrooted and no busybox installed. The system.sfs will be a smaller size than the other one.
By the way. Unroot will let the WIFI work better. Root is screwing with the WIFI for some reason.
Can you tell more or where you get this info?
some apps like puzzle and dragon must run as unroot platform
so i have no idea for root enviroument on REMIX OS
Untested suggestion: https://www.howtogeek.com/248619/how-to-unroot-your-android-phone/
Backup before trying anything!
I can Unroot Remix OS without lost the sound following this guide and only remove the SU and keeping the BusyBox. Thanks a lot....
Guide: rndmland.wordpress .com / 2016 / 10 / 31 / installing-remix-os
Dunard said:
Use the RMXTools. Convert the system.sfs into (I don't remember if it img or iso.) Unpack it and then find the xbin folder. Delete su and busybox. Pack it all into a new (I don't remember if it img or iso.) Save the old system.sfs somewhere. Convert (I don't remember if it img or iso.) into a sfs. Rename it to system.sfs and then move it to RemixOS folder. Should be unrooted and no busybox installed. The system.sfs will be a smaller size than the other one.
By the way. Unroot will let the WIFI work better. Root is screwing with the WIFI for some reason.
Click to expand...
Click to collapse
I tried this method few times and it doesn't work on the games I wanted to play like DBZ Dokkan Battle or Fire Emblem Heroes.
I think there is some apps that can hide you root. Just google something like "root hider android" or something
maxkaxx said:
I think there is some apps that can hide you root. Just google something like "root hider android" or something
Click to expand...
Click to collapse
I tried that already but it doesn't work. There is a way to play the Fire Emblem Heroes using xposed but I'm not sure if it works on Dragon Ball Z Dokkan Battle. I'll try it later on.
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
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
Only for OP7T PRO MCLAREN EDITION (5G) T-MOBILESomeone 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!