yashsingh1/xdaforums huggingface dataset:
[Magisk] DodoGTA:
What's your device, ROM and kernel?
[Magisk] Someone10:
So, everytime I try to install Magisk through TWRP, it says "Magisk image mount failed". Any ideas on how to fix this? I also have the log from TWRP.
[Magisk] CooperBrick:
OnePlus one, Lineageos +lightning kernel.

Using the uninstaller zip and reinatalling magisk seems to be fixing it, but I don't know why it presents Everytime I flash it with a new rom
[Magisk] Legendary Cryptid:
There's no Copy log option in Matlog as far as I looked.
[Magisk] jenslody:
Is /data/magisk.img really created ?
[Magisk] bobonit:
The "Copy Log" option is in TWRP, your phones recovery. After installing Magisk in TWRP, go to Advanced and click on Copy Log. It will save the recover.log to your phones storage.
[Magisk] Legendary Cryptid:
Magisk is already installed. Do you mean installing the module?
[Magisk] Legendary Cryptid:
I made the log for TWRP. Hopefully this problem can be fixed.
[Magisk] durbanpoison29:
re,

This just happened, Loss of root without reason

I give you the Magisk log.

EDIT:

Can a track be?

Just before this happens I install this module via TWRP:

Greenify4Magisk

I then uninstall it with Magisk and the root is back
[Magisk] bobonit:
Oh, I thought you were trying to get a log for the installation of Magisk, my bad.
[Magisk] MWin123:
Does Magisk support device encryption on LineageOS with TWRP recovery?
[Magisk] Captain_Throwback:
Magisk has nothing to do with encryption.
[Magisk] Artim_96:
If Magisk supports it is not relevant. Only TWRP has to support it. And the encryption of LOS is just the one in AOSP afaik
[Magisk] ryaniskira:
Same here, Nexus 6p, stock N, root toggle just switches itself back on, kinda defeats the purpose.

EDIT: Randomly started working after a reboot.
[Magisk] gk1984:
Did you install phh.su and the phh su app? Did you grant magisk manager root permissions?

Same setup as you, works just fine for me.
[Magisk] Battery03:
Which Super user did you use? PHH or chainfire?
[Magisk] Cokol:
I did that. Doesn't work. Flashed stock 6.0 retail images, flashed twrp 3.0.2 right after first boot and flased magisk. Didn't work.
[Magisk] redrivera:
Sony user chiming in as well. Using a Z Ultra C6833 on stock, first boot after installing Magisk just returns a blank screen and two red flashes on the LED.

Willing to help with anything!

edit: FWIW I can go into recovery and uninstall/reinstall Magisk, unlike some sony users' reports in previous posts (must be a device thing)
[Magisk] SpasilliumNexus:
Guys please read the OP. ALL THE WAY THROUGH. A lot of you are posting problems, but haven't even bothered to do what's mentioned in the first post. He can't just magically fix your issues.
[Magisk] The Lance:
My One M9 seems to like being stuck in a bootloop when I install the magiskv6 zip. It boots fine after I run the uninstaller. I do have S on so would anyone know if that would be the cause? I did get it to boot up once even ran a safety net check. However after I tried to flash the systemless exposed it got caught in a bootloop once again. Had to restore a backup to before magisk got flashed I'm twrp

Works great on my Nexus 7 2013.
[Magisk] vccy118:
I had been trying to get magisk to run on my samsung note 2 for a few days now but no no avail.

The problem is that whenever I flash phh superuser 17 (magisk version), the phh superuser app doesn't seem to recognize it. I can't give app and/or data permissions on the superuser app at all. However if I flash the superuser.zip from phh's thread, it works fine. But that way I can't toggle magisk at all.

I did a clean wipe, install my custom rom, did a SuperSU removal process, boot into phone and did a safetynet check to make sure root is totally gone, then I go back into twrp, flash magisk, flash phh superuser 17, install superuser app and magisk... so far I tried these steps many times but never worked.

How to solve this problem?
[Magisk] ming86:
Me too, phh superuser app complain su bin too old.

Try this zip, I replace the su bin to r242 20160908 version, it should work fine, able to toggle root, Safenet check passed.

----

update, looks like it doesn't detect/mount su after first reboot or sometime second reboot. Then I have to reboot again, and wait for slow "Optimizing Applications...", then the su mount again...

Nexus 6P 6.0.1 MTC20L Stock ROM.
[Magisk] Druboo666:
[MENTION=4470081]topjohnwu[/MENTION]

Asus Zenfone 2 (x86) need the new boot.sig to sign the boot image on official marshmallow

can you add that to you next magisk build to support it officially

here is the unofficial modified zip

https://drive.google.com/open?id=0B6SZRpR9Q7C5dHhtMXdIOWozdUE
[Magisk] vccy118:
Mine has no notification at all, just blank, as if there's no root. But safetynet check shows there's root, weird.
[Magisk] squazee:
[/COLOR]

If anything, I would guess (as far as I can say with my very limited knowledge) that Moto Voice is the culprit, since it uses the low-power always-on cores to listen for voice commands that many other phone's don't use. But then again this should be an issue with a nonstandard boot.img which may or may not be linked to Moto Voice. Anything I say is pure guesswork though...

Really? I've always assumed that Xposed requires root to do pretty much anything, since the modules change things at the system level?
[Magisk] knpk13:
Yes it works, I've tried it without root.
[Magisk] Artim_96:
Since there don't seem to be any general problems with the HTC 10, maybe try at the very beginning with a flash of your ROM.

PS: does the normal XPosed even work for your device? For all I know, US carriers seem to love to mess up firmwares, so I wouldn't be surprised if that's the problem here. Maybe search this thread for that specific model, maybe someone knows what could have went wrong
[Magisk] grep_i:
You definitely need to S off your device.

S on protects your device and due to that you can't get fully rooted also it disables booting from custom boot images.
[Magisk] shadowseed:
Hi,

I have a simple question.

I want to use Magisk to achieve SafetyNet verification on my Rom.

I plan using systemless Xposed and systemless v4a.

Now the question: If I install for example Action Launcher 3 as a System App (to get the Google Now homescreen integration). Will the whole process of achieving systemless root be pointless?

Do I need to leave my system partition completely untouched?

Can't I even flash for example the latest google keyboard via zip?
[Magisk] RandomPooka:
Tried changing the SuperSU namespace separation setting and still had no luck. Can anyone else get root to work in a command shell with either tasker or just simply a terminal emulator WITHOUT having to set SuperSU as permissive? I'm down to trying settings like allowing any user root, and so on, but that's just as undesirable as permissive mode.

06.08.24/E Run Shell: ->

06.08.24/E Run Shell: ->

06.08.24/E Run Shell: ->

06.08.24/Shell runBackground input keyevent 26 root: true timeout: -1

06.08.24/Shell start process-thread ID 71

06.08.24/E add wait type Shell1 time 2147483647

06.08.24/E add wait type Shell1 done
[Magisk] andhikaa:
Is it possible for you to make magisk for jellybean and upper?
[Magisk] djide01:
Yeap since you will be modifying the system partition.

The system needs to be completely untouched

Google keyboard gets updated via playstore so that's the data partition...
[Magisk] adrman:
For Action Launcher and others, check the module template in the first post or The Module Collection Thread.
[Magisk] MWin123:
Oh, good to know. Because I found the following comment on Reddit about Magisk not supporting encryption on a Xiaomi Redmi.
[Magisk] Captain_Throwback:
If what you meant to ask is whether you can encrypt the device after it's rooted, then the answer is no. But that's not specific to MagiskSU.

Magisk itself doesn't care whether your device is encrypted or not.
[Magisk] Artim_96:
Well, as long as it's encrypted before installing everything should be fine.

Only TWRP needs to be able to access /data, I think Magisk was already made to wait until you entered your decryption password on bootup
[Magisk] MWin123:
Yeah, I meant turning on device encryption on my currently unencrypted phone that has Magisk installed. LineageOS comes without root.

Is turning off root in Magisk manager enough or should I completly uninstall Magisk before turning on device encryption?
[Magisk] Captain_Throwback:
You need to be on stock boot.img to encrypt, so you will need to uninstall Magisk to encrypt your device.
[Magisk] Ahmed Kassem:
Since v13.0 beta, I have a high cpu usage from a process named magisk_daemon -post -fs. I have to use v12 which have the bug of too long boot time.

I am running Resurrection Remix N v5.8.3 on a samsung galaxy note 3.
[Magisk] andmail:
Please, try this one. I took binary-update file from beta Magisk 13. It is working.
[Magisk] danilo_scala:
boot image in my Phone Xperia z5 premium e6883 is kernel mod with recovery i use to flash root?
[Magisk] SysAdmNj:
Hope someone can answer. Using Magisk 13.3 On a oneplus 5, whats the best method to take an ota update?
[Magisk] RashaMatt:
Thanks, but I get the same error using your file (Magisk image mount failed) - Galaxy Tab S2 T710

See attached dmesg and recovery logs
[Magisk] Legendary Cryptid:
I keep getting this umount error for Magisk. What does it mean?
[Magisk] :
Samsung S7 with LineageOS. Literally nothing on it besides Magisk and MicroG. Getting either "Response Invalid" or "Check Internet?" responses.
[Magisk] jjakajonas:
Can I root my HTC One A9 whiteout costum recovery Whit magisk?
[Magisk] tdhite:
magiskpolicy does not work from post-fs-data.sh or service.sh

Hey all,

I'm having a terrible time debugging this one -- but I'm certain now that magiskpolicy does not succeed at permanently modifying policy if the tool is executed from either of post-fs-data.sh or service.sh.

I know this because I have a very specific avc: log that is due to a long running script and a fifo_file (pipefs) is failing privileges. Therefore I add the appropriate "allow" in service.sh.

Notice the policy load is noted:

07-22 17:16:36.301 1 1 E audit : avc: received policyload notice (seqno=3)

However, that does not actually resolve it. I have to run the *exact* same command from a root shell and then the avc: logs quiesce (and as well the pipe writes work).

Attached is a (terminal) log (with embedded logcats where appropriate) so you can see what is actually happening. You will have to trust me that the service.sh script is indeed executing the same exact command (I am happy post the entire script, but it all works, promises). Here is the command of interest (exists both in service.sh, and then I have to hand run it to make it actually 'stick'):

/sbin/magiskpolicy --live "allow system_server su fifo_file write"

Is anyone actually using magiskpolicy in startup scripts?

Thanks for any help -- this one has me seriously stumped and *is* repeatable in all cases for me.

------- edit -------

Might be on to something -- let me work this a bit rather than reply. hang in. . .

------- edit -------
[Magisk] Huskied:
Heck no. For Magisk you need Custom Recovery.
[Magisk] jjakajonas:
Okay..

Back to TWRP to root and then back to HTC recovery somhow.

But thanks.
[Magisk] Artim_96:
Everything else is only possible with unlocked bootloader.

Only a custom recovery can flash custom zip files. On unlocked devices you can just boot a custom recovery so it won't be permanently installed. But since only the minority of devices have an unlockable bootloader, the chance that you can is quite low, even though HTCs, at least the One used to be unlockable in some versions
[Magisk] Captain_Throwback:
You can just fastboot flash TWRP, flash Magisk, then fastboot flash stock recovery (or flash it in TWRP).
[Magisk] jjakajonas:
I have a HTC One A9 there have been rooted with lineage 14.0 and are s-off.

But lineage was to buggy so I decided I was better of whit stock os.

Now I just want to root it and keep my ota updates for now.

So I have to think a bit smart and are trying son stuff.

That was kinda my plan.
[Magisk] Hassanator:
Magisk crashes during the installation of any module and the logcat is lost.

It says ''magisk not active'' whenever I try install the modules even tho everything else is working fine
[Magisk] ohwow1980:
Place to request modules?

Is there a place or thread to post request for certain modules?

thanks!
[Magisk] FallenAngelII:
Yes, the Magisk version.
[Magisk] culec:
One of the best apps. Thank you for your efforts
[Magisk] tag68:
You need a custom recovery, but you don't need to flash it. On my device I did

fastboot boot (twrp.img)

to install Magisk, recovery was not touched. I'm still using Magisk 12, but I can't imagine Magisk 13 needs it.
[Magisk] yandreev3:
I upgraded to magisk 13.2 and then 13.3 and suddenly my modules stopped working. Disabling all of them causes no errors in the magisk log. Enabling the xposed module works but any other module stops it from working. Here is the xposed log

--------- beginning of system
--------- beginning of main
07-23 05:24:13.939 3076 3076 I Magisk : Magisk v13.3(1330) daemon started
07-23 05:24:13.949 3076 3078 I Magisk : ** post-fs mode running
07-22 22:24:14.689 3076 3107 I Magisk : ** post-fs-data mode running
07-22 22:24:14.709 3076 3107 I Magisk : * Mounting /data/magisk.img
07-22 22:24:14.749 3076 3107 I Magisk : * Running post-fs-data.d scripts
07-22 22:24:14.749 3076 3107 I Magisk : post-fs-data.d: exec [0000liveboot.sh]
07-22 22:24:14.749 3076 3107 I Magisk : * Loading modules
07-22 22:24:14.749 3076 3107 I Magisk : magisk-foldermount: loading [system.prop]
07-22 22:24:14.749 3076 3107 I Magisk : magisk-foldermount: constructing magic mount structure
07-22 22:24:14.769 3076 3107 I Magisk : Resize /data/magisk.img to 160M
07-22 22:24:14.799 3076 3107 I Magisk : * Mounting system/vendor mirrors
07-22 22:24:14.799 3076 3107 E Magisk : mount /dev/block/platform/155a0000.ufs/by-name/SYSTEM->/dev/magisk/mirror/system failed with 16: Device or resource busy
07-22 22:24:16.029 3076 3300 I Magisk : ** late_start service mode running
07-22 22:24:16.029 3076 3300 I Magisk : * Running service.d scripts
07-22 22:24:16.039 3076 3300 I Magisk : * Running module service scripts
[Magisk] CooperBrick:
This happens to me too
[Magisk] JohnCorleone:
I think there were some large changes requiring some of the modules to be rebuilt. All I know is that my HTC 10 seamlessly moved up from v12 to the latest and along with the Safety Net fix v13.2, everything seems to be just fine! Many thanks to topjohnwu, theose who are making the modules and those who are actually submitting logcats to help the devs! :good:
[Magisk] juda iskariotsky:
Still can't get xposed to work with magisk 13.3

Here's xposed log and magisk log too

--------- beginning of system

--------- beginning of main

07-23 08:35:30.669 3013 3013 I Magisk : Magisk v13.3(1330) daemon started

07-23 08:35:30.679 3013 3016 I Magisk : ** post-fs mode running

07-23 10:35:31.209 3013 3045 I Magisk : ** post-fs-data mode running

07-23 10:35:31.229 3013 3045 I Magisk : * Mounting /data/magisk.img

07-23 10:35:31.259 3013 3045 I Magisk : * Running post-fs-data.d scripts

07-23 10:35:31.259 3013 3045 I Magisk : * Loading modules

07-23 10:35:31.259 3013 3045 I Magisk : magisk-soundmod-s7-dual-l3: constructing magic mount structure

07-23 10:35:31.279 3013 3045 I Magisk : Resize /data/magisk.img to 64M

07-23 10:35:31.319 3013 3045 I Magisk : * Mounting system/vendor mirrors

07-23 10:35:31.319 3013 3045 E Magisk : mount /dev/block/platform/155a0000.ufs/by-name/SYSTEM->/dev/magisk/mirror/system failed with 16: Device or resource busy

07-23 10:35:32.049 3013 3245 I Magisk : ** late_start service mode running

07-23 10:35:32.049 3013 3245 I Magisk : * Running service.d scripts

07-23 10:35:32.049 3013 3245 I Magisk : * Running module service scripts
[Magisk] otonieru:
Xposed will trip safety net anyway, so why dont you simply flashing it to system directly ? It has better chance of working

Also, what rom do you use ? Samsung rom need wanam xposed
[Magisk] juda iskariotsky:
Well it works with magisk 12 so why not with 13.3?

And yep it's TouchWiz
[Magisk] JohnCorleone:
Works with the HTC 10 running Magisk 13.1 but I THINK the Safety Net MOD is at 13.2 so it might need a little update.. That's why I am staying right at 13.1 because everything I try seems to work... but I am tired so maybe I missed something but it doesn't sound like it!
[Magisk] capricornian:
SafetyNet not passing. Redmi note 3,unlocked BL, MI 8.5.3 stable ROM, twrp 3.1, v12 passed SafetyNet after restarting magisk hide.
[Magisk] juda iskariotsky:
Tried every new version since v12 and xposed didn't work with any of them. Just v12 and below. 13.0 worked too but beta is over.

Gonna flash v12 and wait for new version...
[Magisk] jenslody:
I use systemless-xposed from magisks module-repo (shown as v87.1 in Manager, but v87.0 in logcat) on my Samsung J5 2015 (with MM) without any issues, but it has to be flashed through TWRP, flashing through Manager leads to a hang on boot. I suggest cleaning Dalvik/Art-cache after installing it.
[Magisk] elicoth:
I had xposed working in magisk 12.0. Upgraded to 13.1 13.2 and 13.3 and xposed has been working in all three versions. I didn't have to reflash xposed.

It might be something specific to your configuration.

Mine is LeEco Le Pro 3 with LOS 13.0
[Magisk] juda iskariotsky:
Yea something with touchschit

Tried uninstalling xposed, flashing in twrp, clearing caches, uninstalling and installing xposed Manager, no file named disable in /conf folder either. Nothing worked for me.

And why are you guys so crazy about safety net? What apps do you need it for?
[Magisk] Garock:
hey you get better luck with recent version updates for your pixel C?

I've tried using official 13.3 as well as those pixel specific files in the OP, still got the same error, boot stuck to TWRP

so for now I'm still using the beta version, however safetynet no longer works there

edit

apparently it's common issue with pixel C

someone already raised the issue on github https://github.com/topjohnwu/Magisk/issues/284
[Magisk] jjakajonas:
I will look at it and see what I can do.

But thanks for the advice.
[Magisk] PhantomZwei:
Hello, I'm not sure if anyone uses Maas360 (for work email/calendar). The recent update to the app (5.85) seems to find that I have root with magisk hide enabled. I've tried core mode..but doesn't work. Luckily I got the previous version (5.75) apk and have it working..just not going to auto update it.

Attached are the logs of when it passes and fails..although I don't see much difference to be honest.
[Magisk] Captain_Throwback:
Not an option for you, as the fastboot boot option is broken on the A9.
[Magisk] Zero Soni:
Sort my confusion

Hello .....

I own a Lenovo A6000 with custom recovery TWRP 3.1 and custom rom Resurrection Remix v5.8.3 android v 7.1

I dont want to alter any system file or use android pay or pokemon GO.

I just want a root manager which supports xposed framework and my current rom.

pls tell me can i install magisksu separately and how?
[Magisk] jjakajonas:
Then I just have to play a bit around whit it one of the days.
[Magisk] ravindersingh13:
A bug for me

So I have an one M9 and I installed the magisk mangaer by flashing the latest 13.3 zip . What I m facing is that after flashing the zip the network icon won't show any signal bands. I can make call and receive as well but this thing is annoying me. And also if I uninstall magisk the problem is resolved.

Please help me on this.
[Magisk] Paschfire:
Seems Google is possibly at it again... Safety-Net now fails.
[Magisk] Artim_96:
You can't
[Magisk] DodoGTA:
I'm currently passing SafetyNet (I just did a SafetyNet test)
[Magisk] Didgeridoohan:
Unless your device crashes there shouldn't be any issue with the logcat (and if you're using adb it should be fine even then). How are you grabbing the logcat?

Here are two good resources (one of which I posted last time):

https://xdaforums.com/showthread.php?t=1726238

https://www.xda-developers.com/guide-sending-a-logcat-to-help-debug-your-favorite-app/

And don't forget the recovery log from flashing the module in TWRP.

No, they're not... There's something about your device causing it.
[Magisk] Paschfire:
[MENTION=4667597]Didgeridoohan[/MENTION]

Hmmm... I just did a hotboot to retest and now Magisk v13.3 is showing no longer installed... * sigh * common occurrence...

... Disregard report, reinstalling now.

[EDIT] reinstalled Magisk v13.3, Safety-Net Check Status now passes(green) x2.

One question though... Now that I'm scared I have to reflash Magisk again, ever since v13 started I get a "No Sim Card" error almost everytime I try to install Magisk. It's also quite a chore to fix, with multiple reboots and sometimes 4-5times of attempting to install Magisk before my signal returns/registered upon bootup.

I've done everything within my limited knowledge in trying to find the cause, but alas failed. I thought maybe my Nexus5's HW is starting to fail but it only occurs when attempting a Magisk Installation.

I know this isn't a proper detailed report, but if you have any ideas where I can try to track this issue down, or even why it's happening, I'd be happy to submit any logs and additional information etc requested.
[Magisk] Legendary Cryptid:
I keep getting "su rejected" in my logs. What does that mean?
[Magisk] carlosggb:
Good afternoon to all!! (depending on timezone then Good morning or good night!! lol)

[MENTION=4470081]topjohnwu[/MENTION] , [MENTION=1162986]Captain_Throwback[/MENTION] , [MENTION=4667597]Didgeridoohan[/MENTION]

first of all sorry for tagging all of you. i'm a rom/kernel dev and would like to express some foundings and would like suggestions from you.

BUSYBOX, i have 2 scenarios involving it

1-Added to the ramdisk

PROS

-Safetynet pass

-All apps detect busybox

CONS

-NOT POSSIBLE to Toggle Enforcing/Permissinve SELinux state on the kernel (Need this for Android Auto and futureproof)

2-Systemlessly installed (either YDS or Osmosis)

PROS

-Safetynet pass

-Can Toggle Enforcing/Permissinve SELinux state on the kernel (Need this for Android Auto and futureproof)

CONS

-Many apps won't detect busybox properly

So in the end, after magisk dropped the integrated busybox, what is the real best way to get it going?

Will there be a Busybox magisk module that would provide a better integration?

Thanks in advance

cGB
[Magisk] DEVILOPS 007:
Do people ever get issues like lags with magisk but they go away with SuperSU because I've heard some people say that some roms, apps and other stuff lags or force closes. Anyone experienced this?
[Magisk] carlosggb:
I used to get lag in some older versions of magisk (very old ones, v7 v8) but not anymore.

It may be an app trying to get root access and not being able to get it what could be bogging the system down, i would suggest to check the installed apps to begin with.

EDIT: Regarding android pay, i dont live in a country that accepts this type of payment so i dont know if its working or not, it also depends on the rom and the kernel you are using. Many factors are involved on Android Pay
[Magisk] durbanpoison29:
Idem, test safetynet not good and root lost.

A restart of the device and safetynet ok then return of the operational root.

Since yesterday it happens too frequently.

I posted yesterday the log Magisk which is identical.

Only advantage for Magisk is the safetynet, although it is necessary that it is stable.
[Magisk] DEVILOPS 007:
Just wondering but if I add a card to android pay then switch to SuperSU or don't pass safety net then can I still use android pay? I don't see any other reason for me to pass the safety net because I don't care about Pokémon go or Netflix app. Thanks.

---------- Post added at 06:18 PM ---------- Previous post was at 06:17 PM ----------

Okay thanks for letting me know. I don't have these issues but have heard about it so nice to know it is likely an older version of magisk.:D
[Magisk] Didgeridoohan:
I'm really not the one to ask, but I'd go with option 2. And then I'd pester the developers of the apps that can't detect systemless busybox to code their apps better. :D