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

Search This thread

Tecalote

Senior Member
Aug 6, 2015
4,114
3,142
60
Leipzig
Huawei Mate 40 Pro
Xiaomi Mi 11 Ultra
MagicRainbow v3 is final
I made the German Thread today and I make the Thread on xda tomorrow. I had some last changes to make today for the ROM -
Example: There is a FIX inside of SuperSU Edition for Xposed Framework to stay alive and I made data-patch-files for different models and cust ... and so on....


So if you cannot wait until the new Thread is online on xda - just go to the German Thread and read the instructions with Google Translator ;)

https://www.android-hilfe.de/forum/root-custom-roms-modding-fuer-huawei-p9.2808/huawei-p9-rom-android-7-0-emui-5-0-1-magicrainbow-v3-by-tecalote.859343.html
 

zgfg

Senior Member
Oct 10, 2016
8,202
5,838
Xiaomi Mi 11
Xiaomi Mi 11 Lite 5G
MagicRainbow v3 is final
I made the German Thread today and I make the Thread on xda tomorrow. I had some last changes to make today for the ROM -
Example: There is a FIX inside of SuperSU Edition for Xposed Framework to stay alive and I made data-patch-files for different models and cust ... and so on....


So if you cannot wait until the new Thread is online on xda - just go to the German Thread and read the instructions with Google Translator ;)

https://www.android-hilfe.de/forum/root-custom-roms-modding-fuer-huawei-p9.2808/huawei-p9-rom-android-7-0-emui-5-0-1-magicrainbow-v3-by-tecalote.859343.html
Thank you a lot :)

"In the SuperSU Edition under KangV-Advanced-Settings under More settings you have the possibility to activate the xposed framework for Nougat 88.2 and deactivate it if necessary. There is also a fix built in that will prevent the framework from disabling itself (which used to appear on many EMUI phones). "

Really - Xposed will stay activated on rebooting and so?
 

Addymore

Senior Member
Aug 26, 2011
531
127
Kigali
MagicRainbow v3 is final
I made the German Thread today and I make the Thread on xda tomorrow. I had some last changes to make today for the ROM -
Example: There is a FIX inside of SuperSU Edition for Xposed Framework to stay alive and I made data-patch-files for different models and cust ... and so on....


So if you cannot wait until the new Thread is online on xda - just go to the German Thread and read the instructions with Google Translator ;)

https://www.android-hilfe.de/forum/root-custom-roms-modding-fuer-huawei-p9.2808/huawei-p9-rom-android-7-0-emui-5-0-1-magicrainbow-v3-by-tecalote.859343.html

@Tecalote which rom you prefer? with Magisk or SuperSu!!!
I was on Magisk on V2 but I was having the app like closing themselves temporary as I asked about it back in this thread...!! with the fixes u proposed I was still getting some of them....!!! With V3 I wonder if that is fixed or I can try the SuperSu version....!!! Thx
 

Tecalote

Senior Member
Aug 6, 2015
4,114
3,142
60
Leipzig
Huawei Mate 40 Pro
Xiaomi Mi 11 Ultra
Thank you a lot :)

"In the SuperSU Edition under KangV-Advanced-Settings under More settings you have the possibility to activate the xposed framework for Nougat 88.2 and deactivate it if necessary. There is also a fix built in that will prevent the framework from disabling itself (which used to appear on many EMUI phones). "

Really - Xposed will stay activated on rebooting and so?

Hello, sorry for the late reply - I was on work.
Yes, Xposed Framework should stay activated now!
 

Tecalote

Senior Member
Aug 6, 2015
4,114
3,142
60
Leipzig
Huawei Mate 40 Pro
Xiaomi Mi 11 Ultra
I love your ROM, the only thing is that there is so much bloatware like the mirror app or compass still on it. Otherwise it's a great rom, but in k-settings und notification settings "signalcluster align left " isn't working.


Hello, yes somebody don't like Apps like compass, the other would like to have it.
You can easily delete those Apps if you want :)

Thanks for reporting K-Settings issues, I will have a look on it :)
 
  • Like
Reactions: mihairimia

Tecalote

Senior Member
Aug 6, 2015
4,114
3,142
60
Leipzig
Huawei Mate 40 Pro
Xiaomi Mi 11 Ultra
@Tecalote which rom you prefer? with Magisk or SuperSu!!!
I was on Magisk on V2 but I was having the app like closing themselves temporary as I asked about it back in this thread...!! with the fixes u proposed I was still getting some of them....!!! With V3 I wonder if that is fixed or I can try the SuperSu version....!!! Thx


The issue with closing Apps should be fixed in v3 - you can test Magisk Edition.
You can switch also to SuperSU Edition if you find anything not working in Magisk Edition.
In this case just make in TWRP Unroot with Magisk Uninstaller, don't reboot system, reboot then only recovery - go to advanced wipe and wipe only Dalvik/Cache and Cache (without data) and flash SuperSU Edition.
This way you loose no settings
 
  • Like
Reactions: Addymore

RandomQuezoPH

Senior Member
Sep 29, 2016
79
12
-

Attachments

  • 1.PNG
    1.PNG
    10.7 KB · Views: 185

Tecalote

Senior Member
Aug 6, 2015
4,114
3,142
60
Leipzig
Huawei Mate 40 Pro
Xiaomi Mi 11 Ultra
I have this one sir.

Sorry, I missunderstood - you like to stay on Stock Firmware and you did the steps from OP for going back - now Filemanager is missing...
Have you flashed also with classic method after the alternative method? I mean with dload? Its also written there.
It is also neccesary to make a factoryreset with wipe of internal storage. Then you should receive OTA to higher Firmware. If so, go to settings of systemupdate and choose: Full Package (instead of some MB). After it is successful installed, make a Factoryreset. Then you will have all Huawei Apps again!
 
Last edited:
  • Like
Reactions: RandomQuezoPH

zgfg

Senior Member
Oct 10, 2016
8,202
5,838
Xiaomi Mi 11
Xiaomi Mi 11 Lite 5G
If you have in "About phone" build-number EVA-L09 or EVA-L19 b182c900 you don't receive the OTA Update to Nougat. You must change it to b182c432....

For EVA-L09 download this file:...
For EVA-L19 download this file:...
And you need for changing OEMinfo on b182 TWRP for Android 6.

Steps:
1) Your Bootloader must be open...
2) Firmware b182 must be in dload folder...EVA-L19 can use same b182 - the Firmware works for both.
3) Unzipp oeminfo.emmc.zip - you get: oeminfo.emmc.win...
4) Store this file in following path on root of your external SD: \TWRP\BACKUPS\SNxxxxxxxxxxxxxx\C432\ ...
5) Enable Developer Options .... and allow "Unknown Sources"
6) Connect your Phone with USB to PC and wait until Windows installs the driver.
7) With Minimal ADB and Fastboot program for PC in administrative mode - boot the phone into fastboot mode and flash TWRP for Android 6. ...
8) If TWRP is succesful flashed disconnect USB from your Device and boot immidiatly after into TWRP...
9) In main menu and choose the button: RESTORE
10) Navigate to the C432 folder and restore oeminfo. (from folder C432....
11) Go back to main menu and reboot your phone - but not to system. You must press Vol+ and Vol- (in the middle) down until EMUI Software Installing begin and b182 will flashed again...
13) soon flashing again b182 was successful you reboot to system and perform from there another Factoryreset from settings /advanced settings /backup restore /Factoryreset with wipe of internal storage.
Please comment if steps for debranding c432 L09 Nougat to L19 would be:
- go back to stock L09 c432 Nougat
If needed, flash from TWRP (Androud 7) appropriate L09 HWOTA.zip, see:
https://forum.xda-developers.com/showpost.php?p=74913874&postcount=3
- rollback to c900 b300, see:
https://forum.xda-developers.com/showpost.php?p=72467298&postcount=78
https://forum.xda-developers.com/showpost.php?p=73131443&postcount=321
- install c432 b182 (by dload)
- do Factory reset (?)
- unlock Bootloader
- flash TWRP for Android 6
- restore oeminfo.emmc.win (L19) from TWRP
- install b182 by dload again, and do Factory reset again...
- allow OTA upgrades to the latest available L19 c432 b38x/b39x
- one more Factory reset (?)
- to achieve latest, not yet approved L19 c432 b39x, flash TWRP for Android 7:
https://forum.xda-developers.com/p9/development/twrp-t3565703
and from TWRP flash the latest available HWOTA.zip (eg. L19, c432, b397)

More details for particular steps can be also found in another excellent debranding guide from the same author :)
https://forum.xda-developers.com/showpost.php?p=75655371&postcount=453
https://forum.xda-developers.com/showpost.php?p=75105886&postcount=280

PS: Important trick to boot into just flashed TWRP (otherwise, it gets overwritten by eRecovery) is described at:
https://forum.xda-developers.com/showpost.php?p=74795836&postcount=581
https://forum.xda-developers.com/showpost.php?p=74795532&postcount=579
 
Last edited:

Tecalote

Senior Member
Aug 6, 2015
4,114
3,142
60
Leipzig
Huawei Mate 40 Pro
Xiaomi Mi 11 Ultra
Please comment if steps for debranding c432 L09 Nougat to L19 would be:
- go back to stock L09 c432 Nougat
- rollback to c900 b300
- install c432 b182 (by dload)
- do Factory reset (?)
- unlock Bootloader
- flash TWRP for Android 6
- restore oeminfo.emmc.win (L19) from TWRP
- install b182 by dload again, and do Factory reset again...


Yes, that's right!
 

daniel908

Member
Feb 17, 2015
36
3
@Tecalote, this ROM sounds very intriguing!
Two questions:

1. Does Magic Rainbow ROM support mass storage mode (i.e when installing the USB Mass Storage Enabler app, will I be able to see the microSD card in the P9 as a storage volume on my Mac / PC if connected via USB)?
On my current configuration (stock Nougat, rooted), the app says "This app will work only if there is Mass Storage Gadget & FUSE drivers built-in in your device's kernel". With rooted stock Marshmallow, the app and mass storage mode worked well.

2. for basic understanding (I am not an expert, but would like to become one ;) ): Why is it necessary to flash a particular stock firmware before flashing Magic Rainbow? Isn't it possible to simply wipe everything and flash a firmware completely from scratch?

Thanks!
 

zgfg

Senior Member
Oct 10, 2016
8,202
5,838
Xiaomi Mi 11
Xiaomi Mi 11 Lite 5G
@Tecalote, this ROM sounds very intriguing!
Two questions:

1. Does Magic Rainbow ROM support mass storage mode (i.e when installing the USB Mass Storage Enabler app, will I be able to see the microSD card in the P9 as a storage volume on my Mac / PC if connected via USB)?
On my current configuration (stock Nougat, rooted), the app says "This app will work only if there is Mass Storage Gadget & FUSE drivers built-in in your device's kernel". With rooted stock Marshmallow, the app and mass storage mode worked well.

2. for basic understanding (I am not an expert, but would like to become one ;) ): Why is it necessary to flash a particular stock firmware before flashing Magic Rainbow? Isn't it possible to simply wipe everything and flash a firmware completely from scratch?

Thanks!
No, this ROM is stock kernel based, given Mass Storage Enabler app does not work.
Btw, app is rated only 3.5 and on PlayStore it says: Works only on selected Samsung and Sony devices. It also says: Does not work on KitKat and above (?!)
 
Last edited:

daniel908

Member
Feb 17, 2015
36
3
No, this ROM is stock kernel based, given Mass Storage Enabler app does not work.
Btw, app is rated only 3.5 and on PlayStore it says: Works only on selected Samsung and Sony devifes. It also says: Does not work on KitKat and above (?!)

