yashsingh1/xdaforums huggingface dataset:
[Magisk] Alxoom33:
Why would you change the name of the Magisk Manager? Magisk Hide working just fine! At least on My Taimen and Dragon.

View attachment 5078009
[Magisk] JudgeDread11:
Some apps won't work when they detect Magisk Manager oven off Magisk hide is on and praying safety net.

For anyone using Xposed, using sudohide to hide Magisk Manager is an other workaround.
[Magisk] pndwal:
To be clear, dishes will only be properly baked when a manager in hiding notices the oven is off, even if staff are netted not working due to fears for their safety and are praying for app(le pie)s to magically appear... :laugh:

...Hiding Manager is one of a slew of techniques needed in ADDITION to basic MagiskHide function for many banking apps etc to work as these employ their own select means of detecting root / modified environment including looking for Magisk Manager, TWRP, etc.

They do this rather than simply checking SafetyNet due to SafetyNet attestation having been largely unreliable / easily circumvented for so long (which is common knowledge)... This practice / knowledge also clearly explains Google's new efforts to fix SafetyNet... But we can get around it... for now.

Methods / reasons for hiding Magisk and the Manager (as well as other useful techniques) can be found here:

https://didgeridoohan.com/magisk/MagiskHide#hn_Hiding_root_from_apps PW
[Magisk] dope77:
saw that magisk manager and magisk requires update, after updating magisk manager, each time i click update (to update magisk) the manager crashes

my phone is rooted with magisk canary and i don't have custom recovery installed. any suggestions?
[Magisk] Never_Sm1le:
Is there a way to disable the addon.d script? I updated my rom but even when I flashed the uninstaller, the addon.d keep interfere with the rom install script and as a result my phone lose all signal.

Edit: for some reaon, my recovery file manager cannot delete the 99-magisk.sh
[Magisk] :
The fingerprint of Motorola G7 Play is not working, nor establishing through a terminal/shell
[Magisk] zgfg:
Are you properly using systemless approach, with Magisk Hide Props Config (MHPC) Magisk module

If you have SAR and ready-only System, you can no more force direct changes
[Magisk] donalddamienbetorina:
Please send me time and place to talk about it

---------- Post added at 08:59 AM ---------- Previous post was at 08:50 AM ----------

Not flashing
[Magisk] HippoMan:
Yes, and I run my desktop browser on my Linux machine, on which I can log in as root and run apps as root. In other words, my Linux box is "rooted", and the browser-based banking application doesn't care in the least.

This checking for root on the part of banking and other Android apps is ridiculous.
[Magisk] knpk13:
What I find weird is some banking apps don't work if those checks fail, but you can just log in via a browser and everything works. I don't get what's the point if you're protecting the app but not the mobile site.
[Magisk] RandomPooka:
I've never accidentally left my desktop on a bar or at a bus stop.

I've never left my phone anywhere either, but that doesn't mean that a good chunk of people won't. People ALWAYS leave their phones somewhere and don't have any clue where.
[Magisk] pndwal:
I agree there are some anomalies with many security component implementations in Android. But it must be said that both the efforts of security-centric app developers, and Google's recent SafetyNet tightening, had to come / should be expected.

Of course, proper Hardware Backed (SafetyNet) attestation for Secure Boot would mean those developers wouldn't need to use their own mod / root detection tricks as the integrity of firmware running would be assured already. The system is thus guarded against malicious attacks, rootkits, and unauthorized software updates that could happen prior to the OS launching.

I recently said:

https://xdaforums.com/apps/magisk/module-magiskhide-props-config-t3789228/post83276671

The reason for this expectation is, of course, the mainstream demand for protection from ever increasing cyber threats. This, realistically, is a demand that, if not met by the likes of Google and the OEMs, ODMs etc, will ultimately result in people (and corporations) voting with their feet, especially with Apple actively spruiking iOS security features lately.

As an example, Forbes reports:

"Apple is now doubling down on security, by launching a new Platform Security Guide detailing how its iPhones, iPads and Macs are more secure than Google’s Android devices, because the firm owns the whole ecosystem"

https://www.forbes.com/sites/kateof...le-with-this-bold-security-move/#71d61b8367fc

Here is one of many OS security comparison articles:

https://us.norton.com/internetsecurity-mobile-android-vs-ios-which-is-more-secure.html PW

Some food for thought re.Global Cyber Hacking:

Cyber Warfare is no longer the domain of PFY playing spy games at home. Its now the domain of agencies working for states including the United States, United Kingdom, Russia, India, Pakistan, China, Israel, Iran, and North Korea. These all have active cyber capabilities for offensive and defensive operations, and, in at least one case, this has already led to real loss of life.

Each of these states constitute the scariest BOFH, and if Russia and China (and India?) are really the allies Peskov (Kremlin Press Secretary) claims they are, all these may soon essentially become two, tussling it out for the supreme honour in another world conflict.

This cyber jousting has been occurring for some time already... PW
[Magisk] FossaFX:
Hi guys and gals,

I have a problem with Samsung Pay Plugin (for wearable) still detects Magisk even with MagiskHide enabled for it.

I've created a separate thread, and put detection log there: https://xdaforums.com/smartwatch/galaxy-watch/galaxy-watch-lineage-os-t4147649

Any ideas, why it able to detect?
[Magisk] pndwal:
Custom ROMs With CTS Pass in Future?

It seems to me that our best post Basic Attestation hope for custom Android with ability to satisfy security centric parties and requirements lies in getting OSs like LOS certified.

This was actually proposed not long ago by Shawn Willden, 'Tech Lead for Android hardware-backed security subsystems' in this conversation with Luca Stefani, 'Director for LineageAndroid & Developer' on twitter:

Luca Stefani, 'Director for LineageAndroid' responded:

Shawn Willden replied:

It also seems we should already be able to lock bootloader successfully with a custom ROM but without CTS pass or playstore certified status, as he points out:

Shawn Willden:

Of course, if a process for custom ROM approval could be established, we would still have to decide if we want a custom certified ROM that natively passes CTS, or a custom ROM with root. I can see no way to have both, but a least we could get our bloat free, pure or custom choices. PW
[Magisk] pndwal:
I don't have Samsung phone or gear buds, but understand there is some debate re Knox fuse preventing Samsung Pay, so you could check if you've tripped it.

Also, here's a trick that worked for some:

https://xdaforums.com/showpost.php?p=79665114&postcount=299

If not, suggest reading through that thread, or someone with Samsung experience may help more. PW

Edit: I'd say you log showing magisk detected is a big clue... for someone with expertise...
[Magisk] textbook:
Hey, I just wanted to say thank you for the latest canary.

I have noticed 2 things, 1 my boot times are much faster, and 2 my phone is snappier overall. (Less resources being used? Less load on startup?)

I don't know if there is anything specific in the latest release that would explain the improvements I am experiencing, but I am very thankful either way.

Phone:

OnePlus 7 Pro

OxygenOS Open Beta 16 (Android 10)

Magisk latest Canary

EdXposed latest Canary

Passing Safetynet

Magisk canary is hidden for me just fine. But... I already had stable Magisk installed and hidden under a new name, and then I added custom channel to upgrade to canary...

But I also had issues when I upgraded to the latest canary yesterday... I noticed when I tried to open MM it just closed immediately over and over again.... So I cleared the app cache and then I cleared the data, then I was able to open it and update normally through the app.

So my suggestion if you are having trouble hiding MM would be to try downgrading to the latest stable, then hide it, then upgrade. Hope that helps.
[Magisk] zzz2002:
Try turning "play protect" off while configuring/hiding Magisk Manager.

Don't forget turn it on again when you have finished.
[Magisk] guest4711:
My phones are free of g-apps. No google account on them. But on some of them hiding canary does not work, on others it does. Interestingly there are some identically devices (sammy s5) using the same ROM (HavOC) and the same setup. Hiding MM on one device worked, on the other one I had to go back to stable, hide MM there and update to canary...
[Magisk] zgfg:
Fixed now with Magisk Manager 293 - when Hiding Magisk Manager, it's new name can be typed in
[Magisk] andrea0807:
magisk does not install on the latest version of xiaomi.eu weekley rom based on android 11, magisk canary is not compatible with android 11?
[Magisk] PoochyX:
Not fully yet

([emoji88]Descendent GSI[emoji88])
[Magisk] zgfg:
Instead of by flashing from TWRP, try patching and flashing boot image - that way it works for MIUI 10-12 with Android 10
[Magisk] andrea0807:
I've already tried but it doesn't work

Inviato dal mio POCO F2 Pro utilizzando Tapatalk
[Magisk] AndDiSa:
Are you sure you need to patch boot image and not recovery? I do not know exactly the architecture of your device but e.g. for my Huawei MediaPad I need to patch recovery.
[Magisk] B!GBOY:
not it's not https://github.com/topjohnwu/Magisk/issues/2994
[Magisk] zgfg:
Absolutely sure because I have Mi 9T and doing it that way for six months for lall firmware updates since MIUI 10, now to 12 (Android 10).

And I also tried patching Recovery but it failed reporting that boot/kernel was not found

Also, I know from other XDA subforums for other Xiaomi phones (Mi 9, 9 SE, 9T Pro, etc) that it works exactly that way for there MIUI firmwares

Sadly, in the the Magisk documentation and guide on GitHub it is not described how patching has to be done for MIUI:

- must ne patched boot.img (not recovery)

- Preserve Encryption and Preserve AVB must be enabled but Recovery option must be disabled

Because, if you strictly follow Magisk GitHub documentation, it tells that user must check:

>>getprop ro.build.system_root_image

>>getprop ro.build.ab_update

and if first returns true and second false (empty), that user must patch recovery.

Therefore, such Guide will misslead MIUI users for whom, if they really patch recovery, that will fail - they have to patch boot (although, it is SAR, not A/B device, but it still has both Recovery and Boot, making it possible to install both TWRP and Magisk)
[Magisk] andrea0807:
I followed the directions in this thread but it didn't work in my case

https://xiaomi.eu/community/threads/fix-after-magisk-installation-always-reboot-in-fastboot.54954/

Inviato dal mio POCO F2 Pro utilizzando Tapatalk
[Magisk] B!GBOY:
see my last reply to his post. what he is saying is not for android 11, heck there are no android 11 miui 12 roms for mi9t let alone miui 10 roms. I don't know what he is talking about. the confusion is sorted out :D

There is a problem with detecting SAR A-Only devices running android 11 because of missing /appex. so no patching won't work as magisk does not initialize
[Magisk] zgfg:
Sorry , I overlooked that it was about 11, not Q - now corrected my previous post
[Magisk] 4wDB:
Download Link

Feeling really dumb, but where is the download link for Magisk? I cannot find it in the sticky :confused:
[Magisk] knpk13:
GitHub

https://github.com/topjohnwu/Magisk/releases
[Magisk] andrea0807:
For mi 9t there are no MIUI 12 Android 11 ROMs, but for Xiaomi mi 10 and poco F2 pro / redmi k30 pro there are ..

Inviato dal mio POCO F2 Pro utilizzando Tapatalk
[Magisk] B!GBOY:
I know I'm using one ;) and that's how i know magisk does not work on them yet
[Magisk] zgfg:
No MiUI 11 and 12 for Mi 9T - where from do you 'know' all that?!

What are these V11 and V12 stock ROMs:

https://xiaomifirmwareupdater.com/archive/firmware/davinci/

https://xiaomifirmwareupdater.com/miui/davinci/

https://mirom.ezbox.idv.tw/en/phone/davinci/

and what is on the attached Settings/About screenshot?

However, there is no Android 11 yet
[Magisk] B!GBOY:
lol, I know that because there are currently only three devices from xiaomi with android 11, and mi9t is not one of them.

the discussion here was about android 11 and you said you have tried patching images for miui 10, 11, 12. I told the other guy that there are no android 11 miui 12 or miui 10 for mi 9t and you are talking about something else other than android 11, which you said so yourself afterwards. Read the post you quoted again. the links you sent are not android 11
[Magisk] zgfg:
Ok, read also your post, you didn't put a word about Android 11 in that post, you only wrote that for Mi 9T there is no MIUI 11 or 12 and I was responding to that

Anyway, this went totally off topic, so sorry to others and GN8 to you
[Magisk] largeanincharge:
Random question...

Anyone have the problem of Magisk not being able to install ANY .zip files as modules? Magisk just opens up the contents of the ZIP instead of actually installing it? Messed with plenty of versions of Magisk on plenty of different devices and never encountered this problem...

Thanks!
[Magisk] pndwal:
Looks like it works on Android 10 and lower as these store init.rc in ramdisk. For Android 11 (no /apex in ramdisk) it seems some (with affected devices) will have to wait for Magisk 2SI device checking logic to be fixed.

There is, However, a working boot.img available for International OnePlus 8 Pro (possibly other devices?) I understand this has added /apex folder w/ SARFirstStageInit.

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

Issue is still open (although there is no pull request merged), but as John has commented on the issue and seems to be expediting a new stable Magisk (because Android 11 Beta 3 is to be the last, and Official 11 is imminent), I imagine that it's in the pipeline / in hand.

https://mobile.twitter.com/topjohnwu/status/1291433629726330880?cxt=HHwWgMCm7eeCjOwjAAAA

