yashsingh1/xdaforums huggingface dataset:
[Magisk] Deltadroid:
I understand that this MOD requires editing the boot.img, so it will not work on specific devices that require a specially signed boot.img. This includes just about every LG device that has a locked bootloader. But, there is still a way to edit a signed boot.img and resign it again so that it can be modified and still work (with locked LG bootloaders for example).

echo "Bumping the boot.img."
printf '\x41\xA9\xE4\x67\x74\x4D\x1D\x1B\xA4\x29\xF2\xEC\xEA\x65\x52\x79' >> newboot.img

Note: This key works to resign (bump) all LG boot.img's from android 4.4.4 to 6.0.1
[Magisk] JudgeDread11:
No it should state root status mounted and you should be able to unmount it.

Try flashing root again an check the log.
[Magisk] Blaiser47:
Works fine in my N6 with active display so that's not it.
[Magisk] iscaela:
AFAIK Nexus 6 Ambient Display feature, which relies on the lock screen, is completely unrelated to the 2013 Moto Display which runs on a dedicated chip.
[Magisk] HeroCC:
Thanks for this great tool! I was just wondering if there was anything the community could do to help out with supporting SuperSU and Android Pay. I know you and chainfire had a bit of an argument, but now that it seems to be over, I would love my new favorite android mod to support my favorite root managing app. (Plus several apps have told me that the su binary / selinux policy I am running may cause issues)

Also, another quick question. If I wanted to switch to SuperSU, but I already flashed the SuperUser zip, how would I be able to uninstall it? And is there a specific way to install OTAs but keep root? I am not very experienced with the in-depths of that kind of stuff, but it would be useful for the future or if I ever want to completely reset the device.

Thanks so much!
[Magisk] tohtorin:
How to just place file in system? Where should I place it? And how magisk takes it into loop mount? /magisk/whatevername/system/folder/file ?
[Magisk] sooyong94:
I tried flashing root and now I'm getting an error 1. I'm using Phh Superuser BTW.
[Magisk] Didgeridoohan:
Is it only App systemizer causing issues? That error (config.sh, line 118) with the module is being discussed in the App systemizer thread as we speak...
[Magisk] SpasilliumNexus:
IT HAS NOTHING TO DO WITH MAGISK! As I've stated in that OB thread for the 3T, I am ABSOLUTELY stock. Locked bootloader. Went from 4.1.3 to OB5 to OB6. CTS is failing on OB6.

You guys are going to have him looking for non-existent issues on his side that can only be fixed by OnePlus.
[Magisk] Bhujji:
None of the modules installed for me when trying through magisk manager but most of the modules are working when flashed through recovery. I have only tried 4 or 5 modules and app systemizer is the only one so far that is not working when flashed via recovery. But they have stated that not to flash via recovery but only through magisk manager. I am using Honor 7 with stock B390 ROM.
[Magisk] Didgeridoohan:
The issue with App systemizer has been reported in the module thread and I'm sure [MENTION=2226076]stangri[/MENTION] have his little grey cells working on it.

The Magisk log you provided didn't show anything about installing any modules. Was it saved right after a reboot following an installation attempt through the Manager?

Capture a logcat while trying to install a module. That might shed some light on the issue... Logcat guides:

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

https://xdaforums.com/showthread.php?t=1726238
[Magisk] Bhujji:
The magisk log I provided was taken right after the installation failed. I am attaching the adb below after trying to install some 2 modules magisk. If there is anything wrong please let me know.

https://pastebin.com/GVYVEqwz
[Magisk] Jerjawi:
Solved!
[Magisk] and8eye:
how can i temporarily disable magisk through recovery?

or does any one know how to remove installed magisk module cuz i think it made my phone freeze
[Magisk] biggdevon:
Download Magisk Mount from the main thread and flash it in recovery without rebooting. It will give you access to the Magisk files in your recoveries file manager. You can then delete whatever files you need.
[Magisk] Didgeridoohan:
I'm no expert on logcats, but I'll look later... Meanwhile, use TWRP...

You might have the same issue as the guy I answered above. Flash through recovery instead.

And please don't cross post... It so easily creates confusion.

Please don't cross post... It so easily creates confusion.
[Magisk] teddy0209:
Yes... The only problem is you have to activate magiskhide manually via terminal...
[Magisk] siuburu:
That didn't worked also, my phone eve without root doesn't pass safetynet, should I make a clean install of miui rom?
[Magisk] Didgeridoohan:
More things than root trigger SafetyNet (unlocked bootloader is one, permissive SELinux another). Look through the troubleshooting link in my signature for a bunch of tips on how to get Magisk Hide up and running.
[Magisk] Sealant:
Hi!

I have problem cuz.. I have g4 android 7.1.2 and root working with magisk.. But when i install somethink from download section and install and chose option restart.. For example viper4android i dont see this app in the menu but in modules is active. What i have to do to working modules?
[Magisk] skiely666:
Hello, am I ok to flash 12.0 on May security update stock 7.1.2 6P? I have it running on my April 7.1.2 no problem but apparently there's a new boot in the May update. I did read back a few days but didn't see anything related. Any feedback would be great..

Thanks
[Magisk] culiacanazo:
You have to download it from the "download" tab, click on your module, it'll expand, giving you a link

EDIT: Do NOT click the arrow, as it will redownload just the MODULE
[Magisk] teddy0209:
Safetynet is another story... You need to match the details of your device's official global stable rom...
[Magisk] Didgeridoohan:
From what I've read the only issues have been on Pixel devices. Works fine on Nexus 6 so I'm sure it'll be fine on the 6P as well... But! Always have a backup.
[Magisk] siuburu:
Well, sadly there is no Global Rom for my device. I will try to do a clean install xiaomi.eu rom to see if it passes safetynet check
[Magisk] tdunham:
Lots of references to busybox, but I have no success searching...

Does anyone happen to know of a way to enable busybox on by default at boot?

For the purposes of some applications, it is required and let's face it, users just don't follow direction well. ;)

While we're at it, the same question for the Magisk Hide feature.
[Magisk] Artim_96:
... Are you kidding us? Have you ever looked inside the Magisk manager?
[Magisk] #ApolloLiteProblems:
Magisk made my phone bootloop

