Huawei P9 Custom Rom
*MagicRainbow*
Version 3
Magisk Edition and SuperSU Edition
Note: New Version available - MagicRainbow-v4: https://forum.xda-developers.com/p9/development/rom-huawei-p9-magicrainbow-v4-t3759292
XDA DevDB Information
[L09/L19/L29][C432/C185/C636][7.0][EMUI 5.0.1] MagicRainbow v3.0 – European B394 ROM for Huawei P9 EVA
Contributors:
Tecalote
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-1-magicrainbow-v3-by-tecalote.859343.html
I'm happy to present you my third version of MagicRainbow ROM for P9-EVA
Custom ROM based on European EMUI 5.0.1 Firmware b394
Release-Date: 12. December, 2017
You can flash over Firmware b386+ until b395
- not tested over higher Firmware Versions
Security-Patch-Level: 6. November, 2017 – Krack fixed
Developed on: EVA-L09, tested also on EVA-L19
Data-Files Patches: for EVA-L19c432 and EVA-L19, EVA-L29 cust 185 and cust 636
Data Files for Chinese Brandings – not yet, but possible - just ask
EVA-L09c432 don’t need data file patch – just flash Rom
Advanced-Settings made by KangV from Huawei Rom Team: for b394 - optional flashable
KangV Settings developed on EVA-AL10 – Hide Naviagation Bar don’t work on European Brandings
Current Status: stable
Requirements:
P9 EVA-L09 - EVA-L19 - EVA-L29 - without Provider-Branding
Unlocked Bootloader
Required Firmware: Android 7 b386+ (and higher)
Installed TWRP – I recommend you to use my extended Version of OldDroids TWRP 3.1.1-1
In settings of TWRP ) disable "Keep vendor partition mounted" - but keep the setting as it is: "Exclude OEM Path from data Wipe"
You can flash from Stock Firmware as well as from EMUI based Custom Roms (like MagicRainbow v2, @dkionline ROM and so on)
Installation-Guide:
For clean flashing delete your PINs and Fingerprint(s) in current system
If you have Xposed Framework installed – uninstall it, if you decide to flash dirty
Download the Files you need, copy it to your external SD and boot to TWRP
If you decide to make Nandroid Backup with TWRP or you like to wipe internal storage – do so, but after go back to main menu and "Reboot" RECOVERY – to restart TWRP before flashing steps
If your current system has Root – make Unroot now in TWRP
For SuperSU flash UPDATE-unSU-signed.zip (download from this site): https://forum.xda-developers.com/showpost.php?p=63615067
For Magisk flash Magisk-Uninstaller: http://tiny.cc/latestuninstaller
After you have flashed Unroot with TWRP go back to main menu and choose “Reboot” RECOVERY – to restart TWRP
Go to Advanced Wipe – for clean flashing choose: data, cache and dalvik/cache – all other partition will be wiped by the ROM Script
For dirty flashing – wipe only dalvik/cache and cache – but I recommend clean flashing to have best results
Go back to main menu and open “Mount” – uncheck everything except “Micro SD” – Partitions will be mounted by the ROM Script
Now navigate to “Install” and flash MagicRainbow v3
After flashing, don’t wipe Dalvik/Cache again! – If your Phone is EVA-L09c432 you can just reboot now (first start will be until 9 min, if you took SuperSU Edition you have one extra loop)
But if your Phone is EVA-L19 or EVA-L29 – you must doing following step before Reboot Phone:
Go back to main menu, “Reboot” RECOVERY to restart TWRP and then flash the data-files_patch.zip for your Phone (EVA-L09 don’t need this step)
Setup your phone
KangV Advanced Settings:
If you decide to use KangV-Settings, which bring you a lot of customization for your Phone - you can flash the right version for Magisk-Edtition ROM or SuperSU-Edition ROM after setup.
At this Point many thanks to KangV for his great Settings!
If you decide to use another Launcher like Nova – don’t change the Launcher before flashing KangV Advanced Settings (if you like to use this Mod)
The Reboot after flashing KangV Settings needs a bit longer than normal reboot
KangV Settings for Magisk-Edition installs additional KernelAudiutor App. If you open the App you can enable init.d (optional)
If you decide to install Xposed Framework with Magisk-Edition, install it from Modul section of Magisk Manager (SDK 24) – but it will break safetynet!
Safetynet cannot come back “green” once you have Xposed activated on Magisk-Editon, even if you uninstall it – reinstalling ROM brings green safetynet back
With KangV Settings for SuperSU-Edition you can enable in More settings: Xposed Framework. Phone make reboot (start needs bit longer than usual) and you will find on a blank site of homescree the Xposed Installer for download and manager modules. In KangV Settings you can also disable Xposed Framework. So you can switch between enabled and disabled.
Xposed Framework has a FIX to stay activated (this Bug was on several Huawei Phones). The Fix comes together with KangV Settings.
KangV Settings installs additional PMPlus App – you can use it optional, if you like to activate “Auto-Launch” in Phonemanager.
If yes, just open the App PMPlus, go to install and after close the App. Open Phonemanager and you find additional: “Auto-Launch”. But now you must activate Autostarts of Apps manually, otherwise they would not start at boot or in the background. If you decide to use this, it is required to enable Magisk Manager /SuperSU in Auto-Launch– without enabling it to autostart Root cannot work. You must also enable Apps, which should receive Push-Notifications!
If you don’t like do manage everything by yourself, don’t open PMPlus, just uninstall the App with Settings /Apps before using.
The ROM is European, but Advanced Settings are made by KangV. He comes from China, thats why the Lunar component is activated.
To disable chinese letters in statusbar, go to Advanced Settings /Notification settings and disable "Show statusbar lunar"
Important notice:
Don’t use in More settings: “Disable Google Services” – and don’t use “Hide Navigation Bar” in Navigation bar settings. This is working only for Chinese Region.
Changelog:
Magisk-Edition: Magisk 14.5 by topjohnwu
Note:
For Updating Magisk-Root to v15.3 after new ROM Installation you can use this special zip for MRv3 made by Tecalote:
https://www.androidfilehost.com/?fid=817906626617958352
Just flash with TWRP and reboot (without wipe dalvik/cache)
In the meantime Magisk v16 is out... - Just do the Update with this steps: https://forum.xda-developers.com/showpost.php?p=75655877&postcount=454
Preinstalled required Magisk modules: SELinux Permissive Script, BusyBox 1.27.2 by osmOsis (Android NDK), Huawei Property Fix
Safetynet-Workaround: Open Magisk-Manager, go to menu left above into “Magisk Hide” – enable Hide for: Huawei Filemanager (com.huawei.hidisk), Google Play Store, HiCare, Huawei-ID (Huawei Mobile Services) and on devices with NFC (L09) enable NFC-Service – after you can check safetynet
ADB Debugging and USB-Debugging is not required for safetynet, but I have it enabled for the possibility to communicate everytime with ADB to my phone
System deodexed und light debloaded
Almost Apps are uninstall able with native App-Manager in settings
Working AdAway out of the Box – don’t activate systemless hosts in Magisk Manager settings.
Dolby/Atmos and Viper4Android with driver preinstalled (in both editions)
Callrecorder
Extended Reboot-Menu available with KangV-Settings (reboot to recovery, eRecovery, bootloader...)
Some beautiful designs included
Battery Life better than in Stock Firmware
SuperSU-Edition: SuperSU 2.82 SR5 by chainfire with init.d Support and SELinux Permissive enabled, BusyBox 1.27.2 by osmOsis
FIX included for staying Xposed Framework enabled - if you enable it in KangV-Settings (SuperSU Ed)
A lot of more….
Download TWRP 3.1.1-1-extended Version: https://www.androidfilehost.com/?fid=673791459329067086
Note: Developer of this TWRP is OldDroid - I just added to show and enable more Partitions to Backup.
Download ROM und K-Settings:
ROM-P9-MagicRainbow_v3-Magisk: https://www.androidfilehost.com/?fid=817906626617952424
KangV-Settings_MRv3_MagiskEd: https://www.androidfilehost.com/?fid=745849072291695763
ROM-P9-MagicRainbow_v3-SuperSU: https://www.androidfilehost.com/?fid=745849072291694710
KangV-Settings_MRv3_SuperSuEd: https://www.androidfilehost.com/?fid=817906626617953680
Download data-files_patches (EVA-L09c432 doesn’t need!!):
Note: In the moment ROM is already flashed - dont reboot system now, if you have another model/cust than L09c432 - go back to main menu and go to Restart - BUT NOT SYSTEM, you must reboot RECOVERY to restart TWRP. Then go again to install and flash the (right) data-files_patch.zip for your device!
If you would flash it directly after ROM without restart TWRP it would not be succesful installed, because the Mountpoints after flashing ROM are busy. Thats why its neccesary to reboot TWRP after ROM Installation and then flash data-files_patch according to your model and cust!
L19c432-data-files_patch-v2-update: https://www.androidfilehost.com/?fid=673791459329069646
L19c185-data-files_patch: https://www.androidfilehost.com/?fid=673791459329068282
L19c636-data-files_patch: https://www.androidfilehost.com/?fid=962021903579499478
L29c636-data-files_patch: https://www.androidfilehost.com/?fid=962021903579499481
L09c636-data-files_patch: https://www.androidfilehost.com/?fid=817906626617953681
L09c185-data-files_patch: https://www.androidfilehost.com/?fid=673791459329068279
Please check MD5 on Android Filehost and after download!
For Updates look #2
For going back to Stock Firmware look #3
Many thanks to KangV for Advanced-Settings
If you like Advanced Settings made by KangV - you can support him: https://www.paypal.me/KangVIP
If you like *Magic-Rainbow* ROM and want to support the project, feel free to donate
Many thanks and credits:
@OldDroid - TWRP with DECRYPTION SUPPORT for P9
@guitardedhero(Viper/Atmos)
@HootanParsa (MiXplorer)
@Chainfire - SuperSU
@topjohnwu (systemless Xposed Framework and Magisk)
@dkionline - Custom Roms for P9
@Blackball - Custom Roms for P8 - P9 - P 10 - P10Plus - Mate 9
@osm0sis – BusyBox for Android NDK
@ SuperR. – Best Kitchen I have ever seen
Attachments
-
154.6 KB Views: 6,006
-
277.4 KB Views: 5,938
-
133.1 KB Views: 6,031
-
134.5 KB Views: 6,050
-
78.5 KB Views: 5,950
-
179.5 KB Views: 5,638
-
99.4 KB Views: 5,612
Last edited: