AdAway - OnePlus 7T Pro 5G McLaren Questions & Answers

I have rooted 7T Pro 5G successfully, but after installing AdAway, it does not work due to not being able to access the host file location. Probably due to the different system structure here - but has anyone gotten it to work?
You have to root to use this app, and without it, the others don't really do much - especially with Google crap.

You need to enable systemless hosts module

gaww said:
I have rooted 7T Pro 5G successfully, but after installing AdAway, it does not work due to not being able to access the host file location. Probably due to the different system structure here - but has anyone gotten it to work?
You have to root to use this app, and without it, the others don't really do much - especially with Google crap.
Click to expand...
Click to collapse
Enable this option...

js042507 said:
Enable this option...
Click to expand...
Click to collapse
Thanks, but I cant find the screen with the option or a module.
I saw systemless hosts for Addblocker apps, and it said the module had been added, but I don't see it ?

gaww said:
Thanks, but I cant find the screen with the option or a module.
Click to expand...
Click to collapse
That setting is in the adaway app. Sorry forgot to mention...you have go into magisk manager and select 'systemless' hosts option as well.

js042507 said:
That setting is in the adaway app. Sorry forgot to mention...you have go into magisk manager and select 'systemless' hosts option as well.
Click to expand...
Click to collapse
I did everything but still didn't work, but then remembered I had changed the host location earlier. put it back to the default, and now working - thanks again!

Related

Hey Adaway to stick on dirty unicorns?

Does anyone know how to get Adaway to stick on DU? It seems the hosts file gets updated but then reverts back to original after sometime.
Sent from my Nexus 6P using Tapatalk
junkfactory said:
Does anyone know how to get Adaway to stick on DU? It seems the hosts file gets updated but then reverts back to original after sometime.
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Yeah I haven't been able to get it to work, their own integrated ad blocking (that doesn't work at all) gets in the way I believe so there's nothing we can do. Have you tried another ad blocker like Adblock Plus?
System > Etc....find all 3 Host files and delete them. Run Adaway and it will stick.
Heisenberg said:
Yeah I haven't been able to get it to work, their own integrated ad blocking (that doesn't work at all) gets in the way I believe so there's nothing we can do. Have you tried another ad blocker like Adblock Plus?
Click to expand...
Click to collapse
Yep! This was my only complaint with their ROM. I substituted adaway with some adblocking Xposed modules. The modules coupled with DU's native adblocking did the trick.
Thanks for the input. I think i actually got it to stick. Here's what i did
1. In adaway preferences, touch Target hosts file then select custom target
2. Select custom target then enter /system/etc/hosts.og
3. Close preferences the hit download and apply.
4. If asks to create symbolic link select yes
So far is been sticking for me. I i think hosts.og is the original and being restored at some point.
Sent from my Nexus 6P using Tapatalk
d08speed3 said:
System > Etc....find all 3 Host files and delete them. Run Adaway and it will stick.
Click to expand...
Click to collapse
thx, it works!

How I passed safetynet, got root, adblock and viper-fx to work on OOS 4.0.2 OP3T

