yashsingh1/xdaforums huggingface dataset:
[Magisk] StuttgartKiwi:
You're right, it is better, but I'm personally not a fan of dark themes - I much prefer to use light themes on my phone. And I'd rather see the app use good contrast on

both

themes... ;) Every other app I have on my phone, which uses a darker colour on its Action Bar, uses white text there, not black text. Magisk Manager is the sole exception. :)
[Magisk] jenslody:
MagiskManager enables systemless host automatically if "/sbin/.core/img/.core/hosts" exists on boot.

In other words, if adaway creates it and the user restarts the device, it will be mounted as "/etc/hosts".

Disabling systemless host just removes "/sbin/.core/img/.core/hosts" after unmounting it from "/etc".
[Magisk] martyfender:
Your stock boot.img is backed up to /data as a .gz zipped file. On my devices it is the last entry in data as stock_boot_a long list of characters here.img.gz.

I believe you need to unzip it and place it in internal storage for Magisk Manager to see it.

Once patched in Magisk Manager it is saved in internal/MagiskManager as:

patched_boot.img, which you can move to your PC and flash through fastboot or or flash through your device in TWRP.

A a test, I just successfully flashed patched_boot.img through TWRP. Since you don't have a custom recovery, flashing in fastboot should give the same result.

I checked on my 4 devices of the same hardware and on all of them my stock boot.img is backed up there. On all of those devices, though, I originally flashed a stock boot.img in TWRP, immediately followed by flashing the Magisk.zip, also in TWRP. When flashing Magisk.zip in TWRP there was a message that my stock.img was backed up in the process.

When I patched it through the Manager, I now see a newer stock.img backed up in /data with the current date and time that I recently did it, so I'm not sure why your device isn't saving the backup.

Hopefully, someone more knowledgeable than me will comment on this like [MENTION=4667597]Didgeridoohan[/MENTION] .
[Magisk] StuttgartKiwi:
On my phone I don't have any .gz file located in my /data folder.

I do have the patched_boot.img file located at internal/MagiskManager, but that is the patched version of course, which was created from the original stock version.

I need to know where MagiskManager expects to find the original stock version again, when it attempts to restore the image. If it's supposed to be saved in /data, then why isn't it there on my phone? Especially as I've followed the official installation instructions to the letter. I'm not sure what is missing with the process. I'm hoping [MENTION=4667597]Didgeridoohan[/MENTION] has some ideas...!
[Magisk] PerfectSlayer:
Thanks! It is good to know but I see two issues here:

First I am dependent of the current implementation of Magisk (subject to change if the author find new or better way to handle it).

Secondly I think Magisk manager is able to enable it without reboot, isn't it? If I create the file, I will have to reboot (not the best user experience).

But it gives me something to start the feature :highfive:
[Magisk] martyfender:
I added to my post above.
[Magisk] StuttgartKiwi:
Thanks for the update. I think the key difference between what you've done and what I'm doing, is that you've done the initial flash via a custom recovery, while I have not. Perhaps that's why you have the backed-up stock image in your /data folder and I don't.
[Magisk] iHeymanth:
after flashing magisk, wi-fi isnt turning on. heard that restoring stock boot.img might fix it but no success. even uninstalling magisk completely doesnt make my wifi working. solution?
[Magisk] martyfender:
When I patched a copy of the stock.img through the Magisk Manager, it also created a new, current backup, in data.

Have you tried searching your device for: stock_boot* ?

It seems to me that you are correct in your assumption that if you are flashing an already Magisk patched boot.img through fastboot, that no backup is created.

I just checked and when patching the stock.img through Magisk Manager, the stock backup is saved in: /data/user/0/com.topjohnwu.magisk/install . After reboot, this is moved to /data.
[Magisk] jenslody:
It seems to work also, if you mount "/sbin/.core/img/.core/hosts" to "/system/etc/hosts".

I tried it and after restarting MagiskManager it shows systemless hosts as active.

But I think I read somewhere, that android does not use the new hosts-file without a reboot, but I might be wrong here.
[Magisk] Didgeridoohan:
Was just about to hit the sack when I noticed my name had been thrown around a bit. Quick follow-up:

[MENTION=4803251]StuttgartKiwi[/MENTION] The description provided by [MENTION=8126387]martyfender[/MENTION] is accurate. The stock boot image backup is kept in /data and is a gz patched file named stock_boot_<sha-1 hash for the boot image file>.img.gz.

I'm not sure why the backup isn't created on your device. It should, even when using the Manager to patch the boot image on an unrooted system. I just tested, and it works... When patching, it places the backup in the Managers data folder and then Magisk moves it to /data during the first boot after flashing the patched image (or just the next boot if you're already rooted).

Try running the following command as su in a terminal emulator (not Termux):

find -name 'stock_boot*'

That will show if there even is a backup on your device. If there is you could move it yourself. If there isn't you could try patching the stock boot image again, reboot and see if there is a backup available this time. If it still doesn't work an installation log and a logcat when you patch the image file, and a logcat during the first boot after would be useful to figure things out.
[Magisk] plukanin:
what is the proper installation order for

rom(any 8.1 decrypted based custom rom, one plus 5)

gapps

custom kernel

magisk

magisk moduls

flashing after cleaning(clean flash)?

when do I have to do boot inbetween after flashing a custom kernel, or rom? do i have to reflash magisk moduls again?

2)what ist the proper rom update procedure for things above?

I had checked and read and searched but never found a right solution.

Thanks in advance!:cowboy:
[Magisk] StuttgartKiwi:
Thanks [MENTION=4667597]Didgeridoohan[/MENTION]! Your statement that "Magisk moves it to /data during the first boot after flashing" was the key bit of info for me. I've rebooted now, and the backed-up .gz file is there under /data now. I have no idea why it wasn't there before, however, as I had patched the stock boot image correctly a few days ago, and flashed it from my PC using fastboot, per the instructions, and it had worked correctly - but the backup wasn't there. But now it is. So - crisis averted! Thanks again!
[Magisk] flipmode_11:
Please provide some chopped wood.

Downgrade to 16.3 and see if you can replicate issues.
[Magisk] jenslody:
Termux works fine also, just add the start-path to the command, and you might get tons of error-messages due to folders you are not aloowed to search (even a s root), to avoid this you can pipe the error-messages to null-device:

find / -name "stock_boot*" 2>/dev/null

Good to see that it was there (finally).
[Magisk] jcmm11:
To remove the AdAway hosts and return to default hosts all you need to do is unmount

su -mm -c umount -l /system/etc/hosts

To restore the AdAway host file

su -mm -c mount --bind ${Suhosts} /system/etc/hosts

where $Suhosts=/sbin/.core/img/.core/hosts

The AdAway file will be automatically remounted after a reboot. It should also be remounted before applying any host file updates.
[Magisk] SignetSphere:
Magisk Manager 5.7.0 on Magisk 16.0 still crashes randomly when refreshing downloads tab. What's weird is after the crash the app functions normally. Logcat attached.

My device is a Samsung Galaxy J7 Prime (2016) 32gb, running a stock rom based on Nougat 7.0 with Oxygen as its custom kernel.

Ah... my bad i saw a post from Didgeridoohan that it's a known bug that is fixed but not yet officially released. Please disregard my post.
[Magisk] supermansbrother:
Magisk 16.0 and manager 5.7.0 turns up failed safety net on fresh install of lieage 15.1 on LG V20. I've been out of the loop as far as root goes for about 6 months as I got a new device but I'd like to use the V20 again... Is there anything I need to do to pass safetynet?

I had Xposed on it previously is it possible closed somehow wasn't wiped in my install process? (I wiped dalvik/cache/data/system in TWRP)
[Magisk] flipmode_11:
Join the club! :good::good::good:

