yashsingh1/xdaforums huggingface dataset:
[Magisk] toyongbanatero:
Ooops. My bad.

I am on an Asus Zenfone 3 Max (a low end phone), I'm on Android 7.0 and using a stock ROM.

Installed Magisk using a patched boot.img, which worked fine, but now I am having trouble because I factory reset my phone with Magisk still installed (I do not know if it affects things or not but it happened after that).

Other info like logs are in my previous post. One thing to note though is that my previous Magisk errors in the logs are now gone, they do not display any error. The previous error logs are from Magisk v16.0 and I have Magisk v16.4 now.

The weird thing though is that I can now apparently install Magisk modules that don't mount /data during install (the case when I install the module Volume Steps Increase, which results in this error (Note: I installed this module just fine before the factory reset)):

- Copying zip to temp directory
- Installing Volume_Steps_Increase-14.0.0.zip
- Mounting /system, /vendor, /data, /cache
***********************************
! /data/magisk isn't setup properly!
! Please install Magisk v14.0+!
***********************************
Failed!
! Installation failed

I have already installed 2 modules just fine (Xposed and Youtube Vanced, plus the auto installed Viper4Android FX module). I haven't tried other modules because I don't specifically need them but I'll try to check some other modules and see if I can find anything I can use to test if it will fail during install.

As I already said, I already tried any combination of install/uninstall/reinstall/upgrading I can think of but the error still remains (but with some increasing good results (like I can now install some modules)). But, if there's anything you think I can try (like messing with the Magisk files on /data), I'll try it (if it's not a high risk one :laugh:).
[Magisk] Didgeridoohan:
[MENTION=4988672]toyongbanatero[/MENTION] There's nothing wrong. That module is simply not updated to work with the current Magisk releases.
[Magisk] toyongbanatero:
Is that so? That gave me lots of headaches. :laugh: I was sure it was installed fine before I did the factory reset though.

But if that's the case, I can install a similar Xposed module to it though, so yeah. Thanks for confirming that. I can now rest in peace.

A quick question though. I just noticed this on the Magisk log. Do you know what it means (or if it is a sign that something is not really setup right)?

06-27 13:45:45.017 359 389 E Magisk : open: /proc/600/cmdline failed with 2: No such file or directory

I already tried reading the Magisk "specs" and how things work (looking for clues on why these and the previous errors pops up) but I really can't really understand it with just one reading. Thanks!
[Magisk] wogooo:
nevermind
[Magisk] demonoidmaster:
Magisk doesn't modify how apps start, it's probably something you did
[Magisk] madbat99:
Something else you did. I have magisk, and telegram and playstore work just fine. The part you should hesitate on is messing with your system after your rooted. Or watch which modules you install.
[Magisk] CodyVH:
Zo i recently installed magisk and after i installed a few apps i noticed that some of them did not work as they should. Wifi kill in particular it gives me an error saying: ioctl: permission denied. Do you know why and is there a solution? Also apps like csploit dont work.
[Magisk] Mickyman:
I just updated to Android 8, with everthing still installed. I've haven't followed Magisk in a while. Is there anything special I need to do for it get working again?
[Magisk] andrew2432:
Twrp
[Magisk] maybeme2:
Please excuse me for not understanding but after reading much on the subject I am more confused than before and if I don't ask I will remain confused.

I am a long time user of xposed framework and several xposed modules. Is Magisk something like the xposed framework with its own modules? I also see magisk mentioned in threads about MicroG.

Xposed allows deep modifications of the rooted android system. Is that what magisk does too? MicroG replaces most of Google play services. Is that what magisk does too?

I have a feeling I am mixing apples and oranges but don't know how to clarify things. How does magisk differ from xposed and microG? Can some kind soul please explain in noobie terms what the differences are?

Thanks in advance and sorry for the dumb question.
[Magisk] SirDarknight:
Magisk Modules Install Successfully But Don't Show Up In Launcher

So far I have tried two Modules: App Systemizer and Youtube Vanced. Both of them installed without any error but after the installation completes, I never find them in the app drawer or anywhere(app list in settings) and yes, I have tried rebooting and reinstalling.

Here's the log : https://drive.google.com/open?id=1RkS3s1xE2u9jb079-zGNm2iXyKSI-cvC

My Device: Huawei Honor 8 (FRD-AL10)

Magisk Version: 16.0
[Magisk] LxrdPsychX:
Phone : Xperia Z2 On Resurrection Remix Oreo Latest Rev2 , Rooted With Magisk v16.0

Problem : Sound , While Playing Audio . it starts normally then all of a sudden it turns down greatly till it's barely hearable * the pointer is still at max audio*

What I remember doing is installying Ainur Sauron Module From Magisk , Then Uninstalling It Again ... Then The Problem Happened

I Need Help Please ? Thanks In Advance

I Tried Reflashing , Going Back To Stock , And Using Other Roms . No Luck ?
[Magisk] Pkt_Lnt:
Post a logcat taken while the sound is decreasing. That is the only way to know.
[Magisk] LxrdPsychX:
How To ?
[Magisk] Pkt_Lnt:
https://www.didgeridoohan.com/magisk/MagiskHideHelp

https://xdaforums.com/showthread.php?t=1726238
[Magisk] andrew2432:
[MENTION=1311429]Mayben[/MENTION]e2

Magisk is not xposed

Which app systemizer are you using? One is only activated and used with a terminal emulator
[Magisk] Artim_96:
The only thing Magisk and XPosed have in common is that they can be extended via modules, but that's it.

XPosed heavily modifies system and apps on order to inject Java code into apps without having to decompile and recompile them with all the problems that can come with that.

Magisk is just a way better version of SuperSU. It allows for root and other modifications of the system partition without actually changing it, since that can lead to problems up to bootloops on devices shipping at least with Android 6. But the only code injection Magisk does is for manipulating the bootloader to work and for changes of build.prop. But modules basically can just run scripts and place or replace files in the system partition. But for XPosed there is a Magisk module. It allows to enable/disable XPosed with s simple reboot without the need of recompiling apps. But Magisk also can't prevent SafetyNetwork to detect XPosed as long as it's active.

MicroG has absolutely nothing to do with all of that, it's just a bunch of apps and APIs to be able to get rid of Google services in a custom ROM.
[Magisk] jenslody:
And debloated stock roms !
[Magisk] Artim_96:
Don't know how far you can go... And if it makes sense to debloat a ROM that much and don't just use a custom ROM
[Magisk] maybeme2:
Thank you very much. That helped a great deal. I really appreciate your taking the time and effort to help.
[Magisk] ilatimer1:
Just a FYI anyone having a problem with USAA detecting root. I uni stalled adaway and now the app does not detect root.?. I am now running adguard in proxy mode and everything is working great and I can access my banking app again with root stll enabled.
[Magisk] maybeme2:
Running lineageos 14.1 with xposed.

I just uninstalled superSU and replaced it with the latest Magisk. Everything seems to be working fine. At first AFwall+ could not run even though I had already given it root permission, but a reboot solved that.

What worries me is that when I was using regular superSu there were 5-6 apps that were granted root access and Magisk only shows 2 apps (macrodroid and Afwall) with root access. Not sure why. I think the missing apps were probably Xposed modules like xprivacylua. But these seem to be working under Magisk without asking for root access.

Is there an explanation? I searched but did not find it in the thread.

Thanks.
[Magisk] gothicVI:
The apps need to actively request it once.

Gesendet von meinem Moto G (5) Plus mit Tapatalk
[Magisk] andrew2432:
Stock android runs my network with sprint best. I live in a rural area and have LTE connection problems when on my favorite custom OS :'(
[Magisk] maybeme2:
That's what I thought too but I just tried again. I opened both xposed modules Xprivacylua and minminguard and changed some things. Both implemented the changes but neither asked for root privileges and when I looked in Magisk (see screenshot) neither one received it and I can find no way to manually add them.

I also checked the Magisk log and there is no mention of them.

Edit

I reinstalled xposed framework. The xposed installer asked and was granted root privileges. I rebooted and then tried the xposed modules. They still work - without asking or being granted root privileges. Very weird and troublesome.
[Magisk] andrew2432:
Xda thread of this will teach me how to ungoogle my google pixel?
[Magisk] guest4711:
No, it will tell you how to circumvent the "need" for installing g-apps on a custom ROM.
[Magisk] Hootix:
Hey I just updated to latest Magisk manager from the app and now i get "invalid update Channel" and can't update Magisk. Any help?
[Magisk] heindrix:
Hi guys, my Magisk Manager keeps closing by itself, i thought it was because of bad custom repo, but i've changed the repo to beta, any workaround?

Logcat :

FATAL EXCEPTION: AsyncTask #4

Process: com.topjohnwu.magisk, PID: 8785

java.lang.RuntimeException: An error occurred while executing doInBackground()

at android.os.AsyncTask$3.done(AsyncTask.java:365)

at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)

at java.util.concurrent.FutureTask.setException(FutureTask.java:252)

at java.util.concurrent.FutureTask.run(FutureTask.java:271)

at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)

at java.lang.Thread.run(Thread.java:784)

Caused by: java.lang.NullPointerException: Attempt to read from field 'java.util.LinkedList$Node java.util.LinkedList$Node.next' on a null object reference

at java.util.LinkedList$ListItr.next(LinkedList.java:893)

at com.topjohnwu.magisk.database.RepoDatabaseHelper.removeRepo(Unknown Source:10)

at com.topjohnwu.magisk.asyncs.UpdateRepos.doInBackground(Unknown Source:92)

at com.topjohnwu.magisk.asyncs.UpdateRepos.doInBackground(Unknown Source:2)

at android.os.AsyncTask$2.call(AsyncTask.java:345)

at java.util.concurrent.FutureTask.run(FutureTask.java:266)

... 3 more
[Magisk] Hootix:
U

Manually reinstalled the manager fixed this.

I have 2 games which got updated (darkness rises and Naruto x boruto) and Magisk hide doesn't work on it anymore. Latest Magisk beta, pass safety net and use Magisk hide. Game still detects security violation aka root.
[Magisk] maybeme2:
Anyone?
[Magisk] Ja_som:
What about to wait a day (as the rules says) or two before you bump your post? Maybe people from the other side of the world will reply to you if they have the problem. If noone replies, then probably noone has this problem.
[Magisk] garthybarthy:
Delete
[Magisk] spawnlives:
From my understanding exposed apps do not require root access. They rely on the exposed framework for them to work.
[Magisk] m0han:
many thanks for sharing information about xposed, magisk & microg. could you also name/link the module you were mentioning above? thanks again.
[Magisk] garthybarthy:
It seems google has updated something, I still pass safety net and magisk hide is enabled but my apps are detecting root.

I did a test and restored an old backup from twrp from a few days ago, my apps worked again.

However, after 10-15 minutes of my phone running and presumably something updating in the background, my apps now detect root again.

Can anybody else confirm?
[Magisk] Artim_96:
What module?
[Magisk] teddy0209:
It's probably the app that you're using.

---------- Post added at 03:29 PM ---------- Previous post was at 03:26 PM ----------

He's probably talking about the Xposed Magisk Module...
[Magisk] Artim_96:
Then he should try the most obvious place...
[Magisk] ainurrofiq:
Please check your PM
[Magisk] joderme:
I've just noticed that something changed in the past day or two. Google Pay is no longer working for me. Basic and CTS used to both pass. Running DP3 on a Pixel 2 with the current Beta magisk. No access to a computer. Logs anywhere else?
[Magisk] :
Me working.

See the screenshot.

