yashsingh1/xdaforums huggingface dataset:
[Magisk] enricojacko:
Good morning. I have a Huawei Mate 9 (MHA-L29). Some weeks ago I installed OpenKirin CarbonRom and rooted it with Magisk (suggested method patching Ramdisk and flashing the patched one via Fastboot). OpenKirin does not support TWRP or other recovery than stock EMUI one.

Since a while now my phone is not rooted anymore, according to Root checker, Root Explorer and many other apps that I am trying to launch unsuccesfully. I cannot launch Magisk Manager because it freezes at the starting logo screen with the mask . I don't know how to uninstall Magisk and install it again, because I cannot do it from the app (it doesn't start) neither from the Uninstaller zip (the stock recovery do not have functions to flash the zip files).

I am attaching the Logcat, I hope it helps. Thanks a lot.
[Magisk] ramabg:
Hi guys. Every time I use Hide Magisk Manager, I lost root functionality. Every root checker can't detect root anymore. Restore Magisk Manager can also return root function, but It is quite inconvenience if everytime I want to use digibank I will have to hide magisk packages manager since this app detect mahisk. Is there anyway to hide magisk packages manager without losing root functionality? Thank you
[Magisk] def-g:
Any solution to the freezing that occurs when phone is turned off and plugged in to charge? Battery icon stays on and frozen. Have to do a hard reboot to get back. Occurs on anything after Magisk 16.7. On the latest Magisk from Custom Channel. Running latest Sultan Kernel and Only module is Edge Sense+.
[Magisk] Nimueh:
Just flash the stock ramdisk again and simply uninstall the Magisk Manager from the app drawer (longpress the icon, tap on the recycle bin).

Then reroot by following the 1st post again but using the latest Magisk and the stable instead of custom chan :)
[Magisk] kramer04:
Same problem here with Note9 and OREO 8.1

After flash latest firmware i've losted IMEI

BL ARI9

CP ARI4

CSC ARI7

Have to flash previous firmware to have IMEI.

Is somebody else with same problem and how solve it ?

Another question : is there magisk apk compiled 64bit ?
[Magisk] spleenandcigars:
If anyone is also having bootloops with Magisk, here is how i fixed it.

First of all, my specs:

- TWRP 3.2.3-1

- Magisk 17.2v

- Pixel XL with Android 9.0.0 (PPR2.181005.003, Oct 2018).

I sent the TWRP img to fastboot (with code fastboot boot twrp.img) and installed the zip from there WITHOUT INSTALLING TWRP. Do not flash the TWRP zip.

Flash Magisk 17.2v, reboot and you'll be good to go. If installing a custom kernel (as i did), do the same procedure by fastbooting and flash first kernel, then magisk again.
[Magisk] Yourboymusti:
I've gotten no response in around one week. Can someone please help me? I've got no logs to help resolve the issue sorry.
[Magisk] guest4711:
Either no one understood your problems or no one had a solution for it. So please try to explain your problems in another way, describe what you were trying to solve the problems and describe your environment (phone model, kernel, software, recovery, e.g. jfltexx - i9505 ; stock kernel; LOS 15.1 from 2018-08-10; TWRP 3.2.2 ). And logs are essential so try to get them...
[Magisk] jcmm11:
Two problems with this post.

First - how is anyone supposed to know what your problem is? A link back to the original post would probably be helpful.

Second - even without knowing what the problem is the fact that there are no logs makes it highly unlikely (although not totally impossible) you'll get any help.
[Magisk] Yourboymusti:
I tried to link it back to my original post (pg 2805) but I have no idea how to properly use XDA features etc so it didn't work.

I can't get any logs since the problem resets my device.

Magisk root works fine without any problems. But when I flash modules (any module e.g. Greenify4Magisk), my device doesn't boot up to the home screen. Instead, I get an error message that my system is corrupted and get sent to TWRP recovery to factory reset or restore. hope this makes sense now. Thank you

The majority of my specs are mentioned above.

Kernel: 4.4.159-FlahKernel-Wahoo-v3.14

TWRP: 3.2.3-1-taiman
[Magisk] enricojacko:
Thanks a lot, this have been very helpful, now it works perfectly.
[Magisk] js101:
Hey I seem to be having the same problem, but disabling magiskhide hasn't helped. Is there another solution?

The issue is not being able to install or update apps after installing magisk. Sorry that it wasn't clear.
[Magisk] ashyx:
You need a patched or custom kernel.

Pretty sure some one on the note 9 forum would have created the hex patch or custom kernel.
[Magisk] bombitout:
after updating my lg g5 h-850 from nougat to oreo and rooting with magiks i got a message:

torch is unavailable. flash is missing in camera app. any workaround ?
[Magisk] lucki1000:
Hello,

I have a problem with magisk i dont can by pass the safetynet state and If I going to my twrp and will install an module of twrp it cames i have magisk not installed.

I hope anyone can help me.

Regards lucki1000
[Magisk] jcmm11:
There are still logs you can get. Whether they're helpful won't be known until someone can look at them. Specifically the TWRP and/or Magisk logs from when you install a module.

What happens if you install and then uninstall before rebooting?

TWRP log you may have to save and then pull it using adb before rebooting. Although if you save the log, then restore your TWRP backup before rebooting, you should be fine as well and have the log available on your internal storage.

Also - do you by any chance have Xposed installed?
[Magisk] GreenPool:
Good day

I flashed my redmi4x to pixel experience rom, how can I root it with magisk? I'm a newbie.

Thank you and more power.
[Magisk] teddy0209:
Flashing it don't work?
[Magisk] GreenPool:
What is the latest and safest magisk version that I need to flash in order for my redmi 4x running pixel experience to be rooted? Can you teach me the step by step process?

Thank you for the responet.
[Magisk] teddy0209:
Any version is safe, 17.x is recommended... Just make a backup before flashing...
[Magisk] jhedfors:
Anyone aware of anything in the works to bring categorization and filtering to Magisk Manager?

It is really hard hard to find relevant and useful modules as there are so many device-specific modules in the massive list.

Edit: Created separate post:

https://xdaforums.com/apps/magisk/module-filtering-categorization-magisk-t3851343
[Magisk] Nekromantik:
When you install updates from magisk manager where does it download the zips?
[Magisk] jhedfors:
For me, when I select ”install", it downloaded the module here:

/storage/emulated/0/Download
[Magisk] Nebrassy:
Suggestion:

Have an option to keep /system unmodified, deny any requests to remount read only partitions as writable

I'm not sure if this is possible, but it would be pretty handy
[Magisk] ashyx:
Confused. Magisk is systemless what are you referring to, what is modifying the system partition?
[Magisk] Nebrassy:
It is systemless, but a root app can remount system as writable and modify it, of course you can avoid that if you're careful, but an option to prevent that would be great
[Magisk] xunholyx:
You could use the template to make a module for it.

You can find instructions for that here.

And further information can be found here.
[Magisk] Nebrassy:
What I mean is, when an app tries to write to or remount system, I want that to be denied, I know that you can make modifications systemlessly.

For example, if I have stericson's busybox app, and it tries to install busybox to /system/xbin, I want that to be denied
[Magisk] To_O:
Hi,

I don't know why, but since the upgrade from Magisk 16.7 to 17.2 (installed via Magisk Manager and without any problem) I have issues passing basicIntegrity. I've added a new value to the build prop with MagiskProps Hide Config module, but I don't know if it's not passing since that or since the update. So I removed this modification, uninstalled the module, but safety net was not passing at all. But I've read that toggling OFF then ON the Magisk Hide setting could resolve the problem. And yes it did, I was passing safety net without problems, even ctsProfile with the module reinstalled. The only problem is that, it's working but for a short period of time (like 5-10 minutes) before I need to do this again.

Do you have any ideas ? Could a fresh install of Magisk could help ? Could the problem be with a module ?

I'm on AOSP Extended (Android 8.1), with substratum, a lockscreen rotation module (which is touching build prop if I remember), greenify4magisk and other modules. Also, "com.android.systemui" is selected in Magisk Hide.

Thanks in advance.

PS : It's possible that I'll take time to respond I'm sorry but I'm very busy these days
[Magisk] skuppej:
Hi guys.

It seems since the Magisk Manager 6.0.0 release the integration/button in the Settings menu has stopped working.

When I click this I now get a "Settings has stopped" error and it closes the Settings window.

However, launching Magisk Manager from the app drawer works fine and Magisk is otherwise functional.

I am running AICP (Lineage OS) 7.1.2.

Anybody else experiencing this issue? I've reinstalled Magisk Manager as an attempt to fix, but haven't yet tried a full Magisk reinstallation..
[Magisk] jhedfors:
I suspect that the button you are referring to is a ROM feature, not a Magisk feature. You probably want to report this to the ROM developer.
[Magisk] VincentJoshuaET:
Have you hidden Magisk Manager? Maybe the Settings menu only looks for the original package name
[Magisk] Faye Reagan:
Greetings, i'm on Huawei Mediapad M3 8.4 Chinese version.

It's pretty well known about chinese rom that doesn't pass ctsProfile from Google but pass the BasicIntegrity with or without unlocked bootloader.

After installing magisk 17.1, i can't seem to pass BasicIntegrity and i start to comparing the getprop without root and with root.

There's many different values but i'm able to change it with using post-fs-data.sh and set POSTFSDATA=true

One thing that wouldn't stick, is the value of "persist.sys.root.status".

Long short explanantion, 0 for without root and unlocked bootloader, 16 for with magisk root and unlocked bootloader.

I already tried using :

resetprop persist.sys.root.status 0

resetprop -n persist.sys.root.status 0

resetprop -p persist.sys.root.status 0

even add it in service.sh or system.prop (of course the value is "persist.sys.root.status=0" in system.prop)

But none of them stick.

Is there a way to make it stick to the 0 after boot?

*note : i already tried every single solution of magiskhide, that's way i started to compare the getprop values.
[Magisk] Strephon Alkhalikoi:
Clearly that Chinese ROM wants to report your root status to Huawei, the authorities, or both. You can try writing a module to change the line on every reboot, but other than that nothing short of using a custom ROM will help.
[Magisk] jcmm11:
Try the following in service.sh

echo 0 > /data/property/persist.sys.root.status

If it still doesn't work try preceding it with a sleep statement. Start with something like "sleep 300". If that works lower the sleep time until you find a proper value.

---------- Post added at 12:22 PM ---------- Previous post was at 12:09 PM ----------

Try the following and see what happens:

Mount /system/ as rw. Create a file in, let's say, /system/xbin/ and name it, let's say, a_test_file.txt.

After you've done that reboot the system and see if you can still find the file. I suspect the answer will be no. Why? Because you're not actually writing to /system/. You're writing to mounted image which isn't preserved through a reboot
[Magisk] Nebrassy:
The answer is yes, I can see it, and I can also see it in twrp.

you only write to an image when installing modules, or when magisk is specifically supporting it ie systemless hosts
[Magisk] Faye Reagan:
Too bad it's still not working with or without "sleep".

I've seen old Huawei-Prop-Fix with "inotifyd" but i don't know how to implement it on magisk 17.1

Btw, this is the module by Macleod
[Magisk] jcmm11:
What version of Magisk are you using? Because what you describe is not what happens on my system.
[Magisk] Nebrassy:
Currently 17.3 beta, same happens on 17.1, and same on 16 (on a different phone)
[Magisk] Andy4Shurr:
So I must have missed this while searching but this post solved this issue for me! Hopefully it's something that will get amended in a magisk update.

[MENTION=4981177]ratoune[/MENTION] I know you replied to my initial post having the same problem so if you've not seen this yet take a look :)
[Magisk] x.trinity:
Is there a way to grant a root access to the application from Magisk?

Its not in #Superuser list.

Or any alternative method?
[Magisk] mrwan74:
Galaxy S9+ Freezes after flashing magisk

hi there,