I've req'd for no grey in this and other apps for a long time now. It is Anti-Web2.0 as that means it should be easy to read! How can grey on white or grey on other colours be legible? I don't wear glasses and have perfect vision. Please just use Black #000 or White #fff. None of this #888 or #444 or #ddd :P

I don't mind if it is black or white, just not grey.

And why is the reboot menu not in the NORMAL menu? Please add somehow to the left menu or elsewhere (like ...). Saves me opening TWRP all the time!

Please also clone the Modules section with the [+] button, so people are aware they can flash any ZIP, including the v14-v16 Magisk SU Flashable ZIP though Magisk Manager.
[Magisk] Didgeridoohan:
64-bit binaries removed in v16.4. Use this for now (there's both an installer and uninstaller available):

https://xdaforums.com/showpost.php?p=76390955&postcount=24564
[Magisk] flipmode_11:
Hmmm... a conundrum with an RK3328 box.

Cannot find a compatible TWRP Recovery.img on forums to boot via SD card.

Cannot flash .ZIP or .APK files via TWRP Android App.

This notebook refuses to communicate and properly install drivers for Android devices, not even my phone.

How can I flash if cannot use USB and there is no bootable TWRP for RockChip?

Thank you! :)
[Magisk] tomahawk5000:
Hi, do somebody know why my note 3 with kernel gugu0das work on magisk 15.3 but not on the last version - I am talking about safety net pass.
[Magisk] martyfender:
Maybe if you provide this, someone can help?
[Magisk] Paz9:
Latest magisk manager doesn't open on p20 pro, 16.0 installs and opens fine but then asks for an update, after update magisk manager doesn't open

[MENTION=4470081]topjohnwu[/MENTION]

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

Latest magisk manager doesn't open on p20 pro, 16.0 installs and opens fine but then asks for an update, after update magisk manager doesn't open
[Magisk] morgoth6:
One point for you. It seems this fixed two problems I had with recent 16.4 on OP5 OOS. The official version gives me single reset on boot (few seconds after pin question appear. Funny it mostly works after that) Second the Manager constantly crash when searching for updates (it crash 3-4 times after launch and works until next launch)
[Magisk] Firmino1919:
please help me to solve my problem

my device

https://xdaforums.com/album.php?albumid=14914&pictureid=57418

my problem

https://xdaforums.com/album.php?albumid=14914&pictureid=57417
[Magisk] martyfender:
What problem? Did you post device info and logs?
[Magisk] flipmode_11:
Magisk Universal Systemless Topic Request

Request

RE: https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Please update original topic post (OP) - available shell commands and which issues have been fixed.. It is really

out-of-date

.

Searching errors with Play Services and shell commands.

Cheers! :)

Example:
[Magisk] Didgeridoohan:
Uhm... Your example is quoted from the release notes for Magisk v8. The

OP

of the release thread is well and properly updated.
[Magisk] Logix:
Thread cleaned!

Please treat each other with kindness and respect.

Thank you kindly,

Logix
[Magisk] PerfectSlayer:
Thanks both of you!

I had a look to the source of Magisk Manager and it confirms the solution:

case Const.Key.HOSTS:
if (prefs.getBoolean(key, false)) {
Shell.Async.su(
"cp -af /system/etc/hosts " + Const.MAGISK_HOST_FILE(),
"mount -o bind " + Const.MAGISK_HOST_FILE() + " /system/etc/hosts");
} else {
Shell.Async.su(
"umount -l /system/etc/hosts",
"rm -f " + Const.MAGISK_HOST_FILE());
}
break;

So I implemented the similar logic inside AdAway (I already have similar code to support ChainFire SuperSU and phh's SuperUser) and it works well :victory:
[Magisk] Gheartxz2017:
magisk app doesnt install in my xperia m2 LOS 15.1 (oreo 8.1)
[Magisk] Gheartxz2017:
why i cant update the apps from play store :/
[Magisk] guest4711:
Because google does not like this app. See https://www.xda-developers.com/magi...e-developer-responds-on-the-future-of-magisk/
[Magisk] Gheartxz2017:
so.. this isnt fix the problem 2 update any app from play store? :confused:
[Magisk] Strephon Alkhalikoi:
Magisk has nothing to do with updating apps from the Play Store. Your problem is caused by something else.

If that isn't what you meant, please explain.
[Magisk] Gheartxz2017:
play store only explain the issue 933, i do clean cache and format data but still the problem
[Magisk] vlamnire:
Magisk Gets Uninstalled Randomly

Hello,

I'm running Lineage 14.1 and I have Magisk 16.00 on an LG G4 (I'm using unofficial builds since Lineage team dropped it due to encryption breaking). Sometimes on reboot Magisk will be uninstalled. I have to go back in recovery and install it again. Is there a way I can fix this?
[Magisk] Strephon Alkhalikoi:
Your issue has nothing to do with Magisk and thus is beyond the scope of the thread.
[Magisk] demonoidmaster:
Imho sounds lke your rom is causing that
[Magisk] Jaymin.0.1910:
Do you have any iTYBP Vanced Magisk module installed ??
[Magisk] iHeymanth:
Flashed v16.0 on marshmallow and it worked fine but "WI-FI IS NOT TURNING ON"

what is the possible solution? I have tried dirty flashing, flashed boot.img, wipes, but nothing worked but to clean reinstall the firmware
[Magisk] Draizix:
magisk hide / safetynet problem

Hi there. I am having an issue with Magisk Hide and Safetynet. When playing Fire emblem heroes, every so often I get the error in that game that you can't connect (error 803-3001, which is basically it detecting root etc) and have noticed everytime this happens safetynet trips and fails. I go into the manager and check safetynet and both basic/cts come up fail. I either reboot or turn off magisk hide and turn it back on and then both come back green again and all is fine until FEH checks safetynet again which seem to be random as all hell and not set times.

I have tried both regular stable magisk v16 and the beta which I'm currently using atm v16.4 My phone is a Pixel XL, using kernel ElementalX on current April Update. I have tried with and without magisk core mode or systemless hosts.

My only root programs are adaway / titanium backup / es file explorer (root explorer) / terminal.

The only magisk module is magisk hide props config, which usually I don't even use the modules at all. I tried it as a test to see if it helped and it didn't need to change any props to "safe" values as hide already had it set up.

I have tried netflix just to see if that trips safetynet at all with prolonged use but no go. I generally dont use it on my phone but it never once had the problem like FEH does. My playstore always reads certified everytime I check. It hasn't changed to uncertified in a long time now. The only way FEH does not trip safetynet is by using ElementalX kernel by itself to hide the bootloader unlocked flag and no root active. As soon as magisk gets installed it seems to trip safetynet randomly almost like magisk hide fails when it does the check in FEH and then has to be turned off and back on to go back to green.

I have also tried going without adaway, titanium backup and es file explorer just to see if any of those 3 apps did some stuff to it and FEH still did the same thing whether they were installed or not. I have also factory reset before this latest update as a test to see if it helped and no dice either.

Here are both the regular magisk log and the debug log. Any ideas on how to fix this?

magisk debug log--- https://pastebin.com/PuzppTPB

magisk regular log--- https://pastebin.com/t6vAAYJ3
[Magisk] We7dy:
When I flash Magisk (latest version), I have to flash it twice, because the first time I get an error message (see recovery.log). I'm on OxygenOS 5.1.1 (Oreo 8.1). When the file is flashed, during the first restart, I'm redirected to TWRP. I have to wipe the data, reboot and it works.
[Magisk] princepg:
Cannot check SafetyNet in magisk uncommon error

Here i am having an issue with Magisk SafetyNet check it shows[/SIZE] "

