Is there an offical guide for installation? - Magisk

I'm new to all these things about systemless root and mods. I checked the thread for dummies, I don't see a proper installation procedure in the first posts. Is there something I can follow to ensure the best result? Are the methods different when I want to use SuperSU and not phh's Superuser or MagiskSU? Thanks.

"Installation Instructions" are in "[2017.2.6] Magisk v11.0 - Root & Universal Systemless Interface [Android 5.0+]"

Related

How do I update from systemless SU to system-mode SU?

Hi fellas!
As I understand it I need to update from systemless SU to System-mode SU to get secure settings for Tasker to work(?!).
Currently I have SuperSU free 2.71.
How do I go from my current SuperSU to system-mode SuperSU? this one? -> http://forum.xda-developers.com/apps/supersu/v2-64-2-66-supersu-mode-t3286120
Please help me by explaining the steps in a list form so I don't mess anything up (happened before, lol).
How do I completely delete my current SuperSU (is it needed?) and how do I install the new one?
My phone is a Xiaomi Mi4 running latest MIUI.
Thanks in advance! cheers!

How to make Magisk v7 work with chainfire SuperSU 2.65?

I am a HTC M9 user and due to some sepolicy issue(perhaps) in latest stable SuperSU (2.78), I can only use 2.65 to prevent a bootloop problem currently.
According to the information in Magisk v6 known issue, issue in sepolicy-injection tool is known and will be fixed in v7. In v7 sticky, it does use own sepolicy-injection tool, I assume it does fix something now.
But, according to the information in v7 sticky:
Code:
Installation Instructions
(NOTE: I don't feel comfortable to redistribute SuperSU unless I have explicit permission, so for now, if you want to use SuperSU with Magisk, you are required to have systemless SuperSU installed before flashing Magisk. Magisk will detect SuperSU installation and automatically convert systemless SuperSU into a Magisk Module, using the files that are already installed to your boot image. System installed SuperSU is obviously not supported, since it is not systemless. Actually, it is a trivial task to add official Magisk support to a SuperSU zip package, however the decision is not in my hands.)
If you're rooted with Official Systemless SuperSU, or using Magisk v3+ with Magisk version of phh's superuser
Install the latest Magisk Manager
Install/upgrade Magisk as prompted in the application
Reboot and you're done!!
If you're not rooted, rooted with the depreciated Magisk Version of SuperSU, using Magisk version older than v3, or you got issues when flashing in Magisk Manager (some devices requires Magisk to be flashed in recovery to find boot image location)
(If you have Magisk installed) Flash Magisk Uninstaller to get a clean start
Download the latest Magisk zip file
Download the latest Magisk Version phh superuser from this thread:
[Magisk] [2016.10.4] phh's SuperUser
Flash both zips in custom recovery
Install the latest Magisk Manager for a complete Magisk experience
Since I've donated on SuperSU Pro, I'd prefer to make it work in higher priority, therefore 2nd method is not in my consideration now. If I start from a brand new phone (RUUed device with fresh TWRP recovery only), there's 3 ways I tried to apply Magisk v7, here's the process and result:
1. Flash SuperSU 2.65, and the system should count as "If you're rooted with Official Systemless SuperSU" state.
=> Update SuperSU 2.65 to 2.78 with SuperSU own update process in apk, reboot required, SUCCESS.
=> Install latest MagiskManager, SUCCESS
=> MagiskManager got SuperSU authorized, SUCCESS (root still working at moment)
=> MagiskManager found latest version (v7) and suggest to install it, accept and reboot, SUCCESS(boot successfully)
=> Open SuperSU apk, FAILED (root lost, not able to find su binary)
2. Flash SuperSU 2.65 and then follow by Magisk v7 zip
=> Root does't work, cannot find su binary, FAILED
3. Flash SuperSU 2.78 and then follow by Magisk v7 zip (assuming Magisk V7 will repatch the kernel with fixed tools and the boot loop can be fixed)
=> Bootloop, FAILED
Is there anyone success in any configuration on HTC M9?
NotExist said:
I am a HTC M9 user and due to some sepolicy issue(perhaps) in latest stable SuperSU (2.78), I can only use 2.65 to prevent a bootloop problem currently.
According to the information in Magisk v6 known issue, issue in sepolicy-injection tool is known and will be fixed in v7. In v7 sticky, it does use own sepolicy-injection tool, I assume it does fix something now.
But, according to the information in v7 sticky:
Since I've donated on SuperSU Pro, I'd prefer to make it work in higher priority, therefore 2nd method is not in my consideration now. If I start from a brand new phone (RUUed device with fresh TWRP recovery only), there's 3 ways I tried to apply Magisk v7, here's the process and result:
1. Flash SuperSU 2.65, and the system should count as "If you're rooted with Official Systemless SuperSU" state.
=> Update SuperSU 2.65 to 2.78 with SuperSU own update process in apk, reboot required, SUCCESS.
=> Install latest MagiskManager, SUCCESS
=> MagiskManager got SuperSU authorized, SUCCESS (root still working at moment)
=> MagiskManager found latest version (v7) and suggest to install it, accept and reboot, SUCCESS(boot successfully)
=> Open SuperSU apk, FAILED (root lost, not able to find su binary)
2. Flash SuperSU 2.65 and then follow by Magisk v7 zip
=> Root does't work, cannot find su binary, FAILED
3. Flash SuperSU 2.78 and then follow by Magisk v7 zip (assuming Magisk V7 will repatch the kernel with fixed tools and the boot loop can be fixed)
=> Bootloop, FAILED
Is there anyone success in any configuration on HTC M9?
Click to expand...
Click to collapse
Am using an honor 7 PLK-L01 with MM build B370.
Also tried the first method you described with SuperSU 2.62, difference being that magisk manager could not install v7 zip so flashed it manually. It said something about
Insufficient storage for boot image
and kind of aborted.
Since then flashing SuperSU says seplocy failed and aborts.
Tried flashing a new boot and rooting, still the same.
Flashed boot and Cust, the same error both with magisk and SuperSU.
Cleared dalvik and cache, still the same.
Tried the magisk uninstaller, no success...
Would appreciate a solution.
Sent from my PLK-L01 using XDA Labs
bump, says installing su helper, then there is no root upon boot. supersu cant find binary and magisk manager crashes due to no root
ibrokemypie said:
bump, says installing su helper, then there is no root upon boot. supersu cant find binary and magisk manager crashes due to no root
Click to expand...
Click to collapse
Had to flash system, boot and Cust to root again using SuperSU.
Otherwise it was failing and flashing only boot did not cut the deal.
Sent from my PLK-L01 using XDA Labs
I have the same issue. Could not get SuperSU 2.65 running with Magisk.
HyperCriSiS said:
I have the same issue. Could not get SuperSU 2.65 running with Magisk.
Click to expand...
Click to collapse
Magisk ver 6 works well but have to have that zip and it's corresponding apk I guess 1.2 that is.
Used it a couple of days ways back just to make sure it works.
An update that it works after Magisk v8, although there's no information about it.
(Flash SuperSu v2.65 -> Update to SuperSU v2.78 with Google Play -> update su binary to v2.78 with SuperSU -> install Magisk Manager v2.1 -> Install Magisk v8 with Manager -> done!)

Install

At the first,
I am not sure the point of this post - is it a question?
If it is supposed to be a guide, it is incorrect and unnecessary as this info is in the release thread.
There is no need for addonsu, as MagiskSU is included, and it will try to remove any existing root method other than an existing systemless SuperSU root.

Root methods index

Hi all, i saw a lot of thread regarding root methods/procedures in this forum.
I wrote this post just to give an index, maybe someone can do a sticky post for this content, so here we go:
MEGA-THREAD ALE-L21, ALE-L23, ALE-L02, Converting, Root, Unbrick, Updating, Xposed from Lordbannakaffalatta
Very complete post, almost everything you need
[ROOT] Huawei P8 Lite ALE-L21, Android 6.0 Marshmallow from daviddosa
Sysless root, maybe?!need testers from Szabi01
For systemless root
[ALE-L21] All in one Megapack for P8 Lite [Download now available] from SuperProHacker
This is the only one i haven't used on my phone, systemless root with suhide and a lot of tools for P8 Lite
[2017.3.21] Magisk v11.6 - Root & Universal Systemless Interface [Android 5.0+] from topjohnwu
Used this just yesterday, after update ALE-L21C432B595 Full, the procedure from the post for a clear installation:
(Recommended) Restore your boot image back to stock (i had a full update just a few minutes before )
Install TWRP if not already present (step added by me!)
Download the latest Magisk zip file
If you choose to use SuperSU (only support Android 6.0+), first flash SuperSU in systemless mode i did not this step, it's optional and only if you want supersu, i wanted to try without it
Flash Magisk zip
Reboot, and update the stub Magisk Manager to the latest from Play Store
All credits goes to respective developers/authors, as i said this is just an index.
If i missed some thread just tell me so i can update.

Should I uninstall SuperSU before installing Magisk?

Hi!
I have rooted Samsung S7 Edge with android 7. I currently have SuperSU v2.79 installed. I want to install Magisk because I want to hide root from certain apps. Should I remove SuperSu before I install Magisk?
Other question is that here https://topjohnwu.github.io/Magisk/faq.html I read that Magisk no longer hides root because now the new way is to use Magisk modules. Do I even need Magisk at all or if I have TWRP 3.1.0.0 can this also be used to install those Magisk modules? Or would it be best to grab some older Magisk that has root hider there already?
sysctl said:
Hi!
I have rooted Samsung S7 Edge with android 7. I currently have SuperSU v2.79 installed. I want to install Magisk because I want to hide root from certain apps. Should I remove SuperSu before I install Magisk?
Other question is that here https://topjohnwu.github.io/Magisk/faq.html I read that Magisk no longer hides root because now the new way is to use Magisk modules. Do I even need Magisk at all or if I have TWRP 3.1.0.0 can this also be used to install those Magisk modules? Or would it be best to grab some older Magisk that has root hider there already?
Click to expand...
Click to collapse
yes u should, always use the latest one
Is it good enough to uninstall SuperSU app when android is running or should I reboot to TWRP and do some magic there?

Categories

Resources