im unable to root after the august 1 security patch running stock rom G965FXXU2BRGA_G965FOXM2BRG8_ILO on galaxy s9+

my phone lags then freezes permanently after flashing magisk and booting up . i haven't experienced this before the update

any ideas?

im thinking the update probably broke "No Verify Encrypt" because magisk is unable to keep dm-verity enabled .

i discovered this when opening magisk manager,the checkbox for preserve dm verity is not checked,and when i do enabled it it does nothing.tried restarting too

i tried various methods including issuing "echo KEEPVERITY=true>>/data/.magisk" command in recovery terminal after flashing magisk with no success ( i even tried flashing different magisk version ,latest version then the one before it and another one..etc) tried supersu too . i tried everything in "Magisk and MagiskHide Installation and Troubleshooting guide " documented in Magisk Troubleshoot Wiki (Didgeridoohan!)

my steps to rooting is the following :

enabling OEM unlock if not enabled

flashing twrp 3.2.3.0 star2lte

formating data then rebooting to recovery

Installing No Verify Encrypt 6.0 star zip file then rebooting to recovery again

installing rmm state bypass v2

flashing magisk ( tried different versions,customs ones too ,supersu)

rebooting to system

(gathered from various tutorials from highonandriod or other places)
[Magisk] Fif_:
I'm not sure that'll fix your problem, but if you want Magisk to keep DM Verity enabled, you have to run the echo command before flashing Magisk, not after (too late at this point).
[Magisk] mrwan74:
okay thanks alot! i'll give a try a try next week after the 7 day OEM unlock jail
[Magisk] servo386:
I'm getting a bunch of errors trying to install Magisk from TWRP which make me think that the PATH or /sbin from which TWRP is operarting out of is missing most of the fundamental binaries (like chmod, mount, and such) and indeed when you go into TWRP and go to the terminal, Mount and other basic commands returns "sh: mount not found". Busybox does work, but it seems as if the Magisk installer script is not using it.

Here is a readout of the relevant part of the recovery log, could someone guide me to what the issue might be and how to make sure all these commands/binaries are accessible to the script?

I:operation_start: 'Flashing'

Installing zip file '/udisk/Magisk-v16.7.zip'

Checking for Digest file...

Skipping Digest check: no Digest file found

I:Update binary zip

I:Zip does not contain SELinux file_contexts file in its root.

I:Legacy property environment not used in updater.

/tmp/updater[39]: touch: not found

/tmp/updater[39]: touch: not found

/tmp/updater[39]: chmod: not found

/tmp/updater[39]: can't create /dev/tmp/bin/b64xz: No such file or directory

/tmp/updater[39]: can't create /dev/tmp/bin/b64xz: No such file or directory

/tmp/updater[39]: can't create /dev/tmp/bin/busybox: No such file or directory

/tmp/updater[39]: rm: not found

/tmp/updater[39]: /dev/tmp/bin/busybox: not found

/tmp/updater[39]: mkdir: not found

/tmp/updater[39]: unzip: not found

sh: /dev/tmp/install/META-INF/com/google/android/updater-script: No such file or directory

Updater process ended with ERROR: 127

I:Install took 1 second(s).

Error installing zip file '/udisk/Magisk-v16.7.zip'
[Magisk] Strephon Alkhalikoi:
What happens when you install Magisk 17.2? 16.7 is pretty old.
[Magisk] yochananmarqos:
I'm pretty sure Stericson's BusyBox supports Magisk. You should also have the option to choose where to install it IIRC. If you're having issues with it, I suggest the Busybox for Android NDK module by [MENTION=4544860]osm0sis[/MENTION] in the repo.
[Magisk] Nebrassy:
Thanks, yeah it supports magisk, to keep system unmodified you just need to install to /sbin, I was just giving an example

Another example, X-plore has two options for su, either Superuser or Superuser + mount writable, if you use the second option, even without making any modifications you won't be able to receive OTAs anymore
[Magisk] servo386:
The same thing. This particular log was me trying an older version out of desperation, but the same thing happened when I tried first with new one.
[Magisk] Fabio Santos 90:
su prompt not working!
[Magisk] gothicVI:
Too bad for you...

Gesendet von meinem Moto G (5) Plus mit Tapatalk
[Magisk] Feduz:
ctsProfile: false.

I follow the guide, flash via twrp and then install the manager. I have a LG G4 H815 rooted, with android 7.0.

Some with this problem?
[Magisk] To_O:
Install the Magisk Hide Props Module from Magisk, reboot and then launch it through a terminal : "su" then "props" and edit fingerprint.

It should pass ctsProfile
[Magisk] DAViiD__:
I've posted this once before, and I'm doing it again for more exposure.

On my Galaxy S8 (Exynos) running the October firmware, installing magisk (or just rooting the phone in general) causes the CPU to spike. It's constantly on the highest frequency. Yes, even in safe mode. That means it's not caused by an app I installed or anything. When I use the top command (BusyBox top or just top) it doesn't show any useful info (it shows the package names cut off, so I'll see things like com.samsung.ga) and besides, the highest CPU usage% is like 0.3%. So nothing wrong here. The magisk daemon post -fs isn't anywhere to be found either, so logging isn't the problem. Frequencies are also high when Magisk Hide and logs are disabled, or any other combination of enabled and disabled.

Anyone know what's happening here?
[Magisk] iR0nM4n:
Maybe here i find some luck.

I get this exception when entering Magisk Hide (exception was captured with logcat).

It occurs with Stable, Beta and Canary builds.

2018-10-07 22:22:23.680 16479-16534/com.guG.Vo01.iu.AKdR E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
Process: com.guG.Vo01.iu.AKdR, PID: 16479
android.content.res.Resources$NotFoundException: String resource ID #0x7f050000
at android.content.res.Resources.getText(Resources.java:347)
at android.content.res.Resources.getString(Resources.java:441)
at com.topjohnwu.magisk.adapters.ApplicationAdapter.getLabel(ApplicationAdapter.java:62)
at com.topjohnwu.magisk.adapters.ApplicationAdapter.lambda$loadApps$0(ApplicationAdapter.java:81)
at com.topjohnwu.magisk.adapters.-$$Lambda$ApplicationAdapter$vhk5tJ3sBUak-_BvY0B8iChjX6s.compare(Unknown Source:6)
at java.util.TimSort.binarySort(TimSort.java:296)
at java.util.TimSort.sort(TimSort.java:239)
at java.util.Arrays.sort(Arrays.java:1498)
at java.util.ArrayList.sort(ArrayList.java:1470)
at java.util.Collections.sort(Collections.java:201)
at com.topjohnwu.magisk.adapters.ApplicationAdapter.loadApps(ApplicationAdapter.java:77)
at com.topjohnwu.magisk.adapters.ApplicationAdapter.lambda$wNjfCitNwLqquK7A_OiypxouyVo(Unknown Source:0)
at com.topjohnwu.magisk.adapters.-$$Lambda$ApplicationAdapter$wNjfCitNwLqquK7A_OiypxouyVo.run(Unknown Source:2)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
[Magisk] martyfender:
Does your kernel support mount namespace separation and is logd enabled?

If logd is disabled, doesn't it cause high cpu usage?
[Magisk] acters:
Almost identical issue. Trying to enter the MagiskHide Tab in the Magisk Manager app just crashes:

10-09 19:12:36.332 27787 27840 W ResourceType: Failure getting entry for 0x7f050000 (t=4 e=0) (error -75)
--------- beginning of crash
10-09 19:12:36.333 27787 27840 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
10-09 19:12:36.333 27787 27840 E AndroidRuntime: Process: com.topjohnwu.magisk, PID: 27787
10-09 19:12:36.333 27787 27840 E AndroidRuntime: android.content.res.Resources$NotFoundException: String resource ID #0x7f050000
10-09 19:12:36.333 27787 27840 E AndroidRuntime:	at android.content.res.Resources.getText(Resources.java:347)
10-09 19:12:36.333 27787 27840 E AndroidRuntime:	at android.content.res.Resources.getString(Resources.java:441)
10-09 19:12:36.333 27787 27840 E AndroidRuntime:	at a.pw.a(Unknown Source:29)
10-09 19:12:36.333 27787 27840 E AndroidRuntime:	at a.pw.a(Unknown Source:18)
10-09 19:12:36.333 27787 27840 E AndroidRuntime:	at a.pw.lambda$tYxA4xTAL8_fjVmh1rciz2wYTqg(Unknown Source:0)
10-09 19:12:36.333 27787 27840 E AndroidRuntime:	at a.-$$Lambda$pw$tYxA4xTAL8_fjVmh1rciz2wYTqg.compare(Unknown Source:6)
10-09 19:12:36.333 27787 27840 E AndroidRuntime:	at java.util.TimSort.binarySort(TimSort.java:296)
10-09 19:12:36.333 27787 27840 E AndroidRuntime:	at java.util.TimSort.sort(TimSort.java:239)
10-09 19:12:36.333 27787 27840 E AndroidRuntime:	at java.util.Arrays.sort(Arrays.java:1498)
10-09 19:12:36.333 27787 27840 E AndroidRuntime:	at java.util.ArrayList.sort(ArrayList.java:1470)
10-09 19:12:36.333 27787 27840 E AndroidRuntime:	at java.util.Collections.sort(Collections.java:201)
10-09 19:12:36.333 27787 27840 E AndroidRuntime:	at a.pw.b(Unknown Source:72)
10-09 19:12:36.333 27787 27840 E AndroidRuntime:	at a.pw.lambda$XHhMVAPE5kAU9mXMZpnVj3lCL94(Unknown Source:0)
10-09 19:12:36.333 27787 27840 E AndroidRuntime:	at a.-$$Lambda$pw$XHhMVAPE5kAU9mXMZpnVj3lCL94.run(Unknown Source:2)
10-09 19:12:36.333 27787 27840 E AndroidRuntime:	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
10-09 19:12:36.333 27787 27840 E AndroidRuntime:	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
10-09 19:12:36.333 27787 27840 E AndroidRuntime:	at java.lang.Thread.run(Thread.java:764)
10-09 19:12:36.340 1450 7611 W ActivityManager: Force finishing activity com.topjohnwu.magisk/a.b
10-09 19:12:36.347 1450 7611 D ActivityTrigger: ActivityTrigger activityPauseTrigger
10-09 19:12:36.360 3892 8143 W ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:951 android.content.ContextWrapper.sendBroadcast:431 com.lge.mlt.providers.LDBSmartCareTrigger.sendMsgSmartCare:33 com.lge.mlt.providers.LDBMainLogProvider.insert:270 android.content.ContentProvider$Transport.insert:267
10-09 19:12:36.362 1450 1499 I ActivityManager: Showing crash dialog for package com.topjohnwu.magisk u0
[Magisk] Fif_:
Have you tried removing the hidelist? Instructions are everywhere and there's even a module you can flash in TWRP to remove the hidelist file.
[Magisk] acters:
I tried this one:

https://xdaforums.com/apps/magisk/module-hide-list-bootloop-bootscreen-t3849208

Still the same error. LG V30 US998 BTW
[Magisk] brown1178:
Hello, is there a way to get Magisk hide working for banking apps. I'm on Oneplus 6 OOS 9.0 and can't use my bank's TAN app. On OOS 5.1.11 everything was fine.

Tested witch 17.1 and 17.2. Uninstalling Magisk and everything works. But I need root :confused:
[Magisk] sabbahy:
After updating magisk to 17.2 all the modules stoped working they are shown on magisk manager as installed but they are not, root working good,

tried fresh magisk install throw recovery, tried separately install modules then restart after each one, tried clear cash... Unfortunately the problem still exists after all this attempts to fix it! Tried downgrade to 17.1 i got the same problem!

Am on latest havoc oreo 8.1 for vince, latest magisk manager.

Now am on magisk 16 all working "root, modules"

So is this a common bug?

How can i fix it?