My phone is in a constant bootloop after installing Magisk 9 (I didn't realize that Magisk 12 was out) and the uninstaller won't work in TWRP. Any suggestions?
[Magisk] Didgeridoohan:
Flash your stock boot image. That'll disable Magisk.
[Magisk] #ApolloLiteProblems:
My stock boot image isn't in the storage, it seems it didn't back it up. I've searched in /data and it isn't there.
[Magisk] Didgeridoohan:
You'll find it in your ROM/factory image.
[Magisk] #ApolloLiteProblems:
Ok thanks. I'll update if successful
[Magisk] tdunham:
I guess you didn't comprehend my request that the feature be set AT boot. Let me interpret: on fresh flash of a custom rom with no user intervention involved. The snooty reply was not warranted or necessary.
[Magisk] wihushae:
Hi!

I've got an agm x1, and I've rooted it and installed twrp (and the automatic su which is installed is supersu from chainfire).

After this I flashed the magisk v12 zip in twrp, and rebooted. Then I updated the magisk manager via the playstore and after opening it it says v12 installed, but no root now! :(

What went wrong here? After this I tried to switch from supersu to phh, and flashed the zip again, but without success.

Has anyone a hint or an idea how to get magisk working?
[Magisk] Artim_96:
So you want to activate those features before they can even run because Magisk itself is still preparing the system to run them? Do you get the point?
[Magisk] Didgeridoohan:
Your request wasn't very clear... Those features are set on boot if you've enabled them in Magisk Manager. You never mentioned anything about fresh flashes and custom ROMs...

Enabling Magisk Hide is just a matter of running the enable script in /magisk/.core/magiskhide. There's a lot of changes going down on GitHub at the moment though and I think you'll be able to enable/disable Magisk Hide directly by a simple command in the next version (pure guesswork on my part from looking at the code and files on GitHub).

I don't know about busybox, but I'm sure you could find something by taking a looking at the code on GitHub.
[Magisk] tdunham:
I wasn't sure about busybox and how or when it takes effect. Typically busybox is installed as a service that is available right away once a rom has booted. I was just curious if anyone found a way to have the one integrated with Magisk enabled right away without having to rely on the Manager to do it for us.

Lets face it, many rom users aren't that sharp. They cant or wont read instruction and never will so I'm trying to make things a little seamless.

---------- Post added at 07:59 PM ---------- Previous post was at 07:57 PM ----------

This would be perfect. From a rom builder standpoint, we try to make things as easy as possible for the users and having script capability would be a great help. :good:
[Magisk] #ApolloLiteProblems:
Still bootlooping after flashing stock boot image
[Magisk] Didgeridoohan:
And you only flashed Magisk? The only modifications are to the boot image, so restoring a stock untouched copy should revert any changes the Magisk installer made.

If nothing else, try dirty flashing your ROM or if that doesn't work, wipe and start clean. Of course, restoring your backup would also work...
[Magisk] #ApolloLiteProblems:
Wiped and started again - flashing boot image seemed to uninstall os
[Magisk] Artim_96:
...have you flashed it to recovery or what? Or have you just flashed the wrong one? You know you have to flash the one that comes with the ROM you are using?
[Magisk] #ApolloLiteProblems:
Right one, in twrp
[Magisk] Artim_96:
Well, you have to have done something wrong because it's impossible to uninstall a ROM by flashing its boot.img
[Magisk] culiacanazo:
And that's an RC your talking to...

What can one expect of rooks and noobs?
[Magisk] teddy0209:
Then maybe you can't pass SN at all. Basic integrity maybe... Or try imitating another device...
[Magisk] rignfool:
Rather than just asking 'does this do that'... If you could let us know the desired end result... We could probably steer you in the right direction...

I can tell you this... Busybox is loaded (if using the manager)... When magisk pushes it's dummy system... Which I think happens during post-fs...

I think the only thing that you might miss... Would be init.d if you use busybox to trigger that...

If that's the issue... I know you can include busybox in your ramdisk... And I know also that dirty unicorns manages init.d without busybox...

---------- Post added at 07:33 AM ---------- Previous post was at 07:32 AM ----------

That's not true...

However... We'll assume no one here has released a boot.img that wipes your device...

Carry-on
[Magisk] ashyx:
As far as I can gather from the conversation, the stock boot.img was referred to several times. Nowhere in the conversation was it referenced that a custom boot image was possibly being used.

So the assumption would have been stock. :p
[Magisk] gfons:
Hi,

I have a non rooted note edge on stock. Do I have to flash SuperSu first in TWRP before flashing Magisk?
[Magisk] Didgeridoohan:
That depends entirely on what your end goal is with using Magisk.

If you want to use Magisk Hide you'll just have to flash Magisk, nothing else (Magisk Hide can only hide MagiskSU). Otherwise you can use SuperSU just fine, as long as you install it systemlessly before flashing Magisk.
[Magisk] gfons:
If I flash Magisk, will my device be rooted and can I make some apps system apps?
[Magisk] Didgeridoohan:
Check and check.

MagiskSU with the Magisk Manager as root manager and there's a couple of systemiser modules to download in the Manager.
[Magisk] Joshmccullough:
To be clear, I meant that whatever OnePlus did with their new Beta update broke Magisk functionality, not that Magisk didn't somehow anticipate and proactively make an update for an OP3 Beta build. No fault of Magisk, but more wondering if others were experiencing similar issues.
[Magisk] gfons:
Ok so everything works fine untill I want to make an app a system app then it says magisk stopped, device reboots and the app I wanted dissapeared and need to be installed again from playstore. Can somebody help?
[Magisk] teddy0209:
How did you do it? You can use magisk modules available on the repo like previously suggested...
[Magisk] gfons:
I did it with the app /system/app mover ★ ROOT ★ from the google store. Everytime I reboot after make it system app it is just gone.
[Magisk] teddy0209:
Just use the modules from the repo, you can download them using magisk manager, you have two options there...
[Magisk] Didgeridoohan:
They hadn't certified the beta with Google... Reportedly, it's been fixed.
[Magisk] Javi22:
Does magisk remove forced encryption as well as supersu?

thanks
[Magisk] SuperSandro2000:
Download the app and look under install. There is an option to keep it
[Magisk] Javi22:
Hmm it happens that magisk.zip already comes with my rom (R remix) so I dont use any app. Any way I can see in that zip If they have disable it or not?
[Magisk] SuperSandro2000:
Idk never tried encryption. You could remove the zip somewhere inside your ROMs zip and then install it manually.

Edit: for me it is right inside the magisk folder. If you flash it without it then you maybe get an error but in theory it should work. Never tried it although...
[Magisk] Joshmccullough:
Sorry, didn't think this took the first time....

Indeed it has, working just fine now! SafetyNet passes the check, can add a card now. Thanks for the tip, I wouldn't have thought to check otherwise!

---------- Post added at 03:57 PM ---------- Previous post was at 03:55 PM ----------

Indeed it has; just checked a moment ago, Magisk passes the SafetyNet check, I can add a card again. Thanks for the tip, I wouldn't have thought to try again otherwise!
[Magisk] 343N:
so i installed some Magisk modules and now my phone is stuck on the boot logo (Samsung Galaxy S5), not the ROM logo or what have you.

is there a way i can disable these modules from TWRP recovery?
[Magisk] ridobe:
Sure. Just flash the mount-magisk.zip then remove the modules.
[Magisk] culiacanazo:
I've noticed that sometimes (no way of knowing since who knows what you flashed), and i do not know the reason behind it, but it will take an awful amount of time to pass that screen when other times it breezes past!
[Magisk] logo20heli:
It works fine on my 6P with May security OTA installed.
[Magisk] mohmd.nagy:
Have you got any reply or solution
[Magisk] Didgeridoohan:
Yes, he got a few replies (did you try to keep reading the thread?) but we did not find an immediate solution for him.

The conversation that followed after the post you quoted amounted to this:

I can uninstall system apps just fine with Titanium Backup on my Nexus 6, as long as I don't have any Magisk modules adding apps to system. If an app is added to system by a module TiBu won't see the real app, but Magisk's systemless mask and won't be able to uninstall the app.

[MENTION=4065345]Midomad[/MENTION] was not able to get it to work on his OnePlus 3T. Maybe he's got it working since...

If you have any module that makes Magisk mount /system/app or /system/priv-app, try disabling that module and try uninstalling again.

But, since you're using Magisk, why not embrace the systemless way and make a debloating module or use the Terminal Debloater module by [MENTION=7296895]veez21[/MENTION]?

Edit: I plan on doing more testing on this when I have the time and opportunity.
[Magisk] Midomad:
Since i used solid explorer to delete system apps,no.
[Magisk] R3van:
How can i add an app to Magisk Manager Superuser to grant it root rights?
[Magisk] teddy0209:
What app is that? The app should request superuser access...
[Magisk] R3van:
Secure Settings

Yesterday i removed an app from the list just to try out if it request root again but it didn`t (adaway)

Everytime i start adaway it tells me that it find no root.

The actual problem is to get BT auto tethering working with tasker and secure settings
[Magisk] ammar18:
Try to reinstall AdAway. It might work.
[Magisk] R3van:
tried it already, didn`t helped
[Magisk] teddy0209:
Try to clear data of magisk manager...
[Magisk] R3van:
i reinstalled the whole phone already, my problem actually is not adaway but secure settings. There is no request for root rights when i start the app.
[Magisk] Didgeridoohan:
Secure Settings is an ancient app that knows nothing about systemless root.

If you really need it you could try this: https://xdaforums.com/apps/magisk/magisk-suxinbind-t3564673

I'd try to find alternatives though...

Edit: isn't there a Tasker plugin called Secure Task or something similar that does kind of the same thing?

Edit 2: Apparently Secure Settings can recognise root if you add a comment line to your build prop, the same way Tasker does (thank you [MENTION=3290808]rignfool[/MENTION]). I've made a Magisk module for that. Give it a go:

https://xdaforums.com/showpost.php?p=71862904&postcount=12243
[Magisk] aredpanda:
Hello guys, I'm in need of some assistance after my apparently stable setup started to bootloop.

I was using Magisk v12 on my OnePlusX + LineageOS 14.1 with MagiskSU and MagiskHide enabled and everything was working flawlessly.

Now, after enabling LOS' Terminal app and granting it root access and restarting the device(dead battery) it started bootlooping.

I then recovered my OS by re-flashing my LOS build but whenever I try installing magisk again I just go back to bootlooping again. I've tried disabling the terminal app and cleaning all magisk manager related data from the phone but whenever I try installing Magisk again over LOS it starts bootlooping.

The only Magisk module I was running before the bootloops started was the one to replace the emoji font for iOS 10's which I'm under the impression wouldn't cause this.

I'm now back to "stock" LOS but I would really like to get Magisk back as I'm pretty sure both the phone, OS and the custom kernel are compatible with Magisk, so it should be some configuration or leftover files causing this(?)

Where should I start looking for errors to debug this further?

Any help would be appreciated!
[Magisk] BIade:
Hey mate, thank you soo much for this post!!!

Yes, yes you all can laugh about the noob of blade now xD

But seriously I was searching for that answer a kind of long time ^^

Gratefully

Blade
[Magisk] DodoGTA:
Use LiveBoot app to debug that issue: https://play.google.com/store/apps/details?id=eu.chainfire.liveboot
[Magisk] magician369:
Hi guys, I am new to Magisk. It was preinstalled on a new costume rom for my S7. It works fine with Pokemon go using the Magisk Hide list, but it does not seem to work with the play store or my banking app by just checking them in the list. both apps know that I am rooted.
[Magisk] Didgeridoohan:
Collected tips for troubleshooting (you'll want to read post #4):

https://xdaforums.com/apps/magisk/magisk-magisk-hide-troubleshooting-tips-t3561828
[Magisk] Emenaria:
How can I force Magisk Manager to use English language? App names don't seem to show up correctly (it says %1$s is granted superuser) when used in a different language than English...
[Magisk] w0rdie:
Not sure if we are dealing with the same thing but I installed RR 5/4 build and Magisk 12 -- everything works fine until I install the emoji module. I suspect something is wrong there so I'm going to live without it for a while.
[Magisk] aredpanda:
Thanks for the input but my problem ended not having anything to do with the module, as I initially suspected.

My /data/magisk.img must have been corrupt somehow because I had to manually delete it before flashing Magisk again to get things working. Everything is just fine now, including the iOS10 emoji module.
[Magisk] rignfool:
Your build prop edit magisk module makes secure settings work like Tasker does...
[Magisk] Didgeridoohan:
That's awesome! I had no idea... Good to know.
[Magisk] Hyflex:
HI for some reason magisk is installing superuser but not itself... No idea why.

I am running the latest Lineage ROM for my Nexus 4.
[Magisk] biggdevon:
What version are you trying to install? Appears your installing a snapshot version 13.xxxx. The recent versions don't work. Either try the official v12 or go back to v13.xx415
[Magisk] Hyflex:
I read in the 13 snapshot thread that the very latest one is working again...
[Magisk] DodoGTA:
You need to do an edit for Magisk to fully work:

https://xdaforums.com/apps/magisk/unofficial-magisk-v10-beta-built-t3521901/post72050553
[Magisk] Hyflex:
Yep already tried but I can't get the tasker code to work and don't know why.
[Magisk] Bebi_v24:
I enabled Busybox and "lost" root, usually it goes away after some reboots but not this time. In Magisk Manager the setting to disable (along with other settings) aren't there since it doesn't think I'm rooted. Can I disable Busybox via recovery? What should I do?
[Magisk] teddy0209:
A reboot normally fix that, but anyway, have you tried reflashing magisk?...
[Magisk] kessaras:
i don't understand something as far as magisk and safetynet check.

Dirty flashing from build to build, it passes safetynet check every 2 rom updates and every 2 rom updates it fails.

How is that possible ? (OP3T - RR official).

Example. Flashing today lets say i fail to pass safetynet check.

Next update it will pass it.

Next it will not.....

Thats something going on since some time but i didn't search or ask about it.

I thought maybe its a coincidence. But now it doesn't seem like that any more.

Any idea whats going on and how can i always pass safetynet check without having to wait for a week for the next build ?
[Magisk] teddy0209:
As previously discussed, it's related to the rom certification by google... If you want to always pass, make a props module using the properties of a passing build. That should do the trick...
[Magisk] igorinolw:
Redmi 2 , clean global flash, it passes safetynet but after installing magisk, it goes cts mismatch and can't even play pokemon. hide applied and also tried safetynet fix for miui somewhere in xda, but still no sucess. Any advice?
[Magisk] teddy0209:
Are you sure magiskhide started properly? Did you check using a root checker app?
[Magisk] igorinolw:
Root works normally, here's the log of magisk

tried magisk hide on root checker, it detected root. it means hide is not working, isn't it?

i already tried disabling and enabling it via terminal/in app and rebooting and no sucess
[Magisk] dhirajahuja432:
Unable to install Magisk in my Asus Zenfone 5 plz help
[Magisk] teddy0209:
Yup, that means magisk hide is not working... Did you try multiple times in terminal (disable,enable,disable enable)?

Edit: By the way, what version of magisk are you using?

---------- Post added at 09:17 AM ---------- Previous post was at 09:16 AM ----------

Recovery log?
[Magisk] kessaras:
thank you teddy but i have zero knowledge on how to create a module. It looks so hard to me. i'm not good at studying. To learn that i have to download an existed module and edit it to see whats inside and how its done... when i have the time to do that :)

For now i only need to understand.

You mean that if i use the previous builds' build.prop that worked and had safetynet check passing, i will pass it ?
[Magisk] dhirajahuja432:
[MENTION=3615867]teddy0209[/MENTION]

Here is my recovery loghttp://cloud.tapatalk.com/s/590d8bd4cb7c8/recovery.log