Huawei P9 [ROM][Android 7.0][EMUI 5.0][European Firmware b386 based]*MagicRainbow* v2

Kimo2014

Senior Member
Sep 14, 2013
182
30
58

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
Bro, it's only one file update_data_full.... zip, only update.app. That's enough?
I have downloaded your zips now - thanks again...
But it is not right, what you said to me - update_data_full_EVA-L19_hw_meafnaf.zip contains the folder: data - and: META-INF - and UPDATE.APP
To install this with dload method - all three files must placed into the dload-folder on external SD.
Different to flashing with TWRP...

So I hope you dont miss anything.....
 

Attachments

  • Like
Reactions: Kimo2014

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
Update for MagicRainbow v2

Its time to update some components in MagicRainbow v2

Guide:

  • 1) Open Magisk Manager
    2) Uninstall "Universal Safetynet Module" - if you have it installed! - klick on recycle bin symbol and after restart your phone!
    3) With Restart Menu reboot to Recovery (TWRP) and flash Huawei-Safetynet-Fix-by-Macleod.zip and restart Phone - DONT INSTALL THIS MODUL FROM MAGISK-MANAGER DIRECTLY
    Download: https://www.androidfilehost.com/?fid=961840155545594407

    4) Open Magisk Manager again and install Osm0sis BusyBox 1.27.2 stable directly from Magisk-Manager
    See description: https://forum.xda-developers.com/showpost.php?p=73750869&postcount=578

    The updates bring more stability to the Rom and solve some issues.
    Universal Safetynet Fix had the issue to identify your Phone as a Xianomi Device instead of P9....
    Busybox 1.27.2 is more powerful and let the phone work more properly. I have the impression Battery Life is even better.

    BTW: I am working on a new Rom, which will based on b396 . New MagicRainbwow v3 will be a complete Rom with all Partitions, not only system and boot - for more compatibility with different p9 devices. But dont wait yet too much, I am very busy and I want to make this new Rom in slow steps without pressure from waiting users :D
    Greetings to all and have a nice sunday :cowboy:
 

Attachments

Last edited:

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
Its time to update some components in MagicRainbow v2

Guide:

  • 1) Open Magisk Manager
    2) Uninstall "Universal Safetynet Module" - if you have it installed! - klick on recycle bin symbol and after restart your phone!
    3) With Restart Menu reboot to Recovery (TWRP) and flash Huawei-Safetynet-Fix-by-Macleod.zip and restart Phone - DONT INSTALL THIS MODUL FROM MAGISK-MANAGER DIRECTLY
    Download: https://www.androidfilehost.com/?fid=961840155545594407

    4) Open Magisk Manager again and install YashdSaraf BusyBox 1.27.2 stable directly from Magisk-Manager - DO NOT INSTALL IT WITH TWRP!
    Download: https://github.com/yashdsaraf/bb-bot/releases/download/v1.27.2-YDS-201709061512/Busybox-1.27.2-YDS-UNIVERSAL.zip
    5) Copy BusyBox 1.27.2 to the folder MagiskManager on your internal Storage. From Magisk Manager Control Panel "Module" use + Button and choose BusyBox
    6) After flashing is finished - restart button from Magisk Manager dont work. No problem, use back button (screenshot), close Magisk Manager and restart Phone manually
    The updates bring more stability to the Rom and solve some issues.
    Universal Safetynet Fix had the issue to identify your Phone as a Xianomi Device instead of P9....
    Busybox 1.27.2 is more powerful and let the phone work more properly. I have the impression Battery Life is even better.

    BTW: I am working on a new Rom, which will based on b396 . New MagicRainbwow v3 will be a complete Rom with all Partitions, not only system and boot - for more compatibility with different p9 devices. But dont wait yet too much, I am very busy and I want to make this new Rom in slow steps without pressure from waiting users :D
    Greetings to all and have a nice sunday :cowboy:
K, I will update them tomo. Also, waiting for new MR. Btw, b3996 really or b390? Is it only newer security patch or also something new from Huawei?
 

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
K, I will update them tomo. Also, waiting for new MR. Btw, b396 really or b390? Is it only newer security patch or also something new from Huawei?
Yes, you read right - it's b396 not b390. B396 isn't available in Europe yet but it already exists.
It has improvements for several things, also camera. :good:
 

Kimo2014

Senior Member
Sep 14, 2013
182
30
58
I have downloaded your zips now - thanks again...
But it is not right, what you said to me - update_data_full_EVA-L19_hw_meafnaf.zip contains the folder: data - and: META-INF - and UPDATE.APP
To install this with dload method - all three files must placed into the dload-folder on external SD.
Different to flashing with TWRP...

So I hope you dont miss anything.....
The first link on #520 its not correct. I have installed the 2 files update & update_data which is mentioned on the 2 links(Google drive) with dload method. I am now on b397. You are welcome bro ;)

---------- Post added at 05:54 AM ---------- Previous post was at 05:26 AM ----------

After installing the Huawei-Safetynet-Fix-by-Macleod.zip I have a black screen?!!. So to resolve this issue I have unsalted, how can we fixed plz?
 
  • Like
Reactions: jonathanhenry81

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
The first link on #520 its not correct. I have installed the 2 files update & update_data which is mentioned on the 2 links(Google drive) with dload method. I am now on b397. You are welcome bro ;)

---------- Post added at 05:54 AM ---------- Previous post was at 05:26 AM ----------

After installing the Huawei-Safetynet-Fix-by-Macleod.zip I have a black screen?!!. So to resolve this issue I have unsalted, how can we fixed plz?

Did you the steps I recommended?
1) Uninstall Universal Safetynet
2) Restart Phone
3) Reboot phone to TWRP
4) Flash Huawei Safetynet modul with TWRP ( not from Magisk Manager!)
 
  • Like
Reactions: Kimo2014

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
Yes of course. I do it 2 times.

Okay, EVA-L09 C185 is different :silly:

In this case stay for the first with Universal Safetynet Fix instead of the Huawei one.

Modul is generally working on Huawei Mate 9, P10, P9.
It works without problem on my EVA-L09...

But issue can be on your phone because Rom isn't 100% compatible in this configuration with b387..

So, all problems will be solved with next version of MagicRaibow :)
 

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
Its time to update some components in MagicRainbow v2

Guide:

  • 1) Open Magisk Manager
    2) Uninstall "Universal Safetynet Module" - if you have it installed! - klick on recycle bin symbol and after restart your phone!
    3) With Restart Menu reboot to Recovery (TWRP) and flash Huawei-Safetynet-Fix-by-Macleod.zip and restart Phone - DONT INSTALL THIS MODUL FROM MAGISK-MANAGER DIRECTLY
    Download: https://www.androidfilehost.com/?fid=961840155545594407

    4) Open Magisk Manager again and install YashdSaraf BusyBox 1.27.2 stable directly from Magisk-Manager - DO NOT INSTALL IT WITH TWRP!
    Download: https://github.com/yashdsaraf/bb-bot/releases/download/v1.27.2-YDS-201709061512/Busybox-1.27.2-YDS-UNIVERSAL.zip
    5) Copy BusyBox 1.27.2 to the folder MagiskManager on your internal Storage. From Magisk Manager Control Panel "Module" use + Button and choose BusyBox
    6) After flashing is finished - restart button from Magisk Manager dont work. No problem, use back button (screenshot), close Magisk Manager and restart Phone manually

    The updates bring more stability to the Rom and solve some issues.
    Universal Safetynet Fix had the issue to identify your Phone as a Xianomi Device instead of P9....
    Busybox 1.27.2 is more powerful and let the phone work more properly. I have the impression Battery Life is even better.

    BTW: I am working on a new Rom, which will based on b396 . New MagicRainbwow v3 will be a complete Rom with all Partitions, not only system and boot - for more compatibility with different p9 devices. But dont wait yet too much, I am very busy and I want to make this new Rom in slow steps without pressure from waiting users :D
    Greetings to all and have a nice sunday :cowboy:
Thank you for pointing to the updates:, with few comments'

1) Before uninstalling previous BusyBox and installing this new version, Master Power in Viper4Android must be turned off (if V4A was enabled in the RIOM), and later Master Power button in V4A must be enabled again.

2) It's a not necessary to install them from MagiskManager folder, it works also directlu from eg ADM folder.

3) RootChecker complains me now that BusyBox is not installed ("cannot detect BusyBox version") - I tried couple of them, all the same?!
However, V4A works fine and shows Processing status Yes (when playing music), hence BusyBox must be properly running).
Screenshots attached.
---
Btw, looking to your screenshots:

I was also experimenting with Enable Doze for GMS module but abandoned it because it blocks all (or none) PNS notifications.

Instead, I have switched to ForcDoze app (Root required) because it provides Doze Notifications Blocklist, ie allows me to define for which apps to block notifications.

Eg, I block Skype notifications but still keep WhatsApp notifications enabled, assuring that Skype does not break Doze (causing to drain the battery - during the night I receive tons of Skype messages related to work), but that WA notifications (from friends and family) still come unaffected and instanenously to the locked screen (while asleep to Doze)
 

Attachments

Last edited:

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
For me - the Busybox installation does not really work - sorry.
Please check with Root Checker, if your BusyBox Installation is correctly. Mine was not. It was enabled in Magisk Manager and looked like good - but it wasnt. Root Checker told me, that installation does not exist.
I tried it several times with TWRP - but always failed. I tried it with Magisk Manager - installation was always corrupted. 1.27.2 does not work for me.
I have a User in the German Forum, he installed it with TWRP without problem....
and also @ogisha installed it with TWRP. He checked, that Magisk Manager Installation with + Symbol from modules dont work with Busybox. YashdSaraf told in his changelog, that he has removed support for installing directly from Magisk Manager.
So please check your BusyBox Installation. If its working - better you dont update it yet. Or maybe update is working for you.
Finally I flashed BusyBox 1.26.2 with TWRP without problems. Installation path from 1.26.2 ist /system/xbin.
After I flashed Magisk 14 again, to keep the safetynet. Everything okay now, but I cannot get 1.27.2 working on my phone....
 
Last edited:

Tecalote

Senior Member
Aug 6, 2015
4,077
3,104
253
Leipzig
Thank you for pointing to the updates:, with few comments'

1) Before uninstalling previous BusyBox and installing this new version, Master Power in Viper4Android must be turned off (if V4A was enabled in the RIOM), and later Master Power button in V4A must be enabled again.

2) It's a not necessary to install them from MagiskManager folder, it works also directlu from eg ADM folder.

3) RootChecker complains me now that BusyBox is not installed ("cannot detect BusyBox version") - I tried couple of them, all the same?!
However, V4A works fine and shows Processing status Yes (when playing music), hence BusyBox must be properly running).
Screenshots attached.
---
Btw, looking to your screenshots:

I was also experimenting with Enable Doze for GMS module but abandoned it because it blocks all (or none) PNS notifications.

Instead, I have switched to ForcDoze app (Root required) because it provides Doze Notifications Blocklist, ie allows me to define for which apps to block notifications.

Eg, I block Skype notifications but still keep WhatsApp notifications enabled, assuring that Skype does not break Doze (causing to drain the battery - during the night I receive tons of Skype messages related to work), but that WA notifications (from friends and family) still come unaffected and instanenously to the locked screen (while asleep to Doze)
Thanks for your feedback and recommendations.

I used ForceDoze app one week - and I found out, after rebooting device ForceDoze forgot some Apps which I have done in the withelist already... So I got no Push Notification from Telegram for example.....

For BusyBox 1.27.2 have a look into this Thread: https://forum.xda-developers.com/showpost.php?p=73744703&postcount=421
Some Users can install it with TWRP and it works - for me it dont work. A German User used the universal.zip without problems. I tried it with TWRP 3.1.1-1 and TWRP 3.1.1-0 but got always errors.
With Magisk Manager BusyBox seems to be installed, but Root Checker says: no (same as in your screenshot). I think, this is not correct.
I switched back at the moment to 1.26.2 - which does not install as Magisk Modul but classical to /system/xbin.
I flashed after Magisk 14 again to keep saftenet.
 

ogisha

Senior Member
May 24, 2012
492
293
0
For me - the Busybox installation does not really work - sorry.
Please check with Root Checker, if your BusyBox Installation is correctly. Mine was not. It was enabled in Magisk Manager and looked like good - but it wasnt. Root Checker told me, that installation does not exist.
I tried it several times with TWRP - but always failed. I tried it with Magisk Manager - installation was always corrupted. 1.27.2 does not work for me.
I have a User in the German Forum, he installed it with TWRP without problem....
and also @ogisha installed it with TWRP. He checked, that Magisk Manager Installation with + Symbol from modules dont work with Busybox. YashdSaraf told in his changelog, that he has removed support for installing directly from Magisk Manager.
So please check your BusyBox Installation. If its working - better you dont update it yet. Or maybe update is working for you.
Finally I flashed BusyBox 1.26.2 with TWRP without problems. Installation path from 1.26.2 ist /system/xbin.
After I flashed Magisk 14 again, to keep the safetynet. Everything okay now, but I cannot get 1.27.2 working on my phone....
Maybe you converted from SuperSU to Magisk.
I had problems with SuperSU and lost root. Thanks to you and your instructions I reverted back to MM and did fresh rom installation from scratch but this time I rooted with Magisk.
Since then I have never had any problems of yours (knock on wood).
 
  • Like
Reactions: Tecalote

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
Just flash it from twrp.
I tried though TWRP but flashing reported errors, no luck with 1.27.2

Switched back to Busybox-1.27.1-YDS-UNIVERSAL, installing through Magisk / Modules / +, it works back again - see screenshots (and btw, installed it from SD, without problems)
 

Attachments

Last edited:
  • Like
Reactions: Tecalote

zgfg

Senior Member
Oct 10, 2016
4,419
1,899
233
Thanks for your feedback and recommendations.

I used ForceDoze app one week - and I found out, after rebooting device ForceDoze forgot some Apps which I have done in the withelist already... So I got no Push Notification from Telegram for example.....

For BusyBox 1.27.2 have a look into this Thread: https://forum.xda-developers.com/showpost.php?p=73744703&postcount=421
Some Users can install it with TWRP and it works - for me it dont work. A German User used the universal.zip without problems. I tried it with TWRP 3.1.1-1 and TWRP 3.1.1-0 but got always errors.
With Magisk Manager BusyBox seems to be installed, but Root Checker says: no (same as in your screenshot). I think, this is not correct.
I switched back at the moment to 1.26.2 - which does not install as Magisk Modul but classical to /system/xbin.
I flashed after Magisk 14 again to keep saftenet.
For BB please see my previous response above, I switched back to Busybox-1.27.1-YDS-UNIVERSAL and it works again fine for me.

For ForceDoze, I'm not using Whitelist, just Doze Notification Blocklist, to block PNS for unwanted apps
 

Attachments

Last edited:
  • Like
Reactions: Tecalote

ogisha

Senior Member
May 24, 2012
492
293
0
I tried though TWRP but flashing reported errors, no luck with 1.27.2

Switched back to Busybox-1.27.1-YDS-UNIVERSAL, installing through Magisk / Modules / +, it works back again - see screenshots (and btw, installed it from SD, without problems)
Strange. I did not have any problems.
 

Attachments