Related
-This methode is old but working with emui 4 Android MM (6). Not work with Android N (7).
-Xposed not work in systemless mode if your Android security patch is >= november 2016
-Try to search the last version of zip files and apk on google, the version on this tutorial is old.
Hi!
This tutorial will install Magisk, phh's superuser, xposed and busybox on your Huawei P9 lite device!
Tested on a VNS-L31C432B151 version but normally work on all VNS-L31 and VNS-L21.
Magisk will allow you to "hide" the root... not realy just hide because Magisk and phh's superuser systemless edition create the root outside the system folder!
Magisk feature for common user:
-"hide" root (PokémonGo, Androidpay, banking app, ... all work!) work with
-Magisk not only allow you to replace existing file and directories, but also support adding new files and directories into system!
-Update OTA work! (not tested by me)
For more detail visite this post: http://forum.xda-developers.com/android/software/mod-magisk-v1-universal-systemless-t3432382
Phh's superuser work at 100% on this device
After a lot of Xposed version tested I can say that Xposed systemless edition is by far the best for P9 lite!
DONT install busybox on system folder!
Ok let's go:
1 Update your system on last emui version and swipe data/factory reset to get a clean and untouched device!
2 Unlock your bootloader (see multiple method on this forum)
3 Install TWRP 3.0.2.0 (see multiple method on this forum)
4 Download this files: Magisk V6.zip / phh's superuser 17.zip / xposed-v86.5-sdk23-topjohnwu.zip / Magisk Manager.apk / XposedInstaller_by_dvdandroid.apk. Put all this files on your externalSD.
5 Go to TWRP recovery and flash in order [Magiskv6.zip > phh's_superuser.zip > Xposed-v.86.5.zip] also reboot your device.
6 When you are on the homescreen go reboot again.
7 Install Magisk Manager.apk and XposedInstaller.apk, then go to the playstore download and install Phh's SuperUser app AND Busybox meefik. Reboot after this step.
8 Open your setting app and allow permission SD card to Busybox.
9 Open Busybox >> settings. Remplace the path file /system/xbin/ with /data/busybox/ and check "Remplace Applets". Also go Menu Zip Archive and download this zip.
10 Go on TWRP recovery and flash the busybox zip file.
10 please perform 3 or 4 reboot
DONE!
So, please try to open yours setting app. if it appears you have done! If not, please try again this method
Now, go Magisk Manager (app) and switch root togle off, launch your protected against root app and normally work!
(Dont need reboot between switch root off/on!)(Selinux switch work, but not persist a boot)
Have fun!
Well done. Works perfect.
The are no files any more
Links are dead
deleted
Evas0r said:
Battery draining after the process...
Is this xposed fault?
Click to expand...
Click to collapse
yes u have to flash another version
Did anyone try this on Nougat/Android 7?
Alexander33 said:
Did anyone try this on Nougat/Android 7?
Click to expand...
Click to collapse
TWRP with this [RECOVERY]Revolution Recovery Android Nougat {15-12-16} Beta .9 in Nougat but anything I tried to flash failed.
Is there anything one can do to get Pokémon Go working while having all of these installed?
Alexander33 said:
Did anyone try this on Nougat/Android 7?
Click to expand...
Click to collapse
Hey, man I've tested it on my Huawei P9-LITE B370 and it all works perfectly. To flash Magisk, you need this custom recovery (https://forum.xda-developers.com/huawei-p9lite/development/twrp-t3588356)
this really helped me thanks
Helped me alot. Still, post is a bit old, so what I did on b380 version:
FLASH RECOVERY twrp-3.1.1-0-venus.img
FLASH KERNEL Elite+Kernel+for+P9+Lite+CxxB3xx+v10.1.zip
ROOT with Magisk-v13.0(96f8efc).zip
INSTALL busybox archive via recovery to /sbin (for me it installed on /system/xbin, still ok.)
REBOOT after each step
Finally works ! :good:
is this Magisk work on Huawei P9?
I have Emui 5.0 and Android 7.0. I flashed everything except xposed but I still can't use Pokémon Go or Snapchat. Is it beacause i can't flash xposed? And when yes, how can I fix it?
Lg ThePrinoob
ThePrinoob said:
I have Emui 5.0 and Android 7.0. I flashed everything except xposed but I still can't use Pokémon Go or Snapchat. Is it beacause i can't flash xposed? And when yes, how can I fix it?
Lg ThePrinoob
Click to expand...
Click to collapse
flash magisk v13
simo255 said:
flash magisk v13
Click to expand...
Click to collapse
Ok, I will test it!
I installed magisk v13 and got the app but it when it check safety net it doesnt work. What should I do?
ThePrinoob said:
I installed magisk v13 and got the app but it when it check safety net it doesnt work. What should I do?
Click to expand...
Click to collapse
enable magisk hide and see if usb debugging is enabled
simo255 said:
enable magisk hide and see if usb debugging is enabled
Click to expand...
Click to collapse
Okey thank you it worked.
Hey,
If I open the camera app or snpachat I cant make any picture so I have a blackscreen. What should I do? And in youtube or Instagram I cant see videos, they dont load and I also cant hear any sound.
Sorry for my bad english.
I've had magisk installed since version 6, I've published some magisk modules already and never had a problem until today.
After a full clean reinstall of Nougat NBD90Z (with wipe) on my Nexus 6 and then flashing Magisk, phh's superuser for magisk, installing phh's superuser apk from play store and magisk manager apk I stumbled upon a previously reported (without details) bug where magisk manager would refuse to install modules from repo claiming they are not magisk modules.
I've struggled trying everything I could including the full wipe (more details here: http://forum.xda-developers.com/apps/magisk/module-app-systemizer-t3477512/69230448#69230448) and bounced some ideas off @pnwsr6 who's had the similar problem on Nexus 6 device.
I've achieved a partially working Magisk Manager (manual installs of ZIP files work, but installs from repo still fail) and here's the list of steps which lead to me having semi-working magisk manager again:
1. I flashed ZIP files of some modules in twrp (I'm attaching App Systemizer and Nexus 6 LED Enabler which I flashed)
2. After the phone booted up I saw the modules active and working
3. Within Magisk Manager I then added the ZIP file of the phh's superuser module from that thread (http://forum.xda-developers.com/attachment.php?attachmentid=3893967&d=1475554052)
4. Now at least manual installation of modules within Magisk Manager are working fine.
@topjohnwu -- I've enabled verbose logging and extra logging for bash commands, but I'm still not seeing anything in the log on top of the regular output.
Created an issue against Magisk Manager so it's easier to track for developers: https://github.com/topjohnwu/MagiskManager/issues/20
Looks like that even after flashing some modules in twrp, Magisk Manager only allows to install from zip only exactly the same ZIP I've already flashed (even a minor change and bump of versionCode results in "This ZIP is not a Magisk Module!"). So it might be an issue of Magisk Manager being unable to write to /magisk despite having storage permission and being granted root access.
Well, it works now (you'll have to wipe again). So here's the sequence of events:
1. Flashed @RatchetPanda's busybox http://forum.xda-developers.com/attachment.php?attachmentid=3850579&d=1471875389 from twrp -- got stuck on a boot animation, rebooted again in twrp, flashed magisk uninstall and it didn't help for some reason.
2. So I force-rebooted into fastboot and flashed nbd90z with wipe.
3. After apps were restored and everything was set up, I booted into twrp (it didn't even ask me if I want to allow /system modifications for some reason), added magisk v8 and phh's r259 root to the list, flashed them both.
4. Once the phone booted I could again install modules from repo/zips.
Maybe something didn't get properly wiped first two times but it's working now @pnwsr6!
I've seen this error as well on my Nexus 6 NBD90Z with Magisk v8. Started with v7 after some heavy modification on my part .
I was sometimes able to fix it by simply extracting the zip and then Magisk Manager would somehow recognize it as a module.. Other times I could extract the zip and then re-archive the contents and Magisk Manager would recognize that as a module. Weird, but doable.
stangri said:
Well, it works now (you'll have to wipe again). So here's the sequence of events:
1. Flashed @RatchetPanda's busybox http://forum.xda-developers.com/attachment.php?attachmentid=3850579&d=1471875389 from twrp -- got stuck on a boot animation, rebooted again in twrp, flashed magisk uninstall and it didn't help for some reason.
2. So I force-rebooted into fastboot and flashed nbd90z with wipe.
3. After apps were restored and everything was set up, I booted into twrp (it didn't even ask me if I want to allow /system modifications for some reason), added magisk v8 and phh's r259 root to the list, flashed them both.
4. Once the phone booted I could again install modules from repo/zips.
Maybe something didn't get properly wiped first two times but it's working now @pnwsr6!
Click to expand...
Click to collapse
I probably won't try again until next update, and hope the wipe just wasn't clearing something. I have the zip installed through twrp and working for now so I'm good till then.
just wondering if you're still having this issue with v9? I had modules installed fine under v6, but never really installed any modules under v8 to see if this problem occurred for me. now that I'm on v9, which has been wiped clean to start, I can no longer install any modules via Downloads or in the Modules section... any suggestions?
I have the same issue when trying to install viper with v9 on Nexus 6P DP2
Skickat från min Nexus 6P via Tapatalk
Same here. Find a fix ?
From what I hear, ZIP/module management has been reworked in the upcoming magisk v10, so unless you want to go the route I went thru, you can just wait for that.
stangri said:
From what I hear, ZIP/module management has been reworked in the upcoming magisk v10, so unless you want to go the route I went thru, you can just wait for that.
Click to expand...
Click to collapse
Just an FYI, I do still have this problem, but can install the zip through twrp. Maybe 10 will be the solution.
I had the same problem, I cleared magisk manager data and it works fine now
Didn't help
Sent from my SM-G532F using Tapatalk
I've published snapshot builds of magisk v10 and magisk manager v2.6, try these together to see if they'd help.
stangri said:
I've published snapshot builds of magisk v10 and magisk manager v2.6, try these together to see if they'd help.
Click to expand...
Click to collapse
I tried the latest one from the 26th, magisk manager keeps crashing when trying to install the downloaded dialer/contacts on HTC 10.
Meowdib said:
I tried the latest one from the 26th, magisk manager keeps crashing when trying to install the downloaded dialer/contacts on HTC 10.
Click to expand...
Click to collapse
Weird, do you have the same problem with magisk manager 161223?
stangri said:
Weird, do you have the same problem with magisk manager 161223?
Click to expand...
Click to collapse
Same
I need a Help to download modules using magisk
Lastest version, Included phh root, manager is from G. play,
But Modules download function is not working
Say "No modules found" for download to install via magisk.
Dear XDA Developers and Members.
I am trying to install Magisk to my rooted emulator AMIDuos/ Android 5.1.1.
I did exactly as specified by topjohnwu:
"If you're using rooted with Magisk phh's superuser, or Official Systemless SuperSU
Install Magisk Manager from Play Store
Install/upgrade Magisk as prompted in the application
Reboot and you're done!!"
After installing the Magisk Manager - when i go to "install" selection and after downloading Magisk v10.2 it says:
Installation error
Zip file placed in ................
Flash it in recovery manually.
Please help me
I am a noob
Check out pictures:
https://forum.xda-developers.com/showpost.php?p=70532762&postcount=7390
gordonk654 said:
Dear XDA Developers and Members.
I am trying to install Magisk to my rooted emulator AMIDuos/ Android 5.1.1.
I did exactly as specified by topjohnwu:
"If you're using rooted with Magisk phh's superuser, or Official Systemless SuperSU
Install Magisk Manager from Play Store
Install/upgrade Magisk as prompted in the application
Reboot and you're done!!"
After installing the Magisk Manager - when i go to "install" selection and after downloading Magisk v10.2 it says:
Installation error
Zip file placed in ................
Flash it in recovery manually.
Please help me
I am a noob
Check out pictures:
https://forum.xda-developers.com/showpost.php?p=70532762&postcount=7390
Click to expand...
Click to collapse
gordonk654 said:
Dear XDA Developers and Members.
I am trying to install Magisk to my rooted emulator AMIDuos/ Android 5.1.1.
I did exactly as specified by topjohnwu:
"If you're using rooted with Magisk phh's superuser, or Official Systemless SuperSU
Install Magisk Manager from Play Store
Install/upgrade Magisk as prompted in the application
Reboot and you're done!!"
After installing the Magisk Manager - when i go to "install" selection and after downloading Magisk v10.2 it says:
Installation error
Zip file placed in ................
Flash it in recovery manually.
Please help me
I am a noob
Check out pictures:
https://forum.xda-developers.com/showpost.php?p=70532762&postcount=7390
Click to expand...
Click to collapse
You need a custom recovery like TWRP.
gordonk654 said:
Click to expand...
Click to collapse
Try to flash the zip with flashify or flashfire.
BryanByteZ said:
Try to flash the zip with flashify or flashfire.
Click to expand...
Click to collapse
Will do so,
thank you so much for your time!!
Deic said:
You need a custom recovery like TWRP.
Click to expand...
Click to collapse
Will try!
Thank you!
Deic said:
You need a custom recovery like TWRP.
Click to expand...
Click to collapse
I tried to install TWRP with flushify and from their application manager but seems that i can not...
i downloaded twrp-2.8.5.0-twrp for emulator, i added it on flushify but after reboot nothing changed.....
Maybe i did something wrong? Anyway i repeated this operation 3 times, - fresh emulator installed each time -....
:crying:
BryanByteZ said:
Try to flash the zip with flashify or flashfire.
Click to expand...
Click to collapse
I tried but didn't work..
@dr.ketan
I was finally able to install your rom. However I have not been able to figure out how root works on this exactly as of yet.
I tried to install a normal Supersu from google play but it says I don't have Root on my Rom yet.
Can someone help me out with this please?
newuxtreme said:
@dr.ketan
I was finally able to install your rom. However I have not been able to figure out how root works on this exactly as of yet.
I tried to install a normal Supersu from google play but it says I don't have Root on my Rom yet.
Can someone help me out with this please?
Click to expand...
Click to collapse
I thought Dr. Ketan's N10 ROM was pre-rooted with either Magisk or SuperSU. Did you not have this option in the AROMA Installer? If not, here is some help..
I personally recommend Magisk for root. It's just as easy to use Magisk over SuperSU. Each root solution has its own dedicated app as well. To root with Magisk you will need the latest root zip which is V14.0 along with the latest Magisk Manager apk.
You can download the latest Magisk Manager apk and the latest Magisk V14.0 root zip from the link below...
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Here you can read and learn all about Magisk too. Once you download both the root zip and the apk, transfer both to your internal storage.
Next, download the no_verity_opt_encrypt_5.1 zip from here...and transfer it to your internal storage.
https://build.nethunter.com/android-tools/no-verity-opt-encrypt/
(Its the second link from the bottom in the list)
Easy steps to root your device with Magisk..
Boot to TWRP Recovery
Select Backup and put a check in each box. That way if anything goes wrong you can restore the backup and have a working device.
Next, select WIPE - Advanced WIPE - Check both caches
Swipe to wipe both caches
Next, select INSTALL
Navigate to where you saved the root zip and select the zip.
Swipe to flash the zip
Click on the box to wipe the caches
Now, just in case, flash the no_verity_opt_encrypt_5.1 zip that you downloaded earlier.
Reboot your device. Once booted up, install the Magisk Manager apk. It will install as a normal app. Make sure you have enabled "unknown sources" in Settings - Lock Screen and Security so you can install apps outside of the Play Store.
Open the Magisk Manager app and set it up to your preference. It's very easy to use.
If you run into any issues don't hesitate to ask questions.
Good luck and happy flashing!
Sent from my Samsung SM-G955U using XDA Labs
Hello everyone, my question is simple: is there a way to install Viper4Android on Oxygen OS 5.x?
https://drive.google.com/file/d/1an_JvpfjR_KNQJYeidqKBTJJeL_Bnddj/view?usp=drivesdk
Should be rooted
Use test fix apk
Use oreo audio library
Gauravlonkar said:
https://drive.google.com/file/d/1an_JvpfjR_KNQJYeidqKBTJJeL_Bnddj/view?usp=drivesdk
Should be rooted
Use test fix apk
Use oreo audio library
Click to expand...
Click to collapse
test fix apk doesn't work... Always ask to install drivers.
Yes install the driver the screen will freez for some time until installation
Gauravlonkar said:
Yes install the driver the screen will freez for some time until installation
Click to expand...
Click to collapse
it does not work. I have already done it many times and when restarting it asks again to install the driver
Viper4Android requires permissive SELinux to work in OOS Oreo. Turn on developer mode in the Viper app and use it to switch SELinux status and see if Viper works (provided that you've already made the necessary changes to audio libraries). Your phone will reset SELinux every time it reboots though, so you will have to manually disable it again after every reboot. Alternatively, you can set up something like Tasker to automatically switch SELinux into permissive mode on reboot using the following shell command with superuser privaledge:
setenforce 0
Am using viper4android on oreo for weeks, follow these steps:
1) install magisk 14.3 in twrp and reboot (I reccomend latest blue_spark version of twrp), get magisk here
2) Install Magisk Manager, get it here
3) Download V4A from here
4) Go to Magisk Manager and click on Modules, click + icon and choose V4A zip you just downloaded, reboot device
5) you are done, enjoy working V4A
Nexus5-32GB said:
Am using viper4android on oreo for weeks, follow these steps:
1) install magisk 14.3 in twrp and reboot (I reccomend latest blue_spark version of twrp), get magisk here
2) Install Magisk Manager, get it here
3) Download V4A from here
4) Go to Magisk Manager and click on Modules, click + icon and choose V4A zip you just downloaded, reboot device
5) you are done, enjoy working V4A
Click to expand...
Click to collapse
Just curious... Why the Mega links? All those downloads are available through official sources.
Didgeridoohan said:
Just curious... Why the Mega links? All those downloads are available through official sources.
Click to expand...
Click to collapse
Of course they are. Get it wherever you want, it is your choice. This was faster way for me to include dl links and I can say that combination of these files works without any issue. I cannot guarantee when you get different version on V4A it will still work.
For example the V4A module available in Magisk Manager never worked for me on any Oreo rom.
Nexus5-32GB said:
Am using viper4android on oreo for weeks, follow these steps:
1) install magisk 14.3 in twrp and reboot (I reccomend latest blue_spark version of twrp), get magisk here
2) Install Magisk Manager, get it here
3) Download V4A from here
4) Go to Magisk Manager and click on Modules, click + icon and choose V4A zip you just downloaded, reboot device
5) you are done, enjoy working V4A
Click to expand...
Click to collapse
It didn't work for me. When I open Viper4Android and try to install the drivers, it gives me an I/O error.
https://drive.google.com/file/d/13OopG8QnHisqB0hyDflFS5EgJAG4xCjQ/view?usp=drivesdk
Try this one flash using TWRP and choose only v⁴a and Dolby other just skip or uninstall set Linux to permissive
And even if this doesn't work again flash and select uninstall for every option and try test fix APK it should fix io error
Markster93 said:
It didn't work for me. When I open Viper4Android and try to install the drivers, it gives me an I/O error.
Click to expand...
Click to collapse
Don't bother telling me it doesn't work when you clearly didn't follow the steps above. On top of that your ROM is already messed up. Start with clean flash and follow the steps above.
Gauravlonkar said:
https://drive.google.com/file/d/13OopG8QnHisqB0hyDflFS5EgJAG4xCjQ/view?usp=drivesdk
Try this one flash using TWRP and choose only v⁴a and Dolby other just skip or uninstall set Linux to permissive
And even if this doesn't work again flash and select uninstall for every option and try test fix APK it should fix io error
Click to expand...
Click to collapse
Thank you, I already solved with the classical procedure for Nougat, deleting audio_effects.conf and installing the test fix apk but with SELinux Mode Changer in order to set SELinux to permissive too.
Nexus5-32GB said:
Don't bother telling me it doesn't work when you clearly didn't follow the steps above. On top of that your ROM is already messed up. Start with clean flash and follow the steps above.
Click to expand...
Click to collapse
"don't bother"
Dude, calm down and relax.
"you clearly didn't follow the steps"
I followed every steps you wrote, and they didn't work for me. Did you watch me working with my phone?
"your ROM is already messed up"
No, you didn't watch me working with my phone, otherwise you would know I have the absolutely clean OxygenOS 5.0.
Too much arrogance.
Markster93 said:
It didn't work for me. When I open Viper4Android and try to install the drivers, it gives me an I/O error.
Click to expand...
Click to collapse
Of course you didn't follow my steps as this error you got never comes up when you use my files I have uploaded for you. There is no need to play with Linux mode nor the I/o fix etc. I have flashed these files on many oreo ROMs, in total like 30x and everytime works as a charm. So before you say something doesn't work, make yourself a favour and do a clean flash because clearly you didn't.
Only trying to help you.
I've only ever had viper working on Oreo on the 3t with SElinux permissive. there are other threads where others have said the same.
I've tried multiple v4a magisk modules all of which have given me abnormal status.
If you wish to get it working inside the following magisk modules
Magisk SElinux Permissive script
Viper4Android FX for magisk v14+
Apart from that I think we may have to wait for an update to fix the SElinux permissions for enforcing
Nexus5-32GB said:
Of course you didn't follow my steps as this error you got never comes up when you use my files I have uploaded for you. There is no need to play with Linux mode nor the I/o fix etc. I have flashed these files on many oreo ROMs, in total like 30x and everytime works as a charm. So before you say something doesn't work, make yourself a favour and do a clean flash because clearly you didn't.
Only trying to help you.
Click to expand...
Click to collapse
You don't understand me, or maybe you don't want to. I did a clean flash of the OxygenOS 5.0, then I flashed your Magsisk 14.3 zip. After that, I installed your Magisk Manager apk, and I added your Viper4Android module. Everytime I tried to open the Viper4Android app, it was always asking me to install the drivers, who always failed because of an I/O error.
So has anyone installed Viper succesfully? I tried Nexus5-32GB's solution, but the magisk module would not install, there was magisk_merge.img mount failed error.
Anova's Origin said:
Viper4Android requires permissive SELinux to work in OOS Oreo. Turn on developer mode in the Viper app and use it to switch SELinux status ...
Click to expand...
Click to collapse
Thanks a lot man. I followed your advice and V4A is working on OOS oreo
JiiJii said:
So has anyone installed Viper succesfully? I tried Nexus5-32GB's solution, but the magisk module would not install, there was magisk_merge.img mount failed error.
Click to expand...
Click to collapse
Try my solution. I followed the Nougat procedure, deleting audio_effects.conf and installing the test fix apk, but setting SELinux to permissive too.
V4A showing that to install driver I need to have Busybox, I installed BusyBox and the driver installed later rebooted. But again when I open it, It is asking to install driver and reboot. I am running V4A version 2.3.4.0, OOS 5 Magisk 14.6 and Manager 5.5.0.
Not able to find V4A developer mode, appreciate some help, please.