[GUIDE] Install Xposed without breaking safety net on Nougat. - Xiaomi Redmi Note 3 Guides, News, & Discussion

Note: THIS WILL NOT WORK WITH SYSTEMLESS XPOSED, YOU MUST USE THE CLASSIC VERSION!
Configuration tested on:
Redmi Note 3 Kenzo 3gb goodix variant.
Officially unlocked bootloader.
Installed latest global dev rom (7.7.20) with miflash in edl mode then installed TWRP official 3.1.1-0 then installed 7.7.6 firmware from LineageOS 14.1 thread.
Latest LineageOS build (2/8/17) with Radon Kernel 5.3.
Steps:
1. Install latest global dev rom to make sure you have the proper nougat binary blobs on your device. Preferable to use miflash and phone in edl mode. Allow phone to boot one time so rom can partition the emmc properly.
2. Install latest TWRP official (3.1.1-0) by putting phone in bootloader mode and connecting to PC via usb cable. Copy the twrp recovery image to the same place that fastboot.exe is located. Open an elevated/admin command prompt and navigate to where fastboot.exe is located. Type "fastboot flash recovery NameOfRecovery.img" (without quotes of course). When that is finished type "fastboot boot NameOfRecovery.img."
3. Install zips in this order. LineageOS rom, OpenGapps, Radon Kernel 5.3 (selected all default settings), Magisk 13.3.
4. Reboot to system, set up phone and install any apps that need to pass cts safety net at this point. E.G. Super Mario Run.
5. Reboot to recovery.
6. Install the latest Xposed build for SDK25 ARM64 from PurifyOS Xposed thread - https://forum.xda-developers.com/xposed/xposed-android-nougat-sdk-25-arm64-t3639221. DO NOT USE THE SYSTEMLESS MAGISK VERSION.
7. Reboot to system.
8. Install latest Xposed Material installer by DVDAndroid - https://forum.xda-developers.com/xposed/material-design-xposed-installer-t3137758. At this point you will fail safety net. The next step will fix that.
9. Install Root Switch 1.3.3.2 apk.
10. When you need to pass CTS Safety Net use Root Switch to disable Xposed. It will ask you confirmation to perform a soft reboot. After the soft reboot Xposed will be disabled and you will be able to pass CTS Safety net again. DO NOT USE THE DISABLE ROOT SWITCH! THIS WILL PERMANENTLY MESS UP MAGISK!
THIS HAS ONLY BEEN TESTED ON THE LISTED CONFIGURATION. DO NOT ASK IF IT WORKS ON ANY OTHER CONFIGURATION, TEST IT YOURSELF. I WILL NOT BE RESPONDING TO QUERIES, IF YOU FOLLOW THE STEPS AS LISTED YOU WILL BE JUST FINE.

Linn for root switch

tried this on rr rom redmi note 3 kenzo working absolutely fine highly recommend

Works on One Plus 3T with Oxygen OS 4.1.6!
Thanks!

If the root switch app disables xposed, then what is the use of it

Related

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

Root, Install TWRP & Xposed Framework

After updating magisk to version 18, oneplus 5t wasn't remain rooted but got stuck in bootloop. I after many attempts got the method to root it again.
I'm not a developer. I'm just an ordinary Android user. I didn't find any method on xda until now so think to help others.
Here I'll show you the step by step procedure to get root with the updated version of magisk.
I've tested it on my oneplus 5t with latest Android Pie.
Do it on you own risk I'm not responsible if you get brick your device.
Download all necessory files before get start.
1. TWRP recovery
https://forum.xda-developers.com/oneplus-5t/development/recovery-twrp-3-2-1-0-oreo-8-0-8-1-t3729673
2. Magisk
link in description
3. Xposed Framework
https://www.xda-developers.com/xposed-framework-unofficial-port-android-pie/
4. Copy Magisk and Xposed framework files to mobile.
Procedure
1. Open Fastboot menu and connect device to PC.
2. Install TWRP recovery for pie.
i. download the .img recovery file.
ii. place it in "Minimal ADB and Fastboot" folder and copy its name.
iii. open terminal and write "fastboot flash recovery "copied name".img " and hit enter.
3. After installing TWRP, reboot to recovery by pressing volume down key.
4. Install magisk and reboot.
i. Reboot the device and install magisk manager apk.
ii. and make sure that you got stable root.
5. Reboot to recovery and install Xposed framework
i. method is in the link given above.
a. Download and install the Riru Core Magisk Module.
b. Download and install the EdXposed Magisk Module.
c. Reboot your phone.
d. Install the Xposed Installer APK from XDA Senior Member DVDandroid.
6. done. If you did the same then you got rooted with magisk 18.2.
hmm
Mirza_Husnain said:
After updating magisk to version 18, oneplus 5t wasn't remain rooted but got stuck in bootloop. I after many attempts got the method to root it again.
I'm not a developer. I'm just an ordinary Android user. I didn't find any method on xda until now so think to help others.
Here I'll show you the step by step procedure to get root with the updated version of magisk.
I've tested it on my oneplus 5t with latest Android Pie.
Do it on you own risk I'm not responsible if you get brick your device.
Download all necessory files before get start.
1. TWRP recovery
https://forum.xda-developers.com/oneplus-5t/development/recovery-twrp-3-2-1-0-oreo-8-0-8-1-t3729673
2. Magisk
link in description
3. Xposed Framework
https://www.xda-developers.com/xposed-framework-unofficial-port-android-pie/
4. Copy Magisk and Xposed framework files to mobile.
Procedure
1. Open Fastboot menu and connect device to PC.
2. Install TWRP recovery for pie.
i. download the .img recovery file.
ii. place it in "Minimal ADB and Fastboot" folder and copy its name.
iii. open terminal and write "fastboot flash recovery "copied name".img " and hit enter.
3. After installing TWRP, reboot to recovery by pressing volume down key.
4. Install magisk and reboot.
i. Reboot the device and install magisk manager apk.
ii. and make sure that you got stable root.
5. Reboot to recovery and install Xposed framework
i. method is in the link given above.
a. Download and install the Riru Core Magisk Module.
b. Download and install the EdXposed Magisk Module.
c. Reboot your phone.
d. Install the Xposed Installer APK from XDA Senior Member DVDandroid.
6. done. If you did the same then you got rooted with magisk 18.2.
Click to expand...
Click to collapse
It dont work it still gives boothaning on the Oneplus logo
And that means that i cant follow all your text , im not able to install Magisk Apk
so the rest of your list is not a possibly for me
zagget said:
It dont work it still gives boothaning on the Oneplus logo
And that means that i cant follow all your text , im not able to install Magisk Apk
so the rest of your list is not a possibly for me
Click to expand...
Click to collapse
Really sad that it doesn't work for you.
Try this:
Install ROM from zero, (or wipe it off). Then try to install the magisk 18.2.
Hopefully it'll work for you.
Thanks
I will look at it
But is stupid that i need to install the rom from start
And where is Magisk 18.2 comming from
The last one on the official page is 18.1
So how do you get the Magisk 18.2

Help from Rooting to Xposed, rookie explanation

