Help - Systemless Root - Magisk

Hello,
First off, I am using a Oneplus 5 device running 7.1.1 Nougat.
I followed this guide to root my phone with Magisk 13.2 https://forum.xda-developers.com/oneplus-5/how-to/oneplus-5-unlock-bootloader-flash-twrp-t3624877
I am able to download apps that require root, and grant them said root access.
However when trying to give AdAway Systemless root access (In preferences) the checkbox is greyed out and unusable.
So far so bad.
When trying to install BusyBox, and try to select a different install path (/su/xbin or /su/bin) I get the error message : "Systemless root is not configured, please choose another install location"
If I go into Magisk Manager both BusyBox and AdAway are Granted Root access, and when checking settings, Hosts Systemless is activated.
Am I simply blind and have I missed a step? On the Magisk Manager Homescreen, it says I have the latest version installed, and MAGIKSU is also validated.
Help please? I'm confused. D:

For AdAway you shouldn't have to bother with the systemless option. Just enable Systemless hosts in the Magisk Manager.
You could also use a Magisk module. There's a great one called Unified Hosts Adblocker. Unfortunately there's a bug in the Manager at the moment that makes it crash when downloading modules. They can be installed manually though (there's a download in the thread).
For busybox you've got a great installer here: https://forum.xda-developers.com/showthread.php?t=2239421
It'll install as a Magisk module when flashed in recovery.

Hello,
I've followed your suggestion and manually installed Unified Hosts Adblocker. I'm assuming it will update on it's own when required? As it has no interface. (Also, I am still getting ads, is this normal? xD)
So installing AdAway won't trigger SafetyNet as long as I have "Hosts Systemless" checked right?
I have also flashed the BusyBox installer from the link you gave me. It shows up on Magisk Modules, however it hasn't created a busybox icon in my applist. (Again, no interface? Is this installed correctly?)
Furthermore, I've looked around a bit, and is it true I currently can not expect to run Xposed Framework on Nougat?
Thank you for your current answers, in the hopes of further ones.

With the hosts module you'll have to run it manually. Use a terminal emulator and type su followed by hosts and then follow the instructions. The m option is included in all the others... Don't forget to enable systemless hosts or it won't work. More about how you use the module in the thread.
There's no interface for the busybox installation, no. There's no need really...
---------- Post added at 17:27 ---------- Previous post was at 17:26 ----------
Oh yeah. No Xposed for Nougat.

Thanks for your help, it's been of great assistance and sets my mind to rest that nothing really went wrong with my installation of Magisk. I'll keep an eye out for the Manager updates that'll fix the downloads.
I was once again just wondering about the updating of busybox, but I'll just assume that if I get a "Update busybox" from any app, I'll come back to the post you directed me to and update it that way.
You didn't answer my pondering about Xposed, but once again I'll just assume what I found is true and the developer currently hasn't had time to update it yet, and it may take a while.
Thank you for your time and the peace of mind you've procured me.

Didgeridoohan said:
Oh yeah. No Xposed for Nougat.
Click to expand...
Click to collapse
:laugh:

Related

Magisk - Rebooting resets Magisk Hide

Hi all,
So I've just flashed Oxygen OS 4.0.1 for the OnePlus3T, flashed SuperSU 2.79, downloaded Magisk from playstore, installed it, uninstalled SuperSU app. Root is working fine
Two green ticks, installed and properly rooted, but the SafteyNet failes. I read that you need to enable Magisk hide, so I do, and it tells me to reboot, so again I do, but the option keeps resetting/.
Anyone else having this issue/ has a solution?
There's been several users with OnePlus devices having problems with Magisk Hide. Might be a device specific issue that's not user solvable at the moment...
Edit: New info added to OP after my answer... Magisk Hide does not work with SuperSU.
Didgeridoohan said:
There's been several users with OnePlus devices having problems with Magisk Hide. Might be a device specific issue that's not user solvable at the moment...
Click to expand...
Click to collapse
That's a shame ./. I'll ask reddit
Thanks
I'm using phh's superuser and Magisk hide is working for me on the open beta and people seem to say that the current beta and the release versions are virtually the same, so it might be an issue with how SuperSU is handled.
afaik Magisk Hide needs phh's root, not SuperSU
Snappiestjack said:
Hi all,
So I've just flashed Oxygen OS 4.0.1 for the OnePlus3T, flashed SuperSU 2.79, downloaded Magisk from playstore, installed it, uninstalled SuperSU app. Root is working fine
Two green ticks, installed and properly rooted, but the SafteyNet failes. I read that you need to enable Magisk hide, so I do, and it tells me to reboot, so again I do, but the option keeps resetting/.
Anyone else having this issue/ has a solution?
Click to expand...
Click to collapse
Ok... I believe you've added some information since my first answer...
Magisk Hide does NOT work with SuperSU. You have to use topjohnwu's phh's superuser that's provided with Magisk.
Didgeridoohan said:
There's been several users with OnePlus devices having problems with Magisk Hide. Might be a device specific issue that's not user solvable at the moment...
Click to expand...
Click to collapse
Nope, nope, nope. It's a problem with USERS who use magisk hide options. In THREAD is info about supersu + magisk hide = NOT WORKING. This is only fault of wrong su binaries, so it's not device specific issue.
And for this issue - probably flash a unsu script. It will (probably) delete all of supersu files, then in magisk manager or twrp flash modded phh binaries for magisk and then, finally install ph manager from google play. That is config to be able to use magisk hide.
ENJOY.
mucha.k1994 said:
Nope, nope, nope. It's a problem with USERS who use magisk hide options. In THREAD is info about supersu + magisk hide = NOT WORKING. This is only fault of wrong su binaries, so it's not device specific issue.
And for this issue - probably flash a unsu script. It will (probably) delete all of supersu files, then in magisk manager or twrp flash modded phh binaries for magisk and then, finally install ph manager from google play. That is config to be able to use magisk hide.
ENJOY.
Click to expand...
Click to collapse
Yeah, I know... OP edited with SuperSU info after my answer. I edited my post as well. Thanks for the reminder.
Not going to quote everyone, but YES! Removing SuperSU and using phh SU works just fine!
Thanks all.

CM-su still being detected by Magisk, Magisk Hide not working

Hi,
I'm currently so confused as to why my Magisk isn't working. I'm currently running the last CM 13 snapshot for the Galaxy S5 (G900F, klte), and root and Xposed work fine via Magisk.
However, what isn't working is Magisk Hide, and I'm not sure why. However, I'm noticing that even though I fully unrooted cm-su (using SuperSU, in a way that means the only root I can select in Dev Options is ADB only), I'm still getting cm-su detected by Magisk.
I'm confused -- is there anyway I can remove it? I've tried looking through TWRP file manager, but whenever I do so, I can't even see /system/ files, and mounting only mounts to USB, but that's unrelated.
Thanks for any help!
intcompetent said:
Hi,
I'm confused -- is there anyway I can remove it? I've tried looking through TWRP file manager, but whenever I do so, I can't even see /system/ files, and mounting only mounts to USB, but that's unrelated.
Click to expand...
Click to collapse
I don't think SuperSU removes the in-built CM superuser. Use the UNSU zip by osmosis instead. https://forum.xda-developers.com/showthread.php?t=2239421
Also magisk hide will NOT hide Xposed. Yes not even systemless 87.1 Xposed.
SuperSU removed its own root only, CM root is unaffected.
Also, Magisk hide only works with Magisk's own phh root.
And, as far as I know, it can't successfully hide Xposed either. Doesn't matter if it is systemless or not.
Cheers for the replies.
I wasn't aware that Magisk Hide didn't hide Xposed, that's my bad.
As for the presence of CM-SU, SuperSU did do something, as the Developer Options root option is now ADB only while previously it offered the option to Apps too. I'll try unsu.
Here's what I'm meaning btw: imgur.com /a /yTOTw (sorry for the link bypass, there's no other way for me to simply demonstrate the issue) (as you can see in the first screenshot, Magisk detects "cm-su" along with phh. When phh was disabled before I removed cm-su, it only detected cm-su, hence leading me to believe cm-su remains).
e: tried unsu, still cm-su remains. At this point, I'll leave it -- I presume that it's permanently ingrained into the ROM. I've gotten around the restriction I was facing anyway, and I'll adjust. Thanks anyway!
intcompetent said:
Cheers for the replies.
I wasn't aware that Magisk Hide didn't hide Xposed, that's my bad.
As for the presence of CM-SU, SuperSU did do something, as the Developer Options root option is now ADB only while previously it offered the option to Apps too. I'll try unsu.
Here's what I'm meaning btw: imgur.com /a /yTOTw (sorry for the link bypass, there's no other way for me to simply demonstrate the issue) (as you can see in the first screenshot, Magisk detects "cm-su" along with phh. When phh was disabled before I removed cm-su, it only detected cm-su, hence leading me to believe cm-su remains).
e: tried unsu, still cm-su remains. At this point, I'll leave it -- I presume that it's permanently ingrained into the ROM. I've gotten around the restriction I was facing anyway, and I'll adjust. Thanks anyway!
Click to expand...
Click to collapse
If there are SU files in /system/bin and /system/xbin, then CM root was not removed. Not completely.
To actually remove it you have to delete those files.
Pwnycorn said:
If there are SU files in /system/bin and /system/xbin, then CM root was not removed. Not completely.
To actually remove it you have to delete those files.
Click to expand...
Click to collapse
@intcompetent Osmosis's unsu zip removes those files. If those files are still there after flashing the unsu zip, I'd ask in his thread.
knpk13 said:
@intcompetent Osmosis's unsu zip removes those files. If those files are still there after flashing the unsu zip, I'd ask in his thread.
Click to expand...
Click to collapse
Or just remove them manually, jeez. It's just two files.
I've been doing it manually for months and everything works as intended.
As an a closer, there's nothing there. I presume that Magisk is picking up something freaky from somewhere, or something's up, but I'm good guys. I won't need anymore help.
Cheers!
I found this zip around somewhere. I believe it works to remove all root (systemless as well) and I've always flashed it before rooting normally. It should also remove CM root afaik.
As a test, after flashing, check and see if you pass safetynet before installing magisk
intcompetent said:
As an a closer, there's nothing there. I presume that Magisk is picking up something freaky from somewhere, or something's up, but I'm good guys. I won't need anymore help.
Cheers!
Click to expand...
Click to collapse
I
L

Cant find Enable Busybox in Magisk settings and ctsProfile not succesfull

Hello.
After many many reinstall of magisk I still cant find "Enable Busybox" in Magisk settings
I have "magisk core only mod" , "Magisk Hide" and "Systemless Host" BUT "Enable Busybox" is missing/not visible in my settings of Magisk.
I also got error when Safety Net check. Only bacisintegry is successfull. ctsProfile do not pass the test.
But, I can still download and update payed and free apps from Google Play Store.
Anyone what to do for getting "Enable Busybox" to be visible in my Magisk settings?
And, since ctsProfile not pass safetyscheck..can that be because for that missing "Enable Busybox" in settings?
Running lineageOS 14.1 and samsung J5 ( 2016 ) , SM-J510FN
Magisk 14.0
Regards
Rolf
Busybox: There is no toggle like that (hasn't been for some time). There's a Busybox module in the Downloads section of the Manager. Use that.
The failed ctsProfile check doesn't have anything to do with Busybox. Take a look here for more info on passing SafetyNet: https://forum.xda-developers.com/apps/magisk/guide-magisk-troubleshooting-t3641417
You don't need to pass SafetyNet to be able to download and install most apps. There are a few who use the Certified status in the Play store (Netflix) and some that won't function if you don't pass SafetyNet (Android Pay).
Didgeridoohan said:
Busybox: There is no toggle like that (hasn't been for some time). There's a Busybox module in the Downloads section of the Manager. Use that.
The failed ctsProfile check doesn't have anything to do with Busybox. Take a look here for more info on passing SafetyNet: https://forum.xda-developers.com/apps/magisk/guide-magisk-troubleshooting-t3641417
You don't need to pass SafetyNet to be able to download and install most apps. There are a few who use the Certified status in the Play store (Netflix) and some that won't function if you don't pass SafetyNet (Android Pay).
Click to expand...
Click to collapse
Thanks for responding and a celearly anwer Didgeridoohan
I will check that link about safetynet. Thanks
Anyway, I guess there are no point/neccesary installing Busybox module in Magisk when I already have Bysybox Pro installed on my device?
I have noticed that my Netflix will not load so hope I got that safetyNet up running in Magisk.
Regards
Rolf
[email protected] said:
Thanks for responding and a celearly anwer Didgeridoohan
I will check that link about safetynet. Thanks
Anyway, I guess there are no point/neccesary installing Busybox module in Magisk when I already have Bysybox Pro installed on my device?
I have noticed that my Netflix will not load so hope I got that safetyNet up running in Magisk.
Regards
Rolf
Click to expand...
Click to collapse
SafetyNet Fixed by doing this:
https://forum.xda-developers.com/apps/magisk/xiaomi-safetynet-fix-t3600431
BUT, still Netflix Error/not compatibel vs my device when download from Google Play. Got a message in that error message downloading Netflik from Netflix's site. Doing that..and Netflix up running
Thanks again Didgeridoohan for pointing me in the right direction
Regards
Rolf
I thought with the newest version of magisk, busy box is integrated already? I ran a test and it states I have it and it's active but certain apks tell me it's not present in device when installing. Should I setup module in magisk also? Don't want to double stack anything.
SlimPickens89 said:
I thought with the newest version of magisk, busy box is integrated already? I ran a test and it states I have it and it's active but certain apks tell me it's not present in device when installing. Should I setup module in magisk also? Don't want to double stack anything.
Click to expand...
Click to collapse
There is a busybox integrated into Magisk, for use by Magisk...
If you wan't busybox for the rest of your system, install the busybox module from the Magisk repo.
Didgeridoohan;73790549There's a Busybox module in the Downloads section of the Manager. Use that.
The failed ctsProfile check doesn't have anything to do with Busybox. Take a look here for more info on passing SafetyNet: [url said:
https://forum.xda-developers.com/apps/magisk/guide-magisk-troubleshooting-t3641417[/url]
You don't need to pass SafetyNet to be able to download and install most apps. There are a few who use the Certified status in the Play store (Netflix) and some that won't function if you don't pass SafetyNet (Android Pay).
Click to expand...
Click to collapse
Actually, in my case, the ctsProfile check does correlate with the busybox module. I am trying a new ROM on my galaxy s7 which doesn't contain a busybox, thus Viper4Android does not want to install its driver (and Busybox checker says "no"). ctsProfile did pass. After I downloaded the BusyBox module in Magisk Manager, cts doesn't pass, but basic integrity still does.
Peter.1997 said:
Actually, in my case, the ctsProfile check does correlate with the busybox module. I am trying a new ROM on my galaxy s7 which doesn't contain a busybox, thus Viper4Android does not want to install its driver (and Busybox checker says "no"). ctsProfile did pass. After I downloaded the BusyBox module in Magisk Manager, cts doesn't pass, but basic integrity still does.
Click to expand...
Click to collapse
If you only need busybox for Viper4Android, try the awesome ViPER4Android FX module (available in the Magisk repo). It doesn't need busybox...
Yup, only vor Viper. I already installed this module (and also the seperate one for Magisk 14.0+), but the Viper app always wants to install the driver on its own again..
Peter.1997 said:
Yup, only vor Viper. I already installed this module (and also the seperate one for Magisk 14.0+), but the Viper app always wants to install the driver on its own again..
Click to expand...
Click to collapse
Judging from your two posts, I'd say something's wrong with your Magisk installation... Magisk log and magisk_debug.log (from /data) might show something interesting.
Jumping onto that thread as it seems to fit quite well.
If a Moderator feels the need for a new topic pls let me know.
Facts:
Android 6 with Magisk 12 and SuperSu 2.79/2.82 and Xposed 87 running fine for quite a time.
Only Magisk manager was updated inbetween a few times
Now with a few free days after christmas and all the new releases out, i went for an update session.
- cleaned supersu with 0smosis unSu
- TWRP flashed clean stock boot.img
- TWRP flashed Magisk 15.1. All good and seemed to work
Then i wanted to update to xposed v89.
The installer failed with "updater process ended with error 1"
Dug into the TWRP-Logs and found the following:
Code:
/tmp/updater: line 91: /data/adb/magisk/busybox: not found
! Unable to extract zip file!
Now it was time to inspect the Magisk-Log:
Code:
12-29 23:56:59.699 269 269 I Magisk : * Setting up internal busybox
12-29 23:56:59.700 273 273 E Magisk : execvpe failed with 2: No such file or directory
Interesting.
As i knew about the changes from 12->15 regarding internal busybox, i cleaned the Magisk Manager Cache as recommended somewhere
and wanted to go for the official module "Busybox for Android NDK 1.27.2".
After installing it showed up as "not available - please reboot"
I went for the logs again and found the following:
Code:
Installing Busybox_for_Android_NDK-1.27.2.zip
Busybox Installer Script by osm0sis @ xda-developers
Mounting...
Extracting files...
update-binary[109]: unzip: not found
Also a quick check of /data/magisk showed no signs of busybox.
Any hints where to dig deeper to get busybox (and unzipping in TWRP back ??
Time, a few Skills and Tools available.
Didnt attach the logs, cause those above are imho the only relevant facts.
If somebody needs sth specific to rule sth out, i will of course happily deliver them.
Thank everybody and keep up the good work !!
Sebastl said:
Jumping onto that thread as it seems to fit quite well.
If a Moderator feels the need for a new topic pls let me know.
Facts:
Android 6 with Magisk 12 and SuperSu 2.79/2.82 and Xposed 87 running fine for quite a time.
Only Magisk manager was updated inbetween a few times
Now with a few free days after christmas and all the new releases out, i went for an update session.
- cleaned supersu with 0smosis unSu
- TWRP flashed clean stock boot.img
- TWRP flashed Magisk 15.1. All good and seemed to work
Then i wanted to update to xposed v89.
The installer failed with "updater process ended with error 1"
Dug into the TWRP-Logs and found the following:
Code:
/tmp/updater: line 91: /data/adb/magisk/busybox: not found
! Unable to extract zip file!
Now it was time to inspect the Magisk-Log:
Code:
12-29 23:56:59.699 269 269 I Magisk : * Setting up internal busybox
12-29 23:56:59.700 273 273 E Magisk : execvpe failed with 2: No such file or directory
Interesting.
As i knew about the changes from 12->15 regarding internal busybox, i cleaned the Magisk Manager Cache as recommended somewhere
and wanted to go for the official module "Busybox for Android NDK 1.27.2".
After installing it showed up as "not available - please reboot"
I went for the logs again and found the following:
Code:
Installing Busybox_for_Android_NDK-1.27.2.zip
Busybox Installer Script by osm0sis @ xda-developers
Mounting...
Extracting files...
update-binary[109]: unzip: not found
Also a quick check of /data/magisk showed no signs of busybox.
Any hints where to dig deeper to get busybox (and unzipping in TWRP back ??
Time, a few Skills and Tools available.
Didnt attach the logs, cause those above are imho the only relevant facts.
If somebody needs sth specific to rule sth out, i will of course happily deliver them.
Thank everybody and keep up the good work !!
Click to expand...
Click to collapse
Sounds like your TWRP isn't up to the job... It's probably too old (info which would have been in the log ) or otherwise missing some features...
Updating TWRP or letting the Manager patch a boot image that you then flash manually are two possible solutions.
Thank you very much for the quick reply Didgeridoohan.
That is of course water on the mills of the "always include logs" - people. Apparently for a reason
TWRP Version is/was 3.02.
After you suggested patching the image from Magisk Manager, i tried that and got a quick and dirty "Failed".
But i realized that now the option "Direct Install (recommended)" was available.
It wasnt when i did the initial setup.
As i had nothing to loose, i tried that to reinstall and after the next reboot -
Bingo! Now the busybox binary is/was available and therefore the Busybox Module and consequently also Xposed respective everything which depends on unzipping/busybox works.
Strange - but somehow problem solved.
I didnt see anything in the TWRP changelogs from 3.02 up to 3.2.1 - but hey...
Hope that helps someone.
Greetings and a nice 2018 !

Help with nemid app

Hi
Could use some help getting this app to work.
https://play.google.com/store/apps/details?id=dk.e_nettet.mobilekey.everyone
Safetynet check succes. Certified in play store. Rootbeer fails in busybox.
Log here https://drive.google.com/file/d/1RFjOtX8oGTk2U0qi3n9NMF-8nGZnLbKL/view?usp=drivesdk
Anyone can help??
Just hide the Manager.
https://www.didgeridoohan.com/magisk/MagiskHide#hn_Hiding_the_Magisk_Manager
Thanks. But unfortunately still not work
If I add the app to the Hide list and also have the Manager hidden it starts just fine without complaining about root. Could be your busybox installation that is causing issues. Uninstall it and use @osm0sis busybox from the Magisk Downloads instead. Magisk will take care of hiding that.
Thanks for your advise. Tried several options to remove busybox. No files in system/xbin, but busybox still fails in check. Any solutions?
madsf said:
Thanks for your advise. Tried several options to remove busybox. No files in system/xbin, but busybox still fails in check. Any solutions?
Click to expand...
Click to collapse
Open up a terminal emulator and type the following:
Code:
which busybox
That should tell you where you have busybox installed.
Thanks. Please se attached.
No result with your command, but busybox still detected.
madsf said:
Thanks. Please se attached.
No result with your command, but busybox still detected.
Click to expand...
Click to collapse
I would ask your ROM creator/developer.
---------- Post added at 11:22 ---------- Previous post was at 11:22 ----------
@bernbutt Check out this thread. It's for the same app.
Didgeridoohan said:
I would ask your ROM creator/developer.
---------- Post added at 11:22 ---------- Previous post was at 11:22 ----------
@bernbutt Check out this thread. It's for the same app.
Click to expand...
Click to collapse
Thanks. I am in dialog with with the rom developer to find a solution.
Hi. After upgradring to magisk 16.6 I can't get the app to work. Same setup with magisk hide and hide magisk manager. Any can test if it's a local problem for me or General?
Sendt fra min SM-G965F med Tapatalk
https://forum.xda-developers.com/ap...d-code-app-t3810500/post77005334#post77005334
Magisk NemID FIX
I have been able to hide magisk without removing the magisk manager app as a quick fix.
After the lastest update for nemid, they just searched for the app name (Magisk Manager) and then blocked you cause of root.
Steps for magisk manager to hide it from Nemid
1. Hide magisk manager under settings so it gets another package name.
2. Go to downloads under magisk manager and install the Xposed SDK 27 (for my version of OS 8.1) systemless module
3. Install Xposed installer to manage next step
https://forum.xda-developers.com/xposed/material-design-xposed-installer-t3137758
4. Install Xprivacylua for lastest version of OS like mine
https://github.com/M66B/XPrivacyLua/blob/master/README.md
5. Reboot untill it says active under Xposed installer app.
Maybe flik the status setting in Xposed installer app and reboot again
6. If it says active you are golden. Go to modules in Xposed installer app and enable xprivacylua
8. Go to xprivacylua app and find nemid app and expand and enable the block app overview/list (mine is on Danish so don't know presisely what it's called)
9. Check nemid app
This method worked for me and hope it will help others too.
DISCLAIMER
WITH XPOSED THERE IS A CHANCE TO SOFTBRICK YOUR DEVICE. By following this guide, it's your own responsibility if it's not working or softbricking your device.
madsf said:
Thanks. Please se attached.
No result with your command, but busybox still detected.
Click to expand...
Click to collapse
I have same problem here with Magisk 20 rooted oneplus 7 pro device (android 10.0.1) together with the banking app.
Before the update it used to work in Android Pie. After update it doesn't.
I don't know if there is a way? I hope there is someone will be able to help with this problem of mine. ?

request rejected, no prompt to grant access

heeeeey!
old magisk user, it was working like a charm on my galaxy s20, but lately something broke!
I have installed Magisk version 97b72a59 (20419)
and magisk manager version 8.0.7 (4834)
When I open an app that requires root access, nothing happens, and after a while, i get the toast message that denied superuser rights.
11-16 21:36:12.620 5867 27034 D Magisk : su: request from pid=[27031], client=[9]
11-16 21:36:12.620 5867 27034 D Magisk : su: request from uid=[10452]
11-16 21:36:12.620 5867 27034 D Magisk : magiskdb: query magiskhide=[0]
11-16 21:36:12.620 5867 27034 D Magisk : magiskdb: query su_fingerprint=[0]
11-16 21:36:20.462 5867 25942 W Magisk : su: request rejected (10452)
11-16 21:36:20.462 5867 25942 E Magisk : write failed with 32: Broken pipe
Click to expand...
Click to collapse
i have seen that it happens a lot, but there isn't any solution on these threads!
any suggestions?
thank you in advance for your help!
Go to magisk manager and manually grant root permission to that app in question
miravision said:
Go to magisk manager and manually grant root permission to that app in question
Click to expand...
Click to collapse
thank you for your reply!
on this page, on magisk manager app, I get the message "no app has asked for superuser permission yet"!
Install root checker app and check if it prompts you for root access, else magisk is configured to always reject root access in magisk settings
miravision said:
Install root checker app and check if it prompts you for root access, else magisk is configured to always reject root access in magisk settings
Click to expand...
Click to collapse
As expected, root checker app reports "Sorry! Root access is not properly installed on this device."
On magisk manager settings, i have set "automatic response" to "grant" instead of "prompt" but nothing changed.
any other options?
Unroot and reinstall latest magisk
miravision said:
Unroot and reinstall latest magisk
Click to expand...
Click to collapse
that's my last resort.
I am trying to repair it, rather than uninstalling and installing it again...
@sakis_the_fraud You see that broken pipe in your log? That suggests you're seeing an issue that was present in builds around v21 and fixed in v21.4.
I suggest you update to a more recent Magisk release instead of trying to troubleshoot further...
Didgeridoohan said:
@sakis_the_fraud You see that broken pipe in your log? That suggests you're seeing an issue that was present in builds around v21 and fixed in v21.4.
I suggest you update to a more recent Magisk release instead of trying to troubleshoot further...
Click to expand...
Click to collapse
thank you for your reply!
The reality is that I'm trying not to mess a lot with these just to be safe!
OK so If I got it correctly, i should do these steps:
select uninstall from magisk manager app,
reboot
and then "Patch the boot (Kernel) image via Magisk" as described in Stage 6 of the link?
any precautions and measures that i should take in order to avoid or minimize failure?
sakis_the_fraud said:
thank you for your reply!
The reality is that I'm trying not to mess a lot with these just to be safe!
OK so If I got it correctly, i should do these steps:
select uninstall from magisk manager app,
reboot
and then "Patch the boot (Kernel) image via Magisk" as described in Stage 6 of the link?
any precautions and measures that i should take in order to avoid or minimize failure?
Click to expand...
Click to collapse
No matter how you choose to update, there's always a risk of failure. Only way to minimise any damages is to make sure you have a backup of any important data before updating.
You should be able to do a direct update in the Magisk app (but since you're jumping a few versions it's a very good idea to have that backup ready). Only thing to mind is that the update to v22+ requires you to not have the Magisk app repackaged with a random name, so make sure you've restored that before updating. This should be the easiest way of doing things...
If you're on the Canary channel (since you have a Canary release installed now), keep in mind that the current Canary (23014) has some major changes from previous Magisk versions. The Hide list has been replaced with a Deny list and there's now a new feature: Zygisk (it's very similar to Riru, if you know that that is). If you're not ready for those kind of changes yet, make sure to be on the stable update channel...
If you don't want to do a direct update the linked guide should work.
Didgeridoohan said:
No matter how you choose to update, there's always a risk of failure. Only way to minimise any damages is to make sure you have a backup of any important data before updating.
You should be able to do a direct update in the Magisk app (but since you're jumping a few versions it's a very good idea to have that backup ready). Only thing to mind is that the update to v22+ requires you to not have the Magisk app repackaged with a random name, so make sure you've restored that before updating. This should be the easiest way of doing things...
If you're on the Canary channel (since you have a Canary release installed now), keep in mind that the current Canary (23014) has some major changes from previous Magisk versions. The Hide list has been replaced with a Deny list and there's now a new feature: Zygisk (it's very similar to Riru, if you know that that is). If you're not ready for those kind of changes yet, make sure to be on the stable update channel...
If you don't want to do a direct update the linked guide should work.
Click to expand...
Click to collapse
Ohhhh I see!
There are major changes listed on the changelog...
I found the "magisk_patched.tar" that I have used on my initial installation, do you believe that if i could flash it will solve this problem?
It's clear that I don't want the latest, i want the one working with minimal risk because I found out that i haven't installed TWRP at all
sakis_the_fraud said:
Ohhhh I see!
There are major changes listed on the changelog...
I found the "magisk_patched.tar" that I have used on my initial installation, do you believe that if i could flash it will solve this problem?
It's clear that I don't want the latest, i want the one working with minimal risk because I found out that i haven't installed TWRP at all
Click to expand...
Click to collapse
If that patched file is from an earlier release of Magisk, and you want to use that version, it's probably best to uninstall Magisk and flash that.
If you want a newer release you can either just choose the stable update channel and do a direct update to v22.1 (you'll be able to update to v23 after that), or you can download the v21.4 zip from GitHub and install that zip from the module section of the Magisk app.
You've got many options. Only you can decide what's best for you...
Didgeridoohan said:
If that patched file is from an earlier release of Magisk, and you want to use that version, it's probably best to uninstall Magisk and flash that.
If you want a newer release you can either just choose the stable update channel and do a direct update to v22.1 (you'll be able to update to v23 after that), or you can download the v21.4 zip from GitHub and install that zip from the module section of the Magisk app.
Click to expand...
Click to collapse
thank you for your help so far!
When i select uninstall i get two options "restore images" and "complete uninstall" what should i choose in order to keep my data?
If i go with the direct update to v22.1, then will i have to flash something? this is "safer"?
sakis_the_fraud said:
thank you for your help so far!
When i select uninstall i get two options "restore images" and "complete uninstall" what should i choose in order to keep my data?
If i go with the direct update to v22.1, then will i have to flash something? this is "safer"?
Click to expand...
Click to collapse
No worries.
To avoid incompatibilities between different Magisk versions you'd have to do a complete uninstall. If you do the direct update you don't have to do anything else then pick "Update" in the Magisk app and then "Direct install".
To say if one or the other is safer is hard to say since there quite a few variables that come into play. Doing an uninstall might cause issues if you've previously disabled encryption, as an example. On the other hand there might also be issues when doing a direct install.
Personally I would go for a direct install, but make sure that I have my firmware's/ROM's unpatched boot image at hand so I can install that and get my device up and running again without any further damage (hopefully). Magisk only alerts the boot image (or in some cases recovery image), which makes it very safe and easy to revert if there are problems. You rarely end up with an irreparable loss unless you start trying to fix stuff without actually knowing what you're doing.
Didgeridoohan said:
Personally I would go for a direct install, but make sure that I have my firmware's/ROM's unpatched boot image at hand so I can install that and get my device up and running again without any further damage (hopefully). Magisk only alerts the boot image (or in some cases recovery image), which makes it very safe and easy to revert if there are problems. You rarely end up with an irreparable loss unless you start trying to fix stuff without actually knowing what you're doing.
Click to expand...
Click to collapse
I made it!
I finally went with direct install as it appears to be less disruptive, first it updated the app, then I selected "direct install (recommended)". Afterwards it started to patch ramdisk, repacked and flashed the image. One reboot later and the root status is back! I really missed my adblock!!!
thank you for your help!

Categories

Resources