Excuse the noob question - can't the kernel be exchanged against another one? Or does this mess up the entire system?
Do you know, by chance, which ROM I could use to get what I need?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 27
    magic-rainbow-png.566584

    Huawei P9 Custom Rom

    *MagicRainbow*
    Version Two
    Magisk Edition and Classic Edition​
    Teamwork by Tecalote and KangV
    461631-0a479047b7ce571665456c8d66dbaf16.jpg

    based on Android 7.0 (N) EMUI 5.0 European Firmware b386

    Projekt-_Magic-_Rainbow.png


    I'm happy to present you my new ROM :cowboy: It is tested and works without any problems on EVA-L09 C432 and EVA-L19 C432.
    Other models must be tested first, which Firmware is required to get Developer Options and Fingerprint to work. Please report!

    German-Thread:https://www.android-hilfe.de/forum/root-custom-roms-modding-fuer-huawei-p9.2808/huawei-p9-rom-android-7-0-emui-5-0-magicrainbow-v2-by-tecalote.829450.html

    1) Difference between Magisk and Classic Edition:

    • The Magisk Edition was made to have a safteynet capable device that still offers much more features than a Stock Firmware ... It has the same features as Classic Edition, but with the difference that you can bypass safeteynet .... Apps such as Pokemon Go, various banking apps and others - which does not work anymore on rooted devices should work in this Rom :cool:

    481274-98e1405032eb2f2b15c2de08e5d92b67.jpg

    • The Classic Editon is rooted with SuperSU and has the same features, but safteynet cannot bypassed. However, who does not run apps on this "questionable" service will have the same joy with this Rom;)
    481275-35dd9c522a804364be84eebfb591a936.jpg

    2) Requirements for MagicRainbow - short overview:

    Basically: You must already be on Android 7 (Nougat), Bootloader must be unlocked, latest TWRP flashed with special settings (explained below)
    A) Your device must not be rooted for installing this ROM - it is even better, if you start from clean original Huawei Stock Firmware.
    Firmware-Requirement:
    EVA-L09 C432 and EVA-L19 C432 need original Huawei Firmware b386 installed (flashable Firmware available - see below). But b386 is not for all other cust and models avilable!
    EVA-L29C636 and EVA-L19C636 has currently only b361 as flashable Firmware available. Higher Firmwares comes only with OTA.
    You should be with the Firmware for your device nearly to b386 - if not then Fingerprint may not work and perhaps not the Developer Options (which is very important for this ROM to work properly)
    B) If you are on Stock Firmware and your device is rooted, backup your stuff, unroot your device and make a factory reset.
    C) If you come from any Custom Rom like MagicRainbow v1 (based on b386) or @dkionline BlueWei - you must go back to original Huawei Stock Firmware b386 (see section 4 - How do flash firmware) It is not enaugh, just wipe with TWRP and flash the Rom!
    D) If you are on Stock Firmware b387 (make just unroot - if you have Root - and do a factory reset) - but I think you can install this Rom just with the Wipes and without going back to b386


    3) Flashable Firmware b386 c432 (for EVA-L09 and EVA-L19):

    4) How to flash Firmware - or GOING BACK TO STOCK:

    The simplest, preferred method to flash b386 (In accordance with your device and model!) can be done with TWRP - whether you come from the b383 or b387, or from BlueWei or MagicRainbow v1 - but note, you cannot use this method to update from Android 6 to Android 7:


    • 1) Backup your apps with data (only User Apps, no System Apps, no Chat-Apps - Chat Apps should not be restored - but new installed with Playstore and new registered, use integrated Backup from Chat-Apps)
      2) Backup all important files and folders from your internal memory (DCIM, WhatsApp folder, Downloads etc)
      3) delete you Fingerprint and Google Account
      4) Copy update.zip and ...hw_eu/update_data_full_EVA...zip to your external SD (dont unzipp it and dont do it into dload folder)
      5) Bootloader must be unlocked
      6) Make sure that you enable in developer options OEM Unlock and 2) ADB Debugging and 3) USB Debugging - in this order (if its not enabled yet)
      7) TWRP must be installed
      8) Flash with TWRP (Huawei Firmware) update.zip - after it is flashed do not reboot - go back to main menu
      9) Flash with TWRP hw_eu/update_data_full_EVA...zip - after it is flashed do not reboot - down in the left corner klick on "wipe dalvik and cache"
      10) Do not reboot - go back to main menu - use Tab: Restart - but do not restart system - RESTART RECOVERY
      11) You are now in Huawei Stock Recovery - from there make 1) Wipe Cache Partition and 2) Factoryreset and 3) reboot to system
      12) Huawei Stock Firmware b386 is succesful installed :good:

      13) I would recommend to flash now the Firmware b386 once again, but now with dload-method. For this you must 1) unzipp update.zip on PC and 2) unzipp hw_eu...data.zip in a separate folder.
      14) Make a folder on your external SD with the name: dload - Copy first the unzipped file from update.zip into this folder - but ONLY the UPDATE.APP (not the other files)
      15) With VOL+ and VOL- (press in the middle down) and PowerButton flash b386
      16) After restart to system, delete update.app in dload folder and copy now the unzipped files from hw_eu...data.zip into dload folder - but now you need ALL files (update.app, META-INF and the data folder)
      17) flash it with the 3 Button Method

    5) Important information for using this TWRP:

    Made by @OldDroid v 3.1.1-1 (currently latest TWRP): https://www.androidfilehost.com/?fid=961840155545586361
    A) Setup new flashed TWRP: allow system modification,
    B) Open Settings Tab and configure the settings for your needs - example: I uncheck "prompt install TWRP app", I disable vibration and expand the screen timeout to 300 for seeing what TWRP shows me on screen, I set time zone and language...
    C) Important in settings on last Tab - uncheck /disable "keep vendor partition mounted" - but leave ]enabled "exclude OEM-Path from data-wipe"
    D) Have a look in main menu into Mount-Tab - For flashing Stock Firmware as shown above and for making Nandroid Backups with TWRP - you must not change anything in Mount!

    E) But later, if you are ready to flash the ROM and you are going to wipe the partitions (explained below) - Immediately after the Advanced Wipe - before you want flash the ROM - you must go in main menu to: MOUNT and uncheck/disable everything in Mount - with the exception "Micro-SD" (this must be mounted!) If you dont do this step after wipe, before flashing ROM - the Rom would may not be flashed properly - and if so, it cannot work properly!!

    481271-25cd251761e0315664663acfbc7491d6.jpg

    6) Installing ROM

    If you have MagicRainbow.zip already on external SD, do following steps:

    • Note: if you want boot sound to be played back in the future, then sound must be switched on before installing the Rom - if phone is in silent mode, there will be no boot sound in the future. Phone remembers the last status and this can not be changed afterwards!

    A) In main menu of TWRP go to Wipe - do not use Factoryreset, use instead the Advanced Wipe
    Wipe ONLY following partitions:
    Dalvik / Art Cache
    cache
    Data
    system

    Do NOT wipe: vendor, internal memory, micro-SD
    481253-5c2efafe54562fa65ecd9bd568f08bd7.jpg

    B) After wipe you navigate back to the main menu and open: Mount - uncheck all with the exception of Micro SD card! This is an important step - (especially vendor should not be mounted), since otherwise there will be errors in the installation. My script mounts itself, what it needs :)

    481270-89f9df5003e2ca18490babedadd98e39.jpg

    C) Then navigate back to main menu and go to Install Tab - select MagicRainbow.zip and swype to flash
    D) After flashing ROM, do not make a Wipe from Dalvik / Cache, just reboot. Reboot is relatively fast, but of course, the first boot takes a lot longer than usual - about 9 min

    Differences during first boot: Classic-Edition interrupts the first boot process due to systemless rooting by SuperSU 2.82 SR1 and boot again - the Magisk edition does not need this additional loop.


    7) Important for Magisk and Safetynet:

    A) If you receive a root request during the first setup with Magisk Edition, please affirm it - no matter how strange it may seem to you!
    B) After first setup dont open Magisk Manager and - before you doing anything else - go to settings and activate developer options.
    Inside enable 1) ADB debugging and 2) USB debugging
    ( in this order! - not the other way)
    C) After got to settings / expanded settings and enable in security: "unknown sources"
    D) Immidiatly restart your P9 - this is an important step to keep safetynet green. After reboot you can open Magisk Manager.
    E) Do not change anything in the settings or in the preinstalled module of Magisk - it is already set everything correctly! Also dont download module which you dont know for what they are and what they doing...
    But I would recommend to download and install following two modules: Huawei Safetynet Fix and BusyBox 1.27.2
    Please do it with following instruction: https://forum.xda-developers.com/showpost.php?p=73733872&postcount=564
    F) Do not activate in Magisk Manager settings systemless hosts!
    AdAway does not need this setting to work!
    G) Start AdAway, download and activate hosts and reboot your Phone. After reboot open AdAway again, hosts are not activated yet, download hosts again and reboot your Phone a second time. Now hosts are activated (green) and safetynet stays also green.

    It is not much to say to the Classic Edition, which you know already from MagicRainbow v1 b383 - but 1) ADB Debugging and 2) USB Debugging USB must also be enabled after the first setup and then restart the device before you do anything else! If you open AdAway and download and enable hosts, reboot your Phone. After reboot open AdAway again. If hosts are not activated yet, install again hosts and reboot. After it will work, cause its configured by an init.d script.


    8) Important information to PMPlus:

    The app PMPlus activates "auto-launch" on second page in the Phone Manager - so you have a very powerful Autostart Manager, which would otherwise not exist. This is optional, however - if you want to be sure that everything works smoothly, and does not want to adjust everything manually here, leave your fingers off. Note: If auto-launch is activated in phone manager, you can not undo this change, just by reinstalling the Rom!
    Whoever wants it anyway:
    A) Simply start PMPlus and go to Install, after succesful installed messeage, close this app! Autostart Manager is activated now in Phone Manager!.
    B) You can then delete the app PMPlus.
    C) But please note : All Autostarts are set to 0 and you have to manually enable the most important apps in auto-launch
    D) Magisk Manager must be enabled in auto-launch, in the Magisk Edition - if you do not enabel, Root cannot work!
    E) SuperSU must be enabled in auto-launch - in the Classic Edition - if it is not enabled, Root cannot work!
    F) In both Roms Chat-Apps which should receive push notifications - must be enabled in auto-launch - and some apps must also enabled in "App activation" - which is a part of "auto-launch"


    481272-e9632e4a6bdff6f7fa099b9a86a3b6aa.jpg

    9) Features and Information:

    • Callrecorder - for manual and automated call recording
      Viper4Android - Advanced Settings /more settings / Viper4Android Installation-Pool from here you can install: None, old viper and new viper - after reboot you have the App Symbol on Homescreen. Open it to configure Viper4Android.
      Classic Edition ROOTED with SuperSU 2.82 SR1
      Magis Edition ROOTED with Magisk 13.3
      AdAway as ad blocker - look at Point 7 for further information
      BusyBox 1.27.1
      System deodexed
      KangV-Settings (Advanced Settings on Homescreen) in nougat style - with the 4in1 restart menu and much more ....
      Titanium Backup - you can use external SD with storage SD-Card and dont need Document Provider
      MiXplorer - powerful Root Explorer which comes with PDF Reader, VLC Codecs and Archive Plugin, change language in settings
      Debloaded - almost GApps from system removed - but Core GApps are integrated - so dont flash any GApps - you can install missing GApps with Playstore.
      Callrecorder.png

      464517-09769d38687429e6650c7b3de23ca4c4.jpg


      Viper4_Android.png

      Full access to the external SD You can work on external SD with enabled Full Permissions - Example: TitaniumBackup automatically selects the external SD as the preferred location.
      Optional: Path to the internal memory interchangeable with the external storage! To do this, you only need to use MiXplorer and navigate to /data. There is a file with the name: SDPath - open this file with text editor of MiXplorer. At the moment, the internal memory is set as default (ext_SD = 0). If you change the entry to: ext_SD = 1 and save it, all apps will only use the external storage after one-time reboot. Before you install apps like WhatsApp, think about it. Because if you like that all Apps store media and everything only on your external SD then enable this option. Example: The folder of WhatsApp will be created automatically on external SD ....

    Pfad_zu_extern_ndern_5.png

    10)Disable Statusbar Lunar:

    The Rom is European, but the Advanced Settings are made by KangV. He comes from China, thats why the Lunar component is built into Advanced Settings (these are the only Chinese letters in this Rom). To disable the chinese letters, go to Advanced Settings /Notification settings and disable the checkmark "Show statusbar lunar"
    One known BUG: Do not use the "hide navigation bar" in Advanced Settings, it works with chinese models like AL10 - but not europaen models at the moment.

    11) Restore orignial Huawei Bootanimation (if you dont like my integrated one):
    Flash this zip with TWRP: https://forum.xda-developers.com/attachment.php?attachmentid=4262925&d=1504567957
    Information: https://forum.xda-developers.com/showpost.php?p=73667280&postcount=541


    12) DOWNLOAD *MagicRainbow* ROM v2:

    P9-b386-MagicRainbow_Classic.zip: https://www.androidfilehost.com/?fid=889764386195921575
    MD5 (please check after download): b350f2a37c88bd31c8373c57a4012344

    P9-b386-MagicRainbow_Magisk.zip: https://www.androidfilehost.com/?fid=889764386195921598
    MD5 (please check after download): 1587eeb1575d252f265f852ef3026dfa


    Previous Version - MagicRainbow ROM v1 (based on b383, SuperSU EMUI 2.79 installed):
    Requirement before installing this ROM:
    EVA-L09 C432 and EVA-L19 C432 need Firmware b383 installed
    EVA-L19 C636 need Firmware b381 installed
    EVA-L19 C185 need Firmware b385 installed
    P9_b383_Magic-Rainbow_v1.zip:
    https://www.androidfilehost.com/?fid=457095661767158149
    MD5: 7c81a2684f45e0615972f12197552635
    After first setup you must update SuperSU to Version 2.82 EMUI: https://www.androidfilehost.com/?fid=673368273298962637

    :cool: HAVE MUCH FUN WITH THIS ROM :)

    438081-f3dc149a662ce7517283231f8b0ab954.jpg

    Many thanks to KangV for his great K-Settings Framework :cool:

    If you like Advanced Settings by KangV - you can donate him:KangV: https://www.paypal.me/KangVIP

    If you like *Magic-Rainbow* ROM, you can spent me some glass of wine :) https://www.paypal.me/Tecalote

    Many thanks and credits to other great Developers:

    @OldDroid - TWRP with DECRYPTION SUPPORT for P9 https://forum.xda-developers.com/p9/development/twrp-t3565703

    @guitardedhero(Viper/Atmos) https://forum.xda-developers.com/nexus-6/themes-apps/viper4android-t2952137

    @HootanParsa (MiXplorer) and @YashdSaraf (BusyBox arm64)

    @kishorerprem - SDCard-Write access

    @Chainfire - SuperSU

    @topjohnwu (systemless Xposed Framework and Magisk)

    @dkionline - Custom Roms for P9

    @Blackball - Custom Roms for P8 - P9 - P 10

    @mr.mrcn - Dark Bloom for EMUI 5.0 Theme

    :cool:


    [/LIST]
    11
    If you have in "About phone" build-number EVA-L09 or EVA-L19 b182c900 you dont receive the OTA Update to Nougat. You must change it to b182c432.
    Here is described, what you have to do - please make every step careful and dont worry!

    For EVA-L09 download this file: [url]https://www.androidfilehost.com/?fid=457095661767158957[/URL]
    MD5 (please check after downloading): 21a70ae3b07b72277bf935bf4ed90320

    For EVA-L19 download this file: [url]https://www.androidfilehost.com/?fid=817550096634767353[/URL]
    MD5 (please check after downloading): 838d9634e22acce029c383ec780dd745

    And you need for changing OEMinfo on b182 TWRP for Android 6 (not the one from OP = for Android 7) Download it here: [url]https://www.androidfilehost.com/?fid=457095661767122229[/URL]

    Steps:
    1) Your Bootloader must be open! Backup important files or folder from your internal memory (cause it will be completely wiped, except external SD will stay untouched)
    2) Firmware b182 must be in dload folder (update.app 3,06 GB) Take the one for your device For EVA-L09 download full Firmware b182: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1079/g104/v63880/f1/full/update.zip
    EVA-L19 can use same b182 - the Firmware works for both.
    3) Unzipp oeminfo.emmc.zip - you get: oeminfo.emmc.win - this is the file what you need!
    4) Store this file in following path on root of your external SD: \TWRP\BACKUPS\SNxxxxxxxxxxxxxx\C432\ (SNxxx folder must named with Serial Number of your phone and inside this folder copy the oeminfo.emmc.win
    5) Enable Developer Options in Settings, go inside and enable OEM Unlock and USB-Debugging - after go to Advanced Settings /Security and allow "Unknown Sources"
    6) Connect your Phone with USB to PC and wait until Windows installs the driver.
    7) With Minimal ADB and Fastboot program for PC in administrative mode - boot the phone into fastboot mode and flash TWRP for Android 6.

    https://www.androidfilehost.com/?fid=457095661767122229
    (TWRP img must be in Minimal ADB and Fastboot Program Folder. You start the Program with right click as Administrator. You enter
    adb devices
    - you should get your SN and device. If on the screen pop up a request to allow connection, grant permission for always from this PC. Now:
    adb reboot bootloder
    -phone restart into Bootloader /Fastboot Mode. Bootloader must be unlocked and FRP unlocked.
    You enter:
    fastboot devices
    - and get SN device, then
    fastboot flash recovery Name-of-TWRP.img

    8) If TWRP is succesful flashed disconnect USB from your Device and boot immidiatly after into TWRP. For this press Vol+ and Power Button. Stay holding this position until TWRP is booted (can take some minutes)
    When TWRP is booted, allow Write Permissions for system.
    9) In main menu and choose the button: RESTORE
    10) Navigate to the C432 folder and restore oeminfo. (from folder C432 !) This changes oeminfo from b900 to c432!
    11) Go back to main menu and reboot your phone - but not to system. You must press Vol+ and Vol- (in the middle) down until EMUI Software Installing begin and b182 will flashed again (it must be in dload folder!) If you see on screen text with red colour - ignore it, just press Vol+ and Vol- down, if it does not help, press also Power Button to reboot, but keep pressing Vol+ and Vol- because b182 must flashed again on this point!
    12) If it was not successful and you receive after reboot a white screen and you will be promted to enter "the" password, dont worry, just use your password for Google. Phone reboots and make a factoryreset with EMUI low-level wipe. TWRP will be overwritten with Stock Recovery. Thats normal.
    13) soon flashing again b182 was successful you reboot to system and perform from there another Factoryreset from settings /advanced settings /backup restore /Factoryreset with wipe of internal storage.
    14) SIM Card must be inserted - you can leave it in your phone from beginning.
    15) Just make a short setup and you will see: You receive now the OTA Update to Nougat
    :cowboy:
    6
    just give me beta, im not afride from bugs, bricks, got experience and easy can revieve phone if somthing going vrong :) cant wait anymore for v3 :p

    It looks like it has no bugs. :)
    Five people has tested (inner circle) - so it will come very soon.
    I make a new Thread for some necessary information.
    So I think it will be online on Tuesday next week.
    :eek:
    6
    MagicRainbow v3 is final
    I made the German Thread today and I make the Thread on xda tomorrow. I had some last changes to make today for the ROM -
    Example: There is a FIX inside of SuperSU Edition for Xposed Framework to stay alive and I made data-patch-files for different models and cust ... and so on....


    So if you cannot wait until the new Thread is online on xda - just go to the German Thread and read the instructions with Google Translator ;)

    https://www.android-hilfe.de/forum/root-custom-roms-modding-fuer-huawei-p9.2808/huawei-p9-rom-android-7-0-emui-5-0-1-magicrainbow-v3-by-tecalote.859343.html
    5
    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: