Magisk Modules not working - Xiaomi Mi A2 / 6X Questions & Answers

Hi everyone,
I am pretty new to rooting, flashing, modding etc.
My problem is as follows:
I am on Pie 10.0.1.0PDIMIFJ, upgraded to it thanks to a guide in this forum.
After upgrading (bootloader has been unlocked beforehand of course) I got root through patched boot.img and Magisk Manager.
I did this in order to be able to gain some everyday treats such as Youtube background playing and especially V4A.
I could install these modules via Magisk, but they do not seem to work.
V4A is asking for driver installation everytime I reboot my phone, and I have to reboot after every driver installation.
This happens independently from the version of Viper I am trying to install.
After installing Youtube Vanced nothing changes. Playing stops when closing the app while a video is turned on.
I also tried a couple of other modules but none seems to be working.
I read somewhere that this could be connected to "SELinux permissive" something . I am sorry, I do not really know what that's about but maybe someone out there could give me a hint as to where I have to look.
I do not need a guide or anything, don't mind learning something on the way
Help would be greatly appreciated.
Thank you guys in advance

Anyone?

Same/similar issue
I am also experiencing the same issue, was able to install Viper and pixel Camera mod, then after no matter what module I install it does not show up in the app drawer atleast, I tried App systemizer , Cloudfare DNS and SF font.. nothing seems to work than the first installed two modules. Tried to install and remove them multiple times.
Cleared magisk cache
installed M<agisk from TWRP multiple times.
tried to install modules from TWRP as well.
I am so new to all these, please dont mind any mistakes.
Thanks.

The same problem I got.How to do to enable camera 2api.

Related

[ROOT] [Magisk] [Galaxy S6] - Magisk-root uninstalls automatically?

Hello,
I'm using a Samsung Galaxy S6(64GB, Exynos) with Magisk-root. But I have the issue that it automatically uninstalls. And suddenly it’s unroot. Then I have to reinstall the Magisk-vXX.X.zip with TWRP (X.XX is the version, for example: 14.0 or 13.3). But after some hours it is uninstalled again and I lost the root access.
Then I have to repeat this...
Does someone have the same problem? Or does someone know how to fix this?
I don't want to reinstall the Magisk-package everytime i need root-access.. And I don't want to switch to another root because I like the Magisk-hide-function.
Or are there other roots with hide function?
(I don't want to install a Custom ROM!)
Thank you
Larry
larrythil said:
Hello,
I'm using a Samsung Galaxy S6(64GB, Exynos) with Magisk-root. But I have the issue that it automatically uninstalls. And suddenly it’s unroot. Then I have to reinstall the Magisk-vXX.X.zip with TWRP (X.XX is the version, for example: 14.0 or 13.3). But after some hours it is uninstalled again and I lost the root access.
Then I have to repeat this...
Does someone have the same problem? Or does someone know how to fix this?
I don't want to reinstall the Magisk-package everytime i need root-access.. And I don't want to switch to another root because I like the Magisk-hide-function.
Or are there other roots with hide function?
Thank you
Larry
Click to expand...
Click to collapse
I had the same problem with my Nexus 6P.
I was on stock ROM and stock kernel and it happened twice.
Now I'm on stock ROM and EX Kernel and problems seemed go away.
Inviato dal mio Nexus 6P utilizzando Tapatalk
CyberZeus1977 said:
I had the same problem with my Nexus 6P.
I was on stock ROM and stock kernel and it happened twice.
Now I'm on stock ROM and EX Kernel and problems seemed go away.
Inviato dal mio Nexus 6P utilizzando Tapatalk
Click to expand...
Click to collapse
Tell me somthing about "stock kernel" and "EX Kernel" what is that and how can i install that? or change that?
I have the same problem, galaxy S6.
I noticed losing root randomly and fixed it by going install patch boot img then you flash the boot img in recovery. So far it's been a day no root loss
Lineage 14.1 for lg stylo 2 plus
Hi ! I have sale problem with my S8+ with custom rom and Custom kernel
Hello.
I am having the same issue with my S6. I have tried all of the advice from previous threads with regard to different versions of Magisk.. (Removing Busy Box / Not using the Magisk Hide feature... etc etc..). I have also been through as many extra options as I can think of, getting all of the "Update" patches from the other developers who have helped with the Magisk project.
Each time, I have run through all of the aditional scripts to make sure SU and Magisk have been completely removed prior, and then used Odin to do a recovery back to my Original ROM (a complete system backup image I previously saved).
The other interesting observation i have at the moment is that i can not get to the Log cat files to post them anywhere. I can see where they are supposed to be but the directory is empty "no files". I have even been as far as downloading one of the many "Mobile Forensic" software kits to try and see if there is anything wrong with my phone.
There is only one observation to report. It seems that after installing Magisk (even if you just install the main ROM and not the manager). Google play starts to download straight away... I am not sure what it is downloading as it doesn't ever seem to complete and all of my versions of the apps are up to date.
I hope I will be able to get some more usefull information for you soon (LogCat etc etc.). If any one has an answer or suggested options it would be good. I am particularly interested in getting the Busy Box feature to work with Root as I am working on an app for my job that needs both options (I work offshore and am trying to adapt a piece of Seismic QC software (unix based) to run on phones / tab's - Android).
I will sign up properly and start to follow the threads more closely.
Cheers... Andy
-Samsung S6 - Full Magisk Module (with recommended zeroflte TWRP).
AndyQVT said:
Hello.
I am having the same issue with my S6. I have tried all of the advice from previous threads with regard to different versions of Magisk.. (Removing Busy Box / Not using the Magisk Hide feature... etc etc..). I have also been through as many extra options as I can think of, getting all of the "Update" patches from the other developers who have helped with the Magisk project.
Each time, I have run through all of the aditional scripts to make sure SU and Magisk have been completely removed prior, and then used Odin to do a recovery back to my Original ROM (a complete system backup image I previously saved).
The other interesting observation i have at the moment is that i can not get to the Log cat files to post them anywhere. I can see where they are supposed to be but the directory is empty "no files". I have even been as far as downloading one of the many "Mobile Forensic" software kits to try and see if there is anything wrong with my phone.
There is only one observation to report. It seems that after installing Magisk (even if you just install the main ROM and not the manager). Google play starts to download straight away... I am not sure what it is downloading as it doesn't ever seem to complete and all of my versions of the apps are up to date.
Click to expand...
Click to collapse
So long story short, there's no definitive solution to the problem. Im using a g920p with a custom kernel built by a genius dev, and i still lose root once a day.
Basically what it comes down to is modules. If you have zero modules, you'll have better luck... But that's not the point of magisk, so you need to be picky with modules. Use osmosis's busybox from the magisk repo, but other than that, install modules 1 at a time and see if it affects root.
Another tip: uninstall all updates of the "device maintenance" app, and find it in Google play and turn off automatic updates. Then go to device maintenance > battery > unmonitored apps and magisk manager to the list of unmonitored apps... Then go back the battery screen, battery usage > 3 dots in top right > optimize battery usage, and make sure magisk manager is not optimized... That should help some. (Note: some models don't have device maintenance, but you'll still have the "optimize battery usage" option some where.)
The Google play thing you're seeing is likely "instant apps" updating. I believe that should be unrelated to all this, but some aspects of instant apps is a mystery.
As for the logcat thing, i believe you're getting logcat confused with the magisk_debug.log located in /data ? If that's the case, you need to be using the beta version of magisk. Go to magisk and set the update channel to beta, you'll get a notification to update magisk, download it and flash. (Or if the recommended native install is an option, use that)
I recommend just using he normal 14.3 magisk... You'll have issues, but they will be predictable and easy to solve with a simple reboot. There's really no final solution for us unfortunately, just making it as stable as possible.
Lastly, it helps if once every once in a while you fully uninstall magisk with the uninstall.zip, reboot (you might not get a bootloop, in which case hold volume up +power+ home to boot into recovery), reflash magisk 14.3, and then wipe cache and art/davik.
---------- Post added at 04:12 PM ---------- Previous post was at 04:12 PM ----------
larrythil said:
Hello,
I'm using a Samsung Galaxy S6(64GB, Exynos) with Magisk-root. But I have the issue that it automatically uninstalls. And suddenly it’s unroot. Then I have to reinstall the Magisk-vXX.X.zip with TWRP (X.XX is the version, for example: 14.0 or 13.3). But after some hours it is uninstalled again and I lost the root access.
Then I have to repeat this...
Does someone have the same problem? Or does someone know how to fix this?
I don't want to reinstall the Magisk-package everytime i need root-access.. And I don't want to switch to another root because I like the Magisk-hide-function.
Or are there other roots with hide function?
(I don't want to install a Custom ROM!)
Thank you
Larry
Click to expand...
Click to collapse
See above
Thanks to all for the help
Nye-uhls said:
So long story short, there's no definitive solution to the problem. Im using a g920p with a custom kernel built by a genius dev, and i still lose root once a day.
Basically what it comes down to is modules. If you have zero modules, you'll have better luck... But that's not the point of magisk, so you need to be picky with modules. Use osmosis's busybox from the magisk repo, but other than that, install modules 1 at a time and see if it affects root.
Another tip: uninstall all updates of the "device maintenance" app, and find it in Google play and turn off automatic updates. Then go to device maintenance > battery > unmonitored apps and magisk manager to the list of unmonitored apps... Then go back the battery screen, battery usage > 3 dots in top right > optimize battery usage, and make sure magisk manager is not optimized... That should help some. (Note: some models don't have device maintenance, but you'll still have the "optimize battery usage" option some where.)
The Google play thing you're seeing is likely "instant apps" updating. I believe that should be unrelated to all this, but some aspects of instant apps is a mystery.
As for the logcat thing, i believe you're getting logcat confused with the magisk_debug.log located in /data ? If that's the case, you need to be using the beta version of magisk. Go to magisk and set the update channel to beta, you'll get a notification to update magisk, download it and flash. (Or if the recommended native install is an option, use that)
I recommend just using he normal 14.3 magisk... You'll have issues, but they will be predictable and easy to solve with a simple reboot. There's really no final solution for us unfortunately, just making it as stable as possible.
Lastly, it helps if once every once in a while you fully uninstall magisk with the uninstall.zip, reboot (you might not get a bootloop, in which case hold volume up +power+ home to boot into recovery), reflash magisk 14.3, and then wipe cache and art/davik.
---------- Post added at 04:12 PM ---------- Previous post was at 04:12 PM ----------
See above
Click to expand...
Click to collapse
Hello again.
So in response.
I followed the advice given... (just as a note previously the root issue would happen within an hour of restarting the device). I have been to the beta thread and read through all advice. Before jumping to the Magisk 14.3, I started with Magisk 14.2, there was a post recommending this as a critical update to Magisk 14.0.
I had no issues with this install (I had once again used my backup to revert the phone back to all original).
I then added any of the modules i wanted one at a time waiting over an hour before looking at adding any additional modules.
So far, I have not lost root and the phone is working as expected (alot better infact). I have all the Busybox modules +add-on's running, still no issues.
The upgrade to v14.2 seems to have fixed all for my uses.
Thanks to all for help and advice.
Andy
AndyQVT said:
Hello again.
So in response.
I followed the advice given... (just as a note previously the root issue would happen within an hour of restarting the device). I have been to the beta thread and read through all advice. Before jumping to the Magisk 14.3, I started with Magisk 14.2, there was a post recommending this as a critical update to Magisk 14.0.
I had no issues with this install (I had once again used my backup to revert the phone back to all original).
I then added any of the modules i wanted one at a time waiting over an hour before looking at adding any additional modules.
So far, I have not lost root and the phone is working as expected (alot better infact). I have all the Busybox modules +add-on's running, still no issues.
The upgrade to v14.2 seems to have fixed all for my uses.
Thanks to all for help and advice.
Andy
Click to expand...
Click to collapse
Glad everything is good! Sometimes magisk will get messed up, so just updating or even reinstalling will fix things.
Just keep in mind, its very likely you'll have problems again down the road... Samsung phones do a lot of weird stuff under the hood, and eventually symlinks will get broken, files deleted etc... So when that does happen, the best you can do is uninstall, reflash, update, and watch your modules.
Today updated to 15.3 and install James DSP root losed...When open magisk ask for installation reboot to recovery twrp install latest zip reboot open magisk it close it self and root lost again ?! Any advice from @topjohnwu
Do you guys mind posting a resource that shows how to root the S6 using magisk? I'm very rusty, last time I dealt with rooting was 8 years ago. Any help is appreciated. Thanks

[Q] Magisk v16 Problems T715

Hi all, i'm using a stock rom, rooted with magisk and debloated (manually). I always faced this problem, the 90% of the modules i try to install ends with something like that:
See Screen below
However i've never asked help because i tought it was a Magisk problem resolvible with an update...but every update ended always in the same way for me when trying to install some modules. I've also attached some logs here of when i tried to update xposed systemless if someone could help me it will be really apprecciated!
P.s Anyone facing the same problem? I've read somewhere that a similar problem is common with Motorola devices but idk if this is the case
Giuskiller said:
Hi all, i'm using a stock rom, rooted with magisk and debloated (manually). I always faced this problem, the 90% of the modules i try to install ends with something like that:
See Screen below
However i've never asked help because i tought it was a Magisk problem resolvible with an update...but every update ended always in the same way for me when trying to install some modules. I've also attached some logs here of when i tried to update xposed systemless if someone could help me it will be really apprecciated!
P.s Anyone facing the same problem? I've read somewhere that a similar problem is common with Motorola devices but idk if this is the case
Click to expand...
Click to collapse
Is this via Magisk manager?
ashyx said:
Is this via Magisk manager?
Click to expand...
Click to collapse
Yes this is via Magisk Manager, however the same error (could not mount something) appears also when i try to install a module via twrp. The "best" thing is that some module just works both way (Busybox NDK for example) while other fails both ways. No module work in a way and doesn't work in another. So basically if a module work in magisk can be installed also via twrp otherwise it cannot be installed, no matter what i try
I have the same problem. Trying to install viper4a.
I have no clue how to fix it
Giuskiller said:
Yes this is via Magisk Manager, however the same error (could not mount something) appears also when i try to install a module via twrp. The "best" thing is that some module just works both way (Busybox NDK for example) while other fails both ways. No module work in a way and doesn't work in another. So basically if a module work in magisk can be installed also via twrp otherwise it cannot be installed, no matter what i try
Click to expand...
Click to collapse
I think this is a bug in Magisk with the way some modules attempt to install and mount, which is why some work.
I'm surprised though that they don't install in TWRP. Is your device encrypted, can you mount /data in recovery?
ashyx said:
I think this is a bug in Magisk with the way some modules attempt to install and mount, which is why some work.
I'm surprised though that they don't install in TWRP. Is your device encrypted, can you mount /data in recovery?
Click to expand...
Click to collapse
Actually i'm at university, but when i come back home i will try and let you know. What i can say for now is that every zip i've flashed so far worked just flawlessy (well, apart magisk's ones)
Downloaded atmos dolby only module for nougat....rebooted snd stucked on samsung logo. Ohhhh.... How to get rid of this module, is anyway to do it?
Please help
Edit:
installed module uninstaller and followed it - > https://forum.xda-developers.com/showpost.php?p=72542167&postcount=242
working now.
Looking for info how to install viper4Android....
netgar said:
Downloaded atmos dolby only module for nougat....rebooted snd stucked on samsung logo. Ohhhh.... How to get rid of this module, is anyway to do it?
Please help
Edit:
installed module uninstaller and followed it - > https://forum.xda-developers.com/showpost.php?p=72542167&postcount=242
working now.
Looking for info how to install viper4Android....
Click to expand...
Click to collapse
Well as far as i know, if you're on stock rom you won't be able to install audio mods because they're in conflict with something in the Rom. You should use a custom rom instead. However not sure 100% about this, maybe some audio mods can work, but you should ask someone else, i'm not so informed

Viper4Android FX doesn't work

It calling me all time for the driver. I do that every time and I give him magisk root to do that. Any suggestion?
Did i get here some help or not? Then i looking maybe for a other Forum...
Install as system app and allow it to install through the not recommended settings.
U now have to delete it and reinstall it.. Watch the instructions in the thread pls before you become sow passive agressive mate. It is not our fault, ok?
Use this module. Flash in Magisk manager. Choose latest driver, material app, system app, lib workaround, and choose no for the last. (I don't remember what was it)
Hi, I've a Mi9 and tried to install Viper4AndroidFx.. Installation ok, driver installed, but no effect.. tried to set all to highest value to ear some difference but nothing..
Uninstalled it, i tried Viper4Android Legacy, installed as system app and by magisk and chosen all installation option with up volume button..
But still no difference with the stock speaker.. can you help me?
I would like to encrease the volume during a calling. thanks bye
take a look on mi8 or mi a1 forum in xda, there is described exactly which modules in Magisk must be installed to allow a proper function of the ViperFX. Still bootloader locked, so I cannot support by then.
catalindobre said:
take a look on mi8 or mi a1 forum in xda, there is described exactly which modules in Magisk must be installed to allow a proper function of the ViperFX. Still bootloader locked, so I cannot support by then.
Click to expand...
Click to collapse
my bootloader is unlocked to flash magisk, why it doesn't works with unlocked bootloader?
nikzodiac said:
my bootloader is unlocked to flash magisk, why it doesn't works with unlocked bootloader?
Click to expand...
Click to collapse
It only works with unlocked BL ofc. Did you tried installing "Audio Modification Library", and "Audio Compatibility Patch" from Magisk repo?
darek1995 said:
It only works with unlocked BL ofc. Did you tried installing "Audio Modification Library", and "Audio Compatibility Patch" from Magisk repo?
Click to expand...
Click to collapse
no, what I've to do exactly? I'm not an expert of modding.. thanks
make sure to have installed Magisk Manager, also latest Magisk root installed via TWRP. After this it should be pretty simple, look for the afore mentioned modules in Magisk install them one by one (each single one might require a reboot). After installing them you may install ViperFX, (version 2.3.4 as a system app).
catalindobre said:
make sure to have installed Magisk Manager, also latest Magisk root installed via TWRP. After this it should be pretty simple, look for the afore mentioned modules in Magisk install them one by one (each single one might require a reboot). After installing them you may install ViperFX, (version 2.3.4 as a system app).
Click to expand...
Click to collapse
hi, I tried to do everything you said, no one difference..
in a few days when the unlocking time will end will try it myself and in case will make it work, I will post here the process steps.
You have to install the legacy version with lib workaround. For me its working or you can try the rootless version from team_dewitt (look here in xda for it) you only need twrp and init.d injector.
Try this one.
https://forum.xda-developers.com/android/apps-games/app-viper4android-fx-2-6-0-0-t3774651
Just to install the apk, nothing else.
Working here like a charm
Hi, I tried the version linked by pokko, it works, but I can't find the way to encrease volume, it works just to have a lower volume, If I set the master volume value higher it doesn't encrease, seems like the stock volume.. is there a way to have an higher volume for the speakers?
thanks
2.7.0/2.7.1 working great on MIUI but with GSI roms it's a different story
if someone can tell me how to get an higher volume please let me know soon.. I'm really thinking to remove root frome my phone.. I've found no one good reason to have it, I don't want to change rom, so I did it just to have 3 things: adaway, encrease volume and use ps3 controller with bluetooth...
adaway doesn't block anything in site that I tried it,
with viper4android my speaker volume is still the same..
miui seems not compatible with ps3 controller.. sixaxis compatibility checker can't works with bluetooth..
the only good thing I've found is the modded youtube version with no ads and background player.. but I've seen exist a versione for no rooted phones too..

Bootloop/Magisk/Xposed

So... I have an interesting situation here
So I have the 1TB Rog Phone 2 WW model. I went through the process of installing magisk, everything worked fine. I installed edXposed as my xposed solution, installing the required magisk modules which also seemed to work just fine. At some point, I would swear the last change I made was to edXposed which caused a bootloop scenario, possibly a module, I wasn't able to isolate the specific cause. However given the nature of the issue, I haven't ruled out some conflicting magisk module as the culprit. I used the fix bootloop recovery option in TWRP (probably a mistake), which did allow me to boot back into the system, but it disabled magisk. Reinstalling magisk causes the boot loop.
And here I am.
Flashing magisk will fully prevent the system from booting normally. I can no longer root it using magisk without it bootlooping.
"did you remove the offending modules"
Well, I used two guides which basically walk you through the magisk recovery manager, adb alternative, and list module paths, (since I can't post the actual links)
to no avail. The magisk recovery manager failed to install and I was unable to locate any modules in any of the specified paths
(/data/media/mm and /sdcard/mm (I am concerned I do not have the correct module path, but the recovery manager also fails to install, so I'm not necessarily sure what is going on other than it can't find any modules either).
Now yes, I do realize I can flash the stock firmware and start again, but this can be a pain in the neck (I assume the VoLTE trick doesn't survive that process not that its a super difficult process), and ideally I'd rather learn more about the system because that was the point of all this.
If anyone has any input or direction as to an alternative solution to a full on factory restore, I would be most humbly appreciative. I like tinkering with my devices, and this seems like something that can be repeated pretty easily, so I'd like to be better prepared.
Hi , sorry if i can't help you.. since i was also having the same problem although not using any modules from xposed.
flashing magisk via twrp or using patched.img will always yield to bootlop but flashing stock.img will fix it.. but ofcourse we want to root but can't seem to pass this barrier..
i hope someone could help and tell us why is this happening

Question Phone keeps freezing

Hi guys
After unlocking bootloader and installing the EU rom as I did previously I now seem to have a constant freezing issue where I have to keep rebooting the phone. Sometimes it works and sometimes you open a app and you just get a blank white screen just sitting there. The only thing different I have to to previously is use magisk delta rather than the normal magisk.
Anyone else having this issue?
Regards
Probably caused by magisk/modules . Try different magisk or without magisk.
Bobfish said:
Probably caused by magisk/modules . Try different magisk or without magisk.
Click to expand...
Click to collapse
No modules installed. Magisk used to be good but now it's a ****show where they changed the zygisk something where unless it's enabled you cant hide apps which then defeats the purpose of using banking apps as it's det xted some bull along those lines hence wanted to try delta magisk as it lets you also install and extract boot and root without using a pc. Much better at working than not al magisk.
I don't understand why good stuff has to go restarted rather than get easier and better.
Sorry I sound a bit frustrated as another issue I'm having is this bastard what's app migration of chats from iPhone to android. My gosh what a nightmare that is. Still haven't managed to transfer

Categories

Resources