I decided to start this thread for a couple of reasons 1 so I can remember what order I did things in to get back after a wipe and 2 so maybe it can help others to setup certain apps how they want and not have to spend the time I did searching and googling.
To start we are going to assume you already have an unlocked bootloader and TWRP installed.
After a fresh wipe I flashed OOS 4.0.2 Full from this thread in TWRP
https://forum.xda-developers.com/oneplus-3t/how-to/rom-oos4-0-nougat-op3t-leaked-t3523482
I recommend a fresh wipe because every time I did a dirty flash or restored a backup my Android System started draining battery like crazy and phone would get warm while charging
Without rebooting I then flashed Magisk V10.2 in TWRP
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Still without rebooting I flashed Franco Kernel in TWRP
https://forum.xda-developers.com/on...ernel-franco-kernel-r1-28th-november-t3508904
I then wiped dalvik and cache and rebooted phone.
edit - THIS STEP WILL NOT WORK ON 4.0.3. It has been patched out.
Somewhere in the process my DM-Verity was tripped and although annoying it does not seem to matter and it can be fixed later by following this
https://forum.xda-developers.com/oneplus-3/how-to/fix-easy-method-removing-dm-verity-t3544339
After phone booted and I setup account and wifi and I go the play store and install PHH superuser
https://play.google.com/store/apps/details?id=me.phh.superuser&hl=en
Once installed I open it and click the 3 dots and go to settings
Where it says Superuser access I toggle between Apps only and Apps and ADB till I get the message Superuser granted to Superuser
I then go back into play store and install Magisk manager
https://play.google.com/store/apps/details?id=com.topjohnwu.magisk&hl=en
I go into Magisk Settings and click the checkbox to Enable Magisk Hide.
I then reboot phone
Once phone reboots I open Magisk manager again and check safetynet. It now passes.
I hate ads, I had been using Adaway from F-Droid with MM but I couldn't get it to work on N
I found this https://github.com/AdAway/AdAway/issues/770 after many searches. About halfway down a user named KreAch3R has comiled Sanjay900's changes into an apk so I figured I would give it a try.
At first I could not get it to activate and block ads
I installed this busybox and then it activates no problems and now most ads (not youtube) are blocked
https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
Now what I really wanted was Viper4arise. I tried flashing some in TWRP and I couldn't get them to work and this led to a couple more wipes. But I really wanted this so I kept searching.
I found this https://forum.xda-developers.com/apps/magisk/viperfx-mkm-magisk-t3535401
I downloaded it and enabled it in Magisk manager
Still no luck and I couldn't get it to work.
After more googling and reading through the other threads for viper I figured it was deep buffering
I used ES file explorer as I was not at home and went into system/etc and found audio_policy.conf
I commented out the first line I saw that said deep_buffer.
After saving I rebooted and now Viper-fx works
To get it to work with Poweramp I had to set FX compatibility mode in Viper to compatible and in Poweramp audio/advanced tweaks I had to disable Direct Volume Control and Enable MusicFX.
Thanks for sharing
Did you have any special trick to get viper to work ? Tried commenting out the line deep_buffer and still unable to get viper to work.
ghofer said:
Did you have any special trick to get viper to work ? Tried commenting out the line deep_buffer and still unable to get viper to work.
Click to expand...
Click to collapse
The only steps I did are what was listed.
I was able to replicate it twice after wipes with same steps.
This is the line I commented out in attached
Sykojoe said:
The only steps I did are what was listed.
I was able to replicate it twice after wipes with same steps.
This is the line I commented out in attached
Click to expand...
Click to collapse
Edited: Didn't see the attachment earlier. Answered my question. Thank you btw for sharing this the rest of the steps worked great for me. I am passing safety net.
Ya I realized a SS might help more so I edited it in.
Sykojoe said:
The only steps I did are what was listed.
I was able to replicate it twice after wipes with same steps.
This is the line I commented out in attached
Click to expand...
Click to collapse
Sykojoe said:
Ya I realized a SS might help more so I edited it in.
Click to expand...
Click to collapse
Would you be able to send me that file ? I am just curious what is wrong with my setup.
Just want to say thank you again. Didn't see the PM until now. I was able to use another guide on XDA to get Viper working.
Viper will not work on all apps at any time on OOS 4.0.2. Enable Compatibility mode in settings to get it to work. IMO this produces lower quality audio, but it works.
Still cant get viper working. Nothing of deep_buffer is commanded. Please can you share your audio_policy.conf?
NielsvdS said:
Still cant get viper working. Nothing of deep_buffer is commanded. Please can you share your audio_policy.conf?
Click to expand...
Click to collapse
You need to edit in a # on the deep_buffer line.
I sent you a pm with my file
NielsvdS said:
Still cant get viper working. Nothing of deep_buffer is commanded. Please can you share your audio_policy.conf?
Click to expand...
Click to collapse
1) With what app?
2) Did you enable Viper's Compatibility mode?
3) I've also modified audio_policy_configuration.xml to remove deep buffer. Messing with this file too much will break your audio though.
damiensturdy said:
1) With what app?
2) Did you enable Viper's Compatibility mode?
3) I've also modified audio_policy_configuration.xml to remove deep buffer. Messing with this file too much will break your audio though.
Click to expand...
Click to collapse
With what app?: I've editted with ES File Explorer.
Did you enable Viper's Compatibility mode? Not tried yet
I don't have changed anything inside audio_policy_configuration.xml
NielsvdS said:
With what app?: I've editted with ES File Explorer.
Did you enable Viper's Compatibility mode? Not tried yet
I don't have changed anything inside audio_policy_configuration.xml
Click to expand...
Click to collapse
WHat app isn't Viper working with? Viper processes audio on a per-app basis, based on the audio buffer the app uses. Google Play Music, on Nougat, does not pipe through Viper even with modifications to the audio config.
Enable compatibility mode. At the moment this is the only way to get the highest compatibility with apps- like Google Play Music.
damiensturdy said:
WHat app isn't Viper working with? Viper processes audio on a per-app basis, based on the audio buffer the app uses. Google Play Music, on Nougat, does not pipe through Viper even with modifications to the audio config.
Enable compatibility mode. At the moment this is the only way to get the highest compatibility with apps- like Google Play Music.
Click to expand...
Click to collapse
It's now working after disabling audio buffer. I use most of the times Spotify to listen to music
I followed same steps earlier. But my selinux is enforcing. I have to set it to permissive everytime on reboot. Permissive fix that comes with arise didnt work for me. Any idea..?
Do you think the Elemental X Kernel would be ok instead of franco kernel? Not sure if I'd get compatibility issues with any of this stuff. Btw not going to try to get adblock or viper fx. Also, do you wipe the system or just what TWRP has already checked?
x12prem said:
I followed same steps earlier. But my selinux is enforcing. I have to set it to permissive everytime on reboot. Permissive fix that comes with arise didnt work for me. Any idea..?
Click to expand...
Click to collapse
Mine is set to enforcing with all this working fine
Ra3zor0 said:
Do you think the Elemental X Kernel would be ok instead of franco kernel? Not sure if I'd get compatibility issues with any of this stuff. Btw not going to try to get adblock or viper fx. Also, do you wipe the system or just what TWRP has already checked?
Click to expand...
Click to collapse
Not sure. I know it all worked the same with stock kernel.
Normally when I need to wipe my phone it is because I have really messed it up so I wipe system and data.
Sykojoe said:
Mine is set to enforcing with all this working fine
Click to expand...
Click to collapse
But viper4rarise needs selinux as permissive. Isnt it....?

How to Trick Apps That Won't Run Becasue of Root

is there an app/ method to make apps, that auto close when your device is root, to ignore the root/make them belive that it is not rooted?
Thanks
saar17 said:
is there an app/ method to make apps, that auto close when your device is root, to ignore the root/make them belive that it is not rooted?
Thanks
Click to expand...
Click to collapse
In magisk you can hide apps(magisk hide) also there's a safetynet fix module for magisk.
strongst said:
In magisk you can hide apps(magisk hide) also there's a safetynet fix module for magisk.
Click to expand...
Click to collapse
doesnt work. The app called PushTAN it of a german bank. It sends to you a confirmation message that you need to enter when you want to make any sort of bank transfer or something like that.When I push the app it automatically closed.
saar17 said:
doesnt work. The app called PushTAN it of a german bank. It sends to you a confirmation message that you need to enter when you want to make any sort of bank transfer or something like that.When I push the app it automatically closed.
Click to expand...
Click to collapse
Please: You should mention the app and your device setup if you want further detailed assistance. People with similar problems on that app may help but without the exact app name it's not possible.
"Doesnt work" seems to me that you already tested both methods on magisk(which version?)?
guessing it's that app https://play.google.com/store/apps/details?id=com.starfinanz.mobile.android.pushtan it's the silliest banking app I know.
strongst said:
Please: You should mention the app and your device setup if you want further detailed assistance. People with similar problems on that app may help but without the exact app name it's not possible.
"Doesnt work" seems to me that you already tested both methods on magisk(which version?)?
guessing it's that app https://play.google.com/store/apps/details?id=com.starfinanz.mobile.android.pushtan it's the silliest banking app I know.
Click to expand...
Click to collapse
Yeah that one. Ive a OP5 with XXX rom version 10.7.
Magisk 16.3
Someone?
saar17 said:
Someone?
Click to expand...
Click to collapse
Have you tried "Hide Magisk Manager" in Settings of the Manager App?
Maybe the App checks for Package Names.
The TAN App of DKB (another german bank) does this, but you can use it with this trick.
samy1994 said:
have you tried "hide magisk manager" in settings of the manager app?
Maybe the app checks for package names.
The tan app of dkb (another german bank) does this, but you can use it with this trick.
Click to expand...
Click to collapse
it worked! Thanks
saar17 said:
it worked! Thanks
Click to expand...
Click to collapse
I already recommended that https://forum.xda-developers.com/on...s-wont-run-becasue-root-t3794357/post76600224 maybe a misunderstanding?
strongst said:
I already recommended that https://forum.xda-developers.com/on...s-wont-run-becasue-root-t3794357/post76600224 maybe a misunderstanding?
Click to expand...
Click to collapse
Probably you misunderstood them, because "Magisk Hide" (where you select apps to hide from root) is something else than "Hide Magisk Manager" (which repackages the Magisk app to a different package name).
david19au said:
Probably you misunderstood them, because "Magisk Hide" (where you select apps to hide from root) is something else than "Hide Magisk Manager" (which repackages the Magisk app to a different package name).
Click to expand...
Click to collapse
Yeah that's the problem with the translation as you can see in my Screenshot. Magisk hide isn't the same as magisk hide mentioned before:silly:
some apps doesn't work if the kernel is permissive even if you hide them in magisk.
You need to make kernel enforcing to run the apps.

How to hide root from an app that blocks it?

TV streaming app blocks my device because it is rooted (for content protection reasons)
Is there a way to hide the root or at least turn it off quickly ?
btw, Magisk Hide is ON, I also tried "Hide Magisk Manager; repackage Magisk manager with random package name"
Thank you:good::fingers-crossed::good::laugh:
Check safetynet isn't broken in magisk.
Cts profile and integrity.
Do you have xposed?
alkesh95 said:
Check safetynet isn't broken in magisk.
Cts profile and integrity.
Do you have xposed?
Click to expand...
Click to collapse
The results:
ctsProfile: true
basicIntegrity: true
Click to expand...
Click to collapse
I don't remember I ever installed "xposed"
I use the default rom, I have magisk with a few models: android o APT-X libraries
Camera lag fix oreo
MI A1unified hosts adblock
viper4android FX
Youtube Vanced Magisk Repo
Share app link please.
alkesh95 said:
Share app link please.
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=il.co.stingtv&hl=en
Not sure how useful the link is because only paid members can test it, the error is received only after trying to watch a stream
Gyro01 said:
TV streaming app blocks my device because it is rooted (for content protection reasons)
Is there a way to hide the root or at least turn it off quickly ?
btw, Magisk Hide is ON, I also tried "Hide Magisk Manager; repackage Magisk manager with random package name"
Thank you:good::fingers-crossed::good::laugh:
Click to expand...
Click to collapse
Try this:
from the hamburger menu go to Magisk Hide and select the app you want to hide from the list.
sipollo said:
Try this:
from the hamburger menu go to Magisk Hide and select the app you want to hide from the list.
Click to expand...
Click to collapse
@Gyro01 you haven't done this?
sipollo said:
Try this:
from the hamburger menu go to Magisk Hide and select the app you want to hide from the list.
Click to expand...
Click to collapse
alkesh95 said:
@Gyro01 you haven't done this?
Click to expand...
Click to collapse
I already tried it and it failed, even after enable before opening the app in the first time I still got the error.. maybe the app stores a file on my phone once it detected it is rooted?
//////////.......//////////
???
Same issue
Some apps (eg. banking, android pay) will not run if the bootloader is unlocked.
Gyro01 said:
TV streaming app blocks my device because it is rooted (for content protection reasons)
Is there a way to hide the root or at least turn it off quickly ?
btw, Magisk Hide is ON, I also tried "Hide Magisk Manager; repackage Magisk manager with random package name"
Thank you:good::fingers-crossed::good::laugh:
Click to expand...
Click to collapse
Did you hide Google framework and Google playstore prior to installing the app?? If not, uninstall the app and try it once.
2 years later, 2 android versions ahead and i have the same damn issue, with another streaming app. Have you found any solution?

Magisk hide not working

Hello guys!!
Magisk hide does not work in my op6t. I selected different apps in my hide menu but they still block me to use them. Someone can help me ?
Thanks
lele90 said:
Hello guys!!
Magisk hide does not work in my op6t. I selected different apps in my hide menu but they still block me to use them. Someone can help me ?
Thanks
Click to expand...
Click to collapse
Try 17.3, should work fine :good:
Funk Wizard said:
Try 17.3, should work fine :good:
Click to expand...
Click to collapse
I'm using that version!
lele90 said:
I'm using that version!
Click to expand...
Click to collapse
Strange .. have you tried uninstalling it and installing it again and does the magisk screen shows everything working ?
Funk Wizard said:
Strange .. have you tried uninstalling it and installing it again and does the magisk screen shows everything working ?
Click to expand...
Click to collapse
I will try, thanks
Same probkem here
saiiint said:
Same probkem here
Click to expand...
Click to collapse
Have you tried renaming any files or folders that you have created with magisk in the title?
toolhas4degrees said:
Have you tried renaming any files or folders that you have created with magisk in the title?
Click to expand...
Click to collapse
Tried that. Still no chance to run app.
lele90 said:
Hello guys!!
Magisk hide does not work in my op6t. I selected different apps in my hide menu but they still block me to use them. Someone can help me ?
Thanks
Click to expand...
Click to collapse
OS Version?
Stable Magisk is 18.1.
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
It works on 9.0.12.
saiiint said:
Tried that. Still no chance to run app.
Click to expand...
Click to collapse
Have you cleared the cache or data for the affected apps? I've noticed apps seem to remember if they have detected root and clearing cache will usually make clear it up.
Ive cleared cache, rename any magisk word in files, i even unroot my phone.
After unroot8ng and clearing cache app is working.
After root, selec5 app to hide root and run the app, it detected as rooted device.
Easy fix
Install
Magiskhide props config
From magisk modules
Working perfectly for me
Not working at all. Installed module. Unable to run the app.
saiiint said:
Not working at all. Installed module. Unable to run the app.
Click to expand...
Click to collapse
Before you do all that work, you should try Canary version 18.2 Magisk. No need for renaming files, installing a module config. Flash the 18.2 Magisk Canary and that's it.
Actually, for me it is working partly. After disable and enabling magisk hide it works for a few hours.
Will try to update to v19, maybe that fixes it.
But glad to hear not to be the only one having issues.
Edit: V19 fixed it for me.
Damn. I still havr nothing
Try going into the settings of magisk and select hide magisk manager and repackage with different name. That works for me.

Categories

Resources