How do I get AdAway to run on my Z2 with LineageOS? - Moto Z2 Force Questions & Answers

Apparently it can't write to /system/ even though it has root access.

Adaway has many versions, tho using 4.x ideal on Oreo+. Also, you should be using it systemlessly to avoid safety net related problems.

I have Adaway 4.2.2. SafetyNet is a Google Play thingy, right? I don't have that in my phone.

Quza said:
I have Adaway 4.2.2. SafetyNet is a Google Play thingy, right? I don't have that in my phone.
Click to expand...
Click to collapse
Certain apps check for it (PGO, Snapchat, DTV, Netflix, etc). I know 4.1.0 works on Pie, haven't tried 4.2.2.

I noticed Adaway doesn't work anymore. Simply changing the host file won't block ads it's basically a thing of the past. Ads also work through Webview and there are also services and receivers on newer Android versions that need to be blocked. Anyway if you're using stock Android the host file is write protected if you're on a custom rom I don't know.

Related

Best ad blocker app?

Any idea on which ad blocker app to sideload to block ads that are in apps? If you were to sideload it, Im going to assume its like on a cell phone where it injects or loads SCRIPTS?
Adblocking is mostly done done via entries within the hosts file:
http://en.wikipedia.org/wiki/Hosts_(file)
But therefore you need to be rooted which isn´t possible with the latest firmware.
On rooted devices I do personally use AdAway:
https://f-droid.org/repository/browse/?fdfilter=adaway&fdid=org.adaway
Can be sideloaded or installed via F-Droid catalogue:
https://f-droid.org/
If you disabled the dcp with root access or are stuck without root on a later firmware,I recommend WiFi AdBlocker.
I'm rooted
mroneeyedboh said:
Any idea on which ad blocker app to sideload to block ads that are in apps? If you were to sideload it, Im going to assume its like on a cell phone where it injects or loads SCRIPTS?
Click to expand...
Click to collapse
Best solution I've found is Lucky Patcher. Google it, download any version from a source you trust, then let it sit after you run it for a moment, and it will pop up saying it can be updated. Update it and run it.
At the bottom is an option, Block Advertisements. Click on it, it writes to the host file.
Might need to use a mouse to click on it, not sure if the remote will get you down there or not.
Ive sene lucky patcher..Seems a bit shady to me.
AdAway hands down as was previously mentioned by Calibaan. I personally use the "unofficial" build from xda-dev because I don't want to install yet another app store. I have this installed on my AFTV and I can confirm it works like a charm.
http://forum.xda-developers.com/showthread.php?t=2190753

All banking apps crash?

Hey, I've just installed lineageos 15.1 on my oneplus 2, all my banking apps (natwest, Tsb, Halifax etc) crash when I try to login to them. The installation went fine except it said it couldn't mount /data during the install, but it worked.
Would this be be linked to all my banking apps crashing? I'm not rooted. Any other ideas why it might not work?
You may need to install Magisk which is the new method of rooting and use it to hide root from the banking apps. I think the apps are programmed to pick up custom ROM's hence why it's not working.
Sent from my LG-H930 using Tapatalk
willowen100 said:
You may need to install Magisk which is the new method of rooting and use it to hide root from the banking apps. I think the apps are programmed to pick up custom ROM's hence why it's not working.
Sent from my LG-H930 using Tapatalk
Click to expand...
Click to collapse
Just did a completely clean install, got no problems with /data this time (no errors at all).
Installed TSB and Halifax and both crash upon login. (Nothing to say anything about root, just app force closes or returns to login screen).
I installed Magisk and used Magisk hide still no luck.
Anyone got any ideas why it's just the banking apps crashing?
Tried the same thing on a oneplus one with LineageOS 15.1 and it worked fine?
I have the exact same issue on my OnePlus 2. This issue existed in Lineage OS 15.1 and now in Resurrection Remix as well. A work around is to use an older version of Natwest App, which can be downloaded from Apk mirror (see below)
https://www.apkmirror.com/apk/the-r...banking-05-04-0000-36-0-android-apk-download/
This solution sucks though because you miss out on the latest features introduced. Also, fingerprint login won't work.
Not worth the hassle, It'll just end in failure, the best method is to just use the banks main sites with a good browser.

