yashsingh1/xdaforums huggingface dataset:
[Magisk] Ukulelen:
I am also failing to basicIntegrety and ctsProfile. I have read through the link you shared, and can't find out what I am doing wrong/a fix. The app "Root Verifier" from f-droid says my device is rooted, and if I use Magisk hide on the app it says I do not have root. I am using microG on crDroid on a Mi 9t pro. I have tried restarting Magisk hide, both in the manager and in Termux, and I have also restarted the phone several times. My Magisk version is 20.3 (stable).
[Magisk] dnisko:
Hello guys.

I was having issues with SafetyNet check, like everyone else, now magisk passes SafetyNet and I have root.

But I cannot uninstall system apps like chrome, facebook, google play music/video.. And similar bloatware.

It was working just fine until latest update on my pocophone.

I was using this apps:

https://play.google.com/store/apps/details?id=com.wakasoftware.rootuninstaller

https://play.google.com/store/apps/details?id=com.jumobile.manager.systemapp

I tried hiding magisk, core only mode, nothing works, the apps remain installed.

My device:

Pocophone F1

MIUI 11 v11.0.6, android 10

Magisk 20.3, Magisk Manager 7.5.1

Does anyone know how can I uninstall system apps? Any other uninstaller?

Is it magisk or google's fault?

Any help is appreciated.

Thanks and cheers.
[Magisk] zputnyq:
Try SD Maid or Titanium back up but once you uninstall system app/s, the app/s usually won't be back unless you have a full back up (TWRP back up).
[Magisk] @ayahfachri:
Try a magisk module "debloater", and debloat it in terminal (i use termux).
[Magisk] Didgeridoohan:
MicroG can't pass SafetyNet.
[Magisk] Evengard:
Any moves toward certifiable custom ROMs (which is kinda still good) won't allow us to be rooted or use EdXposed or similar things. I actually don't get why do they think that the app dev should decide where the app will or wont run, and not the user.

Especially in cases of apps without alternatives (aka GPay, banking apps etc) - they are just forcing this way to not modify anything. I get it when they just warn about possible security problems, but not locking out of it.

I'm only hoping that even if that happens (certifiable custom ROMs with unlocked bootloader) it will be possible to actually pass it with root/EdXposed by exploiting the validations in theese custom ROMs.
[Magisk] dnisko:
I will try it later. Thanks.
[Magisk] Ukulelen:
Ok, this explains a lot. Thank you!
[Magisk] Seehank:
cts automagically passed, but GPay doesnt

So yes, cts not somehow passes with no measures taken. But GPay is still not working. MagiskHide is not working. Is it the same situation depicted before? No more hiding from GPay? SafetyNet doing its stuff? Or might there be a way to make it work?

Mi9T Pro
[Magisk] Seehank:
I use MicroG (rootless) and works fine.
[Magisk] Ukulelen:
I am rooted, and I see now Droidguard with microG won't work then. Is there a fast way to switch from rooted to unrooted with Magisk? Or do I need to uninstall and reinstall Magisk every time?
[Magisk] gringo80:
beta android builds made by Google for devs and oems can't be tested without unlocking the bootloader. Debugging is a mandatory condition to find bugs. There will be always a caveat against Google. They can't make a perfect android platform without testing (without unlocking the bootloader).

The only thing they can do is to be the only oem

making android smartphones like apple... and this is impossible.

There is no solution for Google :laugh: :victory:
[Magisk] bharod:
I am not using any modules
[Magisk] Didgeridoohan:
So what you're saying is that when you use the feature to repackage the Manager with a random package name you experience a bootloop? That sounds very strange and you would have to verify that with more details about your setup and logs if anyone's going to be able to help.

Tips on how to get logs:

https://didgeridoohan.com/magisk/MagiskHelp
[Magisk] ktmom:
From my point of view, these apps have liabilities if their app runs on a potentially vunerable platform.

Google may have an interest in supporting development (think Pixel, Nexus), but most OEMs are marketing to people who are looking for security. The dominant market is not rooted devices. Business who buy devices for employees are looking to minimize their risk. To this end, Android must move forward improving security, or lose base.
[Magisk] pvdsselnw:
MagiskHide

Hi all, Ive been trying to get magiskHide wowking on my old samsung galaxy s4 with marsmellow. Installed via twrp several versions but I can never get MagiskHide to appear or stay toggled in the manager. Safetynet always passes the check. Anyone know what could be the problem?
[Magisk] Wolfcity:
Android Version Support:

Android 4.2+: MagiskSU and Magisk Modules Only

Android 4.4+: All features available (*2)

Android 6.0+: MagiskHide guaranteed support (*3)

Android 7.0+: MagiskHide full protection
Android 9.0+: Magisk Manager full hide capability

Source:

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445/post68966662

"Pre 6.0 kernels are very likely to have no mount ns procfs support, which is required for MagiskHide to work properly. This Linux kernel feature is only required to be added in Android 6.0."

Maybe read the op of this thread, magisk hide may not work properly on marshmallow ROMs.

Also there's a possibility that your kernel doesn't support magisk hide.
[Magisk] dnisko:
I can't believe I couldn't think of trying with SD Maid.

That did the trick, I uninstalled all the bloatware :)

Thanks.

I tried debloater and it worked, but I was having trouble finding some apps to uninstall. SD Maid did the trick.

Thanks anyway.
[Magisk] pvdsselnw:
Thanks! That is likely the problem.

I can see that there is a patch that could help: https://www.didgeridoohan.com/magisk/MagiskHideBasics

However, how to do this is not clear to me. Is there an easy action plan available for doing this?

Best,

Pieter
[Magisk] tmviet:
I've noted that with old rom Lineage 14.1 and last One Magisk there Is any problem with Play Service on S4 smartphone.

Inviato dal mio ONEPLUS A5000 utilizzando Tapatalk
[Magisk] crakos:
omg... Yesterday my cts profile changed to TRUE magically. I don't understand nothing.

I have not touched or installed anything to fix it ...

I'm glad that now my device is certified but I don't know what happened.
[Magisk] tmviet:
Perhaps Playstore changes something

Inviato dal mio ONEPLUS A5000 utilizzando Tapatalk
[Magisk] zgfg:
It's worth sometimes to read posts by others - published here two days ago

Google Playstore Services/SafetyNet backend side
[Magisk] m8980:
hello. I'm on a rooted samsung s20 ultra and I'm looking for a way to edit csc files. on this device they are stored in /optics/configs/carriers.

the problem is that /system is read only.

I'm using magisk canary with some modules, which are working fine.

on my windows machine are my csc files, decrypted and edited.

my question is, if it's possible to create a module, which exchanges the stock csc file with my files? or maybe something similar?

thanks.
[Magisk] HippoMan:
There are file explorers which can run as root. Install one of them, give it root permissions via Magisk, and then use it to change the filesystem permissions of /system to RW ("read-write").

I use "Root Explorer" for this purpose, and there are a number of other file explorers which also offer these capabilities.

.​
[Magisk] tmviet:
E.g. MiXplorer

Inviato dal mio ONEPLUS A5000 utilizzando Tapatalk
[Magisk] m8980:
Thanks. As I mentioned / is read only, because stock kernel is magisk patched. no custom recovery at the moment and so on.

So no root explorer is able to make system RW
[Magisk] HippoMan:
Oh, I never encountered that situation before on any rooted device. So, is it also true that you can't get into the device via "adb shell" and then run "su -"?

.​
[Magisk] ktmom:
If you create a module with the csc file you want used, on boot they will "replace" the stock versions. https://topjohnwu.github.io/Magisk/guides.html

This Twitter thread should help explain: https://mobile.twitter.com/topjohnwu/status/1174392824625676288
[Magisk] hachamacha:
Just installed oss 10.3.2 over oss 9.x on a global op6t and then installed Magisk 20.3 dirty over 20.1. I had about 6 modules and this was a trouble-free change.

I used TWRP (mauranfrio for -Q) to install.

Note: I haven't dug into Viper4Android 'driver' installation problem yet and aren't sure I will, but other than that, it works well, safetynet is fine, simple bank apps fine.

Thanks!
[Magisk] Wolfcity:
You need a Linux kernel of at least version 3.8 or a kernel that has the necessary features (mount namespace) backported.

I'm not a kernel developer but as far as I know the mentioned patch has to be implemented in the kernel itself. So your best chance would be looking for a custom kernel version 3.8 or higher in your devices forum or find a dev who is willing to build a kernel with the aforementioned patch included.
[Magisk] m8980:
Ok, I tried to create my own magisk module.

I took this : magisk-module-template-master and edited the configs.

But it doesn't work.

Here is the content of the log file:

- Copying zip to temp directory
- Installing cscchanger.zip
! Magisk is not activated!... abort
! Installation failed

attached my module, maybe someone can take a look
[Magisk] zgfg:
It has nothing with adb shell su

On SAR, / is encrypted (and compressed) and read only - you cannot make changes

Only systemless with mounting, but that is active only while booted to the system, not even when you go to the custom recovery
[Magisk] Keiuran:
Right, but I've seen root access without a custom ROM or unlocked bootloader before, just that it would go away once you restarted your device. I'm wondering if that's still available in stock ROMs.
[Magisk] HippoMan:
Thank you for explaining. I didn't understand about SAR until now.

.​

---------- Post added at 11:44 ---------- Previous post was at 11:43 ----------

Thank you!
[Magisk] Didgeridoohan:
Somehow you've found a truly ancient module template that won't work with any current Magisk version. But you're on the right track so try to do it again, but this time follow the instructions in the link given by [MENTION=6617276]ktmom[/MENTION].
[Magisk] m8980:
Thanks,

I took the newest module_installer.sh and renamed it to update-binary.

Then i repacked my moduke.

Now i get a different error:

- Copying zip to temp directory
- Installing cscchanger.zip
update-binary: line 8: syntax error: unexpected newline
! Installation failed

EDIT: works now, after copying the content of the module_installer.sh.

But damn my module doesn't satisfy my hope :(
[Magisk] mad1999:
i installed Bliss OS(android-x86-64) on my pc everything including wifi works fine, so since these types of roms don't support direct install magisk, i did this method to install magisk, after extracting initrd.img, kernel, ramdisk.img and converted them to boot.img and patched it using magisk manager, replacing ......, i booted to the OS, magisk is working fine but i have wifi issue i can enable it but can't connect to any network it keeps saying password is incorrect(which isn't), in fact, wifi works if i install magisk version 15.3 but it is really outdated. https://xdaforums.com/android/help/wifi-issues-installation-magisk-android-t4061349

i also another os Prime OS(android-x86-64) but still same wifi issue
[Magisk] guest4711:
You have to reboot your device after enabling SystemlessHosts to make AdAway work.
[Magisk] m8980:
one littl question. is the optics partition on sytem as root samsung devices supported by magisk and magisk modules?

my own modules changes nothing on this partition.

here is my log:

- Copying zip to temp directory
- Installing cscchanger.zip
sh: standalone: unknown operand
- Device is system-as-root
Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
inflating: module.prop
*************
csc_changer
*************
*******************
Powered by Magisk
*******************
Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
inflating: customize.sh
- Extracting module files
Archive: /data/user/0/com.topjohnwu.magisk/cache/flash/install.zip
inflating: customize.sh
inflating: module.prop
inflating: README.md
inflating: .gitattributes
creating: optics/
creating: optics/configs/
creating: optics/configs/carriers/
creating: optics/configs/carriers/DBT/
creating: optics/configs/carriers/DBT/conf/
inflating: optics/configs/carriers/DBT/conf/cscfeature.xml
inflating: optics/configs/carriers/DBT/conf/cscfeature_network.xml
inflating: optics/configs/carriers/DBT/conf/customer.xml
inflating: optics/configs/carriers/DBT/conf/omc.info
creating: common/
inflating: common/file_contexts_image
inflating: common/post-fs-data.sh
inflating: common/service.sh
inflating: common/system.prop
- Replace target: /optics/configs/carriers/DBT/conf
- Done
[Magisk] Didgeridoohan:
Is /optics it's own partition? If so you can't use Magisk to mount files to it (/system, /vendor and /product are available).
[Magisk] m8980:
ok thanks :(

Then i have no more ideas
[Magisk] SebiderSushi:
How can i alter SD card mount options to enable write access?

I want to enable write access to the micro SD card.

I have already made sure that, without any additional modifications, manually running the following properly enables R/W access to my external SD card:

mount -o remount,mask=7 /mnt/runtime/write/$SD_CARD_ID

Of course, that is only temporary until the next time the card is mounted, and maybe i want this for a USB-OTG stick as well.

How can i make sure "/mnt/runtime/write/$SD_CARD_ID" always gets mounted with the mount option "mask=7" (like android mounts /data/media under /storage/emulated and such) instead of "mask=18"?

Is there a way to alter the mount option that android uses for external sorages?

Or a way to listen to storage events and automatically run the above command for any newly insterted storage device?

Can it be done using magisk?

I know there is a module called ExSDCard Write Access enabler, but it does not play well with permission aware file systems like ext4 or e2fs. If any app writes to the sd card when using such a filesystem, those files will have owner and group set to that app (i.e. app_113 for example) and no world read/write access when browsed via the actual filesystem path under /mnt/media_rw, which is where the module enables read write access. That means, if i want to use the module and an ext4 file system on my sd card, i would need to fix the permissions all the time or else every newly written file can only be used by the app that wrote and owns it - not the kind of use case of an SD card :P

Doing what i wrote above enables apps to write to /storage/$SD_CARD_ID on my device, and since this directory is mounted with uid=0 and gid=9997, i.e. "everybody", permission aware filesystems can be used as well.
[Magisk] finnroth69:
Simply confused...

So I have a phone that is under developed. The Doogee S60 Lite which runs a MT6750. After successfully rooting it I decided to give Magisk a try. But that isn't where the problems begin. When I format my phone and do a fresh ROM install, I typically start the system before installing Magisk. Once Magisk manager is installed I will go ahead and run the zip file for root. Everything goes ok as the phone reboots back to the os and I don't have any problems. The problems begin once I download and install modules and reboot my phone. The problem consist of the Play store services and the play store both constantly shutting down within milliseconds. I have managed to get into my settings to clear data on both apps and let them update, as well as give them time to sync afterwards. The only thing that happens eventually is that the closures slow down and I lose root. On top of those 2 apps closing, any other app I have installed needs to be reinstalled all over again like an update before they will open again. If I use the SuperSU systemless root, everything runs fine for the most part. There just aren't as many modules that agree with SuperSU so to say. What am I doing that could be causing these 2 main Google apps to no longer function?
[Magisk] KirinRaikage:
Hey guys, hope you're doing well

Since a while, I've been passing ONLY

basicIntegrity

with Magisk 19.3 but not with the newer versions. With the newer versions neither CTS nor basicIntegrity pass. I know the drama about the CTS and what Google has done (and reverted) as I can read, but if I can pass at least basicIntegrity with 20.3 it would be dope !

I've tried Magisk Manager with the latest stable Manager version (267) and with Manager (278), without success. If I upgrade my Magisk to 20.3 or 20.0 or the latest Canary stable build it won't work unfortunately. Don't know the issue about that.

Can anyone help me out ? Thank you !

BTW : I use my Honor 6X with AOSPExtended ROM (The 6.1 version) : https://xdaforums.com/honor-6x/development/rom-aospextended-6-4-honor-6x-t3935711/page2
[Magisk] Iskon:
Пишу по русски, приношу извинения, прошу простить если не по адресу

Появилась проблемка

Modul ssh перестал запускатся после обновления audiolibrary

Magisk 20 gadjet chuwi hi9pro

Google Translate from Russian to English:
[Magisk] ktmom:
First thing I ask is do you pass basic without Magisk?

Then, point you to this earlier post:

It could be incompatibility with one or more modules, or something else. Logs would be useful. Though after generating them, you may notice yourself a problem if you review the logs before posting :good:

Magisk can run a script at boot for you. You need to create a module to do this for you. Module developers guide. Tasker can also run a script after boot.
[Magisk] exocetdj:
Hi All

i am trying to add some debloat options to my Magisk rom, using the volume rocker buttons so that this can be done in install. Why when there's a module for that you ask? Well i'm starting with debloat and moving on to adding other options when i have learned how to do this - volume rockers .

I have managed to capture the volume buttons and have successfully tested a zip with two options for flashing under an if/else function

I want to evolve this a bit where 1 option is for a standard install (if vol - is initially selected) and for a custom install if plus is selected.

I have basically got this working however the options for the custom install (i.e the debloat) are not actually debloating or replacing the files.

Can someone take a look at the attached and see if i have linked the mod folders for the debloat apps (facebook, chrome and netflix) correctly as they only seem to be removed by the replace function and not the VKSEL functions under the custom install script.

I didn't want to clog up the MMT thread as [MENTION=6037748]Zackptg5[/MENTION] has helped immensely already
[Magisk] Nick GS01:
Magisk hide not able to hide MS intune company portal. Earlier I was able to use MS intune app for my work. I am using LOS 15.1 official on my redmi 2 device. Any solution?
[Magisk] casouzaj:
I have a lot of work apps which rely on MS Intune Portal, like MS Authenticator, Yammer, Citrix Workspace, Citrix Jabber and WebEx Meeting, SharePoint, One Drive for Business, etc. All of them work fine on my Sony Xperia Z5 Compact phone, running a stock 7.1.1 ROM with the stable V20.0 Magisk build. As such setup works flawlessly to me, I don't bother updating Magisk.
[Magisk] Nick GS01:
Even for me it worked previously but since I flashed unofficial Los 17 on my device, its not working with any version of magisk. Did system wide wipe data and cached then also its not able to register my device to company portal.
[Magisk] casouzaj:
If you happen to fall only the CTS profile test, the MagiskHide Props Config module (which, by its turn, requires the BusyBox NDK module to work) might be helpful. Some time ago I ran a LineageOS ROM for which the CTS profile test failed. Then, from a terminal emulator app, I entered command props, then, entered 1 > f > maker > model > y > y > reboot. After reboot, all was fine!

Of course the MS Intune Portal app, as well as all my work apps, were in Magisk's Hide list.
[Magisk] carpablo1960:
Magisk 20.3

Hi all

Magisk 20.3 is stopped searching actualizations

Any solution?
[Magisk] :
Magisk hide not working with most bank / contactless apps nowadays. Pie Samsung galaxy A70 TWRP. Latest version of magisk from this point of Post. Any suggestions.

Update trying

nfc card emulator pro (root)

nfc card emulator pro (root)

Creating modules now for magisk
[Magisk] ManDone.vRs:
Hello ! Sometimes Viper it's appearing in Magisk Downloads / installed , sometimes disappear ... What's the issues ?
[Magisk] Vs995Child:
Ok, so i know this is a long thread, and this question has probably been asked, but..... I'm using v19.4, and it works good. Are there any benefits to updating to the latest version?
[Magisk] DrWu:
My phone is a Motorola G7 on Android 9, stock ROM (PPOS29.114-134-7), rooted with Magisk, TWRP recovery installed. Magisk was flashed from TWRP recovery, since updated to v20.3. Magisk Manager version is 7.5.1. Superuser Access is Apps and ADB.

Preserve dm-verity won't stay enabled. Nor, for that matter, will "Recovery mode." If I minimize or close the app, when I re-open it, all but "Preserve force encryption" will be disabled. This is the third G7 I've had in two months and the first to exhibit this problem. However, I've had to re-flash the ROM on this one a number of times due to different problems and can't say in every instance it had this same problem. The current installation was flashed from the individual files from the unpacked ROM using "fastboot flash."

Any ideas what causes this or how my 'Preserve dm-verity' problem can be fixed? Also, I'm having a problem getting the Smali patcher to recognize this phone, and wondering if the disabled 'Preserve dm-verity' might be the cause of the Smali problem?
[Magisk] jenslody:
You need to have these switches enabled if you flash.

Try to check them and reflash Magisk from the Manager.

And be sure to have a backup like always.
[Magisk] DrWu:
Thank you, re-flashing the Magisk module fixed it (but did not affect the Smali problem).
[Magisk] epullay:
S9+, Android 10 and Magisk 20

Hey! I have a Samsung S9+, specifically the SM-G965N.

As you probably know, rooting a S9 is a bit of a hassle because of some OEM issues, so Dr. Ketan made a fix for both oreo and pie which installs magisk, but it comes with magisk 17 (or 18, not sure) rather than 20, leaving some modules out of the scene.

Does anybody know if I can just install magisk 20 normally via TWRP like with any other phone nowadays? Or I'm stuck on magisk 17 until another developer updates the ketan OEM fix to magisk 20?

And secondly, can I update my phone to Android 10 and still install magisk normally, if the latest version of magisk supports the S9+? A while back they released the Android 10 update in Sammobile, but I don't know if I can flash my phone and still be able to run magisk in it.

I tried using the old magisk root trick for android 8 S9+, which was installing RMM bypass, the no-verity-opt-encrypt-6.0 zip and the latest magisk version available (To the time of this post, magisk 20.3), but after running magisk uninstaller and flashing my phone with the corresponding zip files, my phone just got stuck in the Samgung S9+ screen for ages. Had to restore to a previous backup to fix it.
[Magisk] zzzzzzzzzzzzzzzzzzzzzzzzz:
How to install Magisk in Memu android 7.1
[Magisk] zgfg:
Maybe there is somebody here with the same phone but your questions are not generally about Magisk, so have you checked and asked on the forum for your phone first

And nowadays, for the phones with Android 10, Magisk generally cannot be installed 'normally' via TWRP (because Magisk is also supposed to go to the recovery partition)
[Magisk] epullay:
Nope, will do now. Thanks for the advice! I'm new to the XDA forums, so I'm still learning where everything is
[Magisk] njjl:
Hello.

I'm using Pixel Experience 10+ on a Nexus 5x.

I was enjoying a freshly flashed installation the smartphone was fast.

I installed Magisk and the phone became warm and really slow.

Uninstalled it, wiped the system partition, reflashed the rom, but the same is happening, warm and slow.

How can I fully reverse whatever was done by Magisk?

Thanks.