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

Search This thread

zgfg

Senior Member
Oct 10, 2016
8,209
5,843
Xiaomi Mi 11
Xiaomi Mi 11 Lite 5G
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?
If that app really does not work on KitKat and above, then no chance ( it will work only on ancient devices). See on Google Play, it says that app was last time updated back in 2013 - how could it support newer Android versions
 

daniel908

Member
Feb 17, 2015
36
3
If that app really does not work on KitKat and above, then no chance ( it will work only on ancient devices). See on Google Play, it says that app was last time updated back in 2013 - how couldmit suppirt newer Android versions

On my stock rooted Android 6.0 system that I had on the P9 before upgrading to 7.0, it worked well...
 

Tecalote

Senior Member
Aug 6, 2015
4,114
3,143
60
Leipzig
Huawei Mate 40 Pro
Xiaomi Mi 11 Ultra
@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.

Edit: There is a newer Version of this Rom available: https://forum.xda-developers.com/p9/development/rom-huawei-p9-magicrainbow-v3-t3722457

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!

Question 1) - I can only speak for Windows (cause I dont have Mac) - when I connect my P9 with USB to PC (I have installed the drivers with Huawei HiSuite PC App) I see P9 with the internal storage and the external storage in Windows Explorer - and I dont need any 3.party app to copy files between PC and P9 - I see the storage even if I am connected in Fastboot Mode in Windows Explorer...

Question 2) Huawei is different - a Custom Rom cannot include every part of the original Huawei Firmware (example: modem, fingerprint-scanner) - thats why it is necessary to flash particualar Stock Firmware in the right order. Custom Rom require this on Huawei Devices.

BTW: There is a newer Version of this ROM available: https://forum.xda-developers.com/p9/development/rom-huawei-p9-magicrainbow-v3-t3722457
 
Last edited:

daniel908

Member
Feb 17, 2015
36
3
Question 1) - I can only speak for Windows (cause I dont have Mac) - when I connect my P9 with USB to PC (I have installed the drivers with Huawei HiSuite PC App) I see P9 with the internal storage and the external storage in Windows Explorer - and I dont need any 3.party app to copy files between PC and P9 - I see the storage even if I am connected in Fastboot Mode in Windows Explorer...

Question 2) Huawei is different - a Custom Rom cannot include every part of the original Huawei Firmware (example: modem, fingerprint-scanner) - thats why it is necessary to flash particualar Stock Firmware in the right order. Custom Rom require this on Huawei Devices.

BTW: There is a newer Version of this ROM available: https://forum.xda-developers.com/p9/development/rom-huawei-p9-magicrainbow-v3-t3722457

Thanks Tecalote,
On #1: What you see uses the MTP protocol. That's the new standard since, I believe, Android 4 or 5, but that doesn't help me, because I need to synchronize about 2 million tiny JPEG files between my Mac and the P9 on a regular basis. Using MTP this process takes days or weeks, while over normal USB mass storage protocol this only takes hours. Also, Mac doesn't support MTP directly. I tested several sync tools that can use MTP connections, but they all failed on my use case. Hence I badly need mass storage mode back. :-/

On #2: thanks, now I believe I understand. So flashing a custom ROM only replaces parts of the ROM, and in order to make sure that the result is a consistent thing and works as expected, you need to flash a specific stock ROM with fitting components that are kept when flashing the custom ROM. Did I get this right?

New #3: So why can't you just include everything into the custom ROM, so that flashing a fitting base is not necessary anymore?
 

Tecalote

Senior Member
Aug 6, 2015
4,114
3,143
60
Leipzig
Huawei Mate 40 Pro
Xiaomi Mi 11 Ultra
Thanks Tecalote,
On #1: What you see uses the MTP protocol. That's the new standard since, I believe, Android 4 or 5, but that doesn't help me, because I need to synchronize about 2 million tiny JPEG files between my Mac and the P9 on a regular basis. Using MTP this process takes days or weeks, while over normal USB mass storage protocol this only takes hours. Also, Mac doesn't support MTP directly. I tested several sync tools that can use MTP connections, but they all failed on my use case. Hence I badly need mass storage mode back. :-/

On #2: thanks, now I believe I understand. So flashing a custom ROM only replaces parts of the ROM, and in order to make sure that the result is a consistent thing and works as expected, you need to flash a specific stock ROM with fitting components that are kept when flashing the custom ROM. Did I get this right?

New #3: So why can't you just include everything into the custom ROM, so that flashing a fitting base is not necessary anymore?

#1) Yes, thats right, it uses MTP protocol - it can be changed to some other protocols in Developer Options - but not the USB mass storage protocol. But in Project menu it is possible to change the protocol between default (HiSuite Mode) to manufactur mode (I have not tested) and Google Mode (whatever this means...) - see screenshot

#2) You understand right

#3) To make a Custom Rom based on EMUI - I must extract the Images from original Huawei Firmware Update.app and then extract the Images (system.img, vendor.img, version.img, product.img, cust.img, and data) - to modify and make a ROM with it. But there are other imortatnt parts in the update.app which can be extracted (for modem, fingerprint etc) - but those Images cannot opened, because they are encrypted.
So - to make a ROM which would include all those parts - I would must make a modified update.app - but nobody has managed this until yet. And it would be also a massive license problem
 

Attachments

  • Screenshot_20180302-000742.png
    Screenshot_20180302-000742.png
    160.9 KB · Views: 129
  • Screenshot_20180302-000725.png
    Screenshot_20180302-000725.png
    85.6 KB · Views: 124

AmonM

New member
Jun 19, 2016
4
1
Is it possible to do the same steps described in post #2 with b136c900 or do I need to install b182c900 first?
 

AmonM

New member
Jun 19, 2016
4
1
Hi Tecalote, thanks for your quick answer. Luckily I made an oeminfo backup in TWRP but I didn't need it. Your great guide worked anyway with B136. I made a friend very happy by updating her P9 and keeping everything original. Tank you!
 
  • Like
Reactions: Tecalote

tahadluffy

Member
Jul 16, 2017
7
1
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:

THANK YOU
 
  • Like
Reactions: Tecalote

focussss

Member
Dec 19, 2018
6
0
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:

Thanks heaps for this but I didn't get an OTA update to Nougat.

Issue & solution for others if phone gets stuck:
I ran into a where my phone was stuck on "Type the password to decrypt storage" and when I entered my Google password it says it's correct but data on my phone is corrupted. The way I managed to finally boot up was to...
1. Hold the vol+ button and wipe data and cache
2. I tried boot up but got that white screen message again.
3. Restarted the phone and held vol+ and vol- and power key down and the update started to process again although it failed.
4. It managed to boot up.

Hopefully this helps anyone else that ran into this issue.
 
Last edited:

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: