[Magisk][Module] Systemless Adblocker - Magisk

Systemless Adblocker​
Requirements
Magisk V7 is required to be installed on your device!
Magisk - The Universal Systemless Interface​Features
Adblocker which does not affect system partition
Will be updated frequently (so you got latest blocked websites)
Compatible with latest magisk version (and updatable with Magisk Manager)
Source
Github

Tkkg1994 said:
Systemless Adblocker​
Requirements
Magisk V7 is required to be installed on your device!
Magisk - The Universal Systemless Interface​Features
Adblocker which does not affect system partition
Will be updated frequently (so you got latest blocked websites)
Compatible with latest magisk version (and updatable with Magisk Manager)
Source
Github
Click to expand...
Click to collapse
Seems interesting, but no download links ? Should we build it ourselves ?

host files are systemless by default with magisk installed, why not just use adaway?

Modules are now downloaded directly through the magisk manager. Kinda like how xposed installer is

casual_kikoo said:
Seems interesting, but no download links ? Should we build it ourselves ?
Click to expand...
Click to collapse
Waiting for john to add this to his repo system
ibrokemypie said:
host files are systemless by default with magisk installed, why not just use adaway?
Click to expand...
Click to collapse
As far as I know adaway patches system files and no magisk/host file that's why I do this
slothdabski said:
Modules are now downloaded directly through the magisk manager. Kinda like how xposed installer is
Click to expand...
Click to collapse
Exactly, waiting for john to add my adblocker

Magisk mounts the hosts file by default. You can find it in /magisk/.core/hosts. Adaway will then modify this file as it is mounted over the actual /system file.

bumpaneer said:
Magisk mounts the hosts file by default. You can find it in /magisk/.core/hosts. Adaway will then modify this file as it is mounted over the actual /system file.
Click to expand...
Click to collapse
Got it. Will close thread
Sent from my SuperMan powered SM-G930F

Related

[Magisk/Root/Xposed/Busybox]Huawei P9 Lite

