Magisk (The Universal Systemless Interface)WORKING FINE IN MM BUILDS(OXYGEN AND H20S) - OnePlus X General

The Magisk Universal Systemless Interface by XDA Recognized Developer @topjohnwu has received an update that bumps it up to version 7. There are a bunch of notable changes that follow in the changelog:
Fully open source
Remove supolicy dependency, use my own sepolicy-injection
Run everything in its own selinux domain, should fix all selinux issues
Add Note 7 stock kernel hex patches
Add support to install Magisk in Manager
Add support for image merging for module flashing in Manager
Add root helpers for SuperSU auto module-ize and auto upgrading legacy phh superuser
New paths to toggle busybox, and support all root solutions
Remove root management API; both SuperSU and phh has their own superior solutions
Downloads:
1)Official MM OOS STOCK 3.1.3 - https://s3.amazonaws.com/oxygenos.o...OTA_018_all_201609291837_741146bcf28e4587.zip
2)Official MM H2OS Stock 2.0 - http://download.h2os.com/oneplus_x/mp/OnePlusH2OS_14_OTA_001_all_201609270726_5aa42273def7431b.zip
3) Use this recovery to Flash Magisk (TWRP by Bluespark) - http://forum.xda-developers.com/devdb/project/dl/?id=20236
4)Magisk Manager.apk - http://forum.xda-developers.com/attachment.php?attachmentid=3893660&d=1475527472
5)Latest Magisk Zip File - http://forum.xda-developers.com/attachment.php?attachmentid=3893659&d=1475527472
6)Systemless Superuser (use this Systemless superuser) - http://forum.xda-developers.com/apps/magisk/magisk-phh-s-superuser-android-pay-t3435921
7)Magisk Uninstaller (if anything goes wrong) - http://forum.xda-developers.com/attachment.php?attachmentid=3893658&d=1475527472
Before Flashing:
1) If you are already on MM with stock recovery and no root,then wipe your data and cache,flash full MM rom pack, flash provided TWRP and follow the instruction below
2)If you are in MM with rooted system,do wipe data and cache,flash full rom pack, flash twrp and follow the instruction
MOST IMPORTANT:
BEFORE FLASHING MAGISK,YOU NEED TO HAVE UNMODIFIED SYSTEM
USE TWRP TO FLASH MAGISK
FLASHING INSTRUCTION:
1)Flash your rom pack
2)Flash magisk zip file
3)Flash systemless root
4)Flash systemless xposed
Ooh laa... Got unmodified system with root access

what is this used for?

meraj99 said:
what is this used for?
Click to expand...
Click to collapse
Systemless Benefits
OTA:
The system partition will not be modified or mount r/w, thus your Android devices are capable of applying OTA updates even if ur mobile s rooted
Safety Net:
Android Pay is confirmed working!

Related

[Guide]Flash Root/Xposed - Differences between System and Systemless Mode

Because several Users have problems with understanding what they actually should do i think the easiest way is writing some How-to.
Guide for Unlocking Bootloader Backup TA and so on
I AM NOT RESPONSIBLE FOR ANY DAMAGES THAT MAY CAUSE YOUR DEVICE
Your Bootloader must be unlocked and TWRP recovery installed.
1. Systemless Root/Xposed
Systemless Mode means that there is no File changed in your System Partition, this works because the main changes are made in the Kernel and not to the Android System itself. Because of this you have a special file on your Internal Memory in /data/ for Systemless Root you get a su.img file and for Systemless Xposed you get a xposed.img file. If you have both sure there are both files present. These files are loaded while your device is booting before the Android System is booting. This is good for us because we can easily Update our Systems (on same Rom).
1.1 Download latest beta-superSU/systemless xposed framework and place them on your sdcard.
1.2 Reboot into recovery and flash beta-superSU/systemless xposed framework (if both, in that order)
1.3 clear cache/dalvik
1.4 reboot
2. System Root/Xposed
With System Mode your changes are direct on the System Partition and mostly Updates dont work.
2.1 System Root is not available for our Device with MM. Download latest beta-superSU/xposed Framework and place them on your sdcard.
2.2 Reboot into recovery and flash beta-superSU/xposed framework (if both, in that order)
2.3 clear cache/dalvik
2.4 reboot
3. Change your Kernel while having a Systemless modified Android
Because the changes that were made while flashing Systemless Root/Xposed, your System wont work with just flashing the new Kernel.
3.1 Download the new Kernel to your Computer (make sure it is with TWRP or you flash it seperate after flashing the Kernel).
3.2 Download latest beta-superSU/systemless xposed framework and place them on your sdcard.
3.3 Reboot your device into fastboot mode and flash the new Kernel "fastboot flash boot xxxx.img"
3.4 Reboot your device into TWRP and flash beta-superSU/systemless xposed framework (if both, in that order)
3.5 clear cache/dalvik
3.6 reboot
4. Switch between System and Systemless Mode
For Switching from System Mode to Systemless with Xposed:
4.1 Update or install Material Design xposed installer App
4.2 Download the usual xposed uninstaller zip and the systemless xposed framework for your device
4.3 Open Material Xposed Installer and deactivate the framework
4.4 Reboot into recovery
4.5 Flash the uninstaller zip
4.6 clear cache/dalvik
4.7 Flash systemless xposed framework
4.8 reboot into System (take a few minutes)
4.9 Open Material Xposed Installer and activate Systemless Xposed framework
4.10 reboot
5. Delete / uninstall Systemless Root/Xposed
5.1 Open Material Xposed Installer and deactivate the framework
5.2 restart your System
5.3 Use an Explorer with root access and delete the files "/data/su.img" and "/data/xposed.img"
5.4 restart your System
If i forgot something please tell me i will add it.
Regards
make this for locked bootloaders :/
Can you please provide the link for systemless xposed file??

MAGISKSU for Magisk users