Due to some changes in Google Play services, It is not possible to check SafetyNet on repackaged Magisk Manager

" . Is there any way to solve this any help will be appreciable.

[IMG="Screenshot"]https://drive.google.com/file/d/0B65TokEKpZT2SG5tOWhOaEtWQTdhSmZvcHQwZm1zd091enNr/view?usp=sharing[/IMG]

My device Honour 8 Smart (VEN-L22), Android 7.0,

Stock rom with custom recovery on TWRP, Rooted with Magisk

Magisk Version : v16.0
[Magisk] jenslody:
The only way to use safetynet-check with MagiskManager is with the original Manager, not the hidden/repackaged one, so you either have to restore it (from the Settings) or use a third-party safetynet-checker.
[Magisk] princepg:
Now it works when i reinstalled, thanks for your response.
[Magisk] blecap:
Yet another 1 additional problem user!

On Note 4 custom rom.

Recovery Log

MagiskLog
[Magisk] Didgeridoohan:
You've got the answer to your problem in the flash output, both in recovery and the Manager. The boot image is already modified...
[Magisk] blecap:
Didgeridoohan. This is the same author for that Rom I flashed couple of months ago but new one just came out I'm seeing it so that if I am careful I probably able to get to install MAgisk? Would u mind taking a few moment to check it for me? Thanks!!!
[Magisk] Didgeridoohan:
I don't know what you want me to check... The ROM creator offers Lineage su or Magisk as an option to root. Pick one or the other to flash after the ROM. If you can't get it working I'd ask in the ROM thread, because there are clearly users there that have rooted with Magisk.
[Magisk] blecap:
lol, its ok i fixed it. new rom and magisk.
[Magisk] Josey Wales:
Magisk Manager folder stores module.zip files(1.65gb) is it safe to delete ALL module.zip files no longer listed in Magisk Manger?
[Magisk] jenslody:
Yes!
[Magisk] RealWildKing:
myPhone Luna Cynogenmod 13

Hello guys, I'm a fresh here and new in rooting and stuff. So basically my problem is that when I intalling Magisk.zip through custom recovery (Philz Touch) I get an error in whick say "Unable to detect boot image" (Status 1). The question is: Can I have Magisk (main purpose is passing SafetyNet) installed in my Cynogenmod 13 on my Luna.

P. S. Sorry for my bad english.
[Magisk] teddy0209:
Try other installation method, /fastboot
[Magisk] AndrOmega:
How to update Magisk within magisk manager.?

Please help.
[Magisk] RealWildKing:
Can u extend your sentence, cos as I said I am new in rooting and stuff.
[Magisk] teddy0209:
Go to the official thread (link in the OP). There, you can find detailed instruction regarding installation.
[Magisk] Ja_som:
Tap on "Actualizare..."
[Magisk] Josey Wales:
Thank you!
[Magisk] AndrOmega:
when i tap on actualizare it only update magisk manager

as you can see i am limited to version 14 coz i have a green check mark on magisk app...

so i am stuck on v14 :(
[Magisk] Ja_som:
When I tap on that button it asks me if I want to install the v16 zip file.

I'm not sure, but it can be because of your Android version? You didn't mentioned your device and Android, so.

You can try to download the v16 zip and flash it manually via TWRP

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445/post68966662
[Magisk] martyfender:
Once you update Magisk Manager to the new version and launch it, it will then popup to install the newer version of Magisk.zip, where you select the method. I always choose direct install (recommended). If your device is not already rooted with Magisk, you won't see this last option, you will only see: Download Zip Only and Patch Boot Image File. Also, what you see here is dependent on the update channel you have selected in the Magisk Manager settings.
[Magisk] arshia.sunboy:
any help about auto unroot?

note 8

custom rom

ported s9+ rom oreo
[Magisk] BenCf:
i am trying to update my phone. i think i incorrectly uninstalled magisk(reboot phone right after i hit uninstall magisk), right now the phone is still booting and running but there are a lot of freeze/crash ui and i cant reinstall magisk(unable to unpack boot image). should i run magiskuninstaller from twrp to uninstall magisk again? or i need to wipe everything and flash back to stock image.

not sure if it is important

root checker: sorry!root access is not properly installed on this device

xposed installer: xposed framework is not installed
[Magisk] KRafi:
Flashing Magisk while having LineageSU Add-on

I'm using LineageOS 14.1 on my Galaxy S4 I9505! I have installed LineageSU Add-on to get root access! Now, I want to use Magisk! Do I have to remove the LineageSU before flashing Magisk on my device???
[Magisk] oreo27:
I'd just go ahead and dirty flash your ROM and try to re-install Magisk.

I'd go ahead and try this: https://xdaforums.com/showpost.php?p=63615067
[Magisk] KRafi:
Hey, oreo27 you got that wrong! Its not SuperSU! I have LineageSU Add-on installed on my device! Besides, my question was if it is a must to remove LineageSU Add-on before flashing Magisk???
[Magisk] jenslody:
The unSU-script does not only remove SuperSU, it removes several root-solutions including LineageOS addonsu.

(Re-)read the linked post.
[Magisk] oreo27:
What he said :)

Edit - Yes, it is preferable to remove any built in Superuser binaries and management apps before installing Magisk.
[Magisk] AndrOmega:
if you read my post from a computer you will see in my signature device that i have and android version :)

---------- Post added at 01:45 PM ---------- Previous post was at 01:43 PM ----------

this was a very helpful post you wrote and very detailed/

ty :highfive:
[Magisk] Ja_som:
But I'm not reading on computer, so I don't see your signature.

Next time try to share as much information in your post as possible, device, ROM (Android version), MM version, etc.

We will overcome misunderstandings.
[Magisk] liver20:
Any magisk module for face unlock like Huawei p20... When pick up device unlock by the face?

Enviado desde mi ONEPLUS A5010 mediante Tapatalk
[Magisk] Hadookie:
Device: Pixel 2

Rom: Stock April Update

Magisk: v16.4 beta

Magisk Manager: v5.7.0

Anyone have an issue with boot loops after trying to uninstall Magisk? I clicked on a complete uninstall via Magisk Manager, fastboot flash boot stockboot.img, and jadust get stuck on the G logo splash screen. I've also tried installing Elemental kernel to rule out it being the boot.img and uninstalling Magisk via TWRP with the uninstaller zip.

Weird thing is that booting TWRP, installing boot.img, installing elemental, then magisk has me booting again no problems.
[Magisk] flipmode_11:
[MENTION=4470081]topjohnwu[/MENTION] [MENTION=4667597]Didgeridoohan[/MENTION]

FYI. Please update incorrect link.

https://tiny.cc/latestuninstaller >> 20180328
[Magisk] DB126:
Bad assumption. I hate blabby signatures and never display them. Also use XDA Labs for most engagements.
[Magisk] Didgeridoohan:
If you take a look in the release thread you'll see that [MENTION=4470081]topjohnwu[/MENTION] doesn't use that link anymore, but instead link directly to the zip files on the GitHub release page.
[Magisk] AZDJedi:
Is there a way to get notified when my modules have updates?
[Magisk] cetoo:
In my mi max 1 with 3 gb ram and 32 gb storage with lineages 14.1 magisk makes the rom very laggy not in app but in menus and opening apps very laggy and stuttering. Also in sound. This is torturing me. I can't understand why. Ok, maybe phone is not a flagship but its not bad. Really not bad.
[Magisk] hteles:
Hi,

Did you manage to solve it?

My situation is similar as yours

H815 ( G4 Intl ) PiGuy Unofficial LO 15.1 based on Kessaras Titan Kernel, TWRP twrp-3.2.1-PREVIEW-118_g4_O ( with working encryption ).