Hi guys. I had a multiple day struggle and all the manuals were only partial, so I try to summarize all the steps taken to unlock my phone, root it with magisk and install Xposed SDK28.
1) Unlock bootloader
It takes time and I had to wait that mentioned 168h (it may differ) and there is nothing you can do about it on your K20/9T
I used the official xiaomi unlock tool, latest version, and followed all the steps there.
2) Install TWRP
Oh god, on this phone it gave me headache and I almost bricked my phone and it convinced me to write you a manual just in case you are lost as I had been. Here you go.
There are three versions of TWRP on this forum and I selected the Chinese one (no greek nor russian)
After unlocking the bootloader, I only flashed the twrp (no other files, just the img with the rom) and then did fastboot reboot.
It stucked on booting. Here I pressed volume up and power and it took me to the newly installed TWRP. This didn't work with an other TWRP than Chinese. I ended up in the bootloop to fastboot only.
Then I installed the ROM. In my case Pixel Experience, latest version. The manual mentioned in this forum tells you to install Magisk together with your ROM. It again caused a bootloop on my device, so I wiped my device in TWRP, installed clean Pixel Experience ROM, and let it boot without magisk and permissive.
I checked via root checker if my device is rooted. And it was not.
3) Root via Magisk/SU applicable
Then I downloaded
Magisk Manager 7.3.2.apk and installed it with confirmation in settings that I allow the whatever file manager to install apps from unknown source.
In the Magisk Manager I downloaded a zip with Magisk and rebooted to TWRP (turn off the device, and then volume up and power)
I flashed the zip downloaded by that manager - no wipe
rebooted back to system and checked the root. Rooted.
4) Xposed
Download Magisk manager 7.3.2.
Install modules via Magisk Manager
- Riru Core v19.4 or higher
- Riru - EdXposed v0.4.5.1._beta(4463) (YAHFA)
restart your device
Then install EdXposedInstaller_V2.2.4-release.apk and check if it works.
restart your device and you can start installing modules. Even Gravitybox (P) works!
I really hope I briefly helped you guys. Viva la modding and enjoy your cool Xiaomi. Thanks to all the contributors on xda, thanks to them I was able to summarize this little manual.
In case you stuck somewhere and need to recover anything such as boot.img or any other shananingans you did with your phone, as I did too, you need to download the miflash tool, in this case the latest version didn't work so I used 2014.05.09.0, and downloaded the official fastboot rom davinci_eea_global_images_V10.3.7.0.PFJEUXM_20190602.0000.00_9.0_eea_eab1d1cc52, flashed it with miflash (around 6 minutes), stucked again in bootloop, rebooted to TWRP via volume up and power during the bootloop, and followed the steps from flashing the TWRP (after MiFlash it has only the default MiRecovery) and installed my ROM.

Safetynet-fix : Oneplus 6t + LineageOS 19.1 + MindTheGaaps + Magisk

Hello,
It took me some time but I finally did it. I upgraded from Stock to LIneageOS latest version (Android 12L).
It took me some time because I think there was a problem during installation. Each time I installed, Google Play could not connect to wifi.
I followed the officila guide from Lineage : https://wiki.lineageos.org/devices/fajita/install
I suggest you do the same.
After the installation - here is the trick - you need to start and run Lineage OS on your phone.
Then reboot the phone to recovery (press Power + Volume Down during boot for 5 seconds)
Do a Reset of the data - This is the second trick and not explained in the official guide.
Go back to the ADB SIDELOAD and install the latest MindTheGapps : https://wiki.lineageos.org/gapps
Restart and run lineageOS and check that everything is fine.
Now go back to recovery mode and you can install Magisk. https://github.com/topjohnwu/Magisk
(Tip: You can rename the APK to ZIP to install it).
Problem : Safety Net is not passing. I tried everything (installing the safetynet-fix and the MagiskHidePropsConf. No Success! :-(
Good luck
OK. I gave up on the original LineageOS for Android 12.
I installed https://forum.xda-developers.com/t/...-6t-gapps-ota-updates-safetynet-twrp.4494053/
like you would install the default Lineage OS.
Then I booted and it was passing the SafetyNet which is normal as it is not rooted.
TWRP becomes the new bootloader. I
After that I booted back in TWRP tADB SIDELOAD to load the latest Magisk.
I booted and was hiding Magisk and activated Zygisk. I also Enforce deny List and Configure it to Google Play and Google Wallet.
After a reboot it still passes SafetyNet.
SUCCESS!
I just noted that because google recognize the phone as a NEXUS. Surelly because the SAFETY NET is spoofed by the ROM. Not sure of the implications of that!

Categories

Resources