yashsingh1/xdaforums huggingface dataset:
[Magisk] chenxiaolong:
[MENTION=4470081]topjohnwu[/MENTION] I'm running into an issue where there are duplicate "init" entries in the patched ramdisk after flashing Magisk.

[/tmp] [b]adb pull /tmp/ramdisk.cpio >/dev/null; bsdtar -tvf ramdisk.cpio | grep \ init$[/b]
-rwxr-x--- 1 0 0 837848 Dec 31 1969 init
[/tmp] [b]adb shell 'cd /tmp; ./magiskboot --cpio ramdisk.cpio "add 750 init magiskinit" "magisk ramdisk.cpio.orig false true true"'[/b]
MagiskBoot v15.3(1) (by topjohnwu) - Boot Image Modification Tool
Loading cpio: [ramdisk.cpio]
Add entry [init] (0750)
Patch with flag KEEPVERITY=[true] KEEPFORCEENCRYPT=[true]
Loading cpio: [ramdisk.cpio.orig]
Remove [.backup]
Remove [.backup/.magisk]
Remove [.backup/.rmlist]
Record new entry: [init] -> [.backup/.rmlist]
Dump cpio: [ramdisk.cpio]
[/tmp] [b]adb pull /tmp/ramdisk.cpio >/dev/null; bsdtar -tvf ramdisk.cpio | grep \ init$[/b]
-rwxr-x--- 1 0 0 474344 Dec 31 1969 init
-rwxr-x--- 1 0 0 837848 Dec 31 1969 init
[/tmp]

This is preventing ".backup/init" from being created. Could the installer be updated to do:

./magiskboot --cpio ramdisk.cpio 'rm init' 'add 750 init magiskinit' ...

instead?

EDIT: I submitted a PR to fix this: https://github.com/topjohnwu/Magisk/pull/371
[Magisk] Wangby:
Can't mount partitions, data, system,etc

Then I can't update Magisk or reinstall Magisk.(via recovery)

But I can flash other zips, such as SuperSU (system-less)
[Magisk] buggerman:
Here's the logcat (see attachment).
[Magisk] manudhomra:
I'm facing a weird issue, my notification sound is gone after some time of usage. I have to restart all the time to get it working again, any solution please. I'm on kenzo 2gb
[Magisk] NoName:
I'n using Sony Xperia Z4 Tablet Stock 7.1.1 ROM, and I just try to switch to Magisk from SuperSU but fail, I had do same things with SuperSU patch with no error and root success , but no luck with Magisk 15.3 and I got boot loop after boot splash, with flashing Magisk via TWRP I have no error, any help?
[Magisk] hobie99:
Hiw to uninstall magisk module completely? Like sound mod. I have delete it from magisk module, does it really clean ?
[Magisk] MDeniR:
I'm using Xiaomi Redmi Note 3 Snapdragon, and installed Magisk v15.3. My main purpose of installing Magisk is to hide my root from Banking Applications, but it seems using only Magisk Hide doesn't work, i have to Hide Magisk Manager , and here's the problem, everytime i tried to Hide Magisk Manager, it always failed "Hide Magisk Manager Failed...", i really need Hide Magisk Manager, i think it's the only way to hide Root from my Banking Application, any solution ?

NB : I've tried to install the previous version of Magisk, Magisk v14.5, and Hiding Magisk Manager doesn't work too
[Magisk] Didgeridoohan:
Recovery log would be good...

Awesome. When I'm not on a phone I'll take a look if I can see anything. Unless someone beats me to it... :p

You might need something like this:

https://xdaforums.com/xperia-z5/development/root-automatic-repack-stock-kernel-dm-t3301605

It depends a little on how the module is made, but generally the answer to that question is yes, it's enough to delete it from the Manager.

A logcat when the hiding fails might show something.
[Magisk] will5:
In my case sixaxis controller app wont sync anymore after installing magisk on an lg v20 h990ds (will sync again when changing to supersu). A log will help with that or just logs the boot proccess?

Btw it doesnt happen on lg v20 h910, it only affects h990ds variant (dual sim)

Thanks
[Magisk] Quark^2:
Okay, so any root app could have changed my system... that is nasty :/

How is it detected that system is modified? Can I monitor this myself? I'd like to find out the "bad" root app for future references.
[Magisk] RandomPooka:
You could look at all the folders in the root directory and see which has a different time stamp on it, look in that folder and see which files were changed and when, then use deductive reasoning to figure out which app might have by way of when they were all installed and what they do.
[Magisk] chiante11:
Asus (Zc554kl) Zenfone Max 4 magisk issue

I've known this method. Carefully followed every tutorial but this just doesnt seem to work on my device.

I have unlocked bootloader. I have tried flashing the patched boot img from my stock rom on flashboot and it simply doesnt work. Causes my phone to bootloop and I have to flash the stock rom just to have my device up and working. Does anyone know a fix? :confused:
[Magisk] rignfool:
That only tells you if the files was modified...

Not whether system was mounted or not...

My understanding is remounting system changes something to do with a signature that makes it so OTA won't take...
[Magisk] Badger50:
What device do you have? What version of magisk are you using? Have you tried flashing the magisk zip in twrp?
[Magisk] chiante11:
My phone is Asus (Zc544kl) zenfone 4 Max. I believe, im using the latest magisk apk. Not the zip file because i cant flash TWRP on my device. I mean, the flash recovery img doesnt work also. I know, this is another issue. But it's the reason Ive switched to patching the bot img in order to root my device. :(
[Magisk] Badger50:
Could be a compatibility issue then. Have you tried the 14.5 version of magisk?
[Magisk] chiante11:
Not yet. I have already tried twice. Both failing and bootlooping my device haha I have also read the Official magisk thread. Tried putting on the force encryption option on the magisk app. But Ill try the 14.5, Ill see if that works.
[Magisk] DB126:
Have you tried booting (not installing) TWRP from fastboot?
[Magisk] chiante11:
Oh not that one. Flashboot boot recovery img? I haven't tried that yet. Hoping It'll work cause Ive seen Zc444kl that runs on TWRP. Maybe the latest firmware just makes it really complicated. Hays.
[Magisk] n82freak:
Lost root randomly - but after reboot is all fine

My magisk lost sometimes root until the next reboot .

Sometimes after some minutes sometimes after some days .

I tried to find out why happends.

I think that happends if i browse large websites and open more tabs. But i'm not shure.

If someone knowing more about ?

Exist any fix to hold magisk explicit activ ?

My settings for inactive task exclude magisk - normaly it should be hold activ in ram ...

Thx a lot 4 reading & hope someone have an idea what can do ...
[Magisk] Didgeridoohan:
If you can get TWRP to boot on your device you could try flashing this after Magisk: https://xdaforums.com/android/software-hacking/signing-boot-images-android-verified-t3600606
[Magisk] cnjax:
First time using magisk, tried searching thread can someone tell me how to grant titanium backup Root, allowed magisk to grant but titanium is asking for su. Tia
[Magisk] rignfool:
If you are referring to the pop-up about it not being SuperSU... Just ignore it... TiBu is just complaining... And if you force everyone to use the same stuff... It just makes troubleshooting easier
[Magisk] Yasharkhan:
Using magisk on rooted pixel 2 xl 8.1. 15.2 magisk version 5.5.3 app version I can install magisk modules, but when I reboot the phone they disappear and there are no modules, what is the problem and what is the fix? No module seems to stick after reboot, please help
[Magisk] tovarischkrasnyjeshi:
Huawei recently rolled out Oreo for the Mate 9 in the US. (MHA-L29 C567 8.0.0.360)

Trying to install magisk from twrp, either 15.3 or the latest beta, stops at

! Unable to detect boot image

TWRP doesn't see a /boot partition either, tho there is a(n empty?) /boot folder when mounting /System

It isn't clear to me if this is something because of Oreo or because of Huawei. The threads on the device forums are just methods for rooting nougat with SuperSU. That or my google-fu is garbage.

EDIT: Apparently boot was split into a partition called ramdisk and a partition called kernal.
[Magisk] NoName:
I was tried this tools long time ago(4.xx version), but it is not working on z4 tablet since updated to 5.xx version, it can boot in to system, but touch is fail, so I give up that tools for my z4 tablet.
[Magisk] n82freak:
I penetrate google since a few days and found nothing relevant.

:D

Pls help !!!!
[Magisk] Xennet:
[MENTION=4667597]Didgeridoohan[/MENTION]

I came across something unusual

Using Magisk 15.3 on my OOS 5.0.1 on OnePlus 3T

After the first fresh clean install of os followed by Magisk installation and then followed by installation of modules from twrp and a restart Magisk works fine. Loads all modules and is good.

But after a restart Magisk doesn't load any modules, but just starts Magisk hide and nothing...

This is weird...

The things I tried...

Complete Magisk uninstall and reinstall

Tried clearing cache, dalwik cache

Uninstalled all modules

Removed postfsdata scripts

Each and everytime it works after first fresh clean installation of Magisk and then loses it on reboot...

Attaching the Magisk logs..
[Magisk] Didgeridoohan:
I guess you're talking about your issue with losing root. From your description it does sound like Magisk is killed by system or something like that. Your browser can eat a lot of memory when having heavy websites and many tabs open.

It's impossible to say without some logs. Try to recreate the circumstances and grab a logcat from when the issue occurs.

It does look and sound like an issue I've seen myself on my OP3T on OOS Oreo. Whenever a module is trying to set sepolicies with post-fs-data.sh (V4A and other audio modules), Magisk breaks and doesn't load a single module. Try without the Arise module and see if it's the culprit. But first, could you save the post-fs-data.sh file from the module after the issue occurs and post it, just out of interest.
[Magisk] RandomPooka:
Oh, absolutely. It doesn't fix the problem. Dirty flashing the system image ought to. I was thinking they wanted to know which app caused the problem in the first place, so it could be denied root privileges or just eliminated entirely.
[Magisk] Xennet:
Deleting the arise Magisk module does fix it...

But why it loads after initial Magisk install and and just fails after subsequent reboot is a question...

Is is a bug only on our devices?

May that can explain the non working of v4A on our devices with Magisk?

Likewise when I was troubleshooting the issue with [MENTION=6037748]Zackptg5[/MENTION] earlier I had told him it was very weird that I was able to get his v4A module working on my OP3T only on two instances that too at random after flashing the v4A zip file in twrp a hundred times and but after rebooting I again stopped working....

May be this is a real issue and is worked upon or is just us having this?

Attaching files from arise...
[Magisk] Zackptg5:
Big update is out in the v4a thread. Got it working with oos oreo op3/3t with [MENTION=4667597]Didgeridoohan[/MENTION] :D
[Magisk] Wangby:
How to catch the logs?
[Magisk] gothicVI:
Search ffs it has been in the thread literally hundred times! Read op! Google it! It's all there for you. Why ask for even more spoon feeding?! Is this a kindergarten?!

Gesendet von meinem Moto G 2014 LTE mit Tapatalk
[Magisk] chiante11:
I'll try that one. But do you think downgrading my firmware could solve the problem? Because I think that the latest firmware from Asus just doesnt work with Magisk. Maybe the previous ones will work, as Ive read on other forums. Any thoughts?
[Magisk] peterlee928:
hi all. just checking if the ota installation process outlined in the link below works for the feb update? also, what additional steps (if any) need to be taken if xposed is installed (ie, do i need to uninstall/reinstall xposed also? etc)?

https://github.com/topjohnwu/Magisk/blob/master/docs/tips.md

much thanks in advance :)
[Magisk] jonasdoess:
Hi! Flash via Magisk doesn't work, every installation failed. Could you help me? Here are the logs for two differents modules but same result. (something to know, I have ice renovate Rom and I selected Magisk in aroma but Magisk manager wasn't installed by default on the Rom, so I had to install it manually as a normal apk)

Thank you in advance! :good:
[Magisk] Didgeridoohan:
I have no idea... All I know is that Asus devices sometimes need to flash that. There's continuous work on making more devices compatible though, so it might work better with a future release.

Should still be valid.

That looks like your Magisk installation is completely broken. If you can, reinstall the ROM, choose to not install Magisk and do it manually instead.
[Magisk] gudenau:
I'm getting "The response is invalid." when checking SafteyNet now, what could cause this?

Pixel XL

Android 8.1.0, January 5, 2018 security update.

Magisk v15.3
[Magisk] robyshot:
Me too
[Magisk] Didgeridoohan:
Looks like an issue with Google's servers. I tested a few SafetyNet check apps and they all show the same/similar at the moment.
[Magisk] gudenau:
Just checked on my mom's phone, doesn't work either.
[Magisk] crafty35a:
Anyone know if Magisk is currently broken on the February security update (Pixel 2)? I just updated, and re-installed Magisk via MM (patched stock boot image). It appears to flash, but then MM shows "Magisk is not installed" and safety net check returns "The response is invalid"
[Magisk] Woody:
Look up man.
[Magisk] aNGERY:
phew i thought i messed something up. thanks guys.

love you all still <3
[Magisk] peterlee928:
much thanks for the confirmation. if you wouldnt mind, 2 additional questions:

1) are there any additional steps that i need to do to ensure that systemless xposed works after taking the ota?

2) does the method outlined in the link wipe

system settings and/or app data? i suspect not, but just looking to confirm.

much thanks in advance :)
[Magisk] fiverings:
Need some help, January update was the first time I used Magisk. I have a Pixel XL, I reinstalled the January factory update to get a clean install. I installed twrp and flashed Magisk 15.3 zip and everything went good. It installed Magisk manager 5.5.5 and I'm rooted, passed safety net and am certified. I want to install February update. Not sure if I need to do anything special or can I run flash-all wipe the -w flag and do the same steps I did to install Magisk the first time. Thanks ahead of time for your help
[Magisk] Woody:
Servers are back up [MENTION=4667597]Didgeridoohan[/MENTION]
[Magisk] buggerman:
I tried again. Still struggling with this. Tried to boot TWRP without flashing but it didn't boot.

Magisk Manager 5.5.5 stays frozen at splash when booting from a patched boot image.

---------- Post added at 06:55 PM ---------- Previous post was at 06:53 PM ----------

This post has the logcat

Link to logcat:

https://xdaforums.com/attachment.php?attachmentid=4409933&d=1517800622
[Magisk] crafty35a:
I see the discussion about the Safety Net check issue, but nothing about Magisk not actually working at all (it shows as not installed after I do the normal installation process on Feb security update).
[Magisk] ShadySquirrel:
One question for OP and others, especially module maintainers: is it possible to grab user input during module installation? I'd like to merge two versions of my module into one, and allow users to choose which one to install during flash time.
[Magisk] peterlee928:
https://xdaforums.com/apps/magisk/mod-magisk-v1-universal-systemless-t3432382/post75468558

see the second post and response.
[Magisk] BillGoss:
Have a look at Osm0sis' updater script thread, post 2, User choice

https://xdaforums.com/android/softw...ll-script-flashable-zip-t2934449/post56621542
[Magisk] Plarged:
Granting SU access and crashing

I'm running omnirom 8.1.0 on 3t. Magisk is currently driving me bonkers and I'm sure its me! Everytime I go on greenify it asks to grant SU even when I've done so "forever". Then greenify doesn't appear in " superuser" in magisk manager along with other apps I have granted SU to repeatedly. If I try unselect SU access for the only app that shows in this section on magisk manager which is titanium back-up, magisk manager crashes immediately. Any help would be great, thank you!
[Magisk] ShadySquirrel:
Thank you, that's a start but I'd need to find a correct keycode which may differ between devices... Which brings me to the second question: will that work from inside Magisk installer?
[Magisk] BillGoss:
I have no idea.
[Magisk] Didgeridoohan:
As always: logs or it didn't happen.

[MENTION=6037748]Zackptg5[/MENTION] Have got that working nicely in the V4A Unity module.

Known issue on Omni (and some other 8.1 ROMs) with data formatted as f2fs. There shouldn't be any issues with data as ext4.

There's been work on making the su database work better, but it's still only on GitHub. Build yourself or test one of these unofficial builds by [MENTION=3306843]kantjer[/MENTION]: https://github.com/kantjer/MagiskFiles

Keep in mind they're snapshots of the current code and may have issues...
[Magisk] Wangby:
Sorry for that:eek:

I have solved it
[Magisk] buggerman:
Anyone else facing this issue?
[Magisk] Didgeridoohan:
I finally had an opportunity to take a look at your log. There are a few errors in there that might be related, but I don't know enough to make anything of them.

It does look like you're quite alone with the issue though... Haven't seen many (if any) similar reports.

And just to make sure, you have done the usual things like disabling any themes you might have for the Manager and cleared the Manager data, right?
[Magisk] buggerman:
Yes. That is correct. I have no themes available and I have tried clearing the data and everything. I even tried reinstalling the Manager after performing a patched boot. No luck yet. This is on the Oreo build for Xiaomi Mi A1 (tissot).
[Magisk] Didgeridoohan:
You're in the completely wrong thread, so I'll answer you here instead...

In Magisk you hide root from selected apps by adding them to the Hide list and you can also hide the Manager so that apps looking for that won't trigger. That's it... Read more about it here: https://www.didgeridoohan.com/magisk
[Magisk] Alan0101:
Thanks sir
[Magisk] h4rl4n:
I was on Magisk 15.3, then i tried to flash Universal SafetyNet Fix | Universal Hide [v2 Beta 5] because SafetyNet was failing, now when i open Magisk Manager it says Magisk is not installed, i even tried to re-flash it from recovery but it doesn't work, suggestions?
[Magisk] patster98:
Hi! I'm having issues with the fingerprint root authentication feature... Used to work on previous version of magisk as a charm, but now, on v 15.3, y have to manually set root permission, it doesn't ask me for my fp anymore.. using Android 8.0, clean flashed magisk with latest nitrogen os via bluspark twrp, device is op3.. any ideas?
[Magisk] Danny94:
Hi i tried to install Magisk on my tvbox 6.01.

But im not able to pass safety net.

I used the unsuscript.zip and before un rooted completly with super su chainfire.

Magisk installation get completed successfull.

I enabled magisk hide and ticked core features only. (on my both smartphones its working perfectly)

Any hint how i can get it working ?

Edit:

Having a X96 box installed with https://xdaforums.com/android-stick...gic/rom-x96-2-16gb-root-supersu-twrp-t3596525

Id like to pass to stream Netflix. Im getting error 0013 every time.

EDIT2:

ok, the Netflix app was buggy, with a newer one its working now. No need to get working magisk anymore ;D.
[Magisk] jenslody:
usfn overwrites magisks internal busybox binary on each boot with another version, this might lead to issues.
[Magisk] h4rl4n:
Any way to buypass SafetyNet on Magisk 15.3?

OP3T - Lineage 14.1
[Magisk] Didgeridoohan:
Might be a case of the ROM not using a certified fingerprint. See "Matching official prop values to pass SafetyNet" in the Magisk guide:

https://didgeridoohan.com/magisk/Ma...tching_official_prop_values_to_pass_SafetyNet
[Magisk] kennethho:
RTFM?

Ever since I started hacking personal mods, perhaps ~4 months-ish? That had always been the way things are.
[Magisk] jaymoker:
wow !

such polite !

