yashsingh1/xdaforums huggingface dataset:
[Magisk] guest4711:
Did you try the suggestions in [MENTION=4667597]Didgeridoohan[/MENTION]'s fine FAQ at

https://www.didgeridoohan.com/magisk/MagiskHide#hn_Hiding_root_from_apps?
[Magisk] bmw9651:
Magisk not installing

Need help with pixel 3 . have had root with twrp and magisk for a while no problems. the other day lost root and it will not install magisk. tried many times today.
[Magisk] ktmom:
What made you think Magisk needed to be reinstalled? What android version? How have you tried?
[Magisk] bmw9651:
I have been working on it for about 6 hours. tried many combos. long story short. I went back in time and installed an older OS on the Pixel 3. then i went into all in one tool and flashed with recovery flasher older recovery 3.2.30 and flashed magisk 19.4 , AND I GOT ROOT AGAIN. I earned that one.

---------- Post added at 11:09 PM ---------- Previous post was at 11:07 PM ----------

I seems that Google is patching the ability to flash root with Magisk on newer OS Builds. I also read that on the magisk web page.

---------- Post added at 11:09 PM ---------- Previous post was at 11:09 PM ----------

I seems that Google is patching the ability to flash root with Magisk on newer OS Builds. I also read that on the magisk web page.
[Magisk] Ch3vr0n:
Flashed magisk just fine here on last months build
[Magisk] andreas951207:
Losing root after a while.

Magisk is installed and everything is working for about 5 hours.

Then after a while apps can't get root. However everything seems fine in the magisk manager.

If I force close the magisk manager it discovers that there are no root and gives me the error:

“Requires Additional Setup” I press ok and I get an error message “Setup failed”.

If I reboot I got root for about 5-10 mins.

My problem solving so far:

Disable Magisk hide

Enable core only mode

re-installing magisk

Clean re-install of ROM

Different magisk versions (18.3, 19.4, 20.0, 20.1)

Disable battery optimization

Patch boot image

ROM: AOSP Extended, Android 9

I have attached logcat and magisk log from shortly after system reboot and root los.

View attachment magisk_log.log

For some reason I can't attach the logcat. Here it is

Please help. I have done everytng that comes to my mind and I have spend serveal days on the issue. Thanks!
[Magisk] ktmom:
You don't say what your device is, but here's some ideas.
[Magisk] Zaperas:
Anyautoaudio
[Magisk] andreas951207:
Thanks but I have already disabled battery optimization. That did not work.

My device is Lenovo ZUK Z2 if it makes any difference.
[Magisk] ktmom:
You're missing the point. Battery optimization is only a small part in many devices these days. I'm not a lenovo aficionado, but for the P2

You'll have to figure out if that applies or what other ways you can prevent MM from being killed.
[Magisk] Tirapiedras:
Hi, I hope you can help me:

I have a Poco F1, xiaomi.eu last stable vesion, miui 11 based in android 9.

Before, I had Miui 10 eu beta, magisk... everything working fine. I wiped data and system, and flashed miui 11. Then I got CTSprofile error. I flashed a universal patcher for CTS and it worked. (IDK if it's related with my current problem).

Since I could't do some transactions with my bank app (which worked properly in the past even not hidding the root, and IDK if this is a problem related or not), I started to mess. First, when trying to solve it, and I don't remember how, I removed the permission to the app "App manager" to have root. The problem is that it tires to reach the root, but Magisk denies it. If I enter Magisk Manager, in the superuser tab, there is not the app "app manager" with the switcher off as you could expect. There is no "app manager". So I can't re-enable the root access.

Today, I decided to unistall magisk from TWRP, reboot, and to dirty flash again the same MIUI rom. Reboot. Reboot in TWRP again, flash magisk. Reboot, install magisk manager. Now, the tab "superuser" is empty. If I try any app that uses root, it says "root denied", and the log in Magisk Manager shows "root denied", it doesn't ask me to allow, and it doesn't appear in the "superuser" tab. (The automatic reply in settings is set to "Ask". )

What can I do? Should I completely wipe the phone?
[Magisk] skul9x:
I've downloaded the lastest Magisk and flashed for my Mi 9T Pro Miui 11.0.1.0 running Android 10. But now bootloop. How can I fix this? Thank you so much.
[Magisk] zgfg:
Maybe check this

https://xdaforums.com/apps/magisk/dev-magisk-canary-channel-bleeding-edge-t3839337/post80918015
[Magisk] ButtonBoy:
Crash dump of Magisk on Android 10

I have a OnePlus 6 with the latest Android 10 release, full factory image. In addition, I have the latest TWRP & Magisk installations. My SafetyNet fails, basic and full profile tests. I have removed many things, rebooted numerous times and read thru & tried all the steps on the Magisk FAQ pages.

This is the most useful thing I have found to date:
[Magisk] martyfender:
A new Canary version has been released.
[Magisk] Soumy1234:
Thanks for the suggestion. Sorry if the question was a bit off topic. I don't think there are many file managers that support magisk 20 so I wanted to check myself before I wreck myself :silly:
[Magisk] Sir Backe:
Bootloader Realme X2 pro

Hi

The bootloader can be unlocked with Realme In-depth test.

Since TWRP is still in Beta Stage I wonder if Magisk can Root the Phone without TWRP installed?

Tks for your patience.
[Magisk] Didgeridoohan:
As long as you can unlock the bootloader and the device follows Android standards you can follow the official installation instruction.
[Magisk] smohanv:
After I installed Cerberus App as system/priv-app, i am gettinig this magisk error each time I restart my phone.

If I remove Cerberus App from system/priv-app using root explorer and restart my device doesn't get this error.

I don't know whom to ask. See screenshots.
[Magisk] GWARslave119:
Im having issues aquiring new superuser rights with 20.1 and 7.4.0. Anything before i updated is listed as Superuser, anything after I dont get any request, and auto grant doesnt work. Just rolled back to 19.4 and 7.3.4 and it works normal again. Never seen this happen before
[Magisk] ktmom:
Was the Magisk manager hidden before the update?
[Magisk] GWARslave119:
nuh uh. I went back to 20.1 and 7.4.0 and some apps work, some dont..

i attached a couple logs and a screenshot of the magisk log if it helps

Edit: sorry thought it uploaded logcat.txt, but its too big for an attachment it seems
[Magisk] Alex Microsmeta:
Thank you very much for Magisk, working fine until now but...

I can't boot Redmi Note 5 Global (Whyred) Miui 11.0.3.0 stable (PEIMIXM) after flashing Magisk 20.1 or Magisk 20 using Orange Fox Recovery. It is stuck on MI logo. Uninstalling it the boot process works again. Previous version was working very well with Miui 10 / Android 9 and I was able to use all modded gCams from 6.1 to 7.0 after enabling HAL 3.

Any help is greatly appreciated ;)

EDIT: Waiting the fix for the bootloop, I have just installed Pixel Experience ROM Android 10 for Redmi Note 5 whyred. All works stable and faster than Miui 11, with gCam 7.0 installed without the need of rootiing the device!
[Magisk] ButtonBoy:
Where can I find that? The Github only has the release branch available.

Found it, and updated, still no joy.
[Magisk] zgfg:
Google for eg XDA Magisk Canary, go to its post #1, install Magisk Manager Canary, change channel to Canary and update Magisk.

That simple
[Magisk] palmbeach05:
His issue is in regards to cts passing. He has now been advised (in canary thread) of what he needs to do. If he does not do this and keeps whining, ignore him
[Magisk] Tirapiedras:
Thank you for replying .

I tried, but it didn't work. So, factory reset, and now it works again :)
[Magisk] DroidJP:
There seems to be an issue with magisk canary debug version. I updated to the latest magisk canary db, now i lost root. I switched to just canary and reflashed and root is back.

So i guess the debug version does not work with my device at the moment.

Just saw that there is a thread for just the canary. (Sorry i was confused trying to figure the versions. I will say this is somewhat confusing as to which version to stick with lol.
[Magisk] sakuragi-kun:
Hey all,

So I unlocked and rooted as early as this month. During the process, I was forced to flash stock boot system & vendor, from one of the threads for my device (Nokia 6.1 2018), and I installed Magisk on top of that and successfully rooted. I later modified /sbin to change some settings for a Magisk module. Long story short, when it came time to OTA. It didn't work (following TopJohnWu's instructions). I then uninstalled Magisk and reflashed the stock images mentioned above to both partitions then tried to OTA, but still same error.

Is there any way to get back that functionality. Will a factory reset fix the issue? (I don't want to if I don't have to : / )

Also does anyone know the culprit here? It can't the modified system since I reflashed stock.

Any help is much appreciated : )
[Magisk] JudgeDread11:
If you have TWRP, you can try to flash a full update from TWRP.

Or restore a backup from before the modifications.
[Magisk] Blackdragonbird:
I'm using MIUI EU rom beta in my Redmi Note 7 Pro. After the last update of the rom magisk stopped showing the prompt to authorize apps. Unfortunately I haven't received any response in my question in that forum yet, can anyone here is having this sale issue?

I redid the dirty flash, reinstalled magiks manager, flashed the 20 version, after it I did a clean install of the rom, still nothing. Magisk show that it's all working in the maanger, but, no more prompts are appearing. Using Magisk stable 20.1.
[Magisk] sakuragi-kun:
I ve restored stock system and boot. I thought that would be enough. I will try wiping data now. Thanks for your reply
[Magisk] ketogeno:
Are there any advantages of using systemless hosts file?
[Magisk] lividhen99:
You get to keep your safetynet status, so you can use banking apps and play certain games. Also, it doesn't perminatly change anything, so you can remove the modified hosts very easily.
[Magisk] zgfg:
If your system is read only, you can't otherwise

If not, why bothering
[Magisk] PinoF75:
Hi to all,

I'm on magisk 20.2 and magisk manager 7.4.0. On my device I've android q.

I've a problem, I'm trying to install app which requires root access but I'm not able to grant root.

How can solve?

Thanks in advance
[Magisk] Paschfire:
If the root prompt didn't display upon initial launch of the app, have you checked the Superuser menu within MM to manually grant root access? That's if the app is even being displayed though.
[Magisk] PinoF75:
Thanks for your support,l.

I Think I solved. I reflashed magisk and now it seems it's OK.
[Magisk] stingbandel:
I need help. I have LG V20 oreo stock rooted. I got notif to update magisk. then I choose the recommended to install magisk. after that it asks to reboot then after reboot I only get the fastboot only. I have tried to install twrp but I still cannot get to twrp. also my device now change to us996 us version. Mine is 990 ds asian version.

can someone help me?

thanks

---------- Post added at 04:35 AM ---------- Previous post was at 04:35 AM ----------

I need help. I have LG V20 oreo stock rooted. I got notif to update magisk. then I choose the recommended to install magisk. after that it asks to reboot then after reboot I only get the fastboot only. I have tried to install twrp but I still cannot get to twrp. also my device now change to us996 us version. Mine is 990 ds asian version.

can someone help me?

thanks
[Magisk] TheJags:
Error: magiskpolicy not found

I'm getting this error when I run

magiskpolicy --help

in Termux after becoming root by "su". I've granted Root permission to Termux already.

I've had Magisk installed on LineageOS 16 (updated to Nov 20, 2019) previously. That I removed through TWRP using Magisk uninstaller, and later I reinstalled Magisk 20.1 through TWRP, and after a reboot I installed Magisk Manager 7.4

After the Magisk re-installation, I have granted Root permissions to Ad-away, Termux and Greenify, and they all seems to be working just fine... the only Issue I'm having is I cannot run any magiskpolicy commands.

By the way, I'm trying to run these commands:

magiskpolicy "allow dnsmasq system_file file { read getattr open }"
magiskpolicy "allow dnsmasq system_file dir { search }"

Any help is greatly appreciated.

LineageOS 16: Nov 20, 2019

TWRP: twrp-3.3.1-0-natrium
[Magisk] Didgeridoohan:
[MENTION=8726143]TheJags[/MENTION] It's because you're using Termux. It has it's own environment and by default can't see the Magisk tools in /sbin.

Use the absolute path to the tool, add /sbin to $PATH, or use another terminal.
[Magisk] TheJags:
magiskpolicy absolute path

Thank you so much, I used another terminal app and it worked just fine.

Now just for future reference, how do I find absolute path for magiskpolicy? I tried (in other terminal app) "whereis magiskpolicy" but it didn't work.
[Magisk] Didgeridoohan:
Everything Magisk is mounted to /sbin. And the command is "which", not "whereis".
[Magisk] TheJags:
Thanks again. "/sbin/magiskpolicy --help" worked just fine.
[Magisk] FlatOutRU:
Damn, Samsung added more anti-root stuff again

Installed new android 10 beta3 for snapdragon s10 series (China unlocked BL) and its not booting with combo (OEM-Lock).

Tried both stable and canary releases. Beta 2 had problems (with vbmeta), but now its something new
[Magisk] BillGoss:
You could also have used

su -c magiskpolicy ...

or

su
magiskpolicy ...

because Termux includes /sbin in the path when you use su.
[Magisk] Didgeridoohan:
Not by default... At least not on any of my devices.
[Magisk] ktmom:
Interesting, it does work on my Pixel 3XL, and previously on an Essential PH-1.
[Magisk] Tianhe:
Interesting - Running 6/128 version of Asus Zenfone Max Pro M1 rooted Stock ROM.

Updated to Magisk 20.1 and both CTS Profile & Basic Integrity fails. But, all root apps are working fine, play store says device is certified and Netflix works ! Rebooted and still same, will try using it for some more days and report.
[Magisk] DonKaio:
Hi Guys,

I'm pretty new to all of this and am on a oneplus 3.

I rooted today using twrp 3.3.1-0 for oneplus3 and SR5-SuperSU-v2.82-SR5-20171001224502

Then I wanted to install Magisk v20.1 but the installation of the zip in twrp stopped pretty quickly with "Unsupported/Unknown image format"

I already know it's got something to do with my boot.img ....? Or my phone beeing an A/B partition device? But I'm really confused, what's the issue here...

Maybe someone could nudge me in the right direction?

Thanks in advance and sorry for the dumb questions -.-

Cheers
[Magisk] jcmm11:
You need to completely remove SuperSU first. Flash, in TWRP, osm0sis' unsu https://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133/post63615067

Follow that by flashing a stock boot image (there may be a gzipped backup of the stock boot image, created when you installed SuperSU, in the root of /data. Check BEFORE flashing unsu. Otherwise you'll need to extract a copy from a factory image)
[Magisk] DonKaio:
Thanks for your quick response,

So I did that, first running the unsu.zip, then flashing the boot.img, of this https://www.oneplus.com/de/support/softwareupgrade/details?code=PM1574156097213 factory img, by just unpacking it.

I flashed the two zips right after one another. And in twrp I selected "boot image" when flashing the boot.img...obviously.

Then I rebooted and installed magisk manager again, to try to install Magisk, still the same problem...

What am I missing?
[Magisk] Simon1511:
Hello, I have a problem with magisk.

Im using crDroid 5.10 on my Galaxy A5 2017.

The problem is the following: When I install Magisk v20 or newer, my device gets into bootloop.

Every fifth try or so, it really boots. But it mostly needs 4-5 tries to get the device booted up.

I have already did a bit of debugging with logcat.

It constantly shows "storaged: package_native failed". This only happens with v20 and newer, v19.3 works without any problem.

Would be nice if anyone has an idea!
[Magisk] ktmom:
I'm not sure from what you posted, are you patching the boot.img from within Magisk manager, or flashing the Magisk zip in TWRP? Which ever you are doing, try the other [emoji6]

If you want to help troubleshoot the problem, getting logs is useful
[Magisk] DonKaio:
Ok, so now I flashed twrp again and installed the Magisk.zip via twrp.

That did the trick, thanks!
[Magisk] potatofut:
Curious and somewhat complicated my situation!

Hello, good to everyone

I'm Sergio from Zaragoza, happy to talk with you!

Although, rather, is to ask for some help or a tutorial to see if I can avoid having to wait and restart the entire root process, although I don't think I can avoid it ??

My current situation is as follows; my computer died 2 weeks ago and until Friday the new one does not arrive because it was much better to wait for black friday, so now I only have my Android device, which is a Samsung A50 - FN

During these weeks, I survived thanks to him but now I have one more problem! Haha!

I am not a programmer, at the moment and pulling high I am an amateur, so my lack of knowledge is high. However, at the end of October and thanks to a forum partner who explained how the S A50-FN could be rooted, I got the root, sorry but I put the referral of the partner in question as I navigate in this wonderful forum without the app and with the mobile browser is very difficult, since I use an instant translator to understand you well and the truth is very frustrating to navigate (very, very slow) to that you add that due to the problem I write to you (I think that's why, more than anything to find an explanation) I can not install applications, but that is what I think least should matter right now!

Forgive the long text, I just want to explain my best in my current curious circumstances xD¡¡

Basically, before installing two modules of Xposed with all my joy and completely ignorant! Or rather, I could not imagine, that I could leave the phone on the screen of the letters of Samsung! Suddenly my cell phone was not going! I had no means of contacting human haha ​​or anything at all.

So, try with very little hope (I did not remember exactly how it was done) enter the recovery mode and from there, try to find a solution!

Fortunately, on the second attempt I managed to restart the phone and it started! Since if I turned it off, it automatically restarted and stopped working, again the letters of SAMNSUNG, but when I restarted it started and I could use the phone!

Of course, at the cost of right now I have no root and I can not for example install Apps or God knows how many more things will fail on the device!

I could read something and I think if I had TWRP I could uninstall Magisk by flashing the Magisk uninstaller or God knows, if only the two modules at best!

But I don't have TWRP or any custom recovery since I did it with Magisk and ODIN and I didn't need it .....

So, do you think I can do something to fix it or will I be forced to have a computer and do a hard reset and have to do the process again?

Thank you very much for all your unstoppable work! Hopefully you can help me!
[Magisk] syked:
Magisk - Beelink GT-KING

Is there anyway to get Magisk on beelink's GT-KING (Amlogic) tv box? I've tried the latest version to no avail

As per latest research, I believe there are some limitations as the device use system_as_root which isn't supported in Magisk
[Magisk] martyfender:
I'm not sure where you got your misinformation, but Magisk does support system as root devices. My Android 9 device is system as root. It does support many, many, system as root devices.
[Magisk] syked:
I can't get it to work on this specific device. I've tried it multiple times with different versions of Magisk without any success.

If any one has any tips of getting Magisk working on this device, please share.
[Magisk] ktmom:
Have you followed the installation instructions? Especially as related to knowing your device? It's possible you may need to install to the recovery partition.

If you continue to have trouble, providing specific information, such as android version, exactly how your trying to install (patching in Magisk manager, flashing in recovery), and logs will be necessary for anyone to help you.
[Magisk] martyfender:
I think more information is needed on your part on how your tried to install Magisk. Did you try to patch a stock boot.img with Magisk Manager and try to flash that? Does Magisk even support Amlogic devices? [MENTION=4544860]osm0sis[/MENTION] may be able to determine that, or may know already, if you provide a stock boot.img.
[Magisk] GunVein:
Hello, total newbie here

I'm using samsung galaxy s7edge with renovate custom rom (still on android 7.0) and supersu installed

However, I need to hide the root for several bank app because they denied a rooted device (i can't open the app at all)

I'm interested to use Magisk hide, the question is

Can i simply install the magisk? Or I need to do something first before installing? Supersu is installed on my device now and still rooted, i'm afraid i got a bootloop or something

Hope i got help here, sorry if my question is silly

Thank you
[Magisk] FuLygon:
magisk 20.1 being weird after rom update, before update everything work normally, after dirty flash miui update and clean install magisk 20.1, some app cant get root access, tasker and tibkp was granted normally but mixplorer and ton of root checker app just stuck asking for root access endlessly , if i close mixplorer, few sec later magisk say mixplorer was rejected root access, magisk log keep saying "write fail broken pipe" and "su: request rejected", roll back to 19.3 and manager 7.3.4 everything work normally again
[Magisk] chooks06:
Your post looked familiar. Saw a similar one from another user 2 pages back.

Check out the reply from [MENTION=806755]jcmm[/MENTION]11.

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

You may want to follow through on the follow up posts from the user who raised the question to get a better picture.

Hope this helps.
[Magisk] GunVein:
thank you!
[Magisk] bountyman334:
I was in the same boat.. I rolled back to 19.3 and upgraded to version Magisk-v20.1-31e003bd(20004).zip and now root works. But I can't update to the lastest because my LG v20 H918 on oreo would reboot to bootloader and be stuck.. unless I start from scratch with the whole rooting process
[Magisk] FuLygon:
damn, welp good to know that it wasnt just me having issue with 20.1, guess we have to stick to old version for now and wait for the next update
[Magisk] chooks06:
You're most welcome mate!

Cheers!
[Magisk] csakthikumar:
[MENTION=4470081]topjohnwu[/MENTION] any suggestion/workaround/solution for the above mentioned issue...
[Magisk] Atharkhan101:
Not working. That's lot of information. Safety net was passing in earlier version. Will wait for an update.

---------- Post added at 11:36 PM ---------- Previous post was at 11:33 PM ----------

Not working. That's lot of information. Safety net was passing in earlier version. Hopefully next update will solve this.

---------- Post added at 11:38 PM ---------- Previous post was at 11:36 PM ----------

Not working. That's lot of information. Safety net was passing in earlier version. Hopefully next update will solve this.
[Magisk] Suryo75:
Best version for me the latest magisk after couple time try to modify the manager. thanks a lot
[Magisk] daninet:
Hello,

I have tried to search for the info, maybe it went over my head or something but I'm struggling to get Magisk installed.

I have unlocked Xiaomi 9T Pro device running the custom EU rom with TWRP recovery.

I boot into recovery, it is asking me to decrypt the partition with my password. I do so.

I go to mount and mount /system

I install magisk 20.1 zip

Output is something like this:

Mounting /system

Unable to mount /system

installation failed

What can I do?
[Magisk] guest4711:
Don't mount system yourself.
[Magisk] daninet:
this must have been the simplest solution ever... I don't know why I did it honestly...:D thanks