-This methode is old but working with emui 4 Android MM (6). Not work with Android N (7).
-Xposed not work in systemless mode if your Android security patch is >= november 2016
-Try to search the last version of zip files and apk on google, the version on this tutorial is old.
Hi!
This tutorial will install Magisk, phh's superuser, xposed and busybox on your Huawei P9 lite device!
Tested on a VNS-L31C432B151 version but normally work on all VNS-L31 and VNS-L21.
Magisk will allow you to "hide" the root... not realy just hide because Magisk and phh's superuser systemless edition create the root outside the system folder!
Magisk feature for common user:
-"hide" root (PokémonGo, Androidpay, banking app, ... all work!) work with
-Magisk not only allow you to replace existing file and directories, but also support adding new files and directories into system!
-Update OTA work! (not tested by me)
For more detail visite this post: http://forum.xda-developers.com/android/software/mod-magisk-v1-universal-systemless-t3432382
Phh's superuser work at 100% on this device
After a lot of Xposed version tested I can say that Xposed systemless edition is by far the best for P9 lite!
DONT install busybox on system folder!
Ok let's go:
1 Update your system on last emui version and swipe data/factory reset to get a clean and untouched device!
2 Unlock your bootloader (see multiple method on this forum)
3 Install TWRP 3.0.2.0 (see multiple method on this forum)
4 Download this files: Magisk V6.zip / phh's superuser 17.zip / xposed-v86.5-sdk23-topjohnwu.zip / Magisk Manager.apk / XposedInstaller_by_dvdandroid.apk. Put all this files on your externalSD.
5 Go to TWRP recovery and flash in order [Magiskv6.zip > phh's_superuser.zip > Xposed-v.86.5.zip] also reboot your device.
6 When you are on the homescreen go reboot again.
7 Install Magisk Manager.apk and XposedInstaller.apk, then go to the playstore download and install Phh's SuperUser app AND Busybox meefik. Reboot after this step.
8 Open your setting app and allow permission SD card to Busybox.
9 Open Busybox >> settings. Remplace the path file /system/xbin/ with /data/busybox/ and check "Remplace Applets". Also go Menu Zip Archive and download this zip.
10 Go on TWRP recovery and flash the busybox zip file.
10 please perform 3 or 4 reboot
DONE!
So, please try to open yours setting app. if it appears you have done! If not, please try again this method
Now, go Magisk Manager (app) and switch root togle off, launch your protected against root app and normally work!
(Dont need reboot between switch root off/on!)(Selinux switch work, but not persist a boot)
Have fun!
Well done. Works perfect.
The are no files any more
Links are dead
deleted
Evas0r said:
Battery draining after the process...
Is this xposed fault?
Click to expand...
Click to collapse
yes u have to flash another version
Did anyone try this on Nougat/Android 7?
Alexander33 said:
Did anyone try this on Nougat/Android 7?
Click to expand...
Click to collapse
TWRP with this [RECOVERY]Revolution Recovery Android Nougat {15-12-16} Beta .9 in Nougat but anything I tried to flash failed.
Is there anything one can do to get Pokémon Go working while having all of these installed?
Alexander33 said:
Did anyone try this on Nougat/Android 7?
Click to expand...
Click to collapse
Hey, man I've tested it on my Huawei P9-LITE B370 and it all works perfectly. To flash Magisk, you need this custom recovery (https://forum.xda-developers.com/huawei-p9lite/development/twrp-t3588356)
this really helped me thanks
Helped me alot. Still, post is a bit old, so what I did on b380 version:
FLASH RECOVERY twrp-3.1.1-0-venus.img
FLASH KERNEL Elite+Kernel+for+P9+Lite+CxxB3xx+v10.1.zip
ROOT with Magisk-v13.0(96f8efc).zip
INSTALL busybox archive via recovery to /sbin (for me it installed on /system/xbin, still ok.)
REBOOT after each step
Finally works ! :good:
is this Magisk work on Huawei P9?
I have Emui 5.0 and Android 7.0. I flashed everything except xposed but I still can't use Pokémon Go or Snapchat. Is it beacause i can't flash xposed? And when yes, how can I fix it?
Lg ThePrinoob
ThePrinoob said:
I have Emui 5.0 and Android 7.0. I flashed everything except xposed but I still can't use Pokémon Go or Snapchat. Is it beacause i can't flash xposed? And when yes, how can I fix it?
Lg ThePrinoob
Click to expand...
Click to collapse
flash magisk v13
simo255 said:
flash magisk v13
Click to expand...
Click to collapse
Ok, I will test it!
I installed magisk v13 and got the app but it when it check safety net it doesnt work. What should I do?
ThePrinoob said:
I installed magisk v13 and got the app but it when it check safety net it doesnt work. What should I do?
Click to expand...
Click to collapse
enable magisk hide and see if usb debugging is enabled
simo255 said:
enable magisk hide and see if usb debugging is enabled
Click to expand...
Click to collapse
Okey thank you it worked.
Hey,
If I open the camera app or snpachat I cant make any picture so I have a blackscreen. What should I do? And in youtube or Instagram I cant see videos, they dont load and I also cant hear any sound.
Sorry for my bad english.

Magisk 15.3 make me confused

I remember when I'm using Magisk 14.0 on Nougat 7.1.2 and Oreo 8.0 when i install module and then when i check module on Magisk Manager the module was installed
But when i install Magisk 15.3 on Oreo 8.1 when i install the module and then check on Magisk Manager the module doesn't installed properly even in twrp say instalation complete i try to install module via Magisk Manager first it was installed but when i reboot to recovery to install Magisk module which can be installed via recovery and then opening again module menu the module doesn't installed properly again instead it makes me more confused how to install module on Magisk 15.3
I forgot this
ZidanBlaster said:
I forgot this
Click to expand...
Click to collapse
Instead of all those screenshots it would have been more useful if you had provided the installation log, recovery log and Magisk log...
One thing to try is a complete uninstall and reinstall of Magisk.
Didgeridoohan said:
Instead of all those screenshots it would have been more useful if you had provided the installation log, recovery log and Magisk log...
One thing to try is a complete uninstall and reinstall of Magisk.
Click to expand...
Click to collapse
Ok when i trying to unistall and reinstall Magisk some of module can be installed but some of module doesn't installed properly when i check it the problem was being caused by this
I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop1' - change
Here's the recovery log
ZidanBlaster said:
Ok when i trying to unistall and reinstall Magisk some of module can be installed but some of module doesn't installed properly when i check it the problem was being caused by this
I:Found no matching fstab entry for uevent device '/devices/virtual/block/loop1' - change
Here's the recovery log
Click to expand...
Click to collapse
And what about the Magisk log? Even better would be if you could install the v15.3 beta (only difference is more verbose logging) and provide the magisk_debug.log from /data/adb.
Didgeridoohan said:
And what about the Magisk log? Even better would be if you could install the v15.3 beta (only difference is more verbose logging) and provide the magisk_debug.log from /data/adb.
Click to expand...
Click to collapse
Ok i try later

[TOOL] Magisk Module Manager for recovery v2.5 (Magisk 19)

Since mm isn't working on new Magisk 19, I took it for inspiration and created a simple manager, just for bypass some "bootlooper" module.
Just install it using recovery and run on terminal /data/media/magisk.
v1.0 - Initial build. Enabling and disabling functions
v2.0 - Added module removal function
v2.5 - No need to use storage to work. May avoid issues. Some others minor changes.
All thanks to
- topjonhwu for Magisk
- VR25 for mm
- TWRP team
- Me? Idk
Great work dev[emoji106], thanks
doesn't works for me (doesn't list modules)
mrhamed said:
doesn't works for me (doesn't list modules)
Click to expand...
Click to collapse
To list modules the script needs to write on /cache or /data. It will choose by itself.
Please send some screenshot of issue.
Looks very promising, especially enjoy having a GUI for this.
mrhamed said:
doesn't works for me (doesn't list modules)
Click to expand...
Click to collapse
I'm working to make script use no external files, so script will depends completely on your recovery binaries.
Hope to release it soon.
I suffer a boot freeze because of a bad module.
Cannot use TWRP and don't have module like Magisk Core Only installed.
I cannot boot to rooted system because of bad module.
Can boot non-rooted system only.
For my device LYA (Mate 20 Pro) which for rooting is using root-through-recovery-boot I can patch boot image with whatever Magisk edition which I assume is the best way to recover the device without full wipe.
Can a Magisk version be easily built which will either skip loading custom modules or delete them during boot? After successfully booting rooted I would flash a standard Magisk.
mikeos said:
I suffer a boot freeze because of a bad module.
Cannot use TWRP and don't have module like Magisk Core Only installed.
I cannot boot to rooted system because of bad module.
Can boot non-rooted system only.
For my device LYA (Mate 20 Pro) which for rooting is using root-through-recovery-boot I can patch boot image with whatever Magisk edition which I assume is the best way to recover the device without full wipe.
Can a Magisk version be easily built which will either skip loading custom modules or delete them during boot? After successfully booting rooted I would flash a standard Magisk.
Click to expand...
Click to collapse
I don't know if I got it correctly.
Well... commonly modules won't survive after Magisk removal.
If you can't access TWRP for flash Magisk uninstaller or disable the problematic module, you can try to flash or even boot the ROM's stock kernel through fastboot.
But if such module did others modifications into data, so you'll have to reflash whole ROM.
Are you planning on publishing this on magisk repo?
This has saved my bacon at least 4 times since installing it, many thanks Adriano
Saved me from bootloop module, works like a charm!
Adriano-A3 said:
Since mm isn't working on new Magisk 19, I took it for inspiration and created a simple manager, just for bypass some "bootlooper" module.
Just install it using recovery and run on terminal /data/media/magisk.
v1.0 - Initial build. Enabling and disabling functions
v2.0 - Added module removal function
v2.5 - No need to use storage to work. May avoid issues. Some others minor changes.
All thanks to
- topjonhwu for Magisk
- VR25 for mm
- TWRP team
- Me? Idk
Click to expand...
Click to collapse
It gives me the error "WTF?! The directory was here just now! It's gone! Please try again... Exiting..."
Thx bro, you saved my day
PixelHead0_0 said:
It gives me the error "WTF?! The directory was here just now! It's gone! Please try again... Exiting..."
Click to expand...
Click to collapse
Same here, on Samsung S10+ with August update, latest Magisk and Twrp.
very useful for android 10, thank you sir !
I can't understand how to run it on the terminal
will it work with Magisk 20.0??
Sivabalan said:
will it work with Magisk 20.0??
Click to expand...
Click to collapse
have you tried it? does it work on magisk 20.1
Confirmed working with Magisk 20.1, thanks a ton for this!
working on 20.2 + android 10

[Q] How can I correctly uninstall EdXposed?

Hey! I recently got banned from Snapchat and I now want to uninstall that thing.
I installed the Magisk modules: Riru - Core & Riru - EdXposed
I installed the EdXposed Installer apk
How do I completely remove EdXposed? (I saw an uninstaller at the EdXposed Github. Do I need this?)
Just delete the edxposed modules, the app, and that's it
Sent from my Xiaomi Mi 8 Lite through Tapatalk
Fedray said:
Just delete the edxposed modules, the app, and that's it
Sent from my Xiaomi Mi 8 Lite through Tapatalk
Click to expand...
Click to collapse
Does EdXposed modify files on the system partition? Or only Xposed?
SebiAi said:
Does EdXposed modify files on the system partition? Or only Xposed?
Click to expand...
Click to collapse
That's the advantage of magisk modules, they don't modify anything on your system, if you disable or delete them everything goes back to original
Sent from my Xiaomi Mi 8 Lite through Tapatalk
Fedray said:
That's the advantage of magisk modules, they don't modify anything on your system, if you disable or delete them everything goes back to original
Sent from my Xiaomi Mi 8 Lite through Tapatalk
Click to expand...
Click to collapse
I mean the apk itself. Does it modify system files?
SebiAi said:
Hey! I recently got banned from Snapchat and I now want to uninstall that thing.
I installed the Magisk modules: Riru - Core & Riru - EdXposed
I installed the EdXposed Installer apk
How do I completely remove EdXposed? (I saw an uninstaller at the EdXposed Github. Do I need this?)
Click to expand...
Click to collapse
Just flash the uninstaller zip from here, and it'll remove all remnants of EdXposed. I had a look at the flashable zip and it is deleting the modules created in Magisk Manager as well as the following two folders (which don't get removed if you just remove the modules from Magisk Manager):
/data/misc/riru/modules/edxposed/
/data/misc/riru/modules/edxp/
shadowstep said:
Just flash the uninstaller zip from here, and it'll remove all remnants of EdXposed. I had a look at the flashable zip and it is deleting the modules created in Magisk Manager as well as the following two folders (which don't get removed if you just remove the modules from Magisk Manager):
/data/misc/riru/modules/edxposed/
/data/misc/riru/modules/edxp/
Click to expand...
Click to collapse
Can I flash this through Magisk Manager? I don't have TWRP installed.
SebiAi said:
I mean the apk itself. Does it modify system files?
Click to expand...
Click to collapse
No
chalseu said:
Can I flash this through Magisk Manager? I don't have TWRP installed.
Click to expand...
Click to collapse
No
Sent from my Xiaomi Mi 8 Lite through Tapatalk
chalseu said:
Can I flash this through Magisk Manager? I don't have TWRP installed.
Click to expand...
Click to collapse
If you don't have TWRP, then just delete the following folders (if they exist for you) using a root file explorer and reboot, you should be good:
/data/adb/modules/riru_edxposed/
/data/adb/modules/riru_edxposed_sandhook/
/data/adb/modules/riru_edxposed_whale/
/data/misc/riru/modules/edxposed/
/data/misc/riru/modules/edxp/
anyone tried on android 10 yet ??
got bootloop on gsi
TheUndertaker21 said:
anyone tried on android 10 yet ??
got bootloop on gsi
Click to expand...
Click to collapse
Successfully uninstalled on Pie (uninstalled apk, disabled both Riru Modules, Reboot, Boot in TWRP, Flashed uninstall)
shadowstep said:
If you don't have TWRP, then just delete the following folders (if they exist for you) using a root file explorer and reboot, you should be good:
/data/adb/modules/riru_edxposed/
/data/adb/modules/riru_edxposed_sandhook/
/data/adb/modules/riru_edxposed_whale/
/data/misc/riru/modules/edxposed/
/data/misc/riru/modules/edxp/
Click to expand...
Click to collapse
I've deleted the riru folder since I've also uninstalled the Riru - Core module thinking it was necessary. Now, I'm afraid to reboot. Lol
chalseu said:
I've deleted the riru folder since I've also uninstalled the Riru - Core module thinking it was necessary. Now, I'm afraid to reboot. Lol
Click to expand...
Click to collapse
most likely impossible that it will bootloop.
I'm on android 10 (lineageOS 17) and followed the instructions from the Youtube Vanced telegram channel.
1. Download and install MagsikHide Props Config via Magisk (download link below) then Reboot
2. Download any Android Terminal Emulator
3. Type "su" then "props" WITHOUT quotation marks
4. Type "1" for Edit device fingerprint
5. Type "f" for Pick a certified fingerprint
6. Type "18" for Xiaomi
7. Type "17" for Xiaomi Pocophone F1
8. Type "y" for yes
-Would you like to activate device simulation?
Type "n" for no
9. Then reboot by typing "y"
After all that, you can check the SafetyNet. If both passes, congrats!
Click to expand...
Click to collapse
It triggered both ctsProfile and basicIntegrity. The edXposed uninstaller was a .bin file, and after I renamed it to .zip and flashed it in TWRP the safetyNet issues still remain.
No bootloop though.
I uninstalled the Edxposed Manager app. Switched in Magisk Manager Settings to "Core only Mode" and rebooted. Then cleared cache of play services and cache and storage of play store after force stopping both. Deactivated "Core only Mode" and rebooted. SafetyNet Check passes again.
Nevermind
I read the instructions in the prior post wrong.
Works now
lucidBrot said:
I'm on android 10 (lineageOS 17) and followed the instructions from the Youtube Vanced telegram channel.
It triggered both ctsProfile and basicIntegrity. The edXposed uninstaller was a .bin file, and after I renamed it to .zip and flashed it in TWRP the safetyNet issues still remain.
No bootloop though.
I uninstalled the Edxposed Manager app. Switched in Magisk Manager Settings to "Core only Mode" and rebooted. Then cleared cache of play services and cache and storage of play store after force stopping both. Deactivated "Core only Mode" and rebooted. SafetyNet Check passes again.
Click to expand...
Click to collapse
The only method that's working flawlessly as of Aug 2020. Thanks kind stranger
Fedray said:
NoNo
Sent from my Xiaomi Mi 8 Lite through Tapatalk
Click to expand...
Click to collapse
Can I flash this via ADB sideload?
I installed EdXposed but it bootloops if I try to boot my phone with root enabled. If I flash a non-rooted bootloader, then I can boot.
So now what I want to do is uninstall an EdXposed that's installed on a phone without root -- is that possible by any chance? Probably not?
Edited to add: And there's no TWRP available (Android 11 Pixel 4a).
I solved my problem; here's how:
1.
Code:
fastboot flash magisk_patched.img
2. Boot into the bootloop, and connect USB. Adb is usable during the bootlooping!
3.
Code:
adb shell magisk --remove modules
4. Reboot into safe mode.
5.
Code:
adb shell su
6.
Code:
rm -rf /data/misc/riru/
7. Reboot!
eater99999 said:
I solved my problem; here's how:
1.
Code:
fastboot flash magisk_patched.img
2. Boot into the bootloop, and connect USB. Adb is usable during the bootlooping!
3.
Code:
adb shell magisk --remove modules
4. Reboot into safe mode.
5.
Code:
adb shell su
6.
Code:
rm -rf /data/misc/riru/
7. Reboot!
Click to expand...
Click to collapse
I have the same problem, but after step 3 my phone is automatically reboots to Bootloader Mode.
How did you manage to go to Safe mode from there?

[Solved][Question] How to delete /system/xbin files via Magisk Module?

Today I have installed Built-In BusyBox module by zgfg to overwrite meefik's busybox binaries in /system/xbin which I couldn't remove due Resource or Device Busy error.
Then I found out that busybox is one of the ways to detect modified android so I want to remove it but module unfortunately doesn't come with uninstaller so I am stuck with busybox in my /system/xbin directory with no way to remove. All I found on Magisk's docs is to replace files or directories not remove them but 2018's version said that removal is possible, just that it is hassle or something.
Can anyone help?
Additional info: I don't have any Custom Recovery and don't tell me to get one.
Click to expand...
Click to collapse
NOTE! To help others with same problem I am planning to compile answer as Magisk Module so please open PR in this repo:
Click to expand...
Click to collapse
GitHub - UltraStudioLTD/BuiltIn-BusyBox-Uninstaller: Uninstall busybox
Uninstall busybox. Contribute to UltraStudioLTD/BuiltIn-BusyBox-Uninstaller development by creating an account on GitHub.
github.com
Have you tried removal via TWRP?
How to disable Magisk modules without Magisk and TWRP recovery
Hi, I installed an incompatible Magisk module in the past, which cause bootloop of my phone. Co I dirty flashed my ROM (Pixel Experience) to get my phone work again. My current situation is that I cannot flash Magisk because an incompatible...
forum.xda-developers.com
lemon567 said:
Have you tried removal via TWRP?
How to disable Magisk modules without Magisk and TWRP recovery
Hi, I installed an incompatible Magisk module in the past, which cause bootloop of my phone. Co I dirty flashed my ROM (Pixel Experience) to get my phone work again. My current situation is that I cannot flash Magisk because an incompatible...
forum.xda-developers.com
Click to expand...
Click to collapse
I don't have TWRP and I can't install any Custom Recovery.
Please don't tell me to follow that or this instructions to install them, I followed everything and still no luck.
What you could do is enter safmode of your phone (Google how to enter safe mode for your phone) and remove the files manually or use the BusyBox cleaner zip and flash it in magisk manager and if you're lucky it will remove it
Release v1.29.0-YDS-201807132149 · yashdsaraf/bb-bot
Bot to compile, package and release busybox for all android architectures - Release v1.29.0-YDS-201807132149 · yashdsaraf/bb-bot
github.com
Unfortunately safe mode in my phone is kinda broken, I think. Cause every 3rd party app was not only disabled but also disappeared like magic. Also I don't trust unknown ZIPs so I haven't tried that link.
**I solved problem by disabling every Magisk module I had, rebooting and after that it succeed in deletion with no problem**

Categories

Resources