yashsingh1/xdaforums huggingface dataset:
[Magisk] DA6030:
Bootloop on Pixel XL

Hello kind folks! I'm trying to install Magisk on my Pixel XL, and facing a bootloop. I wonder, does anything about this list jump out to you as incompatible?

Device: Pixel XL (marlin)

Recovery: TWRP 3.1.1-0

ROM: PureNexus 7.1.1-20170317-OFFICIAL

Bootloader: 8996-012001-1701181700

Magisk: v.15.2 zip installer

Both my A and B slots are identical (I always flash both) and have confirmed by booting into both slots. Prior to installation, I re-flashed the same ROM (+TWRP) to make sure the boot partition is pristine.

I'm attempting to install the latest Magisk v15.2, but will soon try the beta version (only for the verbose logging) and upload logs, unless y'all have better solutions first.

The installation succeeds in recovery, however when attempting to wipe cache+dalvik afterwards, I get the error "unable to find partition for path /cache". To guide my troubleshooting efforts, do you know if Magisk uses /cache for essential files or just logs?

In any case, after installing Magisk (with no errors, except the cache wipe), booting to system yields a bootloop after a minute or so of animation.

Fortunately, flashing the Magisk uninstaller in recovery makes the system bootable once again.

My goal is to preserve /data, and would prioritize that over having root (and, over updating to the latest version of PN, which also requires a clean install).

After gathering logs from this process, the only other troubleshooting I can think of is:

1. Upgrade to TWRP 3.2.1.-0 or 3.2.0-0. The challenge is that I have tried 3.2.1-0 previously, and I find it that it usually does NOT decrypt my data partition (does not prompt for a PW), while 3.1.1-1 always decrypts successfully.

2. Downgrade to an older version of TWRP (e.g., 3.1.0-0RC2)

Things I probably won't try, unless recommended here:

1. Upgrading to a later bootloader (I'm running the version concurrent with this version of PureNexus, from Android build NOF27C).
[Magisk] AdventurerGR:
New to rooting

Hello. I'm here because frankly... I'm totally lost. I know I have to root my phone, so I went to your guide to learn how to do that. That redirected me to the release thread, and the instructions there are... are not very noob-user-friendly.

Step 1) "Download the latest Magisk zip file" -> Simple enough, I click the link and download it.

Step 2) "Reboot to a custom recovery and flash the flashable zip" ... Uhmmmm... I have no clue what any word in this phrase means? Reboot what? The phone? What is a "recovery"? What is a "custom" revovery? Where can it be found? What does "flash" as a verb mean? What is a "zip"? What is a "flashable" zip? How do you flash a zip? Are there any instructions that don't require specified terminology knowledge somewhere?
[Magisk] Baalzaman:
Having an issue with my cellular strength indicator in the status bar. Under magisk 12.0 this works fine, per normal. Magisk 15.2 it displays grey, no indication of signal strength. I believe magisk 14 has the issue as well.

Oddly, the issue seems to be restricted to AOSP based ROMs, I am encountering this with slimrom 7.1.2 and lineageos 14.1. Stock based ROMs it works fine. My phone is an HTC One M9.

Cellular service works fine, can make and receive calls/sms/data no issue.

Any idea as to the cause and any possible fix? I see I am not the only one to report this
[Magisk] anthromg:
Lol sorry for leaving that out originally! Okay I was able to capture the failure using a logcat. Should I post it or PM it to you? (I'll PM it in the meantime)

?*♀️ Is the female facepalm emoji! In my case meaning I can't believe I bootlooped my own phone. Lol =)
[Magisk] Didgeridoohan:
Best to post it here... I'm unlikely to be of any use when it comes to reading logcats... :laugh: The more eyes that can see it the better.

I saw that it was the female facepalm, but the reason I asked was a slight confusion about what the femininity symbol was doing multiplied with it. :)
[Magisk] anthromg:
Okay I attached a screenshot as the log is very long

oh Tapatalk renders the gendered emoji with the gender symbols for some reason. ?
[Magisk] UKLonghorn:
I am have just installed Magisk (15.2) and Magisk Manager (5.5.3). I am on TWRP 3.2.1.1.

I am running a totally stock Nexus 5 (Hammerhead). Fresh install of all firmware....

I get two errors in trying to use Magisk:

1) No modules show up in "Download". I have tried clearing cache (in settings) and "pulling down" in the download section. Mo joy.

2) I get "Invalid Channel" on the main screen. This happens with both stable and beta set.

Any pointers or things I can do to debug? Thanks!

DZ
[Magisk] zeeka#:
Is it possible to root xolo omega 5.5 (mt 6592) with magisk? Ive tried flashing both v14 and v15.2 on twrp 2.8 but ended in an error on lineage os 14.1. Is there any way possible to install magisk on this device?

Device specs

https://gadgets.ndtv.com/xolo-omega-5-5-2189
[Magisk] Didgeridoohan:
Best I could come up with was searching the interwebs for "WiFi supplicant not running", but didn't see much... Hope someone has an answer for you.

You could try clearing data for the Manager. If that doesn't work I'd try reinstalling Magisk.

That's probably a too old version of TWRP.

Follow the installation instructions for installing via the Manager and then you should be able to flash the patched boot image through TWRP.

If you have further issues, don't forget to save and post the installation log or recovery log.
[Magisk] anthromg:
Okay. Thanks for helping. =)
[Magisk] baxxter106:
Thank you but that was not what i asked.

I tried to downgrade to 14.0 but came into bootloop - how to fix it?

And If i were chainfire, developed flashfire app, working with my "own" supersu - why should i change my app for an other root App?

When it worked with 14.x but not now - is then something wrong in magisk app?

(And that is not the only thing that doesn't work "as it should")

With SuperSU anything worked always on any kind of phone...
[Magisk] DiamondJohn:
SOLN: crond now works!

I read over my own log, and noticed the following line at the top of the log

crond: crond (busybox 1.27.2-[COLOR="Red"][B]topjohnwu[/B][/COLOR]) started, log level 0

But I use jRummy busybox installer:confused:

Anyway, long story short, I switched my "crond" start command from

crond -b -c /system/etc/cron.d -l 0 -L $CRON_PROCESS_LOG;

to explicitly call my installed busybox,

[B][COLOR="Green"]/system/xbin/busybox[/COLOR][/B] crond -b -c /system/etc/cron.d -l 0 -L $CRON_PROCESS_LOG;

and it now works.:highfive:

The log now has the expected reference to jRummy busybox, and the scheduled script appears to run as expected
[Magisk] madbat99:
Wrong. And magisk is much more complex
[Magisk] Didgeridoohan:
Ah... You were a little unclear on that point then...

Depends on how you downgrade. Uninstall v15.2 properly, make sure that your stock boot image is restored and install v14.0.
[Magisk] iG0tB0lts:
Hi I'm using magisk 15.2 on my Xiaomi mi A1 running Android or 7.1.2. I have enabled magisk hide and have checked safety net via both Magisk check and playstore safety net and both pass.

However my net banking app HDFC bank recognises as root. All modules have been disabled. Is there anyway around this?

Link of app

https://play.google.com/store/apps/details?id=com.hdfc.retail.banking

Thanks
[Magisk] Captain_Throwback:
You can flash back to stock recovery and all of the systemless mods remain ;).
[Magisk] stokholm:
That's true, didn't think of that. But won't OTA updates ever overwrite your ramdisk?
[Magisk] Captain_Throwback:
Sure, but then you just have to boot custom recovery and re-flash Magisk, and you're back in business. Since the magisk.img is stored on /data, all of your mods will remain in place when you flash it again (provided they're still compatible with your updated software).
[Magisk] meiser:
Hi,

I'd like to use Magisk (root + xposed) together with MultiROM. Would there be a chance to make them compatible or are they mutally exclusive?

Thanks in advance,

meiser
[Magisk] KaMyKaSii:
Does anyone know of other mods made to Magisk? No matter what, I want to test :silly:
[Magisk] usvimal:
Xtrememusic does

Anyone have the correct set of procedures for flashing the SuperSU version with custom kernel?
[Magisk] wvcadle:
Editing build.prop

[MENTION=4470081]topjohnwu[/MENTION] Will editing the build.prop to add a line to enable Wi-fi tethering break the ability to unmount root and use Android Pay?
[Magisk] vaindil:
(I searched for this but couldn't find anything, sorry if it has already been answered!)

I'm on a Nexus 6P, MTC20F. I followed these steps to go from SuperSU/normal Xposed to phh's root/Magisk:

Flash stock system.img and boot.img

Reboot system

Flash franco kernel, then Magisk, then phh's update.zip root package

Reboot system

Install phh Superuser app from Play Store

Flash systemless Xposed

Reboot to system

Root is working fine, but Magisk Manager says "You are not rooted!". I really like franco kernel, but do I need to use the boot.img method for this to work?
[Magisk] nomadism:
Did you install the phh super user app from the play store?
[Magisk] topjohnwu:
I'll definitely add more info to the first few posts tomorrow. Got no free time. Also I'll document the details of the Android Pay and root thing in detail so custom roms can follow the way I got it working.

Also, I'm still looking for experienced Samsung Marshmallow users for testing, please PM me with your Hangouts email, I'll contact you after I got time, thanks.

Last but not least, people can link popular mods that works across all devices here. I can port some of them to show off the real power and potential of Magisk :)
[Magisk] vaindil:
Yes, forgot to mention that. Just added it to my post. Root is working fine, I'm being prompted and apps are working. Magisk Manager doesn't detect it though.
[Magisk] KaMyKaSii:
This mod is not yet complete, since it also requires SuperSU. But anyway, thanks

---------- Post added at 07:04 PM ---------- Previous post was at 06:54 PM ----------

Just to make sure, you grant superuser permission for the Magisk Manager app?
[Magisk] vaindil:
The Magisk Manager app never prompted for root access, and it doesn't appear in the log of the Superuser app.
[Magisk] KaMyKaSii:
Weird. Try to clear data and start the app again
[Magisk] tuffCookie:
i'm experiencing the same exact problem
[Magisk] Okusac:
Systemless root and xposed

I wanna know if the systemless xposed and root is working. Check my screenshots
[Magisk] vaindil:
Just tried, no dice.
[Magisk] garthybarthy:
None of my apps prompt for root access but all seem to gain root somehow automatically.
[Magisk] Captain_Throwback:
You have to install the phh superuser zip from THIS thread, not phh's update zip.
[Magisk] KaMyKaSii:
They are working as it should. But you could have tested a module or root app before you ask, no?
[Magisk] Syoenth:
Can anyone explain me how to unroot Cyanogenmod 13 based Roms?
[Magisk] igoticecream:
[MENTION=4470081]topjohnwu[/MENTION] BUG report:

It wont unpack LZ4 compressed kernels and the script is flashing this empty boot
[Magisk] DaDiDo:
Look at my post #2185 ,i had the same issue but when i flashed unSU via recovery the root was gone and magisk is working fine with phh now.
[Magisk] hamstrman:
Searched this thread for the term "bootloader" and didn't find anyone with my question, which is: how do I unlock my bootloader!? Sorry, is my noob showing?

I feel fairly competent and that once I unlock my bootloader, I can flash TWRP and yada yada yada success! I've always had a custom recovery and root, but since my S6, it screws things up when I try to flash, which I assume is because of... locked bootloader! I'd get stuck in a bootloop, IIRC, until I removed TWRP.

I have a Sprint Samsung Galaxy S6 Android 5.0.1. If no one wants to bother to answer my question, could you at least tell me where to look or where I should be asking?

P.S. - I've backed everything up via Titanium Backup, so I'm ready to try something. And yes, this is so I can continue playing Pokemon Go. I feel ashamed.
[Magisk] Captain_Throwback:
Your question is unrelated to Magisk. Go search in your device forum.
[Magisk] genosidestos:
can u help me? I have installed magiskv6, and magisk its working but I still can not play pokemon go and cant pass safetynet :/

im runing cm12.1 btw and my device is samsung sm g7102. thanks
[Magisk] CrazyCypher:
Hy guys, anyone knows why all of a sudden I have magis folder write protected? Root explorer never asked me this but todey I get message when trying to modify magisk folder that it is write protected (like system) :) why?
[Magisk] def4ke:
@topjohnwu Bug Report for

Oppo Find 7a (X9006)

running Android 5.1.1 (Project Spectrum AOSP Version, Build Find7Spectrum_12_160601_Beta)

Flashing magisk-v6 wont show any errors. I can see /magisk (containing .core/bin/libsupol.so , sepolicy-inject and supolicy), but no /cache/magisk.img nor /data/magisk.img. After a reboot, /magisk is gone, but /cache/magisk.log is present (attached) stating

Magisk post-fs mode running...
Magisk post-fs-data mode running...
magisk.img mount failed, nothing to do :(
Magisk late_start service mode running...

Flashing phh-superuser-17-magisk.zip will of course fail, stating magisk is not installed...
[Magisk] spartan018:
[MENTION=4470081]topjohnwu[/MENTION], I'm willing to donate my time to help with the Moto issue since you don't have any Moto devices. PM me if you'd like the help.
[Magisk] ogfa99:
Hi!

You already have the instructions?
[Magisk] GFXi0N:
Can anyone recommend a zip to flash from recovery in order to unroot without having to install the supersu app to use the 'full unroot' option only?

Thanks
[Magisk] Tomiie:
Hi there. Will it be possible to create an Odin flashable version like cf autoroot? I am hoping to be able to keep the encryption instead of disabling it to install TWRP.

I did a search and only one other asked this question weeks ago. I have been using FlashFire to flash Xposed etc.

Happy to donate. Hopefully there are more interested parties so we can create a larger pool.

Using S7 here.
[Magisk] Syoenth:
I still have this issue, I flashed unSU and still can't toggle off the supersu, I tried to delete busybox through adb but after reboot it return again
[Magisk] Captain_Throwback:
Delete it from where? And why not just delete it in recovery?
[Magisk] Äptiva:
Found some issues. Trying to come up with a workaround or solution of any type
[Magisk] JudgeDread11:
Search for unSU.
[Magisk] Syoenth:
I reinstalled the ROM and delete all via Terminal (deleted, su on /system/xbin and /system/bin, deleted busybox /system/xbin), flashed Magisk, flashed phh's supersu Magisk, installed the Magisk app and nothing :crying:
[Magisk] alchemistake:
I encountered weirdest possible thing in my life.

When I press unmount it mounts itself again.

ZaqHQv4h_0Y is the id of the video you can see it in action on the youtube. Since I am newbie it does not allow me to post ljnks directly.

:confused:
[Magisk] Artim_96:
In theory yes, but don't expect it from here, you'd need a developer knowing everything necessary about Samsung devices. Because when I look into the cf autoroot file for ODIN I see a cache.img.ext4 and a recovery.img. I don't know if these are only patching files, but since these files also appear in the normal ODIN files for fishing the whole system, I would guess to do so you would need to get the firmwares for all devices, extract these two files, manipulate them so they contain everything necessary and rebuild them to a tar.md5....way too much to ask from anyone not fully committed to Samsung devices. And the only dev I know that would be able to realise that would be Chainfire himself.
[Magisk] ldiomedi:
Do you downloaded the phh supersu app from the Google play?
[Magisk] Jaymin.0.1910:
Simply enable MagiskHide for that app, works for me...
[Magisk] lSUPERFLYl:
Forgive me if this has already been asked.

I am unable to have modules show up in the modules section. They install fine (to my knowledge). Things I've tried:

Install from TWRP and from Magisk Manager

Fresh install of Magisk on a custom kernel and on stock kernel

Install F2FS Loopback Bug Workaround module by [MENTION=5228676]VR25[/MENTION]

Magisk and an example module install log is attached. After reboot I have no modules in the section.

Google Pixel XL on 8.1
[Magisk] Didgeridoohan:
Take a look under "Hiding root from apps" here:

https://xdaforums.com/apps/magisk/guide-magisk-troubleshooting-t3641417

I don't think you would need the f2fs workaround on a Pixel. And that's an old install log for Magisk v15.1.... The intended module installation log would be much more useful. :p

Looking at the Magisk log, it does look like you have a broken Magisk installation though.

E Magisk : opendir: /sbin/.core/img/.core/service.d failed with 2: No such file or directory

Is your Magisk image properly mounted to /sbin/.core/img?
[Magisk] braschlosan:
Hello I am having a problem installing any magisk modules. The attached screenshots are an example. This is a oneplus 5 running the original Oxygen OS 5.0.1 which is android 8.0.0

I the one module I partially got working was the android runtime optimization. It also wouldn't install properly from the Magisk app. I flashed it through recovery but could not adjust the settings without giving the exact path of the binary (/magisk/runtime-optimization/system/bin/art_magisk)
[Magisk] braschlosan:
Heres the Magisk log after a fresh reboot. I wasn't sure if those errors were relevant
[Magisk] Didgeridoohan:
Since it's a Magisk thing rather than a module thing I'll answer you here...

First of all: you don't happen to have Core Only Mode enabled in the Manager settings?
[Magisk] baxxter106:
Yeah and i think that complexity makes it also more complicate and more errors can happen.

In Linux words: one command for one task.

Don't get me wrong! I love Magisk but i noticed more unstable things then in SuperSU. Because one App for one task...
[Magisk] braschlosan:
No sir. It's very strange because I can't find any particular errors even when scrolling back through the system log. Im very confused because this was a cleanly wiped phone with a fully locked oem fresh install of the latest stable os, and then once it was running properly I rooted it and started making changes
[Magisk] Didgeridoohan:
Install the v15.2 beta (only difference is more verbose logging), try again and post the magisk_debug.log (you'll find it in /data/adb). It might show more info.

And don't post a screenshot of it, or paste it directly in the post. Attach, upload and link, or use Pastebin/Hastebin.
[Magisk] braschlosan:
I installed the beta version of magisk as suggested. I then rebooted and installed xposed from the built in repository and a background play enabled YouTube as a zip file added to the Magisk app. After rebooting both modules shown in magisk but I have no YouTube app visible and the xposed installer says no framework is installed

https://pastebin.com/aZ6z1KLf
[Magisk] Didgeridoohan:
I see that you also have the ART Optimiser module doing stuff in there...

If I were you, I'd uninstall Magisk and start completely fresh. Then install one module at a time, to make sure that it's not a module compatibility issue. As an example, I wouldn't use the ART Optimiser together with Xposed, since Xposed already messes with ART quite a lot.
[Magisk] braschlosan:
Hello. I clicked the trash icon for all modules and made sure they were gone after a reboot, went into recovery to flash the Magisk Uninstaller, flashed the beta 15.2, then installed xposed and YouTube from the repository. After a reboot I still don't have a YouTube application shown anywhere on my system even though there weren't any errors during install.

Here's the latest copy of the log file https://pastebin.com/qB6n38jt

Can you suggest a known working module to install and test with that has an included application? Id like to find the root of my problem but not over complicate things by testing with system intensive module changes
[Magisk] Didgeridoohan:
Log looks fine (as far as Magisk goes, I didn't look at anything else). Does Xposed work? Another module to try would be Greenify4Magisk or Unified Hosts Adblocker. I find those are good for testing module installation.

Looking at the module thread for iYTBP there are some users having issues with the app not showing up, so if that's the only module that is causing issues I'd suggest you search for info in that thread.
[Magisk] Eversmile23:
Whatt is the problem?

I had flashed magisk 15.2 and some magisk modules. During experimentation with a mod, I got struck up on my recovery. So made a restoration of system & boot partition from my TWRP back up. Then my device booted up. When I reflashed Magisk 15.2, My device again returned to recovery screen of TWRP in stead of booting the system. Then I restored my backed up boot image, then only my device booted up successfully. I can not know what the problem is. What should I do -- total restoration of the TWRP back up, then try flashing 'Magisk 15.2.zip' ? Please help.
[Magisk] Didgeridoohan:
If you haven't uninstalled Magisk, the Magisk image will still be in /data/adb and whenever you reflash Magisk, whatever went wrong will be activated again. Use the Magisk uninstaller to remove Magisk completely...
[Magisk] madbat99:
That iytbp (YouTube) module can be tricky. You might want to read in the thread for it. Some have to disable and re enable the stock YouTube (system app) and then iytbp shows up. Check the thread (iytbp) in the 2nd post, it has some troubleshooting. It's not your magisk install giving you trouble, it's that module. They also have a regular root version (system) and a non root version. The non root is exactly the same as the module, but without any hassle on the install.
[Magisk] lSUPERFLYl:
Sorry. Proper log should now be attached.

I also doubt it's properly mounted to /sbin/.core/img as that folder does not exist. Should I create the img folder to complete the directory?
[Magisk] canpolat28:
hi guys my device is nexus 5. I have updated the application via magisk v15 and then return via twrp magisk 14 but stay on my device bootloop. make wipe cache but no fix. later flash uninstaller magisk after flash magisk v14 zip and next wipe cache still no fix . please help me I dont want to lose my data be obliged to flash rom. sorry my bad English.
[Magisk] Didgeridoohan:
Extract the boot image from the factory image and flash that.
[Magisk] canpolat28:
fixed. thank you :fingers-crossed:
[Magisk] Pandemic:
[MENTION=4470081]topjohnwu[/MENTION] can you please look into magisk v15.2 ?

Because if we flash it on Xperia XZ/XZs on Oreo it breaks our drm keys or we get stuck in a bootloop, we must keep using 14.5 what have totally no issues but we want also update to the latest one.

Verstuurd vanaf mijn G8231 met Tapatalk
[Magisk] sandaljrpit:
hi, i still change the default.prop manually in the latest magisk to not detect root.
[Magisk] Kir3:
Latest Magisk manager (5.5.4) is crashing when accessing Settings
[Magisk] Wolfcity:
Working here after deactivating substratum theme after installation and activating/compiling again.

Everything ok on Moto G titan, AEX 4.6 android 7.1.2.
[Magisk] Kir3:
I don't have substratum.

It looks like it has to do something with Fingerprint Setting added as OnePlus X doesn't have one.

Someone posted this on ROM's thread if somehow helps.
[Magisk] kalawy:
Since msagisk 14.3 .. The AdAway application doesn't seem to load at all

I'm on miui9 ..

Anybody having this issue and any possible solutions ?

Edit : and that with and without systemless hosts options ..

When magisk uninstalled as troubleshooting step the application worked
[Magisk] akpe:
I had this issue, take a look here: https://github.com/AdAway/AdAway/issues/979

One user posted a fork of Adaway 3.3 which fixes the issue, at least it works perfectly for me.
[Magisk] SuperLGE:
I'm having the same issue with my LG G3, probably something to do with the new fingerprint addition.
[Magisk] rocker00:
Same here on my sony xperia z2.
[Magisk] mnbvc69:
why always I have to grant su permission although I choose forever? hete the screenshot tab after giving permission.

using magisk 15.3 stable with latest magisk manager