Failing this / meanwhile, someone may have made, or be able to make, patched boot.img with manually added /apex folder & SARFirstStageInit for MI 9t, MI 10 etc. PW
[Magisk] Dinipri:
I am using ancient os 3.5 I tried to use china telecom module in magisk as l have a lot of network issues but I could not install the same. Magisk version 20.4. kindly help me to solve my network issues. Thanks.
[Magisk] EreelKryeg:
Hello anyone can help me ?

How can i flash magisk on A/B partition device with adb fastboot ? and which boot partition should I choose boot_a or boot_b to patch ?
[Magisk] Strephon Alkhalikoi:
Put your device into bootloader mode and type "fastboot boot twrp.img" to temporarily run TWRP on your device. From there flash Magisk in TWRP. Magisk will flash to the currently active partition.

To the best of my recollection Magisk cannot be flashed directly using ADB.
[Magisk] EreelKryeg:
but my phone dont have TWRP on internet :(
[Magisk] Alxoom33:
You need to dl the latest TWRP.img to your computer. Then use fastboot to boot TWRP on your phone.
[Magisk] EreelKryeg:
Sorry

But my phone model dont have TWRP i using Vsmart Joy 1 Plus where i can download TWRP for this model ?
[Magisk] pndwal:
See 'Boot Image Patching' section here:

https://topjohnwu.github.io/Magisk/install.html

Magisk_patched.img (boot.img, not recovery.img) is flashed via fastboot as outlined for A/B devices. PW
[Magisk] Alxoom33:
Google TWRP. There is a website for all supported devices.
[Magisk] andrea0807:
When will magisk support for android 11 be introduced?
[Magisk] pndwal:
??? It HAS been for most devices for some time in Canary, as I already replied to you.

Perhaps you mean in 'official' mainstream Stable Magisk?

John Wu said:

He meant BEFORE Official Android 11. These references are also in my reply to you:

https://xdaforums.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382/post83239297

You saw and thanked this post! :)

So we already have Canary Magisk for Beta Android 11 working for most, but NOT all. Unlucky ones will have to wait for a fix (or manually patched boot.img). If you read the post and links here, you will know why! :) (My guess is that this applies also to Xiaomi Poco F2 Pro):

https://xdaforums.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382/post83293351 PW
[Magisk] monicaONxda:
How to root AND encrypt Android 10 (e.g. on a Galaxy Note 10)

Hi guys!

Is it possible to root and achieve encryption at the same time?

Has anybody a done this on a Galaxy Note 10 (+) for example?

Can somebody send instructions how it can be achieved?

Thanks!
[Magisk] pndwal:
Yes, it's usual.

Not sure, but can't see why not.

Check 'Samsung (System-as-root)' section in guide below for specific instructions for Samsung devices that launched w/ Android 9.0 or later. (Nb. Magisk will be installed to recovery, and Knox WILL be tripped for these devices).

Ensure device is encrypted from stock or encrypt with unrooted boot.img loaded, then root following official guide:

https://topjohnwu.github.io/Magisk/install.html PW
[Magisk] monicaONxda:
Thanks! I will give it a try!

I assume rooting a stock encrypted system with Magisk is generally possible (root+encryption), but not with TWRP (TWRP+root+encryption), right?
[Magisk] zgfg:
If you have TWRP supporting encryption (and if Magisk does not install/patch to Recovery), them it is also possible - e.g. I have all: intact stock encryption, TWRP and Magisk (Xiaomi, MIUI 11/Android 10)

But for questions like that and how-to guides you should really look and ask into the forum for your particular device. Users here with Sony or Pixel cannot answer about procedures on One Plus (for example) neither are interested to read about :)
[Magisk] pndwal:
For A/B and non system-as-root devices TWRP+root+encryption is quite possible.

I imagine if compatible custom recovery is first installed, non A/B devices with system-as-root can still thereafter be rooted by patched recovery.img method as per official guide with the usual caveats, retaining encryption also. (Of course, you cannot flash Magisk.zip from recovery.)

But then I'm only imagining. - Never done this, and didn't find definitive answer with brief search. Anyone else know? PW
[Magisk] lgs9527:
help on android 10 /system/priv-app folder modification

Hi,

I'm new to Magisk development.

My situation is: I have a rooted sumsung A515F. I'd like to copy an apk to /system/priv-app folder. I tried to mount /sbin/.magisk/mirror/system_root/, no error, but when I copy the apk to /sbin/.magisk/mirror/system_root/system/priv-app, the adb shell session disconnected, and when I adb shell login again, the apk is not there.

So looks like this is android 10 read only file system issue.

So I'd like to achieve this with magisk module. And I tried to put the apk files under /system/priv-app folder of a magisk module, or /sbin/.magisk/mirror/system_root/system/priv-app/, apply this moudle, but none of them succeeded.

Then I tried with overlay.d in root-directory-overlay-system in magisk development guide webpage, I get the magisk_patched boot image, and use magiskboot cpio command to put the apk in ramdisk.cpio, then repack the image, and flash it with Odin, but also failed.

Can you help me on this? Am I missing something in above methods ? How can I put an apk file in /system/priv-app in Android 10 with read only file system?

Thanks for your help.
[Magisk] zgfg:
Attached is my home-made module I use for that purposes like to disable some system apps that do not allow to be uninstalled or disabled by ADB

Unpack the zip and remove system.prop file (that one is for changing the props)

Open system folder and see how there the two apps from priv-app and one from product subfolders are disabled by being replaced with empty files of the same names

You have to use the same approach - rename the subfolder and put there your fle you want to overlay there (to replace an existing or to add as a mew one)
[Magisk] DiamondJohn:
Using Magisk, the file should be moved systemlessly, not physically to the system partition while the phone is running.

Try the method on my app TeMeFI

You will find it in the menu under

Magisk>Modules>Systemize OR Revert An App>Systemize An App>[*APP*]

If you wish, you can access the source, to see how it is done.
[Magisk] lgs9527:
it worked, thanks.

I put it under /system/priv-app folder.

Maybe I used the old version of magisk module template last time.
[Magisk] zgfg:
Yes, I used the latest template (a month or two ago)

Now, when module is installed, you can just go to its folder under /data/adb/modules/test and add/change/edit additional folders and files to be overlaid - no need to change the content in module's zip and to re-flash the module (quick and dirty)
[Magisk] guest4711:
...but you still need to reboot your phone to get the changes applied...
[Magisk] zgfg:
Of course (but you save on repacking zip)

Or you can do it from TWRP (if applicable) - after that you obviously reboot to system. In case of bootloop, just reboot to TWRP and remove the last overlay causing the bootloop. Useful for experimenting with debloating
[Magisk] guest4711:
That's been clear to me completely. I mentioned the need for reboot cause some people used to overwrite files on /system may not consider it...
[Magisk] Didgeridoohan:
Just want to point out that if your just making a simple module for your own use (making an app a system app, replacing media files, changing props, etc) you can also just create the module directly under /data/adb/modules.

All that's needed are the files/folders you want to add/replace/run, placed exactly like you would in the zip, and the module.prop file.

Details in the docs:

https://topjohnwu.github.io/Magisk/guides.html

Of course it can often be useful with a zip, for ease of installing. But it's not strictly necessary...
[Magisk] farhan_ali790:
any easy way to install magisk

i dont understand how to install twrp
[Magisk] pndwal:
All depends on your device and setup...

Essential reading:

https://topjohnwu.github.io/Magisk/install.html PW
[Magisk] JudgeDread11:
It will always true TWRP out fastboot.

So you will need to look into how that works.

There are plenty guess for installing TWRP that guide you strip by step..
[Magisk] DiamondJohn:
and as I mentioned, I have created a method in my app to simplify this with a point and shoot UI https://xdaforums.com/showpost.php?p=83311845&postcount=41094
[Magisk] Didgeridoohan:
Yes you did. And I made an attempt to demystify and give some insight into what a Magisk module actually is (for those who doesn't already know).

They're super simple and all you really need is a file explorer with root capabilities (something most have installed already). Some prefer the hands-on approach, some want a user interface. That's the beauty of this place, there's something for everyone. :good:
[Magisk] DiamondJohn:
Totally understand where you are coming from. The user also has two other options to further help along these lines:

1. They can get the actual source code detailing the steps used to create/modify the module.

2. They can "Document" the details of any Magisk module they already have installed. This can be found under the menu:

► Magisk
► Modules
▪► Installed Module Documentation *
[Magisk] farhan_ali790:
I have note 10 plus n975f, Someone please give TWRP for my model and guide me how to install it
[Magisk] mandhir.s.bajwa:
Hello, I have Lg V30+ H930DS model. Recently I unlocked my bootloader, installed twrp and Magisk.

Everything is working fine but there is a problem. There are few application which still detect root even though they have been hidden from Magisk.

Apps like, DigiLocker, fastag apps, My Jio apps and few others.

Is it a known issue or there are workarounds available?