So as we all know magisk does not root nonrooted or supersu rooted devices (atleast not my devices) so here is simple method to gain MagiskSU Root access and possibly hide your root.
Note: i will use phh's superuser which was used in magisk before.
COMPATIBILITY:
ANDROID 7.x -- Not confirmed
ANDROID 6.0.1 -- Confirmedly working!
1) DOWNLOAD PHH'S SUPERUSER https://superuser.phh.me/
2) BOOT INTO RECOVERY AND FLASH DOWNLOADED ROOT ZIP AND MAGISK IF NOT FLASHED ALREADY
3) REBOOT AND ENJOY
IMAGES:
MagiskSU works just fine without flashing anything else for me
Opticuhl said:
MagiskSU works just fine without flashing anything else for me
Click to expand...
Click to collapse
Glad to hear it! For me it never did
Wizardlysense said:
So as we all know magisk does not root nonrooted or supersu rooted devices (atleast not my devices) so here is simple method to gain MagiskSU Root access and possibly hide your root.
Note: i will use phh's superuser which was used in magisk before.
COMPATIBILITY:
ANDROID 7.x -- Not confirmed
ANDROID 6.0.1 -- Confirmedly working!
1) DOWNLOAD PHH'S SUPERUSER https://superuser.phh.me/
2) BOOT INTO RECOVERY AND FLASH DOWNLOADED ROOT ZIP AND MAGISK IF NOT FLASHED ALREADY
3) REBOOT AND ENJOY
IMAGES:
Click to expand...
Click to collapse
Trying to get this working on my HTC 10 so flash the phh then v12. 0 which is now available? Does anything else need to be done??
I've downgraded to mm so I can get half life 2 to work.
Nice having xposed again.
Sent from my KFGIWI using XDA-Developers Legacy app
dladz said:
Trying to get this working on my HTC 10 so flash the phh then v12. 0 which is now available? Does anything else need to be done??
I've downgraded to mm so I can get half life 2 to work.
Nice having xposed again.
Click to expand...
Click to collapse
Flash magisk 12.0 then phh superuser
Wizardlysense said:
Flash magisk 12.0 then phh superuser
Click to expand...
Click to collapse
I have.
Will try again now.
Wizardlysense said:
Flash magisk 12.0 then phh superuser
Click to expand...
Click to collapse
Ok so this is not the correct procedure for getting Magisk to work, this is exactly how it's done in my case at least.
1. Flash a rom of your choice ( in my case it was viper rom on the HTC 10, rooted with SuperSU, I have an international unlocked device with S-Off)
2. Extract the boot.img from your ROM ( in my case it was in the root of the rom's zip file)
3. Copy the boot.img to your Fastboot folder on your computer.
4. Install Magisk Manager and download Magisk 12.0 zip to your phone.
5. Reboot to download mode and then: fastboot flash boot boot.img allow it to flash, press power to come out.
6. Without rebooting, boot to recovery and flash the Magisk 12.0 zip.
7. Reboot and check the 3 sections to see if MagiskSU has been locked in, no warning should come up when activating Magisk hide.
Done.

How to change Superuser without flash stock ROM and lose all data

Does anybody know if it's possible to change Superuser without having to flash stock ROM?
I'm on stock 7.0 and when I tried to install SuperSU I've got a bootloop​ (wrong version of SuperSU, there wasn't the wright version available yet) so I found a guide to root my device using another supersu (phh superuser) and it's working perfectly.
I wonder if there is a way to change from Phh superuser to SuperSU (now there's a compatible version with 7.0 available) without having to flash stock ROM again and lose all the data.
(Sorry if there's a thread already talking about that but, if there is, I didn't find it)
There's a screenshot of the superuser app
Supersu installation using twrp
To install supersu you need twrp. You have to use systemless mode to install supersu. For systemless mode goto twrp then advanced>terminal
Type:
echo "SYSTEMLESS=true" > /data/.supersu
Then install Supersu.zip.
For latest supersu visit official supersu download page.
Dex5er said:
Does anybody know if it's possible to change Superuser without having to flash stock ROM?
I'm on stock 7.0 and when I tried to install SuperSU I've got a bootloop​ (wrong version of SuperSU, there wasn't the wright version available yet) so I found a guide to root my device using another supersu (phh superuser) and it's working perfectly.
I wonder if there is a way to change from Phh superuser to SuperSU (now there's a compatible version with 7.0 available) without having to flash stock ROM again and lose all the data.
(Sorry if there's a thread already talking about that but, if there is, I didn't find it)
There's a screenshot of the superuser app
Click to expand...
Click to collapse
@Dex5er You Need To Flash Elementalx Kernel Before You
Try To Flash SuperSU And SuperSU Version Doesn't Matters Its Universal For All Devices

Update[GUIDE] Bypass SafetyNet With Magisk

:highfive:HELLO GUYS
So Here u can Find How To Bypass Safetnet In Your Phone While Being Rooted.
As you all know safetynet is implemented by Google itself to check Security of your Device & also by Some games or apps Eg. Pokeman Go,Android pay,Snapchat etc. So If Your Phone Is Rooted SafetyNet Test Will Fail.
With failed Safetynet Test You Can't Run These Apps in Your Mobile.
Check your Safetynet Status By This App:- https://play.google.com/store/apps/details?id=com.scottyab.safetynet.sample
So If your Test Failed And you can't able to run Games or Some Apps Try This method
1. Fully Unroot Your Phone In SuperSu app Go to Settings tab on the top right corner, and then click Full Unroot. Confirm with 'Continue'. 3. Once this operation is done, which takes a few minutes, you can reboot your Android & Then Flash This Unroot Script In Custom Recovery
https://forum.xda-developers.com/attachment.php?attachmentid=3931994&d=1478779893
2. Download Magisk 12.0 http://tiny.cc/latestmagisk and Flash it in Custom Recovery & Reboot **Make sure in custom recovery if a Line Appears "Boot img already patched" That means You'r Not Fully Unrooted in this case you have to flash your Stock System.img or Stock rom**
3. Now Install Magisk Manager From Play Store https://play.google.com/store/apps/details?id=com.topjohnwu.magisk
4 In Magisk manager Go To Settings Click on Enable BusyBox & Magisk Hide
5. Thats it. Now Run Safetynet test in Magisk Manager It will pass.
6.Enjoy your Games or Apps
UPDATE :- With Android Security Patch 01/04/2016 On Marshmallow Flashed SuperSu 2.79 Flashed Suhide 0.55 Flashed Magisk 12.0 Flashed Xposed 87.0 Systemless PASSING SAFETY NET Without Disabling root
Credits :-
@topjohnwu For Magisk 12.0 & Magisk Manager App
@halifax For Unroot Su Script
Hey, I have a problem:
I used this script on my Galaxy Nexus but now I decided to use SuperSU again because Magsik didn't work for me. I have just one problem: After using this script I can't install SuperSU anymore. The installation works as usual without problems but if I open the SU app it sais I need a Su file flashed. Could you please help me to fix thid problem?
Thanks in advance,
greetings Nils
yo_honey said:
:highfive:HELLO GUYS
So Here u can Find How To Bypass Safetnet In Your Phone While Being Rooted.
.....
1. Fully Unroot Your Phone In SuperSu app Go to Settings tab on the top right corner, and then click Full Unroot. Confirm with 'Continue'. 3. Once this operation is done, which takes a few minutes, you can reboot your Android & Then Flash This Unroot Script In Custom Recovery
https://forum.xda-developers.com/attachment.php?attachmentid=3931994&d=1478779893
2. Download Magisk 12.0 http://tiny.cc/latestmagisk and Flash it in Custom Recovery & Reboot **Make sure in custom recovery if a Line Appears "Boot img already patched" That means You'r Not Fully Unrooted in this case you have to flash your Stock System.img or Stock rom**
3. Now Install Magisk Manager From Play Store https://play.google.com/store/apps/details?id=com.topjohnwu.magisk
4 In Magisk manager Go To Settings Click on Enable BusyBox & Magisk Hide
5. Thats it. Now Run Safetynet test in Magisk Manager It will pass.
6.Enjoy your Games or Apps
UPDATE :- With Android Security Patch 01/04/2016 On Marshmallow Flashed SuperSu 2.79 Flashed Suhide 0.55 Flashed Magisk 12.0 Flashed Xposed 87.0 Systemless PASSING SAFETY NET Without Disabling root
Credits :-
@topjohnwu For Magisk 12.0 & Magisk Manager App
@halifax For Unroot Su Script
Click to expand...
Click to collapse
Thanks my friend, u save my day, Samsung S6 Edge +.
Flash Latest SuperSu Zip in custom recovery
MrFlashGame said:
Hey, I have a problem:
I used this script on my Galaxy Nexus but now I decided to use SuperSU again because Magsik didn't work for me. I have just one problem: After using this script I can't install SuperSU anymore. The installation works as usual without problems but if I open the SU app it sais I need a Su file flashed. Could you please help me to fix thid problem?
Thanks in advance,
greetings Nils
Click to expand...
Click to collapse
Download Latest Stable version of SuperSu zip And Flash it Using Custom Recovery. This may solve your problem.
Hello, anyone have boot img for htc 820 dual sim?
Thank you

Systemless xposed for android oreo 8.0/8.1

I can't able to flash xposed zip file via TWRP for oreo 8.1 so i used this magisk method and its working on 8.1 aosp rom.
Recognized Contributor @topjohnwu has modified the*Xposed*Framework (V.85.1) to work alongside Chainfire's*systemless*SuperSU in order to also run without modifying the*system*partition. This means that you can install*Xposed*modules on a rooted device running the stock ROM and continue to receive OTAs
And can pass safety net check so u can use any root app which interfere in system.
Video guide:
https://youtu.be/4mW16FJjCPU
Requirements :
1)MAGISK ROOT
2)SOME FLASHING KNOWLEDGE (for installing magisk only)
DOWNLOAD AND FLASH MAGISK v16 IN TWRP AND INSTALL MAGISK MANAGER APP 5.6.2
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445#login
AND FOLLOW ALL STEPS IN VIDEO
KEEP NANDROID BACKUP IF ANY CASE DEVICE DOESN'T BOOT
Working XPOSED modules list for OREO
https://forum.xda-developers.com/xposed/xposed-modules-oreo-t3732819

Categories

Resources