yashsingh1/xdaforums huggingface dataset:
[Magisk] culiacanazo:
I'm not beating you, (edit: where that heck do I speak out against you?!) but i recall reading somewhere (edit: on xda as well) that people should use the search button, (edit: which apparently your bestowing of RC didn't include going over) Well, not only he didn't search, even after that i still went ahead and helped him, but even then he still disregarded my advice which is very similar, if not identical to yours, and asked again! Because he wants everything in a silver platter! Even didge's signature talks against that behaviour! (Edit: who's also an RC, by the way)

Or she. Whatever!

(Edit: good looking out)
[Magisk] ananthakrshnan10:
Redmi Note 4 (Snapdragdon) with LineageOS 14.1 October 1 build with GApps pico & Magisk

I am unable to get the basicIntregrity & ctsProfile True

have read [MENTION=4667597]Didgeridoohan[/MENTION] post and other's suggestions & videos however, i am unable to get it corrected

I tried the suggections with the stable as well as beta versions

Though right after a clean flash, the cts and basic passes (over the past 4 builds, same situation and issue over & over again)

But after some time, it fails

Can anyone help me?
[Magisk] Didgeridoohan:
So, it might not be MagiskHide causing the issue then...

When you lose root, you can boot to recovery and save the Magisk log from /cache. There might be something useful in there.

Another thing to try could be letting a logcat recording run in the background and hope you can catch what's going on.
[Magisk] DragonQ:
Too late now but I'll try next time.

I can try recording but it usually takes 1-2 days for root to disappear following a reboot and I'm not sure how stable or battery draining recording for that long is.
[Magisk] paed808:
I uninstalled Google play services and switched to MicroG on this phone (using NanoMod Magisk module) , I haven't had the issue happen again (yet) since doing that. If it happens again, I'll try to get a log. But is it possible it was Play services related? Not sure (as I have MicroG now because it's more lightweight) Maybe play services is messing with magisk. Or maybe im getting ahead of myself and its about to happen. Idk

---------- Post added at 10:09 AM ---------- Previous post was at 10:07 AM ----------

Also, when it did happen (before I switched to MicroG) it was very frequent
[Magisk] DragonQ:
I already use micro OpenGApps, that isn't the solution.
[Magisk] paed808:
I'm not talking about Micro OpenGapps. I'm talking about MicroG (the open source replacement to google play services http://microg.org )
[Magisk] paed808:
Nevermind. I got my hopes up. Magisk spontaneously lost root again. I was able to capture /data/magisk_debug.log (not in the /cache partition). I am only sharing the end of it (should be the most relevant part anyways) so I don't share any sensitive information. If this isn't enough, just ask me, and I'll "censor" some other stuff.

I couldn't attach the file for some reason (upload error) so I pastebin'd it.

https://pastebin.com/bDX9gn8K

https://pastebin.com/raw/bDX9gn8K

Let me know if it's useful (or not).

Edit: Nvm, it also attached correctly.
[Magisk] minhducsun2002:
Well, for some reason, Magisk works fine but installing systemless Xposed on my device is giving me bootloops. Can anyone tell me what the problem is, please?

Thanks.
[Magisk] Marília de Oliveira:
Thanks.

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

WHAAT? I just asked if I would have any fix at any time I asked the guide to arrange this if you do not want to help unfortunately we can not do anything my friend. :rolleyes::eek:
[Magisk] DeathHacker:
Xposed is clearly not supported here.

If you want help with xposed, this is not the right place for it.
[Magisk] r0tt3n:
Confirmed Magisk v14 working GREAT using the unofficial PureNexus 7.1.2 rom built for Flounder (Nexus 9 WiFi) (flashed into device from the flounder build of TWRP 3.1.1-0)
[Magisk] culiacanazo:
I just hope you found what you were looking for, that's all.
[Magisk] Marília de Oliveira:
Worry not that I found thanks to [MENTION=4403217]Pkt_Lnt[/MENTION] :D him helped me we need more people than him in this follow up. :good:
[Magisk] CyberHawk44:
Good Morning :)

Can u build in the config a Switch for the survival script. That I can turn it off.

Because them......

I use a other Kernel in AOKP Rom (https://xdaforums.com/galaxy-s7/development/kernel-prime-kernel-t3678151) but when after a update from the rom runs the survival script and reinstall Magisk. When I than install the kernel I have a problem with Synapse.

I must first update the rom than install the kernel and than Magisk. Than I have no problems.

I dont want for a rom update every time deinstall Magisk first.....

Thanks for the Help :)
[Magisk] MultiKoopa:
Done entirely through FlashFire, I updated from September to October Security Patch on my Nexus 6P (Android 8.0.0), using the 42 MB OTA file downloaded from the phone's system menu.

I rebooted, and still had custom recovery, magisk, systemless hosts file, and root access.

and Magisk Hide still worked, passed SafetyNet check!

awesome!

Don't think this has ever properly worked for me before.

Magisk and FlashFire, I love it!
[Magisk] nelson0521:
Dear,

I install the magisk with patched boot.img which I made by magisk manager (v5.3.0) and original boot.img but there is nothing change after I flash the boot. Magisk manager still tell me that I don't install the magisk. I had check the patched process result show success!! And I found image size changes a little between original and pateched, is it right ?

1. Magisk version : v14.0

2. Magisk manager version : v5.3.0

3. My phone model : Sharp S2, android 7.1.1

4. Original boot.img (32,344kb) → Patched boot.img (32,174)
[Magisk] Smirftsch:
Hey friends, forgive me if this was answered in some way already, but I've been through most of the docs and searched through this topic as well, but without having found a straight answer. It's plain to much here, sorry.

I take it that Magisk before 14.x was not able to be installed without custom recovery. All right, all clear so far.

Now in 14.0 its being said :

I find this sort of contradicting. Am I wrong here, or doesn't this require to have root in the first place to be able creating a boot image dump? If not, is there a howto of some kind how to do? I have been working with ODIN and adb already, it's all not entirely new to me but iirc this all requires root. ?

Next contradiction I am having is:

But if I need root altogether to even install it in some way, how is it supposed to root my device?
[Magisk] jenslody:
You can extract a stock bootimage from a firmware download. Where you get it from depends on your device.

Or you can use twrp (even via fastboot, if not on samsung) to backup the bootimage.

And neither Odin nor TWRP need root, but you might need an unlocked bootloader to boot from patched bootimage.

Some devices need signed bootimages, but that's another story and , of course, also depends on your device (and rom).
[Magisk] Rom:
@Didgeridoohan

Hello, sorry in advance if my question was already posted, but it possible to keep the app settings of Magisk Manager ?

It maybe avoid me to setup my magisk settings again after.

If i move app data to my external sd card it could works or i must backup the app data from TB ?
[Magisk] jenslody:
If you just update MagiskManager or dirty flash Magsik you don't loose anything.

If you update MagiskManager from an unofficial build, you have to remove it and loose the Managers settings, but the modules remian.

If you use the uninstaller, it will also remove /data/magisk.img and everything is lost. But you can easily backup magisk.img and copy it back after a fresh install in TWRP, but before rebooting.

Do not use /cache to back it up, the uninstaller script will delete it there also.

If you want to keep the settings of MagiskManager when removing it, you might need some handwork, because the application-id will most likely change. I do not know if TB does handle this.

When switching from stock-MM to GroundZero-Nougat, I used my TWRP backup to restore the apps data (also wifi-data etc.), but did this manually. I had to fix user, access-rights and selinux-stuff to make this work.
[Magisk] Rom:
Thanks :good:
[Magisk] delu77:
Huawei P9 Plus VIE-L09

Hi mates,

which version works on P9 plus (VIE-L09) B360?

I have tried any version from 12.0 but every time I have a bootloop.

Thanks anyone,

Andrea
[Magisk] mobileman88:
Titanium does retain the backup of the settings. You can use it
[Magisk] specialex:
which is better adaway or unified hosts adblock?
[Magisk] tag68:
My hint is none of these: If you don't need VPN yourself, have a look at DNS66 - you can turn it off per app ;)

Another hint: This is the wrong thread for question regarding adblock, please continue elsewhere (for instance here).
[Magisk] ahnaf25:
I have a rooted Moto E(1st gen) with SuperSu access running CM 12.1

I wanted to know if Moto E is supported by Magisk, and if it is, how can i switch to that from SuperSu.

I would appreciate any help. Some noob-friendly advice please, if possible. Thanks.
[Magisk] DodoGTA:
Try to install the latest Greenify app, open it and see if you get a bootloop
[Magisk] ahnaf25:
Greenify 3.6.2 is the latest, right?

---------- Post added at 01:00 PM ---------- Previous post was at 12:50 PM ----------

Yeah i got bootloop. What do i do now?

Does it mean i cant get Magisk?

I want to switch from SuperSu becuase it is not open source, plus i dont trust the new people. Just to be safe i want to make a change. If i can't get Magisk, it there any other alternative to SuperSu?

Sorry i dont know much about this kind of stuff.
[Magisk] MichelBorgess:
I cant flash any doze moduel...
[Magisk] Mr.Mateusz:
It just happened two days ago, it cant pass. I tried completely remove and reinstall and didnt helped. What should i do?

Nexus 5+paranoidandroid nougat+truesight kernel
[Magisk] jenslody:
Which device, which Magisk and which rom do you use ?

Did you check /data/magisk_debug.log and /cache/magisk.log for any hints ?

Can you attach the logs ?

Did you (try to) flash another module before (I ask because /data/magisk_merge.img is already created) ?

If yes, does this work properly ?

And if again yes, did you try to reboot and check whether the module is installed ?

Can you mount magisk_merge.img from a terminal emulator (or from adb shell) ?

su
mkdir /dev/magisk_merge
/data/magisk/busybox mount /data/magisk_merge.img /dev/magisk_merge
/data/magisk/busybox umount /dev/magisk_merge
rm -rf /dev/magisk_merge

Both the mount and umount command might work with system mount/umount also.

Do not delete (rm -rf) /dev/magisk_merge if something is mounted on it.
[Magisk] DodoGTA:
Remove the app's folder from /data/app with TWRP's file explorer to fix the bootloop

If you want to use Magisk version higher than v12.0, then you have to switch to another ROM (Android Nougat and above ROMs are a pretty safe bet)
[Magisk] NeerajMaxJ:
I'm facing an issue....

Magisk or my phone Is losing root access every 2 days(I mean phone gets unrooted every two days)....

And keeps me telling to install v14.0......

I did download from the app the update...flash it from twrp.... But after two days it asks again to update it.... And also gets unrooted....

I download it again and after two days same happens.... been around three weeks....

I am using Lenovo vibe k5 plus 3gb (046) Indian variant....

Custom ROM: AEX AOSP Extended v4.6.....

I have posted this on the custom rom thread as well so if I get any help which work I will tell here....

If any one knows the trouble shoot for it.... Sos....:eek::crying::rolleyes:

Edit: I am also trying to use one of the downloads from app Dolby atmos (lenovo) that won't work if magisk or phone looses root....

Edit: here's the ROM thread

https://xdaforums.com/k5-plus/development/aospextended-rom-v4-1a6020-aosp7-2-1r4-t3591522

But I don't think its ROM problem its perfect than any ROM for the device.....:fingers-crossed:
[Magisk] Fif_:
If you just reboot without reinstalling Magisk, does root comes back?

Are you using MagiskHide?

If so, how many apps are on the hide list?

Can you send the Magisk logs?
[Magisk] Mr.Mateusz:
Magisk hide works, root too. But safetynet not.

I tried also this https://xdaforums.com/apps/magisk/xiaomi-safetynet-fix-t3600431

And didnt helped.

Safetynet just stopped working, while i didnt upgrade anything or change anything. It was working and suddenly it stopped

Here is the log:

------ beginning of main

I( 226: 226) Magisk v14.0(1400) daemon started

I( 226: 228) ** post-fs mode running

--------- beginning of system

I( 226: 241) ** post-fs-data mode running

I( 226: 241) * Mounting mirrors

I( 226: 241) mount: /dev/block/platform/msm_sdcc.1/by-name/system -> /dev/magisk/mirror/system

I( 226: 241) link: /dev/magisk/mirror/system/vendor -> /dev/magisk/mirror/vendor

I( 226: 241) bind_mount: /dev/magisk/mirror/bin

I( 226: 241) Create /data/magisk.img with size 64M

I( 226: 241) * Mounting /data/magisk.img

I( 226: 241) * Running post-fs-data.d scripts

I( 226: 241) * Running module post-fs-data scripts

I( 226: 241) * Loading modules

I( 226: 249) * Starting MagiskHide

I( 226: 249) hide_utils: Hiding sensitive props

E( 226: 249) fopen: /magisk/.core/hidelist failed with 2: No such file or directory

I( 226: 249) hide_list add: [com.google.android.gms.unstable]

I( 226: 249) proc_monitor: init ns=mnt:[4026531840]

I( 226: 310) ** late_start service mode running

I( 226: 310) * Running service.d scripts

I( 226: 310) * Running module service scripts

I( 226: 249) proc_monitor: zygote ns=mnt:[4026542995]

I( 226: 249) proc_monitor: com.google.android.gms.unstable (PID=2039 ns=mnt:[4026543047])

I( 2052: 2052) hide_utils: Re-linking /sbin

I( 226: 3015) hide_list add: [org.freeandroidtools.safetynettest]

I( 226: 249) proc_monitor: org.freeandroidtools.safetynettest (PID=3022 ns=mnt:[4026543017])

I( 226: 249) proc_monitor: org.freeandroidtools.safetynettest (PID=3481 ns=mnt:[4026543015])

This is the problem? How to fix it?
[Magisk] NeerajMaxJ:
OK so as I posted the message I kept the app as it was(the unrooted state)....

Reboot/restart no.

Switch off/on no.

Switch off remove battery 15sec switch on yes!.... But why????

Where can I find the logs....:p:confused: Not used for log reporting hehe

Edit:..And will tell u what I can find on actions I do to replica that issue....
[Magisk] Fif_:
The Magisk logs are in /cache/magisk.log and /cache/last_magisk.log.

What you're experiencing is definitively weird, it looks like there's another boot image somewhere that's being used some times but not others.
[Magisk] murray42:
Using a Pixel (sailfish). Latest update, OPR1.170623.027. Bootloader extracted from the factory image. Getting an error about Sony ELF32, and to use BootBridge, but this isn't Sony so I don't want to brick.

Edit. I was trying to patch the bootloader img from the OTA, once I extracted boot.img from the tarball it patches, but still doesn't flash. Any tips on getting it to flash without flashing recovery?
[Magisk] jacobs0n:
So... I screwed up. I tried installing magisk, but it failed. I flashed the uninstall zip in case there were some leftover files. I rebooted and my phone will no longer boot. I'm using xperia z3 compact.
[Magisk] thatOneWeeaboo:
try flashing the original firmware/restore your own twrp backup and see if it's boots back up. you don't have to wipe the /data partition
[Magisk] jacobs0n:
I'll try flashing with FlashTool
[Magisk] jenslody:
Is it a real full reboot or a hot reboot (e.g. no pin for sim needed, if it was not deactivated).
[Magisk] DragonQ:
Lost root again overnight. I've attached the logs I grabbed from the /cache folder and a MatLog log. MatLog appears to stop recording of its own accord eventually, so I'm not sure if there's anything useful missing. The Magisk logs don't have timestamps and I don't know what the difference between the two logs files is, but it's pretty clear where the problems start:

--------- beginning of crash
I( 302: 331) proc_monitor: com.google.android.gms.unstable (PID=12133 ns=mnt:[4026534676])
I( 302: 331) proc_monitor: com.google.android.gms.unstable (PID=16011 ns=mnt:[4026534679])
E( 6000: 6000) read failed with 22: Invalid argument
E( 4224: 4224) start daemon failed with 111: Connection refused

Also in the MatLog log (before it stopped recording) I can see this:

10-04 18:04:24.147 I/ActivityManager( 747): Process com.topjohnwu.magisk (pid 26143) has died

Again, if there's a way of boosting the log detail or a custom build with debug logging enabled that I can install I'll gladly do that.
[Magisk] NeerajMaxJ:
OK so I found a way to replica the issue...

It happens when I soft reboot the phone... Like press on soft reboot and phone directly switch off and then gets on as usual...

But I never tried a soft reboot earlier.... So one of the ways to replica it but not what's happening before.....

And well when I installed magisk that time I wiped all partitions cache data system internal etc.... And installed the ROM then clear dalvik cache then magisk then clear dalvik cache... Then started so I don't think any other boot image is interfering....
[Magisk] milsabords:
Safetynet lost

Hi,

It quit 3 days ago.

Device: Samsung Galaxy Tab 4 10.1 Matisse Wifi, SMT530

Rom: Resurrection Remix 5.8 (Nougat)

Logs attached
[Magisk] Pkt_Lnt:
Well, fudge!

I had the loss of root on my Nexus 7 (Pure Nexus 7.1.1 - 03/2017) yesterday and Nexus 6 (stock 7.1.1 - 10/2017) today. I've been using Magisk for months and never had an issue of any kind. Hard reboots got root back and everything is fine. Nothing in the Magisk logs.

Just mentioning since these are very common plain vanilla Android versions on stable development friendly devices. Something deeper is involved and finding it is going to be a challenge. I've got aLogcat running to see if it can find anything *and* run for months before the squirrels go bonkers again. :D
[Magisk] ashesall:
Hi, is it possible to release MagiskSU independently or separately so that it can work in 4.4.4? Like a rooting alternative to SuperSU and phh's Superuser.
[Magisk] r80ies:
Every instance I install 14.2 beta I boot into system and after a few seconds it will reboot. The process repeats. Which logs should I grab for good debug info?
[Magisk] Ketawa:
This might be a dumb question. Before I preorder a Pixel 2 XL, what are the chances that Magisk will support it out of the box now that A/B support is built in?
[Magisk] culiacanazo:
Why in the seven heavens don't you upgrade, if I may ask? :eek:
[Magisk] Pkt_Lnt:
https://twitter.com/topjohnwu/status/915648120712609792
[Magisk] DodoGTA:
It's probably possible to port Magisk to Android 4.4 and below (but without Magisk Hide)
[Magisk] bmg002:
I did a complete uninstall (flashed that unSU script and the uninstall Magisk script as well as removing the magisk manager app) and I'm seeing the same thing.

Doing things from the command line (adb shell), I do notice some oddities though. I'm thinking something didn't uninstall or possibly update correctly. I flashed magisk 12.0 then installed magisk manager 5.3.5 and turned on beta builds instead of stable. This notified me that 14.2 of magisk was available so I installed that.

Now at this point, if I go to the shell and run magiskhide (for example) it does as I expect. But if I go to /magisk/.core/magiskhide and try to run add, I get told that /dev/busybox doesn't exist. Which, upon inspection, does not in fact exist. If I run list (from that magiskhide folder), it does list some of the items I want hidden from magisk manager, but not the same list as when I run magiskhide --ls. Don't know if that matters.

The only module I currently have installed is the Universal SafetyNet Fix v2 Beta 5 and that one I grabbed and installed manually from TWRP. I can't get it to pass safetynet, and root checker (the name of the app I have installed) says that I am not rooted, but that the SU binary exists and that I have 1 SU app (Permission manager in /system/priv-app/AuthManager/AuthManager.apk) even though I have Root Checker in my magiskhide list.

If I add that root checker app using the /magisk/.core/magiskhide/add then force kill root checker and re-run the check, it no longer sees the SU binary or the SU app info. It seems I need to manually add each app (via the shell) and then kill things in order to get it to properly be hidden by magiskhide.

Any thoughts on why that would be?
[Magisk] ashesall:
I'd like to, but I'm currently stuck with an old phone :( You can mail me one if you have some extra lying around lol

---------- Post added at 09:00 PM ---------- Previous post was at 08:45 PM ----------

I thought so too because it's based on phh's Superuser. Just a MagiskSU flashable zip and an app to manage root access and I will be happy lol. Maybe dev and/or contributors added security patches and updated the policies to address issues like compatibility.
[Magisk] culiacanazo:
I'm sorry, I should have said update, not upgrade. I have an older phone too (s5, came originally with 4.4.2, and destined by OEM to max out at marshmallow), yet I'm on 7.1.2 nougat, Oreo coming soon, too
[Magisk] skiely666:
I'm trying to install app systemizer module but it's failing, any help would be appreciated?

Pixel XL

Stock 8.0

Stock recovery

Magisk 14.2
[Magisk] lucasbottaro:
Hi, I restored my boot with Magisk app to do october OTA update on my Nexus 5X (bullhead-opr4.170623.009-factory-b9f20abf)

Then I downloaded this update to patch boot.img using Magisk app.

Tried to flash using fastboot but FAILED:

Did the same thing with previous update, worked fine.
[Magisk] Eng.Raman:
Request: To OP [MENTION=4470081]topjohnwu[/MENTION]

Sir; please may be nice in the next version of magisk when we see the percentage of the downloading process when we download a module.

Big thanks for your hard work.
[Magisk] nelson0521:
Try：fastboot flash boot patched_boot.img
[Magisk] lifehome:
Not working with Samsung S7 Active

Due to the nature of S7 Active not so popular, not even a single custom recovery was found during my Google journey, so I went for patching boot image, as those images are everywhere.

I noticed that the stock boot image was around 14.88Mb, and patched is around 15Mb, not sure if this is the cause but it fails ODIN flashing at the AP pos, the fail message does NOT appear in ODIN, it appears on the device instead, stating "unspport dev_type".

Hopefully someone can shed some lights on this, since basically the device desire everybody's tender loving care.

Cheers,

Ivan
[Magisk] lucasbottaro:
How did I not see it? I'm ashamed now.

Thank you, sometimes we need someone outside to see our mistakes
[Magisk] Bradl79:
i have version 13.3 installed, with version 14 or 14.2 i flash and always get a bootloop with oneplus 3 and 3T on 4.1.7, 4.5.0, Open Beta 25 (3) Open Beta 15 (3T), any work around? flashing via Magisk or TWRP with latest TWRP
[Magisk] bluuquthug:
Hello.. i've granted for amplify but why happened with this?
[Magisk] Didgeridoohan:
The Universal SafetyNet fix module has it's own MagiskHide implementation. Sounds like it might be causing your issue... Try without it and if see if things work as expected.

If it's the module causing it you might want to move to the module thread.

You mean kind of like this?

https://github.com/topjohnwu/MagiskManager/commit/64da9281a4f7959330a0d22244b393c065310ed2

(Commit added to GitHub let week.)

No issues on my OP3T, neither on OOS 4.1.7 nor 4.5.0.

Take a look at your modules. One or more of them might have the system placeholder file left in there. That will cause issues on v14+.

Mounting any new files or folders directly to the root of /system will cause issues on v14+...
[Magisk] Eng.Raman:
Yes, how to do it working ?
[Magisk] Didgeridoohan:
No idea. I haven't tested the current unreleased code...

There's the unofficial snapshots, if you're feeling brave. Keep in mind that the unofficial Manager has a different signature, so you can't install one over the other.
[Magisk] Eng.Raman:
I didn't like using unofficial one.

I hope the OP to add it in the next version of magisk. :)

thanks bro for your replay and suggestion. :good: