Magisk doesnt prompt and auto rejects su requests - Android Q&A, Help & Troubleshooting

I got a pra lx1 with emui 8 magisk and xposed( not systemless) installed. Since one week magisk dosesnt prompt me when a app like to have root acces, like app2sd. I uninstalled it and reflashed in in twrp, but it wasnt helpfull and noww all apps which dhad root acces before reflash do not, so i got only 50% of my apps because app2sd cant get root access. In the Magisk Log it says su request rejected, but it doesnt ask me. Also sometimes the log says write failed with 32: Broken pipe what does this mean? I attached the Logcat also

Dont know if you fixed this, but I had the same issue. This solution here: https://github.com/topjohnwu/Magisk/issues/844 by nonnymoose got it working fine

robneymcplum said:
Dont know if you fixed this, but I had the same issue. This solution here: https://github.com/topjohnwu/Magisk/issues/844 by nonnymoose got it working fine[/QU
I had magisk and xposed installed, but xposed not via magisk, so they dont like each other i think. I uninstalled xposed and everything was fine
Click to expand...
Click to collapse

TheDarkMadness said:
robneymcplum said:
Dont know if you fixed this, but I had the same issue. This solution here: https://github.com/topjohnwu/Magisk/issues/844 by nonnymoose got it working fine[/QU
I had magisk and xposed installed, but xposed not via magisk, so they dont like each other i think. I uninstalled xposed and everything was fine
Click to expand...
Click to collapse
Ah good, at least it got sorted out
Click to expand...
Click to collapse

Related

[Q] DNA Keeps unrooting?

So I used the rooting guide at http://forum.xda-developers.com/showthread.php?t=1996389 and found a different superuser/busybox package to use. (don't remember the link right now).
However, whenever I open SuperSU to try to update it, it says installation failed or just reboots. And if I try to use root things for AdFree, it can't find the partition or just restarts.
Is anyone else having this problem or is there a different SU package I should use? My bootloader IS unlocked.
xDexter said:
So I used the rooting guide at http://forum.xda-developers.com/showthread.php?t=1996389 and found a different superuser/busybox package to use. (don't remember the link right now).
However, whenever I open SuperSU to try to update it, it says installation failed or just reboots. And if I try to use root things for AdFree, it can't find the partition or just restarts.
Is anyone else having this problem or is there a different SU package I should use? My bootloader IS unlocked.
Click to expand...
Click to collapse
Ive been using ViperDNA which comes with what seems like a custom SuperUser type of all in it.
But when I origionally rooted my phone, i seem to remember having an issue with SuperSU, and the first time i rooted i said screw it and just installed Superuser without any problems. The second time i rooted, i Installed SuperSU, then had to download Superuser form the Android Market, to update the binary, which updated it for SuperSU, and that solved my problem.
When you try to open an app that needs to use root access, do you get the notification asking for permission?
perhaps the "other" superSU/busybox package that you used didn't properly do what it needed to do?
I see the link on that tutorial is broken, fortunately i have the file that i originally downloaded form that very same tutorial saved to my hard drive, and now uploaded to DropBox if you would like to download it and try flashing this zip while in recovery to see if it gives you a proper root.
I would recommend downloading the above file, and flashing that to see if it helps. I'll try to remember to check back here to see if you posted anything in reply, but let me know if it doesn't work. Ill try to help as much as I can
BigRed35m said:
I would recommend downloading the above file, and flashing that to see if it helps. I'll try to remember to check back here to see if you posted anything in reply, but let me know if it doesn't work. Ill try to help as much as I can
Click to expand...
Click to collapse
I installed your package, and get the same errors before in SuperSU. It wants to upgrade but then force restarts whilst trying.
I then tried the Superuser app by Chainsdd, and I make a little progress?
First, when I try to upgrade, it asks for root from SuperSU and Superuser. Since SuperSU came with the busybox package, I can't uninstall it.
When I first go to the updater, it shows me this: (See attachment 1, I can't do links :S)
After I upgrade it, I am left with this screen: (see attachment 2)
It looks like it reverts back to su v .98 from 1.02?
Either way, as soon as I hit lets do it again, the phone restarts. Did I screw up the unlock/root somehow? In the top left of my fastboot screen it shows ***TAMPERED*** and ***UNLOCKED***
I am using CWM 6.0.2.1
BigRed35m said:
When you try to open an app that needs to use root access, do you get the notification asking for permission?
Click to expand...
Click to collapse
If I do it right when I reboot my phone it usually asks correctly
Thanks again for the help so far!
xDexter said:
I installed your package, and get the same errors before in SuperSU. It wants to upgrade but then force restarts whilst trying.
I then tried the Superuser app by Chainsdd, and I make a little progress?
First, when I try to upgrade, it asks for root from SuperSU and Superuser. Since SuperSU came with the busybox package, I can't uninstall it.
When I first go to the updater, it shows me this: (See attachment 1, I can't do links :S)
After I upgrade it, I am left with this screen: (see attachment 2)
It looks like it reverts back to su v .98 from 1.02?
Either way, as soon as I hit lets do it again, the phone restarts. Did I screw up the unlock/root somehow? In the top left of my fastboot screen it shows ***TAMPERED*** and ***UNLOCKED***
I am using CWM 6.0.2.1
If I do it right when I reboot my phone it usually asks correctly
Thanks again for the help so far!
Click to expand...
Click to collapse
It's difficult for me to troubleshoot when i haven't had to fix this problem since december haha.
The tampered, and unlocked is standard that is what it shows for everyone who unlocked the boot-loader.
So let me get this straight,
Do me a favor, un-install Superuser, download RootChecker from the market by JoeyKrim, And run it, what does it say?
->When you run it, did it ask for permission from SuperSU?
With just the SuperSU installed, if you run a program that requires root permission (For example, RootChecker), Nothing shows up asking if you want to Allow/Deny?
->When you open SuperSU to update the binary, it fails to update and restarts the APP?
With the SuperSU/BusyBox package flashed, when you install Superuser from the android market and try to update the binary, it *appears* to revert back to an older version of the binary?
-> After updating the binary through Superuser (despite the appparent reversion), if you un-install Superuser, and try to run RootChecker, does it work?
Sorry, i know it is a lot and i'm not much help, i'm troubleshooting blindly and from a distance haha.
xDexter said:
So I used the rooting guide at http://forum.xda-developers.com/showthread.php?t=1996389 and found a different superuser/busybox package to use. (don't remember the link right now).
However, whenever I open SuperSU to try to update it, it says installation failed or just reboots. And if I try to use root things for AdFree, it can't find the partition or just restarts.
Is anyone else having this problem or is there a different SU package I should use? My bootloader IS unlocked.
Click to expand...
Click to collapse
you need to install a kernel with /system writing enabled. Such as lk's or cubed
htc has a line wrong in their code and it makes it so that /system cant be edited while booted into android, only while in recovery. Installing a kernel that fixed this bug will let you use supersu from the play store and other apps such as adfree which need to edit system files to function
Bigandrewgold said:
you need to install a kernel with /system writing enabled. Such as lk's or cubed
htc has a line wrong in their code and it makes it so that /system cant be edited while booted into android, only while in recovery. Installing a kernel that fixed this bug will let you use supersu from the play store and other apps such as adfree which need to edit system files to function
Click to expand...
Click to collapse
Yeah this is what I figured out too.
Sent from my HTC6435LVW using XDA Premium HD app
Even with a writeable kernel SuperSu gives a hiccup at first. Download SuperUser, update the binary of SuperSu, then uninstall SuperUser. SuperSu will be fine after that.
orangechoochoo said:
Even with a writeable kernel SuperSu gives a hiccup at first. Download SuperUser, update the binary of SuperSu, then uninstall SuperUser. SuperSu will be fine after that.
Click to expand...
Click to collapse
I never had an issue with supersu
Sent from my HTC6435LVW using xda app-developers app
Bigandrewgold said:
I never had an issue with supersu
Sent from my HTC6435LVW using xda app-developers app
Click to expand...
Click to collapse
Quite a few of us running a version of Supercharged Hatka had problems when they switched to SuperSu,but now they switched back to SuperUser and the problem hasn't reared its head.

Viper4Android on Redmi Note 3 Pro

Hi there,
I've finally accomplished to unlock und root my device. Now I'm trying to install Viper4Android, but the drivers aren't working. Tried to install SELinuxModeChanger, but that didn't work as well.
Any ideas on this?
install kernel adiutor and use selinux tool from there, it works for me
neogen17 said:
install kernel adiutor and use selinux tool from there, it works for me
Click to expand...
Click to collapse
Ahh, had to search for this option a little bit, but it works like a charm! Thank you.
For the rest: you find it under "Plugins"
Update: well, it doens't work anymore for somehow.
Seems like that apply on boot doesn't work sometimes?
Search for lolliviper here on xda and flash through twrp, it will work with enforcing selinux, no other "tweaks" necessary.
EDIT: you can also take a look here
DrStuhl said:
Hi there,
I've finally accomplished to unlock und root my device. Now I'm trying to install Viper4Android, but the drivers aren't working. Tried to install SELinuxModeChanger, but that didn't work as well.
Any ideas on this?
Click to expand...
Click to collapse
Download their official app for android 5+,
But you need permmissive she Linux mode so get the selinux mode changer and change it to permissive. Install the viperfx app and install the driver
krcovsky said:
Search for lolliviper here on xda and flash through twrp, it will work with enforcing selinux, no other "tweaks" necessary.
EDIT: you can also take a look here
Click to expand...
Click to collapse
Thanks, works really fine

Android Pay with Systemless Root (N Beta Preview)

What I Did
1. I flashed the decrypt kernel for the N Beta through ADB
2. I did a factory reset to finish the decrypt process
3. I booted into TWRP using ADB (I did it this way to keep stock recovery, you can just flash TWRP if you like)
4. Once in TWRP, though ADB I typed "ADB Shell"
Then typed "echo SYSTEMLESS=true>>/data/.supersu"
Followed by "echo BINDSYSTEMXBIN=false>>/data/.supersu"
5. I proceeded to flash the latest Supersu Beta
6. Set up Android Pay and profit!
It is pretty much the exact process for Android Pay with Systemless root, but you do HAVE to have decrypted or else this will not work.
Screenshots or It Didn't Happen
Do you mind linking the decrypt kernel?
it simply works if you are stock and systemless rooted.
trebills said:
Do you mind linking the decrypt kernel?
Click to expand...
Click to collapse
No problem
http://forum.xda-developers.com/nexus-6p/general/stock-modified-boot-img-regular-root-t3306684
MrKaon said:
it simply works if you are stock and systemless rooted.
Click to expand...
Click to collapse
Yes exactly, but for now, there is no way to root unless you decrypt first
kingmikel said:
No problem
http://forum.xda-developers.com/nexus-6p/general/stock-modified-boot-img-regular-root-t3306684
Yes exactly, but for now, there is no way to root unless you decrypt first
Click to expand...
Click to collapse
I'm running the same setup but with Adaway and ElementalX Kernel. I was able to pay for coffe this morning
omf05 said:
I'm running the same setup but with Adaway and ElementalX Kernel. I was able to pay for coffe this morning
Click to expand...
Click to collapse
I'm still trying to get Adaway to work! And how's ElementalX running with the new preview? I have not tried it yet
kingmikel said:
I'm still trying to get Adaway to work! And how's ElementalX running with the new preview? I have not tried it yet
Click to expand...
Click to collapse
ElementalX is running fine for me so far, just use the version for DP2 and you should be fine..
I am system rooted with BusyBox and V4A installed and SELinux permissive on DP3. I haven't tested Android Pay, but I was able to add a card without a problem. Is that indicative that it should work? I had the opportunity to test it today but didn't.
Nitemare3219 said:
I am system rooted with BusyBox and V4A installed and SELinux permissive on DP3. I haven't tested Android Pay, but I was able to add a card without a problem. Is that indicative that it should work? I had the opportunity to test it today but didn't.
Click to expand...
Click to collapse
From my experience, if you successfully add a card then it works. Usually prevent you from adding a card. I also use Safetynet Helper Sample and make sure it passes
kingmikel said:
From my experience, if you successfully add a card then it works. Usually prevent you from adding a card. I also use Safetynet Helper Sample and make sure it passes
Click to expand...
Click to collapse
Fails the CTS check. I guess only way to know if to go try it out lol.
Nitemare3219 said:
Fails the CTS check. I guess only way to know if to go try it out lol.
Click to expand...
Click to collapse
Mine passes lol. I'm confused as to why it let you add a card!
kingmikel said:
Mine passes lol. I'm confused as to why it let you add a card!
Click to expand...
Click to collapse
Guy in the N development thread showed AP working for him and he is system rooted as well. Probably a bug... but it'd be nice if Google were allowing rooted users to use AP since they know we find workarounds anyway.
Nitemare3219 said:
Guy in the N development thread showed AP working for him and he is system rooted as well. Probably a bug... but it'd be nice if Google were allowing rooted users to use AP since they know we find workarounds anyway.
Click to expand...
Click to collapse
That guy was me. Passes safety net fine. All I did was root and added the card. Not sure probably a bug that will be fixed. Until then I'll enjoy not having to make any extra steps.
Don't like me......... BITE ME!!!
Nitemare3219 said:
Fails the CTS check. I guess only way to know if to go try it out lol.
Click to expand...
Click to collapse
Mine fails the step on N Beta 1 with systemless root. I haven't tried using pay though but I do have a card added.
Let me know if you try it and have success.
It is possible flash a custom kernel and still have Android pay working?
Enviado desde mi 6P
negrata said:
It is possible flash a custom kernel and still have Android pay working?
Enviado desde mi 6P
Click to expand...
Click to collapse
It works with current and prior Pure Nexus (MTC19T). Lately, I have flashed the FiFix_ Google Dialer zip (as noted by Beanstown) after the other steps to make Android Pay work. Using it on Rooted N now but just came from Pure Nexus.
Sent from my Nexus 6P using XDA-Developers mobile app

[Guide] How to Install TWRP, Busybox and SuperSU to your Asus ZenWatch 2 (WI501Q)

I made a video on how to to Install TWRP, Busybox and SuperSU to your Asus ZenWatch 2. Let me know what you guys think.
https://www.youtube.com/watch?v=2YB0rz98tS0&feature=youtu.be
Edit: This works on 2.0 as well!
Unroot: https://www.youtube.com/watch?v=C77cHOjXo_g
Poebat said:
I made a video on how to to Install TWRP, Busybox and SuperSU to your Asus ZenWatch 2. Let me know what you guys think.
https://www.youtube.com/watch?v=2YB0rz98tS0&feature=youtu.be
Click to expand...
Click to collapse
Could use some help--i can get TWRP installed fine, even install Supersu. It just doesn't "take". https://forum.xda-developers.com/zenwatch-2/help/tried-everything-to-root-sparrow-twrp-3-t3614177
jaysonic88 said:
Could use some help--i can get TWRP installed fine, even install Supersu. It just doesn't "take". https://forum.xda-developers.com/zenwatch-2/help/tried-everything-to-root-sparrow-twrp-3-t3614177
Click to expand...
Click to collapse
Resolved it. Had to mount system to get it to stick.
@Poebat
Nice tutorial?
yash92duster said:
@Poebat
Nice tutorial?
Click to expand...
Click to collapse
Thanks!
can I use this guide also for Android Wear 2.0 ?
milanored said:
can I use this guide also for Android Wear 2.0 ?
Click to expand...
Click to collapse
No, I think the SuperSU I used in the video is for AW 1.5. You can try just make a backup before you do it
but the recovery should work with AW2.0 ?!
milanored said:
but the recovery should work with AW2.0 ?!
Click to expand...
Click to collapse
Correct
I confirmed that the recovery still works with AW2.0. The SuperSU and busybox zip fails to flash. I flashed the latest stable SuperSU zip and it flashes completely, but the SuperSU app does not open and the watch hangs up when asking for root. I flashed the latest Stericson busybox zip, but obviously I can't test if it installed without su.
Poebat said:
I made a video on how to to Install TWRP, Busybox and SuperSU to your Asus ZenWatch 2. Let me know what you guys think.
https://www.youtube.com/watch?v=2YB0rz98tS0&feature=youtu.be
Click to expand...
Click to collapse
Everytime I try to install I keep getting an error and this is after flashing to stock, reinstalling twrp and trying again.
Keep in mind I'm trying to root 1.5 not 2.0
GTDarthYoda said:
Everytime I try to install I keep getting an error and this is after flashing to stock, reinstalling twrp and trying again.
Keep in mind I'm trying to root 1.5 not 2.0
Click to expand...
Click to collapse
What are you trying to install?
Poebat said:
What are you trying to install?
Click to expand...
Click to collapse
https://forum.xda-developers.com/apps/supersu/android-wear-6-0-1-root-squashfs-t3319097
GTDarthYoda said:
https://forum.xda-developers.com/apps/supersu/android-wear-6-0-1-root-squashfs-t3319097
Click to expand...
Click to collapse
That's really odd. Are you running a stock ROM? How much free space do you have? Can you flash busybox?
Stock, wiped, stock, still nothing.
Edit:
Busy box installed
Edit:
Tried SuperSU again. no luck
I have the same problem with AW2.0. Root works after flashing the latest SuperSU but the SuperSU app itself won't open.
Gfhoihoi72 said:
I have the same problem with AW2.0. Root works after flashing the latest SuperSU but the SuperSU app itself won't open.
Click to expand...
Click to collapse
Zip from this post did the trick.
https://forum.xda-developers.com/showpost.php?p=73165371&postcount=66
It appears the issue stems from the filesystem being squashfs. I've dealt with squashfs in the past, and it doesn't allow modification due to it's structure. The system needs to be un-squashed, modified, then re-squashed. There is a ROM for the LG watch where the developer converted it to ext4, but that requires editing partitions on the watch. I'm considering converting this to ext4, but I'm not thrilled with the idea of a hard brick.
Hmmmm very very strange, after some reboots the twrp recovery is gone.
The watch boots in the stock recovery.
Is it because this is an 1.5 version?

Help w/ Xposed for Magisk

Looking to install Xposed for Magisk on my G973F/Exynos (I am successfully rooted on stock Android 10), so I can run Xprivacy Lua, but worried about the warning related to bootloop.
On the Magisk site, there are contradictory statements:
By the way, EDXposed and TaiChi working flawlessly in the android 10 devices and also some of the modules only which has upgraded to SDK 29 working without conflicts.
Click to expand...
Click to collapse
and
Note: With the above method, there are high chances of getting boot loop.
Click to expand...
Click to collapse
Can someone advise which method to use and how to recover from the bootloop if it happens?
BillTheCat said:
Looking to install Xposed for Magisk on my G973F/Exynos (I am successfully rooted on stock Android 10), so I can run Xprivacy Lua, but worried about the warning related to bootloop.
[...]
Can someone advise which method to use and how to recover from the bootloop if it happens?
Click to expand...
Click to collapse
If bootloop happens: boot to TWRP (you WILL need that) and disable EdXposed/Taichi. To do that, go to terminal and type 'cd /data/adb/modules', followed by e.g. 'touch EdXposed/disable' (beware: you need to check the correct path).
I would always try EdXposed first, because it is open source.
Keule-T said:
If bootloop happens: boot to TWRP (you WILL need that) and disable EdXposed/Taichi. To do that, go to terminal and type 'cd /data/adb/modules', followed by e.g. 'touch EdXposed/disable' (beware: you need to check the correct path).
I would always try EdXposed first, because it is open source.
Click to expand...
Click to collapse
Thanks, I'll give that a shot, I do have TWRP installed. What is the keypress combo to get me out of bootloop, or is it the same as booting to TWRP?
BillTheCat said:
Thanks, I'll give that a shot, I do have TWRP installed. What is the keypress combo to get me out of bootloop, or is it the same as booting to TWRP?
Click to expand...
Click to collapse
Get out of bootloop by pressing power & vol- for seven seconds, immediately followed by TWRP combo.
Keule-T said:
Get out of bootloop by pressing power & vol- for seven seconds, immediately followed by TWRP combo.
Click to expand...
Click to collapse
Looks like I'm good to go. Does this look right to you? Just wondering about the three instances of Riru listed. What worries me is that I have two 'optimize' lightning bolts at the top of the manager app. Just checking to be sure.
Also, this is probably an obvious answer, but I presume that Xposed modules like Xprivacy should be installed via the EdXposed Manager, yes? I've learned to not take anything for granted with mods like this.
Thanks!
BillTheCat said:
Looks like I'm good to go. Does this look right to you? Just wondering about the three instances of Riru listed. What worries me is that I have two 'optimize' lightning bolts at the top of the manager app. Just checking to be sure.
Also, this is probably an obvious answer, but I presume that Xposed modules like Xprivacy should be installed via the EdXposed Manager, yes? I've learned to not take anything for granted with mods like this.
Thanks!
Click to expand...
Click to collapse
Looks excellent. I think you can delete the Edxposed entry with no further text.
Those two 'Optimize' buttons.. yea, dunno. I think they're explained in the EdXposed thread, can't remember. But they're normal.
Installing of modules works either way: via Manager, download-and-install, or installation via Playstore/F-Droid/you-name-it.
Hi guys.Id like to install EdXposed on my S10 +Exynos(rooted by Magisk).I currently use last stock fw patch december.
Would it be possible to install it?
Could you please tell me the steps to install it?Tnx in advance

Categories

Resources