yashsingh1/xdaforums huggingface dataset:
[Magisk] zgfg:
Clarify with developer in the TG channel

Besides, install Alpha, keep Zygisk disabled and Configure DL, and play yourself with that to see what it is and how it works
[Magisk] Lu5ck:
You are right, theres no magiskhide in canary, interesting.
[Magisk] pndwal:
vvb2060 seems to try to keep Alpha mostly in sync w/ TJW commits (he contributes many of them himself), but Alpha has unique commits that add back some removed functionality such as

https://github.com/vvb2060/Magisk/commit/52fdb81a1af6631e3515f49fbc8c83dbd045bbdc

as well as test commits of his own, so it seems his fork aims to keep MagiskHide alive as an option at least at present but it has always been a 'test' fork for many of his own fixes & enhancements. As such vvb2060 Alpha Magisk should be regarded as experimental / even less stable than TJW Canary or Beta builds, and is appropriately named.

vvb2060 also seems to rework commits like 'alpha only' as needed to accommodate John's changes and this has allowed very representative early testing of new Magisk changes. PW
[Magisk] zgfg:
FYI

When I was playing with Momo it was detecting TWRP files and I renamed TWRP folder to TWRP.bak but left the content (.twrps file and Backup folder). With that, Momo did no more report about finding TWRP

Interestingly, I forgot about and yesterday rebooted to TWRP to make a nandroid backup. Backup finished successfully, I rebooted to System and to my surprise found that there was no TWRP folder - hence where was my backup?!

Then I opened TWRP.bak/Backup and found that TWRP had found its folder (although it was renamed) and happily saved the new backup there

At least for Momo, you don't need to fuly remove TWRP folder, just rename it (enough for Momo) and on the other side it is still good for TWRP

Xiaomi Mi 9T, official TWRP.me 3.5.2_9-0
[Magisk] m0han:
how did you rename? TWRP v3.6.0_10-0 i use has such feature as indicated in the screenshot. did you use this?
[Magisk] zgfg:
You can rename in the TWRP but even simpler, use any file explorer (like MiXPlorer) to rename the folder TWRP on Internal memory (no root required)
[Magisk] pndwal:
Magisk (5d6d2417) (23015)​

Cleanup unclosed fds leftover from Zygisk modules

Fix parallel app info fetching in DenyList UI to speed things up

Export ZYGISK_ENABLED to boot scripts if Zygisk is enabled

Fix v4 vendor boot unpacking/repacking

Add new env variable KEEPVBMETAFLAG to toggle configure vbmeta flags should be preserved

Update BusyBox to 1.34.1

Diffs to v23.0​

[General] MagiskHide is removed from Magisk

[General] Support 64-bit only systems

[General] Support Android 12

[General] Update BusyBox to 1.34.1

[Zygisk] Introduce new feature: Zygisk

[Zygisk] Introduce DenyList feature to revert Magisk features in user selected processes

[MagiskBoot] Support patching 32-bit kernel zImages

[MagiskBoot] Support boot image header v4

[MagiskBoot] Support patching out skip_initramfs from dtb bootargs

[MagiskBoot] Add new env variable KEEPVBMETAFLAG to configure whether vbmeta flags should be preserved

[MagiskInit] Support /proc/bootconfig for loading boot configurations

[MagiskInit] Better support for some Meizu devices

[MagiskInit] Better support for some Oppo/Realme devices

[MagiskInit] Support init.real on some Sony devices

[MagiskPolicy] Load *_compat_cil_file from system_ext

[MagiskSU] Use isolated devpts if the kernel supports it

[MagiskSU] Fix root shell if isolated mount namespace is set

[resetprop] Deleted properties are now wiped from memory instead of just unlinking

[App] Build a single APK for all ABIs

[App] Switch to use standard bottom navigation bar

[App] Downloading modules within the Magisk app is removed

https://github.com/topjohnwu/magisk-files/blob/6b5f38f8e8d4291b2efaa062d164f67031847405/notes.md

👍 PW
[Magisk] pndwal:
Latest vvb2060 Alpha Magisk (Unofficial Build - for mavericks only!)

alpha update log (Translated):​

Magisk (1c8ebfac-alpha)​

[App] Support SharedUserId

[App] Delete the backup file after restoring the boot image

[App] Built-in current version update log

[App] Use local version when unable to download stub

[App] Switch to the modern time API of Java 8

[General] No longer automatically unlock the device block

[General] Use MagiskHide to hide when Zygisk is closed

[App] Delete markdown rendering

[General] Do not execute scripts that have ignored loading modules

[App] Support setting the KEEPVBMETAFLAG flag to skip processing vbmeta in the boot image

how to install?​

Install and uninstall Magisk through the Magisk application. Generally, it should be done directly in the application. In special circumstances such as the first installation, the image should be patched and then flashed in with the fastboot/odin tool. Customizing Recovery is not a supported way.

Upstream update log​

Magic (5d6d2417) (23015)​

Cleanup unclosed fds leftover from Zygisk modules

Fix parallel app info fetching in DenyList UI to speed things up

Export ZYGISK_ENABLED to boot scripts if Zygisk is enabled

Fix v4 vendor boot unpacking/repacking

Add new env variable KEEPVBMETAFLAG to toggle configure vbmeta flags should be preserved

Update BusyBox to 1.34.1

Diffs to v23.0​

[General] MagiskHide is removed from Magisk

[General] Support 64-bit only systems

[General] Support Android 12

[General] Update BusyBox to 1.34.1

[Zygisk] Introduce new feature: Zygisk

[Zygisk] Introduce DenyList feature to revert Magisk features in user selected processes

[MagiskBoot] Support patching 32-bit kernel zImages

[MagiskBoot] Support boot image header v4

[MagiskBoot] Support patching out skip_initramfs from dtb bootargs

[MagiskBoot] Add new env variable KEEPVBMETAFLAG to configure whether vbmeta flags should be preserved

[MagiskInit] Support /proc/bootconfig for loading boot configurations

[MagiskInit] Better support for some Meizu devices

[MagiskInit] Better support for some Oppo/Realme devices

[MagiskInit] Support init.real on some Sony devices

[MagiskPolicy] Load *_compat_cil_file from system_ext

[MagiskSU] Use isolated devpts if the kernel supports it

[MagiskSU] Fix root shell if isolated mount namespace is set

[resetprop] Deleted properties are now wiped from memory instead of just unlinking

[App] Build a single APK for all ABIs

[App] Switch to use standard bottom navigation bar

[App] Downloading modules within the Magisk app is removed

https://github.com/vvb2060/Magisk/b...be3f4546932/app/src/main/res/raw/changelog.md

👍 PW
[Magisk] exocetdj:
Excellent - ill give this a try at the weekend.

I have been attempting to root Fold 3 on A12 beta for a while now with no Joy, using both 23013 and 23014

I will need to raise an issue on Git i expect as the boot.img is not being patched or if it is, the device is not rooted when booting into system (i will try and get this done tonight if work allows)
[Magisk] jons99:
"For the new option, only some Xiaomi/Redmi devices need to be checked, otherwise these devices will not be able to boot. If it can be used normally before, then leave it alone."

this was sent along side the new alpha magisk in the telegram group I translated it with the assistant not sure exactly what it means
[Magisk] pndwal:
John's

• Add new env variable KEEPVBMETAFLAG to toggle configure vbmeta flags should be preserved

https://github.com/topjohnwu/Magisk/commit/228570640eb42333d42b79d17e6301fc0513adb6

Is a partial fix for a number of issues, particularly Xiaomi MIUI on Android 11. However there are still issues with this...

vvb2060's pull request

https://github.com/topjohnwu/Magisk/pull/4975

is an additional fix, and is already merged in latest Alpha:

• [App] Support setting the KEEPVBMETAFLAG flag to skip processing vbmeta in the boot image

For any who may want to test, vvb2060 said on Telegram (translated):

Further vvb2060 comment:

* FWIW, I suspect this may be a mistake. Seems MediaTek variants are mostly affected, so perhaps Redmi Note 10 pro (China) only? ...

👍 PW
[Magisk] curiousrom:
FYI:

https://twitter.com/i/web/status/1463404273186721794

https://twitter.com/i/web/status/1463404274235293700
[Magisk] danicadanicadanica:
Im not allowed to use magisk modules if i use zygisk ?
[Magisk] zgfg:
Why not?

If you are concerned about Modules no more having Modules online section - then please carefully read ChangeLog (for Alpha or Canary - depending what you use)

Additionally, removal of that support for Modules repo has benn mentioned right in this thread numerous times.

And workaround

Download by browser and use Install from local storage or use Fox Mmm root app

PS: Only Riru and Riru modules are affected by Zygisk.

Instead of e.g. Riru-LSPosed, use Zygisk-LSPosed
[Magisk] danicadanicadanica:
What im asking if magisk modules will work if i used zygisk module
[Magisk] zgfg:
As said in the PS - Riru and hence its modules like Momohider, Riru-LSPosed will not work.

For LSPosed you have Zygisk version.

Else is not affected (but you could never know for some ancient modules)
[Magisk] danicadanicadanica:
Sorry i misinterpreted
[Magisk] rodken:
I also noticed that on OOS 11 - a second reboot is required after flashing Magisk (1c8ebfac-alpha) due to a "strange" server error message when attempting to make a phone call and SMS will not send new messages.
[Magisk] Eng.Raman:
New Magisk ( 1c8ebfac-alpha-2 ) (23015) Released.

alpha update log ( Translated with IBM Translator ). Link

Magisk (1c8ebfac-alpha-2)​

[App] Support SharedUserId

[App] Delete the backup file after restoring the boot image

[App] Built-in current version update log

[App] Use local version when unable to download stub

[App] Switch to the modern time API of Java 8

[General] No longer automatically unlock the device block

[General] Use MagiskHide to hide when Zygisk is closed

[App] Delete markdown rendering

[General] Do not execute scripts that have ignored loading modules

[App] Support setting the KEEPVBMETAFLAG flag to skip processing vbmeta in the boot image

[App] Fix Magisk cannot be updated from notification

* Hide new options for most devices ( Translated from Magisk alpha TG Channel ).

App TG Link.
[Magisk] martyfender:
This is strange. Are now 2 Magisk alpha telegram groups? This one linked is different than the one I have been using all along.
[Magisk] zgfg:
But same posts are visible in both, like yours
[Magisk] martyfender:
But I don't see alpha2 in my original group.
[Magisk] Eng.Raman:
App link from the official magisk alpha TG channel.( screenshot attached ).

Also i have linked the new alpha change log ( github link ).
[Magisk] becksterorange:
I'm having severe freezing issues if systemless hosts is enabled on my lenovo tab m10 running stock fw with magisk 23 using (or attempting to use) energized protection as the ad blocker. After looking into this problem, it seems that it's been known about for a little over a year now. Happening mostly on the pixel 3. I was wondering if there was a work around or if I am SOL when it comes to an ad blocker for the moment.
[Magisk] pndwal:
The issue is the F2FS loopback bug causing 'lockups' w/ Magisk as w/ older Pixels (known at least since early 2017 😉). Manufacturers didn't rush to correct this as it doesn't normally cause issues, but does for Systemless Hosts and other Magisk modules.

Seems it has been fixed in most later custom ROMs and kernels. For older Pixels, ElementalX custom kernel fixed the issue for instance. A custom kernel / ROM for your device may be you best option apart from avoiding problem modules.

This older Magisk module will likely help also if you need to stay on stock (if it works with recent Magisk builds; I have no experience with it):

https://xdaforums.com/t/module-tool...-no-kernel-patch-needed.3577875/post-71554247

🤠 PW
[Magisk] becksterorange:
I looked for custom rom for this device but couldn't find any. Is there any other ad blockers that might work for me?
[Magisk] 73sydney:
I long ago got rid of systemless hosts/adaway as they choke on large lists, and mine is large (as in 40Mb) :)

i prefer to use dnscypt-proxy - apart from encrypting dns queries, it has block and allow lists, though this may be

more less point and shoot than other methods as you have add and maintain the allow/block lists and add and remove entries manually

I have been working on my own version which has been pushed into a corner for over a month now, but closer to being released - it need more testing in the way i personally automate list sources and parsing them, but will have a far easier on device script that does a lot of fiddling for you (add sources lists, update sources, add/remove sites with alias in terminal, sort lists etc) and makes it easier to maintain

Currently until i get my digit out and finish it, the best option is the following version of dnscrypt-proxy, as it doesnt require the use of afwall & script to redirect DNS, as it uses the older method of straight up iptables way of doing that. This guy does set his dnscrypt-proxy.toml file (the config) file for a lot more routing than i do (relays etc), im not that tinfoil hat (after all its only to obfuscate DNS queries). But you can find the documentation on the main site and change that if necessary

dnscrypt-proxy magisk module: https://codeberg.org/quindecim/dnscrypt-proxy-android

He often releases new dnscypt-proxy.toml config files (to add or remove relays or servers if they got dormant) on his Telegram group

He tends to list a whole list of servers in his config (and soem are directly related to later relay settings - which i never use), personally i think its better to find localised ones closer to you for latency, and add as many of those as you can find, and then add a few standards, like cloudflare and google as a backup..

Server list (scroll to bottom and set Rows Per Page to All, then CTRL + F and enter (generally) country name/city name/two letter country code and find all matches and add to server_names in dnscrypt-proxy.toml): https://dnscrypt.info/public-servers/

All official docs and telegram group linked on his page, he does well to document things...

He uses official binaries, but customises the config file, differences between official config are noted on site as well.

Another alternative is Invizible (not free) - it allows gui configuration of dnscrypt-proxy, and also has Tor etc, which i never used when testing it:

{Mod edit: link removed}
[Magisk] heinhuiz:
AdAway (A free and Open Source ad blocker for Android.) - https://f-droid.org/packages/org.adaway
[Magisk] 73sydney:
See my earlier comment about AdAway choking on blocklists, that thing was outdated but for the very simplest lists years ago...

I have no idea why that broken thing even still exists, its the very definition of this gif...
[Magisk] zgfg:
AdAway itself but in non-root mode, DNS66 and Blokada all use virtual VPN for DNS, hence not the hosts file and not Systemless hosts.

For the first two there are threads on XDA (don't know if for the third as well), please look for further info there

Since A9 and onward, you can use Private DNS (settings on the phone), google for the appropriate DNS to block ads (and generally how to use) - in that case you don't need an ad blocker app
[Magisk] dcarvil:
A non-root solution is to use the AdGuard Dns servers. https://adguard.com/en/blog/adguard-dns-new-addresses.html
[Magisk] F308:
A root solution is to put everything unwanted into /system/etc/hosts like I did having currently 1.9 million lines and 60 Mb size file.

Once forever I got rid of all crappy commercials and other bandwidth and processor power consuming stuff.
[Magisk] Soumy1234:
Damn that's quite a large hosts file. What block lists are you using if I may ask?
[Magisk] Oswald Boelcke:
Gents, as grateful I am for all above substantial contributions I hope you allow me to express my "wonder"... As you all know off-topic posts (unless violating forum rules) are only removed on request of the threadowner, I'm just surprised that extremely experienced and knowledgable XDA users allow this thread to deviate from its subject.

Just as an idea for similar "occasions" in future, hadn't it been better to simply point somebody to the well known subject matter related ad blocker threads? Okay, unexperienced members should certainly question themselves why they post off-topic in a thread. After the initial serious problems with the in-XDA-search, I meanwhile must say it's working excellent for me.

And by the way: I've removed the link to paid applications as not being accepted on XDA. Please don't mind.

Regards

Oswald Boelcke

Senior Moderator
[Magisk] becksterorange:
Please, I would like to be directed to the well known subject matter related ad blocker threads. I searched for quite a while and was only able to find posts that were a year or more old.
[Magisk] vandyman:
The moderator said in the post above yours, No more off topic post about add blocking....

And I guess your search engine is not working either. Searching for AdAway, Adguard, etc.. works perfect on my end.

https://xdaforums.com/t/app-root-nonroot-official-adaway-v5-9-0.2190753/
[Magisk] Ralegend:
Hi.

My device is Samsung M52 5G. I tried the 23015 canary and followed the guide:

Installation

The Magic Mask for Android

topjohnwu.github.io

I am trying to root the phone for hours and no luck!

What am I doing wrong? Odin flash done than stuck with the "This phone is not running Samsung's official software...."

Please help me and save my next hours. Thank you.
[Magisk] moocow1452:
Latest Canary with the Oculus Go, on reboot it goes into a no command state for about a minute, then restarts to Oculus Home, but it doesn't recognize itself as rooted.

Got a bug report and a console-ramoops, hopefully something valuable is in here.

https://github.com/topjohnwu/Magisk/files/7605045/bugreport-NGI77B-2021-11-25-14-44-41.zip

https://github.com/topjohnwu/Magisk/files/7605982/console-ramoops.txt
[Magisk] Ralegend:
Still trying with no luck.

Another try. After successful Odin flash, I manually try to open recovery but it erases itself. :(
[Magisk] pndwal:
Can I assume you are on Android 11 ATM? And did root with full data wipe & all image files as prescribed for Sammy devices?

Nb. There are several active Magisk GitHub issue for Sammy that may reflect yours... PW
[Magisk] Ralegend:
Thanks.
[Magisk] pndwal:
For what?
[Magisk] Ralegend:
I opened ticket in Github.
[Magisk] martyfender:
Ic houc

If you don't first boot into recovery after replacing the stock with twrp, it will revert to stock recovery. (When booting to system first).

At least that is true on my Onn 8, Android 9 tablets.
[Magisk] Ralegend:
First of all, thank you.

TWRP? That would be great! How can I get for the Samsung M52 device?
[Magisk] J.Michael:
Try the A51 5G forum.
[Magisk] Reader.:
i just uninstalled magisk from the app, and my phone is just restarting and not turnin on!
[Magisk] Ralegend:
“E:[libfs_mgr]Error updating for slotselect”

Maybe this recovery mode warning is the cause. Any ideas?
[Magisk] J.Michael:
Does the Magisk Manager say yours is an A/B device?

I have never seen a reference to selecting a slot with Odin.

Have you checked the forums for the A51 5G?

Or, do you know enough about both devices to know that A51 is nothing like A52?
[Magisk] Ralegend:
The Canary building only shows Ramdisk YES information.
[Magisk] Fishballs:
Been looking around but have only found Rooting guides for Android 12 on Pixel Threads.

Is there a Specific guide to root Samsung's Android 12? (Specifically the S21 Ultra)

Or are they roughly the same.
[Magisk] AndrzejDwo:
The only difference while rooting S21Ultra running Android 12 is that you need to use Magisk Canary instead of Stable version. All the rest is the same, you can even use A11 vbmeta. Take a look in s21ultra twrp/root guide and join tg group for latest twrp.

Cheers
[Magisk] Fishballs:
Wait-

So no more Patching of AP for A12?

I didn't use TWRP to root for A11, and all this vbmeta thing confuses me.
[Magisk] AndrzejDwo:
I think you can still use patched AP method (but with canary release), vbmeta gets patched during this process as well, it's nothing to get confused about. I never used patched AP method tho, rooting with custom recovery is much easier/faster imo. And I feel more confident with TWRP instead of stock recovery.

Here you have the guide:

Thread '[RECOVERY][UNOFFICIAL] TWRP for Galaxy S21 Ultra (Exynos)' https://xdaforums.com/t/recovery-unofficial-twrp-for-galaxy-s21-ultra-exynos.4240993/

Cheers
[Magisk] pndwal:
Seems you have more or less fixed this in your HELP thread, but still have issues... Of course you need to provide at least some information to get help here; you basically told us "it didn't work 😫 "

From other thread I see you have Samsung phone.

FWIW, seems you missed some of the official Installation Instruction notes for Sammy:

Important Notes​

Never, ever try to restore either boot or recovery partitions back to stock! You can brick your device by doing so, and the only way to recover from this is to do a full Odin restore with data wipe.

To upgrade your device with a new firmware, NEVER directly use the stock AP tar file with reasons mentioned above. Always patch AP in the Magisk app and use that instead.

Never just flash only AP, or else Odin may shrink your /data filesystem size. Flash AP + BL + CP + HOME_CSC when upgrading.

The first point is your problem; either uninstall method in Magisk App restores boot image (either stock boot or recovery partition), and this doesn't work for newer Samsung devices. Seems you now need to follow the advice on recovering properly...

Please read official Installation Instruction page, especially Samsung section as Sammy procedures are quite different from standard & fraught. Hope it helps. PW
[Magisk] sahil_bhandari:
did you managed to solve that issue please help me too
[Magisk] curiousrom:
FYI:

https://twitter.com/i/web/status/1465511242303295488
[Magisk] pndwal:
Bit further FWIW:

Pixel testers wanted.

See here:

https://github.com/topjohnwu/Magisk/issues/4343#issuecomment-981104538

and here:

https://github.com/topjohnwu/Magisk/issues/4941#issuecomment-981104664

Also, re MIUI:

https://github.com/topjohnwu/Magisk/issues/4447

Nb. PR referenced is WIP / draft ATM. PW
[Magisk] Fishballs:
Thanks for the help, really appreciated.

It works, got BUKG rooted (≧▽≦)
[Magisk] Utini:
Does the latest magisk canary for Android 12 prevent deep sleep (since debug seems to be on)?
[Magisk] moocow1452:
On the latest Canary, my Oculus Go spit out a console-ramoops that was a little garbled after the Magisk installation where a previous one was much more legible. Is there a reason for that or a method to get cleaner data?
[Magisk] Lughnasadh:
No
[Magisk] ipdev:
I got little sleep last night and about to go to bed tonight.

Had a bit of a hard time following the Magisk issues linked.

I will go though them again tomorrow after more than three hours sleep.

So a one-off Magisk build including PR 4975 to test on Pixels to find out if it:

Allows Pixel 4a (5G) [bramble] and newer to use Magisk without disabling verity and verification on Android 12.

No need to wipe data initially.​

Non-Pixel devices that share the same issue.

Make sure it does not break Magisk on Pixel 4a [sunfish] and older.

Along with other devices that do not have the issue and may still be on Android 11 or below.​

Sound about correct. 🙃

Cheers. :cowboy:
[Magisk] pndwal:
Good on ya doc! I was hoping some maverick Pixel user would lose some sleep to help fix this one!

Sounds like on right track, but I only took cursory glances at Pixel issues recently as I'm a Xiaomi user currently... not sure of anything, but I'm sure you're the right guy to help...

I noted that MIUI w/ related issue are all late MTK devices. 👏👍 PW
[Magisk] s3axel:
Great news ;) Does Denylist work for you ? I got my Exynos S21U (also BUKG) rooted with Magisk Canary all fine, but Denylist is not working (I can select apps but the settings don't stick and don't work either)....
[Magisk] Fishballs:
Mine seems to be working just fine.

Using Magisk Alpha though..

Not sure if that makes the difference ouo
[Magisk] s3axel:
Thanks for your reply, is that the 23015 build ?.... just now I tried everything aside from factory reset, so that may be my last resort now..... but at least I know that it should/can work, so thats very helpful ;)