yashsingh1/xdaforums huggingface dataset:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] hiepxhop:
I understand the first two steps, uninstall Magisk and restore boot.img. But I am confused about the third step. I need to flash stock recovery, then flash TWRP again to flash v2? ( I am currently on twrp-3.1.1-1)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Hi [MENTION=6870018]Tecalote[/MENTION], I have b386 received by OTA, rooted by SuperSU 2.82 permissive, flashed also YDS BusyBox and Viper4Androd (your links, from your XDA SuperSu thread), and AdAway.

Everything works fine but I'm considering to install Magic Rainbow Magisk edition - what should I do?

May I just unroot from SU app, or flash not-rooted boot img, I suppose I don't need to restore all partitions by TWRP?

Thanks
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You are on Firmware b383 and you must first update your Firmware to b386 before you can flash TWRP again and install my Rom (dont miss any steps from Post #1)

You cannot just wipe and flash v2.

To update Firmware with dload method you need Stock Recovery.

You can also alternative flash update.zip and hw_eu.datazip with TWRP (only with my Guide in Post #1, don't miss any steps) - but at the end you are on Stock Recovery and must perform from there Wipe Cache Partition and Factoryreset, like I write in OP.

So, same effect. After updating to b386 you must flash TWRP again.

That's why I recommend you to do the Firmware Update with dload method.

Please read Post #1 (OP)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello again :)

I would Unroot from SuperSU App with restoring boot.img (SuperSU App ask you two times)

Mostly it works, sometimes not.

If not, you are anyway unrooted.

You can restore original boot.img - but it's not necessary.

Just boot then to TWRP and configure settings (in last Tab of settings uncheck /disable vendor.

In screen timeout set the timeout to 300 (that you can see install script and if everything goes well without errors)

After make the wipes I said in OP.

Then navigate back to "Mount" Tab and unmount everything except Micro-SD. Don't forget this step.

Now flash Rom.

As you know, Backup before your stuff :)

I would recommend to keep update.zip and hw_eu.datazip from b386 also on external SD. Just for worst case.

If something goes wrong you can flash b386 with TWRP (steps in OP)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Important change for magisk-user

Important additional step for USERS of MAGISK-Editon:

Please dowload Busybox-1.27.1-YDS-UNIVERSAL.zip from this post (attachment) - but do NOT flash it with TWRP

You do following steps:

1) Open Magisk Manager - on left side above open Control Panel

2) Go to Module Tab (here is already installed SELPermissive Module and probably Universal Safetynet Fix - if you had installed this recommended module

3) Tap on + (plus) Symbol and navigate to Busybox-1.27.1-YDS-UNIVERSAL.zip and choose this

4) Busybox-1.27.1-YDS-UNIVERSAL.zip flashing start - this changes the Busybox, which is already installed in /system/xbin to a Magisk Module. Its important for the ROM to work properly!

5) After flashing is finished, restart P9 - - see screenshots

Information: Before releasing my new Rom I wanted to install this Busybox during flashing as an Magisk Module - but it did not work (cause it has a Bug to integrate it into install-script and same if it would be flashed with TWRP on P9) I am in contact with [MENTION=5423715]YashdSaraf[/MENTION] He will release soon Busybox 1.27.2 without this Bug. So in my next Rom it will be integrated from the beginning as an Magisk-Module.

Users of Classic-Editon dont must do anything. Busybox 1.27.1 is already installed into the SuperSU related path.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Munezero:
I'm lost... I'm looking for a ROM,essentially for remove ads on youtube and be able to customize the navigation bar please..

Unfortunately I have read, but I do not quite understand the capacity of applications..

I would like to know if, adaway blocks youtube ads'? (Or if with magisk or another application of the kind could be added a module to stop them?)

I would also like to know if it is possible to customize its navigation bar with KangV-Settings?

Thank you for this work even if I do not understand the quantity of work, at least it is well detailed for beginners!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
AdAway does not block YouTube ads. Only an Xposed module YouTube AdAway will block them, but for that you need to have Xposed framework installed
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] rayman95:
I just notice that battery % doesn't appear in bar even if you check it in settings .... Nothing else for the moment....
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
[MENTION=6870018]Tecalote[/MENTION] If you want busybox in magisk, flash it after magisk itself, that should work.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello [MENTION=4900664]dkionline[/MENTION] - it works like I told in post: https://xdaforums.com/showpost.php?p=73502235&postcount=427

It just can't executed during Rom installation after Magisk as module at the moment, it aborts installation with error.

So I must integrate it before Magisk and it was installed to system/xbin.

But it can installed manually directly by adding it as module in Magisk Manager ...

I have seen theres an alternative busybox for download available in Magisk Manager from osmosis - but I find the one from Yashdsaraf better.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
1) Open Phone Manager, go to Battery Tab, enable remaining % (with this step you can't see it, but it's necessary to do)

2) Open KangVs Advanced Settings on Homescreen and go to

3) notification settings / Battery Icon

4) choose one of those - I like battery style 3
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
With KangV Advanced Settings it is possible to customize Navigation bar. You can manually set-up applications to the symbol of navigation bar and by long Klick on it execute this Apps.

[MENTION=7786725]zgfg[/MENTION] told you, you need xposed Framework installed for remove adds on YouTube.

Official Xposed Framework by [MENTION=4419114]rovo89[/MENTION] is in progress.

The unofficial Xposed for Nougat doesn't work properly on P9. I have tested. After three days it stopped completely to work.

BTW Xposed Framework can't be used if you like to bypass safetynet

I use VIA Browser in my Rom for open YouTube.

I can look Videos directly in VIA Browser.

Mixplorer comes with VLC Codecs.

There are a lot of customization possibilities by KangV Settings.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Some questions:

1) I have TWRP 3.1.1-0, no Disable Vendor option (last Settings tab is Language). Under Mount, Vendor partition is not mounted. Should I mount it (your OP does not require wiping Vendor and later for installation must not be mounted) , or upgrade to TWRP 3.1.1-1? Btw, does Rainbow installation really affect Vendor partition?

2) Under OP you suggest not to backup/ restore chat apps. I always backup via HiSuite Skype, Skype for Business and WhatsApp and they restore successfully, np.

---------- Post added at 11:02 AM ---------- Previous post was at 10:56 AM ----------

Sorry, I'm little confused now. OP says that Rainbow includes Viper4Android but V4A requires BusyBox. Hence, does Magisk edition correctly support V4A, at least with this patch for BusyBox?

Actually, do BusyBox, V4A and AdAway all work fine in Magisk ed., and still passing SafetyNet?

Thanks in advance for your prompt and detailed answers :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
The Busybox is already installed in /system/xbin with flashing the Rom.

But the patch to change it into a Magisk Module is better for everything in Magisk Edition.

It works without any problem for Viper4Android.

I would not recommend to do this, if it would make problems :)

BTW: Small different is More Settings /Viper4Android - here's just the installation pool. Choose one option and reboot.

Viper4Android is after with symbol on Homescreen - not in Advanced Settings!

Everything is bypass safetynet.

Important is: After first phone setup enable 1) ADB Debugging 2) USB Debugging (in this order)

Reboot Phone.

Install Universal Safetynet Fix Module in Magisk Manager (download this module and let it install)

Don't enable systemless hosts in Magisk Manager.

AdAway works without this setting. Just enable hosts in AdAway, reboot phone and look, if hosts are enabled in AdAway. If not, do it once again.

After it works for sure.

You can see then, safetynet is green, Playstore is certified.

Install Apps, which require safetynet now, not before doing those steps.

For special Apps, which have a special search function for Magisk Root, enable them to hide in Magisk Hide Tab. Magisk Hide general is pre enabled, but you can choose Apps to Hide too.

I use also Magisk Edition - everything is perfect.

Answers for your first questions are in your QUOTE - look above
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Thx, answers as expected, no excuse for me I will have to go for your Rainbow Magisk :)

Btw, one comment regarding restoration of WhatsApp, it may help to somebody.

If you don't backup and restore (HiSuite) you still have all your groups and contacts (contacts by default sync themselves) but you loose your previous WA messages.

If you backup and then restore (upon reinstalling a firmware), you see all your previous chats and messages, but instead of contact names WA shows thei corresponding phone numbers. And if I was trying yo sync WA through native Settings/Accounts, it was constantly failing with no explanation.

Restored WA thinks it has permission for Contacts - hence not prompting for, but it doesn't have and thus syncing of Contacts is failing.

Attempt to send a new WA msg to somebody you didn't have in previous chats, WA will ask for Contacts permission, you grant - immediately thereafter WA successfully syncs contacts and all your old chats and messages will be correctly displayed with contact names as before they were backed up
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Munezero:
Okay, thanks for your answer! :D

Alright nice thanks you very much for these explanations! :victory:

I will try to find an alternative (example "OGyoutube" I don't know if you know?)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] bambis880:
Or this:

https://xdaforums.com/android/apps-games/app-iytbp-injected-youtube-background-t3560900

[MENTION=3279788]ZaneZam[/MENTION] youtube version is perfect.

Root or NoRoot

[MENTION=5888813]mondohow[/MENTION] magisk module:

https://www.androidfilehost.com/?w=files&flid=192960

Odoslané z EVA-L09 pomocou Tapatalku
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I find, this is the Best :good:

Thank you to share this tip with us!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] bambis880:
Thank you for your rom. It's great. :)

Odoslané z EVA-L09 pomocou Tapatalku
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
For Universal SafetyNet Fix, which version to use from:

https://www.google.hr/amp/s/xdaforums.com/apps/magisk/xiaomi-safetynet-fix-t3600431/amp/

There is a stable ('outdated') universal-safetynet-fix-v1.10.1.zip

but also newer beta versions, the newest one universal-safetynet-fix-v2-beta-5.zipq
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Thank you for your research :good:

I have tested it right now - and it seems to be much better.

I uninstalled stable version in Magisk Manager.

After I rebooted phone, then boot to TWRP and flashed Beta Version..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Playstore certified, Magisk Module integrated.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
In Magisk Manager, Control Paneo, Moduls,, +, I navigate to the downloaded YDS BusyBox zip. If I select , i it shows on top left " X Selected 1" and on top right I have Open option that opens/shows content of the ZIP file - but there is jo option to initate flashing?

Also, if I tap to the BusyBox zip file, it just opens again the content of ZIP fille, I can select each its subfolder and file, but how do I start flashing the YDS BusyBox?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Look at my Screenshots in post: https://xdaforums.com/showpost.php?p=73502235&postcount=427

Better to use not a special root explorer to navigate from Magisk Manager to the zip file, just use Huawei Filemanager (in the window after +) and klick on the zip file

I did it with Mixplorer and left above I checked okay Symbol
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7786725]zgfg[/MENTION] solved?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Kimo2014:
Bro, any news?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes, I am working on it. But I am very busy this week in my job - so I do the rest on weekend.

I let you know when it's uploaded
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Munezero:
I don't know if I can afford to post my topic here, but I try because it is a problem before installing the rom :/

My topic: https://xdaforums.com/p9/help/failed-to-unmount-data-device-resource-t3661671
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
H

Please watch the attached movie - sorry, XDA does not allow me to upload MP4 screen-recording (it fails to upload even if I zip it).

From Magisk Manager, Modules I take Plus, select stock File Manager, I navigate to YDS zip and click on. For a moment I see a black screen (as if Magisk Manager crashed), I get Home screen, I can open Magisk Manager from the background but no YDS module was added to the list.

Same if I choose Mixplorer instead of stock File Manager.

Am I doing something wrong or this is expected behavior?

To the other side, Root Checker shows that BusyBox is successfully installed and also e.g. Viper4Android shows that driver is Okay and processing.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yes, of course, Busybox is successful installed, because I integrated it into the Rom. But it wasn't possible to integrate it as Magisk Module. Busybox is installed with the classic method and it works.

Anyway I am wondering why the change to a Magisk Module not work on your Phone.

1)Please look into settings /Apps /Magisk Manager if he has permissions for storage (must have)

2) If you have activated "Auto Launch" in Phonemanager, be sure Magisk Manager is set to Autostart

3) ADB Debugging and USB Debugging is enabled? Please check.

4) have you activated in DocumentProvider the Advanced Features?

5) You can open settings /apps /menu - show system processing and navigate to "documents" and clear inside data and cache.

The + (add) in module section of Magisk Manager must have the right to choose the module with document provider.

Maybe you try it from internal storage - you can move the Busybox.zip into the folder "Magisk Manager" on internal Storage.

And finally check the Busybox zip - if the zip download is not broken
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] rayman95:
hi chief, just restore stock B386 rom after testing RROS and AOSPA rom and got B390 OTA proposed by huawei..but can't install it because of TWRP...I save it the OTA folders, are you interested to have it????
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hi rayman95 - testman ;)

OTA Files can only installed by OTA...

I can download b390 and I know also how to install it in the meantime :)

I am planning to make a MagicRaibow with b392 which isn't available for Europe yet.

But first I want that current MagicRaibow runs perfectly even for other cust than c432.

And I have several projects on the run
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
1) Yes

2) Didn't activate in PMPlus

3) Both yes, but also Always prompt when connecting to USB (?).

Also, Unknown Sources and HDB in Security

4) I have Documents but not Document Provider?

5) Now claned Data and Cache for Documents and tried from Magisk Manager folder -still the same.

I've tried both from Internal menory (now also Magisk Manager own folder) and SD card.

And upon Plus, both from yellow File Explorer, blue Mixplorer, also from Recentd and Downloads.

ZiP is. ok, two days ago I installed it via TWRP when I rooted b386 and BusyBoc was working fine.

I hope you don't need Swype or SwiftKey keyboards in the script, I have disabled them (I prefer Google).

I've opened Log from Magisk Mabager but didn't find anything about YDS (only about successful Safety net fix installation).

Any log I could send you?

BTW, what is bad with this (BusyBox not integrated to Magisk) - Magisk cannot hide BusyBox if needed or?

Because Magisk still shows that Safety net is Ok
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You can leave also preinstalled Busybox, it's not so important yet. If safetynet is green and you haven't any problems, everything fine.

Its same version of Busybox.

I don't have enabled HDB.

And I had Master Power off in Viper4Android during flashing from Magisk Module +

I am just wondering why sometimes one thing work on one phone and on the other not.... :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Guess what - I have disabled HDB and Prompt for USB, and Master Power in V4A, and downloaded YDS ZIP again, and now it flashed successfully.

Unfortunately, we don't know which of the four moments above was instrumental, maybe Master Power on V4A or Prompt for UDB.

Anyway, thank you a lot for the continued support.

MagicRainbow, Magisk Ed., is really great - recommending to everybody!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I would think: both.

Because if Viper4Android uses Busybox active, Busybox Installation cannot modify system/xbin directory.

HDB can block a lot - and ADB Debugging and USB Debugging must be enabled in Magisk Edition anyway - so you don't need additional HDB for connecting Phone with HiSuite, if you use it for Backup ;)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Should wevreally flash this universal-safetynet-fix-v2-beta-5.zip from TWRP, or maybe better though Magisk Manager / Modules / Plus?

To be fully integrated into Magisk, and listed as an installed module (instead of the old 1.10.1 repo version)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
The beta version should not be flashed with module + but with TWRP (Thread says this)

I have flashed with TWRP, no problem.

Its integrated after reboot into Magisk Manager
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Citing [MENTION=6870018]Tecalote[/MENTION] (I hope, he will allow me) from:

https://www.android-hilfe.de/forum/...by-tecalote.829450-page-48.html#post-10633926

As translated from German by Google

IMO, switch also 4G off if you have good 3G coverage (3G speed is usually good enough).

And btw, does it make sense to tune CPU from K-Settings, from Normal to "1-Code + 4-Big Code" or "4-Code + 1-Big Code"?

What exactly they mean - I'd primarily want to save on unneeded CPU during the idle time
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Is it necessary to keep Unknown Sources later enabled for all time, or for each booting, or only during the Magisk Ed. installation?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Ok, flashed through TWRP, everything Ok, upon rebooting SafetyNet is correctly listed in modules
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Unknown sources must not be enabled all the time, but ADB Debugging and USB Debugging! :o
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello [MENTION=7786725]zgfg[/MENTION] thanks for your translation and post it here. I will also write tomorrow about battery calibration, which is good after every flashing of a new Rom...

About CPU Tweaks in KangV Advanced Settings I wrote a bit more in this post:

https://xdaforums.com/showpost.php?p=72219479&postcount=100

Your idea to use some of these Settings during idle time is good.

I forgot to speak with KangV about it.

Maybe he can change it in future versions.

At the moment its not possible to make changes for idle time separately...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Munezero:
I just finished the ROM change, everything went smoothly, thanks for your guide easy to follow! (it's my first ROM/Flash)

Nevertheless I have a small problem :eek:

When I try to download viper4android, I accept the message, my phone restarts, but no application appears and nothing in the files :x

(I thought about what I did before, I deleted a blank page / empty window at the beginning (potentially here where the application was going to appear?)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
No APK to download)install for V4A. Iinstructions at page 1, in post 1:

https://xdaforums.com/showpost.php?p=72153571&postcount=1

at (9) Features and Info

V4A is already in the ROM, you have to activate through K-Settings, and upon rebooting V4A icon should appear on the last home screen (not the first one)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
This rom have spy wiruses

Wysłane z mojego EVA-L09 przy użyciu Tapatalka

---------- Post added 26-08-2017 at 12:00 AM ---------- Previous post was 25-08-2017 at 11:57 PM ----------

Renovatio is clean but in v1 and v2 Magic Rainbow something is wrong. I install Kasperski and rom stop working!!!

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
When you open Advanced Settings from Homescreen and go to more settings /Viper4Android you can choose between

1) None

2) Viper 2.3

3) Viper 2.5

If you set the point in one of those 3 possibilities you get a prompt to reboot your Phone.

Example: If you choose 2.5, after reboot Viper4Android 2.5 is installed

If you choose None (and you have before 2.5 installed) it will be uninstalled after reboot.

If you choose 2.3, this one is installed after reboot.

Its just the install /uninstall pool in this menu.

This is very different from MagicRaibow v1

After reboot you find Viper4Android as a Symbol on your Homescreen! (mostly on a new page of Homescreen)

But you didn't find the installed Viper4Android in KangV Advanced Settings /More Settings /Viper4Android - because there's only the Installer for None, 2.3 and 2.5

You can install, uninstall, change as often you like.

Nothing must be downloaded, Viper4Android is included in the Rom /KangV Advanced Settings.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You are crazy man, right :p

Maybe devil is watching you? :laugh:

MagicRaibow v1 and v2 has a on board Antivirus feature.

Avast Mobile Security is integrated in Phonemanager.

And same as on PC - you cannot run two strong Antivirus Programs in parallel!

Then you will have a crash.

So many greetings to your Kaspersky Bodyguards, wish them a good night and wonderful dreams :D

Android 7 is different to Android 6 in several things.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] scaniathe:
Mayby. I like kaspersky lab. I used on 3 computers and 3 android device. RR Paranoid lineage is clean you rom 2 viruses. I like you rom but but sorry.

Wysłane z mojego EVA-L09 przy użyciu Tapatalka
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
My Rom has no viruses!

You haven't heard from misdiagnosis of Antivirus Apps and Programs.

Example: [MENTION=5064841]pyler[/MENTION] is a developer here on XDA.

He made the Xposed Module XInternalSD.

This module changes the path for Apps to external SD. Its possible to choose which Apps can do this.

Very good module and official in Xposed Repo.

What does Kaspersky say?

One User had installed Kaspersky on his Phone and told in [MENTION=5064841]pyler[/MENTION] Thread - Kaspersky say: XInternalSD would be a Virus :eek:

But you can 100% sure it isn't a Virus.

Also Antivirus Apps can be wrong sometimes even if they have a big marketing name.