Safety net passes but Google pay doesn't work?

Hey guys. So I have the latest magisk beta v19 and latest magisk manager. My safety net is passing but Google pay doesn't work. Did the new March update make it detect unlocked bootloader? My bootloader is unlocked with TWRP installed. Has anyone tested with and without TWRP installed?
zee24 said:
Hey guys. So I have the latest magisk beta v19 and latest magisk manager. My safety net is passing but Google pay doesn't work. Did the new March update make it detect unlocked bootloader? My bootloader is unlocked with TWRP installed. Has anyone tested with and without TWRP installed?
Click to expand...
Click to collapse
Works for me but I had to make sure to hide the needed apps in MagiskHide (GPay, G Play Services, Framework) and even then, it required me to clear data in Pay, Services > then reboot > then proceed to add a card.
Also check to make sure that auto updates are not on for Google Pay. I think the version matters. My version is currently 2.84.237487748.
SageWilliams said:
Works for me but I had to make sure to hide the needed apps in MagiskHide (GPay, G Play Services, Framework) and even then, it required me to clear data in Pay, Services > then reboot > then proceed to add a card.
Also check to make sure that auto updates are not on for Google Pay. I think the version matters. My version is currently 2.84.237487748.
Click to expand...
Click to collapse
Wow so idk which one of the things you said did it but it worked, I downgraded my app, but I didn't have Google framework hidden from magisk so I did that I cleared the data and then rebooted that worked! Thanks so much and anyone else who's having this issue try this
zee24 said:
Wow so idk which one of the things you said did it but it worked, I downgraded my app, but I didn't have Google framework hidden from magisk so I did that I cleared the data and then rebooted that worked! Thanks so much and anyone else who's having this issue try this
Click to expand...
Click to collapse
Great, I will say its hit or miss sometimes. Mine worked in stores for a few days, then stopped saying I was rooted so I had to redo the method to get it back.
This is the fix
Magisk stable build, all latest official builds of everything else, nothing special. and Magisk hide on google play store, google play services and google pay then - Renaming com.google.android.gms to com.google.android.gms.bak (found in Data/Data) in root browser and then rebooting is the answer .
prot- said:
This is the fix
Magisk stable build, all latest official builds of everything else, nothing special. and Magisk hide on google play store, google play services and google pay then - Renaming com.google.android.gms to com.google.android.gms.bak (found in Data/Data) in root browser and then rebooting is the answer .
Click to expand...
Click to collapse
Great. Finally a fix. All like above but used Magisk 19.0. Thanks. I hope we're able to keep finding fixes like this. Google pay is a convenience.
According to this, it is to be expected on Pixel devices, vs others.
Advantages:
If you will see the list of the advantages and the list is too long of the magisk. This is the best Android application which you can use on your device. Let’s take a dive in the advantages of the Magisk.
You can use Financial/Banking applications.
You can use Snapchat without any issues.
You can also play Pokemon Go on your rooted Android device.
You can install OTA updates on your device.
You can also install System-less Xposed framework on your lollipop and marshmallow devices.
You can use Android Pay.
You can also bypass SafetyNet.
You might Face issues in:
Google Pixel and Google Pixel XL devices. The work is in progress, and we are working on i.
Magisk Manager cannot be placed in adaptable storage, or superuser will not work
MagiskSU does not support multi-user, and we are working on it to make multi-user support.
MagiskSU does not work on Android O preview, and we are working on it.
Click to expand...
Click to collapse
https://******************/
Since when are we not allowed to post links? Go to: magiskmanager dot com
Droid_Nut said:
According to this, it is to be expected on Pixel devices, vs others.
https://******************/
Since when are we not allowed to post links? Go to: magiskmanager dot com
Click to expand...
Click to collapse
Ever since that site was verified to be a fake.
https://www.google.com/amp/s/www.xd...kmanager-com-not-official-website-magisk/amp/
prot- said:
This is the fix
Magisk stable build, all latest official builds of everything else, nothing special. and Magisk hide on google play store, google play services and google pay then - Renaming com.google.android.gms to com.google.android.gms.bak (found in Data/Data) in root browser and then rebooting is the answer .
Click to expand...
Click to collapse
Thanks so much dude....much appreciated

[Q] XIAOMI.EU - inject adaway / Afwall+ before installation ?

Hi,
I bought a joyeuse and want to switch from stock rom to xiaomi.eu without rooting my phone - but I really miss adaway and afwall+
Netguard is nice but I would rather prefer to use both apps a system apps.
Is it possible to add those apps to the ROM as system apps prior to the installation?
Thanks
HiHiMan
I don't think you could do that since both those apps need root access and being installed as system app does not remove that requirement. What would be wrong with rooting your eu rom?
Why not just Adguard which has the functionality of both and better in every imagianble way without needing root?
Thanks, currently I am using NetGuard - but I am kind of missing adaway with hosts instead using VPN
Root and edxposed (e.g. fpr xprivacylua) is not comparable with banking apps.
After almost 10 years working with rooted phones I (at least I try) to to keep this one as "virgin" as could be...
EDIT: but in case I just want to temporarily root the phone, what would be the best solution?
- flash ROM
- flash TWRP
- install Magisk
- install Titanium Backup
- install Adaway as system app
- install adwall+ as system app
- uninstall Magisk
- install gapps
done? will I probably keep widevine L1 and pass SafetyNet??
hihiman1 said:
Thanks, currently I am using NetGuard - but I am kind of missing adaway with hosts instead using VPN
Root and edxposed (e.g. fpr xprivacylua) is not comparable with banking apps.
After almost 10 years working with rooted phones I (at least I try) to to keep this one as "virgin" as could be...
EDIT: but in case I just want to temporarily root the phone, what would be the best solution?
- flash ROM
- flash TWRP
- install Magisk
- install Titanium Backup
- install Adaway as system app
- install adwall+ as system app
- uninstall Magisk
- install gapps
done? will I probably keep widevine L1 and pass SafetyNet??
Click to expand...
Click to collapse
Seems to be alright
I have no issues with Advised and all three banking apps I use, I still so no reason to use this method as there's no positives in comparison to Adguard.
razerphynx said:
I have no issues with Advised and all three banking apps I use, I still so no reason to use this method as there's no positives in comparison to Adguard.
Click to expand...
Click to collapse
Adguard doesn't require a rooted device. This is why you don't have issues with banking apps
Exactly, there's no need to root if you're using Adguard. But it does support root if you don't want to use it via local VPN.
hihiman1 said:
Adguard doesn't require a rooted device. This is why you don't have issues with banking apps
Click to expand...
Click to collapse
I use energized module for magsik and have no problems, but, I do have problems work my spectrum tv app... But magsik has come so far you can hide specific programs from magsik... And by doing that I am able to use my spectrum tv app
i use dns66

Question Unable to install Netflix after rooting

So, I managed to root this beauty 1+9 Pro relatively easily.
I got Magisk installed, and hid all the Apps that needed hiding.
Even Google Pay works.
But I can't for my sanity figure out why Netflix or Android OS 11 is refusing to let me install Netflix.
Everytime I try to install the Netflix App latest APK, extracted from my old working phone ( Razer Phone 2 also rooted), it will just give me the error message " Sorry No Application Available "
Does anyone have a clue what can be done to make Netflix install in a rooted 1+9 Pro ?
Thanks.
BTW i tried several Netflix App version already.
Also I do know the APK works because I used it to install on another Tablet that will not show up Netflix on Google store.
AllGamer said:
So, I managed to root this beauty 1+9 Pro relatively easily.
I got Magisk installed, and hid all the Apps that needed hiding.
Even Google Pay works.
But I can't for my sanity figure out why Netflix or Android OS 11 is refusing to let me install Netflix.
Everytime I try to install the Netflix App latest APK, extracted from my old working phone ( Razer Phone 2 also rooted), it will just give me the error message " Sorry No Application Available "
Does anyone have a clue what can be done to make Netflix install in a rooted 1+9 Pro ?
Thanks.
BTW i tried several Netflix App version already.
Also I do know the APK works because I used it to install on another Tablet that will not show up Netflix on Google store.
Click to expand...
Click to collapse
Is Netflix currently installed as a system app? I wasn't able to uninstall that or get it working, so when I was on 11.2.2.2 I managed to fix it by installing a *newer* version of the Netflix apk that I grabbed from apkpure.com, over top of the system app. Then I had the same issue again on 11.2.4.4, and that method didn't work anymore. However, that time it let me uninstall updates to the app and then update in the play store.
I dont know how exactly, but Netflix still detects the rooted device and denies the install from google play, I think based in the unocked boot loader not sure.
I managed to install from apkmirror and is working fine now.
there is a catch though.
They are moving away from simple apk install and using apk bundles, like some sort of tarball with several apks in it, so you will need this apkm installer app for it to install the newer version. to get this installer working you need to disabled MIUI optimizations from dev options. thats all, I got mine working this passed saturday that way
EDIT: never mind with that MIUI option i thought this was a diffirent model, none the less the apkmirror is still worth a shot
I some how managed to force install it via Titanium Backup, but then it gives me another error when I try to run Netflix App.
" This device is not supported by the app "
it's running the latest version Netflix v7.102.0 build 12 35461
You have to install Magisk Canary, once you do so reboot the phone. Wipe Google play stores data and cache.. magisk hide Netflix and the Google Play Services reboot once more. That's how I got mine to work.
Install: liboemcrypto disabler
from Magisk, reboot ....enjoy
luckylui said:
You have to install Magisk Canary, once you do so reboot the phone. Wipe Google play stores data and cache.. magisk hide Netflix and the Google Play Services reboot once more. That's how I got mine to work.
Click to expand...
Click to collapse
This worked for me too w/ Disney Plus
I used Aurora Store to install it and haven't had an issue even with updating
thats_the_guy said:
I used Aurora Store to install it and haven't had an issue even with updating
Click to expand...
Click to collapse
This sort of worked for me, it game me a failed message, but at least it tried to install, unlike the other Apps that wouldn't even let me try to install.
avid_droid said:
For those of you having issues with Netflix after rooting, install this version over the Netflix you have and it should work fine. It's just a version before the latest...
Netflix 7.102.0 build 12 35461 (nodpi) (Android 5.0+) APK Download by Netflix, Inc. - APKMirror
Netflix 7.102.0 build 12 35461 (nodpi) (Android 5.0+) APK Download by Netflix, Inc. - APKMirror Free and safe Android APK downloads
www.apkmirror.com
Click to expand...
Click to collapse
Just tried, it did not work unfortunately, it's probably related to that SafetyNet error I have in Magisk.
avid_droid said:
Make sure you have magisk canary installed to pass safetynet. Stable magisk doesn't work.
https://raw.githubusercontent.com/topjohnwu/magisk-files/canary/app-debug.apk
I use magisk hide and everything works fine
Click to expand...
Click to collapse
Yeah, I got the SafetyNet thing fixed.
However still unable to install Netflix.
still getting "App Not Installed" error, when I try to install the APK.
I tried installing the "liboemcrypto disabler " as suggested a few messages back, and also doesn't seem to make any difference.
AllGamer said:
Yeah, I got the SafetyNet thing fixed.
However still unable to install Netflix.
still getting "App Not Installed" error, when I try to install the APK.
I tried installing the "liboemcrypto disabler " as suggested a few messages back, and also doesn't seem to make any difference.
Click to expand...
Click to collapse
Have you tried to look for it on the play store after fixing safetynet?
craznazn said:
Have you tried to look for it on the play store after fixing safetynet?
Click to expand...
Click to collapse
I just did after reading this.
It's not showing up in Google Play store.
It's just so weird, everything else works, Google Pay (wallet), Pokemon Go, Banking Apps, everything else that usually will complain and refuse to run when Root is detected, are all working fine, except for Netflix.
avid_droid said:
Try clearing cache and data then try reinstalling app over current Netflix. That's what I do and it works everytime
Click to expand...
Click to collapse
I'm thinking maybe I'll need to un-root my phone, update Netflix, see if it runs without root, if it works, then try to root again and figure how to go from there.
... what a hassle
AllGamer said:
I'm thinking maybe I'll need to un-root my phone, update Netflix, see if it runs without root, if it works, then try to root again and figure how to go from there.
... what a hassle
Click to expand...
Click to collapse
I did this and had the same problem while unrooted, so it turned out to be a waste of time. It seems to have an issue with the unlocked bootloader, not just root. At least with root you can hide unlocked status, which is a step in the right direction. Hide root from Netflix, and also hide magisk app itself in magisk settings.
If you're trying to install Netflix over the system app, make sure to first uninstall updates to the system app so it's the oldest possible version. Then make sure whatever version you're installing on top (whether from play store or APK download) is newer than your installed version. Older versions will not install over newer ones.
terlynn4 said:
I did this and had the same problem while unrooted, so it turned out to be a waste of time. It seems to have an issue with the unlocked bootloader, not just root. At least with root you can hide unlocked status, which is a step in the right direction. Hide root from Netflix, and also hide magisk app itself in magisk settings.
If you're trying to install Netflix over the system app, make sure to first uninstall updates to the system app so it's the oldest possible version. Then make sure whatever version you're installing on top (whether from play store or APK download) is newer than your installed version. Older versions will not install over newer ones.
Click to expand...
Click to collapse
There are sai versions floating around here that work search xda also make sure you magisk hide Netflix before you open it initially. Or hide them clear cache and data on netflix
terlynn4 said:
I did this and had the same problem while unrooted, so it turned out to be a waste of time. It seems to have an issue with the unlocked bootloader, not just root. At least with root you can hide unlocked status, which is a step in the right direction. Hide root from Netflix, and also hide magisk app itself in magisk settings.
If you're trying to install Netflix over the system app, make sure to first uninstall updates to the system app so it's the oldest possible version. Then make sure whatever version you're installing on top (whether from play store or APK download) is newer than your installed version. Older versions will not install over newer ones.
Click to expand...
Click to collapse
Update.
Minor good news.
I wiped the phone from recovery mode.
So, the phone is kind of factory mode, I completed the "new" phone setup thing, and the first thing I went to try was Netflix and it worked.
So... it appears to be something to do with Root and/or Magisk being detected.
Update 2
More good news, I rooted it again, installed Magisk and Netflix is still working.
Not sure why it wasn't working before, also not quite sure what was the actual fix.
I don't really consider a full system wipe a "fix" but well that did it for me.
avid_droid said:
A wipe isn't necessary but glad you got it working
Click to expand...
Click to collapse
So, I just imported Apps and Data from the old phone again via Google "setup my device" transfer, and now Netflix got disabled again.
I'll try again and skip Google transfer to find out if that helps.
I can always use One+ Switch App to see if that is better.
avid_droid said:
OnePlus switch will still result in the same issue. Clear data and cache,install the app link I provided and make sure magiskhide is set to on.
Click to expand...
Click to collapse
Seems like it worked,
I installed a full APK from my old phone and now it's able to run.
However it still doesn't show up in Google Play store when I search for Netflix.

Categories

Resources