yashsingh1/xdaforums huggingface dataset:
[Magisk] Bokoblin:
Nexus 6P crashing issue with Magisk15.3

Hello,

I currently encounter a sort of crashing/panicking issue on my Nexus 6P with Magisk 15.3.

To describe it, around 10-30 minutes after booting my device (no matter the activity but most of the time I was on Chrome),

scroll begins to lag, then the system UI freezes, on-screen buttons disappear, the device still respond to them + power button though, I need to force reboot to fix that. And it happens again 10-30 minutes after boot,...

That first happened when I flashed Magisk 15.3, last week, after a month without it. I reflashed my stock system the same day.

I wanted to retry today, thinking it could be due to Substratum or a magisk module. But it stills happens without any module enabled.

I never had this problem with previous versions.

I have installed 14.0 instead and I don't have the issue.

But I plan to uninstall it tomorrow due to broken SafetyNet and only old modules visible in this old release.

May you help in any way, please? I can send a logcat to OP if that can help him.

Technical details:

Nexus 6P OPM3 (January)

Stock kernel (last week) / FrankoKernel (this time -- same problem)

No Xposed

One substratum overlay just changing accent color to Pixel Blue.

f.lux
[Magisk] Badger50:
I'm pretty much running the same setup as you on my backup 6p, with one exception, I'm using EX kernel. Just ran it yesterday to do some updating, and had no issues like you mentioned. I'd try that first.
[Magisk] MrBrady:
15.6?
[Magisk] bmg1001:
Hi, I'm trying to make a module using the template but I keep getting this problem after installing the module. As far as I know, I configured the module properly but no matter what I do, this keeps happening. Anyone know what the issue might be? I have attached the module, a screenshot, and a log. I am on Magisk v15.3 and the module is being installed from within the Magisk Manager. No other modules have had issues with installation.

[IMG="SCREENSHOT."]https://i.imgur.com/8wrCVfDl.png[/IMG]

MODULE

INSTALLATION LOG (tdifferent module ID, but the error is the same)
[Magisk] martyfender:
Maybe he means 14.6, as there was that version?
[Magisk] Didgeridoohan:
Whatever program you're using to edit the module files (config.sh, etc) is not saving the file properly. Line endings need to be in Unix format so you can't use Windows Notepad. Sublime, Notepad++ or similar would work.

I tested your provided module by just resaving the config.sh file and then it worked.
[Magisk] darkglobe87:
Hi all.

I have an odd issue which appears to be related to magisk. My /android/obb folder turns into a file in file manager, and no apps that use it will install or update (or work).

When I try to delete folder it fails unless I do it in TWRP.

EDIT: forgot to mention, when I view folder in TWRP I can browse fine.

Removing magisk 15.3 fixes it.

Couple of stats:

Device: XT1684 Moto G5 Plus

ROM: Vache's LineageOS 15.1 ARM64 (all recent versions do it)

Using universal safetynet fix latest beta from XDA.

Specifically trying to make Galaxy on Fire 2 HD work, but this affects anything using obb folder.

Any clues, guys? Can provide any logs or info if someone explains how. Quite comfortable with android, have just never provided specific logs as usually I can make things work myself, but this has totally beaten me.
[Magisk] Didgeridoohan:
Answering you here in the general thread, since your query doesn't really belong in the beta thread.

Start by reading through the troubleshooting guide. Might be something in there to help you.

Answering you here in the general thread, since your query doesn't really belong in the beta thread.

Your answer was provided on the output when flashing the Magisk zip. Check the troubleshooting guide under "Boot image patched by other programs".
[Magisk] mrror:
Still having root loss and FC

Similar to the previous version, I still experience regular loss of root for apps, resulting in Magisk Manager force closes. It keeps "forgetting" the rooted apps. I've tried a full cleanup and reinstall but didn't help. Log attached. Moto G 3 with latest stock.
[Magisk] Bokoblin:
I'll try, did you installed EX before Magisk ? Have you changed battery since you have bought 6P(might or might not be related) ?
[Magisk] Badger50:
Still using the original battery, although she is fading. I installed the kernel first, and then magisk :good:
[Magisk] Didgeridoohan:
You're in the wrong thread, so I'm gonna answer you here instead...

That means a response was received for your SafetyNet check, but the result was that your device fails SafetyNet. I know, it can be a little confusing.

Check through the troubleshooting guide for possible solutions.
[Magisk] petryrety:
Hello guys. [MENTION=4470081]topjohnwu[/MENTION] you can check what's happend with version 15.3? i say that because i have some problems with mobile banking payment app (bt pay in playstore from developer "banca transilvania"). This app is from romania and use nfc for paymant. With root i can't use app (i tried with stock rom and all is good). thank you sir!
[Magisk] Didgeridoohan:
Take a look under "Hiding root from apps" here:

https://xdaforums.com/apps/magisk/guide-magisk-troubleshooting-t3641417
[Magisk] petryrety:
thank you,

i have already tried and not work.... banking app still see root.... :eek: :eek: :eek: i hate this appsssssss X( from same bank i have another app and this app not have problem.... wtf... :eek:
[Magisk] Psycake:
Hey there.

I rooted my phone and tested my controller. To my surprise, the controller worked like normal in Minecraft. I tried other games and the mappings were off though.

Then I tried your module. It worked, and it fixed the mappings in other games. Minecraft was still working fine. No idea what's going with Minecraft, since it works like normal with or without the module.

But I noticed Select was mapped to Back and Guide to Home, which was a little frustrating since you couldn't use those buttons on games that use them.

So I edited the KL (key layout) file in your module to map Select to Select and Guide to Guide (known in Android as "Mode") so that this wouldn't be an issue anymore.

It works like a charm now! Now you can use an Xbox One S Controller with the correct button mappings in an Android device without having to modify your /system partition or sacrificing SafetyNet.

Thanks for the module! I'll be leaving the modified version of the module as an attachment.
[Magisk] K1nsey6:
Next beta
[Magisk] MrBrady:
Available to the public? I'm curious if it fixes issues with the latest Samsung Pay update.
[Magisk] Jeff146:
I'm getting the same issue as well and was wondering why I'm getting that issue and if there's a fix for it?

---------- Post added at 10:10 PM ---------- Previous post was at 10:02 PM ----------

I'm having the exact same issue and I was wondering if there's a fix or is there a way to manually mount it?
[Magisk] GiantPlaidSquirrel:
No packages will install on my Moto Z Play, yes bootloader is unlocked. i've tried installing the zips through twrp, but they dont show up in the modules screen upon next boot. Please help!
[Magisk] mmmzq:
I'm running Magisk 15.3 on latest Nitrogen OS 8.1, Oneplus 3T.

Magisk Manager 5.5.4 was working perfectly. But in 5.5.5, it appears not to save my SU choices at all and is asking me for every time when a app needs root permission.

And since it is auto- downloading and upgrading without asking, it seems that if in the first time I didn't cut my internet in-time and let Magisk Manager download the upgrade file to nowhere I could find, it'll try to upgrade to 5.5.5 for everytime it runs, no matter how I uninstall and re-install in TWRP except do a full-wipe.
[Magisk] Ja_som:
[MENTION=8847185]Psycake[/MENTION] thanks, I updated my module on the repo.

(https://xdaforums.com/apps/magisk/module-xbox-one-s-controller-t3742544)
[Magisk] dadilydoo:
Forgive me if I'm asking a stupid question - yesterday I rooted my first phone since Samsung Galaxy S so I'm quite new to this.

Edit: Well **** me sideways and call me Mary. This was a stupid question and I blame lack of coffee and early morning. :D
[Magisk] ltf_195:
Try to clear apps data, my banking apps keep the data once it detect root.
[Magisk] Didgeridoohan:
No. There's no public beta yet.... I'm guessing it's just a typo.

Why the double post? Just because someone doesn't answer for a few hours doesn't mean your query won't be noted.

Anyway...

The Manager doesn't auto update. It'll ask you to update, but you have to accept it for it to install. It's perfectly fine if you click "No thanks"... :D

There's work being done on this issue though, like this very recent commit on GitHub.
[Magisk] Wolfcity:
Check the filesystem of your data partition. If it's f2fs you maybe suffering from the loopback bug.

Three ways to solve that:

-Flash a custom kernel

-Reformat data to ext4

-Use the loopback bug module ( https://xdaforums.com/apps/magisk/guide-magisk-official-version-including-t3577875 )

It's a known issue of mainly Moto devices.
[Magisk] AidenSurvival:
I've installed Xposed (systemless) and Magisk passes the CTS profile check but basic integrity fails. What do I do?
[Magisk] Orka82:
Got update for Samsung Pay for Gear today and now it detects Magisk somehow. I have MagiskHide and use the hide magisk option. :-/

OnePlus 3, Samsung Gear 3, SafetyNet pass.

The swedish on the picture means "Access denied" and "Call customer service".
[Magisk] Pkt_Lnt:
Remove Xposed, Google safety checks always always

ALWAYS

fail with Xposed. as noted in this thread about 1000 times. ;)
[Magisk] Didgeridoohan:
Already noted. They've updated their detection methods. It's unclear at the moment if there's anything Magisk can do...

Check out the last few days of posting in this thread:

https://xdaforums.com/apps/magisk/samsung-pay-magisk-t3659745

You should be able to fix by downgrading the app.
[Magisk] Orka82:
Oh, thanks. Stupid of me to not look for another thread. :o
[Magisk] AidenSurvival:
Even with the systemless version? Nah. Snapchat ain't worth keeping. I'm good.
[Magisk] Didgeridoohan:
Not even the systemless version of Xposed can be hidden (it's not just about the files). You can fake the cts profile response with the "No device check" Xposed module, but basic integrity will always fail.

---------- Post added at 00:16 ---------- Previous post was at 00:09 ----------

https://github.com/topjohnwu/Magisk/blob/master/docs/details.md#simple-mount-details

Once you've installed Magisk you'll have no issues running "magisk --createimg".... Just because it's not directly visible in the zip doesn't mean it won't be installed.
[Magisk] renzo.olivares:
I actually have already tried this and it does not work for me. Have done it both in module form, and tried to do it manually both failed. Is this an issue with a/b partition devices?
[Magisk] Didgeridoohan:
Did you read the note at the beginning of the Simple Mount Details section?
[Magisk] GiantPlaidSquirrel:
I manually moved and symlinked the image earlier to no avail.

---------- Post added at 06:13 PM ---------- Previous post was at 06:01 PM ----------

Is it possible to format data to ext4 with the stock rom?
[Magisk] DB126:
Loopback bug module did the trick for me; I needed to do nothing more then install and reboot (per module OP).

In wouldn't reformat to ext4 if you ever intend to take another OTA. While the data partition shouldn't be involved you never know what the installer will be looking for.
[Magisk] vMAC:
What method did you use? Direct Install? Slot A/B?
[Magisk] Badger50:
Just direct install from the app is all I did. It'll flash to whatever active slot your on ?
[Magisk] mmmzq:
How am I supposed to know my issue was taken noted if no one answers...

Anyway...

I found that the Manager simply doesn't keep the permission settings when system language is set to my native ZH-CN. It does work well in EN-US after I change the system language..

Don't know if the same issue would occur on any other languages.

---------- Post added at 11:17 AM ---------- Previous post was at 11:08 AM ----------

How am I supposed to know my query is noted if no one answers?

Anyway...

I found the Manager just doesn't work well in ZH_CN system language. When I change it to EN_US, everything goes normal.
[Magisk] admiralspeedy:
So, does 15.3 work for anybody with a 1st gen Pixel XL (probably the same issue on the regular Pixel as well)? I just tried it on Lineage 14.1 and stock 7.1.2 and it doesn't work on either. It installs fine but when I reboot the phone, Magisk Manager is not installed, and if I install it myself, it just hangs when I open it. 14.3 works fine . If I install 14.3 and update to 15.3 from within Magisk Manager, it survives one reboot but does not give me root and SN fails, and after a second reboot Magisk Manager just hangs forever again.

I'm about to try 15.2.
[Magisk] jenslody:
There is no 15.6 beta, not even as internal test build (still 15.3).

So either a typo or an unofficial build with different version numbering.
[Magisk] satyapriya.strth:
Help needed to install magisk on Moto G4 play

Need Help for installing magisk on my device.

Model Moto G4 Play(Xt1602) indian version running android 7.1.1.

Instructions and files needed.

Thanks in advance
[Magisk] Didgeridoohan:
Patience is a virtue... :p

That is quite interesting though. Could you grab some logs for that? A logcat with the issues occurring with ZH_CN and then a logcat doing the same thing with system language set to EN_US.

Logs would be nice...
[Magisk] Ja_som:
Everything is here

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445/post68966662
[Magisk] stshlad62:
Is magisk properly working in CyanogenMod ROM specially for safetynet ?
[Magisk] Paz9:
Can someone confirm

If you rename logd to logd.old and restart

Magisk_module goes crazy and consumes a lot of cpu

Rename logd.old to logd goes back to normal but logs still consumes up time

---------- Post added at 12:15 AM ---------- Previous post was at 12:09 AM ----------

Magisk_daemon consumes so much cpu if you disable logd (by renaming to logd.Old and restarting)

Can someone confirm
[Magisk] DB126:
Device? Answer lies more in how you install/configure Magisk and less on the specific ROM. Take note of module compatibility w/safety net; Xposed is a no-no (for now) without additional steps prior to running SN aware apps.
[Magisk] Paz9:
https://xdaforums.com/apps/magisk/disable-logd-t3726561

Disabling or renaming logd causes magisk_daemon goes crazy with cpu usage

Only goes down with leaving logd as is

I want to remove logd though, is there a fix?
[Magisk] admiralspeedy:
I'm going to see if I can get a log today but I mean it doesn't even seem like Magisk is starting in any way, so I doubt there will be a log created.
[Magisk] habylab:
Have you disabled Magisk Hide, as suggested in the thread? Worth a shot if not!
[Magisk] grulong:
Apps crashing in beta 5.5.5(91)

OOS 5.0.2 Oneplus 5. Apps like videoder freezes and pzziz gives cannot mount media error 21.
[Magisk] grulong:
Apps crashing in beta 5.5.5(91)

OOS 5.0.2 oneplus 5. Apps like Videoder freezes and Pzizz give cannot mount media files error 21.
[Magisk] Paz9:
Yup still happens

Is there a way to let the Dev know?
[Magisk] Didgeridoohan:
That's how it works. Magisk uses Android logging quite a lot, so if you disable it, this happens. I'll ask [MENTION=4470081]topjohnwu[/MENTION] if there's anything that can be done, like disabling MagiskHide.

I'm not only talking about Magisk logs, but also logcat, etc.

A logcat from when the app fails would be much more useful.
[Magisk] admiralspeedy:
I will get all the logs I can. I should also mention that I tried a several versions last night and confirmed that this issue starts at 14.6. 14.5 and below work.
[Magisk] Didgeridoohan:
Yes, that's confirmed for users with this issue, and there is a recent commit on GitHub that should fix it.

It's just that I'm very curious about why the system language would cause it.
[Magisk] Paz9:
I've tried disabling magiskhide, still the same issue

Renaming logd is/was a long known tweak to break logging which should help a little

Maybe a way to unhook the use of logd ?

Its annoying when I can clearly see logd using resources when I can/should easily be able to remove it without derping magisk
[Magisk] EduardoJuram:
I have a big probleeeeem :(

I Have a Moto C plus with TWRP and Magisk cannot install magisk

Its a XT1725 i really need help
[Magisk] Artim_96:
Since it's a Motorola device it'll be because of faulty f2fs implementation. And when you can't even install Magisk you'll need a custom kernel including the bugfix. If only modules can't be installed use f2fs loopback bug workaround module, it'll install Magisk to /cache since that partition is formatted with ext4
[Magisk] jaymoker:
Hi,

I've created a magisk module (from 1500 template) to change the bootanimation on my phone.

No error during installation and reboot.

When I go to /system/media, I can see my custom bootanimation replacing the old one.

Nevertheless, I have the old bootanimation during boot.

So, I've checked on Internet and found some guys succeeded to replace their bootanimation by placing the new one in /cache/magisk_mount/system/media/

I've done the same thing and it's now working, I have the new bootanimation.

I wanted to know why the module method isn't working ?

And is the /cache method correct ?

PS: I want to have a systemless bootanimation file
[Magisk] admiralspeedy:
I wasn't talking about the system language, that was someone else. Could that be my problem though, since my system language is set to Canadian English and not US English?
[Magisk] Didgeridoohan:
https://github.com/topjohnwu/Magisk/blob/master/docs/details.md#simple-mount-details

:eek: No, don't bother... That's just me being incredibly confused and lacking quite a few hours of sleep. :laugh:

Logs will still be nice though. :D
[Magisk] peterlee928:
works for me on pixel xl. stock oreo january update.
[Magisk] admiralspeedy:
Yah, I'm guessing it does work fine on Oreo, but I'm not moving to Oreo until Lineage 15.1 is ready enough for me to build because I use quite a few Lineage features.
[Magisk] grulong:
Logs attached

This is the log when Pzizz gave me cannot mount media erro 21 and when Videoder freeze after clicking download file option. Please let me know if this is what you are looking for.
[Magisk] miguelr4720:
Cant Someone Please Help Me With This Problem Safety Net Wont Pass On My Galaxy Note EDGE N915T T-Mobile Running LineAge Rom Cant Someone Provide me a fix for this Problem i Try Universal Safety Net Fix Try Different Kernels Still The Problem How Do I Fix This Issue Please Help Me ASAP PLEASE PLEASE
[Magisk] admiralspeedy:
Ok, here are the logs I could pull. I installed the njh47f stock image to my Pixel XL, booted, went through the initial setup and everything, then turned it off, went into the the bootloader and fastboot booted TWRP (3.2.1.0) and installed Magisk 15.3 (1531) (although this happens 14.6, 15.0, 15.1, 15.2, and every other build of 15.3) and it installed totally fine.

I rebooted the phone and started logcat so it would log right from boot, and that log is attached in the zip as "startup.log". I took a look in it and it does appear as though Magisk starts to some degree, but as I stated in other posts, once the phone boots, Magisk Manager is not installed. I installed Magisk Manager 5.5.5 myself, and then started logcat again, launched Magisk Manager and let it log (attached in the zip as "magiskmanager.log") for about a minute while Magisk Manager just hung doing nothing.

As for the actual Magisk log that is supposed to be located in /data/adb/magisk, well it never gets created for me. I checked through the TWRP file manager and while the /data/adb/magisk folder does exist, there is no log file in it.
[Magisk] gothicVI:
1. Don't cross post, you violate forum rules!

2. Read op about safetynet!

3. Don't be demanding, you violate forum rules!

4. Mind your punctuation. Your text is unreadable...

Gesendet von meinem Moto G 2014 LTE mit Tapatalk
[Magisk] Didgeridoohan:
Most of the info you'll need can be found here:

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

Pay close attention to the part titled "Asking for help".

Quick look at the log shows a broken Magisk installation (can't access and create the necessary folders, or something like that) and a few segfaults. That's all I saw at the moment...

You'll only find the debug log if you have the beta version of Magisk installed (only difference is more verbose logging), and the location is /data/adb.
[Magisk] admiralspeedy:
I did install a beta version (1531) and there was no log in /data/adb either (I checked there before I checked /data/adb/magisk). If the installation is failing, then that's a problem with the Magisk installer because the TWRP log shows that it installed completely fine, and I can post it if you want proof of that. I'm pretty sure this is an issue with Nougat that was introduced when support for Oreo was added.

EDIT: To further confirm that this issue exists, I flashed my old Nexus 6 with its last stock factory image, which is 7.1.1 and installed Magisk 15.3, beta 1531 and it produces the exact same result as on my Pixel XL. No Magisk Manager installed, and when I install it, it just hangs when I open it. This confirms that it is not a Pixel (or A/B slot device) specific issue.
[Magisk] botteur:
Hi !

I have an LG G6 with the latest build of LineageOS & Magisk and I have problems with Magisk Hide.

When I apply Hide to my banking application, it works for a day or two and then it detects the root and doesn't work anymore. Even I uninstall the application and reinstall it after, always the same problem... How to do this?

Thanks !
[Magisk] johnyg07:
random reboot once a day

Hi,

I am using magisk on my nexus 6, with Nitrogen OS OREO 8.1 ROM. I have this problem of my phone crashing once a day.

When I initially clean flashed the ROM at 6 PM local time, finished setup by 6:30. My phone would crash around 6:30 pm every day.

Then I flashed the rom again at 11:30 pm without restoring apps from titanium backup, did a clean setup and apps restore from google, my phone then would crash and reboot around 11:45 pm.

Then I tried messing up the phone time to simulate the crash but it did not happen. after this my phone start crashing in the afternoon.

I checked the logs with logcat and saw the logs from magisk.

Could someone please take a look at the attached logs and see if magisk is causing the system crash or or there is something else causing the crash.
[Magisk] spiritflare01:
Magisk and Android Pay

Running Lineage 14.1. Android Pay doesn't work due to failing Safety Net.

"Android pay cannot be used on this device"

Is it possible to hiding root with say, Magisk ? Or relocking bootloader.

Anyone had any success with either method ? Don't feel to go back to stock..
[Magisk] siealex:
Nexus 5x, stock Oreo 8.1. Magisk causes the phone to crash randomly at the Google logo. WTF?
[Magisk] EmiRus:
Same here, u mean iif reboot Stuck at google Logo right?
[Magisk] siealex:
Yes, I need to reboot once more via power button longpress.