Edit: Did not read that it's Google Pay...
[Magisk] m0han:
i was. and i asked after searching and getting no result for an XPosed Magisk module that allows to enable/disable XPosed with a simple reboot.... (that's what i gathered he wrote.) it'd be nice if someone could post the name of the module/dev or a link to the thread. :good: :fingers-crossed:
[Magisk] Pkt_Lnt:
Did you look here?

https://xdaforums.com/apps/magisk/collection-magisk-modules-v2-t3575758

Near bottom of post #3 that has all the Xposed Modules by SDK with links?

https://xdaforums.com/showpost.php?p=76264578&postcount=3

That post #3 links here for Xposed Modules by topjohnwu.

https://xdaforums.com/xposed/unofficial-systemless-xposed-t3388268
[Magisk] LxrdPsychX:
I Sadly Don't Understand How To Do So , But I've Niticed That The Issue Stooped For 2 Days , Then Returned Twice . Then It Didn't Happen Again For Now .. But Idk

But Also For Some Reason The Phone Shows That It's Charging When Connected ..But It Doesn't Increase In Percentage , Also HEATS UP ALOT Without Any Heavy Use ...
[Magisk] Kiperkk:
Hi guys, I have a problem with SafetyNet, Magisk Manager shows that everything is ok, but the random test from google play shows that it does not work. Google pay also does not want to verify my card. :( Do you know how to fix it?

Send from my pitiful P10 VTR-29 8.0.0.364.
[Magisk] joderme:
Can anyone tell from these logs as to why basicIntegrity and ctsProfile fail?
[Magisk] martyfender:
Have you checked [MENTION=4667597]Didgeridoohan[/MENTION] 's excellent guide?:

https://www.didgeridoohan.com/magisk/HomePage

HIs MagiskHide Props Config module may help, also:

https://xdaforums.com/apps/magisk/module-magiskhide-props-config-t3789228
[Magisk] ImJustARock12:
Can i install this on my Meizu M6 (not "Meizu M6 Note") using Magisk Manager and patching boot.img? Is there a compatibility list?
[Magisk] joderme:
I certainly have, however, seems I am up a creek with basicIntegrity coming up False.

I've done everything short of flashing the entire phone which I don't really want to do.

It would be nice to get to the bottom of what basicIntegrity is failing.
[Magisk] martyfender:
Have you tried disabling developer options and USB debugging?

https://www.didgeridoohan.com/magisk/MagiskHideBasics

MagiskHide Props Config was updated yesterday to v2.3.1.
[Magisk] ImJustARock12:
Any answer? I already unrooted my phone.
[Magisk] martyfender:
Maybe, but you must have a copy of your stock boot image on your device and you can flash the patched one through fastboot, or other means. If the direct install option shows up in Magisk Manager, you could try that, also.

So you don't have TWRP for your device?
[Magisk] ImJustARock12:
No, i didn't find any custom recovery for my device. I got boot.img from the update file from the official site. I want to be sure i don't brick it. Is flashing patched boot.img safe? Or is it safer to use "Direct Install"?
[Magisk] martyfender:
I do see that there is a stock rom download on their site from which you may be able to extract the stock boot image from. Does your device have the ability to boot into fastboot/ bootloader mode to be able to flash a patched boot.img from your computer?

You also stated that you unrooted the device. Was it rooted with SuperSU before and how did you unroot it? Ideally, unrooting should restore the stock, unmodified boot.img so Magisk can successfully patch it.
[Magisk] ImJustARock12:
I haven't tried. Let me see and i'll tell you. And, i rooted my phone by using the flyme root option, enabled using a trick with shortcuts and unrooted it by updating it using update package from the official site. (also the file where "boot.img" is located)

---------- Post added at 10:13 PM ---------- Previous post was at 10:07 PM ----------

When i reboot my phone in "Fastboot Mode" it loses connection to adb. Do i have to unlock bootloader? If the answer is yes, how do i do it?
[Magisk] martyfender:
You must also have the fastboot binary installed in your adb folder, on your computer. Assuming the fastboot binary is also installed, from the command prompt of the computer issue: fastboot devices then hit enter and your device serial number should be listed, if fastboot is working correctly. Are you on Windows?

Unlocking your bootloader varies with devices. Developer options must be enabled and USB debugging turned on in developer options. On my devices there is an option in developer options to unlock the bootloader. On other devices you have to issue fastboot commands to do it. I also believe on some devices you need OEM unlock codes to do it.

Assuming you have gotten fastboot to work from your PC, you can just type fastboot in the Windows command prompt, to get a list of fastboot commands. Fastboot flashing unlock is the command on my device to unlock the bootloader. On some devices it is oem unlock and I'm sure there are others for different devices. Are you on Android 6?

For clarification, adb commands work when Android is booted normally, while fastboot commands work when booted into fastboot/bootloader mode.

If the proper adb and fastboot drivers are installed you should see in the Windows device manager:

Phone booted normally:

Android adb device or composite device

phone booted into bootloader/fastboot mode:

Android fastboot device

I use linux now, so my device manager device naming may not be exact.

EDIT: I see that your firmware does have a stock boot.img in it so extract it to your device, let Magisk Manager patch it, copy it to your computers adb folder, reboot to bootloader/fastboot mode, Shift, right click an empty spot in the adb folder, open a command window or prompt here and issue:

fastboot flash boot extact name of patched boot.img

,

then hit the enter key and read messages of successful completion.

Example on my device:

fastboot flash boot patched_boot.img

fastboot reboot

then hit the enter key to reboot to Android and Magisk should be there if all goes well.
[Magisk] nadeemakhtar1994:
Now most apps detect root and wont open even when magisk hide is enabled. Tried everything. I suppose update is needed
[Magisk] pawelik001:
What I must hide in magisk to use Google pay?

Wysłane z mojego ALE-L21 przy użyciu Tapatalka
[Magisk] martyfender:
This is not the thread for root detection issues. I would suggest the General Support/Discussion thread, instead and also here is the link to the troubleshooting guide:

https://www.didgeridoohan.com/magisk/HomePage

You may have bigger issues going on though, that may require a reflash of your ROM. You did not even mention what your device is, your Android and ROM version, stock or custom.

There are other things that you can try, but I am not allowed to talk about them in this thread, apparently. See the Magisk version in my signature. Lets see if they delete this post, in the spirit of helping others.
[Magisk] RandomPooka:
I've never had that happen.

So, "most apps" is a bit of an exaggeration.
[Magisk] RandomPooka:
Nothing. It works with the default settings.
[Magisk] joderme:
Yeah, I am afraid it is something else that is deeper. I might try just reflashing /system to see if something is messed up there.
[Magisk] martyfender:
Have you ever had any apps or mods installed that modified the system such as xposed, su.d, or int.d enablers or other system modifying scripts? If so, reflashing the system may help.
[Magisk] tom.android:
Magisk 16.0
[Magisk] joderme:
The most I did at one point was manually modify build.prop, however, both checks still passed after this. No xposed or anything otherwise.

Anyways, both slots were completely reflashed to 8.1 and then DP3. Still failing both basicIntegrity and ctsProfile. Something changed in the past week. Not sure what. I had my suspicions with the Google app or Google Pay which in turn modified something system-wise. Guess I'll just flash DP3 again and relock the bootloader so I can use Google Pay. Only reason for me to have Magisk is to use OG UDP hotspot on VZW.

I do appreciate all the help and suggestions.
[Magisk] jcmm11:
What happens if you stay on 8.1? (I'm wondering if it's DP3 specific) (and try a different safety net checking app)
[Magisk] joderme:
Worked on a fresh flash of 8.1, however, I didn't use it with much time. Going to try once more with DP3 to see what I can get going. It was working for a few weeks with DP3 so I am not so certain as to what would have changed to break it.
[Magisk] aliisonline:
moved to magisk from SU n now bricked my p9 lite please help

Hi !

I managed to install Lineage OS 14.1 on my Huawei p9 lite. and installed SU while flashing, then thought to try magisk because of its popularity. Every thing was almost working fine before installing magisk. My P9 Lite has TWRP 3.2 n ADB fast bootloader on it n it also shows stock emui loader with buttons combinations.

I searched on google n found that it would be wise to either flash SU or Magisk while flashing Rom. So i decided to again flash lineage OS 14.1 but this time with Magisk. So i took backup of my current working ROM in TWRP and wiped DALVIK/ART CACHE, CACHE, DATA, SYSTEM n again installed lineage os 14.1 from scratch with gAPPS and setup everything without rooting.

Then i flashed Magisk 16 through TWRP. After flashing Magisk without any error. I rebooted my system to check the features of Magisk but when i entered my screen lock pin the OS again locked the screen. I mean the screen lock persisted to appear and again n locked the screen whenever i entered the pin. I thought that I will read more about Magisk and will install it later so i restored my backup from TWRP, but now i just see the lineage OS boot animation n it keeps on loading for ever. I tried to format DALVIK/ART CACHE, CACHE, DATA, SYSTEM and formatted whichever of these had the option to format it. I tried to install AOSOPA 7, SLIMOS but AOSOPA 7 n slimos don't even show their boot animation. I formatted Vendor and again flashed vendor.img that i downloaded with Lineage OS 14.1 by using dd if=/external_sd/vendor.img of=/dev/block/bootdevice/by-name/vendor. but still no use. I tried to install stock firmware but no use. I formatted the internal storage as well. but stuck with lineage OS boot animation. Please guys help me. Kindly show me a way to fix this. I have noticed that before installing magisk whenever i entered in TWRP it asked me to be read only or modify on startup but now TWRP don't ask this. I reinstalled Lineage Os many times but no use.
[Magisk] martyfender:
In the process of doing all of that, did you at anytime flash a clean, unmodified boot.img for Magisk to patch? If you previously flashed SuperSu and didn't remove it properly, such as with the UnSU.zip, for example, it will lead to problems. It is however hard to follow everything that you did in the process.
[Magisk] aliisonline:
I extracted boot.img from lineage os and flashed that too when i was doing all these tests.
[Magisk] :
That app is under failure. Use another app.
[Magisk] Kiperkk:
Ok I try another app and it's supposed to work, but google pay doesn't want to verify my VISA card. My Polish bank is supported.
[Magisk] aliisonline:
Please help me. I have outlined my whole problem. I am waiting for your help. please.
[Magisk] :
I do not use Google Pay, but you should try to add it to MagiskHide list.
[Magisk] DomeD13:
Hi there,

I'm on the latest LOS 15.1 build with my Xiaomi Mi6 and I have Magisk installed. Safetynet fails. Cant use Netflix and Sky Go. Please help