You absolute mad lad !
[Magisk] iru:
hello, am trying to install magisk on galaxy s2 (international), lineage-14.1-20180207-nightly-i9100-signed.zip rom, but keep getting error: ! Unable to unpack boot image

Maybe anyone know solution how can i install it? Thank is advance.

* Magisk v15.3 Installer

************************

- Mounting /system, /vendor

- Device platform: arm

- Constructing environment

- Adding addon.d survival script

- Found boot image: /dev/block/mmcblk0p5

Unable to locate class 'com/topjohnwu/magisk/utils/BootSigner'

java.lang.ClassNotFoundException: Didn't find class "com.topjohnwu.magisk.utils.BootSigner" on path: DexPathList[[zip file "/dev/tmp/install/common/magisk.apk"],nativeLibraryDirectories=[/system/lib, /system/vendor/lib, /system/lib, /system/vendor/lib]]

at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)

at java.lang.ClassLoader.loadClass(ClassLoader.java:380)

at java.lang.ClassLoader.loadClass(ClassLoader.java:312)

Exception in thread "main" java.lang.ClassNotFoundException: Didn't find class "com.topjohnwu.magisk.utils.BootSigner" on path: DexPathList[[zip file "/dev/tmp/install/common/magisk.apk"],nativeLibraryDirectories=[/system/lib, /system/vendor/lib, /system/lib, /system/vendor/lib]]

at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:56)

at java.lang.ClassLoader.loadClass(ClassLoader.java:380)

at java.lang.ClassLoader.loadClass(ClassLoader.java:312)

- Unpacking boot image

MagiskBoot v15.3(1531) (by topjohnwu) - Boot Image Modification Tool

Parsing boot image: [/dev/block/mmcblk0p5]

No boot image magic found!

! Unable to unpack boot image

- Unmounting partitions

Updater process ended with ERROR: 1

I:Legacy property environment disabled.

I:Install took 9 second(s).

Error installing zip file '/sdcard1/s2 ps4/Magisk-v15.3.zip'

Updating partition details...

I:Unable to mount '/usbotg'

I:Actual block device: '', current file system: 'vfat'

...done
[Magisk] chicato83:
When I flash a module with magisk it said the installation is done. Bue when I reboot my Doogee Mix the module disappear. What can I do to fix it?
[Magisk] tomkug:
Huawei P10 Lite WAS-LX1A C432 unable to flash MAGISK 15.x

Hi !

Since version 15.x the installation process of the zip - file via TWRP aborts on my

P10 Lite. I always have to install Magisc V14.0 first and can afterwards update to version 15.3.

Has someone an idea ?
[Magisk] mihir24:
Pixel XL - Magisk 15.3 - Stock ROM - Stock Recovery

Every now and then, I get Magisk prompt that new update is available. When I go to check, the app tells me that latest version is 15.3 and installed version is none. And then it prompts me to install Magisk. Nothing happens if I choose to install.

Everything returns to normal if I reboot my phone.
[Magisk] jenslody:
Please save the recovery.log (directly after installation fails) and attach it here.
[Magisk] Abomb:
I have a moto x4 with oreo. There currently is no way to have a custom kernel AND twrp on the device at the same time, so to use twrp you have to "fastboot boot twrp.img". I flashed a magisk patched boot image containing a custom kernel, installed magisk and everything worked fine. I flashed a magisk module (busybox) and suddenly the device no longer boots - it hangs before the bootanimation starts (and sadly also before adb connection is possible). I tried flashing the magisk uninstaller in recovery but get "...Device platform arm64; Updater process ended with ERROR: 1". If I flash a normal boot img (not magisk patched) the device boots again - but of course then I can't uninstall/disable modules. I searched a lot regarding this problem and most guides etc say to use magisk uninstaller / magisk mount zip's and flash from recobery, but that is not working for me. Is there some way to disable/uninstall magisk (or modules) manually?
[Magisk] madbat99:
You could probably delete them (or move them to somewhere else) from magisk/ partition.